/* Achieve — Design System Tokens
 * Source: Claude Design "Achieve Design System" colors_and_type.css (project e3731786-9997-4592-889e-d07cc4f229b6)
 * Brand: orange (#FF770D) + black, with a light-blue accent (#84CCEB) used sparingly.
 * Voice: direct, a little snarky, humorous, but kind.
 */

/* Metric-matched fallback so the swap to Inter doesn't re-wrap headings and shift the page.
 * One face per weight: Inter's width vs Arial differs by weight (measured on the live site with
 * canvas measureText: 400 = 1.0645, 500 = 1.078, 600 = 1.012, 700 = 1.0245, 800 = 1.04). */
@font-face { font-family: 'Inter Fallback'; font-weight: 400; src: local('Arial'), local('Helvetica'), local('Liberation Sans'); size-adjust: 106.45%; ascent-override: 90.2%; descent-override: 22.48%; line-gap-override: 0%; }
@font-face { font-family: 'Inter Fallback'; font-weight: 500; src: local('Arial'), local('Helvetica'), local('Liberation Sans'); size-adjust: 107.8%; ascent-override: 90.2%; descent-override: 22.48%; line-gap-override: 0%; }
@font-face { font-family: 'Inter Fallback'; font-weight: 600; src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'), local('Liberation Sans Bold'); size-adjust: 101.2%; ascent-override: 90.2%; descent-override: 22.48%; line-gap-override: 0%; }
@font-face { font-family: 'Inter Fallback'; font-weight: 700; src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'), local('Liberation Sans Bold'); size-adjust: 102.45%; ascent-override: 90.2%; descent-override: 22.48%; line-gap-override: 0%; }
@font-face { font-family: 'Inter Fallback'; font-weight: 800; src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'), local('Liberation Sans Bold'); size-adjust: 104%; ascent-override: 90.2%; descent-override: 22.48%; line-gap-override: 0%; }

/* The font stylesheet is loaded as an async-swapped <link> in base.njk (preload + onload
 * flip to rel=stylesheet), not an @import here — an @import is invisible to the HTML
 * preload scanner and is always render-blocking, which was pushing LCP past budget (see
 * Lighthouse's render-blocking-insight audit). */

:root {
  /* ---------- Brand core ---------- */
  --orange:         #FF770D;   /* signature: the swoosh, the BS badge, primary CTA */
  --orange-600:     #E56A08;   /* hover */
  --orange-700:     #B85205;   /* press / dark-bg variant */
  --orange-text:   #AB4C05;   /* orange for small text: 4.6:1 or better on paper, paper-2, white and the orange tints (WCAG AA) */
  --orange-100:     #FFE6D0;   /* tint / soft background */
  --orange-50:      #FFF3E6;   /* very soft tint */

  --black:          #1A1A1A;   /* wordmark black, never pure #000 */
  --black-soft:     #2A2A2A;   /* cards on dark mode, hover on black */
  --charcoal:       #3D3D3D;   /* body on light, secondary on dark */

  /* ---------- Accent (sparingly) ---------- */
  --sky:            #84CCEB;
  --sky-a:          rgba(132, 204, 235, 0.64);
  --sky-100:        #E6F4FB;
  --sky-600:        #4FB0D8;

  /* ---------- Neutrals (warm, paper-ish) ---------- */
  --paper:          #FAFAF7;    /* page background */
  --paper-2:        #F3F2ED;    /* sunken sections */
  --paper-3:        #E8E6DF;    /* borders / dividers */

  --ink:            #1A1A1A;
  --ink-2:          #4A4A4A;
  --ink-3:          #6E6E6E;
  --ink-4:          #9A9A9A;

  --white:          #FFFFFF;

  /* ---------- Semantic status (product UI only) ---------- */
  --success:        #1F8A4C;
  --success-bg:     #E4F2EA;
  --warning:        #C97A0B;
  --warning-bg:     #FCEFD7;
  --danger:         #C43D2C;
  --danger-bg:      #F7E1DD;
  --info:           var(--sky-600);
  --info-bg:        var(--sky-100);

  /* ---------- Surface semantic ---------- */
  --bg:             var(--paper);
  --surface:        var(--white);
  --surface-sunken: var(--paper-2);
  --border:         var(--paper-3);
  --border-strong:  #D3D1C8;

  --fg:             var(--ink);
  --fg-2:           var(--ink-2);
  --fg-3:           var(--ink-3);
  --fg-4:           var(--ink-4);
  --fg-inverse:     var(--white);

  /* ---------- Radii ---------- */
  --radius-xs:   4px;
  --radius-sm:   6px;
  --radius-md:   10px;   /* buttons, inputs */
  --radius-lg:   14px;   /* cards */
  --radius-xl:   20px;   /* hero elements */
  --radius-pill: 999px;

  /* ---------- Shadows (warm, soft) ---------- */
  --shadow-xs: 0 1px 2px rgba(26, 26, 26, 0.05);
  --shadow-sm: 0 2px 6px rgba(26, 26, 26, 0.06), 0 1px 2px rgba(26, 26, 26, 0.04);
  --shadow-md: 0 6px 18px rgba(26, 26, 26, 0.08), 0 2px 4px rgba(26, 26, 26, 0.04);
  --shadow-lg: 0 14px 36px rgba(26, 26, 26, 0.12), 0 4px 10px rgba(26, 26, 26, 0.06);
  --shadow-orange: 0 6px 20px rgba(255, 119, 13, 0.30);

  /* ---------- Spacing (4px base) ---------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* ---------- Type families ---------- */
  --font-sans:    'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Inter', 'Inter Fallback', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* ---------- Type scale ---------- */
  --text-xs:   12px;
  --text-sm:   14px;
  --text-base: 16px;
  --text-md:   18px;
  --text-lg:   20px;
  --text-xl:   24px;
  --text-2xl:  30px;
  --text-3xl:  38px;
  --text-4xl:  48px;
  --text-5xl:  64px;
  --text-6xl:  84px;

  --leading-tight:  1.1;
  --leading-snug:   1.25;
  --leading-normal: 1.55;
  --leading-loose:  1.75;

  --tracking-tight: -0.022em;
  --tracking-snug:  -0.012em;
  --tracking-wide:  0.08em;
}

/* ---------- Base ---------- */
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }

/* ---------- Semantic type ---------- */
.display, .h-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 7vw, var(--text-6xl));
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
  margin: 0 0 var(--space-5);
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, var(--text-4xl));
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 var(--space-5);
  text-wrap: balance;
}
h2, .h2 {
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, var(--text-3xl));
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-snug);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h3, .h3 {
  font-weight: 700;
  font-size: var(--text-2xl);
  line-height: var(--leading-snug);
  margin: 0 0 var(--space-3);
}
h4, .h4 {
  font-weight: 600;
  font-size: var(--text-xl);
  line-height: var(--leading-snug);
  margin: 0 0 var(--space-3);
}
h5, .h5 {
  font-weight: 600;
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
  margin: 0 0 var(--space-2);
}

