/* Second Wind Sites: one-page site.
   Brand rules (deck slide 20): 3px Night Run outlines, hard 6px shadows with no blur, corners 14 / 12 / round,
   racing stripes, Sunrise buttons with black text, white cards on cream. Neubrutalism x Retro 70s. */

@font-face { font-family: "Righteous"; src: url("../fonts/righteous-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../fonts/fredoka-latin-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --sun: #F26B1F;      /* Sunrise: buttons, highlights, wide stripes. Never text on cream or white. */
  --burn: #D7372B;     /* Burner: thin stripes, tiny accents */
  --ink: #111111;      /* Night Run: text, outlines, shadows, the dark band */
  --cream: #F6EAD2;    /* Arcade Cream: the page */
  --white: #FFFFFF;    /* cards, fields, tags */
  --muted: #6B5F4F;    /* secondary text on cream or white only (5.2:1 / 6.2:1) */
  --sand: #EFE0C2;     /* the deck's panel tone, for quiet stages */

  --line-w: 3px;
  --line: var(--line-w) solid var(--ink);
  --sh: 6px;
  --shadow: var(--sh) var(--sh) 0 0 var(--ink);
  --r-card: 14px;
  --r-ctl: 12px;
  --r-pill: 999px;

  --f-d: "Righteous", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --f-b: "Fredoka", "Nunito", "Segoe UI", system-ui, sans-serif;

  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 8.5vw, 116px);
  --head-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); scrollbar-gutter: stable; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 19px/1.55 var(--f-b); font-synthesis: none;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-d); font-weight: 400; line-height: 1.06; letter-spacing: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--cream); }
.on-sun :focus-visible { outline-color: var(--ink); }
::selection { background: var(--sun); color: var(--ink); }
/* on orange the orange highlight vanishes, so selected text there turns ink with cream letters */
.on-sun::selection, .on-sun ::selection, .about__quote ::selection, .casebox__head ::selection,
.service--lead .service__top ::selection, .btn::selection, .btn ::selection, .chip--sun::selection, .chip--sun ::selection,
.tab[aria-selected="true"]::selection, .pick input:checked + label ::selection, .seg button[aria-pressed="true"]::selection,
.step__num::selection { background: var(--ink); color: var(--cream); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 200; padding: 10px 16px; background: var(--white); border: var(--line); border-radius: var(--r-ctl); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
  padding: 5px 14px; border: var(--line); border-radius: var(--r-pill); background: var(--white);
  font: 600 14px/1.2 var(--f-b); letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow--plain { padding: 0; border: 0; background: none; color: var(--muted); }
.h1 { font-size: clamp(46px, 5.6vw, 80px); line-height: 1.0; }
.h2 { font-size: clamp(36px, 4.2vw, 56px); line-height: 1.04; }
.h3 { font-size: clamp(25px, 2.2vw, 31px); line-height: 1.1; }
.lead { font-size: clamp(18px, 1.55vw, 21.5px); line-height: 1.55; }
.muted { color: var(--muted); }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 4.4vw, 56px); }
.sec-head .lead { margin-top: 16px; }
.sec-head--center { margin-inline: auto; text-align: center; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--sun);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px;
  border: var(--line); border-radius: var(--r-ctl); background: var(--bg); color: var(--ink);
  font: 600 18px/1 var(--f-b); text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .12s var(--ease), box-shadow .12s var(--ease);
}
.btn .icon { width: 20px; height: 20px; stroke-width: 2.5; }
.btn--cream { --bg: var(--cream); }
.btn--white { --bg: var(--white); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 16px; gap: 8px; }
.btn--sm .icon { width: 18px; height: 18px; }
.btn:active { transform: translate(var(--sh), var(--sh)); box-shadow: none; }
@media (hover: hover) {
  .btn:hover { transform: translate(var(--sh), var(--sh)); box-shadow: none; }
}
.textlink {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 7px;
}
.textlink .icon { width: 18px; height: 18px; stroke-width: 2.5; transition: transform .15s var(--ease); }
@media (hover: hover) { .textlink:hover .icon { transform: translateX(4px); } }

