/* Ark3 — spec-aligned design system
   Single font: Inter (weight for hierarchy)
   Palette per §5.1
   8px spacing · 1200px max · 96px section padding
*/
:root {
  /* Colors — brief §5.1 */
  --dusty-blue: #7E9BAA;
  --dusty-blue-2: #6A8694;
  --terracotta: #B8856C;
  --terracotta-2: #A3755E;
  --sand: #E8DDD0;
  --sage: #7A9E7E;
  --deep-forest: #2D3B2D;
  --cream: #F5F0E8;
  --white: #FFFFFF;

  --border: rgba(45, 59, 45, 0.08);
  --border-2: rgba(45, 59, 45, 0.18);
  --muted: rgba(45, 59, 45, 0.64);
  --muted-2: rgba(45, 59, 45, 0.48);

  --accent: var(--dusty-blue);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Spacing */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 48px; --s6: 64px; --s7: 96px;

  --max: 1200px;
  --nav-h: 76px;

  /* Wizard / form tokens */
  --shadow-soft: 0 1px 2px rgba(58,74,85,0.04), 0 12px 32px rgba(58,74,85,0.06);
  --tint-primary: rgba(126,155,170,0.06);
  --tint-primary-strong: rgba(126,155,170,0.20);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--deep-forest);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s4);
}

/* Type — single family, weight hierarchy */
h1, h2, h3, h4, h5 { margin: 0; color: var(--deep-forest); line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.2vw, 36px); font-weight: 600; }
h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 var(--s2); max-width: 70ch; }
.lede { font-size: 19px; line-height: 1.5; color: var(--deep-forest); opacity: 0.8; max-width: 60ch; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dusty-blue-2);
  margin-bottom: var(--s2);
}

/* Buttons — brief §5.4 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--dusty-blue); color: var(--white); }
.btn-primary:hover { background: var(--dusty-blue-2); }
.btn-secondary { background: transparent; color: var(--terracotta-2); border-color: var(--terracotta); }
.btn-secondary:hover { background: rgba(184,133,108,0.08); }
.btn-ghost { background: transparent; color: var(--deep-forest); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--deep-forest); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Nav — full-width sticky */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  transition: box-shadow .25s ease, background .25s ease;
}
.nav.scrolled { box-shadow: 0 1px 0 var(--border), 0 6px 20px -16px rgba(45,59,45,0.18); }
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s4);
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: "DM Sans", "Inter", sans-serif;
  font-weight: 600;
  font-size: 41px;
  letter-spacing: -0.02em;
  color: var(--deep-forest);
}
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--dusty-blue);
  color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
}
.brand-logo {
  width: 69px; height: 69px;
  display: block;
}
.footer .brand-logo { filter: brightness(0) invert(1) opacity(0.92); }
.nav-link-wrap { position: relative; display: inline-flex; align-items: center; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: 6px;
  background: transparent;
  border: 0;
  color: var(--deep-forest);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background .15s, color .15s;
  cursor: pointer;
  opacity: 0.8;
}
.nav-link:hover { background: rgba(45,59,45,0.05); opacity: 1; }
.nav-link.active { background: rgba(126,155,170,0.14); color: var(--dusty-blue-2); opacity: 1; }
.nav-link .caret {
  display: block;
  transition: transform .2s;
}
.nav-link.open .caret { transform: rotate(180deg); }

.nav-link-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.services-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 10px 30px -12px rgba(45,59,45,0.2);
  display: none;
  flex-direction: column;
  gap: 2px;
}
.services-dropdown.open {
  display: flex;
  animation: ddIn .18s ease;
}
@keyframes ddIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.dd-item {
  padding: 12px 14px;
  border-radius: 6px;
  display: flex; flex-direction: column; gap: 2px;
}
.dd-item:hover { background: var(--cream); }
.dd-item .t { font-weight: 600; font-size: 15px; color: var(--deep-forest); }
.dd-item .d { font-size: 13px; color: var(--muted); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 10px 18px; font-size: 14px; }