.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--orange-text);
  margin: 0 0 var(--space-3);
}

p, .p {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  margin: 0 0 var(--space-4);
  text-wrap: pretty;
}
.lead {
  font-size: var(--text-md);
  line-height: var(--leading-loose);
  color: var(--fg-2);
}
.small { font-size: var(--text-sm); }
.tiny  { font-size: var(--text-xs); }
.muted { color: var(--fg-3); }
.faint { color: var(--fg-4); }

code, kbd, .mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease, transform 80ms ease, box-shadow 160ms ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-600); }
.btn-primary:active { background: var(--orange-700); }

.btn-secondary { background: var(--black); color: var(--white); }
.btn-secondary:hover { background: var(--black-soft); }

.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--paper-2); }

.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-lg { height: 52px; padding: 0 26px; font-size: var(--text-md); }

/* ---------- Badges / pills ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge-orange  { background: var(--orange-100); color: var(--orange-700); }
.badge-sky     { background: var(--sky-100); color: var(--sky-600); }
.badge-neutral { background: var(--paper-2); color: var(--fg-2); }
.badge-dark    { background: var(--black); color: var(--white); }

/* ---------- Card ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  padding: var(--space-5);
}
.card-lift { transition: box-shadow 200ms ease, border-color 200ms ease; }
.card-lift:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }

/* ---------- Input ---------- */
.input, .textarea, .select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--fg);
  font: inherit;
  font-size: var(--text-sm);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.textarea { height: auto; padding: 12px 14px; min-height: 140px; }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 119, 13, 0.20);
}
.label { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--fg-2); margin-bottom: 6px; }

