/*
Theme Name: Squad Workshop
Description: Native WordPress theme for Squad's managed workshop website.
Version: 1.9.2
Requires at least: 7.0
Requires PHP: 8.3
Author: Squad Workshop
*/
:root { --squad-blue: #15395c; --squad-yellow: #f4cf52; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: #183247; background: #fffefa; }
.squad-header { background: #fffefa; border-bottom: 1px solid #dde4e7; position: relative; z-index: 10; }
.squad-header .shell { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.squad-logo { width: 115px; height: 72px; object-fit: contain; }
.squad-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-left: auto; }
.squad-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; text-decoration: none; }
.squad-nav ul { display: flex; flex-wrap: wrap; list-style: none; gap: 20px; margin: 0; padding: 0; }
.squad-footer { background: #15395c; color: white; padding: 45px 0; }
.squad-footer a { color: white; }
.squad-footer p { max-width: 700px; }
.squad-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.squad-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.squad-detail { max-width: 860px; margin: auto; padding: 60px 24px; }
.squad-detail h1 { margin-top: 0; }
.squad-detail h2 { margin-top: 44px; }
.squad-detail p, .squad-detail li { line-height: 1.75; }
.squad-detail figure img { max-width: 100%; height: auto; border-radius: 20px; }
.wp-block-group.section { margin: 0; }
.wp-block-group h2 { margin-bottom: 16px; }
.wp-block-buttons { margin: 18px 0; }
.wp-block-button__link, form button { display: inline-block; background: #15395c; color: white; border: 0; border-radius: 8px; padding: 14px 22px; font-size: 16px; font-weight: 700; cursor: pointer; text-decoration: none; }
.wp-block-details,.squad-symptoms details { padding: 18px 0; border-bottom: 1px solid #ccd8df; }
summary { cursor: pointer; font-weight: 700; min-height: 44px; }
.squad-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin: 25px 0; }
.squad-card { background: white; border: 1px solid #dbe3e8; border-radius: 18px; padding: 22px; }
.squad-card h3 { font-size: 21px; margin: 16px 0 10px; }
.squad-card p { line-height: 1.65; }
.squad-card a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.squad-brand-logo { width: 100%; height: 120px; object-fit: contain; }
.squad-card-photo { width: 100%; height: 190px; object-fit: cover; border-radius: 10px; }
[hidden] { display: none !important; }
.squad-directory>label { display: block; max-width: 520px; font-weight: 700; }
form label { display: block; font-weight: 700; }
input:not([type=checkbox]),select,textarea { width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid #aabecb; border-radius: 8px; font: inherit; color: #183247; background: white; margin-top: 8px; min-height: 46px; }
textarea { min-height: 110px; }
.squad-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; margin: 25px 0; }
.squad-consent { margin: 22px 0; font-weight: 400; }
.squad-consent input { width: 20px; height: 20px; vertical-align: middle; margin-right: 8px; }
.squad-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.squad-motion { min-width: 0; }
.squad-motion-poster { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; padding: 35px; border: 1px solid #b8c9d3; border-radius: 20px; background: #edf2f5; }
.squad-motion-poster>div { border-top: 3px solid #15395c; padding-top: 16px; min-height: 90px; }
.squad-motion-poster span { display: block; color: #436178; font-size: 13px; margin-bottom: 12px; }
.squad-motion-poster strong { font-size: 19px; }
.home-hero__content { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 35px; }
.home-hero__copy h1 { font-size: clamp(38px,5vw,66px); line-height: 1.08; }
.home-hero__copy>p { font-size: 19px; line-height: 1.65; }
.home-hero { padding: 65px 0; }
.squad-skip { position: absolute; left: -9999px; }
.squad-skip:focus { left: 12px; top: 12px; z-index: 100; background: white; padding: 15px; }
:focus-visible { outline: 3px solid #1c76bc; outline-offset: 4px; }
@media(max-width:850px) { .squad-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .squad-header .shell { flex-wrap: wrap; gap: 12px; } .squad-nav { margin-left: 0; } .home-hero__content { grid-template-columns: 1fr; } }
@media(max-width:540px) { .squad-grid,.squad-form-grid { grid-template-columns: 1fr; } .squad-nav,.squad-nav ul { gap: 14px; } .squad-nav a { font-size: 13px; } .home-hero { padding: 35px 0; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior: auto !important; } }

/* WordPress presentation layer: calm editorial hierarchy with stronger wide-screen balance. */
body { color: #17324a; background: #fbfaf5; }
.squad-header { position: sticky; top: 0; z-index: 50; border: 0; background: rgba(251,250,245,.96); box-shadow: 0 1px 0 rgba(23,50,74,.12); backdrop-filter: blur(18px); }
.squad-utility { color: #eef6ff; background: #102f56; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.squad-utility .shell { min-height: 34px; display: flex; align-items: center; justify-content: space-between; padding-block: 0; }
.squad-utility a { color: white; text-decoration: none; }
.squad-header .squad-header__main { min-height: 86px; padding-block: 8px; }
.squad-brand { display: inline-flex; flex: 0 0 auto; }
.squad-logo { width: 98px; height: 64px; }
.squad-nav { gap: clamp(12px,1.5vw,22px); }
.squad-nav a { position: relative; color: #17324a; font-size: 13px; }
.squad-nav a:hover { color: #245aa6; }
.squad-nav a:last-child { min-height: 46px; padding: 0 18px; border-radius: 999px; color: white; background: #245aa6; }
.home-hero { padding: 0; }
.home-hero .home-hero__content { display: block; min-height: min(720px,calc(100vh - 120px)); padding-block: clamp(58px,7vw,92px); }
.home-hero .home-hero__content > .wp-block-group__inner-container { display: grid; grid-template-columns: minmax(0,.9fr) minmax(460px,1.1fr); align-items: center; gap: clamp(38px,5vw,82px); }
.home-hero__copy { max-width: 620px; }
.home-hero__copy > p:first-child { width: fit-content; margin: 0 0 20px; color: #245aa6; font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.home-hero__copy h1 { margin: 0 0 26px; font-size: clamp(54px,6.2vw,92px); letter-spacing: -.065em; }
.home-hero__copy > p:not(:first-child) { max-width: 570px; color: #526a7d; font-size: clamp(17px,1.25vw,20px); }
.home-hero__copy .wp-block-buttons { display: inline-flex; flex-wrap: wrap; gap: 12px; margin-right: 8px; }
.home-hero__copy .wp-block-buttons .wp-block-button { margin: 0; }
.home-hero .home-hero__content > .wp-block-group__inner-container > .squad-motion { width: 100%; min-width: 0; align-self: center; }
.home-hero .squad-motion > [data-remotion-player] { width: 100% !important; max-height: 620px; border-radius: 30px; overflow: hidden; box-shadow: 0 30px 80px rgba(20,57,92,.16); }
.section .shell > .wp-block-group__inner-container > h2 { max-width: 920px; margin: 0 0 16px; font-size: clamp(42px,5.2vw,76px); letter-spacing: -.055em; }
.section .shell > .wp-block-group__inner-container > h2 + p { max-width: 720px; margin-bottom: 38px; color: #526a7d; font-size: 17px; line-height: 1.7; }
.page-hero__grid { display: block; }
.page-hero .page-hero__grid > .wp-block-group__inner-container { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.72fr); align-items: center; gap: clamp(34px,6vw,80px); }
.page-hero .page-hero__grid > .wp-block-group__inner-container:not(:has(> .squad-motion)) { grid-template-columns: minmax(0,1fr); max-width: 960px; }
.home-hero__copy h1 { text-transform: none; }
.home-hero__copy > .wp-block-group__inner-container > p:first-child { color: #245aa6; font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.home-hero__copy > .wp-block-group__inner-container > p:not(:first-child) { color: #526a7d; font-size: clamp(17px,1.25vw,20px); line-height: 1.7; }
.squad-grid { gap: 16px; }
.squad-card { border-color: rgba(23,50,74,.12); border-radius: 22px; padding: 24px; box-shadow: 0 12px 35px rgba(23,50,74,.045); transition: transform .2s ease,box-shadow .2s ease; }
.squad-card:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(23,50,74,.09); }
.squad-updates-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 30px 0; }
.squad-update-card { display: flex; min-height: 290px; flex-direction: column; padding: 28px; border: 1px solid rgba(23,50,74,.12); border-radius: 24px; background: white; box-shadow: 0 14px 36px rgba(23,50,74,.05); }
.squad-update-card__meta,.squad-detail__meta { margin: 0 0 24px; color: #245aa6; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.squad-update-card h3 { margin: 0 0 14px; font-size: clamp(23px,2vw,31px); line-height: 1.12; letter-spacing: -.035em; }
.squad-update-card h3 a { color: #17324a; text-decoration: none; }
.squad-update-card > p:not(.squad-update-card__meta) { color: #526a7d; line-height: 1.65; }
.squad-update-card__links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: auto; padding-top: 22px; }
.squad-update-card__links a { min-height: 44px; display: inline-flex; align-items: center; color: #245aa6; font-weight: 800; }
.squad-detail { max-width: 900px; padding-block: clamp(64px,8vw,110px); }
.squad-detail h1 { max-width: 850px; font-size: clamp(46px,6.5vw,82px); letter-spacing: -.06em; }
.squad-detail__lede { color: #526a7d; font-size: clamp(19px,2vw,24px); line-height: 1.55 !important; }
.squad-social-follow { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 48px; padding: 24px; border-radius: 18px; background: #eaf3ff; }
.squad-social-follow strong { width: 100%; }
.squad-footer { padding: 72px 0 24px; background: #102f56; }
.squad-footer__grid { display: grid; grid-template-columns: 1.25fr .7fr .9fr .9fr; gap: clamp(28px,4vw,64px); }
.squad-footer h2 { margin: 0 0 20px; color: white; font-size: clamp(36px,4vw,54px); }
.squad-footer p,.squad-footer address { color: rgba(255,255,255,.76); line-height: 1.7; font-style: normal; }
.squad-footer__label { color: #ffe184 !important; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.squad-footer nav { flex-direction: column; align-items: flex-start; gap: 2px; }
.squad-footer__cta { display: inline-flex; min-height: 48px; align-items: center; margin-top: 14px; color: #102f56 !important; padding: 0 18px; border-radius: 999px; background: #f4cf52; font-weight: 800; text-decoration: none; }
.squad-footer__bottom { display: flex; justify-content: space-between; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.62); font-size: 13px; }
@media(max-width:1100px) { .squad-nav { gap: 10px; } .squad-nav a { font-size: 12px; } .home-hero .home-hero__content > .wp-block-group__inner-container { grid-template-columns: 1fr 1fr; } .squad-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; } .squad-footer__grid>div:last-child { grid-column: 2/4; } }
@media(max-width:850px) { .squad-header { position: relative; } .squad-utility span { display: none; } .squad-utility .shell { justify-content: flex-end; } .squad-header .squad-header__main { min-height: auto; } .squad-nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; } .squad-nav a { white-space: nowrap; } .home-hero .home-hero__content { min-height: auto; } .home-hero .home-hero__content > .wp-block-group__inner-container,.page-hero .page-hero__grid > .wp-block-group__inner-container { grid-template-columns: 1fr; } .home-hero .home-hero__content > .wp-block-group__inner-container > .squad-motion { max-width: 650px; } .squad-updates-grid { grid-template-columns: 1fr; } .squad-update-card { min-height: 0; } .squad-footer__grid { grid-template-columns: 1fr 1fr; } .squad-footer__grid>div:last-child { grid-column: auto; } }
@media(max-width:540px) { .squad-utility { display: none; } .squad-logo { width: 82px; height: 54px; } .home-hero .home-hero__content { padding-block: 42px 58px; } .home-hero__copy h1 { font-size: clamp(46px,15vw,66px); } .section .shell > .wp-block-group__inner-container > h2 { font-size: 40px; } .squad-footer__grid { grid-template-columns: 1fr; } .squad-footer__bottom { gap: 16px; flex-direction: column; } }

/* Readability overrides for WordPress content and inherited interactive styles. */
main { color: #17324a; }
main p, main li, main label, main summary { color: #17324a; }
main a:not(.wp-block-button__link):not(.button) { color: #174f8b; }
main input::placeholder,main textarea::placeholder { color: #526575; opacity: 1; }
.squad-footer p,.squad-footer address,.squad-footer__bottom { color: #e2ebf4; }
.squad-motion .hero-motion__player *, .squad-motion .brand-atelier__player *, .squad-motion .booking-journey__player * { color: inherit; }
.squad-detail { max-width: 820px; overflow-wrap: anywhere; }
.squad-detail h1 { font-size: clamp(36px,5.3vw,66px); line-height: 1.1; }
.squad-detail h2 { font-size: clamp(27px,3.2vw,38px); line-height: 1.2; letter-spacing: -.025em; }
.squad-detail h3 { font-size: 24px; line-height: 1.3; }
.squad-detail p,.squad-detail li { font-size: 18px; line-height: 1.75; }
.squad-detail a { text-decoration: underline; text-underline-offset: .18em; }
.squad-detail p,.squad-detail li,.squad-detail a,.squad-detail h1 { overflow-wrap: anywhere; }
.squad-pagination { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.squad-pagination .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid #aabecb; border-radius: 8px; }
.squad-pagination .current { color: #fff; background: #15395c; }
.squad-detail figure { margin: 28px 0; }
.squad-detail figure img { display: block; width: auto; max-width: 100%; height: auto; margin-inline: auto; object-fit: contain; }
.squad-detail table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.squad-detail td,.squad-detail th { padding: 12px; border: 1px solid #bccbd6; text-align: left; }
@media(max-width:540px) { .squad-detail { padding: 42px 18px; } .squad-detail p,.squad-detail li { font-size: 17px; } .squad-nav { flex-wrap: wrap; overflow: visible; } }

/* Motion layer (1.3.0): entrances, reveals and micro-interactions. Everything
   here sits behind prefers-reduced-motion, and the page reads the same with
   JavaScript off: reveal.js adds .squad-reveal-on before anything is hidden. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes squadRise { from { opacity: 0; transform: translateY(18px); } }
  .home-hero__copy > .wp-block-group__inner-container > * { animation: squadRise .65s cubic-bezier(.16,1,.3,1) backwards; }
  .home-hero__copy > .wp-block-group__inner-container > *:nth-child(2) { animation-delay: .07s; }
  .home-hero__copy > .wp-block-group__inner-container > *:nth-child(3) { animation-delay: .14s; }
  .home-hero__copy > .wp-block-group__inner-container > *:nth-child(n+4) { animation-delay: .21s; }
  .home-hero .squad-motion { animation: squadRise .8s .22s cubic-bezier(.16,1,.3,1) backwards; }
  html.squad-reveal-on .rv { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .6s cubic-bezier(.16,1,.3,1); transition-delay: var(--rv-delay, 0ms); }
  html.squad-reveal-on .rv.rv-in { opacity: 1; transform: none; }
  .squad-nav a:not(:last-child)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 6px; height: 2px; background: #245aa6; transition: right .22s ease; }
  .squad-nav a:not(:last-child):hover::after, .squad-nav a:not(:last-child):focus-visible::after { right: 0; }
  .squad-nav a:last-child { transition: transform .15s ease, box-shadow .2s ease; }
  .squad-nav a:last-child:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(36,90,166,.3); }
  .wp-block-button__link, .squad-footer__cta, form button { transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
  .wp-block-button__link:hover, .squad-footer__cta:hover, form button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(20,57,92,.18); }
  .wp-block-button__link:active, .squad-footer__cta:active, form button:active { transform: translateY(0) scale(.98); box-shadow: none; }
  .squad-update-card__links a, .squad-card a { transition: color .15s ease, letter-spacing .2s ease; }
  .squad-update-card__links a:hover, .squad-card a:hover { letter-spacing: .01em; }
  .squad-brand-logo { filter: grayscale(1); opacity: .82; transition: filter .25s ease, opacity .25s ease, transform .25s ease; }
  .squad-card:hover .squad-brand-logo { filter: none; opacity: 1; transform: scale(1.04); }
  .squad-header { transition: box-shadow .25s ease; }
  .squad-header.is-scrolled { box-shadow: 0 6px 24px rgba(23,50,74,.12); }
  input:not([type=checkbox]):focus, select:focus, textarea:focus { border-color: #245aa6; box-shadow: 0 0 0 3px rgba(36,90,166,.15); transition: border-color .15s ease, box-shadow .15s ease; }
}

/* Landing polish (1.4.0): the brand yellow earns its place on the page, and
   the hero's two actions stop competing. */
.home-hero__copy > .wp-block-group__inner-container > p:first-child::before { content: ""; display: inline-block; width: 26px; height: 4px; margin-right: 10px; border-radius: 2px; background: #f4cf52; vertical-align: middle; }
.section .shell > .wp-block-group__inner-container > h2::after { content: ""; display: block; width: 64px; height: 5px; margin-top: 16px; border-radius: 3px; background: #f4cf52; }
.squad-detail h1::after { content: ""; display: block; width: 56px; height: 5px; margin-top: 18px; border-radius: 3px; background: #f4cf52; }
.home-hero__copy .wp-block-buttons:first-of-type .wp-block-button__link { background: #f4cf52; color: #102f56; box-shadow: 0 10px 26px rgba(244,207,82,.35); }
.home-hero__copy .wp-block-buttons + .wp-block-buttons .wp-block-button__link { background: transparent; color: #17324a; border: 2px solid rgba(23,50,74,.28); box-shadow: none; }
.home-hero__copy .wp-block-buttons + .wp-block-buttons .wp-block-button__link:hover { border-color: #245aa6; color: #245aa6; }
@media (prefers-reduced-motion: no-preference) {
  /* A headlight sweep crosses the primary actions on hover. */
  .wp-block-button__link, .squad-footer__cta { position: relative; overflow: hidden; }
  .wp-block-button__link::before, .squad-footer__cta::before { content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-18deg); transition: left .5s ease; pointer-events: none; }
  .wp-block-button__link:hover::before, .squad-footer__cta:hover::before { left: 125%; }
}

/* Motion player (1.5.0): the hand-drawn Squad Motion 2 boards. Scene specs in
   docs/MOTION2.md. The server poster hides only once a player has mounted. */
.squad-motion.mo-ready .squad-motion-poster { display: none; }
.mo-player { background: #0f2440; border-radius: 22px; overflow: hidden; color: #dbe7f4; box-shadow: 0 30px 80px rgba(20,57,92,.16); font-family: inherit; }
.mo-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: #9fb6cf; border-bottom: 1px solid rgba(255,255,255,.1); }
.mo-live { width: 7px; height: 7px; border-radius: 50%; background: #4cc38a; }
.mo-pp { margin-left: auto; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.mo-pp::before { content: ""; position: absolute; inset: 9px 10px; border-left: 3px solid #dbe7f4; border-right: 3px solid #dbe7f4; }
.mo-player.paused .mo-pp::before { border: 0; border-left: 9px solid #dbe7f4; border-top: 5px solid transparent; border-bottom: 5px solid transparent; inset: 8px 8px 8px 12px; }
.mo-body { display: grid; grid-template-columns: 148px 1fr; }
.mo-rail { display: flex; flex-direction: column; gap: 2px; padding: 12px 8px; border-right: 1px solid rgba(255,255,255,.1); }
.mo-step { display: flex; align-items: center; gap: 8px; padding: 9px 8px; border: 0; border-radius: 10px; background: transparent; color: #8aa2bc; font: inherit; font-size: 12px; font-weight: 700; text-align: left; cursor: pointer; }
.mo-step .mo-n { font-family: ui-monospace, Consolas, monospace; font-size: 11px; color: #5d7791; }
.mo-step.on { background: rgba(244,207,82,.12); color: #f3f7fb; }
.mo-step.on .mo-n { color: #f4cf52; }
.mo-step .mo-done { width: 12px; height: 10px; margin-left: auto; opacity: 0; }
.mo-step .mo-done path { fill: none; stroke: #4cc38a; stroke-width: 2.4; stroke-linecap: round; }
.mo-step.done .mo-done { opacity: 1; }
.mo-scene { display: block; width: 100%; height: auto; }
.mo-scene text { font-family: inherit; font-size: 13px; }
.mo-t { fill: #e7eef6; } .mo-dim { fill: #93a9c0; font-size: 12px; }
.mo-code { fill: #f4cf52; font-family: ui-monospace, Consolas, monospace; font-size: 13px; letter-spacing: .06em; }
.mo-panel { fill: #16314f; stroke: rgba(255,255,255,.16); }
.mo-panel.mo-in { fill: #1b3a5e; }
.mo-wa { fill: #1f5c42; stroke: rgba(255,255,255,.14); }
.mo-ok { fill: #163f32; stroke: #4cc38a; }
.mo-tick { fill: none; stroke: #4cc38a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mo-bar { fill: #f4cf52; }
.mo-floor, .mo-post { fill: #1d3c5f; }
.mo-car { fill: #24466d; stroke: #6ea8ff; stroke-width: 2; stroke-linejoin: round; }
.mo-glass { fill: #10263f; stroke: #46688f; }
.mo-wheel { fill: #0b1b30; stroke: #6ea8ff; stroke-width: 2; }
.mo-hub { fill: #f4cf52; }
.mo-spark { fill: none; stroke: #f4cf52; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mo-probe .mo-core { fill: #f4cf52; }
.mo-probe .mo-ring { fill: none; stroke: #f4cf52; stroke-width: 2; }
.mo-lead { fill: none; stroke: #9fb6cf; stroke-width: 1.5; stroke-dasharray: 240; stroke-dashoffset: 240; }
.mo-dotp { fill: #f4cf52; }
.mo-chip { display: inline-block; max-width: 100%; padding: 6px 9px; border-radius: 9px; background: rgba(22,49,79,.95); border: 1px solid rgba(255,255,255,.2); color: #e7eef6; font-size: 11px; line-height: 1.35; }
.mo-scene [data-s] { opacity: 0; transition: opacity .35s ease; }
.mo-scene [data-s].on { opacity: 1; }
.mo-call.on .mo-lead { stroke-dashoffset: 0; transition: stroke-dashoffset .5s ease .1s; }
.mo-static .mo-scene [data-s], .mo-static .mo-call .mo-lead { opacity: 1; stroke-dashoffset: 0; transition: none; }
/* hero */
.hero-car { transition: transform .9s cubic-bezier(.45,0,.3,1); }
.hero-posts { transition: opacity .4s ease; opacity: 0; }
.mo-player[data-step="2"] .hero-posts, .mo-player[data-step="3"] .hero-posts { opacity: 1; }
.mo-player[data-step="2"] .hero-car, .mo-player[data-step="3"] .hero-car { transform: translateY(-26px); }
.hero-shadow { fill: rgba(0,0,0,.4); transition: transform .9s ease, opacity .9s ease; transform-origin: 240px 298px; }
.mo-player[data-step="2"] .hero-shadow, .mo-player[data-step="3"] .hero-shadow { transform: scale(.9); opacity: .5; }
.hero-beam { fill: rgba(244,207,82,0); }
.mo-player[data-step="1"] .hero-beam { animation: moBeam 2.6s ease 1; }
.hero-code .mo-code { transition: opacity .4s ease; }
.hero-code .mo-plain { opacity: 0; transition: opacity .5s ease .5s; }
.mo-player[data-step="3"] .hero-code .mo-code { opacity: 0; transition-delay: .9s; }
.mo-player[data-step="3"] .hero-code .mo-plain { opacity: 1; transition-delay: 1.1s; }
.hero-code .mo-bar { transform: scaleX(0); transform-origin: left; transition: transform .4s ease 1.4s; }
.mo-player[data-step="3"] .hero-code .mo-bar { transform: scaleX(1); }
.mo-tick { stroke-dasharray: 40; stroke-dashoffset: 40; }
.mo-player[data-step="4"] .mo-tick, .mo-static .mo-tick { animation: moDraw .45s ease .25s forwards; }
/* makes */
.mk-dot { fill: #22405f; transition: fill .45s ease; }
.mk-dot.lit { fill: #35587e; }
.mk-dot.on { fill: #f4cf52; }
.mk-car, .mk-ev { opacity: 0; transition: opacity .6s ease; }
.mk-car.on, .mk-ev.on { opacity: 1; }
/* booking */
.mo-field { fill: #10263f; stroke: rgba(255,255,255,.18); }
.mo-notch { fill: #0a1726; }
.bk-ticks { fill: none; stroke: #8fc6ff; stroke-width: 2; stroke-linecap: round; }
.bk-bay { stroke: rgba(255,255,255,.25); fill: transparent; }
.bk-bay.full { fill: #24466d; }
.bk-bay.open { stroke: #f4cf52; stroke-dasharray: 5 4; animation: moPulseS 1.6s ease infinite; }
.bk-calhead { fill: #24466d; }
.bk-day { fill: #f3f7fb; font-size: 30px; font-weight: 800; }
/* aircon */
.ac-loop { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 7; stroke-linecap: round; }
.ac-comp, .ac-cond, .ac-evap { fill: #16314f; stroke: #6ea8ff; stroke-width: 2; }
.ac-pulley { fill: none; stroke: #9fb6cf; stroke-width: 2.5; stroke-dasharray: 7 6; transform-origin: 356px 240px; animation: moSpin 2.2s linear infinite; }
.ac-belt { fill: none; stroke: #f4cf52; stroke-width: 3; }
.ac-fins { stroke: #46688f; stroke-width: 2; }
.ac-heat path { fill: none; stroke: #ff7a66; stroke-width: 2; stroke-linecap: round; animation: moRise 1.8s ease infinite; }
.ac-heat path:nth-child(2) { animation-delay: .5s; } .ac-heat path:nth-child(3) { animation-delay: 1s; }
.ac-cold path { fill: none; stroke: #8fc6ff; stroke-width: 2; stroke-linecap: round; animation: moStream 1.6s ease infinite; }
.ac-cold path:nth-child(2) { animation-delay: .4s; } .ac-cold path:nth-child(3) { animation-delay: .8s; }
.ac-valve { fill: #f4cf52; }
.ac-badge rect { fill: rgba(22,49,79,.9); stroke: rgba(255,255,255,.2); }
.ac-badge text { font-size: 11px; font-weight: 700; letter-spacing: .05em; }
.ac-high text { fill: #ffb3a6; } .ac-low text { fill: #8fc6ff; }
.ac-part { transition: opacity .4s ease; }
.mo-player[data-kind="aircon"]:not(.mo-static) .ac-part { opacity: .34; }
.mo-player[data-kind="aircon"][data-step="1"] .ac-part[data-p="1"], .mo-player[data-kind="aircon"][data-step="2"] .ac-part[data-p="2"], .mo-player[data-kind="aircon"][data-step="3"] .ac-part[data-p="3"], .mo-player[data-kind="aircon"][data-step="4"] .ac-part[data-p="4"] { opacity: 1; }
.mo-player.mo-static .ac-part { opacity: 1; }
.ac-flow circle { opacity: .9; }
@keyframes moDraw { to { stroke-dashoffset: 0; } }
@keyframes moSpin { to { transform: rotate(360deg); } }
@keyframes moBeam { 20% { fill: rgba(244,207,82,.55); } 60% { fill: rgba(244,207,82,0); } }
@keyframes moRise { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-10px); opacity: 0; } }
@keyframes moStream { 0% { transform: translateX(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(12px); opacity: 0; } }
@keyframes moPulseS { 50% { opacity: .45; } }
@keyframes moPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2); opacity: 0; } }
.mo-probe .mo-ring { transform-origin: center; transform-box: fill-box; }
.mo-probe.on .mo-ring { animation: moPulse 1.6s ease infinite; }
.mo-typing circle { fill: #9fd4bb; animation: moType 1.1s ease infinite; }
.mo-typing circle:nth-child(2) { animation-delay: .18s; } .mo-typing circle:nth-child(3) { animation-delay: .36s; }
@keyframes moType { 30% { transform: translateY(-4px); } 60% { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .mo-player * { animation: none !important; transition: none !important; } }
@media (max-width: 640px) { .mo-body { grid-template-columns: 1fr; } .mo-rail { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 10px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); } .mo-step { padding: 8px 9px; font-size: 11.5px; line-height: 1.2; } .mo-step .mo-done { display: none; } }

/* Motion 1.5.1: badge wall, four bays, hero car details */
.mk-b circle { fill: #22405f; transition: fill .45s ease; }
.mk-b rect { fill: #0f2440; transition: fill .45s ease; }
.mk-b.lit circle { fill: #33557b; }
.mk-b.on circle { fill: #f4cf52; }
.mk-b.on rect { fill: #102f56; }
.bk-carmini { fill: #35587e; }
.mo-seam { fill: none; stroke: #46688f; stroke-width: 1.6; stroke-linecap: round; }
.mo-lamp { fill: #f4cf52; }
.mo-lamp-r { fill: #ff7a66; }
.mo-grille { fill: #0b1b30; }

/* Make cards (1.5.2): the badge logo, name centred right below it */
.squad-make-logo { width: 100%; height: 92px; object-fit: contain; margin: 2px 0 4px; }
.squad-card--make { display: flex; flex-direction: column; align-items: center; text-align: center; }
.squad-card--make h3 { margin: 8px 0 6px; }
.squad-card--make a { justify-content: center; margin-top: auto; }
/* 1.5.3: a make without a logo yet gets a monogram the same height as a logo. */
.squad-make-mono { display: grid; place-items: center; width: 92px; height: 92px; margin: 2px auto 4px; border-radius: 50%; background: #edf2f5; border: 2px solid rgba(23,50,74,.12); color: #17324a; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }

/* ===== 1.6.0: one clear way to reach the workshop (10 Nov 2026) =====
   Measured on phones: the header took a fifth of the first screen, four
   buttons offered two actions, and the home page ran to 17 screens. */

/* Menu button: only once squad.js has run, only below 850 px. */
.squad-menu { display: none; }
@media (max-width: 850px) {
  .squad-js .squad-header .squad-header__main { flex-wrap: wrap; align-items: center; }
  .squad-js .squad-menu { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; min-height: 48px; padding: 0 16px; border: 1.5px solid rgba(23,50,74,.28); border-radius: 999px; background: transparent; color: #17324a; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
  .squad-menu__bars { position: relative; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
  .squad-menu__bars::before, .squad-menu__bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
  .squad-menu__bars::before { top: -6px; } .squad-menu__bars::after { top: 6px; }
  .squad-nav-open .squad-menu__bars { background: transparent; }
  .squad-nav-open .squad-menu__bars::before { top: 0; transform: rotate(45deg); }
  .squad-nav-open .squad-menu__bars::after { top: 0; transform: rotate(-45deg); }
  .squad-js .squad-nav { display: none; }
  .squad-js.squad-nav-open .squad-nav { display: flex; flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 0; width: 100%; overflow: visible; padding: 6px 0 10px; }
  .squad-js.squad-nav-open .squad-nav a { min-height: 50px; font-size: 16px; border-top: 1px solid rgba(23,50,74,.1); white-space: normal; }
  .squad-js.squad-nav-open .squad-nav a:last-child { justify-content: center; margin-top: 10px; border-top: 0; }
  .squad-js .squad-logo { width: 74px; height: 48px; }
}
.squad-menu:focus-visible, .squad-ask-inline__btn:focus-visible, .squad-footer a:focus-visible { outline: 3px solid #1769aa; outline-offset: 3px; }

/* One action in the hero. The booking button is hidden without script too,
   so nothing jumps while the page loads; the WhatsApp button always works. */
.home-hero__copy .wp-block-buttons:first-of-type, .home-hero__copy .wp-block-buttons[hidden] { display: none; }
.home-hero__copy .wp-block-buttons + .wp-block-buttons .wp-block-button__link { background: #f4cf52; color: #102f56; border: 0; box-shadow: 0 10px 26px rgba(244,207,82,.35); }
.home-hero__copy .wp-block-buttons + .wp-block-buttons .wp-block-button__link:hover { color: #102f56; }

/* The sticky bar steps back while the page's own button is on screen. */
.squad-mobile-contact { transition: transform .2s ease; }
.squad-mobile-contact.is-away, .squad-nav-open .squad-mobile-contact { transform: translateY(110%); }
@media (prefers-reduced-motion: reduce) { .squad-mobile-contact { transition: none; } }

/* Phones: real work right after the headline, then the guide, then services
   (as a compact grid), then makes and parts. Reading order in the page
   source is unchanged. */
@media (max-width: 850px) {
  .home #main { display: flex; flex-direction: column; }
  .home #main > * { order: 6; }
  .home #main > :first-child { order: 0; }
  .home #main > :nth-child(6) { order: 1; }
  .home #main > :nth-child(3) { order: 2; }
  .home #main > :nth-child(4) { order: 3; }
  .home #main > :nth-child(2) { order: 4; }
  .home #main > :nth-child(5) { order: 5; }
}
@media (max-width: 540px) {
  .home #main > :nth-child(4) .squad-directory > label, .home #main > :nth-child(4) .squad-directory > [data-count] { display: none; }
  .home #main > :nth-child(4) .squad-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
  .home #main > :nth-child(4) .squad-card { position: relative; display: flex; flex-direction: column; padding: 14px; border-radius: 16px; min-height: 104px; }
  .home #main > :nth-child(4) .squad-card h3 { margin: 0 0 8px; font-size: 15.5px; line-height: 1.25; }
  .home #main > :nth-child(4) .squad-card p { display: none; }
  .home #main > :nth-child(4) .squad-card a { margin-top: auto; min-height: 24px; font-size: 13px; }
  .home #main > :nth-child(4) .squad-card a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
}

/* A job story asks the question halfway down. */
.squad-ask-inline { margin: 28px 0; padding: 18px 20px; border-radius: 18px; background: #eef4f8; border: 1px solid rgba(23,50,74,.12); }
.squad-ask-inline p { margin: 0 0 12px; font-size: 16px !important; line-height: 1.5; }
.squad-ask-inline__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: #f4cf52; color: #102f56 !important; font-weight: 700; text-decoration: none !important; }

/* Booking on a phone: the form before the animation; extras folded. */
@media (max-width: 850px) { body:has([data-whatsapp-booking]) .page-hero .squad-motion { display: none; } }
.squad-form-more { grid-column: 1 / -1; }
.squad-form-more > summary { display: flex; align-items: center; min-height: 48px; cursor: pointer; font-weight: 700; color: #245aa6; }
.squad-form-more .squad-form-grid { margin-top: 8px; }

/* The visit animation: controls a thumb can hit, labels that can be read. */
.mo-head { font-size: 12px; }
.mo-pp { flex: none; width: 44px; height: 44px; }
.mo-pp::before { inset: 16px 17px; }
.mo-player.paused .mo-pp::before { inset: 15px 15px 15px 19px; }
.mo-step { min-height: 44px; }
.mo-step .mo-n { font-size: 12px; color: #9fb6cf; }
@media (max-width: 640px) { .mo-step { min-height: 44px; font-size: 12.5px; } }

/* Small links get a full tap area. */
.squad-footer__legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
.squad-footer address + p a, .squad-utility a { display: inline-flex; align-items: center; min-height: 44px; }
.squad-utility a { min-height: 34px; }
@media (min-width: 851px) {
  .squad-nav a:last-child { transition: opacity .2s ease, transform .15s ease, box-shadow .2s ease; }
  .squad-ask-onscreen .squad-nav a:last-child { opacity: 0; pointer-events: none; }
}
@media (max-width: 850px) {
  body:has([data-whatsapp-booking]) .page-hero .page-hero__grid { min-height: 0; padding-top: 36px; padding-bottom: 28px; }
  body:has([data-whatsapp-booking]) .page-hero + .section { padding-top: 28px; }
  body:has([data-whatsapp-booking]) .page-hero + .section h2 { font-size: 30px; }
}

/* 1.6.1: the Google rating under the home page's one button. A plain link, not a second button. */
.squad-proof { display: flex; align-items: center; gap: 8px; width: fit-content; min-height: 44px; margin-top: 14px; color: #15395c; font-size: 15px; text-decoration: underline; text-decoration-color: rgba(21,57,92,.35); text-underline-offset: 3px; }
.squad-proof svg { flex: none; color: #b7791f; }
.squad-proof:hover { text-decoration-color: currentColor; }

/* 1.7.0: shorter pages on a phone, whole cards tappable, a useful not-found page. */
/* The whole card is the tap area; the words "Explore" stay as the visible cue. */
.squad-card { position: relative; }
.squad-card > a:last-child::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.squad-404__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.squad-404__links a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 1px solid rgba(23,50,74,.25); border-radius: 999px; background: #fff; color: #15395c; font-weight: 700; text-decoration: none; }
.squad-404__links a:hover { border-color: #15395c; }
.squad-update-card h3 a { display: inline-block; padding: 6px 0; }
@media (max-width: 540px) {
  /* Parts brands: two logo tiles a row instead of one tall card each. */
  .squad-directory:has(.squad-brand-logo) .squad-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .squad-directory:has(.squad-brand-logo) .squad-card { display: flex; flex-direction: column; padding: 12px; border-radius: 16px; }
  .squad-directory:has(.squad-brand-logo) .squad-brand-logo { height: 56px; }
  .squad-directory:has(.squad-brand-logo) .squad-card h3 { margin: 8px 0 4px; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
  .squad-directory:has(.squad-brand-logo) .squad-card a { margin-top: auto; min-height: 24px; font-size: 13px; line-height: 1.3; }
  /* Home, "Work explained": six stories as two-a-row picture tiles; the list page has the full cards and the search. */
  .home .squad-directory:has(.squad-card-photo) > label, .home .squad-directory:has(.squad-card-photo) > [data-count] { display: none; }
  .home .squad-directory:has(.squad-card-photo) .squad-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
  .home .squad-directory:has(.squad-card-photo) .squad-card { display: flex; flex-direction: column; padding: 10px; border-radius: 16px; }
  .home .squad-directory:has(.squad-card-photo) .squad-card-photo { height: auto; aspect-ratio: 1; }
  .home .squad-directory:has(.squad-card-photo) .squad-card h3 { margin: 10px 0 6px; font-size: 15px; line-height: 1.25; }
  .home .squad-directory:has(.squad-card-photo) .squad-card p { display: none; }
  .home .squad-directory:has(.squad-card-photo) .squad-card a { margin-top: auto; min-height: 24px; font-size: 13px; }
}

/* 1.8.0: a way back to the list from a story, service, guide or update; the contact page's one button. */
.squad-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-bottom: 4px; color: #15395c; font-size: 15px; font-weight: 700; text-decoration: none; }
.squad-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.squad-enquiry-start p { max-width: 520px; }
.squad-enquiry-start .squad-button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 12px; background: #f4cf52; color: #15395c; font-weight: 800; text-decoration: none; }

/* 1.8.1: the two remaining long lists on a phone. "Our work" and "Cars we care for" show two tiles a row,
   as the home page and the parts page already do. The search box stays on both. */
.squad-update-card h3 a { padding: 10px 0; }
@media (max-width: 540px) {
  .squad-directory:has(.squad-card-photo) .squad-grid, .squad-directory:has(.squad-card--make) .squad-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
  .squad-directory:has(.squad-card-photo) .squad-card { display: flex; flex-direction: column; padding: 10px; border-radius: 16px; }
  .squad-directory:has(.squad-card-photo) .squad-card-photo { height: auto; aspect-ratio: 1; }
  .squad-directory:has(.squad-card-photo) .squad-card h3 { margin: 10px 0 6px; font-size: 15px; line-height: 1.25; }
  .squad-directory:has(.squad-card-photo) .squad-card p { display: none; }
  .squad-directory:has(.squad-card-photo) .squad-card a { margin-top: auto; min-height: 24px; font-size: 13px; }
  .squad-directory:has(.squad-card--make) .squad-card { padding: 12px; border-radius: 16px; }
  .squad-directory:has(.squad-card--make) .squad-card h3 { font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
  .squad-directory:has(.squad-card--make) .squad-card p { font-size: 13px; line-height: 1.4; margin: 0 0 6px; }
  .squad-directory:has(.squad-card--make) .squad-card a { min-height: 24px; font-size: 13px; line-height: 1.3; }
}

/* 1.9.0: jobs and articles as one dated stream (home "Latest from the workshop", Updates page). */
.squad-card__tag { display: block; margin-top: 14px; color: #245aa6; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.squad-card__tag + h3 { margin-top: 6px; }
.squad-latest__more { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 6px 0 0; }
.squad-latest__more a { display: inline-flex; align-items: center; min-height: 44px; color: #15395c; font-weight: 800; }
.squad-stream-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 6px; }
.squad-stream-filter a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(23,50,74,.25); border-radius: 999px; background: #fff; color: #15395c; font-weight: 700; text-decoration: none; }
.squad-stream-filter a:hover { border-color: #15395c; }
main .squad-stream-filter a[aria-current="true"] { border-color: #15395c; background: #15395c; color: #fff; }
.squad-update-card__photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; margin-bottom: 20px; }
@media (max-width: 540px) {
  .squad-card__tag { margin-top: 10px; }
  /* A job in the list: small picture on the left, the words beside it. */
  .squad-update-card--photo { display: grid; grid-template-columns: 96px minmax(0,1fr); column-gap: 14px; align-content: start; min-height: 0; padding: 16px; }
  .squad-update-card--photo .squad-update-card__photo { grid-column: 1; grid-row: 1 / span 3; width: 96px; margin: 0; border-radius: 10px; }
  .squad-update-card--photo > :not(.squad-update-card__photo) { grid-column: 2; }
  .squad-update-card--photo .squad-update-card__meta { margin-bottom: 6px; }
  .squad-update-card--photo h3 { margin-bottom: 4px; font-size: 18px; line-height: 1.2; letter-spacing: -.02em; }
  .squad-update-card--photo > p:not(.squad-update-card__meta) { display: none; }
  .squad-update-card--photo .squad-update-card__links { padding-top: 0; }
}
