/* ==========================================================================
   Clayton Method — site.css
   Layout system: Awesomic (Refero style 8512e28d) — geometry, density, rhythm
   Brand system:  Clayton Method — color + typography roles
   Rule of the system: hairline borders instead of shadows, generous rounding,
   compact UI text, one restrained accent (Champagne), pure WHITE canvas,
   Cormorant Garamond BOLD (700) display + Instrument Sans body - Cassie's
   final pick: Cormorant must always run bold, never its light weights
   (green + white primaries, gold accents only - per Cassie 2026-08-29).
   ========================================================================== */

:root {
  /* ---- Brand palette (Clayton Method) mapped onto Awesomic roles ---- */
  --ink: #0E1310;            /* obsidian role: display headlines, dominant text */
  --forest-deep: #0B2419;    /* deep-dark role: dark feature bands, footer */
  --forest: #133D2E;         /* dark-surface + primary-CTA role */
  --forest-lift: #1A4C3A;    /* hover state for forest fills */
  --slate: #4A5650;          /* graphite/iron role: body text, labels */
  --fog: #6E7772;            /* fog role: helper text, metadata (4.5:1+ on white) */
  --ash: #A8AEA8;            /* ash role: placeholder text, light strokes */
  --champagne: #C9A961;      /* ember role: THE accent — badges, arrows, marks */
  --brass: #A6822F;          /* small type accents: eyebrows, dividers */
  --cream: #F2F5F3;          /* whisper-light green tint for recessed fills */
  --paper: #FFFFFF;          /* canvas - pure white, always */
  --snow: #FFFFFF;           /* cards, elevated surfaces */
  --warm-white: #FFFFFF;     /* text on dark fills */

  /* ---- Structural neutrals (cloud/mist roles, warmed to the canvas) ---- */
  --hairline: #E5E9E6;               /* primary 1px border everywhere */
  --hairline-soft: #EFF2EF;          /* faint rules inside cards */
  --hairline-on-dark: rgba(255, 255, 255, 0.16);
  --subtle-card: #FAFCFA;            /* recessed surface within content */

  /* ---- Typography ---- */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Instrument Sans', 'Inter Tight', ui-sans-serif, system-ui,
    -apple-system, 'Segoe UI', Roboto, sans-serif;

  --text-display: clamp(42px, 6vw, 70px);   /* hero */
  --leading-display: 1.06;
  --text-heading: clamp(33px, 4vw, 46px);   /* section titles */
  --leading-heading: 1.1;
  --text-heading-sm: clamp(27px, 3vw, 33px);
  --leading-heading-sm: 1.15;
  --text-subheading: 20px;
  --leading-subheading: 1.4;
  --text-body-lg: 18px;
  --leading-body-lg: 1.65;
  --text-body: 15px;
  --leading-body: 1.62;
  --text-ui: 14px;
  --text-caption: 12px;
  --leading-caption: 1.6;

  /* ---- Geometry ---- */
  --radius-cards: 18px;
  --radius-cards-sm: 14px;
  --radius-buttons: 7px;
  --radius-inputs: 7px;
  --radius-badges: 6px;
  --radius-pills: 10000px;
  --radius-media: 12px;

  /* ---- Layout ---- */
  --page-max: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --bleed-inset: max(var(--gutter), calc((100vw - var(--page-max)) / 2 + var(--gutter)));
  --section-gap: clamp(64px, 9vw, 112px);
  --card-pad: 28px;

  /* ---- Elevation ---- */
  --shadow-overlay: 0 12px 32px rgba(14, 19, 16, 0.10), 0 2px 8px rgba(14, 19, 16, 0.05);
  --shadow-btn: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 4px 6px rgba(11, 36, 25, 0.16);
  --shadow-card: 0 1px 2px rgba(14, 19, 16, 0.04), 0 10px 24px rgba(14, 19, 16, 0.06);
  --shadow-card-hover: 0 2px 4px rgba(14, 19, 16, 0.05), 0 18px 36px rgba(14, 19, 16, 0.10);
}

/* ==========================================================================
   Reset + base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--slate);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

::selection { background: var(--cream); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.container {
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: calc(var(--section-gap) / 2); }
.section-tight { padding-block: clamp(16px, 2vw, 28px); }
.section-cream { background: var(--cream); }
.section-first { padding-top: clamp(40px, 6vw, 72px); }

.section-head {
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head.centered { margin-inline: auto; text-align: center; }

/* ---- Type roles ---- */

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-display);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-heading);
  line-height: 1.08;
  letter-spacing: -0.008em;
}

.heading-sm {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-heading-sm);
  line-height: 1.12;
  letter-spacing: -0.006em;
}

.subheading {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 19px;
  line-height: var(--leading-subheading);
  letter-spacing: -0.01em;
  color: var(--ink);
}

.card-label {
  display: block;
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
}

