/* ==========================================================================
   Syntropic Foundry — global stylesheet
   Design language: chaos (violet) resolving into order (teal).
   All component styling lives here; components.js renders light DOM so these
   rules apply across every page without duplication.
   ========================================================================== */

/* ----- Design tokens ----------------------------------------------------- */
:root {
  /* Palette: deep ink base, dual-tone chaos→order accents */
  --ink:        #090d1a;
  --ink-2:      #0f1528;
  --ink-3:      #161d36;
  --line:       #232c4a;
  --paper:      #e9eefc;
  --muted:      #8b95b6;
  --chaos:      #a855f7;   /* disorder */
  --order:      #2dd4bf;   /* structure */
  --order-deep: #14b8a6;
  --signal:     #f5d76e;   /* sparing highlight for proof numbers */

  /* Type */
  --display: "Space Grotesk", system-ui, sans-serif;
  --body:    "Inter", system-ui, sans-serif;
  --mono:    "Space Mono", ui-monospace, monospace;

  /* Scale & rhythm */
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 14px;
  --radius-lg: 22px;

  --grad-syntropy: linear-gradient(100deg, var(--chaos) 0%, var(--order) 100%);
}

/* ----- Reset / base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 2px solid var(--order); outline-offset: 3px; border-radius: 4px; }

/* ----- Layout helpers ---------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--order);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--grad-syntropy); }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 56ch; }

/* ----- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad-syntropy);
  color: #051018;
  box-shadow: 0 8px 30px -10px rgba(45, 212, 191, .55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px -10px rgba(45, 212, 191, .7); }
.btn--ghost { background: transparent; color: var(--paper); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--order); transform: translateY(-2px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ==========================================================================
   Header  (<syntropic-header>)
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-size: 0.95rem; color: var(--muted); transition: color .2s ease; }
.nav a:hover { color: var(--paper); }
.header__cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; background: none; border: 0; color: var(--paper); cursor: pointer; padding: .4rem; }
@media (max-width: 860px) {
  .nav, .header__cta .btn--text { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: 1.4rem var(--gutter);
  }
}

/* ==========================================================================
   Hero  (home)
   ========================================================================== */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 78% 30%, transparent 0%, var(--ink) 72%),
    linear-gradient(180deg, transparent 55%, var(--ink) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-block: 8rem 6rem; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); max-width: 16ch; }
.hero h1 .gradient { background: var(--grad-syntropy); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 1.6rem; font-size: 1.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.hero__ticker {
  margin-top: 3.5rem; display: flex; flex-wrap: wrap; gap: 2rem 2.5rem;
  font-family: var(--mono); font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em;
}
.hero__ticker b { color: var(--paper); font-weight: 700; }

/* ==========================================================================
   Trust bar  (<trust-bar>)
   ========================================================================== */
.trust { border-block: 1px solid var(--line); background: var(--ink-2); }
.trust__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem 2.5rem; padding-block: 1.8rem; }
.trust__label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.trust__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem 2.4rem; }
.trust__logo { font-family: var(--display); font-weight: 600; color: var(--muted); opacity: .85; }
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em;
  border: 1px solid var(--line); border-radius: 999px; padding: .45rem .85rem; color: var(--paper);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--order); }

/* ==========================================================================
   Narrative band — chaos to order
   ========================================================================== */
.narrative { background: var(--ink-2); border-bottom: 1px solid var(--line); }
.narrative__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.states { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.4rem; align-items: stretch; }
.state-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: var(--ink); }
.state-card h4 { font-size: 1rem; margin-bottom: .8rem; }
.state-card--chaos { border-color: color-mix(in srgb, var(--chaos) 40%, var(--line)); }
.state-card--order { border-color: color-mix(in srgb, var(--order) 45%, var(--line)); }
.state-card ul { list-style: none; padding: 0; margin: 0; font-size: .9rem; color: var(--muted); display: grid; gap: .55rem; }
.state-card--chaos li::before { content: "✕ "; color: var(--chaos); }
.state-card--order li::before { content: "→ "; color: var(--order); }
.states__arrow { display: grid; place-items: center; color: var(--muted); font-family: var(--mono); }
@media (max-width: 860px) {
  .narrative__grid { grid-template-columns: 1fr; }
  .states { grid-template-columns: 1fr; }
  .states__arrow { transform: rotate(90deg); }
}

