/* ==========================================================================
   BRAND SECRETS SCALE — Design System
   Dark/gold "growth system" identity for Start/Scale/Agency/Apply.
   Warm cream/deep-green editorial identity for About (founder story).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  /* --- core dark/gold system --- */
  --bg: #0a0a08;
  --bg-1: #121110;
  --bg-2: #18160f;
  --bg-3: #201c14;
  --line: #2c2717;
  --line-soft: #201d16;
  --gold: #e7b923;
  --gold-bright: #f6d466;
  --gold-dim: #9b7c1c;
  --ink: #f5f1e6;
  --ink-soft: #cbc4b4;
  --ink-muted: #8f897b;
  --red-flag: #d9694f;

  /* --- editorial (About) palette --- */
  --cream: #f4efe3;
  --cream-2: #ece4d1;
  --green-deep: #1e3327;
  --green-mid: #345239;
  --green-line: #cabf9f;

  /* --- type --- */
  --f-display: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono: 'IBM Plex Mono', 'SFMono-Regular', monospace;

  /* --- layout --- */
  --container: 1160px;
  --container-narrow: 760px;
  --radius: 2px;
  --radius-lg: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

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

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--gold); color: var(--bg); }

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

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: var(--container-narrow); }

section { position: relative; }
.section-pad { padding: 96px 0; }
@media (max-width: 720px) { .section-pad { padding: 64px 0; } }

/* ==========================================================================
   Type utilities
   ========================================================================== */

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.h-display {
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  color: var(--ink);
  line-height: 1.12;
}
.h-section {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  color: var(--ink);
}
.h-card { font-size: 1.25rem; color: var(--ink); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.6;
  font-weight: 400;
}
.body-copy { color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.text-muted { color: var(--ink-muted); }
.gold-text { color: var(--gold); }

.stat-num {
  font-family: var(--f-mono);
  font-weight: 600;
  color: var(--gold-bright);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: var(--radius);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: #17140b;
}
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-1px); }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

.btn-line {
  color: var(--gold);
  padding: 4px 0;
  border-bottom: 1px solid var(--gold-dim);
  border-radius: 0;
}
.btn-line:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

.btn-arrow::after { content: "→"; font-family: var(--f-body); margin-left: 8px; }

/* ==========================================================================
   Nav
   ========================================================================== */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 8, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand-mark { display: flex; align-items: center; gap: 11px; }
.brand-mark__logo { width: 30px; height: 30px; flex-shrink: 0; }
.brand-mark__word {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.brand-mark__word span {
  display: block;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gold);
}

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: var(--gold); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
}
.nav-cta { display: flex; align-items: center; gap: 22px; }
.nav-links__apply-mobile { display: none; }
.nav-links__prompt { display: none; }
.nav-links__sub { display: none; }
@media (max-width: 900px) {
  .nav-links__apply-mobile { display: block; color: var(--gold) !important; }
}

.nav-toggle {
  display: none;
  width: 32px; height: 24px;
  position: relative;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  position: absolute; left: 0; right: 0; height: 1px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle::before { top: 2px; }
.nav-toggle span { top: 11px; }
.nav-toggle::after { top: 20px; }
.nav-toggle.is-open::before { transform: translateY(9px) rotate(45deg); }
.nav-toggle.is-open::after { transform: translateY(-9px) rotate(-45deg); }
.nav-toggle.is-open span { opacity: 0; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    height: calc(100vh - 76px);
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    border-top: 1px solid var(--line-soft);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 15px; }
  .nav-links a { display: flex; flex-direction: column; gap: 4px; }
  .nav-links__prompt {
    display: block;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: -8px;
  }
  .nav-links__sub {
    display: block;
    font-family: var(--f-body);
    font-size: 12.5px;
    letter-spacing: normal;
    text-transform: none;
    color: var(--ink-muted);
  }
  .nav-cta .btn-ghost { display: none; }
}

/* ==========================================================================
   Hero atmosphere — thin gold path lines behind hero content
   ========================================================================== */

.hero-atmos {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.5;
  z-index: -1;
}
.hero-atmos svg { width: 100%; height: 100%; }
.hero-atmos path {
  fill: none;
  stroke: var(--gold-dim);
  stroke-width: 1;
  stroke-dasharray: 3 7;
  opacity: 0.55;
}
.hero-atmos circle { fill: var(--gold); opacity: 0.7; }

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

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid__item {
  background: var(--bg-2);
  padding: 30px;
}
@media (max-width: 720px) {
  .card-grid, .card-grid.cols-3 { grid-template-columns: 1fr; }
}

.icon-mark {
  width: 40px; height: 40px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: var(--f-mono);
  font-size: 13px;
  margin-bottom: 18px;
}

/* ==========================================================================
   Route / stage cards (homepage signature)
   ========================================================================== */