/* ---------- Link ---------- */
.link {
  color: var(--orange-700);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease;
}
.link:hover { border-bottom-color: var(--orange); }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ---------- Dark-mode variant (hero/marketing sections) ---------- */
.on-dark { background: var(--black); color: var(--white); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark .display { color: var(--white); }
.on-dark .muted { color: rgba(255, 255, 255, 0.65); }
.on-dark .card { background: var(--black-soft); border-color: rgba(255, 255, 255, 0.10); color: var(--white); }
.on-dark .btn-outline { color: var(--white); border-color: var(--white); }
.on-dark .btn-outline:hover { background: var(--white); color: var(--black); }
.on-dark .link { color: var(--orange); }

/* ---------- Swoosh utility (brand motif) ---------- */
.swoosh { position: relative; display: inline-block; isolation: isolate; }
.swoosh::after {
  content: "";
  position: absolute;
  left: -4%; right: -4%; bottom: 6%;
  height: 0.18em;
  background: var(--orange);
  border-radius: 999px;
  transform: rotate(-3deg);
  z-index: -1;
}

/* ---------- Achieve BS additions (2026-09) ---------- */
.badge-bs {
  display: inline-grid; place-items: center;
  background: var(--orange); color: var(--white);
  font-weight: 800; letter-spacing: -0.02em;
  border-radius: 18%; aspect-ratio: 1; padding: 0 0.28em;
}
:root { --nav-h: 72px; --content-max: 1200px; --section-gap: var(--space-9); }
@media (max-width: 48rem) { :root { --section-gap: var(--space-8); } }

.wrap { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--space-5); }
section.block { padding-block: var(--section-gap); }
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(250,250,247,.92); transition: background 200ms, color 200ms; }
.nav.is-scrolled { background: rgba(26,26,26,.88); color: var(--white); backdrop-filter: blur(8px); }
.nav.is-scrolled a { color: var(--white); }
.nav.is-scrolled .nav-sub a { color: var(--ink); }
.nav-inner { max-width: var(--content-max); margin: 0 auto; height: 100%; display: flex; align-items: center; gap: var(--space-6); padding: 0 var(--space-5); }
.nav-list { display: flex; gap: var(--space-5); list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-list a { color: inherit; text-decoration: none; font-weight: 600; font-size: var(--text-sm); }
.has-children { position: relative; }
.nav-sub { position: absolute; top: 100%; left: 0; display: none; min-width: 240px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-2); list-style: none; }
.has-children:hover .nav-sub, .has-children:focus-within .nav-sub { display: block; }
.nav-sub a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--ink); }
.nav-sub a:hover { background: var(--paper-2); }
.nav-toggle { display: none; }
body.nav-open .nav-list { display: grid; position: fixed; inset: var(--nav-h) 0 0 0; background: var(--paper); padding: var(--space-6); align-content: start; gap: var(--space-4); }
body.nav-open .nav-sub { display: block; position: static; box-shadow: none; border: 0; background: transparent; padding-left: var(--space-4); }
body.nav-open .nav-cta { display: inline-flex; position: fixed; left: var(--space-6); right: var(--space-6); bottom: var(--space-7); z-index: 51; justify-content: center; }
.nav-logo { flex: 0 0 auto; display: inline-flex; }
body.nav-open .nav-list { z-index: 50; }
@media (max-width: 60rem) { .nav-list, .nav-cta { display: none; } .nav-toggle { display: inline-flex; margin-left: auto; } }
.footer { padding: var(--space-9) 0 var(--space-6); }
.footer-inner { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--space-5); display: grid; gap: var(--space-7); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--space-6); }
.footer .footer-heading { font-size: var(--text-sm); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--orange); }
.footer ul { list-style: none; padding: 0; margin: 0; } .footer li { margin: 6px 0; }
.footer a { color: var(--white); text-decoration: none; } .footer a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; font-size: var(--text-sm); color: rgba(255,255,255,.65); border-top: 1px solid rgba(255,255,255,.1); padding-top: var(--space-5); }
.footer-quiet { color: rgba(255,255,255,.5) !important; font-size: var(--text-xs); }
.cta-audit-inner { display: grid; gap: var(--space-4); max-width: 44rem; }
.cta-audit .lead { color: rgba(255,255,255,.75); }
.cta-row { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.cta-count { background: rgba(255,255,255,.1); color: var(--white); }
/* Sections start visible. motion.js hides only the ones still below the fold when it runs (.reveal-pending),
   so nothing on the first screen waits for GSAP, and without JS everything simply shows. */
[data-reveal].reveal-pending { opacity: 0; transform: translateY(12px); }
[data-reveal].is-in, .no-motion [data-reveal] { opacity: 1; transform: none; transition: opacity 300ms cubic-bezier(.4,0,.2,1), transform 300ms cubic-bezier(.4,0,.2,1); }
.hero { min-height: calc(100vh - var(--nav-h)); display: grid; align-content: center; gap: var(--space-6); padding: var(--space-8) 0; }
.hero-h1 { display: block; }
.hero-inner { width: 100%; } /* margin auto on a grid item would otherwise shrink it to its text width */
.hero-line1 { display: block; }
.hero-line2 { display: block; color: var(--ink-3); font-weight: 700; }
.hero-bs { position: relative; display: inline-block; isolation: isolate; }
.hero-bs-swoosh { position: absolute; left: -3%; bottom: -0.28em; width: 106%; height: 0.5em; z-index: -1; fill: var(--orange); overflow: visible; }
.no-motion .hero-word, .no-motion .hero-line2 { opacity: 1 !important; transform: none !important; }
/* Home hero holds at the top for 45% of a screen of scroll while motion.js scrubs its timeline.
   Sticky, not ScrollTrigger's pin: the pin moved the hero into a new .pin-spacer after first paint,
   which rebuilt the lead's boxes and made Chrome record it as a new, later LCP. The ::after is the
   scroll room (sticky only travels within its parent's content box); no motion, no room. */
.hero-pin > .hero { position: sticky; top: 0; }
.hero-pin::after { content: ''; display: block; height: 45vh; height: 45svh; }
.no-motion .hero-pin::after { display: none; }
@media (prefers-reduced-motion: reduce) { .hero-pin::after { display: none; } }
.trust-strip { display: flex; gap: var(--space-5); flex-wrap: wrap; list-style: none; padding: 0; margin: 0; font-size: var(--text-sm); color: var(--ink-3); }
.hero .trust-strip { width: 100%; margin: 0 auto; padding: 0 var(--space-5); }
.trust-strip li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-right: 8px; }
.prose-3col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-6); }
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-5); }
.cards-3 .card { text-decoration: none; color: inherit; display: grid; gap: var(--space-2); }
.steps-inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: start; }
.steps-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 40vh; }
.steps-list li { opacity: .45; transition: opacity 200ms; } .steps-list li.is-active, .no-motion .steps-list li { opacity: 1; }
.steps-visual { display: grid; place-items: center; height: 60vh; }
.steps-num { font-size: clamp(120px, 24vw, 280px); font-weight: 800; color: var(--orange); line-height: 1; }
@media (max-width: 60rem) { .steps-inner { grid-template-columns: 1fr; } .steps-list { gap: var(--space-7); } .steps-list li { opacity: 1; } .steps-visual { display: none; } }
.results { width: 100%; border-collapse: collapse; margin: var(--space-5) 0; }
.results th, .results td { padding: 12px 8px; border-bottom: 1px solid var(--border); text-align: left; }
.results td:not(:first-child) { font-family: var(--font-mono); font-weight: 600; color: var(--orange-700); }
/* Testimonials: a rail the reader moves. Deliberately not auto-advancing — nobody
   finishes reading a quote that slides away on a timer. Arrows are progressive
   enhancement; the rail is a native overflow scroller, so touch, trackpad and the
   keyboard (it takes focus) all work with JS off. */
