/*
Theme Name: Bolt Creative — Small by Design V4.37
Theme URI: https://boltcreative.co.uk/
Author: Bolt Creative
Author URI: https://boltcreative.co.uk/
Description: A lightweight editorial WordPress theme for an independent branding and graphic design studio. Includes a tiled Work archive, case studies, Branding, About and Contact templates.
Version: 4.37.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: bolt-creative
*/

:root{
  --bolt-bg:#f4f2ed;
  --bolt-paper:#fbfaf7;
  --bolt-ink:#111111;
  --bolt-muted:#6f6c67;
  --bolt-line:#d8d5cf;
  --bolt-accent:#e6b800;
  --bolt-max:1440px;
  --bolt-pad:clamp(22px,4vw,64px);
  --bolt-serif:Georgia,"Times New Roman",serif;
  --bolt-sans:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bolt-bg);color:var(--bolt-ink);font-family:var(--bolt-sans);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
a:hover{opacity:.72}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--bolt-ink);outline-offset:3px}
.skip-link{position:fixed;left:12px;top:12px;z-index:99999;background:var(--bolt-ink);color:#fff;padding:10px 14px;font-size:12px;font-weight:800;transform:translateY(-160%)}
.skip-link:focus{transform:none}
img{max-width:100%;height:auto;display:block}
.site-shell{max-width:var(--bolt-max);margin:0 auto;background:var(--bolt-paper);min-height:100vh}
.wrap{padding-left:var(--bolt-pad);padding-right:var(--bolt-pad)}

.site-header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:36px;padding:28px var(--bolt-pad);border-bottom:1px solid var(--bolt-line);position:relative;z-index:20;background:rgba(251,250,247,.96)}
.site-brand-wrap{display:flex;align-items:center;min-width:150px}
.custom-logo-link,.bolt-bundled-logo{display:inline-flex;align-items:center;background:transparent}
.bolt-bundled-logo{transform:translateX(-8px)}
.custom-logo,.bolt-bundled-logo img,.bolt-bundled-logo svg{display:block;width:auto;max-width:min(250px,22vw);max-height:72px;object-fit:contain;background:transparent}.bolt-bundled-logo svg{height:auto}
.site-brand{display:inline-flex;flex-direction:column;line-height:1}
.site-brand strong{font-size:31px;letter-spacing:.18em;font-weight:800}
.site-brand small{margin-top:7px;font-size:10px;letter-spacing:.36em}
.site-brand .bolt{display:inline-block;transform:translateY(-1px);letter-spacing:0;color:var(--bolt-accent)}
.primary-nav{display:flex;justify-content:center;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.primary-nav .primary-menu{display:flex;align-items:center;justify-content:center;gap:34px;list-style:none;margin:0;padding:0}
.primary-nav li{list-style:none;margin:0;padding:0}.primary-nav a{padding:8px 0;border-bottom:1px solid transparent}
.primary-nav .current-menu-item>a,.primary-nav .current_page_item>a,.primary-nav a[aria-current="page"]{border-color:var(--bolt-ink)}
.button,.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:18px;background:var(--bolt-ink);color:white;border:1px solid var(--bolt-ink);padding:14px 23px;font-weight:700;font-size:12px;letter-spacing:.02em;text-transform:uppercase;border-radius:0!important}
.button.light{background:transparent;color:var(--bolt-ink)}
.button:hover{opacity:.88;background:var(--bolt-ink)}
.button.light:hover{background:var(--bolt-ink);color:white}
.menu-toggle{display:none;border:0;background:none;font:inherit;font-weight:700}