/* Services index: discipline summary cards */
.disc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 16px;
}
.disc-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.disc-card-head {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}
.disc-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--brass);
}
.disc-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-heading-sm);
  line-height: 1.12;
  letter-spacing: -0.006em;
  color: var(--ink);
  text-align: left;
}
.disc-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.disc-list-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  column-gap: 20px;
  row-gap: 14px;
}
@media (max-width: 500px) {
  .disc-list-cols { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
}
.disc-item a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--ink);
}
.disc-item a .arrow { color: var(--champagne); transition: transform 160ms ease; }
.disc-item a:hover .arrow { transform: translateX(3px); }
.disc-item span { color: var(--slate); display: inline-flex; align-items: center; gap: 10px; }
.disc-item span::before { content: "\2022"; color: var(--champagne); }
.disc-cta { align-self: flex-start; margin-top: auto; }
@media (max-width: 900px) {
  .disc-grid { grid-template-columns: 1fr; }
  .disc-anchor-pills { display: none; }
}

.lede {
  font-size: var(--text-body-lg);
  line-height: var(--leading-body-lg);
  color: var(--slate);
  margin-top: 20px;
}
.price-line {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--forest);
  margin-top: 12px;
}

.muted { color: var(--fog); }
.small { font-size: var(--text-caption); line-height: var(--leading-caption); }

em.brand-i {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
}

/* ==========================================================================
   Buttons — Awesomic button grammar, Forest fills
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: var(--text-ui);
  font-weight: 550;
  line-height: 1;
  border-radius: var(--radius-buttons);
  padding: 14px 22px;
  transition: background-color 160ms ease, color 160ms ease,
    border-color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--forest);
  color: var(--warm-white);
  box-shadow: var(--shadow-btn), 0 0 0 1.5px #0C2A1E;
}
.btn-primary:hover { background: var(--forest-lift); }

.btn-ghost {
  background: var(--snow);
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.btn-ghost:hover { border-color: var(--champagne); }

.btn-neutral {
  background: var(--cream);
  color: var(--ink);
}
.btn-neutral:hover { background: #E7EEE9; }

/* On dark surfaces */
.btn-on-dark {
  background: var(--snow);
  color: var(--ink);
}
.btn-on-dark:hover { background: var(--paper); }

.btn-outline-dark {
  background: transparent;
  color: var(--warm-white);
  border: 1px solid var(--hairline-on-dark);
}
.btn-outline-dark:hover { border-color: var(--champagne); color: var(--champagne); }

.btn-pill { border-radius: var(--radius-pills); padding: 11px 22px; }
.btn-lg { padding: 17px 30px; font-size: 15px; }

.btn .arrow { transition: transform 160ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-ui);
  font-weight: 500;
  color: var(--forest);
}
.link-arrow .arrow { color: var(--champagne); transition: transform 160ms ease; }
.link-arrow:hover .arrow { transform: translateX(3px); }

/* ==========================================================================
   Badges + tag pills
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  padding: 6px 10px;
  border-radius: var(--radius-badges);
  border: 1px solid var(--hairline);
  color: var(--slate);
  background: transparent;
}

.badge-filled {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--warm-white);
}

.badge-accent {
  background: var(--champagne);
  border-color: var(--champagne);
  color: var(--ink);
  font-weight: 500;
}

.badge-on-dark {
  border-color: var(--hairline-on-dark);
  color: rgba(255, 255, 255, 0.85);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: var(--snow);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-cards);
  padding: var(--card-pad);
  box-shadow: var(--shadow-card);
}

.card-subtle {
  background: var(--subtle-card);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--radius-cards);
  padding: var(--card-pad);
  box-shadow: var(--shadow-card);
}

.card-cream {
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: var(--radius-cards);
  padding: var(--card-pad);
  box-shadow: var(--shadow-card);
}

.card-dark {
  background: var(--forest-deep);
  border-radius: var(--radius-cards);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-card);
  color: rgba(255, 255, 255, 0.82);
}
.card-dark h2, .card-dark h3 { color: var(--warm-white); }

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 200ms ease;
}
.nav.scrolled { box-shadow: 0 1px 0 var(--hairline); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.nav-logo img { display: block; width: auto; }
.nav-logo .logo-full { height: 34px; }
.nav-logo .logo-mark-img { display: none; height: 40px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-ui);
  font-weight: 500;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius-pills);
  transition: background-color 140ms ease;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--cream); }
.nav-link .caret { transition: transform 160ms ease; color: var(--brass); }
.nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ---- Services mega menu ---- */

.has-menu { position: relative; }

.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: min(920px, calc(100vw - 40px));
  background: var(--snow);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  box-shadow: var(--shadow-overlay);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}
.mega.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-group-title {
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--hairline-soft);
}

.mega a {
  display: block;
  font-size: var(--text-ui);
  font-weight: 400;
  color: var(--slate);
  padding: 8px 10px;
  margin-inline: -10px;
  border-radius: 5px;
  line-height: 1.35;
}
.mega a:hover { background: var(--cream); color: var(--ink); }

.mega-footer {
  grid-column: 1 / -1;
  border-top: 1px solid var(--hairline-soft);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.mega-footer .link-arrow { flex: none; white-space: nowrap; }

/* ---- Mobile nav ---- */

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  border-radius: var(--radius-pills);
}
.nav-burger span {
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  z-index: 55;
  background: var(--paper);
  overflow-y: auto;
  padding: 24px var(--gutter) 48px;
}
.mobile-menu.open { display: block; }