/* Mobile nav — hamburger button + slide-down panel */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: var(--deep-forest);
  border-radius: 6px;
  flex-shrink: 0;
}
.nav-toggle:hover { background: rgba(45,59,45,0.05); }
.nav-toggle-bars {
  position: relative;
  display: block;
  width: 22px;
  height: 16px;
}
.nav-toggle-bars > span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: top .2s ease, transform .2s ease, opacity .15s ease;
}
.nav-toggle-bars > span:nth-child(1) { top: 0; }
.nav-toggle-bars > span:nth-child(2) { top: 7px; }
.nav-toggle-bars > span:nth-child(3) { top: 14px; }
.nav-toggle.open .nav-toggle-bars > span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle.open .nav-toggle-bars > span:nth-child(2) { opacity: 0; }
.nav-toggle.open .nav-toggle-bars > span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  background: var(--cream);
  border-top: 1px solid var(--border);
  box-shadow: 0 12px 24px -16px rgba(45,59,45,0.25);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 49;
}
.mobile-menu.open { opacity: 1; transform: translateY(0); }
.mobile-menu-inner {
  padding: var(--s3) var(--s4) var(--s5);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mm-group { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.mm-group-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 12px 8px 4px;
}
.mm-link {
  display: block;
  padding: 14px 8px;
  border-radius: 6px;
  color: var(--deep-forest);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}
.mm-link:hover, .mm-link:focus { background: rgba(45,59,45,0.05); }
.mm-link.active { color: var(--dusty-blue-2); background: rgba(126,155,170,0.14); }
.mm-sublink { padding-left: 18px; font-size: 16px; }
.mm-cta {
  margin-top: var(--s3);
  justify-content: center;
}

/* Hero */
.hero {
  padding: var(--s7) 0 var(--s7);
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 70%, rgba(232,221,208,0.4) 100%);
}
.hero .eyebrow { color: var(--terracotta-2); }
.hero h1 { max-width: 18ch; margin-bottom: var(--s3); }
.hero .lede { margin-bottom: var(--s4); }
.hero-ctas { display: flex; gap: var(--s2); flex-wrap: wrap; }

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s6);
  align-items: center;
}
.hero-text { order: 2; }
.hero-image-side {
  order: 1;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: var(--sand);
  border: 1px solid var(--border);
}
.hero-image-side img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-image-side .mask {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(45,59,45,0) 60%, rgba(45,59,45,0.25) 100%);
  pointer-events: none;
}

/* Legacy hero-image for any remaining uses */
.hero-image {
  position: relative;
  aspect-ratio: 21 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--sand);
  border: 1px solid var(--border);
}
.hero-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-image .mask {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(45,59,45,0) 60%, rgba(45,59,45,0.25) 100%);
  pointer-events: none;
}

/* Section rhythm */
section { padding: var(--s7) 0; }
section.alt { background: var(--sand); }
.section-head { max-width: 700px; margin-bottom: var(--s5); }
.section-head .eyebrow { color: var(--terracotta-2); }
.section-head h2 { margin-bottom: var(--s2); }
.section-head p { color: var(--muted); font-size: 18px; line-height: 1.55; }

/* Three-up */
.three-up { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--s4);
  display: flex; flex-direction: column; gap: var(--s2);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  cursor: pointer;
}
.card:hover { border-color: var(--border-2); background: #FBF7EF; }
.card .card-ico {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(126,155,170,0.14);
  color: var(--dusty-blue-2);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--s1);
}
.card h3 { color: var(--deep-forest); }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.55; flex: 1; }
.card .more {
  font-size: 14px; font-weight: 500;
  color: var(--dusty-blue-2);
  display: inline-flex; gap: 6px; align-items: center;
}

/* Why band — Sea Breeze (Dusty Blue) */
.why-band {
  background: var(--dusty-blue);
  color: var(--white);
}
.why-band h2, .why-band p { color: var(--white); }
.why-band .muted { color: rgba(255,255,255,0.82); }
.why-band .eyebrow { color: rgba(255,255,255,0.75); }
.why-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s6); align-items: center; }
.why-grid .stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: var(--s4); }
.why-grid .stat .n { font-size: clamp(32px, 3.6vw, 44px); font-weight: 700; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.why-grid .stat .l { margin-top: 6px; font-size: 13px; color: rgba(255,255,255,0.8); letter-spacing: 0.04em; }

/* Logo band — 3 over 2, bottom row offset into the gaps */
.logo-band {
  display: grid;
  gap: var(--s5);
  margin-top: var(--s5);
  padding: var(--s4) 0;
}
.logo-band .logo-row {
  display: grid;
  gap: var(--s5);
  align-items: center;
}
.logo-band .logo-row-top { grid-template-columns: repeat(4, 1fr); }
.logo-band .logo-row-bot {
  grid-template-columns: repeat(3, 1fr);
  width: 75%;
  margin: 0 auto;
}
.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s2);
}
.logo-cell img {
  max-width: 100%;
  max-height: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 960px) {
  .logo-band .logo-row-top,
  .logo-band .logo-row-bot { grid-template-columns: 1fr 1fr; width: 100%; }
  .logo-cell img { max-height: 96px; }
}

