/* ==========================================================
   ZALI-BLK MEDIA — shared design system
   Used by every page of the site (homepage + service pages)
   so the brand stays identical everywhere and future edits
   only need to happen once.
   ========================================================== */
:root{
  color-scheme: dark;
  --bg: #151410;
  --bg-raised: #1c1a15;
  --cream: #f4f1e9;
  --cream-raised: #ffffff;
  --fg: #faf9f5;
  --fg-muted: #bfb7a4;
  --ink: #151410;
  --ink-muted: #6b6650;
  --gold: #c3a87d;
  --gold-strong: #d3b98f;
  --line-dark: rgba(250,249,245,0.14);
  --line-light: rgba(21,20,16,0.12);
  --font-display: 'Poppins', 'Futura', 'Century Gothic', sans-serif;
  --font-body: 'Karla', 'Helvetica Neue', Arial, sans-serif;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}

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

html{ background: #151410; overflow-x: hidden; }
body{ overflow-x: hidden; max-width: 100vw; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before{
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--bg);
}

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.01em;
}

p{ margin: 0; }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

.wrap{
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

.wrap-narrow{
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

.eyebrow{
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
  white-space: nowrap;
}
.btn:hover{ background: var(--gold-strong); border-color: var(--gold-strong); transform: translateY(-1px); }
.btn-ghost{
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-dark);
}
.btn-ghost:hover{ border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-ghost.on-cream{ color: var(--ink); border-color: var(--line-light); }
.btn-ghost.on-cream:hover{ border-color: var(--gold); color: var(--ink); }

section{ padding-block: clamp(64px, 9vw, 120px); }
.on-dark{ background: var(--bg); color: var(--fg); }
.on-cream{ background: var(--cream); color: var(--ink); }
.on-raised{ background: var(--bg-raised); color: var(--fg); }

/* ---------------- NAV ---------------- */
header.nav{
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 15;
  background: rgba(21,20,16,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
header.nav.blended{
  background: rgba(21,20,16,0.96);
  border-bottom-color: var(--line-dark);
}
.nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}
.logo{
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--fg);
  flex-shrink: 0;
}
.logo .dot{ color: var(--gold); }
.logo small{
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--fg-muted);
  margin-left: 8px;
  text-transform: uppercase;
}
.nav-links{
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0.82;
  transition: opacity .2s ease, color .2s ease;
}
.nav-links a:hover{ opacity: 1; color: var(--gold); }
.nav-links a.active{ opacity: 1; color: var(--gold); }
.nav-right{ display: flex; align-items: center; gap: 18px; }
.nav-toggle{
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  flex-shrink: 0;
}
.nav-toggle span{ display:block; width: 22px; height: 2px; background: var(--fg); border-radius: 1px; transition: transform .25s ease, opacity .25s ease, width .25s ease; }
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-menu{
  position: fixed; inset: 0; z-index: 25;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: calc(90px + env(safe-area-inset-top,0px)) var(--gutter-r) 40px var(--gutter-l);
  gap: 28px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}
.mobile-menu.open{ opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu a{ font-family: var(--font-display); font-size: 26px; color: var(--fg); }
.mobile-menu .btn{ align-self: flex-start; margin-top: 10px; }

/* ---------------- HERO ---------------- */
.hero{ padding-top: clamp(70px, 10vw, 120px); padding-bottom: clamp(70px, 9vw, 110px); }
.hero-kicker{ margin-bottom: 18px; }
.hero h1{
  font-size: clamp(36px, 5.4vw, 66px);
  line-height: 1.06;
  max-width: 16ch;
  color: var(--fg);
}
.hero .lede{
  margin-top: 24px;
  max-width: 56ch;
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-muted);
}
.hero .cta-row{ margin-top: 36px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero .fineprint{ margin-top: 16px; font-size: 13px; color: var(--fg-muted); }
.hero .tagline{ margin-top: 10px; font-size: 14px; color: var(--gold); font-weight: 700; letter-spacing: 0.02em; }

/* page-header variant for service pages (shorter than homepage hero) */
.page-header{ padding-top: clamp(64px, 9vw, 100px); padding-bottom: clamp(56px, 7vw, 80px); }
.page-header .eyebrow{ margin-bottom: 18px; }
.page-header h1{ font-size: clamp(32px, 4.6vw, 54px); line-height: 1.1; max-width: 20ch; color: var(--fg); }
.page-header .lede{ margin-top: 22px; max-width: 58ch; font-size: 17px; line-height: 1.7; color: var(--fg-muted); }
.page-header .cta-row{ margin-top: 32px; display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------------- NUMBERED PROBLEM / STEP GRIDS ---------------- */
.problem h2, .block h2{ font-size: clamp(28px, 3.6vw, 44px); color: var(--ink); max-width: 22ch; margin-top: 14px; }
.block h2.on-dark-heading{ color: var(--fg); }
.problem .sub, .block .sub{ margin-top: 14px; font-size: 16px; color: var(--ink-muted); max-width: 60ch; }
.block .sub.on-dark-sub{ color: var(--fg-muted); }

/* alias used on the homepage's problem section */
.problem-grid{
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0;
  border-top: 1px solid var(--line-light);
}
.problem-item{ padding: 28px 28px 28px 0; border-right: 1px solid var(--line-light); }
.problem-item:last-child{ border-right: 0; padding-right: 0; }
.problem-item .num{ font-family: var(--font-display); font-size: 14px; color: var(--gold); }
.problem-item h3{ margin-top: 14px; font-size: 19px; color: var(--ink); font-family: var(--font-display); font-weight: 500; }
.problem-item p{ margin-top: 10px; font-size: 14.5px; color: var(--ink-muted); line-height: 1.6; }

.step-grid{
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0;
  border-top: 1px solid var(--line-light);
}
.step-grid.on-dark{ border-top: 1px solid var(--line-dark); }
.step-grid.cols-4{ grid-template-columns: repeat(4, minmax(0,1fr)); }
.step-item{
  padding: 28px 28px 28px 0;
  border-right: 1px solid var(--line-light);
}
.step-grid.on-dark .step-item{ border-right: 1px solid var(--line-dark); }
.step-item:last-child{ border-right: 0; padding-right: 0; }
.step-item .num, .step-grid .step-item p.num{ margin-top: 0; font-family: var(--font-display); font-size: 14px; line-height: 1.4; color: var(--gold); }
.step-item h3{ margin-top: 14px; font-size: 19px; color: var(--ink); font-family: var(--font-display); font-weight: 500; }
.step-grid.on-dark .step-item h3{ color: var(--fg); }
.step-item p{ margin-top: 10px; font-size: 14.5px; color: var(--ink-muted); line-height: 1.6; }
.step-grid.on-dark .step-item p{ color: var(--fg-muted); }

/* ---------------- CARD GRID (services / modules) ---------------- */
.service-grid{
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.service-grid.on-cream{ background: var(--line-light); border-color: var(--line-light); }
.service-grid.cols-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.service-card{
  background: var(--bg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.service-grid.on-cream .service-card{ background: var(--cream); }
.service-card .step{ font-family: var(--font-display); font-size: 13px; color: var(--gold); }
.service-card h3{ margin-top: 18px; font-size: 22px; font-weight: 500; color: var(--fg); }
.service-grid.on-cream .service-card h3{ color: var(--ink); }
.service-card p{ margin-top: 12px; font-size: 14.5px; line-height: 1.65; color: var(--fg-muted); flex-grow: 1; }
.service-grid.on-cream .service-card p{ color: var(--ink-muted); }
.service-card .learn{
  margin-top: 22px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 8px;
}
.service-card .learn:hover{ color: var(--gold-strong); }

/* ---------------- STATS ---------------- */
.stats-grid{
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 32px 28px;
}
.stat{ border-top: 1px solid var(--line-light); padding-top: 18px; }
.stat.on-dark{ border-top: 1px solid var(--line-dark); }
.stat .figure{
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 3.4vw, 42px);
  color: var(--ink);
}
.stat.on-dark .figure{ color: var(--fg); }
.stat .caption{ margin-top: 10px; font-size: 13.5px; color: var(--ink-muted); line-height: 1.55; }
.stat.on-dark .caption{ color: var(--fg-muted); }
.stats-note{ margin-top: 36px; font-size: 12.5px; color: var(--ink-muted); max-width: 60ch; }
.stats-note.on-dark{ color: var(--fg-muted); }

/* used where a section only has 2 stats instead of 4 */
.stats-grid.two-up{ grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 620px; }
@media (max-width: 560px){
  .stats-grid.two-up{ grid-template-columns: 1fr; max-width: 420px; }
}

/* ---------------- TESTIMONIALS ---------------- */
.proof h2{ font-size: clamp(26px, 3.2vw, 38px); max-width: 18ch; margin-top: 14px; }
.quote-grid{
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 28px;
}
.quote{ border-top: 1px solid var(--line-dark); padding-top: 22px; }
.quote p{ font-size: 15px; line-height: 1.7; color: var(--fg); }
.quote cite{ display: block; margin-top: 18px; font-style: normal; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }

/* ---------------- ROADMAP (vertical numbered steps) ---------------- */
.roadmap{ margin-top: 48px; border-top: 1px solid var(--line-dark); }
.roadmap.on-cream{ border-top: 1px solid var(--line-light); }
.roadmap-step{ display: flex; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line-dark); }
.roadmap.on-cream .roadmap-step{ border-bottom: 1px solid var(--line-light); }
.roadmap-step .num{ font-family: var(--font-display); font-size: 20px; color: var(--gold); flex-shrink: 0; width: 44px; }
.roadmap-step .content h3{ font-size: 19px; font-weight: 500; color: var(--fg); }
.roadmap.on-cream .roadmap-step .content h3{ color: var(--ink); }
.roadmap-step .content p{ margin-top: 8px; font-size: 14.5px; color: var(--fg-muted); line-height: 1.6; max-width: 62ch; }
.roadmap.on-cream .roadmap-step .content p{ color: var(--ink-muted); }

/* ---------------- FIT / TWO-COLUMN LISTS ---------------- */
.fit h2{ font-size: clamp(28px, 3.6vw, 44px); max-width: 18ch; margin-top: 14px; color: var(--ink); }
.fit-cols{ margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 40px; }
.fit-col h4{ font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.fit-col ul{ list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.fit-col li{ font-size: 15px; line-height: 1.6; color: var(--ink); padding-left: 22px; position: relative; }
.fit-col li::before{ content: "+"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.fit-col.no li::before{ content: "\2013"; color: var(--ink-muted); }

/* ---------------- GENERIC CHECK LIST (modules / inclusions) ---------------- */
.check-list{ list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li{ font-size: 15px; line-height: 1.6; padding-left: 26px; position: relative; }
.check-list li::before{ content: "\2713"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ---------------- PRICING ---------------- */
.pricing-band{
  margin-top: 56px;
  border: 1px solid var(--line-dark);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.pricing-band .figure{ font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); color: var(--fg); }
.pricing-band .label{ margin-top: 8px; font-size: 13px; color: var(--fg-muted); max-width: 40ch; }

/* ---------------- ELIGIBILITY / CLOSE CTA ---------------- */
#eligibility{
  margin-top: 64px;
  background: var(--bg);
  color: var(--fg);
  padding: clamp(32px, 5vw, 56px);
}
#eligibility.standalone{ margin-top: 0; }
.elig-intro{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.elig-intro h3{ font-size: clamp(22px, 2.6vw, 30px); max-width: 20ch; }
.elig-intro p{ margin-top: 10px; color: var(--fg-muted); font-size: 14.5px; max-width: 44ch; }

/* ---------------- ELIGIBILITY FORM ---------------- */
.elig-form{ margin-top: 36px; max-width: 540px; }
.elig-progress{ display: flex; gap: 8px; margin-bottom: 28px; }
.elig-progress span{ height: 3px; flex: 1; background: var(--line-dark); border-radius: 2px; overflow: hidden; }
.elig-progress span::after{ content: ""; display: block; height: 100%; width: 0%; background: var(--gold); transition: width .25s ease; }
.elig-progress span.done::after{ width: 100%; }
.elig-progress span.active::after{ width: 100%; }

.elig-step{ display: none; }
.elig-step.active{ display: block; }

.elig-field{ margin-bottom: 20px; }
.elig-field label{
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 9px;
}
.elig-row{ display: flex; gap: 14px; }
.elig-row .elig-field{ flex: 1; min-width: 0; }

.elig-field input,
.elig-field select{
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--line-dark);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px; /* keep at 16px+ so iOS Safari doesn't zoom in on focus */
  padding: 13px 14px;
  border-radius: 2px;
  outline: none;
  transition: border-color .2s ease;
  appearance: none;
  -webkit-appearance: none;
}
.elig-field select{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23bfb7a4' stroke-width='1.6'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.elig-field input::placeholder{ color: var(--fg-muted); opacity: 0.7; }
.elig-field input:focus,
.elig-field select:focus{ border-color: var(--gold); }
.elig-field .elig-phone{ display: flex; gap: 10px; }
.elig-field .elig-phone select{ width: 92px; flex-shrink: 0; }
.elig-field .elig-error{
  display: none;
  margin-top: 7px;
  font-size: 12.5px;
  color: #e7a98c;
}
.elig-field.invalid input,
.elig-field.invalid select{ border-color: #e7a98c; }
.elig-field.invalid .elig-error{ display: block; }

.elig-nav{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.elig-back{
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-muted);
  padding: 12px 6px;
  margin-left: -6px;
}
.elig-back:hover{ color: var(--fg); }
.elig-back[hidden]{ visibility: hidden; }
.elig-submit{ font-family: var(--font-body); }
.elig-submit:disabled{ opacity: 0.6; cursor: wait; }

.elig-success{ display: none; }
.elig-success.active{ display: block; }
.elig-success h3{ font-size: clamp(22px, 2.6vw, 28px); color: var(--fg); }
.elig-success p{ margin-top: 12px; color: var(--fg-muted); font-size: 14.5px; max-width: 48ch; }

.elig-submit-error{
  display: none;
  margin-top: 16px;
  font-size: 13px;
  color: #e7a98c;
}
.elig-submit-error.active{ display: block; }

@media (max-width: 560px){
  .elig-row{ flex-direction: column; gap: 0; }
  .elig-field .elig-phone{ flex-direction: row; }
  .elig-nav{ flex-direction: column-reverse; align-items: stretch; gap: 14px; }
  .elig-nav .elig-submit{ width: 100%; justify-content: center; }
  .elig-nav .elig-back{ align-self: center; }
}

/* ---------------- FOOTER ---------------- */
footer{ background: var(--bg); border-top: 1px solid var(--line-dark); padding-block: 56px 36px; }
.footer-top{ display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand p{ margin-top: 14px; max-width: 34ch; font-size: 14px; color: var(--fg-muted); line-height: 1.6; }
.footer-links{ display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h5{ font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); margin: 0 0 14px; }
.footer-col ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a{ font-size: 13.5px; color: var(--fg); opacity: 0.85; }
.footer-col a:hover{ opacity: 1; color: var(--gold); }
.footer-meta{ margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--fg-muted); }
.footer-meta .badges{ display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 920px){
  .nav-links, .nav-right .btn{ display: none; }
  .nav-toggle{ display: flex; }
  .problem-grid, .step-grid, .service-grid{ grid-template-columns: 1fr !important; }
  .step-item, .problem-item{ border-right: 0 !important; border-bottom: 1px solid var(--line-light); padding: 26px 0; }
  .step-grid.on-dark .step-item{ border-bottom: 1px solid var(--line-dark); }
  .step-item:last-child, .problem-item:last-child{ border-bottom: 0; }
  .stats-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .quote-grid{ grid-template-columns: 1fr; gap: 36px; }
  .fit-cols{ grid-template-columns: 1fr; gap: 32px; }
  .footer-links{ gap: 32px; }
  .pricing-band{ flex-direction: column; align-items: flex-start; }
  .roadmap-step{ gap: 18px; }
  .roadmap-step .num{ width: 32px; font-size: 16px; }
}
@media (max-width: 480px){
  .stats-grid{ grid-template-columns: 1fr; }
  .cta-row{ flex-direction: column; align-items: stretch; }
  .cta-row .btn, .cta-row .btn-ghost{ width: 100%; justify-content: center; }
}

/* ==========================================================
   ADDITIONS — Netlify build (Nov 2026)
   ========================================================== */

/* ---------- Light enquiry form (no dark forms) ---------- */
#eligibility{
  background: var(--cream-raised);
  color: var(--ink);
  border: 1px solid var(--line-light);
  box-shadow: 0 24px 60px -30px rgba(21,20,16,0.35);
}
.on-dark #eligibility{ border-color: transparent; }
#eligibility .elig-intro h3,
#eligibility .elig-success h3{ color: var(--ink); }
#eligibility .elig-intro p,
#eligibility .elig-success p{ color: var(--ink-muted); }
#eligibility .elig-progress span{ background: var(--line-light); }
#eligibility .elig-field label{ color: var(--ink-muted); }
#eligibility .elig-field input,
#eligibility .elig-field select{
  background-color: #fff;
  border: 1px solid rgba(21,20,16,0.2);
  color: var(--ink);
}
#eligibility .elig-field input::placeholder{ color: #9a9583; opacity: 1; }
#eligibility .elig-field input:focus,
#eligibility .elig-field select:focus{ border-color: var(--gold); box-shadow: 0 0 0 3px rgba(195,168,125,0.22); }
#eligibility .elig-field select{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236b6650' stroke-width='1.6'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
}
#eligibility .elig-field .elig-error,
#eligibility .elig-submit-error{ color: #a4442a; }
#eligibility .elig-field.invalid input,
#eligibility .elig-field.invalid select{ border-color: #a4442a; }
#eligibility .elig-back{ color: var(--ink-muted); }
#eligibility .elig-back:hover{ color: var(--ink); }
#eligibility .btn{ background: var(--ink); border-color: var(--ink); color: var(--fg); }
#eligibility .btn:hover{ background: #2a2820; border-color: #2a2820; }
.elig-form{ max-width: 600px; }
.elig-privacy{ margin-top: 18px; font-size: 12px; color: var(--ink-muted); }
.elig-privacy a{ text-decoration: underline; text-underline-offset: 2px; }
.hp-field{ position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* booking step shown after a qualified submission */
.elig-booking{ display: none; }
.elig-booking.active{ display: block; }
.elig-booking h3{ font-size: clamp(22px, 2.6vw, 28px); color: var(--ink); }
.elig-booking p{ margin-top: 10px; color: var(--ink-muted); font-size: 14.5px; max-width: 52ch; }
.elig-booking iframe{ margin-top: 24px; width: 100%; min-height: 720px; border: 0; background: #fff; }
#eligibility.booking-open{ max-width: none; }
#eligibility.booking-open .elig-form{ max-width: none; }

/* ---------- Founder section ---------- */
.founder-grid{
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.founder-photo{ position: relative; isolation: isolate; }
.founder-photo img{ width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(100%); }
.founder-photo::after{
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold); z-index: -1;
}
.founder-copy h2{ font-size: clamp(28px, 3.6vw, 44px); margin-top: 14px; max-width: 18ch; }
.founder-copy p.body{ margin-top: 18px; font-size: 16px; line-height: 1.75; max-width: 58ch; }
.on-cream .founder-copy p.body{ color: var(--ink-muted); }
.on-dark .founder-copy p.body{ color: var(--fg-muted); }
.founder-sign{ margin-top: 26px; font-family: var(--font-display); font-size: 15px; }
.founder-sign small{ display: block; margin-top: 4px; font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.founder-facts{ margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; border-top: 1px solid var(--line-light); padding-top: 20px; }
.on-dark .founder-facts{ border-top-color: var(--line-dark); }
.founder-facts .figure{ font-family: var(--font-display); font-size: 24px; font-weight: 500; }
.founder-facts .caption{ margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--ink-muted); }
.on-dark .founder-facts .caption{ color: var(--fg-muted); }
@media (max-width: 920px){
  .founder-grid{ grid-template-columns: 1fr; }
  .founder-photo{ max-width: 420px; }
}
@media (max-width: 480px){
  .founder-facts{ grid-template-columns: 1fr; }
}

/* ---------- Legal pages ---------- */
.legal{ padding-top: clamp(56px, 8vw, 96px); }
.legal h1{ font-size: clamp(30px, 4vw, 46px); color: var(--ink); }
.legal .updated{ margin-top: 12px; font-size: 13px; color: var(--ink-muted); }
.legal-body{ margin-top: 40px; color: var(--ink); font-size: 15.5px; line-height: 1.75; }
.legal-body h2{ font-size: 20px; font-weight: 500; margin: 38px 0 10px; color: var(--ink); }
.legal-body h3{ font-size: 16px; font-weight: 600; margin: 24px 0 8px; color: var(--ink); }
.legal-body p{ margin: 0 0 14px; color: #3b382d; }
.legal-body ul{ margin: 0 0 16px; padding-left: 22px; color: #3b382d; }
.legal-body li{ margin-bottom: 6px; }
.legal-body a{ text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 404 ---------- */
.notfound{ min-height: 60vh; display: flex; align-items: center; }
.notfound h1{ font-size: clamp(32px, 4.6vw, 54px); }
.notfound p{ margin-top: 16px; color: var(--fg-muted); max-width: 48ch; }

/* ---------- Footer additions ---------- */
.footer-legal{ display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a{ color: var(--fg-muted); }
.footer-legal a:hover{ color: var(--gold); }

/* ---------- Mobile floating CTA (bottom right) ---------- */
.float-cta{
  position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 14; display: none; flex-direction: column; align-items: flex-end; gap: 10px;
}
.float-cta .float-toggle{
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.55);
  transition: transform .2s ease, background-color .2s ease;
}
.float-cta .float-toggle:hover{ background: var(--gold-strong); }
.float-cta.open .float-toggle{ transform: rotate(45deg); }
.float-cta .float-menu{ display: flex; flex-direction: column; align-items: flex-end; gap: 8px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.float-cta.open .float-menu{ opacity: 1; transform: none; pointer-events: auto; }
.float-cta .float-menu a{
  background: var(--cream-raised); color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 12px 16px; box-shadow: 0 10px 24px -12px rgba(0,0,0,0.5); white-space: nowrap;
}
.float-cta .float-menu a.primary{ background: var(--ink); color: var(--fg); border: 1px solid var(--gold); }
@media (max-width: 920px){ .float-cta{ display: flex; } }
body.menu-open .float-cta{ display: none; }

/* utility */
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; }

/* generic section headings (sections without their own heading rule) */
section > .wrap > h2, section > .wrap-narrow > h2{ font-size: clamp(28px, 3.6vw, 44px); margin-top: 14px; max-width: 22ch; }
h2.on-dark-heading{ color: var(--fg); }
.on-cream > .wrap > h2, .on-cream > .wrap-narrow > h2{ color: var(--ink); }
.sub{ margin-top: 14px; font-size: 16px; max-width: 60ch; }
.on-cream .sub{ color: var(--ink-muted); }
.on-dark .sub, .sub.on-dark-sub{ color: var(--fg-muted); }
.principles .service-card h3{ margin-top: 14px; }

/* ==========================================================
   v2 — 3-item nav with dropdown, breadcrumbs, FAQ, CTA band, contact
   ========================================================== */
.nav-links > li{ position: relative; }
.nav-links .has-sub > a{ display: inline-flex; align-items: center; gap: 7px; }
.nav-links .has-sub > a svg{ transition: transform .2s ease; }
.nav-links .has-sub:hover > a svg, .nav-links .has-sub:focus-within > a svg{ transform: rotate(180deg); }
.subnav{
  list-style: none; margin: 0; padding: 10px 0;
  position: absolute; top: calc(100% + 18px); left: -20px; min-width: 300px;
  background: var(--bg-raised); border: 1px solid var(--line-dark);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,0.7);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.subnav::before{ content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.has-sub:hover .subnav, .has-sub:focus-within .subnav{ opacity: 1; visibility: visible; transform: none; }
.subnav a{ display: block; padding: 12px 20px; opacity: 1 !important; }
.subnav a span{ display: block; margin-top: 3px; font-size: 12.5px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--fg-muted); }
.subnav a:hover{ background: rgba(250,249,245,0.04); }
.subnav a.active{ color: var(--gold); }
.nav-links a.nav-cta{
  opacity: 1; color: var(--ink); background: var(--gold); border: 1px solid var(--gold);
  padding: 12px 20px; letter-spacing: 0.08em;
}
.nav-links a.nav-cta:hover, .nav-links a.nav-cta.active{ background: var(--gold-strong); color: var(--ink); }

.mobile-menu .m-sub{ display: flex; flex-direction: column; gap: 14px; padding-left: 16px; border-left: 1px solid var(--line-dark); margin-top: -10px; }
.mobile-menu .m-sub a{ font-family: var(--font-body); font-size: 16px; color: var(--fg-muted); }

.crumbs{ display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; font-size: 12px; color: var(--fg-muted); }
.crumbs li + li::before{ content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a:hover{ color: var(--gold); }
.crumbs [aria-current]{ color: var(--fg); }

.faq{ margin-top: 40px; border-top: 1px solid var(--line-light); }
.on-dark .faq{ border-top-color: var(--line-dark); }
.faq details{ border-bottom: 1px solid var(--line-light); }
.on-dark .faq details{ border-bottom-color: var(--line-dark); }
.faq summary{ list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker{ display: none; }
.faq summary::after{ content: "+"; position: absolute; right: 4px; top: 18px; font-size: 24px; font-weight: 300; color: var(--gold); transition: transform .2s ease; }
.faq details[open] summary::after{ transform: rotate(45deg); }
.faq details p{ padding: 0 0 22px; max-width: 66ch; font-size: 15px; line-height: 1.7; }
.on-cream .faq details p{ color: var(--ink-muted); }
.on-dark .faq details p{ color: var(--fg-muted); }

.cta-band .wrap{ display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2{ font-size: clamp(26px, 3.2vw, 40px); max-width: 20ch; margin: 0 !important; }
.cta-band p{ margin-top: 12px; color: var(--fg-muted); max-width: 48ch; }

.service-card h2.card-title{ margin-top: 18px; font-size: 22px; font-weight: 500; color: var(--fg); max-width: none; }
.service-grid.on-cream .service-card h2.card-title{ color: var(--ink); }

.contact-grid{ display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-info h2{ font-size: 13px; font-family: var(--font-body); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: 34px; }
.contact-info h2:first-child{ margin-top: 0; }
.contact-info p, .contact-info li{ margin-top: 10px; color: var(--fg-muted); font-size: 15px; line-height: 1.7; }
.contact-info a{ color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.contact-info ol{ margin: 6px 0 0; padding-left: 20px; }
.contact-grid #eligibility{ margin-top: 0; }
@media (max-width: 920px){ .contact-grid{ grid-template-columns: 1fr; } }
.footer-col .footer-h{ font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); margin: 0 0 14px; max-width: none; }
.fit-col .fit-h{ font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.hero h1{ max-width: 18ch; }

/* ==========================================================
   v3 — story sections
   ========================================================== */
.hero h1, .page-header h1{ max-width: 17ch; }
.page-header{ padding-top: clamp(72px, 10vw, 120px); padding-bottom: clamp(64px, 8vw, 100px); }
.story-pain h2, .story-guide h2, .story-success h2, .founder-copy h2{ margin-top: 0; }

/* pain loop */
.loop{ list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; counter-reset: none; }
.loop-step{ position: relative; padding: 0 34px 0 0; }
.loop-step:not(:last-child)::after{
  content: ""; position: absolute; top: 21px; right: 10px; left: 58px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 11px);
}
.loop-num{
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--ink); background: var(--cream);
  font-family: var(--font-display); font-size: 16px; position: relative; z-index: 1;
}
.loop-step p{ margin-top: 18px; font-family: var(--font-display); font-size: 19px; line-height: 1.4; color: var(--ink); max-width: 16ch; }
.loop-repeat{ margin-top: 30px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--gold); letter-spacing: .02em; }
.loop-close{ margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-light); font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; color: var(--ink); max-width: 30ch; }
@media (max-width: 920px){
  .loop{ grid-template-columns: 1fr; gap: 26px; }
  .loop-step{ display: flex; gap: 18px; align-items: flex-start; padding: 0; }
  .loop-step p{ margin-top: 8px; max-width: none; }
  .loop-step:not(:last-child)::after{ top: 48px; bottom: -22px; left: 21px; right: auto; width: 1px; height: auto;
    background: repeating-linear-gradient(180deg, var(--gold) 0 6px, transparent 6px 11px); }
  .loop-num{ flex-shrink: 0; }
}

/* guide */
.story-guide .step-grid .step-item p.num{ text-transform: uppercase; letter-spacing: .12em; font-family: var(--font-body); font-weight: 700; font-size: 12px; }
.proof-row{ margin-top: 56px; grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 920px){ .proof-row{ grid-template-columns: 1fr; } }
.pull-quote{ margin: 56px 0 0; padding: 0 0 0 28px; border-left: 2px solid var(--gold); max-width: 62ch; }
.pull-quote p{ font-family: var(--font-display); font-size: clamp(19px, 2vw, 24px); line-height: 1.5; color: var(--fg); }
.on-cream .pull-quote p{ color: var(--ink); }
.pull-quote cite{ display: block; margin-top: 14px; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }

/* success / stakes */
.compare{ margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.compare-col{ padding: 30px 30px 26px; border: 1px solid var(--line-light); background: var(--cream-raised); }
.compare-col.lose{ background: transparent; }
.compare-col h3{ font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.compare-col.win h3{ color: #8a6f43; }
.compare-col ul{ list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.compare-col li{ position: relative; padding-left: 28px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.compare-col.win li::before{ content: "\2713"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.compare-col.lose li{ color: var(--ink-muted); }
.compare-col.lose li::before{ content: "\2715"; position: absolute; left: 0; color: #b0a993; font-size: 13px; top: 2px; }
@media (max-width: 720px){ .compare{ grid-template-columns: 1fr; } }
.btn-dark{ background: var(--ink); border-color: var(--ink); color: var(--fg); }
.btn-dark:hover{ background: #2a2820; border-color: #2a2820; color: var(--fg); }
.faq-title{ margin-top: 72px; font-size: 22px; font-weight: 500; color: var(--ink); }
.story-success .faq{ max-width: 760px; }
.text-link{ color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.founder-copy p.body + p.body{ margin-top: 14px; }
.elig-field select{ background-size: 14px 14px; background-position: right 12px center; }
.elig-field .elig-phone select{ padding-right: 30px; }
.logo-img{ display: block; line-height: 0; }
.logo-img img{ height: 52px; width: auto; }
.logo-foot img{ height: 30px; }
@media (max-width: 480px){ .logo-img img{ height: 44px; } .logo-foot img{ height: 26px; } }

/* homepage hero with background photo */
.hero-photo{
  position: relative;
  background: linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.62)), url("/images/hero-bg.jpg") center / cover no-repeat, var(--bg);
  min-height: min(88vh, 820px);
  display: flex; align-items: flex-end;
}
.hero-photo > .wrap{ width: 100%; max-width: none; margin: 0; padding-left: 50px; padding-right: 50px; }
@media (max-width: 600px){ .hero-photo > .wrap{ padding-left: 24px; padding-right: 24px; } }
.hero.hero-photo h1{ font-size: clamp(32px, 4.4vw, 54px); line-height: 1.1; max-width: 20ch; }
.hero-photo .lede{ color: rgba(255,255,255,.85); }

/* simplified footer */
footer{ padding-block: 28px 24px; }
.footer-row{ display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-row .footer-legal{ margin-left: auto; font-size: 12.5px; }
.footer-social{ display: flex; gap: 6px; }
.footer-social a{ display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: var(--fg-muted); border: 1px solid var(--line-dark); transition: color .2s, border-color .2s; }
.footer-social a:hover{ color: var(--gold); border-color: var(--gold); }
.footer-fine{ margin-top: 16px; font-size: 11.5px; line-height: 1.6; color: var(--fg-muted); }
@media (max-width: 600px){ .footer-row .footer-legal{ margin-left: 0; order: 3; width: 100%; } .footer-social{ margin-left: auto; } }

/* homepage headline: smaller, cleaner */
.hero.hero-photo h1{ font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; letter-spacing: -0.015em; max-width: 22ch; }

/* align nav + footer with the homepage hero's left edge */
header.nav > .wrap, footer > .wrap{ max-width: none; margin: 0; padding-left: 50px; padding-right: 50px; }
@media (max-width: 600px){ header.nav > .wrap, footer > .wrap{ padding-left: 24px; padding-right: 24px; } }

/* hero credentials under the CTA */
.hero-creds{ margin-top: 18px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.75); max-width: none; }

/* one-line footer */
footer{ padding-block: 22px; }
.footer-row{ gap: 14px; flex-wrap: nowrap; }
.footer-name{ font-family: var(--font-display); font-size: 15px; color: var(--fg); white-space: nowrap; }
.footer-row .footer-fine{ margin: 0 0 0 auto; font-size: 12px; white-space: nowrap; }
@media (max-width: 480px){ .footer-row{ flex-wrap: wrap; } .footer-row .footer-fine{ margin-left: 0; width: 100%; } }

/* site-wide left inset: 100px on desktop, scaling down on smaller screens */
:root{ --site-pad-l: 100px; }
@media (max-width: 1024px){ :root{ --site-pad-l: 60px; } }
@media (max-width: 600px){ :root{ --site-pad-l: 24px; } }
.wrap, .wrap-narrow{ padding-left: max(var(--site-pad-l), env(safe-area-inset-left, 0px)); }
header.nav > .wrap, footer > .wrap, .hero-photo > .wrap{ padding-left: max(var(--site-pad-l), env(safe-area-inset-left, 0px)); }

/* push the main nav links to the far right (the empty toggle holder was centring them) */
.nav-inner > nav{ margin-left: auto; }
@media (min-width: 921px){ .nav-right{ display: none; } }

/* footer: extra vertical breathing room + tagline after business name */
footer{ padding-block: 42px; }
.footer-tagline{ font-size: 13px; line-height: 1.5; color: var(--fg-muted); }
@media (max-width: 900px){ .footer-row{ flex-wrap: wrap; } .footer-row .footer-fine{ margin-left: 0; width: 100%; } }

/* hero background: compressed WebP with JPG fallback, smaller file on phones */
.hero-photo{
  background-image: linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.62)), url("/images/hero-bg.jpg");
  background-image: linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.62)), image-set(url("/images/hero-bg.webp") type("image/webp"), url("/images/hero-bg.jpg") type("image/jpeg"));
}
@media (max-width: 800px){
  .hero-photo{
    background-image: linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.62)), url("/images/hero-bg-800.jpg");
    background-image: linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.62)), image-set(url("/images/hero-bg-800.webp") type("image/webp"), url("/images/hero-bg-800.jpg") type("image/jpeg"));
  }
}

/* footer social icons (white), right of copyright */
.footer-row .footer-social{ display: flex; gap: 8px; flex-shrink: 0; margin-left: 4px; }
.footer-row .footer-social a{ color: #fff; border-color: rgba(255,255,255,0.35); }
.footer-row .footer-social a:hover{ color: var(--gold); border-color: var(--gold); }
@media (max-width: 900px){ .footer-row .footer-fine{ width: auto; } .footer-row .footer-social{ margin-left: auto; } }

/* case studies */
.more-link{ margin-top: 22px; font-size: 14px; font-weight: 700; }
.case-list{ margin-top: 44px; display: flex; flex-direction: column; gap: 28px; }
.case{ border: 1px solid var(--line-light); background: var(--cream-raised); padding: clamp(26px, 3.4vw, 40px); }
.on-dark .case{ background: var(--bg-raised); border-color: var(--line-dark); }
.case-meta{ font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a6f43; }
.on-dark .case-meta{ color: var(--gold); }
.case h3{ margin-top: 14px; font-size: clamp(21px, 2.4vw, 28px); line-height: 1.3; color: var(--ink); max-width: 28ch; }
.on-dark .case h3{ color: var(--fg); }
.case-story{ margin-top: 18px; display: grid; gap: 10px; max-width: 70ch; }
.case-story p{ font-size: 15px; line-height: 1.65; color: var(--ink-muted); }
.on-dark .case-story p{ color: var(--fg-muted); }
.case-story strong{ color: var(--ink); font-weight: 700; }
.on-dark .case-story strong{ color: var(--fg); }
.cs-stats{ margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; border-top: 1px solid var(--line-light); padding-top: 20px; }
.on-dark .cs-stats{ border-top-color: var(--line-dark); }
.case-grid .cs-stats{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.cs-stat .figure{ font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 2.6vw, 32px); color: var(--ink); }
.on-dark .cs-stat .figure{ color: var(--fg); }
.cs-stat .caption{ margin-top: 4px; font-size: 13px; color: var(--ink-muted); }
.on-dark .cs-stat .caption{ color: var(--fg-muted); }
.case .pull-quote{ margin-top: 28px; }
.case-grid{ margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
@media (max-width: 920px){ .case-grid{ grid-template-columns: 1fr; } .cs-stats{ grid-template-columns: 1fr 1fr; } }

/* case studies: horizontal scroller */
.case-scroller-head{ display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.case-controls{ display: flex; gap: 10px; }
.case-arrow{ width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: var(--fg); font-size: 20px; line-height: 1; cursor: pointer; transition: border-color .2s, background .2s, color .2s, opacity .2s; }
.case-arrow:hover:not(:disabled){ border-color: var(--gold); color: var(--gold); }
.case-arrow:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; }
.case-arrow:disabled{ opacity: .35; cursor: default; }
.case-track{
  --track-inset: max(var(--site-pad-l), calc((100vw - 1180px) / 2 + var(--site-pad-l)));
  margin-top: 36px; display: flex; gap: 24px; align-items: stretch;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 4px var(--track-inset) 22px; scroll-padding-inline: var(--track-inset);
  scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
  -webkit-overflow-scrolling: touch;
}
.case-track:focus-visible{ outline: 2px solid var(--gold); outline-offset: -2px; }
.case-track::-webkit-scrollbar{ height: 6px; }
.case-track::-webkit-scrollbar-thumb{ background: var(--gold); border-radius: 3px; }
.case-track::-webkit-scrollbar-track{ background: var(--line-dark); border-radius: 3px; }
.case-track .case-slide{ flex: 0 0 min(560px, 84vw); scroll-snap-align: start; display: flex; flex-direction: column; }
.case-track .case-slide.featured{ flex-basis: min(680px, 88vw); }
.case-slide .cs-stats{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.case-slide.featured .cs-stats{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.case-slide .pull-quote{ margin-top: auto; padding-top: 0; }
.case-slide .cs-stats + .pull-quote{ margin-top: 28px; }
.case-logo{ height: 64px; display: flex; align-items: center; margin-bottom: 22px; }
.case-logo picture{ display: block; height: 100%; }
.case-logo img{ height: 100%; width: auto; max-width: 220px; object-fit: contain; object-position: left center; }
.case-logo-text{ font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg); line-height: 1.2; max-width: 16ch; }
.on-cream .case-logo img{ filter: invert(1); }
.on-cream .case-logo-text{ color: var(--ink); }
.case-hint{ margin-top: 10px; font-size: 13px; color: var(--fg-muted); }
.on-dark .stats-note{ color: var(--fg-muted); }
@media (max-width: 600px){
  .case-track{ gap: 16px; }
  .case-slide.featured .cs-stats{ grid-template-columns: 1fr 1fr; }
  .case-logo{ height: 52px; }
}
@media (prefers-reduced-motion: reduce){ .case-track{ scroll-behavior: auto; } }

/* who we are: client reviews scroller */
.review-rating{ display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); }
.review-stars{ color: var(--gold); letter-spacing: .12em; font-size: 15px; }
.review-track .review-card{
  flex: 0 0 min(440px, 84vw); scroll-snap-align: start; margin: 0;
  display: flex; flex-direction: column; gap: 18px;
  background: var(--bg-raised); border: 1px solid var(--line-dark); padding: clamp(26px, 3vw, 36px);
}
.review-card blockquote{ margin: 0; display: grid; gap: 12px; }
.review-card blockquote p{ font-size: 15px; line-height: 1.65; color: var(--fg-muted); }
.review-card blockquote p:first-child{ font-family: var(--font-display); font-size: 17px; line-height: 1.55; color: var(--fg); }
.review-card figcaption{ margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-dark); font-family: var(--font-display); font-weight: 500; font-size: 15px; color: var(--fg); }
.review-card figcaption small{ display: block; margin-top: 4px; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
