/* Smart Menu Design — editorial tokens */
:root {
  /* Brand — pulled from SMD logo */
  --smd-coral: #1F4C97;
  --smd-coral-deep: #163A75;
  --smd-sky: #1F4C97;
  --smd-sky-deep: #1F4C97;
  --smd-amber: #FFB03B;
  --smd-amber-deep: #E59218;

  /* Compat aliases — old names now point to logo palette */
  --smd-blue: var(--smd-sky-deep);
  --smd-blue-deep: #163A75;
  --smd-orange: var(--smd-coral);
  --smd-cyan: var(--smd-sky);
  --smd-yellow: var(--smd-amber);

  /* Surface — clean off-white */
  --bg: #EEF0F6;
  --bg-warm: #E6E9F2;
  --bg-card: #F6F7FB;
  --ink: #0F1A2E;
  --ink-deep: #0F1A2E;
  --ink-soft: #2D3748;
  --ink-muted: #6B7685;
  --line: rgba(15,26,46,0.12);
  --line-strong: rgba(15,26,46,0.24);

  /* Accent — brand blue */
  --accent: #1F4C97;
  --accent-deep: #163A75;
  --accent-ink: #FFFFFF;
  --accent-soft: #1F4C97;
  --accent-soft-deep: #163A75;
  --accent-warm: #FFB03B;

  /* Type — DM Serif Display */
  --serif: 'Newsreader', 'Tiempos', Georgia, serif;
  --sans: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;

  /* Density */
  --pad-section: clamp(64px, 9vw, 140px);
  --pad-x: clamp(20px, 5vw, 80px);

  /* Radius — almost none, this is paper */
  --r-pill: 2px;
  --r-card: 2px;
  --r-tight: 2px;
}

body.dark {
  --bg: #0F1A2E;
  --bg-warm: #162038;
  --bg-card: #1A2540;
  --ink: #F5F5F2;
  --ink-soft: #C8D0DC;
  --ink-muted: #7A8699;
  --line: rgba(245,245,242,0.12);
  --line-strong: rgba(245,245,242,0.24);
}

body.compact {
  --pad-section: clamp(40px, 6vw, 88px);
  --pad-x: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.005em; }
.mono  { font-family: var(--sans); font-size: 0.74em; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .2s; }
.mobile-menu { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg); z-index: 49; padding: 80px 32px 40px; flex-direction: column; gap: 8px; }
.mobile-menu a { font-size: 28px; font-family: var(--serif); color: var(--ink); cursor: pointer; padding: 12px 0; border-bottom: 1px solid var(--line); display: block; }
.mobile-menu-bottom { margin-top: auto; display: flex; align-items: center; gap: 16px; padding-top: 24px; }

@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .nav-right { display: none !important; }
  .nav-burger { display: flex !important; }
  .mobile-menu { display: flex !important; }
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--pad-x);
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-logo { display: flex; align-items: center; gap: 2px; cursor: pointer; margin-right: 96px; }
.nav-logo svg { width: 80px; height: 80px; }
.nav-logo .lockup { display: flex; flex-direction: column; gap: 2px; padding-left: 6px; line-height: 1; }
.nav-logo .name { font-family: var(--sans); font-weight: 600; font-size: 17px; letter-spacing: 0.01em; color: var(--ink-deep); text-transform: none; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  text-decoration: none;
  font-size: 15px;
  color: var(--ink-soft);
  transition: color .2s;
  cursor: pointer;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-right { display: flex; gap: 28px; align-items: center; }
.lang-switch {
  display: inline-flex;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.lang-switch button {
  border: 0;
  background: transparent;
  padding: 5px 10px;
  border-radius: 0;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--sans);
  text-transform: uppercase;
}
.lang-switch button { color: var(--ink-soft); }
.lang-switch button.on { background: var(--ink-deep); color: #fff; }
.nav .btn { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.nav .btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: white; }
.nav .btn-sm { padding: 8px 14px; font-size: 12px; letter-spacing: 0.04em; white-space: nowrap; }
.nav .btn-outline-scanner { background: transparent; border: 1px solid var(--accent); color: var(--accent); border-radius: 4px; text-decoration: none; transition: background .15s, color .15s; }
.nav .btn-outline-scanner:hover { background: var(--accent); color: white; }
@media (min-width: 600px) {
  .hero .eyebrow { white-space: nowrap; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 0;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background .15s, color .15s;
  font-family: var(--sans);
}
.btn:hover { background: var(--bg); color: var(--ink); transform: none; box-shadow: none; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ---------- sections ---------- */
section { padding: var(--pad-section) var(--pad-x); }
.section-tight { padding: calc(var(--pad-section) * 0.6) var(--pad-x); }
.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 22px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--smd-coral);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--smd-sky);
  margin-right: 10px;
  vertical-align: 1.5px;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.018em; margin: 0; line-height: 1.02; }
h1 { font-size: clamp(56px, 8vw, 120px); font-weight: 300; }
h2 { font-size: clamp(38px, 5.2vw, 72px); }
h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.18; }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.55vw, 21px); color: var(--ink-soft); max-width: 58ch; line-height: 1.55; font-family: var(--serif); font-weight: 400; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(56px, 7vw, 112px);
  align-items: end;
}
.hero h1 .accent { color: var(--accent); font-style: normal; }
.hero h1 .strike { position: relative; display: inline-block; }
.hero h1 .strike::after { content: none; }
.hero-sub { margin-top: 32px; max-width: 46ch; }
.hero-cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
/* hero CTA — primary stays clear, slightly softened so headline leads */
.hero-cta .btn-accent { padding: 13px 22px; font-size: 14.5px; }
.hero-cta .btn-ghost { padding: 13px 20px; font-size: 14px; }
.hero-pillars { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 22px 28px; font-size: 13px; color: var(--ink-soft); }
.hero-pillars .hp { display: inline-flex; align-items: baseline; gap: 8px; }
.hero-pillars .hp .mono { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--ink); }