.mobile-menu .m-link {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}

.mobile-menu .m-group {
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 22px 0 6px;
}

.mobile-menu .m-sub {
  display: block;
  font-size: 15px;
  color: var(--slate);
  padding: 9px 0;
}

.mobile-menu .btn { width: 100%; margin-top: 28px; }

@media (max-width: 980px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 640px) {
  .nav-logo .logo-full { display: none; }
  .nav-logo .logo-mark-img { display: block; }
  .nav-cta { gap: 6px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(48px, 6vw, 72px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}

.hero h1 { max-width: none; }

.hero-lede {
  font-weight: 600;
  color: var(--ink);
}

.side-kicker {
  font-weight: 600;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  padding-left: 4px;
}


.hero-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.hero-side .side-note {
  font-size: var(--text-body);
  color: var(--slate);
}

.hero-form {
  display: grid;
  gap: 10px;
  background: var(--snow);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow-card);
}
.hero-form .row { display: flex; gap: 10px; }
.hero-form input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: var(--text-ui);
  color: var(--ink);
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: var(--radius-inputs);
  padding: 13px 16px;
}
.hero-form input::placeholder { color: var(--fog); }
.hero-form input:focus { outline: none; border-color: var(--champagne); background: var(--snow); }
.hero-form .form-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.1;
  color: var(--ink);
  padding: 4px 4px 0;
}
.hero-form .form-sub {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--slate);
  padding: 0 4px 6px;
}
.hero-form .btn { width: 100%; }
.hero-form .fine { font-size: var(--text-caption); color: var(--fog); padding-inline: 4px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
}

/* ==========================================================================
   Logo strip
   ========================================================================== */

.logo-strip {
  border-block: 1px solid var(--hairline);
  padding-block: 26px;
}
.logo-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.logo-strip .strip-label {
  font-size: var(--text-caption);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fog);
  font-weight: 500;
}
.logo-strip .strip-logos {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  flex-wrap: wrap;
}
.logo-strip .strip-logos img {
  height: 30px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 200ms ease, opacity 200ms ease;
}
.logo-strip .strip-logos img.logo-boost { height: 38px; }
.logo-strip .strip-logos img.logo-boost-lg { height: 47px; }
.logo-strip .strip-logos img:hover {
  filter: grayscale(0);
  opacity: 1;
}
@media (max-width: 900px) {
  .logo-strip-inner { flex-direction: column; align-items: center; text-align: center; }
  .logo-strip .strip-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    align-items: center;
    gap: 28px 16px;
    width: 100%;
  }
  .logo-strip .strip-logos img { height: 40px; max-width: 100%; }
  .logo-strip .strip-logos img.logo-boost { height: 48px; }
  .logo-strip .strip-logos img.logo-boost-lg { height: 58px; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 34px; }
  .how-support-title { font-size: 28px; }
}

/* ==========================================================================
   Category card band (horizontal scroll)
   ========================================================================== */

.band-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.band-controls { display: flex; gap: 8px; }
.band-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pills);
  border: 1px solid var(--hairline);
  background: var(--snow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: border-color 140ms ease;
}
.band-btn:hover { border-color: var(--champagne); }

.scroll-band {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(270px, 30vw, 356px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.scroll-band::-webkit-scrollbar { display: none; }
.scroll-band > * { scroll-snap-align: start; }

.cat-card {
  background: var(--snow);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-cards);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.cat-card:hover { border-color: var(--champagne); box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.cat-card .cat-art { aspect-ratio: 16 / 11; background: var(--cream); }
.cat-card .cat-art svg { width: 100%; height: 100%; }
.cat-card .cat-body {
  padding: 24px var(--card-pad) var(--card-pad);
  display: grid;
  gap: 14px;
}

/* ==========================================================================
   Dark feature band (pain points)
   ========================================================================== */

.pain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.pain-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline-on-dark);
  font-family: var(--font-sans);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 500;
  color: var(--warm-white);
  line-height: 1.4;
}
.pain-list li:last-child { border-bottom: 0; }
.pain-list .pain-arrow { color: var(--champagne); flex: none; transform: translateY(2px); }

.dark-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) {
  .dark-band-grid { grid-template-columns: 1fr; }
}

/* Dark-band quotes (What It's Like to Work Together) */
.quote-stack {
  display: grid;
  gap: 18px;
  align-content: center;
}
.quote-dark {
  margin: 0;
  background: var(--snow);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-cards-sm);
  padding: 26px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-card);
}
.quote-dark blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
}
.quote-dark figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.quote-dark figcaption .who-dark { display: flex; flex-direction: column; gap: 2px; }
.quote-dark figcaption .who-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.quote-dark figcaption .who-role { font-size: 12px; font-weight: 400; color: var(--slate); }
.quote-dark figcaption img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--hairline-on-dark);
  background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Steps (how it works)
   ========================================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(var(--steps-cols, 3), 1fr);
  gap: 16px;
}
.step-card { position: relative; display: grid; gap: 12px; align-content: start; }
.step-card .subheading { font-size: 17px; }
.step-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  color: var(--champagne);
}
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Stats row
   ========================================================================== */