.route-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 820px) { .route-grid { grid-template-columns: 1fr; } }

.route-card {
  background: var(--bg-1);
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 320px;
  transition: background 0.25s ease;
}
.route-card:hover { background: var(--bg-2); }
.route-card__step {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}
.route-card__title { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.route-card__desc { color: var(--ink-soft); flex-grow: 1; }
.route-card__cta { margin-top: auto; }

.route-agency-strip {
  border: 1px solid var(--line);
  border-top: none;
  background: var(--bg-2);
  padding: 22px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Banner / statement blocks
   ========================================================================== */

.banner {
  border-top: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
  padding: 40px 0;
  text-align: center;
}
.banner__text {
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  color: var(--ink);
  max-width: 880px;
  margin: 0 auto;
}
.banner__text strong { color: var(--gold-bright); font-weight: 700; }

.transform-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  text-align: center;
}
.transform-line .from { color: var(--ink-muted); }
.transform-line .to { color: var(--gold-bright); }
.transform-line .arrow { color: var(--gold); font-family: var(--f-body); }

/* ==========================================================================
   Numbered process (roadmap)
   ========================================================================== */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.process.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .process, .process.cols-3 { grid-template-columns: 1fr; } }

.process__step {
  background: var(--bg-1);
  padding: 32px 28px;
  min-height: 260px;
}
.process__num {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}
.process__title { font-size: 1.1rem; margin-bottom: 6px; }
.process__meta { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-muted); letter-spacing: 0.04em; margin-bottom: 16px; display: block; }
.process__list { display: flex; flex-direction: column; gap: 9px; }
.process__list li {
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
}
.process__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  background: var(--gold-dim);
  border-radius: 50%;
}

/* ==========================================================================
   Pipeline diagram (Traffic -> Creative -> Conversion -> Retention -> Team)
   ========================================================================== */

.pipeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 30px;
  padding: 6px 0 0;
}
.pipeline::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6%;
  right: 6%;
  height: 1px;
  background-image: repeating-linear-gradient(90deg, var(--gold-dim) 0 6px, transparent 6px 11px);
  z-index: 0;
}
.pipeline__node {
  position: relative;
  z-index: 1;
  flex: 1 1 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.pipeline__dot {
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.pipeline__label {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
@media (max-width: 720px) {
  .pipeline { flex-direction: column; align-items: flex-start; row-gap: 22px; padding-left: 6px; }
  .pipeline::before { top: 0; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; background-image: repeating-linear-gradient(180deg, var(--gold-dim) 0 6px, transparent 6px 11px); }
  .pipeline__node { flex-direction: row; align-items: center; text-align: left; padding-left: 20px; gap: 12px; }
}

/* ==========================================================================
   Pricing / offer cards
   ========================================================================== */

.offer-card {
  background: var(--bg-2);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.offer-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.offer-card__price {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--gold-bright);
}
.offer-card__price small {
  display: block;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 6px;
  font-weight: 500;
}
.offer-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; margin-bottom: 30px; }
@media (max-width: 640px) { .offer-list { grid-template-columns: 1fr; } }
.offer-list li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-soft);
  align-items: flex-start;
}
.offer-list li::before {
  content: "✓";
  color: var(--gold);
  font-family: var(--f-mono);
  flex-shrink: 0;
}

.fine-note {
  font-size: 12.5px;
  color: var(--ink-muted);
  font-style: italic;
}

/* ==========================================================================
   Comparison table (WE OWN / YOU OWN + cost stack)
   ========================================================================== */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } }
.compare__col { background: var(--bg-1); padding: 30px; }
.compare__head {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.compare__col--we .compare__head { color: var(--gold); }
.compare__col--you .compare__head { color: var(--ink-muted); }
.compare__col li { padding: 8px 0; font-size: 14.5px; color: var(--ink-soft); }

.cost-stack { display: flex; flex-direction: column; gap: 0; margin: 26px 0; }
.cost-stack__row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
  color: var(--ink-soft);
}
.cost-stack__row span:last-child { font-family: var(--f-mono); color: var(--ink-muted); }
.cost-stack__row.total {
  border-top: 1px solid var(--gold-dim);
  border-bottom: none;
  margin-top: 6px;
  padding-top: 16px;
  font-family: var(--f-mono);
  color: var(--ink);
}
.cost-stack__row.total span:last-child { color: var(--red-flag); text-decoration: line-through; }

/* ==========================================================================
   Qualification / negative ICP
   ========================================================================== */