/* === Hero menu art === */
.hero-menu-art {
  position: relative;
  aspect-ratio: 4/5;
  min-height: 540px;
  /* support, not compete: subtle de-emphasis */
  opacity: 0.92;
  transform: scale(0.96);
  transform-origin: center right;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.hero-menu-art:hover {
  opacity: 1;
  transform: scale(1);
}
.hm-paper {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 2px 16px rgba(15,26,46,0.06);
  padding: 36px 36px 28px;
  transform: none;
  z-index: 2;
}
.hm-stamp {
  font-family: var(--sans); font-size: 14px; letter-spacing: .26em;
  color: var(--ink); text-align: center; margin-bottom: 10px; text-transform: uppercase;
  font-weight: 500;
}
.hm-title {
  font-family: var(--serif); font-size: 44px; line-height: 1; text-align: center;
  font-style: normal; font-weight: 300; color: var(--ink); margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.hm-divider { display: flex; justify-content: center; gap: 0; margin-bottom: 22px; }
.hm-divider span { width: 36px; height: 1px; background: var(--ink); }
.hm-divider span:nth-child(2) { display: none; }
.hm-divider span:nth-child(3) { display: none; }

.hm-section {
  font-family: var(--sans); font-size: 10px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--ink); font-weight: 500;
  border-top: 1px solid var(--line);
  padding-top: 16px; margin-top: 18px; margin-bottom: 12px;
}
.hm-item {
  padding: 9px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  column-gap: 14px;
  border-bottom: 1px dotted var(--line);
}
.hm-item:last-of-type { border-bottom: 0; }
.hm-item .hm-name {
  font-weight: 500; color: var(--ink);
  display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.hm-item .hm-desc {
  grid-column: 1 / 2;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 4px;
  font-style: italic;
  font-family: var(--serif);
  max-width: 36ch;
}
.hm-item .hm-price {
  font-variant-numeric: tabular-nums;
  font-family: var(--serif); font-size: 14px;
  color: var(--ink);
}
.hm-tag {
  font-family: var(--sans); font-size: 9px;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 2px 7px;
  background: #C7541E; color: #ffffff;
  border-radius: 0; font-weight: 500;
}
.hm-tag.muted { background: transparent; color: var(--ink-muted); border: 1px solid var(--line); }

.hm-item.featured {
  position: relative;
  background: linear-gradient(180deg, rgba(217,119,87,0.06), transparent);
  margin: 6px -10px;
  padding: 12px 10px 10px;
  border-bottom: 1px dotted var(--line);
  border-radius: 6px;
}
.hm-item.featured::before {
  content: ""; position: absolute; left: -22px; top: 14px;
  font-family: var(--serif); font-size: 18px; color: var(--accent);
}

.hm-foot {
  margin-top: 22px;
  display: flex; justify-content: space-between;
  font-family: var(--sans); font-size: 10px; color: var(--ink-muted);
  letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  border-top: 1px solid var(--line); padding-top: 14px;
}

.hm-photo {
  display: none;
}
.hm-photo-img {
  position: absolute; inset: 0;
  background-image: url("https://images.unsplash.com/photo-1490645935967-10de6ba17061?w=900&q=80&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  filter: saturate(0.85) contrast(0.95);
}
.hm-photo-tag {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(255,255,255,0.96);
  padding: 6px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ink);
}

.hm-stat-card {
  display: none;
}
.hm-stat-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.hm-stat-num { font-family: var(--serif); font-size: 36px; line-height: 1; font-weight: 500; color: var(--smd-yellow); }
.hm-stat-lbl { font-size: 11px; line-height: 1.35; color: rgba(255,255,255,0.8); padding-top: 4px; }
.hm-stat-bar {
  height: 4px; background: rgba(255,255,255,0.12); border-radius: 4px; overflow: hidden;
  margin-bottom: 8px;
}
.hm-stat-bar span { display: block; height: 100%; width: 76%; background: var(--smd-yellow); border-radius: 4px; }
.hm-stat-meta { font-size: 9.5px; letter-spacing: .08em; color: rgba(255,255,255,0.55); }

@media (max-width: 900px) {
  .hero-menu-art { aspect-ratio: auto; min-height: 0; opacity: 1; transform: none; }
  .hm-paper { position: static; right: 0; transform: none; }
  .hm-photo { position: static; width: 100%; margin-top: 18px; transform: none; aspect-ratio: 16/10; }
  .hm-stat-card { position: static; width: 100%; margin-top: 18px; transform: none; }
}

/* === Cycle === */
.cycle-section { padding-top: 80px; padding-bottom: 80px; }
.cycle-wrap {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 1000px) {
  .cycle-wrap { grid-template-columns: 1fr; }
  .cycle-ring { max-width: 360px; margin: 0 auto; }
}
.cycle-ring { aspect-ratio: 1; }
.cycle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 600px) { .cycle-grid { grid-template-columns: 1fr; } }
.cyc-card {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 24px 22px 22px;
  position: relative;
  transition: background .2s;
}
.cyc-card:hover { transform: none; background: var(--bg-warm); border-color: var(--ink); }
.cyc-card .cyc-num {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--ink);
  margin-bottom: 10px;
  font-weight: 500;
  text-transform: uppercase;
}
.cyc-card:nth-child(1) .cyc-num { color: var(--smd-coral); }
.cyc-card:nth-child(2) .cyc-num { color: var(--smd-sky-deep); }
.cyc-card:nth-child(3) .cyc-num { color: var(--smd-amber-deep); }
.cyc-card:nth-child(4) .cyc-num { color: var(--smd-coral); }
.cyc-card:nth-child(1) { border-top: 3px solid var(--smd-coral); }
.cyc-card:nth-child(2) { border-top: 3px solid var(--smd-sky-deep); }
.cyc-card:nth-child(3) { border-top: 3px solid var(--smd-amber); }
.cyc-card:nth-child(4) { border-top: 3px solid var(--smd-coral); }
.cyc-card h3 {
  font-size: 22px; font-family: var(--serif); font-weight: 400;
  margin: 0 0 10px; line-height: 1.2;
}
.cyc-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 14px; line-height: 1.5; font-family: var(--serif); }
.cyc-meta {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-family: var(--sans);
  font-weight: 500;
}
.cyc-data, .cyc-design, .cyc-track, .cyc-scale { background: var(--bg-card); }

