/* SF Services homepage concept. Design tokens first. */
@font-face {
  font-family: "Fraunces";
  src: url("/case-studies/concepts/sf-services/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/case-studies/concepts/sf-services/assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/case-studies/concepts/sf-services/assets/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
/* Metric-fitted fallbacks so nothing jumps when the brand fonts arrive. Widths measured against this page's copy,
   per weight (real Georgia Bold and Arial Bold for the heavier weights); ascent and descent are the brand fonts'
   own metrics divided by the size-adjust. */
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); font-weight: 100 579; font-style: normal; size-adjust: 107.8%; ascent-override: 90.7%; descent-override: 23.7%; line-gap-override: 0%; }
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia Bold"), local("Georgia-Bold"); font-weight: 580 900; font-style: normal; size-adjust: 93.5%; ascent-override: 104.6%; descent-override: 27.3%; line-gap-override: 0%; }
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia Italic"), local("Georgia-Italic"); font-weight: 100 900; font-style: italic; size-adjust: 97.6%; ascent-override: 100.2%; descent-override: 26.1%; line-gap-override: 0%; }
@font-face { font-family: "Hanken Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 100 549; font-style: normal; size-adjust: 100.2%; ascent-override: 99.8%; descent-override: 30.2%; line-gap-override: 0%; }
@font-face { font-family: "Hanken Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 550 900; font-style: normal; size-adjust: 94.5%; ascent-override: 105.8%; descent-override: 32.1%; line-gap-override: 0%; }

:root {
  /* Navy sampled from the SF Services logo (#292E72) */
  --navy: #292e72;
  --navy-deep: #141840;
  --navy-ink: #0d102e;
  --navy-soft: #3a4091;
  --paper: #f7f4ee;
  --paper-2: #efeae0;
  --white: #ffffff;
  --ink: #171a33;
  --ink-2: #4a4e68;
  --line: #ddd7ca;
  --line-dark: rgba(255, 255, 255, 0.14);
  /* Hot foil gold, rationed to actions and highlights */
  --gold: #d6a647;
  --gold-hi: #f4d88f;
  --gold-lo: #b88a2e;
  --gold-text: #8a6115;
  --foil: linear-gradient(115deg, #c9973a 0%, #f6dc95 38%, #e2b75c 55%, #fbe7b0 72%, #c9973a 100%);
  --on-dark: #e9eaf4;
  --on-dark-2: #b9bcd6;

  --font-display: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --font-body: "Hanken Grotesk", "Hanken Fallback", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 50px -22px rgba(13, 16, 46, 0.45);
  --wrap: 1240px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 560; line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 0.5em; font-variation-settings: "SOFT" 30, "WONK" 0; }
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-family: var(--font-body); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease; line-height: 1.2; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--foil); background-size: 200% 100%; color: var(--navy-ink); box-shadow: 0 8px 22px -10px rgba(201, 151, 58, 0.9); }
.btn-gold:hover { background-position: 100% 0; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 0.95rem; }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.text-link { color: var(--navy); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--gold); }