/* ---------- cards, chips ---------- */
.card { background: var(--white); border: var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); }
.chip {
  display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 4px 14px;
  border: var(--line); border-radius: var(--r-pill); background: var(--white);
  font: 600 15px/1.2 var(--f-b); white-space: nowrap;
}
.chip .icon { width: 17px; height: 17px; stroke-width: 2.5; }
.chip--sun { background: var(--sun); }
.chip--cream { background: var(--cream); }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px;
  border: 2.5px solid var(--ink); border-radius: 50%; background: var(--sun);
  -webkit-mask: none;
}
.ticks li::after {
  content: ""; position: absolute; left: 7.5px; top: calc(.2em + 5px); width: 6px; height: 10px;
  border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}


/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 100; background: var(--cream);
  border-bottom: var(--line);
}
.site-head__row { display: flex; align-items: center; gap: 24px; height: var(--head-h); }
.site-head__logo { flex: none; display: block; }
.site-head__logo img { width: 236px; height: auto; }
.site-head__logo .logo-flat { display: none; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font: 600 17px/1 var(--f-b); text-decoration: none;
}
.site-nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 7px; height: 3px; background-color: var(--sun);
  transform: scaleX(0); transform-origin: left; transition: transform .18s var(--ease);
}
@media (hover: hover) { .site-nav a:hover::after { transform: scaleX(1); } }
.site-nav a[aria-current="true"]::after { transform: scaleX(1); }
.menu-btn {
  display: none; width: 46px; height: 46px; padding: 0; place-items: center;
  border: var(--line); border-radius: var(--r-ctl); background: var(--white); cursor: pointer;
}
.menu-btn .icon { width: 24px; height: 24px; stroke-width: 2.5; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 6vw, 84px) 0 clamp(194px, 15vw, 214px); }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy .lead { margin-top: 22px; max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px 18px; margin-top: 34px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 30px; }
.hero__photo { position: relative; justify-self: center; width: min(100%, 440px); }
.photo-frame { overflow: hidden; transform: rotate(-2deg); aspect-ratio: 4 / 5; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__tag { position: absolute; left: -18px; bottom: 34px; z-index: 3; transform: rotate(-4deg); box-shadow: var(--shadow); padding: 8px 16px; font-size: 16px; }
.hero__tag b { font-family: var(--f-d); font-weight: 400; font-size: 19px; }
.hero__stripes { position: absolute; z-index: 1; right: 0; bottom: 0; pointer-events: none; max-width: none; }

/* ---------- logo strip ---------- */
.logos { background: var(--cream); border-block: var(--line); padding-block: 30px 22px; }
.logos__head { display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.logo-tile { flex: none; display: grid; place-items: center; height: 104px; min-width: 170px; padding: 0 26px; background: var(--white); border: var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); }
.logo-tile--dark { background: var(--tile, var(--ink)); }
.logo-tile img { width: var(--w); height: var(--h); max-width: none; object-fit: contain; }
.logos__label { font: 600 15px/1.3 var(--f-b); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; text-align: center; white-space: nowrap; }
.marquee { position: relative; flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
/* a strip only moves once site.js has built it (the copies and the twin), so it never starts at the wrong speed */
.marquee:not(.is-on) .marquee__track { animation-name: none; }
.marquee__group { display: flex; flex: none; align-items: center; gap: 18px; padding-right: 18px; }
.marquee__track { padding-block: 6px 14px; }
@media (hover: hover) { .marquee:hover .marquee__track { animation-play-state: paused; } }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee.is-paused .marquee__track, .marquee:focus-visible .marquee__track { animation-play-state: paused; }
.marquee:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }

/* ---------- sections ---------- */
.sec { padding-block: var(--sec); }
.sec--white { background: var(--white); border-block: var(--line); }
.cta-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; margin-top: clamp(44px, 5vw, 64px); text-align: center; }
.cta-line p { font-family: var(--f-d); font-size: clamp(24px, 2.4vw, 32px); }