/* === Results gallery === */
.results-gallery {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-rows: 280px 220px;
  gap: 16px;
}
@media (max-width: 900px) {
  .results-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 220px; }
}
.rg { position: relative; border-radius: 0; overflow: hidden; border: 1px solid var(--line-strong); }
.rg-tall { grid-row: 1 / span 2; }
.rg-wide { grid-column: 2 / span 2; }
@media (max-width: 900px) {
  .rg-tall { grid-row: auto; }
  .rg-wide { grid-column: auto; }
}
.rg-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s ease; filter: saturate(0.9); }
.rg:hover .rg-img { transform: scale(1.04); }
.rg-img-1 { background-image: url("https://images.unsplash.com/photo-1559339352-11d035aa65de?w=900&q=80&auto=format&fit=crop"); }
.rg-img-2 { background-image: url("https://images.unsplash.com/photo-1552566626-52f8b828add9?w=900&q=80&auto=format&fit=crop"); }
.rg-img-3 { background-image: url("https://images.unsplash.com/photo-1565299624946-b28f40a0ae38?w=900&q=80&auto=format&fit=crop"); }
.rg-img-4 { background-image: url("assets/catering.jpg"); background-size: cover; background-position: center; }
.rg-cap {
  position: absolute; left: 14px; bottom: 14px;
  background: var(--bg-card);
  padding: 6px 12px; border-radius: 0;
  font-family: var(--sans); font-size: 10px; letter-spacing: .18em; color: var(--ink); text-transform: uppercase; font-weight: 500;
}

/* === Team — small round avatars === */
.team-block { margin-top: 64px; }
.team-block .eyebrow { margin-bottom: 36px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 200px));
  justify-content: center;
  gap: 0 56px;
  align-items: start;
}
.team-avatar-sm {
  width: 96px; height: 96px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.team-avatar-sm img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.92) contrast(0.96);
  transition: transform .5s ease;
}
/* per-person crop tuning so faces sit on the same eye-line */
.team-card[data-person="rosanne"] .team-avatar-sm img { object-position: center 18%; transform: scale(1.25); }
.team-card[data-person="jonathan"] .team-avatar-sm img { object-position: center 28%; transform: scale(1.18); }
.team-card[data-person="jonathan"]:hover .team-avatar-sm img { transform: scale(1.24); }
.team-card[data-person="lucia"]    .team-avatar-sm img { object-position: center 12%; transform: scale(1.10); }
.team-card[data-person="lucia"]:hover .team-avatar-sm img { transform: scale(1.15); }

.team-card:hover .team-avatar-sm img { transform: scale(1.06); }
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 0;
}
.team-info { padding: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.team-info h3 {
  font-size: 22px; font-weight: 500;
  margin: 0;
  line-height: 1.2;
  min-height: 2.4em; /* reserve 2 lines so role baselines align across all three */
  display: flex; align-items: flex-start; justify-content: center;
}
.team-info .team-role {
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: .08em;
  margin: 0;
  line-height: 1.4;
}

/* Mobile: terug naar gestapelde rijen, avatar links naast tekst */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-content: stretch;
  }
  .team-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 20px;
  }
  .team-info { align-items: flex-start; }
  .team-info h3 { min-height: 0; }
  .team-avatar-sm { width: 80px; height: 80px; }
}
.hero-marquee { display: none; }

/* ---------- benefits ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: transparent;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  overflow: visible;
  margin-top: 56px;
}
.benefit {
  background: transparent;
  padding: 36px 32px 36px 0;
  display: flex; flex-direction: column; gap: 16px;
  border-right: 1px solid var(--line);
}
.benefit:last-child { border-right: 0; }
.benefit:not(:first-child) { padding-left: 32px; }
.benefit .num { font-family: var(--sans); font-weight: 500; color: var(--ink); font-size: 12px; letter-spacing: 0.18em; }
.benefit .ic { display: none; }
.benefit p { color: var(--ink-soft); font-size: 16px; font-family: var(--serif); line-height: 1.5; }

/* ---------- services flow ---------- */
.svc-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin-top: 48px;
}
.svc-flow-card {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg-card);
  border-right: 1px solid var(--line);
}
.svc-flow-card.featured {
  background: var(--ink-deep);
  color: var(--bg);
  border-right: 0;
}
.svc-flow-card h3 { font-size: 28px; font-weight: 400; }
.svc-flow-card.featured h3 { color: var(--bg); }
.svc-flow-step {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
}
.svc-flow-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  text-transform: uppercase;
}
.svc-flow-card.featured .svc-flow-tag { color: rgba(255,255,255,0.45); }
.svc-flow-card .svc-pos {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
.svc-flow-card.featured .svc-pos { color: rgba(255,255,255,0.92); }
.svc-flow-card .svc-desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.svc-flow-card.featured .svc-desc { color: rgba(255,255,255,0.72); }
.svc-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background: var(--bg);
  font-size: 28px;
  color: var(--accent);
  border-right: 1px solid var(--line);
}
.svc-scale-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-muted);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
@media (max-width: 768px) {
  .svc-flow { grid-template-columns: 1fr !important; }
  .svc-flow-arrow { padding: 8px 0; border: 0 !important; text-align: center; background: var(--bg); font-size: 20px; }
  .svc-flow-arrow span { display: inline-block; transform: rotate(90deg); }
  .svc-flow-card { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .svc-flow-card.featured { border-bottom: 1px solid var(--line); }
}

/* ---------- services ---------- */
.services { background: var(--bg-warm); }
.services-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 20px;
  transition: background .2s;
  position: relative; overflow: hidden;
}
.svc-card:hover { background: var(--bg); transform: none; box-shadow: none; }
.svc-card .label { display: flex; justify-content: space-between; align-items: center; }
.svc-card .label .price { font-family: var(--sans); color: var(--ink-muted); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.svc-card h3 { font-size: 30px; font-weight: 400; }
.svc-card .feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.svc-card .feats li {
  font-size: 15px; color: var(--ink-soft); font-family: var(--serif);
  padding-left: 18px; position: relative; line-height: 1.5;
}
.svc-card .feats li::before {
  content: "\2014"; position: absolute; left: 0; top: 0;
  width: auto; height: auto; background: transparent; color: var(--accent); border-radius: 0;
}
/* Offer / pricing blocks — 3 columns on desktop, single column on mobile */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  width: 100%;
}
.svc-grid .svc-card {
  width: 100%;
  max-width: 100%;
  border-top: 0;
  border-bottom: 0;
  border-left: 1px solid var(--line-strong);
  border-right: 0;
}
.svc-grid .svc-card:first-child { border-left: 0; }
.svc-card.featured { background: var(--ink-deep); color: var(--bg); border-color: var(--ink-deep); }
.svc-card.featured .feats li { color: rgba(247,243,234,0.8); }
.svc-card.featured .feats li::before { color: var(--accent); }
.svc-card.featured .label .price { color: rgba(247,243,234,0.6); }
.svc-card .badge-slot {
  min-height: 22px;
  display: flex; align-items: flex-start;
  margin-bottom: -8px;
}
.svc-card .badge {
  display: inline-block;
  background: var(--accent); color: var(--accent-ink);
  padding: 4px 10px; border-radius: 0;
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
}