.testimonial-scroller { position: relative; }
.testimonials {
  display: flex; gap: var(--space-5); margin: 0;
  /* Top padding leaves room for the reveal's y:22 offset so it can't clip. */
  padding: 4px 0 var(--space-4); list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent;
}
.testimonials > li { flex: 0 0 min(340px, 82%); scroll-snap-align: start; display: flex; }
.testimonials:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: var(--radius-lg); }
.testimonials::-webkit-scrollbar { height: 6px; }
.testimonials::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: var(--radius-pill); }
.testimonial { flex: 1; display: flex; flex-direction: column; margin: 0; }
.testimonial blockquote { margin: 0 0 var(--space-3); } .testimonial figcaption { margin-top: auto; font-weight: 600; color: var(--ink-2); }
/* Hidden until the script confirms the rail actually overflows. */
.testimonial-controls { display: none; gap: 8px; justify-content: flex-end; margin-bottom: var(--space-3); }
.testimonial-scroller.is-scrollable .testimonial-controls { display: flex; }
.scroll-btn {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong); border-radius: var(--radius-pill);
  background: var(--surface); color: var(--fg); cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}
.scroll-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scroll-btn:hover:not(:disabled) { border-color: var(--orange); color: var(--orange); }
.scroll-btn:disabled { opacity: .35; cursor: default; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); } @media (max-width: 60rem) { .two-col { grid-template-columns: 1fr; } }
.list-check, .list-x { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.list-check li::before { content: "\2713"; color: var(--orange); font-weight: 800; margin-right: 10px; }
.list-x li::before { content: "\2715"; color: var(--ink-4); font-weight: 800; margin-right: 10px; }
.faq { border-bottom: 1px solid var(--border); padding: var(--space-3) 0; } .faq summary { font-weight: 600; cursor: pointer; }
.pricing-band strong { color: var(--orange-700); }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-5); }