.eyebrow { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.07em; color: var(--gold-text); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--foil); flex: none; }
.eyebrow-light { color: var(--gold-hi); }
.foil-text { background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* The promise always starts its own line, so the headline breaks the same way in every font and width */
.hero h1 .foil-text { display: block; }

/* Header: white, so the original logo sits on its own white ground */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { flex: none; display: block; }
.logo img { width: 220px; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 12px; text-decoration: none; font-weight: 600; font-size: 0.98rem; color: var(--ink); border-radius: var(--radius-sm); }
.nav a:hover { color: var(--navy); background: var(--paper); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { text-decoration: none; font-weight: 700; color: var(--navy); white-space: nowrap; display: flex; flex-direction: column; line-height: 1.2; font-size: 1rem; }
.small-label { font-size: 0.8rem; font-weight: 600; color: var(--ink-2); letter-spacing: 0.06em; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); cursor: pointer; position: relative; }
.menu-bars, .menu-bars::before, .menu-bars::after { position: absolute; left: 13px; width: 20px; height: 2px; background: var(--navy); content: ""; }
.menu-bars { top: 23px; }
.menu-bars::before { top: -7px; left: 0; }
.menu-bars::after { top: 7px; left: 0; }

@media (max-width: 1180px) { .header-phone { display: none; } }
@media (max-width: 1020px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .header-phone { display: flex; }
}
@media (max-width: 520px) { .header-phone { display: none; } .logo img { width: 180px; } :root { --header-h: 66px; } }

/* Mobile menu: a full-height layer */
.mobile-menu { position: fixed; inset: 0; z-index: 100; background: var(--navy-deep); color: var(--white); overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu-inner { min-height: 100%; display: flex; flex-direction: column; padding: 0 16px 24px; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); margin: 0 -16px 16px; padding: 0 16px; background: var(--white); }
.mobile-menu-top img { width: 180px; }
.menu-close { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); position: relative; cursor: pointer; }
.menu-close span::before, .menu-close span::after { content: ""; position: absolute; left: 13px; top: 22px; width: 20px; height: 2px; background: var(--navy); transform: rotate(45deg); }
.menu-close span::after { transform: rotate(-45deg); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu nav a { display: block; padding: 14px 0; font-family: var(--font-display); font-size: 1.5rem; text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.mobile-menu-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 14px; text-align: center; }
.mobile-call { color: var(--gold-hi); font-weight: 700; padding: 10px; }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 600px at 85% 10%, #2a3080 0%, transparent 60%), radial-gradient(800px 500px at 0% 100%, #1d2260 0%, transparent 60%), var(--navy-deep); color: var(--white); overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--foil); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; padding-block: clamp(40px, 6vh, 80px) clamp(48px, 7vh, 88px); }
.hero h1 { font-size: clamp(2.4rem, 1.5rem + 2.9vw, 3.8rem); font-weight: 540; margin-bottom: 20px; line-height: 1.04; }
.hero .lead { font-size: clamp(1.08rem, 1rem + 0.3vw, 1.22rem); color: var(--on-dark); max-width: 36em; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.hero-call { color: var(--on-dark-2); margin-bottom: 30px; }
.hero-call a { display: inline-block; padding: 10px 0; color: var(--white); font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.hero-proof { list-style: none; margin: 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--line-dark); }
.hero-proof li { display: flex; flex-direction: column; gap: 4px; }
.hero-proof strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 560; line-height: 1; color: var(--gold-hi); }
.hero-proof span { font-size: 0.94rem; color: var(--on-dark-2); line-height: 1.35; }

.hero-visual { position: relative; }
.mosaic { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 12px; }
.tile { border-radius: var(--radius); overflow: hidden; background: #0b0d26; box-shadow: var(--shadow); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-main { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.tile-a, .tile-b, .tile-c { aspect-ratio: 4 / 3; }
.mosaic figcaption { grid-column: 1 / -1; font-size: 0.92rem; color: var(--on-dark-2); }
.stock-flag { position: absolute; left: -28px; top: 46%; transform: translateY(-50%); display: grid; gap: 2px; width: 270px; padding: 16px 18px; background: var(--white); color: var(--ink); border-radius: var(--radius); text-decoration: none; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6); border-left: 4px solid var(--gold); transition: transform 0.2s ease; }
.stock-flag:hover { transform: translateY(-52%); }
.flag-label { font-size: 0.84rem; font-weight: 700; letter-spacing: 0.06em; color: var(--gold-text); }
.flag-title { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; line-height: 1.2; }
.flag-meta { font-size: 0.9rem; color: var(--ink-2); line-height: 1.4; }
.flag-link { font-weight: 700; color: var(--navy); font-size: 0.92rem; margin-top: 6px; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .stock-flag { position: static; transform: none; width: auto; margin-top: 14px; }
  .stock-flag:hover { transform: none; }
}
@media (max-width: 560px) {
  .hero-grid { padding-block: 28px 44px; gap: 28px; }
  .hero h1 { font-size: clamp(2.05rem, 1.2rem + 4.4vw, 2.6rem); }
  .hero .lead { margin-bottom: 22px; }
  .hero-ctas .btn { width: 100%; }
  .hero-proof { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-proof strong { font-size: 1.35rem; }
  .hero-proof span { font-size: 0.86rem; }
  .mosaic { gap: 8px; }
}
/* Short laptop screens: keep the headline and actions in view */
@media (min-width: 1021px) and (max-height: 820px) {
  .hero-grid { padding-block: 36px 48px; }
  .hero h1 { font-size: clamp(2.3rem, 1.3rem + 2.6vw, 3.5rem); }
  .hero .lead { margin-bottom: 22px; }
  .hero-call { margin-bottom: 20px; }
  .hero-proof { padding-top: 16px; }
}
/* Phone landscape */
@media (max-height: 480px) and (orientation: landscape) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; padding-block: 20px 28px; gap: 28px; }
  .hero h1 { font-size: 1.9rem; }
  .hero .lead { font-size: 1rem; margin-bottom: 16px; }
  .hero-proof, .stock-flag, .mosaic figcaption { display: none; }
}

