/* ============================================================
   CYCLE WORKSHOP — component styles
   Ported from design-handover/assets/site.css by scripts/port-css.py.

   Design tokens are NOT declared here: every colour, family and spacing
   value references a --wp--preset--* or --wp--custom--* variable generated
   from theme.json, so editing the palette there propagates.

   theme.json owns base typography, colours, links and buttons. This file
   owns the bespoke components (hero, geo stripe, cards, service rows,
   booking widget, footer), which theme.json cannot express.
   ============================================================ */
:root {
	/* Bikebook widget accent. The vendor reads a literal colour value, so this
	   is the one place the brand hex is written out rather than referenced. */
	--wb-primary: #1FA7E0;
}
a{color:inherit;text-decoration:none;}
.container{max-width:var(--wp--custom--maxw);margin:0 auto;padding-inline:var(--wp--custom--gutter);}

p{margin:0;}
p + p{margin-top:1em;}

.eyebrow{font-family:var(--wp--preset--font-family--inter);font-weight:600;font-size:13px;line-height:1;text-transform:uppercase;letter-spacing:.22em;color:var(--wp--preset--color--primary);}
.eyebrow.muted{color:var(--wp--preset--color--grey);}
.lead{font-size:clamp(18px,1.4vw,21px);color:#3a3a3a;line-height:1.6;}
.muted{color:var(--wp--preset--color--grey);}

/* ---- Buttons ---- */
.btn{display:inline-flex;align-items:center;gap:.6em;font-family:var(--wp--preset--font-family--inter);font-weight:600;font-size:16px;letter-spacing:.02em;padding:16px 26px;border:2px solid transparent;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s,border-color .15s,transform .05s;}
.btn:active{transform:translateY(1px);}
.btn-primary{background:var(--wp--preset--color--primary);color:var(--wp--preset--color--white);}
.btn-primary:hover{background:var(--wp--preset--color--primary-700);}
.btn-dark{background:var(--wp--preset--color--black);color:var(--wp--preset--color--white);}
.btn-dark:hover{background:#222;}
.btn-ghost{background:transparent;color:var(--wp--preset--color--ink);border-color:var(--wp--preset--color--ink);}
.btn-ghost:hover{background:var(--wp--preset--color--ink);color:var(--wp--preset--color--white);}
.btn-ghost-white{background:transparent;color:var(--wp--preset--color--white);border-color:rgba(255,255,255,.6);}
.btn-ghost-white:hover{background:var(--wp--preset--color--white);color:var(--wp--preset--color--primary);border-color:var(--wp--preset--color--white);}
.btn .arw{transition:transform .15s;}
.btn:hover .arw{transform:translateX(3px);}
.tlink{display:inline-flex;align-items:center;gap:.5em;font-weight:600;color:var(--wp--preset--color--primary);}
.tlink .arw{transition:transform .15s;}
.tlink:hover .arw{transform:translateX(4px);}

/* ---- icons ---- */
.ic{display:inline-block;color:var(--wp--preset--color--black);}
.ic svg{display:block;width:100%;height:100%;fill:currentColor;}

/* ============================================================ HEADER ===== */
/* The header template part is wrapped in <header> by its theme.json area.
   Sticky belongs on that wrapper: on the inner div its containing block would
   be only as tall as itself, so it would never travel with the scroll. */
header.wp-block-template-part{position:sticky;top:0;z-index:50;}
/* The logo scale lives in these two variables and nowhere else. The client
   called 100px at the top of the page, settling to 70px once scrolled. The
   brand spec asks for clear space of half the logo height, which at this size
   would mean a 200px header, so the row gives 16px top and bottom instead.
   That breach is deliberate and recorded in FOLLOWUPS.md item 5. */
.site-header{--cw-logo:100px;--cw-header:132px;background:var(--wp--preset--color--white);border-bottom:1px solid var(--wp--preset--color--grey-line);}
.site-header.is-scrolled{--cw-logo:70px;--cw-header:102px;}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:48px;height:var(--cw-header);transition:height .18s ease;}
.brand{display:flex;align-items:center;flex:0 0 auto;}
/* The row must never take its slack out of the logo: a flex item may shrink a
   replaced element below its intrinsic width, which squashes the mark rather
   than scaling it. */
.brand img{height:var(--cw-logo);width:auto;flex:0 0 auto;transition:height .18s ease;}
@media (prefers-reduced-motion:reduce){.header-inner,.brand img{transition:none;}}
.nav{display:flex;align-items:center;gap:34px;}
.nav a,
.nav .wp-block-navigation-item__content{font-weight:500;font-size:16px;color:var(--wp--preset--color--ink);padding:6px 0;position:relative;white-space:nowrap;}
.nav a::after{content:"";position:absolute;left:0;right:100%;bottom:-2px;height:2px;background:var(--wp--preset--color--primary);transition:right .2s;}
.nav a:hover::after,
.nav .current-menu-item > a::after{right:0;}
.nav .current-menu-item > a{color:var(--wp--preset--color--primary);}
.header-cta{display:flex;align-items:center;gap:18px;}
.phone{font-weight:600;font-size:16px;white-space:nowrap;display:flex;align-items:center;gap:.5em;}
.phone svg{width:16px;height:16px;color:var(--wp--preset--color--primary);}
.menu-btn{display:none;background:none;border:0;padding:8px;cursor:pointer;}
.menu-btn svg{width:26px;height:26px;}

/* Mobile menu: core Navigation's overlay, styled like the mockup drawer.
   Using the core block rather than hand-rolled JS keeps the focus trapping and
   aria wiring that a bespoke drawer would have to reimplement. */
.wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--white);
	padding: 0;
}
.wp-block-navigation__responsive-container.is-menu-open
	.wp-block-navigation__responsive-container-content {
	padding: 24px var(--wp--custom--gutter);
	width: 100%;
}
.wp-block-navigation__responsive-container.is-menu-open
	.wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--barlow-condensed);
	font-weight: 700;
	font-size: 30px;
	text-transform: uppercase;
	padding: 14px 0;
	border-bottom: 1px solid var(--wp--preset--color--grey-line);
	width: 100%;
}
.wp-block-navigation__responsive-container-open svg,
.wp-block-navigation__responsive-container-close svg {
	width: 26px;
	height: 26px;
}