/* ---------- work ---------- */
.cases { display: grid; gap: clamp(36px, 4.4vw, 60px); }
.case { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); overflow: hidden; }
.case__stage { position: relative; display: flex; align-items: center; min-height: 440px; padding: 44px 19% 52px 6%; background: var(--sand); border-right: var(--line); overflow: hidden; }
.case:nth-child(even) .case__stage { order: 2; border-right: 0; border-left: var(--line); }
.case__body { justify-content: center; }
.case__desk { position: relative; width: 100%; border: var(--line); border-radius: 10px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.case__desk img { width: 100%; height: auto; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: var(--cream); border-bottom: var(--line); }
.browser-bar i { width: 10px; height: 10px; border: 2px solid var(--ink); border-radius: 50%; background: var(--white); }
.browser-bar i:first-child { background: var(--sun); }
.browser-bar span { margin-left: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 600 12.5px/1 var(--f-b); color: var(--muted); }
.case__phone { position: absolute; right: 5%; bottom: -14%; width: 24%; border: var(--line); border-radius: 20px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); transform: rotate(3deg); }
.case__phone img { width: 100%; height: auto; }
.chip--ink { background: var(--ink); color: var(--cream); border-color: var(--ink); }
/* the whole stage opens the full screenshot; the chip is the visible label */
.zoom { position: absolute; inset: 0; z-index: 3; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.zoom:focus-visible { outline: 3px solid var(--ink); outline-offset: -8px; }
.zoom__chip {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px; border: var(--line); border-radius: var(--r-pill); background: var(--white);
  font: 600 14.5px/1 var(--f-b); color: var(--ink); box-shadow: var(--shadow);
  transition: transform .12s var(--ease), box-shadow .12s var(--ease);
}
.zoom__chip .icon { width: 17px; height: 17px; stroke-width: 2.5; }
.zoom:active .zoom__chip { transform: translate(var(--sh), var(--sh)); box-shadow: none; }
@media (hover: hover) { .zoom:hover .zoom__chip { transform: translate(var(--sh), var(--sh)); box-shadow: none; } }
.hero__band { display: none; }
.case__body { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 44px); }
.case__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.case__store { font: 600 15px/1.2 var(--f-b); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.case__summary { color: var(--ink); }
.case .ticks { margin-top: 4px; font-size: 17.5px; }
.case__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.cases-nav { display: none; }

/* ---------- dialogs: "How I help X" and the full-page viewer ---------- */
.dlg { padding: 0; border: var(--line); border-radius: var(--r-card); background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.dlg::backdrop { background: rgba(17, 17, 17, .8); }
html:has(.dlg[open]) { overflow: hidden; }
.dlg-close { flex: none; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: var(--line); border-radius: var(--r-ctl); background: var(--white); cursor: pointer; }
.dlg-close .icon { width: 22px; height: 22px; stroke-width: 2.75; }
.casebox { width: min(880px, calc(100vw - 32px)); max-height: min(90dvh, 960px); overflow: hidden; }
/* only the middle scrolls, so the scrollbar sits between the orange header and the footer */
.casebox[open] { display: flex; flex-direction: column; }
.casebox__head { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; align-items: start; padding: 22px 24px 20px; background: var(--sun); border-bottom: var(--line); }
.casebox__head .case__store { color: var(--ink); }
.casebox__head .h3 { grid-column: 1; }
.casebox__head .dlg-close { grid-column: 2; grid-row: 1 / span 2; }
.casebox__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: grid; align-content: start; gap: 26px; padding: 26px 24px 30px; }
.casebox__lead { font-size: clamp(18px, 1.5vw, 20px); }
.how { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.how__group h3 { margin-bottom: 12px; font: 600 15px/1.2 var(--f-b); letter-spacing: .1em; text-transform: uppercase; }
.how .ticks { gap: 9px; font-size: 17px; }
.casebox__foot { flex: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 16px; padding: 16px 24px; background: var(--cream); border-top: var(--line); }
.btn .icon:first-child { margin-left: -2px; }

.viewer { width: min(1320px, calc(100vw - 32px)); height: min(92dvh, 1100px); max-width: none; max-height: none; overflow: hidden; }
.viewer[open] { display: flex; flex-direction: column; }
.viewer__bar { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 10px 12px 10px 18px; background: var(--cream); border-bottom: var(--line); }
.viewer__dots { display: flex; gap: 6px; }
.viewer__dots i { width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 50%; background: var(--white); }
.viewer__dots i:first-child { background: var(--sun); }
.viewer__url { flex: 1 1 200px; min-width: 0; display: block; height: 40px; padding: 0 16px; border: 2.5px solid var(--ink); border-radius: var(--r-pill); background: var(--white); font: 600 15px/35px var(--f-b); color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.seg { display: inline-flex; flex: none; border: var(--line); border-radius: var(--r-pill); background: var(--white); overflow: hidden; }
.seg button { min-height: 40px; padding: 0 16px; border: 0; background: transparent; font: 600 15px/1 var(--f-b); cursor: pointer; }
.seg button + button { border-left: var(--line); }
.seg button[aria-pressed="true"] { background: var(--sun); }
@media (hover: hover) { .seg button[aria-pressed="false"]:hover { background: var(--cream); } }
.seg button:focus-visible { outline-offset: -5px; }
.viewer__pages { order: 3; }
.viewer__bar .dlg-close { order: 4; }
@media (max-width: 960px) {
  .viewer__pages { order: 5; flex: 1 1 100%; }
  .viewer__pages button { flex: 1; }
}
/* short screens (landscape phones, 400% zoom): let the dialog's header and footer scroll with the content */
@media (max-height: 520px) {
  .casebox { max-height: calc(100dvh - 16px); overflow-y: auto; overscroll-behavior: contain; }
  .casebox[open] { display: block; }
  .casebox__body { overflow: visible; }
}
/* slim rounded ink scrollbars inside the dialogs, no arrow buttons (Chrome, Edge, Safari) ... */
.casebox::-webkit-scrollbar, .casebox__body::-webkit-scrollbar, .viewer__scroll::-webkit-scrollbar { width: 14px; }
.casebox::-webkit-scrollbar-track, .casebox__body::-webkit-scrollbar-track, .viewer__scroll::-webkit-scrollbar-track { background: transparent; }
.casebox::-webkit-scrollbar-thumb, .casebox__body::-webkit-scrollbar-thumb, .viewer__scroll::-webkit-scrollbar-thumb { background: var(--ink); background-clip: padding-box; border: 4px solid transparent; border-radius: 999px; min-height: 48px; }
.casebox::-webkit-scrollbar-button, .casebox__body::-webkit-scrollbar-button, .viewer__scroll::-webkit-scrollbar-button { display: none; }
/* ... and Firefox, which only takes the standard properties */
@supports (-moz-appearance: none) {
  .casebox, .casebox__body, .viewer__scroll { scrollbar-width: thin; scrollbar-color: var(--ink) transparent; }
}
.viewer__stage { position: relative; flex: 1; min-height: 0; display: flex; justify-content: center; background: var(--sand); }
.viewer__scroll { width: 100%; height: 100%; overflow-y: auto; overscroll-behavior: contain; background: var(--white); }
.viewer__scroll:focus-visible { outline: 3px solid var(--ink); outline-offset: -6px; }
.viewer[data-view="phone"] .viewer__scroll { width: min(410px, 100%); border-inline: var(--line); }
.viewer__scroll img { display: block; width: 100%; height: auto; }
.viewer__hint { position: absolute; left: 0; right: 0; bottom: 18px; width: fit-content; max-width: calc(100% - 32px); margin-inline: auto; padding: 9px 16px; border: var(--line); border-radius: var(--r-pill); background: var(--white); box-shadow: var(--shadow); font: 600 15px/1.25 var(--f-b); text-align: center; pointer-events: none; transition: opacity .3s var(--ease); }
.viewer.is-scrolled .viewer__hint { opacity: 0; }

/* ---------- results ---------- */
.results { position: relative; background: var(--ink); color: var(--cream); border-radius: var(--r-card); border: var(--line); box-shadow: var(--sh) var(--sh) 0 0 var(--sun); padding: clamp(32px, 4.4vw, 60px); }
.results__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.results__head .h2 { color: var(--cream); max-width: 15em; }
.results__head p { max-width: 26em; color: var(--cream); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.stat { border-top: 3px solid var(--sun); padding-top: 18px; }
.stat__fig { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font: 400 clamp(38px, 3.9vw, 54px)/1 var(--f-d); color: var(--sun); }
.stat__fig .icon { width: .62em; height: .62em; stroke-width: 3; color: var(--cream); }
.count { display: inline-block; white-space: nowrap; }
.stat__label { margin-top: 12px; color: var(--cream); font-size: 17.5px; }
.results__note { margin-top: 26px; font-size: 15px; color: var(--cream); opacity: 1; }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 2.6vw, 36px); align-items: start; }
.service { display: flex; flex-direction: column; overflow: hidden; }
.service__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: var(--line); background: var(--cream); }
.service--lead .service__top { background: var(--sun); }
.service__name { font: 400 26px/1 var(--f-d); }
.service__num { font: 600 15px/1 var(--f-b); letter-spacing: .1em; }
.service__body { display: flex; flex-direction: column; gap: 16px; flex: 1; padding: 24px 22px 26px; }
.service__title { font: 600 22px/1.25 var(--f-b); }
.service .ticks { font-size: 17px; gap: 9px; }
.service .textlink { align-self: flex-start; padding-top: 8px; }

/* ---------- process ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 26px; right: calc((100% - 80px) / 5 - 26px); top: 25px; height: 3px; background: var(--ink); }
.step { position: relative; }
.step__num {
  position: relative; display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
  border: var(--line); border-radius: 50%; background: var(--sun); box-shadow: var(--shadow);
  font: 400 22px/1 var(--f-d);
}
.step:nth-child(even) .step__num { background: var(--white); }
.step h3 { font-size: 23px; line-height: 1.15; margin-bottom: 10px; }
.step p { font-size: 17px; }
.tracks__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: clamp(30px, 3.6vw, 46px); }
.tracks__label { font: 600 15px/1.2 var(--f-b); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tabs { display: flex; flex-wrap: wrap; gap: 12px; }
.tab {
  min-height: 50px; padding: 0 22px; border: var(--line); border-radius: var(--r-pill); background: var(--white);
  font: 600 17px/1 var(--f-b); white-space: nowrap; cursor: pointer;
  transition: transform .12s var(--ease), box-shadow .12s var(--ease), background-color .12s;
}
.tab[aria-selected="true"] { background: var(--sun); box-shadow: var(--shadow); }
@media (hover: hover) { .tab[aria-selected="false"]:hover { background: var(--cream); } }
.track:focus-visible { outline: 3px solid var(--ink); outline-offset: 10px; border-radius: 6px; }
.track__name { display: none; margin-bottom: 20px; font: 600 15px/1.2 var(--f-b); letter-spacing: .1em; text-transform: uppercase; }
.js .track:not([hidden]) { animation: track-in .28s var(--ease); }
@keyframes track-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.about__quote { margin: 0; padding: clamp(28px, 3vw, 40px); background: var(--sun); }
.about__quote blockquote { margin: 0; font: 400 clamp(26px, 2.5vw, 34px)/1.16 var(--f-d); text-wrap: pretty; }
.about__quote blockquote::before { content: "\201C"; display: block; height: .55em; margin-bottom: 4px; font-size: 2.4em; line-height: 1; }
.nw { white-space: nowrap; }
.about__quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-weight: 600; }
.avatar { width: 52px; height: 52px; border: 3px solid var(--ink); border-radius: 50%; object-fit: cover; object-position: 50% 22%; background: var(--white); }
.about__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.about__text { display: grid; gap: 18px; }
.about__text > .eyebrow { justify-self: start; margin-bottom: 0; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__aside { position: sticky; top: calc(var(--head-h) + 32px); }
.faq__aside .btn { margin-top: 28px; }
.faq__list { display: grid; gap: 16px; }
.qa { background: var(--white); border: var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px;
  font: 600 19.5px/1.3 var(--f-b); cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .plus { flex: none; position: relative; width: 30px; height: 30px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--cream); }
.qa summary .plus::before, .qa summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .18s var(--ease); }
.qa summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] summary .plus { background: var(--sun); }
.qa[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__a { padding: 0 22px 22px; border-top: 0; font-size: 18px; }
.qa[open] summary { border-bottom: 3px dashed rgba(17, 17, 17, .22); margin-bottom: 16px; }

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; background: var(--sun); border-block: var(--line); }
.contact__stripes { position: absolute; z-index: 0; right: 0; bottom: 0; pointer-events: none; max-width: none; }
.contact .wrap { position: relative; z-index: 1; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.contact__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.contact__head .lead { margin-top: 16px; }
.form-card { padding: clamp(22px, 3vw, 36px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font: 600 16px/1.2 var(--f-b); }
.field legend { padding: 0; margin-bottom: 10px; }
.field .opt { font-weight: 400; color: var(--muted); }
.input {
  width: 100%; min-height: 52px; padding: 12px 16px; border: var(--line); border-radius: var(--r-ctl);
  background: var(--white); color: var(--ink); font: 400 18px/1.4 var(--f-b);
}
.input::placeholder { color: var(--muted); opacity: 1; }
textarea.input { min-height: 140px; resize: vertical; }
.input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.pick { display: flex; flex-wrap: wrap; gap: 10px; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick label {
  display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px; cursor: pointer;
  border: var(--line); border-radius: var(--r-pill); background: var(--white); font: 600 16px/1.2 var(--f-b);
  transition: transform .12s var(--ease), box-shadow .12s var(--ease), background-color .12s;
}
@media (hover: hover) { .pick label:hover { background: var(--cream); } }
.pick input:checked + label { background: var(--sun); box-shadow: var(--shadow); }
.pick input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 3px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 24px; }
.form-status { font-size: 16px; }
.form-status:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Turnstile bot check (added by JS on first focus; it stays invisible unless Cloudflare needs a click) */
.turnstile-slot .cf-turnstile.is-shown { margin-top: 20px; }
.book-card { padding: clamp(22px, 2.6vw, 30px); background: var(--cream); display: grid; gap: 14px; }
.book-card .h3 { font-size: clamp(26px, 2.4vw, 32px); }
.book-card .btn { justify-self: start; margin-top: 4px; }
.book-card__mail { display: grid; gap: 6px; padding-top: 16px; border-top: 3px dashed rgba(17, 17, 17, .25); font-size: 17px; }
.book-card__mail a { font-weight: 600; overflow-wrap: anywhere; }
.pending { font-size: 15px; color: var(--muted); }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: var(--cream); }
.foot-stripes { display: block; width: 100%; max-width: none; height: 46px; }
.site-foot__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, .8fr)); gap: 40px; padding-block: 56px 40px; }
.site-foot__logo { display: inline-block; }
.site-foot__logo img { width: 236px; height: auto; }
.site-foot__line { margin-top: 18px; max-width: 26em; font-size: 17px; }
.site-foot h2 { font: 600 14px/1.2 var(--f-b); letter-spacing: .12em; text-transform: uppercase; color: var(--sun); margin-bottom: 14px; }
.site-foot ul { display: grid; gap: 4px; }
.site-foot ul a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; font-weight: 500; }
@media (hover: hover) { .site-foot ul a:hover { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 5px; } }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a {
  display: grid; place-items: center; width: 46px; height: 46px; border: 3px solid var(--cream); border-radius: var(--r-ctl);
  color: var(--cream); transition: transform .12s var(--ease), box-shadow .12s var(--ease), background-color .12s;
}
.socials svg { width: 21px; height: 21px; fill: currentColor; }
@media (hover: hover) { .socials a:hover { background: var(--sun); color: var(--ink); border-color: var(--sun); } }
.site-foot__base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px 30px; font-size: 15px; }
.site-foot__base::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); border-top: 2px solid rgba(246, 234, 210, .3); }