.filters { display:flex; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-6); }
.filters .is-active { background: var(--black); color: var(--white); }
.work-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: var(--space-5); }
.work-card { text-decoration:none; color:inherit; display:grid; gap: var(--space-2); }
.work-card[hidden] { display: none; } /* display:grid above would otherwise beat the UA [hidden] rule and the filters do nothing */

.facts { display:flex; flex-wrap:wrap; gap: var(--space-3); list-style:none; padding:0; margin: var(--space-5) 0; }
.facts li { background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-pill); padding: 6px 12px; font-size: var(--text-sm); }

.form { display:grid; gap: var(--space-4); max-width: 36rem; }
.form-row { display:grid; gap: 6px; }
.form-status { font-weight:600; }
.form-status.is-ok { color: var(--success); }
.form-status.is-err { color: var(--danger); }

.prose img { max-width: 100%; height: auto; border-radius: var(--radius-lg); }
.prose { max-width: 44rem; }

/* Logo swap on the dark nav state; footer always uses the white wordmark */
.nav-logo .logo-dark { display: none; }
.nav.is-scrolled .logo-light { display: none; }
.nav.is-scrolled .logo-dark { display: inline; }

/* Mobile overflow guards: media, embeds, code, tables (sweep 2026-09-05) */
img, video { max-width: 100%; height: auto; }
iframe { max-width: 100%; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.pay-card-frame iframe { aspect-ratio: auto; height: 168px; display: block; }
.prose pre, .prose code { white-space: pre-wrap; overflow-wrap: anywhere; }
.prose pre { overflow-x: auto; }
.prose a, .prose strong { overflow-wrap: anywhere; }
.prose table, .results { display: block; max-width: 100%; overflow-x: auto; }
.prose { overflow-wrap: anywhere; }
.prose pre { max-width: 100%; }

/* ==========================================================================
   Visual system (2026-09-08): the swoosh as an abstract, scroll-drawn motif.
   Flat fills only (paper-2, orange-50/100, black), one orange stroke, drawn
   once. Layers sit behind content, full-bleed, and are clipped to the page.
   ========================================================================== */
html { overflow-x: clip; }
.has-mark { position: relative; isolation: isolate; }
.has-mark > *:not(.mark) { position: relative; z-index: 1; }
.mark { position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw + var(--sbw, 0px) / 2); width: calc(100vw - var(--sbw, 0px)); overflow: hidden; pointer-events: none; z-index: 0; }
.mark-svg { position: absolute; display: block; overflow: visible; }
.mark-inner { position: absolute; inset: 0; }
.mark-fill { fill: var(--orange-100); }
.mark-line { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mark-area { fill: var(--orange-50); }
.mark-dot { fill: var(--orange); }
.mark-dot-sky { fill: var(--sky); }

/* hero: big swoosh bleeding off the right, spine drawn on load */
.mark-hero .mark-swoosh { right: -30vw; top: 2%; width: min(60vw, 900px); }
.hero .lead { max-width: 44rem; }
.hero .hero-for { margin-top: calc(-1 * var(--space-2)); font-size: var(--text-base); color: var(--ink-3); }
.pillar-hero .mark-swoosh, .work-hero .mark-swoosh, .case-study .mark-swoosh, .project .mark-swoosh { right: -14vw; top: -16%; width: min(40vw, 600px); }
.pillar-hero .lead, .work-hero .lead, .case-study .lead, .project .lead { max-width: 44rem; }
@media (max-width: 60rem) { .mark-dot-sky { display: none; } .mark-hero .mark-swoosh { right: -52vw; top: -4%; width: 110vw; } .pillar-hero .mark-swoosh, .work-hero .mark-swoosh, .case-study .mark-swoosh, .project .mark-swoosh { right: -46vw; top: -12%; width: 96vw; } .pillar-hero .mark-line, .work-hero .mark-line, .case-study .mark-line, .project .mark-line { display: none; } }

/* arc: a single rising stroke across the right of a text section */
.mark-arc .mark-arc { right: 3vw; top: -8%; height: 120%; width: auto; opacity: .55; }
@media (max-width: 60rem) { .mark-arc .mark-arc { display: none; } }

/* growth: curve + area on the right half of the proof section */
.mark-growth .mark-growth { right: 4vw; bottom: 8%; width: min(44vw, 640px); }
@media (max-width: 60rem) { .mark-growth .mark-growth { display: none; } }

/* block: oversized badge square, faint, off the left edge */
.mark-square { position: absolute; left: -14vmin; top: 50%; width: 46vmin; height: 46vmin; margin-top: -23vmin; background: var(--orange-50); border-radius: 18%; transform: rotate(-8deg); }

/* faint: white swoosh on dark sections */
.mark-swoosh-faint { right: -8vw; bottom: -12%; width: min(56vw, 860px); }
.mark-swoosh-faint .mark-fill { fill: rgba(255,255,255,.045); }

/* swoosh divider: paper above, black rising to the right, orange edge drawn on scroll */
.divider-swoosh { display: block; height: clamp(44px, 8vw, 120px); background: var(--paper); line-height: 0; }
.divider-swoosh svg { width: 100%; height: 100%; display: block; overflow: visible; }
.divider-fill { fill: var(--black); }
.divider-line { fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.band + .divider-swoosh, .divider-swoosh.on-band { background: var(--paper-2); }

/* sunken band behind a section, full-bleed */
.band { position: relative; isolation: isolate; } /* own stacking context, or the ::before at z-index -1 paints under the body background */
.band::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw + var(--sbw, 0px) / 2); width: calc(100vw - var(--sbw, 0px)); background: var(--paper-2); z-index: -1; }