/* Proof band */
.proof {
  background: var(--cream);
}
.proof .small-note { font-size: 14px; color: var(--muted); max-width: 60ch; margin-top: var(--s2); }
.logo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s3);
  margin-top: var(--s4);
}
.logo-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
  display: flex; align-items: center; justify-content: center;
  min-height: 88px;
  text-align: center;
  font-weight: 600;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.logo-tile:hover { border-color: var(--border-2); }

/* Approach teaser */
.approach-teaser {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: center;
}
.principle-list { display: grid; gap: var(--s3); }
.principle {
  display: grid; grid-template-columns: 32px 1fr; gap: var(--s3); align-items: start;
  padding: 0;
}
.principle .dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(122,158,126,0.22); color: var(--sage);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; margin-top: 3px;
}
.principle h4 { margin-bottom: 4px; }
.principle p { color: var(--muted); font-size: 15px; margin: 0; }

/* FAQ */
.faq-list {
  border-top: 1px solid var(--border-2);
}
.faq-item {
  border-bottom: 1px solid var(--border-2);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--deep-forest);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s3);
  transition: color .15s;
}
.faq-q:hover { color: var(--dusty-blue-2); }
.faq-q .plus {
  flex: none;
  width: 24px; height: 24px;
  border: 1px solid var(--border-2); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 400;
  color: var(--muted);
  transition: transform .25s ease, background .2s, color .2s;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--dusty-blue); color: var(--white); border-color: var(--dusty-blue); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item.open .faq-a { max-height: 2000px; }
.faq-a-inner { padding: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 68ch; }

/* CTA band */
.cta-band {
  background: var(--sand);
  text-align: center;
}
.cta-band h2 { max-width: 22ch; margin: 0 auto var(--s2); }
.cta-band p { margin: 0 auto var(--s4); color: var(--muted); }
.cta-band .row { display: flex; gap: var(--s2); justify-content: center; flex-wrap: wrap; }

/* Footer — Sea Breeze */
.footer {
  background: var(--dusty-blue);
  color: var(--white);
  padding: var(--s6) 0 var(--s4);
}
.footer .footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s5);
}
.footer .brand { color: var(--white); }
.footer .brand-mark { background: var(--white); color: var(--dusty-blue); }
.footer .col-desc {
  margin-top: var(--s2);
  color: rgba(255,255,255,0.82);
  font-size: 14.5px;
  max-width: 34ch;
}
.footer h5 {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin: 0 0 var(--s2);
}
.footer a, .footer p {
  display: block;
  color: rgba(255,255,255,0.9);
  font-size: 14.5px;
  margin: 0 0 8px;
}
.footer a:hover { color: var(--white); }
.footer-bottom {
  margin-top: var(--s5);
  padding-top: var(--s3);
  border-top: 1px solid rgba(255,255,255,0.2);
  display: flex; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}

/* Image placeholders */
.img-placeholder {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(126,155,170,0.08) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, var(--sand) 0%, #D9CDBD 100%);
  border: 1px dashed var(--border-2);
  border-radius: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}