/* ==========================================================================
   Services  (<service-card>)
   ========================================================================== */
.section-head { max-width: 60ch; margin-bottom: 3.5rem; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  padding: 2rem; position: relative; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--order) 40%, var(--line)); }
.card__index { font-family: var(--mono); font-size: .75rem; color: var(--order); letter-spacing: .15em; }
.card h3 { font-size: 1.45rem; margin: .9rem 0 .8rem; }
.card p { color: var(--muted); font-size: .98rem; }
.card__list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .5rem; font-size: .9rem; color: var(--muted); }
.card__list li { display: flex; gap: .55rem; }
.card__list li::before { content: "›"; color: var(--order); font-weight: 700; }
.card__glow { position: absolute; inset: -40% 50% auto -10%; height: 200px; background: radial-gradient(circle, color-mix(in srgb, var(--chaos) 30%, transparent), transparent 70%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.card:hover .card__glow { opacity: 1; }

/* ==========================================================================
   Metrics  (<metric-stat>)
   ========================================================================== */
.metrics { background: var(--ink-2); border-block: 1px solid var(--line); }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
@media (max-width: 860px) { .metrics__grid { grid-template-columns: 1fr 1fr; } }
.metric { padding: 1.4rem 0; }
.metric__value { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -0.03em; }
.metric__value .unit { color: var(--order); }
.metric__label { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .8rem; }

/* ==========================================================================
   Process funnel
   ========================================================================== */
.funnel { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.funnel__step { background: var(--ink-2); padding: 1.6rem 1.8rem; display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: center; transition: background .2s ease; }
.funnel__step:hover { background: var(--ink-3); }
.funnel__num { font-family: var(--mono); color: var(--order); font-size: .85rem; }
.funnel__step h4 { font-size: 1.15rem; }
.funnel__step p { margin: .35rem 0 0; color: var(--muted); font-size: .92rem; }
.funnel__metric { font-family: var(--mono); font-size: .8rem; color: var(--signal); text-align: right; }
@media (max-width: 640px) { .funnel__step { grid-template-columns: auto 1fr; } .funnel__metric { grid-column: 2; text-align: left; } }

/* ==========================================================================
   CTA band  (<cta-band>)  +  Audit form
   ========================================================================== */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
}
.cta::after { content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; height: 320px; background: radial-gradient(circle, color-mix(in srgb, var(--order) 22%, transparent), transparent 70%); pointer-events: none; }
.cta__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; position: relative; z-index: 1; }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta .lead { margin-top: 1rem; }
@media (max-width: 860px) { .cta__grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: .9rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select {
  background: var(--ink); border: 1px solid var(--line); border-radius: 10px;
  color: var(--paper); font-family: var(--body); font-size: .98rem; padding: .8rem .9rem;
  transition: border-color .2s ease;
}
.field input:focus, .field select:focus { border-color: var(--order); outline: none; }
.form__note { font-size: .8rem; color: var(--muted); }
.form__status { font-family: var(--mono); font-size: .82rem; min-height: 1.2em; }
.form__status.is-ok { color: var(--order); }
.form__status.is-err { color: #ff8a8a; }

/* ==========================================================================
   Footer  (<syntropic-footer>)
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-2); padding-block: 3.5rem 2.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer__col h5 { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.footer__col a { display: block; color: var(--muted); font-size: .92rem; padding: .25rem 0; transition: color .2s ease; }
.footer__col a:hover { color: var(--paper); }
.footer__brand p { color: var(--muted); font-size: .92rem; max-width: 34ch; margin-top: 1rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }

/* ----- Scroll reveal ----------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ----- Syntropic Foundry additions -------------------------------------- */
.brand__name { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }
.brand__name em { font-style: normal; font-weight: 500; color: var(--muted); }
.nav--inline { font-size: .95rem; color: var(--muted); transition: color .2s ease; }
.nav--inline:hover { color: var(--paper); }
@media (max-width: 860px) { .nav--inline { display: none; } }

.card__link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.4rem; font-family: var(--display); font-weight: 600; font-size: .92rem;
  color: var(--order);
}
.card__link:hover .arrow { transform: translateX(3px); }
.card__link .arrow { transition: transform .2s ease; }

/* Why-us compact cards reuse .card; this tightens them in a 2-col grid */
.cards--why { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .cards--why { grid-template-columns: 1fr; } }
.card--mini { padding: 1.6rem; }
.card--mini h3 { font-size: 1.15rem; margin: .2rem 0 .6rem; }
.card--mini p { margin: 0; }

/* ==========================================================================
   Booking page
   ========================================================================== */
.pas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.5rem; }
@media (max-width: 860px) { .pas { grid-template-columns: 1fr; } }
.pas__beat { border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); padding: 1.6rem; }
.pas__tag { font-family: var(--mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--chaos); }
.pas__beat:last-child .pas__tag { color: var(--order); }
.pas__beat h3 { font-size: 1.15rem; margin: .7rem 0 .5rem; }
.pas__beat p { color: var(--muted); font-size: .95rem; margin: 0; }