/* steps: orange ring fills as the three steps scroll */
.steps-visual { position: relative; }
.steps-ring { position: absolute; width: min(60vh, 34vw); height: min(60vh, 34vw); left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); }
.ring-track { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 1.2; }
.ring-fill { fill: none; stroke: var(--orange); stroke-width: 1.6; stroke-linecap: round; }
.steps-num { position: relative; }

/* headings reveal word by word */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
.wi { display: inline-block; will-change: transform; }
.no-motion .wi { transform: none !important; }

/* swoosh underline draws on reveal */
.swoosh::after { bottom: 3%; height: .16em; transform-origin: 0 50%; transform: rotate(-1.2deg) scaleX(0); transition: transform 700ms cubic-bezier(.2,.7,.2,1) 350ms; }
.is-in .swoosh::after, .no-motion .swoosh::after { transform: rotate(-1.2deg) scaleX(1); }
.swoosh-long::after { bottom: -10%; height: .13em; transform: rotate(-.5deg) scaleX(0); }
.is-in .swoosh-long::after, .no-motion .swoosh-long::after { transform: rotate(-.5deg) scaleX(1); }

/* nav progress line */
.nav-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* client marquee */
.marquee { overflow: hidden; margin-top: var(--space-6); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { white-space: nowrap; padding-right: var(--space-7); font-size: var(--text-sm); color: var(--ink-3); }
.marquee-track span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-right: 12px; vertical-align: middle; opacity: .8; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; } .marquee { mask-image: none; -webkit-mask-image: none; } .marquee-track [aria-hidden] { display: none; } }

/* no-JS / reduced motion: everything static and visible */
.no-motion .mark-line, .no-motion .divider-line, .no-motion .ring-fill { stroke-dashoffset: 0 !important; stroke-dasharray: none !important; }