.section-steps { padding-bottom: 0; }
.section-stats { --stat-gap: 28px; padding-top: var(--stat-gap); }
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: var(--stat-gap) 0;
  border-top: 1px solid var(--hairline);
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 5vw, 60px);
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.stat-label {
  font-size: var(--text-ui);
  color: var(--slate);
  max-width: 18ch;
  line-height: 1.45;
}
@media (max-width: 900px) {
  .stats-row { grid-template-columns: 1fr; }
  .section-stats { --stat-gap: 20px; }
}

/* ==========================================================================
   Breakthrough image band
   ========================================================================== */

.breakthrough {
  border-radius: clamp(14px, 2.5vw, 32px);
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.breakthrough svg, .breakthrough img { width: 100%; height: auto; }

/* ==========================================================================
   Service group sections (2-col cards)
   ========================================================================== */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.svc-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--snow);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-cards);
  padding: var(--card-pad);
  box-shadow: var(--shadow-card);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.svc-card:hover { border-color: var(--champagne); box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.svc-card .svc-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}
.svc-card .svc-icon { flex: none; }
.svc-card p { flex: 1; }

/* A group with a single service gets a full-width card instead of a dead column */
.svc-grid .svc-card:only-child { grid-column: 1 / -1; }
.svc-grid .svc-card:only-child p { max-width: 68ch; }

@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* Icon roundel */
.roundel {
  width: 52px;
  height: 52px;
  border-radius: 9px;
  background: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
}
.roundel svg { width: 24px; height: 24px; }
.roundel-dark { background: rgba(255, 255, 255, 0.1); color: var(--champagne); }

/* ==========================================================================
   How I Can Help - stacked sheets (ported from clayton-method-experience)
   Sticky panels pin at 96px; as the next sheet covers one, JS scrubs the
   covered card to scale .94 and raises a white veil (see site.js).
   ========================================================================== */

.stack-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(42px, 5.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.008em;
  color: var(--ink);
  margin-bottom: 0;
}
.stack-lede { margin-bottom: calc(var(--section-gap) / 2); max-width: none; }

.stack { display: grid; gap: 24px; }

.panel { position: sticky; top: 96px; min-width: 0; }

.panel-card {
  background: var(--snow);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-cards);
  padding: clamp(28px, 4vw, 56px);
  min-height: min(72vh, 700px);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transform-origin: center top;
  position: relative;
  --veil: 0;
}
.panel-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: var(--paper);
  border-radius: var(--radius-cards);
  opacity: var(--veil);
  pointer-events: none;
  z-index: 10;
}

.panel-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: clamp(24px, 4vh, 44px);
  border-bottom: 1px solid var(--hairline-soft);
}
.panel-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  color: var(--brass);
  letter-spacing: 0.04em;
  line-height: 1;
}
.panel-kicker {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

.panel-body {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  flex: 1;
}
/* Alternate which side the image sits on, panel to panel, so the
   repeated card doesn't read as one flat pattern scrolling by. */
.panel:nth-of-type(even) .panel-text { order: 2; }
.panel:nth-of-type(even) .panel-side { order: 1; }
@media (max-width: 900px) {
  .panel:nth-of-type(even) .panel-text,
  .panel:nth-of-type(even) .panel-side { order: initial; }
}
.panel-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.2vw, 43px);
  line-height: 1.1;
  letter-spacing: -0.006em;
  margin-bottom: 22px;
}
.panel-text p.panel-lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.1vw, 41px);
  line-height: 1.12;
  letter-spacing: -0.008em;
  color: var(--ink);
  margin-bottom: 20px;
}
.panel-list {
  list-style: none;
  margin: 4px 0 20px;
  padding: 0;
  display: grid;
  gap: 4px;
}
.panel-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 550;
  color: var(--ink);
  transition: color 160ms ease;
}
.panel-list a svg { color: var(--champagne); flex: none; }
.panel-list a:hover { color: var(--forest); }
.panel-list .pl-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 550;
  color: var(--ink);
}
.panel-list .pl-item svg { color: var(--champagne); flex: none; }
.panel-list-2col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
@media (max-width: 640px) {
  .panel-list-2col { grid-template-columns: 1fr; }
}

.panel-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate);
  margin-bottom: 14px;
}
.panel-text .panel-note em,
.panel-text .panel-punch em {
  font-style: italic;
  color: var(--ink);
  font-size: 18px;
}
.panel-text .panel-cta { margin-top: 12px; }
.cta-label-short { display: none; }
@media (max-width: 900px) {
  .cta-label-full { display: none; }
  .cta-label-short { display: inline; }
  .panel-meta { align-items: center; }
  .panel-kicker { font-size: 12px; letter-spacing: 0.08em; }
  .panel-text p.panel-lead { font-size: 25px; }
}