.booking { max-width: 820px; margin-inline: auto; }
.booking-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--ink-2), var(--ink)); overflow: hidden;
}
.booking-card__head { padding: 1.6rem 1.8rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.meeting-pill { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .8rem; color: var(--paper); }
.meeting-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-syntropy); }

/* Stepper */
.stepper { display: flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stepper__item { display: inline-flex; align-items: center; gap: .5rem; }
.stepper__num { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: .72rem; }
.stepper__item.is-active { color: var(--paper); }
.stepper__item.is-active .stepper__num { border-color: var(--order); color: var(--order); }
.stepper__item.is-done .stepper__num { background: var(--order); border-color: var(--order); color: #051018; }
.stepper__sep { width: 16px; height: 1px; background: var(--line); }
@media (max-width: 560px) { .stepper__label { display: none; } }

.booking-card__body { padding: 1.8rem; }
.step { display: none; }
.step.is-active { display: block; animation: stepIn .35s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step__title { font-family: var(--display); font-size: 1.25rem; margin: 0 0 .3rem; }
.step__hint { color: var(--muted); font-size: .92rem; margin: 0 0 1.4rem; }

/* Day chips */
.daygrid { display: flex; gap: .6rem; overflow-x: auto; padding-bottom: .6rem; scrollbar-width: thin; }
.day-chip {
  flex: 0 0 auto; min-width: 72px; text-align: center; cursor: pointer;
  border: 1px solid var(--line); border-radius: 12px; padding: .7rem .5rem; background: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}
.day-chip:hover { border-color: color-mix(in srgb, var(--order) 40%, var(--line)); }
.day-chip.is-selected { border-color: var(--order); background: color-mix(in srgb, var(--order) 12%, var(--ink)); }
.day-chip__dow { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.day-chip__date { font-family: var(--display); font-weight: 600; font-size: 1.25rem; line-height: 1.1; margin-top: .25rem; }
.day-chip__mon { font-size: .7rem; color: var(--muted); }

/* Time slots */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .6rem; margin-top: 1.4rem; }
.slot {
  border: 1px solid var(--line); border-radius: 10px; padding: .7rem .5rem; background: var(--ink);
  color: var(--paper); font-family: var(--mono); font-size: .85rem; cursor: pointer; text-align: center;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.slot:hover { border-color: var(--order); transform: translateY(-2px); }
.slot.is-selected { background: var(--grad-syntropy); color: #051018; border-color: transparent; font-weight: 700; }
.booking-empty, .booking-loading { color: var(--muted); font-family: var(--mono); font-size: .85rem; padding: 1.5rem 0; }

/* Summary */
.summary { border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink); padding: 1.4rem 1.6rem; display: grid; gap: .8rem; }
.summary__row { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.summary__row dt { color: var(--muted); font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.summary__row dd { margin: 0; text-align: right; }

/* Footer nav of the card */
.booking-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; }
.booking-actions .btn--back { background: none; border: 1px solid var(--line); color: var(--muted); }
.booking-actions .btn--back:hover { color: var(--paper); border-color: var(--line); transform: none; }

/* Success */
.success { text-align: center; padding: 1rem 0 .5rem; }
.success__mark { width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--order) 18%, var(--ink)); border: 1px solid color-mix(in srgb, var(--order) 50%, var(--line)); }
.success h2 { font-size: 1.8rem; }
.success p { color: var(--muted); }
.success .summary { text-align: left; max-width: 420px; margin: 1.6rem auto 0; }

/* ----- Cal.com embed wrapper -------------------------------------------- */
.cal-embed {
  width: 100%; min-height: 700px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--ink-2);
}
.cal-embed iframe { border: 0 !important; }

/* ==========================================================================
   About page
   ========================================================================== */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }

.founder { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }
.founder__photo { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); position: sticky; top: 92px; }
@media (max-width: 860px) { .founder__photo { position: static; max-width: 360px; } }
.founder__photo img { width: 100%; display: block; aspect-ratio: 4 / 5; object-fit: cover; }
.founder__cap { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem; border-top: 1px solid var(--line); }
.founder__bio p { color: var(--muted); }
.founder__bio strong { color: var(--paper); font-weight: 600; }
.founder__role { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--order); margin: .3rem 0 1.4rem; }