/* ---- round 2 (2026-09-08): tapered divider edge, bottom divider, wash on bands, right block, rules, footer ---- */
.divider-taper { fill: var(--orange); }
.divider-line { display: none; }
@media (max-width: 60rem) { .divider-taper { display: none; } .divider-line { display: block; } }
.divider-flip { margin-top: -1px; }
.mark-wash .mark-swoosh { left: -16vw; bottom: -24%; width: min(50vw, 720px); opacity: .55; }
.mark-wash .mark-fill { fill: var(--orange-100); }
@media (max-width: 60rem) { .mark-wash .mark-swoosh { left: -40vw; bottom: -6%; width: 90vw; opacity: .45; } }
.mark-blockr .mark-square { left: auto; right: -14vmin; transform: rotate(6deg); }
.prose-3col > p::before { content: ""; display: block; width: 48px; height: 3px; border-radius: 2px; background: var(--orange); margin-bottom: var(--space-4); transform: scaleX(0); transform-origin: 0 50%; transition: transform 600ms cubic-bezier(.2,.7,.2,1) 250ms; }
.prose-3col > p:nth-child(2)::before { transition-delay: 370ms; } .prose-3col > p:nth-child(3)::before { transition-delay: 490ms; }
.is-in .prose-3col > p::before, .no-motion .prose-3col > p::before { transform: scaleX(1); }
.footer .mark-swoosh-faint { right: -10vw; bottom: -30%; width: min(48vw, 720px); }

/* client logo marquee + team photos (2026-09-08) */
.logo-marquee .marquee-track { align-items: center; animation-duration: 70s; }
.logo-marquee .logo-cell { display: inline-flex; align-items: center; justify-content: center; width: 150px; height: 40px; margin-right: var(--space-7); padding: 0; flex: 0 0 auto; } /* fixed cells: lazy images can't shift the track */
.logo-marquee .logo-cell::before { content: none; }
.logo-marquee img { height: 40px; width: 150px; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1); opacity: .85; transition: filter 200ms, opacity 200ms; }
.logo-marquee:hover img { filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .logo-marquee .marquee-track { gap: var(--space-5); } }
.card-person { display: grid; gap: var(--space-2); }
.card-person .avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--paper-2); margin-bottom: var(--space-2); }

/* ---- Sky accent (the AchieveIT light blue), mixed in a little more: 2026-09-23 ---- */
.trust-strip li:nth-child(2)::before { background: var(--sky); }
.hero .hero-for { border-left: 3px solid var(--sky); padding-left: 12px; }
.card-lift:hover { border-color: var(--sky-600); }
.link:hover { border-bottom-color: var(--sky-600); }
.footer a:hover { color: var(--sky); }
.testimonial blockquote::before { content: "\201C"; display: block; font-size: 56px; line-height: .55; font-weight: 800; color: var(--sky); margin-bottom: 10px; }
.ring-track { stroke: rgba(132,204,235,.22); }
.cta-count { background: var(--sky-100); color: var(--black); }
.filters .btn-ghost:not(.is-active):hover { border-color: var(--sky-600); color: var(--black); }
.results th:not(:first-child) { color: var(--sky-600); }

/* ---- /free/: near-blank for a beat, then the lines arrive (2026-09-23) ---- */
.free-reveal { min-height: calc(100svh - 72px); display: grid; align-content: center; justify-items: start; gap: var(--space-4); position: relative; padding-block: var(--space-8); }
.free-lines { display: grid; gap: var(--space-3); max-width: 40rem; }
.free-lines h1 { margin: 0; }
.free-lines p { margin: 0; font-size: var(--text-xl); line-height: 1.3; color: var(--ink-2); text-wrap: balance; }
.free-lines p strong { color: var(--orange); font-weight: 800; }
.free-line { opacity: 0; transform: translateY(14px); animation: free-rise 700ms cubic-bezier(.2,.7,.2,1) forwards; }
.free-line-1 { animation-delay: 1.1s; }
.free-line-2 { animation-delay: 2.4s; }
.free-line-3 { animation-delay: 3.6s; }
.free-line-4 { animation-delay: 4.9s; }
.free-line-5 { animation-delay: 6.2s; }
.free-reveal .swoosh::after { transition: none; animation: free-swoosh 700ms cubic-bezier(.2,.7,.2,1) 4.3s forwards; }
@keyframes free-swoosh { to { transform: rotate(-1.2deg) scaleX(1); } }
.free-cue { position: absolute; left: 50%; bottom: var(--space-6); translate: -50% 0; color: var(--ink-3); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-strong); }
.free-cue:hover { color: var(--black); border-color: var(--sky-600); }
.free-cue svg { animation: free-bob 1.6s ease-in-out infinite; animation-delay: 7s; }
@keyframes free-rise { to { opacity: 1; transform: none; } }
@keyframes free-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .free-line { opacity: 1; transform: none; animation: none; } .free-cue svg { animation: none; } .free-reveal .swoosh::after { animation: none; transform: rotate(-1.2deg) scaleX(1); } }