.qual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 720px) { .qual-grid { grid-template-columns: 1fr; } }
.qual-block__label {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.qual-block--good .qual-block__label { color: var(--gold); }
.qual-block--bad .qual-block__label { color: var(--ink-muted); }
.qual-block li {
  padding: 9px 0 9px 20px;
  position: relative;
  font-size: 14.5px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
}
.qual-block--good li::before { content: "＋"; position: absolute; left: 0; color: var(--gold); font-family: var(--f-mono); font-size: 12px; }
.qual-block--bad li::before { content: "－"; position: absolute; left: 0; color: var(--ink-muted); font-family: var(--f-mono); font-size: 12px; }

/* ==========================================================================
   Inline proof / stat callout
   ========================================================================== */

.proof-inline {
  display: flex;
  align-items: center;
  gap: 18px;
  border-left: 2px solid var(--gold);
  padding: 14px 22px;
  background: var(--bg-2);
  margin: 28px 0;
}
.proof-inline__stat { font-family: var(--f-mono); font-size: 1.3rem; color: var(--gold-bright); white-space: nowrap; }
.proof-inline__text { font-size: 14px; color: var(--ink-soft); }
.proof-inline__text b { color: var(--ink); }

/* ==========================================================================
   Lead magnet block (cream accent, used sparingly inside dark pages)
   ========================================================================== */

.leadmagnet {
  background: var(--cream);
  color: var(--green-deep);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 780px) { .leadmagnet { grid-template-columns: 1fr; } }
.leadmagnet__eyebrow {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-mid);
}
.leadmagnet h3 { color: var(--green-deep); font-size: 1.5rem; margin: 10px 0 12px; }
.leadmagnet p { color: var(--green-mid); font-size: 14.5px; line-height: 1.65; }
.leadmagnet ol { display: flex; flex-direction: column; gap: 8px; counter-reset: lm; }
.leadmagnet ol li {
  counter-increment: lm;
  font-size: 13.5px;
  color: var(--green-deep);
  padding-left: 26px;
  position: relative;
  border-bottom: 1px solid var(--green-line);
  padding-bottom: 8px;
}
.leadmagnet ol li::before {
  content: counter(lm, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--green-mid);
}
.leadmagnet .btn-gold { background: var(--green-deep); color: var(--cream); }
.leadmagnet .btn-gold:hover { background: var(--green-mid); }

/* ==========================================================================
   Editorial nav overrides (About page)
   ========================================================================== */

body.editorial .site-nav { background: rgba(244, 239, 227, 0.92); border-bottom-color: var(--green-line); }
body.editorial .brand-mark__word { color: var(--green-deep); }
body.editorial .brand-mark__word span { color: var(--green-mid); }
body.editorial .nav-links { background: var(--cream); border-top-color: var(--green-line); }
body.editorial .nav-links a { color: var(--green-deep); }
body.editorial .nav-links a:hover { color: var(--green-mid); }
body.editorial .nav-links a.is-active { color: var(--green-mid); }
body.editorial .nav-links a.is-active::after { background: var(--green-mid); }
body.editorial .nav-links__apply-mobile { color: var(--green-mid) !important; }
body.editorial .nav-links__prompt { color: var(--green-mid); }
body.editorial .nav-links__sub { color: var(--green-mid); }
body.editorial .nav-cta .btn-ghost { border-color: var(--green-line); color: var(--green-deep); }
body.editorial .nav-cta .btn-ghost:hover { border-color: var(--green-deep); background: rgba(30, 51, 39, 0.06); }
body.editorial .nav-toggle span,
body.editorial .nav-toggle::before,
body.editorial .nav-toggle::after { background: var(--green-deep); }

/* ==========================================================================
   About page — editorial cream/green section
   ========================================================================== */

.editorial {
  background: var(--cream);
  color: var(--green-deep);
}
.editorial .eyebrow { color: var(--green-mid); }
.editorial .eyebrow::before { background: var(--green-mid); }
.editorial h1, .editorial h2, .editorial h3 { color: var(--green-deep); }
.editorial .lede, .editorial .body-copy { color: var(--green-mid); }
.editorial .btn-gold { background: var(--green-deep); color: var(--cream); }
.editorial .btn-gold:hover { background: var(--green-mid); }
.editorial .btn-ghost { border-color: var(--green-line); color: var(--green-deep); }
.editorial .btn-ghost:hover { border-color: var(--green-deep); }
.editorial .btn-line { color: var(--green-deep); border-bottom-color: var(--green-line); }
.editorial .btn-line:hover { color: var(--green-mid); border-bottom-color: var(--green-mid); }
.editorial hr { border: none; border-top: 1px solid var(--green-line); }

.pull-quote {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--green-deep);
  line-height: 1.3;
  max-width: 780px;
  border-left: 3px solid var(--green-deep);
  padding-left: 28px;
}