/* ---------- results ---------- */
.results-head { max-width: 720px; margin-bottom: 56px; }
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.kpi {
  border-top: 1px solid var(--ink);
  padding-top: 22px;
}
.kpi .value { font-family: var(--serif); font-size: clamp(36px, 4.5vw, 64px); line-height: 1; font-weight: 300; letter-spacing: -0.02em; }
.kpi .value.up { color: var(--ink); }
.kpi .value.down { color: var(--accent); }
.kpi .desc { color: var(--ink-soft); font-size: 14.5px; margin-top: 12px; font-family: var(--serif); }
.kpi .label { font-family: var(--sans); color: var(--ink); font-size: 11px; margin-bottom: 16px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }

/* case bars */
.case-table { background: var(--bg-card); border: 1px solid var(--line-strong); border-radius: 0; overflow: hidden; }
.case-row {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 2fr 1fr;
  gap: 24px;
  padding: 18px 28px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.case-row:last-child { border-bottom: 0; }
.case-row.head {
  font-family: var(--sans); font-size: 11px; color: var(--ink); font-weight: 500;
  background: var(--bg-warm); letter-spacing: 0.16em; text-transform: uppercase;
}
.case-row .item-name { font-weight: 500; }
.case-row .item-name small { display: block; color: var(--ink-muted); font-weight: 400; font-size: 12px; margin-top: 2px; }
.case-row .interventions { display: flex; gap: 6px; flex-wrap: wrap; }
.case-row .tag {
  font-family: var(--sans); font-size: 10px; padding: 3px 9px;
  border-radius: 0; background: var(--bg-warm);
  color: var(--ink-soft); border: 1px solid var(--line); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
}
.case-row .tag.blue { background: color-mix(in oklab, var(--smd-blue) 14%, transparent); color: var(--smd-blue-deep); border-color: transparent; }
.case-row .tag.orange { background: color-mix(in oklab, var(--smd-orange) 16%, transparent); color: #B23A0F; border-color: transparent; }
.bar-wrap { display: flex; align-items: center; gap: 10px; }
.bar-track { flex: 1; height: 22px; background: var(--bg-warm); border-radius: 0; overflow: hidden; border: 1px solid var(--line); }
.bar-fill { height: 100%; background: var(--ink); border-radius: 0; transform-origin: left center; transform: scaleX(0); transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.bar-fill.neg { background: var(--accent); transform-origin: right center; }
.bar-value { font-family: var(--sans); font-weight: 500; font-size: 12px; color: var(--ink); min-width: 60px; letter-spacing: 0.04em; }
.bar-value.neg { color: var(--accent); }
.case-section-head {
  padding: 14px 28px;
  background: var(--bg-warm);
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-muted); border-bottom: 1px solid var(--line);
}

/* ---------- intervention example ---------- */
.iv { background: var(--ink-deep); color: var(--bg); }
.iv .eyebrow { color: var(--bg); border-bottom-color: var(--smd-coral); }
.iv .eyebrow::before { background: var(--smd-sky); }
.iv h2 { color: var(--bg); }
.iv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 60px; align-items: start; }
.iv-menu {
  background: var(--bg-card);
  color: var(--ink);
  border-radius: 0;
  padding: 40px 36px;
  font-family: var(--serif);
  position: relative;
}
.iv-menu .menu-title { text-align: center; font-size: 24px; margin-bottom: 6px; letter-spacing: 0.04em; }
.iv-menu .menu-sub { text-align: center; font-family: var(--sans); font-size: 11px; color: var(--ink-muted); margin-bottom: 24px; letter-spacing: 0.18em; text-transform: uppercase; }
.iv-menu hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.iv-menu .section-label { font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 12px; }
.iv-menu .item { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; font-size: 16px; }
.iv-menu .item .nm { font-weight: 500; }
.iv-menu .item .desc { font-family: var(--sans); font-size: 12px; color: var(--ink-muted); }
.iv-menu .item .pr { font-family: var(--sans); font-variant-numeric: tabular-nums; font-size: 13px; }
.iv-menu .pin {
  position: absolute;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--mono); font-size: 10px; padding: 4px 10px;
  border-radius: var(--r-pill);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform .2s;
  white-space: nowrap;
}
.iv-menu .pin:hover { transform: scale(1.06); }
.iv-menu .pin .pin-arrow { display: inline-block; margin-right: 4px; }