.timeline { display: grid; margin-top: 2rem; }
.timeline__item { display: grid; grid-template-columns: 132px 1fr; gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.timeline__item:last-child { border-bottom: 1px solid var(--line); }
.timeline__year { font-family: var(--mono); font-size: .82rem; color: var(--order); letter-spacing: .04em; }
.timeline__item h4 { font-size: 1.12rem; margin: 0 0 .45rem; }
.timeline__item p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 560px) { .timeline__item { grid-template-columns: 1fr; gap: .4rem; } }

.mission { text-align: center; max-width: 800px; margin-inline: auto; }
.mission__quote { font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.25; letter-spacing: -.02em; }
.mission__by { font-family: var(--mono); font-size: .8rem; color: var(--muted); margin-top: 1.4rem; letter-spacing: .05em; }

.faq { display: grid; gap: .8rem; max-width: 840px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); overflow: hidden; transition: border-color .2s ease; }
.faq details[open] { border-color: color-mix(in srgb, var(--order) 35%, var(--line)); }
.faq summary { cursor: pointer; padding: 1.15rem 1.35rem; font-family: var(--display); font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--order); font-size: 1.4rem; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 1.35rem 1.25rem; color: var(--muted); font-size: .96rem; }
.faq__body strong { color: var(--paper); font-weight: 600; }

/* ----- Header dropdown (Services) --------------------------------------- */
.nav__item { position: relative; display: inline-flex; align-items: center; }
.nav__top { display: inline-flex; align-items: center; gap: .35rem; }
.nav__caret { transition: transform .2s ease; }
.nav__item--has-menu:hover .nav__caret,
.nav__item--has-menu:focus-within .nav__caret { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px;
  padding: .5rem; display: none; flex-direction: column;
  box-shadow: 0 24px 48px -24px rgba(0,0,0,.7); z-index: 60;
}
.nav__item--has-menu:hover .nav__menu,
.nav__item--has-menu:focus-within .nav__menu { display: flex; }
/* invisible bridge so the menu doesn't close while the cursor travels to it */
.nav__item--has-menu::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }
.nav__menu a { padding: .6rem .7rem; border-radius: 8px; font-size: .92rem; }
.nav__menu a:hover { background: var(--ink-3); color: var(--paper); }

@media (max-width: 860px) {
  .nav__item, .nav__item--has-menu { display: block; width: 100%; }
  .nav__menu { position: static; display: flex; border: 0; box-shadow: none; background: transparent; min-width: 0; padding: .2rem 0 .5rem .9rem; }
  .nav__caret { display: none; }
  .nav__item--has-menu::after { display: none; }
}

/* ----- Services funnel pages -------------------------------------------- */
.funnel-hero { padding-top: 4rem; }
.funnel-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); max-width: 20ch; }
.problem-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.5rem; }
@media (max-width: 720px) { .problem-list { grid-template-columns: 1fr; } }
.problem-list li { list-style: none; border: 1px solid color-mix(in srgb, var(--chaos) 30%, var(--line)); border-radius: var(--radius); padding: 1.1rem 1.3rem; color: var(--muted); font-size: .96rem; background: var(--ink-2); }
.problem-list li b { color: var(--paper); font-weight: 600; display: block; margin-bottom: .25rem; font-family: var(--display); }
.quote-block { border: 1px solid var(--line); border-left: 3px solid var(--order); border-radius: var(--radius); background: var(--ink-2); padding: 1.8rem 2rem; max-width: 760px; }
.quote-block p { font-family: var(--display); font-size: 1.3rem; line-height: 1.4; letter-spacing: -.01em; margin: 0 0 1rem; }
.quote-block cite { font-family: var(--mono); font-size: .8rem; color: var(--muted); font-style: normal; letter-spacing: .04em; }
.platform-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.platform-tag { font-family: var(--mono); font-size: .78rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .8rem; }