.hero{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);min-height:575px;border-bottom:1px solid var(--bolt-line)}
.hero-copy{padding:clamp(60px,8vw,120px) var(--bolt-pad);display:flex;flex-direction:column;justify-content:center}
.eyebrow{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;margin-bottom:28px}
.display-title{font-family:var(--bolt-serif);font-weight:400;font-size:clamp(66px,8vw,132px);line-height:.84;letter-spacing:-.055em;margin:0 0 34px}
.display-title.small{font-size:clamp(52px,6vw,94px)}
.lede{font-size:clamp(18px,1.55vw,25px);line-height:1.45;max-width:620px;margin:0 0 36px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.hero-media{min-height:520px;background:#dedbd5;overflow:hidden}
.hero-media img{width:100%;height:100%;object-fit:cover;filter:grayscale(100%)}
.placeholder{width:100%;height:100%;min-height:420px;background:linear-gradient(135deg,#d7d4ce,#f4f2ed 62%,#c5c1bb);position:relative}
.placeholder:after{content:"ADD IMAGE";position:absolute;left:28px;bottom:24px;font-size:11px;font-weight:800;letter-spacing:.12em}

.section{padding:76px var(--bolt-pad);border-bottom:1px solid var(--bolt-line)}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}
.section-title{font-family:var(--bolt-serif);font-size:clamp(36px,4vw,66px);font-weight:400;letter-spacing:-.035em;line-height:1;margin:0}
.text-link{font-weight:800;text-transform:uppercase;font-size:11px;letter-spacing:.04em}

.work-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:12px}
.work-card{grid-column:span 4;display:block;margin-bottom:20px}
.work-card:nth-child(1){grid-column:span 6}
.work-card:nth-child(2){grid-column:span 6}
.work-card:nth-child(5n){grid-column:span 6}
.work-card:nth-child(5n+1){grid-column:span 6}
.work-thumb{aspect-ratio:4/3;background:#e7e4de;overflow:hidden;border:1px solid rgba(0,0,0,.04)}
.work-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.work-card:hover .work-thumb img{transform:scale(1.018)}
.work-meta{padding-top:11px}
.work-meta h3{font-size:15px;margin:0 0 2px;font-weight:750}
.work-meta p{font-size:12px;margin:0;color:var(--bolt-muted)}

.solo-strip{display:grid;grid-template-columns:1.2fr repeat(4,1fr);gap:0;border-bottom:1px solid var(--bolt-line);background:#efede8}
.solo-intro,.solo-point{padding:46px 32px;border-right:1px solid var(--bolt-line)}
.solo-intro:last-child,.solo-point:last-child{border-right:0}
.solo-intro h2{font-family:var(--bolt-serif);font-size:42px;line-height:.95;font-weight:400;margin:10px 0 18px}
.solo-point h3{font-size:12px;text-transform:uppercase;letter-spacing:.05em;margin:0 0 13px}
.solo-point p,.solo-intro p{font-size:13px;margin:0;color:#3d3b38}

.page-hero{display:grid;grid-template-columns:.78fr 1.22fr;border-bottom:1px solid var(--bolt-line)}
.page-hero-copy{padding:72px var(--bolt-pad)}
.page-hero-media{min-height:430px;background:#ddd9d2;overflow:hidden}
.page-hero-media img{width:100%;height:100%;object-fit:cover;filter:grayscale(100%)}
.page-title{font-family:var(--bolt-serif);font-size:clamp(64px,8vw,122px);font-weight:400;line-height:.9;letter-spacing:-.05em;margin:0 0 26px}
.page-intro{font-size:18px;max-width:500px}

.filter-bar{display:flex;gap:22px;flex-wrap:wrap;padding:22px 0 30px;border-bottom:1px solid var(--bolt-line);margin-bottom:28px}
.filter-bar a{font-size:11px;text-transform:uppercase;font-weight:800;letter-spacing:.04em;color:var(--bolt-muted)}
.filter-bar a.active{color:var(--bolt-ink);border-bottom:1px solid var(--bolt-ink)}
.work-pagination{display:flex;gap:8px;flex-wrap:wrap;padding:0 var(--bolt-pad) 70px}
.work-pagination .page-numbers{display:inline-flex;min-width:38px;height:38px;align-items:center;justify-content:center;border:1px solid var(--bolt-line);font-size:12px;font-weight:700}
.work-pagination .current{background:var(--bolt-ink);color:#fff;border-color:var(--bolt-ink)}

.archive-intro{padding:70px var(--bolt-pad) 18px}
.archive-intro .page-title{margin-bottom:18px}
.archive-work-grid{padding:0 var(--bolt-pad) 82px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.archive-work-grid .work-card{grid-column:auto;margin:0 0 22px}
.archive-work-grid .work-thumb{aspect-ratio:1/1}
.archive-work-grid .work-card:nth-child(7n+1){grid-column:span 2;grid-row:span 2}
.archive-work-grid .work-card:nth-child(7n+1) .work-thumb{aspect-ratio:1/1}

.branding-intro{display:grid;grid-template-columns:.9fr 1.1fr;border-bottom:1px solid var(--bolt-line)}
.branding-copy{padding:80px var(--bolt-pad)}
.branding-copy .page-title{font-size:clamp(72px,8vw,120px)}
.branding-content{padding:80px var(--bolt-pad);border-left:1px solid var(--bolt-line)}
.branding-content h2{font-family:var(--bolt-serif);font-weight:400;font-size:44px;line-height:1;margin:0 0 12px}
.branding-content h2 + p{margin-top:0}
.branding-content p{max-width:700px;font-size:18px}
.services-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--bolt-line);border-left:1px solid var(--bolt-line)}
.service-item{padding:32px;border-right:1px solid var(--bolt-line);border-bottom:1px solid var(--bolt-line);min-height:200px}
.service-item h3{font-size:13px;text-transform:uppercase;margin:0 0 12px}
.service-item p{font-size:14px;color:#484541;margin:0}

.case-hero{display:grid;grid-template-columns:.72fr 1.28fr;border-bottom:1px solid var(--bolt-line)}
.case-info{padding:68px var(--bolt-pad)}
.back-link{font-size:10px;text-transform:uppercase;font-weight:800;display:inline-block;margin-bottom:34px}
.case-title{font-family:var(--bolt-serif);font-size:clamp(54px,6vw,96px);line-height:.9;letter-spacing:-.045em;font-weight:400;margin:0 0 22px}
.case-excerpt{font-size:18px;max-width:520px}
.case-tax{margin-top:36px;padding-top:24px;border-top:1px solid var(--bolt-line);font-size:12px;display:grid;gap:10px}
.case-tax strong{display:block;text-transform:uppercase;font-size:10px;letter-spacing:.05em;margin-bottom:2px}
.case-featured{min-height:560px;background:#dedbd5}
.case-featured img{width:100%;height:100%;object-fit:cover}
.case-body{padding:64px var(--bolt-pad) 70px;max-width:1100px;margin:0 auto}
.case-body>p,.case-body>.wp-block-group>p{font-size:18px}
.case-body h2{font-family:var(--bolt-serif);font-size:clamp(38px,4vw,64px);line-height:.98;font-weight:400;letter-spacing:-.03em;margin:48px 0 12px}
.case-body>h2:first-child,.case-body>.wp-block-group:first-child h2:first-child{margin-top:0}
.case-body h2 + p,.case-body h2 + .wp-block-paragraph,.case-body .wp-block-heading + p{margin-top:0}
.case-body p{margin-bottom:20px}
.case-body h3{font-size:16px;text-transform:uppercase;margin:38px 0 10px}
.case-body h3 + p{margin-top:0}
.case-body .wp-block-image{margin-top:32px;margin-bottom:32px}
.case-nav{display:grid;grid-template-columns:1fr 1fr}
.case-nav a{padding:28px var(--bolt-pad);font-size:11px;text-transform:uppercase;font-weight:800}
.case-nav a:last-child{text-align:right}

.about-grid,.contact-grid{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--bolt-line)}
.about-copy,.contact-copy{padding:80px var(--bolt-pad)}
.about-copy .page-title,.contact-copy .page-title{font-size:clamp(64px,7vw,110px)}
.about-media,.contact-media{min-height:600px;background:#ddd9d2}
.about-media img,.contact-media img{width:100%;height:100%;object-fit:cover;filter:grayscale(100%)}
.prose{font-size:18px;max-width:700px}.prose p{margin:0 0 22px}

.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:36px}
.contact-form label{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;display:block;margin-bottom:7px}
.contact-form .full{grid-column:1/-1}
.contact-form input,.contact-form textarea{width:100%;border:1px solid var(--bolt-line);background:transparent;padding:14px;font:inherit;border-radius:0}
.contact-form textarea{min-height:150px;resize:vertical}
.contact-form button{border:0;cursor:pointer}
.form-status{grid-column:1/-1;font-size:13px}
.form-hp{position:absolute;left:-9999px}

.cta-band{background:var(--bolt-ink);color:white;padding:60px var(--bolt-pad);display:flex;align-items:center;justify-content:space-between;gap:30px}
.cta-band h2{font-family:var(--bolt-serif);font-size:clamp(42px,5vw,76px);font-weight:400;margin:0;line-height:1}
.cta-band .button{background:white;color:var(--bolt-ink);border-color:white}

.site-footer{padding:44px var(--bolt-pad) 26px;background:var(--bolt-paper)}
.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:30px;padding-bottom:50px}
.footer-grid h4{font-size:10px;text-transform:uppercase;letter-spacing:.06em;margin:0 0 12px}
.footer-grid p,.footer-grid a{font-size:13px;color:#4c4945}
.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid var(--bolt-line);padding-top:20px;font-size:11px;color:var(--bolt-muted)}

.entry-content{padding:70px var(--bolt-pad);max-width:980px;margin:0 auto}.entry-content h1,.entry-content h2{font-family:var(--bolt-serif);font-weight:400}.entry-content h1{font-size:72px;margin:0 0 18px}.entry-content h2{font-size:48px;line-height:1;margin:42px 0 12px}.entry-content h2 + p{margin-top:0}

@media (max-width:1000px){
 .site-header{grid-template-columns:auto auto}.header-cta{display:none}.menu-toggle{display:block;justify-self:end}.primary-nav{display:none;grid-column:1/-1;justify-content:flex-start;flex-direction:column;gap:4px;padding-top:18px}.primary-nav.open{display:flex}.primary-nav.open .primary-menu{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
 .hero,.page-hero,.branding-intro,.case-hero,.about-grid,.contact-grid{grid-template-columns:1fr}.hero-media,.page-hero-media,.case-featured,.about-media,.contact-media{min-height:440px}.branding-content{border-left:0;border-top:1px solid var(--bolt-line)}
 .solo-strip{grid-template-columns:1fr 1fr}.solo-intro{grid-column:1/-1}.solo-point{border-top:1px solid var(--bolt-line)}
 .services-grid{grid-template-columns:1fr 1fr}.archive-work-grid{grid-template-columns:repeat(2,1fr)}.archive-work-grid .work-card:nth-child(7n+1){grid-column:span 2}
 .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
 :root{--bolt-pad:20px}.site-header{padding-top:20px;padding-bottom:20px}.site-brand strong{font-size:25px}.display-title{font-size:62px}.hero{min-height:auto}.hero-copy{padding-top:58px;padding-bottom:58px}.hero-media{min-height:350px}.section{padding-top:58px;padding-bottom:58px}
 .work-grid{grid-template-columns:1fr;gap:0}.work-card,.work-card:nth-child(n){grid-column:auto}.work-thumb{aspect-ratio:4/3}
 .solo-strip{grid-template-columns:1fr}.solo-intro,.solo-point{grid-column:auto;border-right:0}
 .archive-work-grid{grid-template-columns:1fr}.archive-work-grid .work-card:nth-child(n){grid-column:auto}.archive-work-grid .work-thumb{aspect-ratio:4/3}
 .services-grid{grid-template-columns:1fr}.service-item{min-height:0}.contact-form{grid-template-columns:1fr}.contact-form .full{grid-column:auto}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column;gap:8px}.cta-band{align-items:flex-start;flex-direction:column}.case-nav{grid-template-columns:1fr}.case-nav a:last-child{text-align:left}
}

/* V4.3 — tighter editorial heading-to-copy rhythm across ordinary content. */
.about-copy h2,.contact-copy h2,.bolt-page-edit-copy h2,.bolt-about-copy h2,.bolt-contact-copy h2{margin-bottom:12px}
.about-copy h2 + p,.contact-copy h2 + p,.bolt-page-edit-copy h2 + p,.bolt-about-copy h2 + p,.bolt-contact-copy h2 + p{margin-top:0}

/* V2 — editable page layouts */
.bolt-editable-page > .wp-block-group{max-width:none!important;margin:0!important}
.bolt-editable-page .wp-block-columns{margin-bottom:0}
.bolt-home-hero,.bolt-page-edit-hero,.bolt-about-edit,.bolt-contact-edit{border-bottom:1px solid var(--bolt-line)}
.bolt-home-hero>.wp-block-group__inner-container,.bolt-page-edit-hero>.wp-block-group__inner-container,.bolt-about-edit>.wp-block-group__inner-container,.bolt-contact-edit>.wp-block-group__inner-container{max-width:none}
.bolt-hero-columns,.bolt-page-edit-hero>.wp-block-columns,.bolt-about-edit>.wp-block-columns,.bolt-contact-edit>.wp-block-columns{gap:0}
.bolt-hero-copy,.bolt-page-edit-copy,.bolt-about-copy,.bolt-contact-copy{padding:clamp(52px,6vw,96px) var(--bolt-pad);display:flex;flex-direction:column;justify-content:center}
.bolt-hero-image,.bolt-page-edit-image{min-height:560px;background:#dedbd5;position:relative;overflow:hidden}
.bolt-editor-image{height:100%;min-height:560px;margin:0!important;background:linear-gradient(135deg,#ddd9d2,#f2f0eb 62%,#c6c2bb)}
.bolt-editor-image:empty:after{content:"CLICK TO ADD IMAGE";position:absolute;left:28px;bottom:24px;font-size:11px;font-weight:800;letter-spacing:.12em;color:#555}
.bolt-editor-image img{width:100%!important;height:100%!important;object-fit:cover;filter:grayscale(100%)}
.bolt-home-hero .wp-block-button__link,.bolt-page-cta .wp-block-button__link{border-radius:0;background:var(--bolt-ink);color:white;padding:15px 22px;font-weight:800;font-size:11px;text-transform:uppercase;letter-spacing:.04em}
.bolt-home-hero .is-style-outline .wp-block-button__link{background:transparent;color:var(--bolt-ink);border:1px solid var(--bolt-ink)}
.bolt-solo-section{background:#efede8;border-bottom:1px solid var(--bolt-line);padding:0!important}
.bolt-solo-columns{gap:0!important}
.bolt-solo-columns>.wp-block-column{padding:42px 28px;border-right:1px solid var(--bolt-line)}
.bolt-solo-columns>.wp-block-column:last-child{border-right:0}
.bolt-solo-columns h2{font-family:var(--bolt-serif);font-size:clamp(34px,3vw,46px);font-weight:400;line-height:.98;margin:10px 0 18px}
.bolt-solo-columns h3,.bolt-service-row h3{font-size:12px;text-transform:uppercase;letter-spacing:.05em;margin:0 0 12px}
.bolt-solo-columns p,.bolt-service-row p{font-size:13px;color:#403e3a}
.bolt-edit-section{padding:76px var(--bolt-pad)!important;border-bottom:1px solid var(--bolt-line)}
.bolt-section-heading{margin-bottom:28px!important}
.bolt-work-post-template{list-style:none;padding:0!important;margin:0!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.bolt-work-post-template>li{margin:0 0 24px!important}
.bolt-work-post-template .wp-block-post-featured-image{margin:0 0 12px;aspect-ratio:4/3;overflow:hidden;background:#e7e4de}
.bolt-work-post-template .wp-block-post-featured-image img{width:100%;height:100%;object-fit:cover}
.bolt-work-post-template .wp-block-post-title{font-family:var(--bolt-sans);font-size:15px!important;font-weight:750;margin:0 0 2px}
.bolt-work-post-template .wp-block-post-terms{font-size:12px;color:var(--bolt-muted)}
.bolt-page-edit-copy .page-title,.bolt-about-copy .page-title,.bolt-contact-copy .page-title{font-size:clamp(64px,8vw,122px);margin-bottom:24px}
.bolt-page-edit-copy>p:not(.eyebrow),.bolt-about-copy>p:not(.eyebrow),.bolt-contact-copy>p:not(.eyebrow){max-width:680px;font-size:17px}
.bolt-service-row{gap:0!important;border-left:1px solid var(--bolt-line);border-top:1px solid var(--bolt-line)}
.bolt-service-row>.wp-block-column{padding:30px;min-height:185px;border-right:1px solid var(--bolt-line);border-bottom:1px solid var(--bolt-line)}
.bolt-page-cta{padding:58px var(--bolt-pad)!important;background:#efede8;border-bottom:1px solid var(--bolt-line)}
.bolt-page-cta h2{font-family:var(--bolt-serif);font-size:clamp(38px,4vw,62px);font-weight:400;margin:0 0 10px}
.bolt-contact-edit .bolt-page-edit-image{padding:54px var(--bolt-pad);display:flex;flex-direction:column;justify-content:flex-end}
.bolt-contact-edit .bolt-page-edit-image .bolt-editor-image{position:absolute;inset:0;z-index:0}
.bolt-contact-edit .bolt-page-edit-image h2,.bolt-contact-edit .bolt-page-edit-image p{position:relative;z-index:1;background:rgba(251,250,247,.94);padding:12px 16px;margin:0;max-width:360px}
.bolt-contact-edit .bolt-page-edit-image h2{font-family:var(--bolt-serif);font-weight:400;font-size:42px;padding-bottom:4px}

/* Make starter sections read sensibly in Gutenberg too */
.editor-styles-wrapper .bolt-editor-image{min-height:360px!important;border:1px dashed #999;position:relative}
.editor-styles-wrapper .bolt-edit-section,.editor-styles-wrapper .bolt-page-cta,.editor-styles-wrapper .bolt-solo-section{max-width:none!important}
.editor-styles-wrapper .bolt-work-post-template{grid-template-columns:repeat(3,minmax(0,1fr))!important}

@media (max-width:1000px){
 .bolt-hero-columns,.bolt-page-edit-hero>.wp-block-columns,.bolt-about-edit>.wp-block-columns,.bolt-contact-edit>.wp-block-columns{flex-wrap:wrap!important}
 .bolt-hero-columns>.wp-block-column,.bolt-page-edit-hero>.wp-block-columns>.wp-block-column,.bolt-about-edit>.wp-block-columns>.wp-block-column,.bolt-contact-edit>.wp-block-columns>.wp-block-column{flex-basis:100%!important}
 .bolt-solo-columns{flex-wrap:wrap!important}.bolt-solo-columns>.wp-block-column{flex-basis:50%!important}.bolt-solo-columns>.bolt-solo-intro{flex-basis:100%!important}
 .bolt-service-row{flex-wrap:wrap!important}.bolt-service-row>.wp-block-column{flex-basis:50%!important}
 .bolt-work-post-template{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
 .bolt-hero-copy,.bolt-page-edit-copy,.bolt-about-copy,.bolt-contact-copy{padding-top:54px;padding-bottom:54px}.bolt-hero-image,.bolt-page-edit-image,.bolt-editor-image{min-height:380px}
 .bolt-solo-columns>.wp-block-column,.bolt-service-row>.wp-block-column{flex-basis:100%!important;border-right:0}
 .bolt-work-post-template{grid-template-columns:1fr}.bolt-edit-section{padding-top:56px!important;padding-bottom:56px!important}
}


/* V4.2 — keep the V4 Selected Work teaser looking populated and compact. */
.home .wp-block-query .wp-block-post-template{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:14px!important;
  list-style:none!important;
  padding:0!important;
  margin:0!important;
}
.home .wp-block-query .wp-block-post-template>li:nth-child(n+6){display:none!important}
.home .wp-block-query .wp-block-post-featured-image{
  aspect-ratio:4/3;
  overflow:hidden;
  margin:0 0 10px!important;
  background:#e7e4de;
}
.home .wp-block-query .wp-block-post-featured-image img{width:100%!important;height:100%!important;object-fit:cover}
.home .wp-block-query .wp-block-post-title{font-size:15px!important;font-weight:750;margin:0 0 2px!important}
.home .wp-block-query .wp-block-post-terms{font-size:12px;color:var(--bolt-muted)}
@media (max-width:800px){.home .wp-block-query .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:520px){.home .wp-block-query .wp-block-post-template{grid-template-columns:1fr!important}}

/* V4.6 — homepage portfolio alignment and card-title rhythm.
   The query, its Selected Work label and its View All Projects link use the
   same inset, so the whole portfolio teaser sits on the hero-copy grid line. */
.home .wp-block-query.bolt-work-query,
.home .bolt-home-work-align{
  padding-left:var(--bolt-pad)!important;
}
.home .wp-block-query .wp-block-post-title{
  line-height:1.08!important;
}

/* Work archive/page tiles: keep long project names neat and compact. */
.archive-work-grid .work-meta h3{line-height:1.12}

@media (max-width:640px){
  .home .wp-block-query.bolt-work-query,
  .home .bolt-home-work-align{padding-left:var(--bolt-pad)!important}
}

/* V4.9 — Work masonry caption alignment + bulletproof bundled SVG logo.
   The leading large tile keeps its square artwork, but its caption is pushed
   to the bottom of the two-row grid area so it aligns with the captions under
   the second row of smaller projects. */
.archive-work-grid .work-card:nth-child(7n+1){
  display:flex;
  flex-direction:column;
  /* Match the large tile's content box to the two small rows.
     The archive cards carry a 22px bottom margin; subtracting it here
     keeps the HANA image bottom and caption baseline aligned with row two. */
  height:calc(100% - 22px);
}
.archive-work-grid .work-card:nth-child(7n+1) .work-meta{
  margin-top:auto;
}

/* Always display the exact transparent Bolt SVG at a predictable size. */
.bolt-bundled-logo img{
  display:block;
  width:min(250px,22vw);
  height:auto;
  max-height:72px;
  background:transparent!important;
}

@media (max-width:640px){
  .archive-work-grid .work-card:nth-child(7n+1){height:auto}
  .archive-work-grid .work-card:nth-child(7n+1) .work-meta{margin-top:0}
  .bolt-bundled-logo img{width:min(215px,60vw)}
}



/* V4.10 — precision grid alignment only.
   Work: the leading large artwork now grows to the bottom edge of the second
   small-image row, while its caption shares the same baseline as that row.
   Case studies: the editable content column starts on the same left grid line
   as the case-study information above instead of being centred independently. */
.archive-work-grid .work-card:nth-child(7n+1) .work-thumb{
  flex:1 1 auto;
  min-height:0;
  aspect-ratio:auto;
}

.case-body{
  margin-left:0;
  margin-right:0;
}

/* Keep ordinary Gutenberg content and project imagery on one clean left edge. */
.case-body > h2,
.case-body > h3,
.case-body > p,
.case-body > figure,
.case-body > .wp-block-image,
.case-body > .wp-block-gallery,
.case-body > .wp-block-group,
.case-body > .wp-block-columns{
  margin-left:0;
}
.case-body > figure,
.case-body > .wp-block-image,
.case-body > .wp-block-gallery{
  margin-right:0;
}

@media (max-width:640px){
  .archive-work-grid .work-card:nth-child(7n+1) .work-thumb{
    flex:none;
    aspect-ratio:4/3;
  }
  .case-body{margin-left:auto;margin-right:auto}
}

/* V4.12 — portrait frame control + simple Bolt line icon system.
   The portrait size is applied to the actual figure/frame rather than using a
   transform, so the empty grey frame does not remain behind a smaller image. */
.home .bolt-home-hero .bolt-portrait-image img{
  transform:none!important;
}

/* Branding service icons are decorative holding illustrations. */
.bolt-service-row .bolt-has-service-icon .bolt-service-icon{
  display:block;
  width:80px;
  height:80px;
  margin:0 0 10px;
  background-repeat:no-repeat;
  background-position:left center;
  background-size:contain;
}
.bolt-service-strategy .bolt-service-icon{background-image:url('assets/icons/strategy.svg')}
.bolt-service-naming .bolt-service-icon{background-image:url('assets/icons/naming.svg')}
.bolt-service-identity .bolt-service-icon{background-image:url('assets/icons/identity.svg')}
.bolt-service-guidelines .bolt-service-icon{background-image:url('assets/icons/guidelines.svg')}
.bolt-service-applications .bolt-service-icon{background-image:url('assets/icons/applications.svg')}
.bolt-service-digital .bolt-service-icon{background-image:url('assets/icons/digital.svg')}
.bolt-service-refresh .bolt-service-icon{background-image:url('assets/icons/refresh.svg')}
.bolt-service-specialist .bolt-service-icon{background-image:url('assets/icons/specialist.svg')}

/* Replace temporary text glyphs on Direct / Experienced / Flexible /
   Trusted network with consistent line drawings. */
.bolt-value-label{
  display:flex!important;
  align-items:center;
  gap:10px;
}
.bolt-value-icon{
  flex:0 0 70px;
  width:46px;
  height:70px;
  display:inline-block;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
}
.bolt-value-direct .bolt-value-icon{background-image:url('assets/icons/direct.svg')}
.bolt-value-experienced .bolt-value-icon{background-image:url('assets/icons/experienced.svg')}
.bolt-value-flexible .bolt-value-icon{background-image:url('assets/icons/flexible.svg')}
.bolt-value-network .bolt-value-icon{background-image:url('assets/icons/network.svg')}
.bolt-value-text{display:inline-block}

@media (max-width:640px){
  .bolt-service-row .bolt-has-service-icon .bolt-service-icon{width:80px;height:80px;margin-bottom:10px}
  .bolt-value-icon{flex-basis:70px;width:46px;height:70px}
}


/* V4.16 — simplified homepage: Work first, clients second, no About Joe block. */
.home .bolt-home-work-section{
  padding:34px var(--bolt-pad) 40px!important;
  border-bottom:1px solid var(--bolt-line);
}
.home .bolt-home-work-section .bolt-section-heading{
  margin-bottom:22px!important;
}
.home .bolt-home-work-section .section-title{
  font-family:var(--bolt-sans);
  font-size:12px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.home .bolt-home-work-section .text-link{
  margin:0!important;
}
.home .bolt-home-work-section .wp-block-query.bolt-work-query{
  padding-left:0!important;
}
.home .bolt-home-work-section .wp-block-post-template{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:20px!important;
}
.home .bolt-home-work-section .wp-block-post-template>li{
  margin-bottom:0!important;
}
.home .bolt-home-work-section .wp-block-post-featured-image{
  aspect-ratio:4/3!important;
  margin-bottom:10px!important;
}

.bolt-client-strip{
  padding:28px var(--bolt-pad) 34px;
  border-bottom:1px solid var(--bolt-line);
  background:var(--bolt-paper);
}
.bolt-client-strip-title{
  font-family:var(--bolt-sans);
  font-size:12px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  margin:0 0 26px;
}
.bolt-client-logo-grid{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:28px;
  align-items:center;
}
.bolt-client-logo-item{
  min-width:0;
  height:74px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.bolt-client-logo-item img{
  display:block;
  width:100%;
  max-width:180px;
  height:64px;
  object-fit:contain;
  filter:grayscale(100%);
}

@media(max-width:1000px){
  .home .bolt-home-work-section .wp-block-post-template{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .bolt-client-logo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:640px){
  .home .bolt-home-work-section{padding-top:28px!important;padding-bottom:32px!important}
  .home .bolt-home-work-section .bolt-section-heading{display:block!important}
  .home .bolt-home-work-section .bolt-section-heading .has-text-align-right{text-align:left!important;margin-top:10px!important}
  .home .bolt-home-work-section .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
  .bolt-client-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .bolt-client-logo-item{height:62px}
  .bolt-client-logo-item img{height:54px}
}


/* V4.17 — homepage Work/Clients label consistency. */
.home .bolt-home-work-section .bolt-home-work-align{
  padding-left:0!important;
}


/* V4.20 — Branding heading rhythm only.
   Pull “What I can help with” upward visually while keeping the service boxes
   in their existing position, creating a larger deliberate gap below it. */
.page-template-page-branding .bolt-edit-section > .section-title{
  position:relative;
  top:-24px;
}
@media (max-width:640px){
  .page-template-page-branding .bolt-edit-section > .section-title{top:-16px}
}


/* V4.21 — adaptive Work archive grid.
   Five projects retain the approved editorial masonry composition.
   Six and other common totals rebalance automatically so the last row does
   not look accidental or unfinished. */
.archive-work-grid[class*="work-count-"] .work-card{
  grid-column:auto!important;
  grid-row:auto!important;
  height:auto!important;
  display:block!important;
}
.archive-work-grid[class*="work-count-"] .work-card .work-meta{margin-top:0!important}
.archive-work-grid[class*="work-count-"] .work-card .work-thumb{
  flex:none!important;
  min-height:0!important;
  aspect-ratio:1/1!important;
}

/* Small totals: keep them visually balanced rather than stranded at the left. */
.archive-work-grid.work-count-1{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
.archive-work-grid.work-count-1 .work-card{grid-column:1/2!important}
.archive-work-grid.work-count-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.archive-work-grid.work-count-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.archive-work-grid.work-count-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}

/* Approved five-project layout: one feature tile + four supporting tiles. */
.archive-work-grid.work-count-5{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.archive-work-grid.work-count-5 .work-card:first-child{
  grid-column:span 2!important;
  grid-row:span 2!important;
  display:flex!important;
  flex-direction:column!important;
  height:calc(100% - 22px)!important;
}
.archive-work-grid.work-count-5 .work-card:first-child .work-thumb{
  flex:1 1 auto!important;
  aspect-ratio:auto!important;
}
.archive-work-grid.work-count-5 .work-card:first-child .work-meta{margin-top:auto!important}

/* Six projects: a clean 3 × 2 editorial grid. */
.archive-work-grid.work-count-6{grid-template-columns:repeat(3,minmax(0,1fr))!important}

/* Seven projects: four across, then three equal-width cards beneath. */
.archive-work-grid.work-count-7{grid-template-columns:repeat(12,minmax(0,1fr))!important}
.archive-work-grid.work-count-7 .work-card:nth-child(-n+4){grid-column:span 3!important}
.archive-work-grid.work-count-7 .work-card:nth-child(n+5){grid-column:span 4!important}

.archive-work-grid.work-count-8{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.archive-work-grid.work-count-9{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.archive-work-grid.work-count-10{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.archive-work-grid.work-count-11{grid-template-columns:repeat(12,minmax(0,1fr))!important}
.archive-work-grid.work-count-11 .work-card:nth-child(-n+8){grid-column:span 3!important}
.archive-work-grid.work-count-11 .work-card:nth-child(n+9){grid-column:span 4!important}
.archive-work-grid.work-count-12{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.archive-work-grid.work-count-many{grid-template-columns:repeat(4,minmax(0,1fr))!important}

@media (max-width:820px){
  .archive-work-grid[class*="work-count-"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .archive-work-grid[class*="work-count-"] .work-card{grid-column:auto!important;grid-row:auto!important;height:auto!important;display:block!important}
  .archive-work-grid[class*="work-count-"] .work-card .work-thumb{aspect-ratio:1/1!important}
}
@media (max-width:640px){
  .archive-work-grid[class*="work-count-"]{grid-template-columns:1fr!important}
  .archive-work-grid[class*="work-count-"] .work-card .work-thumb{aspect-ratio:4/3!important}
}


/* V4.22 — robust Work-count detection.
   The browser also identifies common totals from the actual rendered cards,
   so a stale PHP count class cannot leave the archive in the wrong layout. */
@supports selector(.archive-work-grid:has(> .work-card)) {
  .archive-work-grid:has(> .work-card:nth-child(6):last-child){
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .archive-work-grid:has(> .work-card:nth-child(6):last-child) > .work-card{
    grid-column:auto!important;grid-row:auto!important;height:auto!important;display:block!important;
  }
  .archive-work-grid:has(> .work-card:nth-child(6):last-child) > .work-card .work-thumb{
    flex:none!important;aspect-ratio:1/1!important;
  }
  .archive-work-grid:has(> .work-card:nth-child(6):last-child) > .work-card .work-meta{margin-top:0!important;}
}


/* V4.24 — corrected site-wide body paragraph rhythm.
   Repairs the malformed V4.22 CSS line breaks and overrides WordPress block-flow
   margins so adjacent prose paragraphs use a consistent 12px gap. */
.bolt-page-edit-copy > p:not(.eyebrow):not(.lede),
.bolt-about-copy > p:not(.eyebrow):not(.lede),
.bolt-contact-copy > p:not(.eyebrow):not(.lede),
.about-copy .prose p,
.contact-copy .prose p,
.branding-content p,
.case-body p,
.entry-content p {
  margin-block-start:0!important;
  margin-top:0!important;
  margin-block-end:12px!important;
  margin-bottom:12px!important;
}

/* WordPress flow-layout styles can otherwise add a second gap between blocks. */
.bolt-page-edit-copy > p + p,
.bolt-about-copy > p + p,
.bolt-contact-copy > p + p,
.about-copy .prose p + p,
.contact-copy .prose p + p,
.branding-content p + p,
.case-body p + p,
.entry-content p + p {
  margin-block-start:0!important;
  margin-top:0!important;
}

.bolt-page-edit-copy > p:last-child,
.bolt-about-copy > p:last-child,
.bolt-contact-copy > p:last-child,
.about-copy .prose p:last-child,
.contact-copy .prose p:last-child,
.branding-content p:last-child,
.case-body p:last-child,
.entry-content p:last-child {
  margin-block-end:0!important;
  margin-bottom:0!important;
}


/* V4.28 — editable footer menu; visually matches the previous baked-in links. */
.footer-menu{list-style:none;margin:0;padding:0}
.footer-menu li{margin:0;padding:0}
.footer-menu a{font-size:13px;color:#4c4945}

/* V4.33 — optional project testimonial styling.
   Keeps the V4.31 feature in the same position, but matches the approved
   Client Feedback treatment more closely. */
.bolt-project-testimonial{
  margin-top:32px;
  padding:24px 30px 22px;
  border:0;
  background:#f7f5f0;
}
.bolt-project-testimonial-label{
  margin:0 0 12px!important;
  font-size:9px!important;
  line-height:1.1;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.bolt-project-testimonial blockquote{
  margin:0 0 10px 0!important;
  padding:0;
  border:0;
}
.bolt-project-testimonial blockquote p{
  margin:0!important;
  font-family:var(--bolt-serif);
  font-size:clamp(18px,1.7vw,22px);
  line-height:1.28;
  letter-spacing:-.01em;
  font-weight:400;
  font-style:italic;
}
.bolt-project-testimonial-by{
  margin:0!important;
  font-size:9px!important;
  line-height:1.35;
  font-weight:800;
  letter-spacing:.10em;
  text-transform:uppercase;
}
@media (max-width:640px){
  .bolt-project-testimonial{margin-top:28px;padding:20px 20px 18px}
  .bolt-project-testimonial blockquote p{font-size:18px}
}



/* V4.34 — baked-in site adjustments previously held in Appearance > Additional CSS. */
@media (min-width:1001px){
  .bolt-client-logo-grid{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
  }
  .bolt-client-logo-item{
    flex:0 1 auto;
    width:auto;
    height:74px;
    padding:0;
  }
  .bolt-client-logo-item img{
    width:auto;
    max-width:150px;
    height:65px;
    object-fit:contain;
  }
}

.case-body > .bolt-case-copy + .bolt-case-gallery{
  margin-top:48px!important;
}

.case-nav > div:first-child{text-align:left}
.case-nav > div:last-child{text-align:right}
.case-nav > div a{display:inline-block}
@media (max-width:640px){
  .case-nav > div:last-child{text-align:left}
}

/* Branding service cards: keep the existing icon, heading and short copy as the
   default view, then reveal a little more detail on hover, keyboard focus or tap. */
.bolt-service-row > .wp-block-column.bolt-has-service-icon{
  position:relative;
}
.bolt-service-copy-stack{
  display:grid;
  grid-template-areas:"copy";
  align-items:start;
}
.bolt-service-summary,
.bolt-service-more{
  grid-area:copy;
  margin-top:0!important;
  transition:opacity .22s ease, transform .22s ease;
}
.bolt-service-summary{
  opacity:1;
  transform:translateY(0);
}
.bolt-service-more{
  opacity:0;
  transform:translateY(6px);
  pointer-events:none;
}
@media (hover:hover) and (pointer:fine){
  .bolt-service-row > .wp-block-column.bolt-has-service-icon:hover .bolt-service-summary,
  .bolt-service-row > .wp-block-column.bolt-has-service-icon:focus .bolt-service-summary{
    opacity:0;
    transform:translateY(-4px);
  }
  .bolt-service-row > .wp-block-column.bolt-has-service-icon:hover .bolt-service-more,
  .bolt-service-row > .wp-block-column.bolt-has-service-icon:focus .bolt-service-more{
    opacity:1;
    transform:translateY(0);
  }
}
.bolt-service-row > .wp-block-column.bolt-has-service-icon.is-expanded .bolt-service-summary{
  opacity:0;
  transform:translateY(-4px);
}
.bolt-service-row > .wp-block-column.bolt-has-service-icon.is-expanded .bolt-service-more{
  opacity:1;
  transform:translateY(0);
}
.bolt-service-row > .wp-block-column.bolt-has-service-icon:focus-visible{
  outline:2px solid var(--bolt-ink);
  outline-offset:-3px;
}

/* ==========================================================================
   V4.37 — MOBILE-ONLY PRE-LAUNCH POLISH
   Desktop/tablet presentation remains unchanged.
   ========================================================================== */

/* The homepage query supplies six projects so a phone can show a balanced
   2 × 3 grid. Keep the approved five-project presentation everywhere above
   the phone breakpoint. */
@media (min-width:641px){
  .home .bolt-home-work-section .wp-block-post-template > li:nth-child(6){
    display:none!important;
  }
}

@media (max-width:640px){

  /* HOME — six Selected Work projects in the existing two-column mobile grid. */
  .home .bolt-home-work-section .wp-block-post-template > li:nth-child(6){
    display:block!important;
  }

  /* HOME — make seven mixed-shape client marks feel like one intentional set.
     Two columns remain easy to read; an odd final logo is centred underneath. */
  .home .bolt-client-logo-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:22px!important;
    row-gap:24px!important;
    align-items:center!important;
  }
  .home .bolt-client-logo-item{
    height:78px!important;
    padding:6px 8px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .home .bolt-client-logo-item img{
    width:auto!important;
    height:auto!important;
    max-width:138px!important;
    max-height:62px!important;
    margin:auto!important;
    object-fit:contain!important;
  }
  .home .bolt-client-logo-item:last-child:nth-child(odd){
    grid-column:1 / -1;
    width:50%;
    justify-self:center;
  }

  /* BRANDING — desktop alignment untouched; range “See all work” left on phones. */
  .bolt-branding-page .bolt-brand-work .bolt-section-heading{
    display:block!important;
  }
  .bolt-branding-page .bolt-brand-work .bolt-section-heading .has-text-align-right{
    text-align:left!important;
    margin-top:10px!important;
  }

  /* ABOUT — give the four How I work icons more presence on phones only. */
  .page-template-page-about .bolt-solo-section .bolt-value-icon{
    flex-basis:90px!important;
    width:60px!important;
    height:90px!important;
  }
  .page-template-page-about .bolt-solo-section .bolt-value-label{
    gap:14px!important;
  }
}