.panel-side { display: flex; flex-direction: column; gap: 22px; }
.panel-img {
  margin: 0;
  border-radius: var(--radius-media);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--hairline-soft);
  background: var(--cream);
}
.panel-img svg, .panel-img img { width: 100%; height: 100%; object-fit: contain; display: block; }

.chip-line {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 2;
  color: var(--ink);
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--hairline-soft);
}
.chip-line .chip-row { display: block; }
.chip-line .chip-item { white-space: nowrap; }
.chip-line .chip-sep {
  color: var(--champagne);
  margin: 0 6px;
  font-weight: 400;
}

/* Masked line reveal for the section title (JS splits into lines) */
.split-line {
  display: block;
  overflow: hidden;
  padding: 0.08em 0.05em 0.14em;
  margin: -0.08em -0.05em -0.14em;
}
.split-line > .split-inner {
  display: block;
  will-change: transform;
  transform: translateY(120%);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
[data-split].is-in .split-inner { transform: none; }

@media (max-width: 1024px) {
  .panel { position: relative; top: 0; }
  .panel-card { min-height: 0; }
  .panel-body { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .split-line > .split-inner { transform: none; }
}

/* ==========================================================================
   Built From Real Business Problems - proof grid
   (ported from clayton-method-experience, directly under How I Can Help)
   ========================================================================== */

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.proof-card {
  background: var(--snow);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-cards);
  padding: clamp(20px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.proof-card:hover { border-color: var(--champagne); box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.proof-card-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: clamp(24px, 3.4vw, 48px);
}
.proof-media {
  margin: 0 0 20px;
  border-radius: var(--radius-media);
  overflow: hidden;
  aspect-ratio: 7 / 4;
  border: 1px solid var(--hairline-soft);
  background: var(--cream);
}
.proof-card-wide .proof-media { flex: 1 1 46%; margin-bottom: 0; }
.proof-media svg, .proof-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 1.2s cubic-bezier(.22,1,.36,1);
}
.proof-card:hover .proof-media svg,
.proof-card:hover .proof-media img { transform: scale(1.045); }
.proof-body { display: flex; flex-direction: column; flex: 1; }
.proof-card-wide .proof-body { flex: 1 1 54%; }
.proof-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.1vw, 41px);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 10px;
}
.proof-card p { font-size: 15px; line-height: 1.6; color: var(--slate); margin-bottom: 16px; }
.proof-card .link-arrow { margin-top: auto; }
@media (max-width: 860px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-card-wide { flex-direction: column; }
  .proof-card-wide .proof-media { flex: none; width: 100%; margin-bottom: 20px; }
  .proof-card-wide .proof-body { flex: none; width: 100%; }
}

/* ==========================================================================
   Selected Work - horizontal pin-scroll gallery
   Ported from clayton-method-experience. Motion reimplemented without GSAP:
   the same sticky + scroll-scrub approach as the How I Can Help sheets
   (see evalWork/scrubWork in site.js). Below 1025px / reduced motion it
   becomes a plain swipeable row instead of pinning.
   ========================================================================== */

.work-outer { position: relative; padding-block: 0; }
.work-pin {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-block: calc(var(--section-gap) / 2);
}
.work-head {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  padding-left: var(--bleed-inset);
  padding-right: var(--bleed-inset);
  margin-bottom: calc(var(--section-gap) / 2);
}
.work-head .stack-title { margin-bottom: 0; }
.work-cats { font-size: var(--text-ui); font-weight: 500; letter-spacing: 0.02em; color: var(--slate); }
.work-cats-sep { color: var(--champagne); }
.work-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding-left: var(--bleed-inset);
  padding-right: var(--bleed-inset);
  will-change: transform;
}
.work-card { width: clamp(260px, 27vw, 380px); flex-shrink: 0; }
.work-card figure {
  margin: 0 0 16px;
  border-radius: var(--radius-media);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--hairline-soft);
  background: var(--cream);
}
.work-card figure svg, .work-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 1.2s cubic-bezier(.22,1,.36,1);
}
.work-card:hover figure svg,
.work-card:hover figure img { transform: scale(1.05); }
.work-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 4px;
}
.work-card p { font-size: 14px; line-height: 1.55; color: var(--slate); }
.work-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  width: clamp(220px, 22vw, 300px);
}
.work-fade {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 8px;
  width: 56px;
  background: linear-gradient(to right, transparent, var(--paper));
  pointer-events: none;
  z-index: 2;
}
@media (max-width: 1024px) {
  .work-pin { position: relative; top: 0; overflow: visible; }
  .work-track {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--bleed-inset);
    -webkit-overflow-scrolling: touch;
  }
  .work-card { scroll-snap-align: start; }
  .work-fade { display: block; }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}