.iv-side h3 { color: var(--bg); margin-bottom: 14px; }
.iv-side p { color: rgba(255,255,255,0.72); font-size: 16px; margin-bottom: 28px; }
.iv-list { display: flex; flex-direction: column; gap: 14px; }
.iv-list .it {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: baseline;
  padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.14);
}
.iv-list .it .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-top: 6px; }
.iv-list .it .ttl { font-family: var(--serif); font-size: 18px; }
.iv-list .it p { color: rgba(255,255,255,0.6); font-size: 13.5px; margin-top: 4px; }
.iv-list .it .delta { font-family: var(--mono); font-size: 13px; color: var(--smd-cyan); }

/* ---------- quotes ---------- */
.quotes-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 50px; }
.quote {
  background: transparent;
  border-radius: 0;
  padding: 32px 0 0;
  border: 0;
  border-top: 1px solid var(--ink);
  position: relative;
}
.quote .mark { font-family: var(--serif); font-size: 60px; color: var(--accent); line-height: 0.5; height: 30px; }
.quote q { font-family: var(--serif); font-size: 24px; line-height: 1.35; quotes: none; display: block; margin: 18px 0 24px; font-weight: 300; letter-spacing: -0.005em; }
.quote q::before, .quote q::after { content: ""; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-warm); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; color: var(--ink-soft); }
.quote .who .nm { font-weight: 500; font-size: 14px; }
.quote .who .role { font-size: 12.5px; color: var(--ink-muted); }