.img-placeholder .ph-cap {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deep-forest);
  background: rgba(245,240,232,0.92);
  padding: 6px 10px;
  border-radius: 6px;
  margin: 16px;
}
.mid-ph { aspect-ratio: 4/3; }
/* About / Why ArkP3 page specifics */
.page-hero {
  padding: var(--s7) 0 var(--s5);
}
.founders-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6);
  margin-top: var(--s4);
}
.founder-card { display: grid; grid-template-rows: auto auto; gap: var(--s3); }
.founder-photo {
  aspect-ratio: 4/5;
  border-radius: 12px;
  background-size: cover;
  background-position: center 18%;
  background-color: var(--sand);
  border: 1px solid var(--border);
}
.founder-card .role {
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--terracotta-2); font-weight: 600; margin-top: 4px;
}
.founder-card p { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin-top: var(--s2); }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.value { padding: var(--s3); border-radius: 12px; background: var(--white); border: 1px solid var(--border); }
.value h4 { margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s6); }
.contact-info .info-row { margin-bottom: var(--s3); }
.contact-info .k {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px;
}
.contact-info .v { font-size: 18px; font-weight: 500; color: var(--deep-forest); }
.contact-info .v a { color: var(--dusty-blue-2); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--s4);
}
.form-row { margin-bottom: var(--s3); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-row label { font-size: 13px; font-weight: 500; color: var(--deep-forest); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  padding: 10px 12px;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  background: var(--white);
  color: var(--deep-forest);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-row textarea { resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--dusty-blue);
  box-shadow: 0 0 0 3px rgba(126,155,170,0.18);
}
.form-row .err { font-size: 13px; color: var(--terracotta-2); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }

.state-us-field { position: relative; }
.state-us-field input { padding-right: 36px; }
.state-us-clear {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: var(--deep-forest);
  opacity: 0.55;
  padding: 0;
}
.state-us-clear:hover { opacity: 1; background: rgba(0,0,0,0.05); }
.state-us-clear:focus-visible { outline: 2px solid var(--dusty-blue); outline-offset: 2px; }

.success-panel {
  padding: var(--s4);
  text-align: center;
}
.success-panel .check {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(122,158,126,0.18); color: var(--sage);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--s3);
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Tweak panel */
.tweak-panel {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 100;
  background: var(--deep-forest);
  color: var(--cream);
  border-radius: 10px;
  padding: 14px 16px;
  min-width: 240px;
  font-family: var(--font);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.4);
}
.tweak-panel h6 {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(245,240,232,0.6); margin: 0 0 10px; font-weight: 600;
}
.tweak-panel .tweak-row { margin-bottom: 10px; }
.tweak-panel label { display: block; font-size: 12px; color: rgba(245,240,232,0.75); margin-bottom: 5px; }
.tweak-panel .opts { display: flex; gap: 4px; flex-wrap: wrap; }
.tweak-panel .opt {
  padding: 5px 9px;
  border: 1px solid rgba(245,240,232,0.22);
  border-radius: 6px;
  font-size: 11.5px;
  cursor: pointer;
  color: rgba(245,240,232,0.85);
  background: transparent;
}
.tweak-panel .opt.active { background: var(--dusty-blue); color: var(--white); border-color: var(--dusty-blue); }
.tweak-panel .swatches { display: flex; gap: 6px; }
.tweak-panel .sw { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(245,240,232,0.2); cursor: pointer; }
.tweak-panel .sw.active { border-color: var(--cream); }

/* Responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .three-up { grid-template-columns: 1fr; }
  .why-grid, .approach-teaser, .founders-grid, .contact-grid, .story-grid, .hero-split { grid-template-columns: 1fr !important; gap: var(--s4) !important; }
  .hero-image-side { aspect-ratio: 4/3; }
  .logo-row { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s4); }
  .form-row-2 { grid-template-columns: 1fr; }
  section { padding: var(--s6) 0; }
}

/* ——— Scroll-reveal animation ——— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
/* Staggered descendants when a container has .reveal-stagger */
.reveal-stagger > .reveal:nth-child(1) { --reveal-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { --reveal-delay: 0.08s; }
.reveal-stagger > .reveal:nth-child(3) { --reveal-delay: 0.16s; }
.reveal-stagger > .reveal:nth-child(4) { --reveal-delay: 0.24s; }
.reveal-stagger > .reveal:nth-child(5) { --reveal-delay: 0.32s; }
.reveal-stagger > .reveal:nth-child(6) { --reveal-delay: 0.40s; }

/* Hero-only: bigger translate + slightly slower, for impact */
.page-hero .reveal,
.hero .reveal {
  transform: translateY(28px);
}
.page-hero .reveal.is-in,
.hero .reveal.is-in {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ===== Cohort Application Wizard ===== */

section.cohort-section { padding: var(--s7) 0; background: var(--cream); }
.cohort-section .section-head { margin-left: auto; margin-right: auto; }
.cohort-section .lede { text-align: center; max-width: 60ch; }

.wizard { max-width: 760px; margin: 0 auto; }
.req { color: var(--terracotta-2); font-weight: 600; margin-left: 2px; }

/* Progress — desktop */
.wizard-progress {
  display: grid; grid-template-columns: repeat(5, 1fr);
  list-style: none; padding: 0; margin: 0 0 var(--s5);
  position: relative;
}
.wizard-progress::before {
  content: ""; position: absolute; top: 13px; left: 10%; right: 10%;
  height: 2px; background: var(--border-2); z-index: 0;
}
.wp-step {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  position: relative; z-index: 1;
}
.wp-dot {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font: 600 13px "DM Sans", "Inter", sans-serif;
  background: var(--cream); border: 1.5px solid var(--border-2); color: var(--muted);
  transition: box-shadow 180ms, background 180ms, border-color 180ms, color 180ms;
}
.wp-done .wp-dot { background: var(--dusty-blue); border-color: var(--dusty-blue); color: #fff; }
.wp-current .wp-dot {
  background: var(--dusty-blue-2); border-color: var(--dusty-blue-2); color: #fff;
  box-shadow: 0 0 0 5px var(--tint-primary-strong);
}
.wp-label {
  font: 500 11px "Inter", sans-serif; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); text-align: center; max-width: 13ch; line-height: 1.3;
}
.wp-current .wp-label { color: var(--deep-forest); font-weight: 600; }

/* Progress — mobile */
.wp-mobile { display: none; }
@media (max-width: 720px) {
  .wizard-progress, .wizard-progress::before { display: none; }
  .wp-mobile {
    display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--s3);
  }
  .wp-mobile-eyebrow {
    font: 500 11px "Inter"; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--dusty-blue-2);
  }
  .wp-mobile-title { font: 600 18px "DM Sans"; color: var(--deep-forest); }
  .wp-mobile-bar {
    height: 4px; background: var(--border-2); border-radius: 2px; overflow: hidden;
  }
  .wp-mobile-bar > span {
    display: block; height: 100%; background: var(--dusty-blue);
    transition: width 300ms ease;
  }
}

/* Step card */
.wizard-step {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: var(--s6) var(--s5);
  box-shadow: var(--shadow-soft);
}
.step-head {
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--border-2);
  margin-bottom: var(--s4);
}
.step-eyebrow {
  display: block; font: 500 11px "Inter"; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--dusty-blue-2); margin-bottom: 8px;
}
.step-head h2 {
  font: 600 28px/1.15 "DM Sans", "Inter", sans-serif;
  letter-spacing: -0.01em; margin: 0 0 8px;
}
.step-help { color: var(--muted); font-size: 16px; margin: 0; max-width: 60ch; }
.step-body { display: flex; flex-direction: column; gap: var(--s3); }
.wizard-nav {
  margin-top: var(--s5); padding-top: var(--s4);
  border-top: 1px solid var(--border-2);
  display: flex; justify-content: space-between; align-items: center; gap: var(--s2);
}

@media (max-width: 720px) {
  .wizard-step { padding: var(--s4) var(--s3); border-radius: 12px; }
  .step-head h2 { font-size: 22px; }
  .wizard-nav .btn { flex: 1; justify-content: center; }
}

/* Checkbox tiles (Section 3) */
.check-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2);
}
@media (max-width: 720px) { .check-grid { grid-template-columns: 1fr; } }

.check-tile {
  display: flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 12px 16px;
  background: var(--white); border: 1.5px solid var(--border-2);
  border-radius: 10px; cursor: pointer;
  transition: border-color 150ms, background 150ms;
  font-size: 15px; color: var(--deep-forest);
  position: relative;
}
.check-tile:hover { border-color: var(--dusty-blue); }
.check-tile input {
  position: absolute; opacity: 0; pointer-events: none;
  width: 1px; height: 1px;
}
.check-box {
  width: 20px; height: 20px; border-radius: 5px;
  border: 1.5px solid var(--border-2); background: var(--white);
  display: grid; place-items: center; color: transparent; flex-shrink: 0;
  transition: background 150ms, border-color 150ms, color 150ms;
}
.check-tile.is-on {
  border-color: var(--dusty-blue); background: var(--tint-primary);
}
.check-tile.is-on .check-box {
  background: var(--dusty-blue-2); border-color: var(--dusty-blue-2); color: #fff;
}
.check-tile:focus-within { box-shadow: 0 0 0 3px var(--tint-primary-strong); }
.check-label { line-height: 1.3; }