/* ---- Card system v2 (2026-09-24): square panels with the logo swoosh swept through the bottom-right corner (B),
   Work page as a ledger (C), fact tags as underlined words (E). The corner is two pseudo-elements: ::after paints the
   page colour over the corner along the swoosh curve (the "bite", with a hairline continuing the border), ::before is a
   swoosh sliver on the card side of the curve that slides in on hover. Cards on a paper-2 band swap --bite-svg. ---- */
.card { border-radius: 0; box-shadow: none; border-color: var(--border-strong); position: relative;
  --bite-svg: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 48'><path d='M-1,49 L-1,48 C26,10 60,0.5 85,-1 L85,49 Z' fill='%23FAFAF7'/><path d='M0,48 C26,10 60,0.5 84,0' fill='none' stroke='%23D3D1C8' stroke-width='1'/></svg>");
  --swoosh-svg: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 48'><path d='M0,48 C26,10 60,0.5 84,0 C64,-3 26,2 0,32 Z' fill='%23FF770D'/></svg>"); }
.band .card { --bite-svg: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 48'><path d='M-1,49 L-1,48 C26,10 60,0.5 85,-1 L85,49 Z' fill='%23F3F2ED'/><path d='M0,48 C26,10 60,0.5 84,0' fill='none' stroke='%23D3D1C8' stroke-width='1'/></svg>"); }
.testimonial.card { --swoosh-svg: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 48'><path d='M0,48 C26,10 60,0.5 84,0 C64,-3 26,2 0,32 Z' fill='%2384CCEB'/></svg>"); }
.card::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 84px; height: 48px; background: var(--bite-svg) no-repeat 0 0 / 100% 100%; pointer-events: none; }
.card::before { content: ""; position: absolute; right: -1px; bottom: -1px; width: 84px; height: 48px; background: var(--swoosh-svg) no-repeat 20px 14px / 100% 100%; transition: background-position 420ms cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.card:hover::before, .card:focus-visible::before { background-position: 0 0; }
.card-lift:hover { box-shadow: none; border-color: var(--black); }
@media (prefers-reduced-motion: reduce) { .card::before { transition: none; } }

/* C. Work page ledger */
.work-grid { display: block; }
.work-card { grid-template-columns: 11rem minmax(0, 1fr); gap: 6px 32px; padding: 22px 0; background: transparent; border: 0; border-bottom: 1px solid var(--border-strong); transition: background 200ms ease, padding-left 250ms cubic-bezier(.2,.7,.2,1); }
.work-card:first-child { border-top: 1px solid var(--black); }
.work-card:hover { background: var(--paper-2); padding-left: 14px; border-color: var(--border-strong); }
.work-card .eyebrow { grid-row: 1 / span 3; margin: 4px 0 0; }
.work-card::before, .work-card::after { content: none; }
@media (max-width: 48rem) { .work-card { grid-template-columns: 1fr; gap: 6px; } .work-card .eyebrow { grid-row: auto; } }

/* E. Fact tags as underlined words, alternating orange and sky */
.facts { gap: 10px 22px; }
.facts li { background: none; border: 0; border-radius: 0; padding: 4px 0; border-bottom: 2px solid var(--orange); color: var(--ink-2); }
.facts li:nth-child(2n) { border-bottom-color: var(--sky); }

/* ---- Home copy round 11 (2026-09-30): sky checkmarks on the service cards, verification badge in the trust strip ---- */
.cards-3 .card p.check { display: flex; gap: 8px; align-items: flex-start; }
.cards-3 .card p.check::before { content: "\2713"; color: var(--sky-600); font-weight: 800; flex-shrink: 0; line-height: inherit; }
.trust-strip .trust-badge { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); }
.trust-strip .trust-badge::before { display: none; }
.trust-strip .trust-badge svg { flex-shrink: 0; }
.trust-strip .trust-sep { color: var(--ink-4); margin: 0 2px; }

/* Case-study screenshots: desktop capture with the phone capture beside it. */
.project figure { margin: var(--space-6) 0; }
.shots { display: grid; grid-template-columns: 1fr minmax(120px, 22%); gap: var(--space-5); align-items: end; margin: var(--space-6) 0; }
.shots img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.shots figcaption { grid-column: 1 / -1; }
@media (max-width: 40rem) { .shots { grid-template-columns: 1fr 34%; gap: var(--space-3); } }