.quote-card { display: grid; gap: 20px; }
.quote-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 54px;
  line-height: 0.5;
  color: var(--champagne);
  padding-top: 14px;
}
.quote-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
}
.quote-who { display: grid; gap: 2px; }
.quote-who .who-name { font-size: var(--text-ui); font-weight: 600; color: var(--ink); }
.quote-who .who-role { font-size: var(--text-caption); color: var(--fog); }
@media (max-width: 900px) {
  .quote-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 550;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-x {
  flex: none;
  color: var(--brass);
  transition: transform 200ms ease;
}
.faq-item[open] .faq-x { transform: rotate(45deg); }
.faq-item .faq-a {
  padding: 0 4px 24px;
  color: var(--slate);
}
.faq-item .faq-a p + p { margin-top: 12px; }

/* ==========================================================================
   Final CTA band + footer
   ========================================================================== */

.cta-band {
  background: var(--forest-deep);
  border-radius: var(--radius-cards);
  padding: clamp(44px, 7vw, 88px) clamp(24px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band > * { position: relative; }
.cta-band h2 {
  color: var(--warm-white);
  margin-inline: auto;
}
.cta-band .lede { color: rgba(255, 255, 255, 0.75); margin-inline: auto; text-align: center; }
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.cta-glow {
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 70%;
  background: radial-gradient(50% 100% at 50% 100%, rgba(201, 169, 97, 0.22), transparent 70%);
  pointer-events: none;
}

.footer {
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.82);
  margin-top: calc(var(--section-gap) / 3);
  padding: clamp(48px, 7vw, 80px) 0 36px;
}
.footer a { color: rgba(255, 255, 255, 0.72); font-size: var(--text-ui); line-height: 1.4; }
.footer a:hover { color: var(--champagne); }
.footer .contact a { font-size: inherit; color: inherit; }
.footer .contact a:hover { color: var(--champagne); }
.footer a.btn-on-dark { color: var(--ink); }
.footer a.btn-on-dark:hover { color: var(--ink); }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline-on-dark);
}
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand .logo-img { height: 44px; width: auto; display: block; }
.footer-brand p { color: rgba(255, 255, 255, 0.6); font-size: var(--text-ui); max-width: 34ch; }

.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col .f-title {
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 8px;
}
.footer-col .f-title:not(:first-child) { margin-top: 18px; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
}
.footer-legal .legal-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-legal p { color: rgba(255, 255, 255, 0.5); font-size: var(--text-caption); }
.footer-legal a { font-size: var(--text-caption); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Inner-page patterns
   ========================================================================== */

.page-hero {
  padding-top: clamp(44px, 6vw, 72px);
  padding-bottom: clamp(28px, 4vw, 48px);
}
.page-hero:has(+ .section-tight) {
  padding-bottom: clamp(12px, 2vw, 20px);
}
.page-hero .crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-caption);
  color: var(--fog);
  margin-bottom: 20px;
}
.page-hero .crumb a:hover { color: var(--brass); }
.page-hero .crumb .sep { color: var(--champagne); }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.two-col .sticky-side { position: sticky; top: 108px; }
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col .sticky-side { position: static; }
  .book-two-col .sticky-side, .book-two-col .book-main { display: contents; }
  .book-two-col .contact-us-card { order: 99; }
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.check-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline-soft);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.check-list li:last-child { border-bottom: 0; }
.check-list .tick { color: var(--champagne); flex: none; transform: translateY(1px); }
.check-list li svg { width: 18px; height: 18px; color: var(--champagne); flex: none; transform: translateY(1px); }
.check-list li .sub {
  display: block;
  font-weight: 400;
  font-size: var(--text-ui);
  color: var(--slate);
  margin-top: 3px;
}

/* About page: "My background includes" list, 2 columns on tablet only */
@media (min-width: 901px) and (max-width: 1200px) {
  .background-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 28px;
  }
}

/* Service page: full-width "What's included" (icon checklist replaces plain ticks) */
.included-block { padding: clamp(28px, 4vw, 48px); }
@media (min-width: 901px) {
  .card-cream .check-list,
  .preserve-card-dark .check-list {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 32px;
  }
  .card-cream .check-list li:nth-last-child(-n+3),
  .preserve-card-dark .check-list li:nth-last-child(-n+3) {
    border-bottom: 0;
  }
  .check-list-1col { grid-template-columns: 1fr !important; }
  .check-list-1col li:nth-last-child(-n+3) { border-bottom: 1px solid var(--hairline-soft); }
  .check-list-1col li:last-child { border-bottom: 0; }
}
.check-list-1col li { padding: 8px 0; }

/* Service page: two blocks placed side by side in one row */
.duo-row {
  display: grid;
  grid-template-columns: var(--duo-left, 1fr) var(--duo-right, 1fr);
  gap: 32px;
  align-items: stretch;
}
.duo-col .preserve-card-dark,
.duo-col .tier-card {
  height: 100%;
}
.duo-col .preserve-list-stacked {
  margin-top: 20px;
  grid-template-columns: 1fr;
}
@media (max-width: 900px) {
  .duo-row { grid-template-columns: 1fr; }
}
@media (min-width: 901px) {
  .duo-col .check-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .duo-col .check-list li:nth-last-child(-n+3) {
    border-bottom: 1px solid var(--hairline-soft);
  }
  .duo-col .preserve-card-dark .check-list li:nth-last-child(-n+3) {
    border-bottom-color: var(--hairline-on-dark);
  }
  .duo-col .check-list li:nth-last-child(-n+2) {
    border-bottom: 0;
  }
}
.included-outro {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline-soft);
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate);
}