/* Makes strip */
.makes { background: var(--white); border-bottom: 1px solid var(--line); padding: 26px 0; }
.makes .wrap { display: flex; align-items: center; gap: 28px; }
.makes-title { margin: 0; flex: none; font-weight: 700; font-size: 0.92rem; color: var(--ink-2); max-width: 150px; line-height: 1.35; }
.makes-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; }
.makes-list li { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
@media (max-width: 760px) { .makes .wrap { flex-direction: column; align-items: flex-start; gap: 12px; } .makes-title { max-width: none; } .makes-list { gap: 4px 18px; } .makes-list li { font-size: 1.02rem; } }

/* Sections */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head-split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.section-head-split h2 { margin-bottom: 0; }
.section-lead { color: var(--ink-2); font-size: 1.12rem; margin: 0; }
@media (max-width: 760px) { .section-head-split { grid-template-columns: 1fr; gap: 12px; } .section-head { margin-bottom: 32px; } }

/* Paths */
.path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.path-card { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; overflow: hidden; }
.path-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--foil); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.path-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.path-card:hover::before { transform: scaleX(1); }
.path-num { font-family: var(--font-display); font-size: 0.95rem; color: var(--gold-text); font-weight: 600; margin-bottom: 18px; }
.path-card h3 { color: var(--navy); font-size: 1.45rem; }
.path-card p { color: var(--ink-2); font-size: 1rem; flex: 1; }
.path-go { font-weight: 700; color: var(--navy); }
@media (max-width: 1020px) { .path-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .path-grid { grid-template-columns: 1fr; gap: 12px; } .path-card { padding: 22px 20px; } .path-num { margin-bottom: 8px; } }