/* ---------- calculator ---------- */
.calc { background: var(--ink-deep); color: var(--bg); border-radius: 0; padding: clamp(40px, 5vw, 64px); margin-top: 60px; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.calc h3 { color: var(--bg); font-size: clamp(28px, 3vw, 44px); margin-bottom: 14px; }
.calc p.lede { color: rgba(247,243,234,0.78); }
.calc-controls { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }
.calc-row { display: flex; flex-direction: column; gap: 10px; }
.calc-row .lbl { display: flex; justify-content: space-between; font-size: 14px; }
.calc-row .lbl .val { font-family: var(--sans); font-weight: 500; letter-spacing: 0.02em; }
.calc-row input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%;
  height: 2px; background: rgba(247,243,234,0.25); border-radius: 0;
  outline: none;
  accent-color: var(--accent);
}
.calc-row input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 16px; height: 16px; border-radius: 0;
  background: var(--accent); cursor: pointer;
  box-shadow: none;
}
.calc-row input[type=range]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 0;
  background: var(--accent); border: 0; cursor: pointer;
}
.calc-out {
  background: transparent;
  border: 1px solid rgba(247,243,234,0.25);
  border-radius: 0;
  padding: 32px;
  text-align: center;
}
.calc-out .label { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(247,243,234,0.6); }
.calc-out .num { font-family: var(--serif); font-size: clamp(40px, 5.2vw, 68px); margin: 12px 0; line-height: 1; font-weight: 300; letter-spacing: -0.02em; }
.calc-out .num .cur { font-size: 0.55em; color: #C7541E; margin-right: 4px; vertical-align: top; line-height: 1.4; }
.calc-out .num .range-sep { display: inline-block; margin: 0 0.18em; color: rgba(247,243,234,0.4); font-weight: 200; }
.calc-out .sub { font-size: 13px; color: rgba(247,243,234,0.6); line-height: 1.5; max-width: 44ch; margin: 14px auto 0; }

/* scenario buttons */
.calc-scenarios { gap: 12px; }
.calc-scenario-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 4px;
}
.calc-scenario-btn {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 12px 10px;
  background: transparent;
  color: rgba(247,243,234,0.7);
  border: 1px solid rgba(247,243,234,0.22);
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.calc-scenario-btn:hover { color: var(--bg); border-color: rgba(247,243,234,0.5); }
.calc-scenario-btn.is-active {
  background: #C7541E;
  color: #ffffff;
  border-color: #C7541E;
}

/* ---------- footer ---------- */
.footer { background: var(--ink-deep); color: var(--bg); padding: 80px var(--pad-x) 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; margin: 0 0 18px; font-weight: 500; color: var(--accent); }
.footer .col a { display: block; color: rgba(247,243,234,0.7); text-decoration: none; padding: 6px 0; font-size: 14px; font-family: var(--serif); border-bottom: 1px solid rgba(247,243,234,0.08); }
.footer .col a:last-child { border-bottom: 0; }
.footer .col a:hover { color: var(--bg); }
.footer .lede { color: rgba(247,243,234,0.7); }
.footer-bot { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid rgba(247,243,234,0.16); font-size: 11px; color: rgba(247,243,234,0.5); flex-wrap: wrap; gap: 16px; font-family: var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.footer-social { display: flex; gap: 20px; }
.footer-social a { color: rgba(247,243,234,0.5); text-decoration: none; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; transition: color .2s; }
.footer-social a:hover { color: rgba(247,243,234,0.9); }

/* ---------- pages ---------- */
.page { display: none; }
.page.active { display: block; }

.page-hero { padding: clamp(80px, 10vw, 140px) var(--pad-x) clamp(40px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(56px, 7vw, 96px); }
.page-hero .lede { margin-top: 24px; }

/* services page extended */
.svc-deep { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 56px; }
.svc-deep .card { background: var(--bg-card); border: 1px solid var(--line-strong); border-radius: 0; padding: 36px; }
.svc-process {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: transparent;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-left: 0; border-right: 0; border-radius: 0;
  overflow: visible; margin-top: 56px;
}
.process-step { background: transparent; padding: 32px 28px 32px 0; border-right: 1px solid var(--line); }
.process-step:last-child { border-right: 0; }
.process-step:not(:first-child) { padding-left: 28px; }
.process-step .step-num { font-family: var(--serif); font-size: 56px; color: var(--smd-coral); line-height: 0.9; font-weight: 300; }
.process-step:nth-child(2) .step-num { color: var(--smd-sky-deep); }
.process-step:nth-child(3) .step-num { color: var(--smd-amber-deep); }
.process-step:nth-child(4) .step-num { color: var(--smd-coral); }
.process-step h3 { font-size: 22px; margin: 14px 0 10px; font-weight: 400; }
.process-step p { color: var(--ink-soft); font-size: 14.5px; font-family: var(--serif); line-height: 1.5; }

/* cases list */
.case-list { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.case-card {
  background: var(--bg-card); border: 1px solid var(--line-strong);
  border-radius: 0; padding: 0;
  display: grid; grid-template-columns: 320px 1fr;
  align-items: stretch;
  overflow: hidden;
}
.case-card-img {
  background-size: cover;
  background-position: center;
  min-height: 300px;
  filter: saturate(0.85);
}
.case-card-content {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.case-card-img-1 { background-image: url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=700&q=80&auto=format&fit=crop"); background-position: center; }
.case-card-img-2 { background-image: url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?w=700&q=80&auto=format&fit=crop"); background-position: center; }
.case-card-img-3 { background-image: url("https://images.unsplash.com/photo-1533089860892-a7c6f0a88666?w=700&q=80&auto=format&fit=crop"); background-position: center; }
.case-card .left { display: flex; flex-direction: column; gap: 14px; }
.case-card-header { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 6px; }
.case-client-badge { display: flex; align-items: center; gap: 12px; }
.case-client-num { font-size: 11px; letter-spacing: 0.2em; color: var(--accent); font-weight: 600; }
.case-client-sector { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; }
.case-result-title { font-size: 26px; font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
.case-card .sector { font-family: var(--sans); color: var(--ink); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; }
.case-card h3 { font-size: 30px; font-weight: 400; }
.case-card .desc { color: var(--ink-soft); font-size: 16px; font-family: var(--serif); line-height: 1.55; }
.case-card .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-card .stat { border-left: 2px solid var(--accent); padding-left: 14px; }
.case-card .stat .val { font-family: var(--serif); font-size: 36px; line-height: 1; font-weight: 300; }
.case-card .stat .lbl { font-size: 11px; color: var(--ink-muted); margin-top: 8px; letter-spacing: 0.16em; text-transform: uppercase; font-family: var(--sans); font-weight: 500; }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 40px; }
.about-grid p { font-size: 17px; color: var(--ink-soft); margin-bottom: 18px; line-height: 1.65; }
.about-social {
  margin: 24px 0 48px;
  font-size: 15px;
  color: var(--ink-soft);
}
.about-social-link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.about-social-link:hover { color: var(--accent); }
.principles { margin-top: 60px; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.principle { padding: 32px; background: var(--bg-card); border: 1px solid var(--line-strong); border-radius: 0; }
.principle .n { font-family: var(--sans); font-weight: 500; color: var(--ink); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 14px; display: block; }
.principle h3 { font-size: 22px; margin-bottom: 12px; font-weight: 400; }
.principle p { color: var(--ink-soft); font-size: 15px; font-family: var(--serif); line-height: 1.55; }

/* placeholder image */
.placeholder {
  background: repeating-linear-gradient(
    45deg, var(--bg-warm), var(--bg-warm) 12px,
    color-mix(in oklab, var(--bg-warm) 88%, var(--ink) 12%) 12px,
    color-mix(in oklab, var(--bg-warm) 88%, var(--ink) 12%) 24px
  );
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 500; font-size: 11px; color: var(--ink-muted); letter-spacing: 0.16em; text-transform: uppercase;
  aspect-ratio: 4/3;
}

/* case tags */
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.case-tag {
  font-family: var(--sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 5px 10px;
  border-radius: 0;
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  font-weight: 500;
}

/* partners */
.partners-block { margin-top: 100px; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
  background: transparent;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-left: 0; border-right: 0;
  border-radius: 0;
  overflow: visible;
}
.partner-cell {
  background: transparent;
  padding: 28px 20px;
  font-family: var(--serif);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 90px;
  color: var(--ink);
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transition: background 0.2s, color 0.2s;
}
.partner-cell:nth-child(-n+4) { border-top: 0; }
.partner-cell:nth-child(4n) { border-right: 0; }
.partner-cell:hover { background: var(--ink); color: var(--bg); }

/* where we work */
.where-block { margin-top: 100px; }
.where-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.where-col {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 0;
}
.where-col.in { border-left: 4px solid var(--ink); }
.where-col.out { border-left: 4px solid var(--accent); opacity: 0.78; }
.where-col h4 {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink);
  margin-bottom: 18px;
  font-weight: 500;
}
.where-col ul { list-style: none; padding: 0; margin: 0; }
.where-col li {
  padding: 10px 0;
  font-size: 16px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-family: var(--serif);
}
.where-col li:first-child { border-top: 0; }
.where-rule {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--bg-warm);
  border-radius: 0;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
}

/* proofbar — editorial light strip on paper */
.proofbar {
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  padding: 40px 48px 44px;
  margin: 0 var(--pad-x) var(--pad-section);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.proofbar::before { content: none; }
.proofbar-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.proofbar-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.proofbar-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 56px;
  align-items: end;
  border-top: 1px solid rgba(28,28,28,0.18);
  padding-top: 40px;
}
.pb-stat { display: flex; flex-direction: column; gap: 14px; }
.pb-v {
  font-family: var(--serif);
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 300;
  font-feature-settings: "lnum" 1, "tnum" 0;
  color: var(--ink);
}
.pb-l { font-size: 14px; color: rgba(28,28,28,0.68); letter-spacing: 0.01em; font-family: var(--serif); line-height: 1.45; max-width: 28ch; }
.proofbar-note {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(28,28,28,0.5);
  border-top: 1px solid rgba(28,28,28,0.12);
  padding-top: 18px;
  font-family: var(--sans);
}

/* mid CTA — editorial wedge */
.midcta {
  margin: 0 var(--pad-x);
  padding: calc(var(--pad-section) * 0.4) 0;
}
.midcta-inner {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 4px;
  padding: 24px 32px;
  text-align: left;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  border-top: none;
  border-bottom: none;
}
.midcta-inner::before { content: none; }
.midcta-inner > * { position: relative; }
.midcta-inner h2 {
  color: var(--accent-ink);
  margin: 0 0 4px;
  max-width: 40ch;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.2;
  font-weight: 300;
}
.midcta-inner .lede {
  color: rgba(247,243,234,0.85);
  max-width: 56ch;
  margin: 0;
  font-size: 14px;
}
.midcta-inner .btn-accent {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.midcta-inner .btn-accent:hover { background: transparent; color: var(--accent-ink); border-color: var(--accent-ink); }
/* responsive */
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr !important; border-left: 0 !important; }
  .svc-grid .svc-card { border-left: 0 !important; border-right: 0 !important; border-top: 1px solid var(--line-strong) !important; border-bottom: 0 !important; }
  .svc-grid .svc-card:last-child { border-bottom: 1px solid var(--line-strong) !important; }
  .svc-card .label { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 960px) {
  .hero-grid, .iv-grid, .calc-grid, .about-grid, .quotes-row, .svc-deep, .where-grid { grid-template-columns: 1fr; }
  .case-card { grid-template-columns: 1fr !important; }
  .case-card-img { min-height: 200px; }
  .case-card-content { padding: 24px 22px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .midcta-inner h2 { width: auto !important; max-width: none !important; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .case-row { grid-template-columns: 1fr; gap: 8px; }
  .case-row.head { display: none; }
  .nav-links { display: none; }
  .proofbar { padding: 28px 24px; }
  .proofbar-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .midcta-inner { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* results methodology footnote */
.results-foot {
  margin: 18px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  opacity: .75;
  max-width: 72ch;
}

/* ============================================================
   MOBILE — quiet, premium, single-column
   Below 768px: hide decorative density, scale type, stack everything.
   Inline widths in the JSX are overridden with !important.
   ============================================================ */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; }

  :root {
    --pad-section: 64px;
    --pad-x: 22px;
  }
  body.compact { --pad-section: 56px; --pad-x: 20px; }

  /* ---- Type ---- */
  h1 {
    font-size: clamp(40px, 10vw, 56px) !important;
    line-height: 1.04;
    letter-spacing: -0.02em;
    text-wrap: balance;
    overflow-wrap: break-word;
    hyphens: none;
  }
  h2 { font-size: clamp(28px, 7.4vw, 40px) !important; line-height: 1.1; text-wrap: balance; }
  h3 { font-size: clamp(20px, 5vw, 26px) !important; line-height: 1.2; }
  .lede { font-size: 16px; line-height: 1.55; }
  p { text-wrap: pretty; }

  /* ---- Sections ---- */
  section { padding: var(--pad-section) var(--pad-x) !important; }
  .section-tight { padding: calc(var(--pad-section) * 0.7) var(--pad-x) !important; }

  /* ---- Nav ---- */
  .nav { padding: 14px var(--pad-x); }
  .nav-links { display: none; }
  .nav-cta { padding: 10px 14px; font-size: 12px; min-height: 40px; }
  .nav-brand, .nav .brand { font-size: 14px; }

  /* ---- Hero — text-led, calm ---- */
  .hero { padding-top: 24px !important; padding-bottom: 8px !important; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 28px; align-items: start; }
  .hero h1 .accent { display: inline; }
  .hero-sub { margin-top: 16px !important; max-width: none !important; font-size: 16px; }
  .hero-cta {
    margin-top: 22px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100%;
  }
  .hero-cta .btn,
  .hero-cta .btn-accent,
  .hero-cta .btn-ghost {
    width: 100% !important;
    justify-content: center;
    min-height: 52px;
    padding: 15px 20px !important;
    font-size: 15px !important;
  }

  /* Hide decorative density on mobile — too much for a phone screen */
  .hero-pillars { display: none !important; }
  .hero-marquee { display: none !important; }

  /* Hero menu art — kept but compact, no overlapping cards */
  .hero-menu-art { display: none !important; }
  .hm-paper {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    box-sizing: border-box;
  }
  .hm-photo { display: none !important; }
  .hm-title { font-size: 28px !important; margin-bottom: 12px !important; }
  .hm-stamp { font-size: 10px !important; }
  .hm-mobile-hide { display: none !important; }
  .quotes-section { display: none !important; }
  .hm-stat-card {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 14px 0 0 !important;
    transform: none !important;
    box-sizing: border-box;
  }

  /* ---- Stack every multi-col grid ---- */
  .hero-grid,
  .iv-grid,
  .calc-grid,
  .about-grid,
  .case-card,
  .quotes-row,
  .svc-deep,
  .where-grid,
  .cycle-wrap,
  .cycle-grid,
  .benefits-grid,
  .principle-grid,
  .results-gallery,
  .svc-grid,
  .svc-process,
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .benefit { padding-left: 0 !important; padding-right: 0 !important; border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .benefit:last-child { border-bottom: 0; }
  .results-gallery { grid-template-rows: auto !important; gap: 12px; }
  .results-gallery .rg { min-height: 220px; }
  .rg-tall, .rg-wide { grid-row: auto !important; grid-column: auto !important; }
  .svc-grid { border-left: 0 !important; }
  .svc-grid .svc-card { border-left: 0 !important; border-right: 0 !important; }

  /* ---- Cards / metrics ---- */
  .kpi-row { grid-template-columns: 1fr 1fr !important; gap: 14px; }

  .proofbar {
    padding: 28px 22px !important;
    margin-left: 22px;
    margin-right: 22px;
  }
  .proofbar-stats { grid-template-columns: 1fr 1fr !important; gap: 18px; }
  .proofbar-eyebrow { font-size: 10.5px; }
  .pb-v { font-size: 30px; }

  /* Override hardcoded inline width on midcta h2 */
  .midcta-inner h2 {
    width: auto !important;
    max-width: none !important;
    font-size: clamp(28px, 7vw, 36px) !important;
  }
  .midcta { margin: 0 22px var(--pad-section) !important; }
  .midcta-inner { padding: 36px 22px !important; }
  .midcta-inner .btn-accent {
    width: 100% !important;
    justify-content: center;
    min-height: 52px;
    padding: 15px 20px !important;
  }

  /* Cycle ring */
  .cycle-ring { max-width: 280px !important; margin: 0 auto !important; }

  /* Case cards */
  .case-card { padding: 26px 22px !important; gap: 20px; }
  .case-card .stats { grid-template-columns: 1fr 1fr !important; gap: 14px; }
  .case-card h3 { font-size: 24px !important; }
  .case-card .stat .val { font-size: 28px !important; }

  /* Calculator */
  .calc { padding: 32px 22px !important; margin-top: 32px; border-radius: 0; }
  .calc-grid { gap: 24px; }
  .calc-scenario-btns { gap: 4px; }
  .calc-scenario-btn { padding: 12px 6px; font-size: 10px; letter-spacing: 0.1em; }
  .calc-out .num { font-size: clamp(32px, 9vw, 48px); }

  /* Partners — keep 2-up, recompute borders */
  .partners-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .partner-cell { border-right: 1px solid var(--line-strong); border-top: 1px solid var(--line-strong); }
  .partner-cell:nth-child(-n+2) { border-top: 0; }
  .partner-cell:nth-child(2n) { border-right: 0; }

  /* Page heroes (interior) */
  .page-hero { padding: clamp(56px, 14vw, 88px) var(--pad-x) 32px !important; }
  .page-hero h1 { font-size: clamp(40px, 10vw, 56px) !important; }
  .page-hero .lede { margin-top: 16px; }

  /* Footer */
  .footer { padding: 48px var(--pad-x) 28px !important; }
  .footer-grid { gap: 28px; margin-bottom: 32px; }
  .footer h4 { margin-bottom: 10px; }

  /* Misc */
  .results-head { margin-bottom: 32px; }
  .results-foot { font-size: 10.5px; }
  section img, section svg { max-width: 100%; height: auto; }
}

/* ---- Small phones (≤ 420px) — final tightening ---- */
@media (max-width: 420px) {
  :root { --pad-x: 20px; --pad-section: 56px; }
  h1 { font-size: clamp(36px, 10vw, 48px) !important; }
  h2 { font-size: clamp(26px, 8vw, 34px) !important; }
  .case-card .stats { grid-template-columns: 1fr !important; }
  .proofbar-stats { grid-template-columns: 1fr !important; }
  .kpi-row { grid-template-columns: 1fr !important; }
  .partners-grid { grid-template-columns: 1fr !important; }
  .partner-cell { border-right: 0 !important; }
  .midcta { margin-left: 16px !important; margin-right: 16px !important; }
  .proofbar { margin-left: 16px; margin-right: 16px; padding: 24px 18px !important; }
}


/* ============================================================
   MENU SCAN FORM
   ============================================================ */
.menuscan-section {
  padding: var(--pad-section) var(--pad-x);
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.menuscan-hero {
  margin-bottom: 48px;
  max-width: 60ch;
}
.menuscan-hero h2 {
  margin-top: 4px;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.menuscan-hero .lede {
  margin-top: 18px;
  max-width: 60ch;
}
.menuscan-proof {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.ms-proof-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ms-proof-num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.ms-proof-lbl {
  font-size: 13px;
  color: var(--ink-muted);
  max-width: 20ch;
  line-height: 1.4;
}
.menuscan-inner {
  max-width: 880px;
  margin: 0 auto;
}
.menuscan-head {
  text-align: left;
  margin-bottom: 48px;
  max-width: 60ch;
}
.menuscan-head h2 {
  margin-top: 4px;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.menuscan-head .lede {
  margin-top: 18px;
  max-width: 60ch;
}

.menuscan-form {
  background: var(--paper, var(--bg));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.ms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
}
.ms-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ms-field.full { grid-column: 1 / -1; }
.ms-label {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.ms-req { color: var(--accent, #C7541E); }
.ms-field input,
.ms-field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.ms-field input:focus,
.ms-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--ink) 8%, transparent);
}
.ms-field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}

.ms-file {
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  padding: 22px 24px;
  background: color-mix(in oklab, var(--ink) 2%, transparent);
}
.ms-file-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.ms-help {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted, var(--ink-soft));
}
.ms-file-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ms-file-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.ms-file-btn:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.ms-file-btn svg { flex-shrink: 0; }
.ms-file-name {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 12px;
  color: var(--ink-muted, var(--ink-soft));
  flex: 1;
  min-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ms-file-name.has { color: var(--ink); }

.menuscan-privacy {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

.menuscan-error {
  font-size: 14px;
  color: var(--accent, #C7541E);
  background: color-mix(in oklab, var(--accent, #C7541E) 8%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent, #C7541E) 25%, transparent);
  padding: 12px 16px;
  border-radius: 8px;
  margin: 0;
}

.menuscan-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.menuscan-submit {
  padding: 14px 24px;
}
.menuscan-call {
  padding: 14px 22px;
  width: auto !important;
}
.menuscan-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.menuscan-success {
  text-align: center;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.ms-success-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-size: 24px;
  margin-bottom: 8px;
}
.menuscan-success h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  max-width: 22ch;
}
.menuscan-success .lede {
  max-width: 50ch;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .menuscan-form { padding: 24px; }
  .ms-grid { grid-template-columns: 1fr; gap: 18px; }
  .ms-file { padding: 18px; }
  .ms-file-head { flex-direction: column; gap: 4px; align-items: flex-start; }
  .menuscan-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .menuscan-submit, .menuscan-call { width: 100%; justify-content: center; }
}