/* Service page: pricing tiers */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(var(--tier-cols, 3), minmax(0, 1fr));
  gap: 20px;
}

/* Single-tier recap: the one payment card left, heading/intro right */
.recap-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) {
  .recap-split { grid-template-columns: 1fr; }
}
.card-dark .recap-card {
  background: transparent;
  border: 1px solid var(--hairline-on-dark);
  box-shadow: none;
}
.card-dark .recap-card .subheading { color: var(--warm-white); }
.card-dark .recap-card p { color: rgba(255, 255, 255, 0.75); }
.card-dark .recap-card .tier-price-line { color: var(--champagne); }
.tier-card, .recap-card {
  background: var(--snow);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-cards);
  padding: var(--card-pad);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
}
.tier-card .tier-for { color: var(--forest); font-weight: 600; }
.tier-label {
  display: block;
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
}
.tier-includes ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.tier-includes li {
  font-size: 14px;
  color: var(--slate);
  padding-left: 18px;
  position: relative;
}
.tier-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--champagne);
}
.tier-invest { margin-top: auto; padding-top: 8px; }
.tier-price-line {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--forest);
}
.tier-or { color: var(--fog); font-size: 13px; margin: 2px 0; }
.tier-note { color: var(--slate); margin-top: auto; }
.tier-fit { font-size: 14px; font-style: italic; color: var(--slate); }
.tier-fit strong { font-style: normal; color: var(--ink); }

/* Service page: "What We Preserve"-style full-width list section */
.preserve-card { margin-top: 0; }
.preserve-card-dark {
  background: var(--forest-deep);
  border-radius: var(--radius-cards);
  padding: var(--card-pad);
  box-shadow: var(--shadow-card);
}
.preserve-card-dark h2 { color: var(--warm-white); margin-bottom: 18px; }
.preserve-card-dark .subheading { color: var(--warm-white); }
.preserve-card-dark .tier-price-line { color: var(--champagne); }
.preserve-card-dark .check-list li { color: var(--warm-white); border-bottom-color: var(--hairline-on-dark); }
.preserve-card-dark p.lede { color: rgba(255, 255, 255, 0.75); margin-bottom: 18px; }
.preserve-card-dark .preserve-list { margin-top: 0; }
.preserve-card-dark .preserve-list li { color: rgba(255, 255, 255, 0.82); }
.preserve-list-stacked li {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline-on-dark);
}
.preserve-list-stacked li::before { display: none; }
.preserve-list-stacked li:last-child { border-bottom: 0; }
@media (min-width: 901px) {
  .preserve-list-stacked li:nth-last-child(-n+3) { border-bottom: 0; }
}
.preserve-list-stacked .stacked-title {
  display: block;
  color: var(--warm-white);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 3px;
}
.preserve-list-stacked .stacked-desc { display: block; }
.section-head:has(+ .review-areas),
.section-head:has(+ .steps-grid),
.section-head:has(+ .case-grid),
.section-head:has(+ .tier-grid),
.section-head:has(+ .card-cream) {
  margin-bottom: 20px;
}
.section-head:last-child {
  margin-bottom: 0;
}
section:has(.faq-list):has(+ section .cta-band) {
  padding-bottom: 16px;
}
.preserve-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 24px;
}
.preserve-list li {
  font-size: 15px;
  color: var(--slate);
  padding-left: 18px;
  position: relative;
}
.preserve-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--champagne);
}
@media (max-width: 900px) {
  .preserve-list { grid-template-columns: 1fr; }
}
.preserve-punchline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--forest);
  margin-top: 20px;
}

/* Service page: "What We Review"-style named sub-sections, as an icon card grid */
.review-areas {
  display: grid;
  grid-template-columns: repeat(var(--review-cols, 2), minmax(0, 1fr));
  gap: 20px;
}
.review-area {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.review-areas:not([style*="--review-cols"]) .review-area:last-child:nth-child(odd),
.review-areas[style*="--review-cols:2"] .review-area:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.review-area .roundel { margin-bottom: 8px; }
.review-area .subheading { display: block; font-size: 20px; margin-bottom: 2px; }
.review-area .preserve-list { grid-template-columns: 1fr; gap: 8px; margin-top: 14px; }
@media (max-width: 900px) {
  .review-areas { grid-template-columns: 1fr; }
  .review-area:last-child:nth-child(odd) { grid-column: auto; }
}
.review-area-cta .cta-tier {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brass);
}
.review-area-cta .cta-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  color: var(--forest);
}
.review-area-cta .cta-btn-bottom { align-self: flex-start; margin-top: auto; padding-top: 16px; }
.tier-cta { align-self: stretch; margin-top: 8px; white-space: normal; text-align: center; }
.recap-card .btn { white-space: normal; text-align: center; }
@media (max-width: 900px) {
  .tier-grid { grid-template-columns: 1fr; }
}