/* ---------- placeholders (until real screenshots/logos are in) ---------- */
.ph { display: grid; place-items: center; align-content: center; gap: 8px; aspect-ratio: 16 / 10; background: #E4E1DB; color: #4A4640; font: 600 15px/1.3 var(--f-b); text-align: center; padding: 12px; }
.case__phone .ph { aspect-ratio: 9 / 19; font-size: 12px; }
.ph .icon { width: 30px; height: 30px; stroke-width: 2; }
.logo-ph { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border: 2px dashed #8A857C; border-radius: 8px; color: #4A4640; font: 600 15px/1 var(--f-b); white-space: nowrap; }

/* ---------- small pieces ---------- */
.eyebrow--dark { background: var(--ink); color: var(--cream); border-color: var(--cream); }
.sec--results { padding-top: 0; }
.book-card__icon { width: 36px; height: 36px; stroke-width: 2.25; }
.service__icon { width: 28px; height: 28px; stroke-width: 2.25; }
.site-foot__place { display: inline-flex; align-items: center; min-height: 40px; }

/* ---------- reveal (opacity starts at .02, never 0, so LCP is not delayed) ---------- */
.js .reveal { opacity: .02; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .site-nav a { padding: 0 9px; font-size: 16px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .steps::before { display: none; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:last-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  :root { --head-h: 68px; }
  .site-nav { position: fixed; inset: var(--head-h) 0 auto 0; margin: 0; background: var(--cream); border-bottom: var(--line); padding: 12px var(--gut) 22px; display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 10px; }
  .site-nav a { display: flex; width: 100%; min-height: 54px; padding: 0 18px; border: var(--line); border-radius: var(--r-ctl); background: var(--white); font-size: 19px; }
  .site-nav a::after { display: none; }
  .about__text { order: -1; }
  .book-card { order: -1; }
  .menu-btn { display: grid; }
  .site-head__row { gap: 10px; }
  .site-head__cta { margin-left: auto; }
  .hero { padding-bottom: 96px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { width: min(78%, 380px); }
  .hero__stripes { display: none; }
  .hero__band { display: block; position: absolute; z-index: 1; left: 0; bottom: 28px; width: 100%; max-width: none; height: 92px; }
  .case { grid-template-columns: 1fr; }
  .case__stage, .case:nth-child(even) .case__stage { order: 0; min-height: 0; aspect-ratio: 16 / 11; border-left: 0; border-right: 0; border-bottom: var(--line); }
  /* work: a swipeable row instead of four tall cards stacked */
  .cases {
    display: flex; align-items: flex-start; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gut)); padding: 2px var(--gut) 20px; scroll-padding-inline: var(--gut);
    scrollbar-width: none;
  }
  .cases::-webkit-scrollbar { display: none; }
  .case { flex: 0 0 min(86%, 560px); grid-template-columns: minmax(0, 1fr); scroll-snap-align: start; }
  .case__actions .btn { white-space: normal; text-align: left; line-height: 1.2; }
  .js .case.reveal { opacity: 1; transform: none; }
  .case__body { padding: 22px 20px 24px; }
  .case__actions { margin-top: 4px; }
  .cases-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 4px; }
  .cases-nav__arrow { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: var(--line); border-radius: 50%; background: var(--white); box-shadow: var(--shadow); cursor: pointer; }
  .cases-nav__arrow .icon { width: 22px; height: 22px; stroke-width: 2.75; }
  .cases-nav__arrow--prev .icon { transform: rotate(180deg); }
  .cases-nav__arrow[aria-disabled="true"] { opacity: .35; box-shadow: none; cursor: default; }
  .cases-nav__arrow:not([aria-disabled="true"]):active { transform: translate(var(--sh), var(--sh)); box-shadow: none; }
  .case__actions .btn { padding-block: 8px; }
  .cases-nav__dots { display: flex; }
  .cases-nav__dot { display: grid; place-items: center; width: 28px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
  .cases-nav__dot::before { content: ""; width: 12px; height: 12px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--white); transition: width .2s var(--ease), background-color .2s; }
  .cases-nav__dot[aria-current="true"]::before { width: 26px; border-radius: 999px; background: var(--sun); }
  .stats { grid-template-columns: 1fr; gap: 26px; }
  .about, .faq { grid-template-columns: 1fr; }
  .faq__aside { position: static; }
  .contact__grid { grid-template-columns: 1fr; }
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
  .site-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .hero .eyebrow { font-size: 12.5px; letter-spacing: .08em; padding: 5px 12px; }
  .hero__trust { gap: 8px; }
  .hero__trust .chip { font-size: 14px; padding: 4px 11px; gap: 6px; }
  .logos__label { font-size: clamp(11px, 3.3vw, 15px); letter-spacing: .05em; }
  .zoom__chip { left: 10px; bottom: 10px; min-height: 36px; padding: 0 11px; font-size: 13.5px; }
  .case__body { gap: 12px; padding: 20px 18px 22px; }
  .case .h3 { font-size: 24px; }
  .case__summary { font-size: 17px; }
  .case .ticks { font-size: 16px; gap: 8px; }
  .casebox { width: calc(100vw - 16px); max-width: none; max-height: calc(100dvh - 16px); }
  .casebox__head { padding: 18px 16px 16px; }
  .casebox__body { padding: 20px 18px 24px; gap: 22px; }
  .casebox__foot { padding: 12px; gap: 10px; justify-content: stretch; }
  .casebox__foot .btn { flex: 1 1 auto; padding: 0 12px; font-size: 15px; gap: 7px; }
  .how { grid-template-columns: 1fr; gap: 22px; }
  .viewer { width: 100vw; height: 100dvh; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  .viewer__bar { padding: 8px 10px 8px 12px; gap: 8px; }
  .viewer__dots { display: none; }
  .viewer__url { flex-basis: 0; height: 38px; padding: 0 12px; font-size: 13.5px; line-height: 33px; }
  .seg button { min-height: 38px; padding: 0 12px; font-size: 14px; }
  .viewer__pages { flex: 1 1 100%; }
  .viewer__pages button { flex: 1; }
  .viewer[data-view="phone"] .viewer__scroll { width: 100%; border-inline: 0; }
  .viewer__hint { bottom: 14px; font-size: 14px; }
  .tracks__bar { gap: 10px; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .tab { min-height: 48px; padding: 0 10px; font-size: 16px; }
  .site-head__logo img.logo-grad { display: none; }
  .site-head__logo .logo-flat { display: block; width: 164px; }
  .btn { min-height: 54px; }
  .btn--sm { min-height: 44px; }
  .services { grid-template-columns: 1fr; }
  .service:last-child { grid-column: auto; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__tag { left: -6px; }
  .steps { grid-template-columns: 1fr; row-gap: 26px; }
  .steps::before { display: block; left: 24.5px; right: auto; top: 26px; bottom: 26px; width: 3px; height: auto; }
  .step { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; }
  .step__num { margin-bottom: 0; grid-row: span 2; }
  .form-grid { grid-template-columns: 1fr; }
  .marquee__group { gap: 14px; padding-right: 14px; }
  .logo-tile { height: 84px; min-width: 132px; padding: 0 18px; }
  .logo-tile img { width: calc(var(--w) * .78); height: calc(var(--h) * .78); }
  .site-foot__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 380px) {
  .site-head__logo .logo-flat { width: 148px; }
  .site-head__cta .label-long { display: none; }
  .results { padding-inline: 22px; }
  .stat__fig { font-size: clamp(30px, 10.6vw, 38px); }
}
@media (max-width: 340px) {
  .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab { white-space: normal; line-height: 1.15; padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* still rows people can swipe, instead of a wall of logos */
  .marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; scrollbar-width: none; overscroll-behavior-x: contain; }
  .marquee::-webkit-scrollbar { display: none; }
  .marquee__track { animation: none; display: flex; width: max-content; }
  .marquee__group { flex-wrap: nowrap; width: auto; padding: 0 16px; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .track:not([hidden]) { animation: none; }
  .textlink .icon, .site-nav a, .pick label, .socials a, .tab, .cases-nav__dot::before, .viewer__hint { transition: none; }
}

@media print {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none !important; }
  .site-head, .cases-nav, .zoom, .case__actions, dialog { display: none !important; }
}