/* Stock */
.stock { background: var(--white); }
.stock-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.machine { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.machine-img { aspect-ratio: 4 / 3; background: #e9e6df; overflow: hidden; }
.machine-img img { width: 100%; height: 100%; object-fit: cover; }
.machine-img-light { background: var(--white); }
.machine-img-light img { object-fit: contain; padding: 10px; }
.machine-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.machine-ref { font-size: 0.92rem; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tag { font-size: 0.84rem; padding: 3px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--navy); }
.tag-gold { background: var(--gold-hi); border-color: var(--gold); color: var(--navy-ink); }
.machine h3 { font-size: 1.22rem; color: var(--navy); }
.spec { list-style: none; margin: 0 0 18px; padding: 0; font-size: 0.94rem; flex: 1; }
.spec li { padding: 7px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 76px 1fr; gap: 8px; }
.spec span { color: var(--ink-2); font-weight: 600; }
.machine-link { font-weight: 700; color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.stock-foot { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 30px; border-radius: var(--radius); background: var(--paper-2); }
.source-box h3 { margin-bottom: 6px; color: var(--navy); }
.source-box p { margin: 0; color: var(--ink-2); }
.stock-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.swipe-hint { display: none; align-items: center; gap: 8px; margin: -16px 0 14px; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
.swipe-hint span { color: var(--gold-text); font-size: 1.1rem; line-height: 1; }
@media (max-width: 1100px) { .stock-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .stock-foot { flex-direction: column; align-items: stretch; padding: 22px; } .stock-actions .btn { flex: 1; } }
@media (max-width: 560px) { .stock-grid { grid-template-columns: 1fr; } }

/* Aftersales */
.aftersales { background: var(--navy-deep); color: var(--white); position: relative; }
.aftersales .section-lead { color: var(--on-dark); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.service { background: var(--navy-deep); padding: 30px 28px; }
.service h3 { color: var(--gold-hi); font-size: 1.32rem; }
.service p { color: var(--on-dark); margin: 0; font-size: 1rem; }
.checklist-band { margin-top: 56px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.checklist-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--shadow); }
.checklist-copy h3 { font-size: 1.8rem; }
.checklist { margin: 0 0 26px; padding: 0; list-style: none; counter-reset: step; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.checklist li { counter-increment: step; position: relative; padding-left: 38px; color: var(--on-dark); font-size: 0.98rem; line-height: 1.45; }
.checklist li::before { content: counter(step); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-hi); font-size: 0.8rem; font-weight: 700; display: grid; place-items: center; }
.direct-line { margin: 16px 0 0; color: var(--on-dark-2); }
.direct-line a { color: var(--white); font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: 4px; }
@media (max-width: 1020px) { .service-grid { grid-template-columns: repeat(2, 1fr); } .checklist-band { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } .service { padding: 24px 20px; } .checklist { grid-template-columns: 1fr; } .checklist-copy .btn { width: 100%; } }

/* Upgrades */
.upgrades-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.upgrades-copy > p:not(.eyebrow) { color: var(--ink-2); font-size: 1.08rem; }
.feature-list { list-style: none; margin: 0 0 28px; padding: 0; }
.feature-list li { padding: 12px 0 12px 30px; border-top: 1px solid var(--line); position: relative; color: var(--ink-2); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 14px; height: 6px; border-radius: 3px; background: var(--foil); }
.feature-list strong { color: var(--navy); }
.upgrades-visual { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.upgrades-visual figure { margin: 0; position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.upgrades-visual img { width: 100%; height: 100%; object-fit: contain; padding: 14px 14px 40px; }
.upgrades-visual figcaption { position: absolute; left: 14px; bottom: 12px; font-size: 0.92rem; font-weight: 700; color: var(--navy); }
.up-main { grid-row: 1 / 3; }
@media (max-width: 1020px) { .upgrades-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) {
  /* Phones: the three products sit in one row, captions under each */
  .upgrades-visual { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; gap: 8px; }
  .up-main { grid-row: auto; }
  .upgrades-visual figure { display: flex; flex-direction: column; }
  .upgrades-visual img { aspect-ratio: 1 / 1; height: auto; padding: 8px; }
  .upgrades-visual figcaption { position: static; padding: 0 8px 10px; font-size: 0.84rem; line-height: 1.3; }
  .upgrades-copy .btn { width: 100%; }
}

/* YAWA */
.yawa { padding-top: 0; }
.yawa-panel { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.yawa-copy p:not(.eyebrow) { color: var(--ink-2); font-size: 1.08rem; }
.yawa-models { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.model { background: var(--paper); border-radius: var(--radius); padding: 14px 14px 18px; }
.model img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--white); border-radius: var(--radius-sm); margin-bottom: 14px; }
.model h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 6px; }
.model p { font-size: 0.95rem; color: var(--ink-2); margin: 0; }
.model .model-note { margin-top: 10px; font-weight: 700; color: var(--navy); }
@media (max-width: 1020px) { .yawa-panel { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .yawa-models { grid-template-columns: 1fr; gap: 12px; }
  .yawa-copy .btn { width: 100%; }
  /* Phones: photo beside the description, so two models do not take two screens */
  .model { display: grid; grid-template-columns: 38% 1fr; column-gap: 12px; align-items: start; padding: 12px; }
  .model img { grid-row: 1 / span 3; margin-bottom: 0; }
  .model h3 { font-size: 1.1rem; }
  .model p { font-size: 0.9rem; }
}

/* Moves */
.moves { background: var(--paper-2); }
.moves-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.moves-photos { position: relative; padding-bottom: 18%; }
.moves-photos img { border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.mp-1 { width: 78%; aspect-ratio: 3 / 2; }
.mp-2 { position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 4 / 3; border: 6px solid var(--paper-2); }
.moves-copy p:not(.eyebrow) { color: var(--ink-2); font-size: 1.06rem; }
@media (max-width: 1020px) { .moves-grid { grid-template-columns: 1fr; gap: 40px; } .moves-copy { order: -1; } }

/* Sell */
.sell { padding-block: 0; }
.sell-panel { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center; background: radial-gradient(600px 300px at 100% 0%, #2a3080, transparent 70%), var(--navy); color: var(--white); border-radius: 22px; padding: clamp(32px, 5vw, 64px); transform: translateY(0); }
.sell-copy p:not(.eyebrow) { color: var(--on-dark); margin: 0; font-size: 1.06rem; }
.sell-actions { display: grid; gap: 14px; text-align: center; }
.sell-actions p { margin: 0; color: var(--on-dark-2); }
.sell-actions a:not(.btn) { color: var(--white); font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: 4px; }
@media (max-width: 900px) { .sell-panel { grid-template-columns: 1fr; } .sell-actions { text-align: left; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; margin-bottom: 56px; }
.about-copy p:not(.eyebrow) { color: var(--ink-2); font-size: 1.08rem; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats li { background: var(--white); padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; }
.stats strong { font-family: var(--font-display); font-size: 2.5rem; font-weight: 560; line-height: 1; color: var(--navy); }
.stats span { color: var(--ink-2); font-size: 0.95rem; line-height: 1.4; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.person { display: grid; grid-template-columns: 0.9fr 1.1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.person img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; min-height: 240px; }
.person-body { padding: 26px 26px 22px; }
.person h3 { color: var(--navy); margin-bottom: 2px; }
.role { font-weight: 700; color: var(--gold-text); font-size: 0.92rem; margin-bottom: 12px; }
.person-body p:not(.role):not(.contact-lines) { color: var(--ink-2); font-size: 0.98rem; }
.contact-lines { display: flex; flex-direction: column; gap: 4px; margin: 0; font-weight: 700; font-size: 0.95rem; overflow-wrap: anywhere; }
.contact-lines a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.person-quote { grid-template-columns: 1fr; background: var(--navy-deep); color: var(--white); border-color: var(--navy-deep); }
.person-quote .quote { margin: 0; padding: 30px 28px 0; }
.quote-context { margin: 0 0 12px; font-size: 0.95rem; color: var(--on-dark-2); }
.person-quote blockquote { margin: 0; }
.person-quote blockquote p { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; line-height: 1.35; margin: 0; }
.person-quote h3, .person-quote .contact-lines a { color: var(--white); }
.person-quote .role { color: var(--gold-hi); }
.person-quote .person-body p:not(.role):not(.contact-lines) { color: var(--on-dark-2); }
@media (max-width: 1020px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } .team { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .person { grid-template-columns: 1fr; } .person img { aspect-ratio: 3 / 2; min-height: 0; } .stats strong { font-size: 2rem; } .stats li { padding: 20px 16px; } }

/* FAQ */
.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 64px; }
.faq-head p:not(.eyebrow) { color: var(--ink-2); }
.faq-head a { color: var(--navy); font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-weight: 700; font-size: 1.08rem; color: var(--navy); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--gold-text); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { color: var(--ink-2); padding-right: 40px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Enquire */
.enquire { background: radial-gradient(900px 500px at 0% 0%, #262c78 0%, transparent 60%), var(--navy-deep); color: var(--white); }
.enquire-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.enquire-copy > p:not(.eyebrow) { color: var(--on-dark); font-size: 1.08rem; }
.contact-cards { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 10px; }
.contact-cards li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line-dark); border-radius: var(--radius-sm); }
.contact-cards span { color: var(--on-dark-2); font-size: 0.92rem; }
.contact-cards a { color: var(--white); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-cards a:hover { color: var(--gold-hi); }
.enquire address { color: var(--on-dark-2); font-size: 0.95rem; }
.enquiry-form { background: var(--white); color: var(--ink); border-radius: 20px; padding: clamp(22px, 3.4vw, 40px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.type-field { border: 0; margin: 0 0 18px; padding: 0; }
.type-field legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 0.95rem; color: var(--ink); background: var(--paper); transition: border-color 0.15s ease, background-color 0.15s ease; }
.chip:hover span { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; }
.req { color: #a3361f; }
.opt { font-weight: 500; color: var(--ink-2); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #c9c3b6; border-radius: var(--radius-sm); font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--navy); outline: 3px solid rgba(214, 166, 71, 0.55); outline-offset: 0; }
.field input[aria-invalid="true"] { border-color: #a3361f; }
.field-error { color: #a3361f; font-size: 0.9rem; font-weight: 600; margin: 6px 0 0; }
.form-note { font-size: 0.88rem; color: var(--ink-2); margin: 14px 0 0; text-align: center; }
.form-note a { color: var(--navy); }
.form-status { margin: 10px 0 0; font-weight: 600; text-align: center; }
.form-status:empty { display: none; }
@media (max-width: 1020px) { .enquire-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } .chip span { font-size: 0.9rem; padding: 8px 13px; } }

/* Footer */
.site-footer { background: var(--navy-ink); color: var(--on-dark-2); padding: 64px 0 28px; font-size: 0.96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.logo-plate { background: var(--white); border-radius: var(--radius-sm); padding: 8px 10px; display: inline-block; margin-bottom: 16px; }
.logo-plate img { width: 220px; }
.footer-h { font-family: var(--font-body); font-size: 0.92rem; letter-spacing: 0.08em; color: var(--gold-hi); margin: 0 0 14px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--on-dark); text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: var(--gold-hi); text-decoration: underline; }
.footer-contact { display: flex; flex-direction: column; margin: 12px 0; }
.footer-contact a { font-weight: 700; color: var(--white); }
.social { display: flex !important; flex-wrap: wrap; gap: 0 22px !important; }
.footer-legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; font-size: 0.9rem; }
.footer-legal p:first-child { max-width: 46em; }
.footer-legal p { margin: 0; }
.footer-legal a { margin-left: 16px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { gap: 28px 16px; } .footer-grid > div:last-child { grid-column: 1 / -1; } .footer-legal a { margin: 0 16px 0 0; } .site-footer { padding-bottom: 96px; } }

/* Floating actions: hidden until the hero button scrolls away */
.dock { position: fixed; z-index: 40; right: 24px; bottom: 24px; display: flex; gap: 10px; align-items: center; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s; }
.dock[hidden] { display: none; }
.dock.is-shown { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s; }
.dock-call { display: none; }
.dock-cta { box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.55); }
@media (max-width: 760px) {
  .dock { left: 0; right: 0; bottom: 0; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(13, 16, 46, 0.35); }
  .dock-call { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--navy); color: var(--navy); font-weight: 700; text-decoration: none; }
  .dock-cta { flex: 1; }
}

/* Thank-you and 404 pages */
.simple-page { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 64px 0; background: var(--navy-deep); color: var(--white); text-align: center; }
.simple-page h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); }
.simple-page p { color: var(--on-dark); max-width: 36em; margin-inline: auto; font-size: 1.1rem; }
.simple-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.simple-page .eyebrow { justify-content: center; }
.simple-page a:not(.btn) { color: var(--white); font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* Phone and tablet hero: bring the photography up under the actions */
@media (max-width: 1020px) {
  .hero-copy { display: contents; }
  .hero-grid { gap: 0; }
  .hero-grid > .hero-visual { order: 6; margin-bottom: 28px; }
  .tile-main { aspect-ratio: 2 / 1; }
  .hero-copy .eyebrow { order: 1; } .hero h1 { order: 2; } .hero .lead { order: 3; } .hero-ctas { order: 4; } .hero-call { order: 5; margin-bottom: 18px; } .hero-proof { order: 7; }
}
@media (max-width: 560px) {
  .eyebrow { font-size: 0.84rem; letter-spacing: 0.05em; }
  .hero .lead { font-size: 1.04rem; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn-lg { min-height: 52px; }
  .tile-main { aspect-ratio: 2 / 1; }
  /* Stock becomes a swipe row on phones */
  .stock-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -16px; padding: 4px 16px 14px; scrollbar-width: thin; }
  .stock-grid .machine { flex: 0 0 80%; scroll-snap-align: start; }
  .swipe-hint { display: flex; }
  .section { padding-block: 56px; }
  .path-card p { margin-bottom: 10px; }
}
.machine-link, .contact-lines a, .faq-head a, .direct-line a { display: inline-block; padding-block: 10px; }
/* Phone numbers never break across lines */
a[href^="tel:"] { white-space: nowrap; }
.social a { min-width: 44px; padding: 10px 0; }

/* Phone landscape: words in the left column in reading order, the photo on the right (the phone hero above flattens
   .hero-copy, so place each piece explicitly) */
@media (max-height: 480px) and (orientation: landscape) and (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; column-gap: 28px; align-items: start; padding-block: 18px 24px; }
  .hero-copy > * { grid-column: 1; }
  .hero-grid > .hero-visual { grid-column: 2; grid-row: 1 / span 5; align-self: center; margin-bottom: 0; }
  .hero-copy .eyebrow { display: none; }
  .hero h1 { font-size: 1.8rem; margin-bottom: 12px; }
  .hero .lead { font-size: 0.98rem; line-height: 1.5; margin-bottom: 14px; }
  .hero-ctas .btn { width: auto; }
  .hero-ctas .btn-lg { min-height: 48px; padding: 10px 22px; font-size: 1rem; }
  .hero-call { margin-bottom: 0; }
  .tile-a, .tile-b, .tile-c { display: none; }
  .tile-main { aspect-ratio: 4 / 3; }
}