/* ============================================================ HERO ===== */
.hero{position:relative;background:var(--wp--preset--color--white);}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:stretch;min-height:min(70vh,640px);}
.hero-copy{padding:clamp(32px,4vw,56px) var(--wp--custom--gutter);max-width:760px;margin-left:auto;width:100%;display:flex;flex-direction:column;justify-content:center;}
.hero-copy-inner{max-width:600px;margin-left:auto;}
.hero h1{margin:18px 0 0;}
.hero h1 .accent{color:var(--wp--preset--color--primary);}
.hero .tagline{margin-top:22px;max-width:30ch;}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px;}
.hero-media{position:relative;background:var(--wp--preset--color--surface);overflow:hidden;}
.hero-media image-slot,.hero-media img{position:absolute;inset:0;width:100%;height:100%;}
.hero-media img{object-fit:cover;}
.hero-stripe{position:absolute;top:0;bottom:0;left:0;width:14px;background:var(--wp--preset--color--primary);z-index:2;}
/* hero variant: photo on the left */
.hero.v-photo-left .hero-media{order:0;}
.hero.v-photo-left .hero-copy{order:1;margin-left:0;}
.hero.v-photo-left .hero-copy-inner{margin-left:0;margin-right:auto;}
.hero.v-photo-left .hero-stripe{left:auto;right:0;}
/* hero variant: bold dark type column */
.hero.v-dark .hero-copy{background:var(--wp--preset--color--black);}
.hero.v-dark h1{color:#fff;}
.hero.v-dark .eyebrow{color:var(--wp--preset--color--primary);}
.hero.v-dark .tagline{color:rgba(255,255,255,.82);}
.hero.v-dark .btn-ghost{color:#fff;border-color:rgba(255,255,255,.55);}
.hero.v-dark .btn-ghost:hover{background:#fff;color:#000;border-color:#fff;}

/* geo identity strip — van's blue angled stripe */
.geo-strip{background:var(--wp--preset--color--surface);padding:clamp(28px,4vw,44px) var(--wp--custom--gutter);display:flex;justify-content:center;}
.geo-stripe{background:var(--wp--preset--color--primary);color:#fff;clip-path:polygon(3.5% 0,100% 0,96.5% 100%,0 100%);padding:clamp(14px,2vw,20px) clamp(46px,7vw,104px);display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:clamp(10px,2vw,24px);font-family:var(--wp--preset--font-family--barlow-condensed);text-transform:uppercase;font-weight:700;font-size:clamp(22px,2.8vw,38px);letter-spacing:.05em;line-height:1;}
.geo-stripe .lk{height:clamp(13px,1.5vw,19px);width:auto;flex:none;opacity:.92;}

/* ============================================================ PAGE HEADER (inner pages) ===== */
/* Tighter on top than the mockup's clamp(54px,8vw,104px), which read as a hole
   under the taller 132px header this build ended up with. */
.page-head{padding:clamp(28px,3.5vw,44px) 0;border-bottom:1px solid var(--wp--preset--color--grey-line);}
.page-head .eyebrow{display:block;margin-bottom:18px;}
.page-head h1{font-size:clamp(44px,7vw,92px);max-width:16ch;}
.page-head .intro{margin-top:26px;max-width:60ch;}

/* ============================================================ ABOUT SNIPPET ===== */
.about{padding:var(--wp--custom--section) 0;}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,6vw,80px);align-items:start;}
.about h2{max-width:11ch;}
.about-body .lead{margin-top:0;}
.about-body .tlink{margin-top:24px;}

/* ============================================================ SERVICES (cards) ===== */
.services{background:var(--wp--preset--color--surface);padding:var(--wp--custom--section) 0;}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:clamp(32px,4vw,52px);}
.sec-head .eyebrow{margin-bottom:14px;display:block;}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--wp--preset--color--grey-line);border:1px solid var(--wp--preset--color--grey-line);}
.card{background:var(--wp--preset--color--white);padding:38px 30px 34px;display:flex;flex-direction:column;gap:16px;transition:background .18s;}
.card:hover{background:#fbfbfb;}
.card .ic{width:50px;height:50px;}
.card:hover .ic{color:var(--wp--preset--color--primary);}
.card h3{margin-top:4px;}
.card p{color:var(--wp--preset--color--grey);font-size:16px;line-height:1.55;}
.card .num{font-family:var(--wp--preset--font-family--barlow-condensed);font-size:14px;color:var(--wp--preset--color--primary);letter-spacing:.1em;}

/* ============================================================ SERVICES PAGE (list rows) ===== */
.svc-list{padding:var(--wp--custom--section) 0;}
.svc-item{display:grid;grid-template-columns:88px 1fr;gap:clamp(20px,3vw,40px);padding:clamp(30px,4vw,44px) 0;border-top:1px solid var(--wp--preset--color--grey-line);align-items:start;}
.svc-item:last-child{border-bottom:1px solid var(--wp--preset--color--grey-line);}
.svc-item.has-aside{grid-template-columns:88px 1fr auto;}
.svc-aside{width:clamp(84px,9vw,118px);height:auto;align-self:center;justify-self:end;}
.svc-item .ic{width:60px;height:60px;color:var(--wp--preset--color--black);}
.svc-item:hover .ic{color:var(--wp--preset--color--primary);}
.svc-item .n{font-family:var(--wp--preset--font-family--barlow-condensed);font-weight:700;font-size:20px;color:var(--wp--preset--color--primary);letter-spacing:.08em;margin-top:4px;}
.svc-item h3{font-size:clamp(24px,2.6vw,32px);margin-bottom:12px;}
.svc-item .body{color:#555;max-width:64ch;font-size:16.5px;}
.svc-item .pill{display:inline-block;margin-top:14px;font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--wp--preset--color--primary);border:1px solid var(--wp--preset--color--primary);padding:6px 12px;}

/* pricing placeholder banner */
.pricing{background:var(--wp--preset--color--black);color:#fff;}
.pricing .container{padding:clamp(48px,7vw,84px) var(--wp--custom--gutter);display:grid;grid-template-columns:1.3fr 1fr;gap:clamp(28px,5vw,56px);align-items:center;}
.pricing .eyebrow{color:rgba(255,255,255,.8);display:block;margin-bottom:16px;}
.pricing h2{color:#fff;}
.pricing p{color:rgba(255,255,255,.82);margin-top:16px;max-width:46ch;}
.pricing .act{display:flex;justify-content:flex-end;}
.soon-tag{display:inline-flex;align-items:center;gap:10px;font-family:var(--wp--preset--font-family--barlow-condensed);text-transform:uppercase;font-weight:700;font-size:clamp(20px,2.4vw,30px);color:var(--wp--preset--color--primary);border:2px solid var(--wp--preset--color--primary);padding:14px 22px;letter-spacing:.04em;}

/* full-width CTA band */
.cta-band{background:var(--wp--preset--color--primary);color:#fff;}
.cta-band .container{padding:clamp(32px,4vw,56px) var(--wp--custom--gutter);display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap;}
.cta-band h2{color:#fff;}
.cta-band p{color:rgba(255,255,255,.9);margin-top:10px;}
.cta-band .eyebrow{color:rgba(255,255,255,.85);}
/* light variant, so two CTA bands can sit together without stacking two blues */
.cta-band.light{background:var(--wp--preset--color--surface);color:var(--wp--preset--color--ink);}
.cta-band.light h2{color:var(--wp--preset--color--ink);}
.cta-band.light p{color:#555;}
.cta-band.light .eyebrow{color:var(--wp--preset--color--grey);}

/* ============================================================ TRUST (ACT) ===== */
.trust{padding:clamp(32px,4vw,56px) 0;border-bottom:1px solid var(--wp--preset--color--grey-line);}
.trust-grid{display:grid;grid-template-columns:auto 1fr;gap:clamp(32px,6vw,72px);align-items:center;}
.act-badge{margin:0;line-height:0;}
.act-badge img{display:block;width:175px;height:auto;aspect-ratio:250/186;}
.trust-copy .eyebrow{display:block;margin-bottom:14px;}
.trust-copy p{font-size:clamp(19px,2vw,26px);font-family:var(--wp--preset--font-family--barlow-condensed);font-weight:600;text-transform:none;line-height:1.25;letter-spacing:0;max-width:24ch;}

/* ============================================================ BOOK widget ===== */
.book{background:var(--wp--preset--color--primary);color:var(--wp--preset--color--white);padding:var(--wp--custom--section) 0;}
.book.light{background:var(--wp--preset--color--surface);color:var(--wp--preset--color--ink);}
.book .eyebrow{color:rgba(255,255,255,.85);}
.book.light .eyebrow{color:var(--wp--preset--color--grey);}
.book h2{color:var(--wp--preset--color--white);}
.book.light h2{color:var(--wp--preset--color--ink);}
.book-top{max-width:640px;margin-bottom:40px;}
.book-top p{color:rgba(255,255,255,.92);margin-top:16px;font-size:19px;}
.book.light .book-top p{color:#555;}
.widget{background:var(--wp--preset--color--white);color:var(--wp--preset--color--ink);border:1px solid rgba(0,0,0,.08);}
.widget-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 26px;border-bottom:1px solid var(--wp--preset--color--grey-line);flex-wrap:wrap;}
.widget-head .wt{font-family:var(--wp--preset--font-family--barlow-condensed);font-weight:700;text-transform:uppercase;font-size:22px;letter-spacing:.02em;}
.widget-head .tag{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--wp--preset--color--grey);font-weight:600;border:1px solid var(--wp--preset--color--grey-line);padding:6px 10px;}
.widget-body{display:grid;grid-template-columns:1.1fr 1fr;gap:0;}
.wcol{padding:26px;}
.wcol + .wcol{border-left:1px solid var(--wp--preset--color--grey-line);}
.wlabel{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--wp--preset--color--grey);font-weight:600;margin-bottom:14px;}
.svc-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border:1px solid var(--wp--preset--color--grey-line);margin-bottom:10px;cursor:pointer;transition:.15s;}
.svc-row:hover{border-color:var(--wp--preset--color--primary);}
.svc-row.sel{border-color:var(--wp--preset--color--primary);background:#f2fafe;}
.svc-row .nm{font-weight:600;font-size:16px;}
.svc-row .dur{font-size:16px;color:var(--wp--preset--color--grey);}
.svc-row .dot{width:16px;height:16px;border:2px solid var(--wp--preset--color--grey-line);border-radius:50%;flex:none;}
.svc-row.sel .dot{border-color:var(--wp--preset--color--primary);background:var(--wp--preset--color--primary);box-shadow:inset 0 0 0 3px #fff;}
.daygrid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:18px;}
.day{border:1px solid var(--wp--preset--color--grey-line);text-align:center;padding:10px 0;cursor:pointer;transition:.15s;}
.day .dn{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--wp--preset--color--grey);}
.day .dd{font-family:var(--wp--preset--font-family--barlow-condensed);font-weight:700;font-size:22px;}
.day:hover{border-color:var(--wp--preset--color--primary);}
.day.sel{background:var(--wp--preset--color--black);color:#fff;border-color:var(--wp--preset--color--black);}
.day.sel .dn{color:rgba(255,255,255,.7);}
.slots{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;}
.slot{border:1px solid var(--wp--preset--color--grey-line);text-align:center;padding:11px 0;font-weight:600;font-size:16px;cursor:pointer;transition:.15s;}
.slot:hover{border-color:var(--wp--preset--color--primary);color:var(--wp--preset--color--primary);}
.slot.sel{background:var(--wp--preset--color--primary);color:#fff;border-color:var(--wp--preset--color--primary);}
.widget-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 26px;border-top:1px solid var(--wp--preset--color--grey-line);flex-wrap:wrap;}
.widget-foot .summary{font-size:16px;color:var(--wp--preset--color--grey);}
.widget-foot .summary b{color:var(--wp--preset--color--ink);}
.shortcode-note{font-size:16px;color:rgba(255,255,255,.8);margin-top:18px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.book.light .shortcode-note{color:var(--wp--preset--color--grey);}
.shortcode-note code{background:rgba(0,0,0,.18);padding:3px 8px;font-family:ui-monospace,Menlo,monospace;font-size:16px;}
.book.light .shortcode-note code{background:#e7e7e7;color:var(--wp--preset--color--ink);}
.book-fallback{margin-top:26px;}
.book-fallback a{color:#fff;font-weight:600;border-bottom:2px solid rgba(255,255,255,.5);padding-bottom:2px;}
.book.light .book-fallback a{color:var(--wp--preset--color--primary);border-color:rgba(31,167,224,.5);}
.book-fallback a:hover{border-color:#fff;}

/* ============================================================ VALUES (about) ===== */
.values{background:var(--wp--preset--color--surface);padding:var(--wp--custom--section) 0;}
.values .sec-head{margin-bottom:clamp(28px,4vw,44px);}
.values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--wp--preset--color--grey-line);border:1px solid var(--wp--preset--color--grey-line);}
.value{background:var(--wp--preset--color--white);padding:40px 32px;display:flex;flex-direction:column;gap:14px;}
.value .ic{width:46px;height:46px;color:var(--wp--preset--color--primary);}
.value h3{font-size:24px;}
.value p{color:#555;font-size:16px;}

/* story (about) */
.story{padding:var(--wp--custom--section) 0;}
.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(36px,6vw,80px);align-items:center;}
.story h2{margin-bottom:26px;max-width:14ch;}
.story p{color:#444;}
.story-photo{aspect-ratio:4/3;background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--grey-line);overflow:hidden;}
/* .story-photo is a core image block (a figure), so the client can replace the
   photo in the editor. The longer selector beats core's `.wp-block-image img`
   height:auto, which would otherwise undo the 4:3 crop. */
.story-photo{margin:0;}
.story-photo image-slot,.wp-block-image.story-photo img{display:block;width:100%;height:100%;object-fit:cover;}

/* ============================================================ CONTACT ===== */
.contact{padding:var(--wp--custom--section) 0;}
.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(32px,5vw,64px);align-items:stretch;}
.contact-details .eyebrow{display:block;margin-bottom:18px;}
.contact-details h2{margin-bottom:30px;}
.dl{display:flex;flex-direction:column;gap:0;margin-top:8px;}
.dl-row{display:grid;grid-template-columns:120px 1fr;gap:18px;align-items:baseline;padding:22px 0;border-bottom:1px solid var(--wp--preset--color--grey-line);}
.dl-row:first-child{padding-top:0;}
.dl-row:last-child{border-bottom:0;}
.dl-row dt,.dl-row .dt{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--wp--preset--color--grey);font-weight:600;}
.dl-row dd,.dl-row .dd{margin:0;font-size:17px;font-weight:500;}
.dl-row dd a:hover,.dl-row .dd a:hover{color:var(--wp--preset--color--primary);}
.map-wrap{position:relative;background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--grey-line);min-height:340px;overflow:hidden;}
.map-wrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0;filter:grayscale(.25) contrast(1.02);}

/* contact form */
.form{display:grid;gap:20px;}
.form .row{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
/* Contact Form 7 wraps each field in a paragraph, so the global `p + p` top
   margin pushed Email below Name and widened the gap above Message. The grid
   gap is the only spacing the form needs. */
.form p + p{margin-top:0;}
/* It also adds line breaks around each label, which sat in the field's flex
   column as empty rows and opened a gap between label and input. */
.form .field br{display:none;}
.field{display:flex;flex-direction:column;gap:8px;}
.field label{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--wp--preset--color--grey);font-weight:600;}
.field label .req{color:var(--wp--preset--color--primary);}
.field input,.field textarea{font-family:var(--wp--preset--font-family--inter);font-size:16px;padding:14px 16px;border:1px solid #d0d0d0;background:var(--wp--preset--color--white);color:var(--wp--preset--color--ink);transition:border-color .15s;}
/* Contact Form 7 puts a size attribute on its inputs, which gives them an
   intrinsic width wider than a phone screen and made the Contact page scroll
   sideways. The mockup's plain inputs had no such width. */
.form input,.form textarea,.form select,.form .wpcf7-form-control{width:100%;min-width:0;max-width:100%;}
.form .wpcf7-form-control-wrap{display:block;}
/* CF7 wraps the submit in its own span and appends a spinner. */
.form .wpcf7-submit{width:auto;}
.form .wpcf7-spinner{margin-left:12px;}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--wp--preset--color--primary);}
.field textarea{resize:vertical;min-height:140px;}
.form-note{font-size:16px;color:var(--wp--preset--color--grey);}
.form-msg{padding:16px 20px;font-size:16px;font-weight:500;display:none;}
.form-msg.ok{display:block;background:#f2fafe;border-left:4px solid var(--wp--preset--color--primary);color:#0e5e80;}
.form-msg.err{display:block;background:#fdeeee;border-left:4px solid #d64545;color:#9a2b2b;}

/* ============================================================ FOOTER ===== */
.site-footer{background:var(--wp--preset--color--black);color:#cfcfcf;}
.footer-main{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:clamp(32px,5vw,64px);padding:clamp(56px,7vw,84px) 0 48px;}
.footer-brand img{height:72px;width:auto;margin-bottom:22px;}
.footer-brand p{color:#9a9a9a;max-width:34ch;font-size:16px;}
.footer-social{display:flex;gap:12px;margin-top:24px;}
.footer-social a{width:42px;height:42px;border:1px solid #333;display:flex;align-items:center;justify-content:center;color:#cfcfcf;transition:.15s;}
.footer-social a:hover{background:var(--wp--preset--color--primary);border-color:var(--wp--preset--color--primary);color:#fff;}
.footer-social svg{width:18px;height:18px;}
.fcol h4{font-family:var(--wp--preset--font-family--barlow-condensed);text-transform:uppercase;font-size:15px;letter-spacing:.12em;color:#fff;margin:0 0 18px;font-weight:600;}
.fcol ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;}
.fcol a{color:#bdbdbd;font-size:16px;}
.fcol a:hover{color:#fff;}
.fcol address{font-style:normal;color:#9a9a9a;font-size:16px;line-height:1.7;}
/* The Visit column's details come from synced patterns, so they arrive as
   separate blocks rather than one address element. */
.fvisit address{font-style:normal;color:#9a9a9a;font-size:16px;line-height:1.7;margin:0;}
.fvisit p{color:#9a9a9a;font-size:16px;margin:0;}
.fvisit p.phone{margin-top:1em;}
.fvisit p.address{line-height:1.7;}
.fvisit a{color:#bdbdbd;}
.fvisit a:hover{color:#fff;}
.footer-bottom{border-top:1px solid #262626;}
.footer-bottom .container{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding-top:24px;padding-bottom:24px;}
.footer-bottom p{font-size:16px;color:#7d7d7d;}
.footer-legal{display:flex;gap:24px;}
.footer-legal a{font-size:16px;color:#9a9a9a;}
.footer-legal a:hover{color:#fff;}

/* ============================================================ RESPONSIVE ===== */
@media (max-width:980px){
  .site-header{--cw-logo:76px;--cw-header:108px;}
  .site-header.is-scrolled{--cw-logo:60px;--cw-header:92px;}
  .header-inner{gap:24px;}
  .hero-grid{grid-template-columns:1fr;min-height:0;}
  .hero-copy{order:1;max-width:none;padding-bottom:48px;}
  .hero-copy-inner{margin-left:0;max-width:none;}
  .hero-media{order:2;min-height:360px;}
  .hero.v-photo-left .hero-media{order:2;}
  .hero.v-photo-left .hero-copy{order:1;}
  .hero-stripe{height:14px;width:100%;bottom:auto;}
  .hero.v-photo-left .hero-stripe{right:auto;left:0;}
  .about-grid,.story-grid{grid-template-columns:1fr;gap:18px;}
  .story-grid{gap:36px;}
  .cards{grid-template-columns:repeat(2,1fr);}
  .values-grid{grid-template-columns:1fr;}
  .widget-body{grid-template-columns:1fr;}
  .wcol + .wcol{border-left:0;border-top:1px solid var(--wp--preset--color--grey-line);}
  .contact-grid{grid-template-columns:1fr;}
  .footer-main{grid-template-columns:1fr 1fr;}
  .trust-grid{grid-template-columns:1fr;}
  .pricing .container{grid-template-columns:1fr;}
  .pricing .act{justify-content:flex-start;}
}
/* The horizontal nav, phone number, Book button and a 235px-wide logo need
   about 1030px of row. Core Navigation hard-codes its overlay breakpoint at
   600px, so between 600px and 1200px the full nav stayed on screen in a row it
   did not fit, and the page scrolled sideways — it did so at the old 42px logo
   too. These two rules hand that band to core's own burger overlay. */
@media (max-width:1199px){
  .nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){display:none;}
  .nav .wp-block-navigation__responsive-container-open:not(.always-shown){display:flex;}
}
@media (max-width:680px){
  .site-header{--cw-logo:60px;--cw-header:92px;}
  .header-inner{gap:12px;}
  .site-header.is-scrolled{--cw-logo:48px;--cw-header:80px;}
  .svc-item.has-aside{grid-template-columns:1fr;}
  .svc-aside{justify-self:start;width:84px;margin-top:4px;}
  .phone{display:none;}
  .menu-btn{display:block;}
  .cards{grid-template-columns:1fr;}
  .footer-main{grid-template-columns:1fr;}
  .dl-row{grid-template-columns:1fr;gap:6px;}
  .sec-head{align-items:flex-start;}
  .form .row{grid-template-columns:1fr;}
  .svc-item{grid-template-columns:1fr;gap:14px;}
  .svc-item .ic{width:52px;height:52px;}
}

/* ============================================================ CORE BLOCKS ===== */
/* Patterns are built from core blocks, so the layout classes need to behave
   like the mockup's plain elements. */
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

.wp-block-group.container { max-width: var(--wp--custom--maxw); }
/* Components like .page-head and .svc-list set `padding: X 0`, which wiped out
   the container's side padding whenever both classes sit on one element. That
   left page text touching the screen edge on phones, and 64px out of line with
   the header logo on desktop. This puts the gutter back. */
.wp-block-group.container { padding-inline: var(--wp--custom--gutter); }
.wp-site-blocks > * { margin-block: 0; }
/* Core's flow layout gives every block after the first a 24px top margin. The
   sections stack flush and the grids set their own gap, so that margin only
   shows up as a white strip between bands and a column that sits 24px low. */
.entry-content > section,
.entry-content > .wp-block-group,
.entry-content > .geo-strip,
.wp-block-group.hero-media > *,
.wp-block-group.hero-grid > *,
.wp-block-group.about-grid > *,
.wp-block-group.story-grid > *,
.wp-block-group.trust-grid > *,
.wp-block-group.contact-grid > * { margin-block-start: 0; }
/* An empty paragraph left at the end of a page in the editor still takes the
   24px flow margin, which shows as a white strip above the footer. */
.entry-content > p:empty { display: none; }

/* Core adds its own button wrapper markup inside .btn elements. */
.btn > .wp-block-button__link,
.wp-block-button.btn > .wp-block-button__link {
	all: unset;
	display: inline-flex;
	align-items: center;
	gap: .6em;
	cursor: pointer;
}

/* Body-copy links stay recognisable. Chrome links inherit their colour from
   the component rules above, which is why `a` is not coloured globally. */
.wp-block-post-content p > a:not([class]),
.wp-block-post-content li > a:not([class]) {
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ============================================================ EDITABLE BLOCKS ===== */
/* These components used to be Custom HTML blocks. They are core blocks now so
   the client can edit them, and the rules below make core's markup render the
   same as the original hand-written markup did. */

/* Hero photo: a core image block. The blue stripe is drawn here rather than
   being an element in the content. */
.hero-media::before{content:"";position:absolute;top:0;bottom:0;left:0;width:14px;background:var(--wp--preset--color--primary);z-index:2;}
.hero.v-photo-left .hero-media::before{left:auto;right:0;}
.hero-media .wp-block-image{margin:0;position:static;}
.hero-media .wp-block-image img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;}
@media (max-width:980px){
  .hero-media::before{height:14px;width:100%;bottom:auto;}
  .hero.v-photo-left .hero-media::before{right:auto;left:0;}
}

/* Icons: a class on the block (ic-cog, ic-tools, ...) picks the icon, and it is
   painted with a mask so it can still change colour on hover. To change an
   icon, edit the block's "Additional CSS class(es)" under Advanced. */
.ic-cog{--cw-ic:url(../icons/i-cog.svg?v=2);}
.ic-tools{--cw-ic:url(../icons/i-tools.svg?v=2);}
.ic-wheel{--cw-ic:url(../icons/i-wheel.svg?v=2);}
.ic-fit{--cw-ic:url(../icons/i-fit.svg?v=2);}
.ic-tyre{--cw-ic:url(../icons/i-tyre.svg?v=3);}
.ic-chain{--cw-ic:url(../icons/i-chain.svg?v=2);}
.ic-van{--cw-ic:url(../icons/i-van.svg?v=2);}
.ic-check{--cw-ic:url(../icons/i-check.svg?v=2);}
.ic-star{--cw-ic:url(../icons/i-star.svg?v=2);}
.ic-clock{--cw-ic:url(../icons/i-clock.svg?v=2);}
.card[class*="ic-"]::before,.svc-item[class*="ic-"]::before,.value[class*="ic-"]::before{content:"";display:block;flex:none;background:currentColor;-webkit-mask:var(--cw-ic) center/contain no-repeat;mask:var(--cw-ic) center/contain no-repeat;color:var(--wp--preset--color--black);}
.card::before{width:50px;height:50px;}
.card:hover::before{color:var(--wp--preset--color--primary);}
.svc-item::before{width:60px;height:60px;}
.svc-item:hover::before{color:var(--wp--preset--color--primary);}
.value[class*="ic-"]::before{width:46px;height:46px;color:var(--wp--preset--color--primary);}
@media (max-width:680px){
  .svc-item::before{width:52px;height:52px;}
}

/* Core's flow layout adds a 24px top margin to every block after the first.
   These containers are grids or flex columns with their own gap. */
.wp-block-group.cards > *,
.wp-block-group.values-grid > *,
.wp-block-group.svc-list > *,
.wp-block-group.svc-item > *,
.wp-block-group.dl > *,
.wp-block-group.dl-row > *,
.wp-block-group.dd > * { margin-block-start: 0; }
.card > p,.value > p,.value h3,.svc-item h3,.svc-item .body{margin-top:0;}
.card .num{line-height:inherit;}

/* Services list: the aside is a core image block. */
.wp-block-image.svc-aside{margin:0;}
.svc-aside img{display:block;width:100%;height:auto;}

/* Arrow links are a paragraph holding a link, so the link carries the layout. */
.tlink a{display:inline-flex;align-items:center;gap:.5em;color:inherit;}
.wp-block-post-content p.tlink > a{color:inherit;text-decoration:none;}

/* Synced address pattern is a paragraph rather than an address element. */
.address{font-style:normal;}