.pillar-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 820px) { .pillar-row { grid-template-columns: 1fr; } }
.pillar {
  border: 1px solid var(--green-line);
  padding: 28px;
  border-radius: var(--radius-lg);
}
.pillar__tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-mid); }
.pillar h4 { font-size: 1.15rem; margin: 10px 0 10px; color: var(--green-deep); }
.pillar p { font-size: 13.5px; color: var(--green-mid); line-height: 1.6; }

/* ==========================================================================
   Apply page — quiz + form
   ========================================================================== */

.quiz {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.quiz__step { display: none; }
.quiz__step.is-active { display: block; animation: fadeIn 0.35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.quiz__progress { display: flex; gap: 6px; margin-bottom: 30px; }
.quiz__progress span { height: 2px; flex: 1; background: var(--line); }
.quiz__progress span.is-done { background: var(--gold); }

.quiz__question { font-family: var(--f-display); font-size: 1.3rem; margin-bottom: 22px; }
.quiz__options { display: flex; flex-direction: column; gap: 10px; }
.quiz__option {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  padding: 16px 20px;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 14.5px;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.quiz__option:hover { border-color: var(--gold-dim); color: var(--ink); }
.quiz__option.is-selected { border-color: var(--gold); color: var(--ink); background: var(--bg-3); }

.quiz__result { display: none; }
.quiz__result.is-active { display: block; animation: fadeIn 0.35s ease; }
.quiz__result-tag {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.quiz__result h3 { font-size: 1.7rem; margin: 12px 0 14px; }
.quiz__result p { color: var(--ink-soft); margin-bottom: 24px; }
.quiz__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.quiz__back {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 20px;
  display: inline-block;
}
.quiz__back:hover { color: var(--ink); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.field input, .field select, .field textarea {
  background: var(--bg-1);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 13px 14px;
  border-radius: var(--radius);
  font-family: var(--f-body);
  font-size: 14.5px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 100px; }

.form-success {
  display: none;
  text-align: center;
  padding: 50px 20px;
}
.form-success.is-active { display: block; animation: fadeIn 0.4s ease; }
.form-success__mark {
  width: 46px; height: 46px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
  font-family: var(--f-mono);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 64px 0 34px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  padding-bottom: 44px;
}
.footer-brand { max-width: 340px; }
.footer-brand .brand-mark { margin-bottom: 18px; }
.footer-brand p { color: var(--ink-muted); font-size: 13.5px; line-height: 1.6; margin-top: 14px; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h5 {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 6px 0;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink-muted);
}

/* ==========================================================================
   Page hero shared
   ========================================================================== */

.page-hero { padding: 76px 0 64px; }
.page-hero__grid { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: start; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } }

.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  background: var(--bg-2);
}
.stat-card + .stat-card { margin-top: 1px; }
.stat-card__num { font-family: var(--f-display); font-size: 2rem; color: var(--gold-bright); }
.stat-card__label { font-size: 13px; color: var(--ink-muted); margin-top: 6px; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head .eyebrow { margin-bottom: 16px; }

.hero-stat { margin-top: 74px; }
.hero-stat .stat-card { max-width: 320px; }
.hero-stat .stat-card__num { font-size: 1.7rem; line-height: 1.2; }
@media (max-width: 900px) {
  .hero-stat { margin-top: 8px; }
  .hero-stat .stat-card { max-width: none; }
}

.divider { height: 1px; background: var(--line-soft); border: none; margin: 0; }

.tag-row { display: flex; gap: 10px; flex-wrap: wrap; }
.tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 20px;
  color: var(--ink-muted);
}

.cta-band {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 70px 0;
  text-align: center;
}
.cta-band .btn { margin-top: 30px; }

.cta-note {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: 14px;
  font-style: italic;
}

/* ============ CALENDLY BOOKING EMBED ============ */
/* Vaste hoogte per breekpunt: de widget mag nooit intern
   hoeven scrollen. Zie de heights hieronder om bij te stellen. */
.booking-embed {
  max-width: 1160px;
  margin: 36px auto 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  text-align: left;
}
.booking-embed .calendly-inline-widget {
  min-width: 0 !important;
  width: 100%;
  height: 720px;            /* desktop: kalender + tijden naast elkaar */
}
.booking-note {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 22px; margin: 22px auto 0; padding: 0;
  list-style: none; text-align: center;
}
.booking-note li {
  font-size: .85rem; letter-spacing: .04em;
  color: var(--muted, rgba(245,241,230,.65));
}
.booking-note li::before { content: "✓"; margin-right: 7px; color: var(--gold-bright, #e7b923); }

@media (max-width: 1023px) {
  /* Calendly stapelt hier: kalender bovenop, tijden eronder */
  .booking-embed .calendly-inline-widget { height: 1040px; }
}
@media (max-width: 720px) {
  .booking-embed { margin-top: 24px; border-radius: 12px; }
  .booking-embed .calendly-inline-widget { height: 1120px; }
}