/* Service page: "Build an AI Department"-style price summary row */
.dept-price-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.dept-price-item {
  background: var(--snow);
  border-radius: var(--radius-cards);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.dept-price-item .subheading { display: block; font-size: 18px; color: var(--ink); margin-bottom: 10px; }
.dept-price-item .tier-price-line { color: var(--forest); font-size: 24px; margin-bottom: 12px; }
.dept-price-item .dept-price-desc { color: var(--slate); font-size: 14px; line-height: 1.5; }
@media (max-width: 700px) {
  .dept-price-row { grid-template-columns: 1fr; }
}
.desktop-break { display: none; }
.mobile-break { display: inline; }
@media (min-width: 901px) {
  .dept-intro { text-align: center; }
  .dept-cta-wrap { text-align: center; }
  .preserve-card-dark > .dept-intro + .tier-label { text-align: center; }
  .desktop-break { display: inline; }
  .mobile-break { display: none; }
}

/* Service page: modern infrastructure callout */
.infra-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.infra-list li { color: var(--slate); }
.infra-list:has(.infra-plain) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.infra-list li.infra-plain {
  padding-left: 18px;
  position: relative;
}
.infra-list li.infra-plain::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--champagne);
}
@media (max-width: 900px) {
  .infra-list:has(.infra-plain) { grid-template-columns: 1fr; }
}
.infra-list li strong { color: var(--ink); }

/* Service page: cross-sell boxes */
.cross-sell-grid {
  display: grid;
  grid-template-columns: repeat(var(--cross-sell-cols, 3), minmax(0, 1fr));
  gap: 20px;
}
.cross-sell { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.cross-sell-bottom { margin-top: auto; align-self: center; }
p.cross-sell-bottom { font-size: 14px; line-height: 1.4; }
.cross-sell h3 { font-size: 28px; }
.check-list-plain {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.check-list-plain li {
  font-size: 14px;
  color: var(--slate);
  padding-left: 18px;
  position: relative;
}
.check-list-plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--champagne);
}
@media (max-width: 900px) {
  .cross-sell-grid { grid-template-columns: 1fr; }
}

/* Case study cards */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.case-card {
  background: var(--snow);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-cards);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.case-card:hover { border-color: var(--champagne); box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.case-card .case-art { aspect-ratio: 4 / 3; background: var(--cream); }
.case-card .case-art svg { width: 100%; height: 100%; }
.case-card .case-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-card .case-body { padding: 22px 24px 26px; display: grid; gap: 12px; }
.case-card .case-result {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--forest);
  line-height: 1.1;
}

/* Video testimonial cards (homepage "What Clients Say") */
.testimonial-card {
  background: var(--snow);
  border-radius: var(--radius-cards);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.testimonial-video-wrap {
  position: relative;
  background: #fff;
}
.testimonial-video {
  width: 100%;
  aspect-ratio: 804 / 1297;
  background: #fff;
  display: block;
}
.testimonial-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: none;
  background: rgba(14, 19, 16, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, opacity 160ms ease;
}
.testimonial-play:hover {
  background: rgba(14, 19, 16, 0.72);
  transform: translate(-50%, -50%) scale(1.05);
}
.testimonial-play svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  margin-left: 3px;
}
.testimonial-play.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.testimonial-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.testimonial-body .quote-who { justify-items: center; }
.testimonial-body .tag-row { justify-content: center; }
@media (max-width: 900px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .case-grid { grid-template-columns: 1fr; }
}
.testimonial-track-outer { position: relative; }
@media (max-width: 1024px) {
  .testimonial-track {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .testimonial-track .testimonial-card {
    flex: 0 0 66%;
    max-width: 66%;
    scroll-snap-align: start;
  }
}

/* Legal / document pages */
.doc {
  max-width: 760px;
}
.doc-notice {
  display: flex;
  gap: 12px;
  align-items: baseline;
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: var(--text-ui);
  color: var(--ink);
  margin-bottom: 40px;
}
.doc h2 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  margin: 40px 0 12px;
}
.doc p { margin-bottom: 12px; }
.doc .doc-updated { color: var(--fog); font-size: var(--text-caption); margin: 16px 0 32px; }

/* Placeholder embed panel */
.embed-panel {
  background: var(--snow);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-cards);
  box-shadow: var(--shadow-card);
  padding: 16px;
  display: flex;
  justify-content: center;
}

/* Forms (generic) */
.form-grid { display: grid; gap: 14px; }
.form-grid label {
  display: grid;
  gap: 7px;
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}
.form-grid input, .form-grid textarea, .form-grid select {
  font: inherit;
  font-size: var(--text-ui);
  color: var(--ink);
  background: var(--subtle-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-inputs);
  padding: 13px 16px;
  width: 100%;
}
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus {
  outline: none;
  border-color: var(--champagne);
  background: var(--snow);
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .form-row-2 { grid-template-columns: 1fr; } }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; margin: 0; }
.form-status.is-error { color: #92402E; }
.form-status.is-success { color: var(--forest); }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.in { opacity: 1; transform: none; }

/* Utility */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.center { text-align: center; }