/* Y/N list (Section 5) */
.yn-list { display: flex; flex-direction: column; }
.yn-row {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s2);
  padding: 14px 4px; border-bottom: 1px solid var(--border-2);
}
.yn-row:last-child { border-bottom: none; }
.yn-label { font-size: 15px; color: var(--deep-forest); flex: 1; line-height: 1.35; }
.yn-toggle {
  display: inline-flex; background: #EFE8DB;
  border-radius: 8px; padding: 3px;
}
.yn-toggle button {
  appearance: none; border: 0; background: transparent;
  padding: 7px 18px; min-width: 60px; cursor: pointer;
  font: 500 13px "Inter"; color: var(--muted); border-radius: 6px;
  transition: background 150ms, color 150ms, box-shadow 150ms;
}
.yn-toggle button.is-on {
  background: var(--white); color: var(--dusty-blue-2); font-weight: 600;
  box-shadow: 0 1px 2px rgba(58,74,85,0.08);
}
.yn-toggle button:focus-visible { outline: 2px solid var(--dusty-blue-2); outline-offset: 2px; }

@media (max-width: 720px) {
  .yn-row { flex-direction: column; align-items: stretch; gap: 8px; padding: 14px 0; }
  .yn-toggle { width: 100%; }
  .yn-toggle button { flex: 1; min-height: 44px; }
}

/* Review step */
.review h2 { font: 600 26px/1.2 "DM Sans"; margin-bottom: var(--s4); }
.review-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: var(--s3) var(--s4);
  margin-bottom: var(--s3);
}
.review-card > header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: var(--s2); padding-bottom: var(--s2);
  border-bottom: 1px solid var(--border-2); border-radius: 0;
  background: transparent; padding-top: 0; padding-left: 0; padding-right: 0;
  box-shadow: none;
}
.review-eyebrow {
  font: 600 11px "Inter"; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--deep-forest);
}
.review-edit {
  appearance: none; border: 0; background: none; cursor: pointer;
  font: 500 13px "Inter"; color: var(--dusty-blue-2); padding: 0;
}
.review-edit:hover { text-decoration: underline; }
.review-dl {
  display: grid; grid-template-columns: 160px 1fr; gap: 6px var(--s3); margin: 0;
}
.review-dl dt {
  font: 500 12px "Inter"; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); padding-top: 4px;
}
.review-dl dd { margin: 0; font-size: 15px; color: var(--deep-forest); line-height: 1.5; }
.review-dl dd em { color: var(--muted); font-style: normal; }
.review-dl dd ul { margin: 0; padding-left: 18px; }
.review-dl dd ul li { margin: 2px 0; }

.auth-callout {
  background: var(--sand); border-left: 3px solid var(--terracotta-2);
  padding: var(--s3); border-radius: 0 8px 8px 0;
  margin: var(--s4) 0 var(--s3);
}
.auth-callout h4 {
  font: 600 14px "DM Sans"; letter-spacing: 0.02em; margin: 0 0 6px;
}
.auth-callout p {
  margin: 0; font-size: 14.5px; color: var(--deep-forest); line-height: 1.55;
}

@media (max-width: 720px) {
  .review-dl { grid-template-columns: 1fr; }
  .review-dl dt { padding-top: var(--s2); }
  .review-card { padding: var(--s3); }
}

/* Success panel additions */
.success-panel .success-lede {
  color: var(--muted); font-size: 16px; max-width: 44ch; margin: 8px auto 0;
  line-height: 1.5;
}
.success-panel .success-receipt {
  font: 500 12px "Inter"; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-top: var(--s3);
}
.link-quiet {
  margin-top: var(--s4);
  appearance: none; border: 0; background: none; cursor: pointer;
  font: 500 13px "Inter"; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--dusty-blue-2); padding: 8px 0;
  border-bottom: 1px solid currentColor;
}
.link-quiet:hover { color: var(--deep-forest); }
