/* ============================================================
   JAMES RIDLEY / THE LAB — design system v2 (graphite lab)
   Deep graphite base, warm neutral type, one restrained accent.
   Schematic lines, precise alignment, editorial typography.
   ============================================================ */

:root {
  --bg: #0b0c0e;
  --panel: #121316;
  --panel-2: #16171b;
  --fg: #f2f1ec;
  --fg-78: rgba(242, 241, 236, 0.78);
  --fg-60: rgba(242, 241, 236, 0.6);
  --fg-45: rgba(242, 241, 236, 0.45);
  --line: rgba(242, 241, 236, 0.14);
  --line-soft: rgba(242, 241, 236, 0.07);
  --trace: rgba(242, 241, 236, 0.1);
  --trace-soft: rgba(242, 241, 236, 0.04);
  --accent: #57c99b; /* restrained lab-indicator green — status marks only */
  --font-display: "Archivo", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --container: 1120px;
  --measure: 680px;
  --radius: 4px;
  --header-h: 68px;
  --section-pad: clamp(40px, 5vw, 64px);
  --text-title: clamp(28px, 4vw, 44px);
  --text-subtitle: clamp(19px, 2.4vw, 26px);
  --text-body: 16.5px;
  --text-small: 14.5px;
  --text-label: 12.5px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; }

h1, h2, h3, .statement, .climax, .section-subtitle, .lede,
.hero-headline .mask-line > span, .possibility-line { text-wrap: balance; }

.section-cta-row { margin-top: 52px; }
p, li { text-wrap: pretty; }
a { color: inherit; }
::selection { background: var(--fg); color: var(--bg); }

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 200;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 10px 16px;
  border-radius: var(--radius);
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- blueprint backdrop (dark) ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 55% at 50% 24%, rgba(242, 241, 236, 0.05), transparent 70%),
    repeating-linear-gradient(0deg, var(--trace-soft) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(90deg, var(--trace-soft) 0 1px, transparent 1px 76px);
}

/* ---------- ambient spotlight (single motif: hero + final CTA) ---------- */

.spotlight {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background: radial-gradient(ellipse 34% 30% at 50% 40%, rgba(242, 241, 236, 0.06), transparent 70%);
  animation: spot-drift 26s ease-in-out infinite alternate;
}
@keyframes spot-drift {
  from { transform: translate3d(-4%, -2%, 0); }
  to   { transform: translate3d(4%, 3%, 0); }
}

/* ---------- header ---------- */

.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.header-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--fg);
}
.header-brand svg { width: 32px; height: 32px; flex: none; color: var(--fg); }
.header-brand .labs { font-weight: 300; color: var(--fg-78); }

.header-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--bg);
  background: var(--fg);
  padding: 12px 22px;
  border-radius: var(--radius);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.header-cta:hover { opacity: 0.88; transform: translateY(-1px); }
.header-cta:active { transform: translateY(0); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: clamp(44px, 7vh, 80px) 24px var(--section-pad);
  overflow: hidden;
}

.traces {
  position: absolute;
  top: 0; bottom: 0;
  width: min(26vw, 400px);
  pointer-events: none;
  color: var(--trace);
}
.traces.left { left: 0; }
.traces.right { right: 0; transform: scaleX(-1); }
.traces svg { width: 100%; height: 100%; }

.hero-logo {
  width: clamp(100px, 12.5vw, 136px);
  height: auto;
  margin-bottom: 20px;
  color: var(--fg);
}
.hero-logo .cell {
  opacity: 0;
  animation: cell-in 0.45s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
.hero-logo .cell:nth-child(1) { animation-delay: 0.03s; }
.hero-logo .cell:nth-child(2) { animation-delay: 0.09s; }
.hero-logo .cell:nth-child(3) { animation-delay: 0.15s; }
.hero-logo .cell:nth-child(4) { animation-delay: 0.21s; }
.hero-logo .cell:nth-child(5) { animation-delay: 0.27s; }
.hero-logo .cell:nth-child(6) { animation-delay: 0.33s; }
.hero-logo .cell:nth-child(7) { animation-delay: 0.39s; }
.hero-logo .cell:nth-child(8) { animation-delay: 0.45s; }

@keyframes cell-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-logo .x-mark line {
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  animation: draw-x 0.35s ease-out forwards;
}
.hero-logo .x-mark line:nth-child(1) { animation-delay: 0.58s; }
.hero-logo .x-mark line:nth-child(2) { animation-delay: 0.72s; }
@keyframes draw-x { to { stroke-dashoffset: 0; } }

.wordmark {
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 700;
  letter-spacing: 0.34em;
  margin-right: -0.34em;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0;
  animation: rise 0.55s ease-out 0.3s forwards;
}
.wordmark .labs { font-weight: 300; color: var(--fg-78); }

.creator-line {
  font-family: var(--font-mono);
  font-size: clamp(8px, 2.2vw, 10px);
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--fg-60);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
  opacity: 0;
  animation: rise 0.55s ease-out 0.48s forwards;
}


/* headline mask reveal — each phrase rises out of its own mask */
.hero-headline {
  font-size: clamp(23px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.015em;
  max-width: 980px;
  margin-bottom: 20px;
}
.mask-line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.mask-line > span {
  display: block;
  transform: translateY(112%);
  animation: line-up 0.75s cubic-bezier(0.16, 0.8, 0.24, 1) forwards;
}
.mask-line:nth-child(1) > span { animation-delay: 0.55s; }
.mask-line:nth-child(2) > span { animation-delay: 0.68s; }
@keyframes line-up { to { transform: translateY(0); } }

.hero-sub {
  font-size: clamp(16.5px, 1.9vw, 19px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--fg-78);
  max-width: 680px;
  margin-bottom: 14px;
  opacity: 0;
  animation: rise 0.6s ease-out 1s forwards;
}

.possibility-line {
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.5vw, 13.5px);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--fg-60);
  margin-bottom: 30px;
  opacity: 0;
  animation: rise 0.6s ease-out 1.12s forwards;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 26px;
  opacity: 0;
  animation: rise 0.6s ease-out 1.22s forwards;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.offer-line {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--fg);
}
.offer-card .offer-line {
  font-size: 15px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.offer-card .offer-line .sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  margin-right: -0.26em;
  color: var(--fg-60);
}
.hero-micro {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--fg-60);
}

.hero-secondary {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--fg-60);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.hero-secondary:hover { color: var(--fg); border-color: var(--fg); }

/* ---------- buttons (light on graphite) ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #e9e7e0 100%);
  color: #0b0c0e;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 20px 44px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.3, 1);
  /* radar ring pulse: a light ring expands from the button each cycle.
     Ring lives on box-shadow keyframes; transform stays free for hover. */
  animation: btn-ring 4.2s cubic-bezier(0.3, 0, 0.4, 1) infinite;
}
@keyframes btn-ring {
  0%, 52% { box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.7), 0 0 0 0 rgba(242, 241, 236, 0.3); }
  86%     { box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.7), 0 0 0 16px rgba(242, 241, 236, 0); }
  100%    { box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.7), 0 0 0 0 rgba(242, 241, 236, 0); }
}
.btn:hover, .btn:focus-visible {
  transform: translateY(-2px);
}
.btn:active { transform: translateY(0) scale(0.985); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* one-time light sweep on reveal — no looping shimmer */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(105deg,
    transparent 42%,
    rgba(11, 12, 14, 0.07) 48%,
    rgba(11, 12, 14, 0.14) 50%,
    rgba(11, 12, 14, 0.07) 52%,
    transparent 58%);
  background-size: 260% 100%;
  background-position: 130% 0;
  background-repeat: no-repeat;
}
.hero-actions .btn::before { animation: btn-sweep 1.1s ease-out 1.5s 1 both; }
.reveal.in .btn::before,
.in .btn::before { animation: btn-sweep 1s ease-out 0.35s 1 both; }
@keyframes btn-sweep {
  from { background-position: 130% 0; }
  to   { background-position: -30% 0; }
}
@keyframes btn-ring-sm-unused {
  0%, 52% { box-shadow: 0 0 0 0 rgba(242, 241, 236, 0.28); }
  86%     { box-shadow: 0 0 0 10px rgba(242, 241, 236, 0); }
  100%    { box-shadow: 0 0 0 0 rgba(242, 241, 236, 0); }
}

.btn.ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
  box-shadow: none;
  animation: none;
}
.btn.ghost:hover { border-color: var(--fg); box-shadow: none; }
.btn.ghost::before { display: none; }

/* ---------- sections ---------- */

.section {
  position: relative;
  padding: var(--section-pad) 24px;
}
.section.bordered { border-top: 1px solid var(--line-soft); }
.section.panel { background: var(--panel); }

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--fg-60);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--fg-45);
  flex: none;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: "";
  width: 24px; height: 1px;
  background: var(--fg-45);
  flex: none;
}

h2.section-title {
  font-size: var(--text-title);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0.015em;
  max-width: 820px;
  margin-bottom: 26px;
}
.center h2.section-title, h2.section-title.center { margin-left: auto; margin-right: auto; }

.section-subtitle {
  font-size: var(--text-subtitle);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--fg-78);
  max-width: 760px;
  margin: -10px 0 26px;
}

.section-body {
  font-size: var(--text-body);
  max-width: var(--measure);
  color: var(--fg-78);
  font-weight: 400;
}
.section-body p + p { margin-top: 1em; }
.section-body strong { font-weight: 600; color: var(--fg); }

.text-center { text-align: center; }
.text-center .section-body { margin-left: auto; margin-right: auto; }
.text-center .section-body.text-left { text-align: left; }
.text-center h2.section-title { margin-left: auto; margin-right: auto; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }
.text-center .statement { margin-left: auto; margin-right: auto; }
.text-center .checklist { margin-left: auto; margin-right: auto; text-align: left; }
.text-center .flow-line { justify-content: center; }
.text-center .advantages { text-align: left; }
.text-center .possibilities .item { text-align: left; }
.text-center .faq-list { margin-left: auto; margin-right: auto; text-align: left; }
.section-cta-row { text-align: center; }
.text-center .section-body { margin-left: auto; margin-right: auto; }
.text-center .section-body.text-left { text-align: left; }

/* editorial closing statement */
.statement {
  margin-top: 52px;
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0.04em;
  max-width: 760px;
}
.statement strong { font-weight: 700; }
/* each phrase is its own block so text-wrap: balance applies (br disables it) */
.statement strong, .statement > span { display: block; text-wrap: balance; }

/* section 2 — discipline tags + info blocks */
.discipline-strip {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--fg);
  margin: 32px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1020px;
}
.discipline-strip span {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}
/* intro lines that should sit on a single line on desktop */
.text-center .section-body.wide { max-width: none; }
.section-body.wide p { text-wrap: balance; }
.what-blocks {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: center;
}
.what-blocks .block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 28px 26px;
}
.block-icon {
  display: block;
  width: 26px; height: 26px;
  margin: 0 auto 12px;
  stroke: var(--fg);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.advantage-icon {
  width: 22px; height: 22px;
  flex: none;
  stroke: var(--fg-60);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.what-blocks .block-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--fg);
  margin-bottom: 12px;
}
.what-blocks .block p {
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--fg-78);
}
.what-blocks .block.wide { grid-column: 1 / -1; }
.what-blocks .block.wide p { max-width: 640px; margin: 0 auto; }
@media (max-width: 760px) {
  .what-blocks { grid-template-columns: 1fr; gap: 14px; }
  .what-blocks .block { padding: 24px 20px; }
}

/* principle / highlighted block */
.principle {
  margin-top: 48px;
  max-width: 720px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--fg);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 28px 32px;
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--fg-78);
}
.principle strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--fg);
  margin-bottom: 8px;
}

.mono-note {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.08em;
  color: var(--fg-78);
  margin-top: 44px;
}

/* capability list */
.checklist {
  list-style: none;
  margin-top: 40px;
  max-width: 720px;
}
.checklist li {
  font-size: var(--text-body);
  font-weight: 400;
  color: var(--fg-78);
  padding: 11px 0 11px 28px;
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px; top: 20px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--fg);
}
.checklist li.x-item { color: var(--fg); font-weight: 600; }

/* ---------- advantages (section 4) ---------- */

.advantages { margin-top: 56px; display: grid; gap: 32px; }
.advantage {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 46px 42px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.advantage:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 241, 236, 0.28);
  background: var(--panel-2);
}
.advantage-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--fg-60);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.advantage-label::before { content: none; }
.advantage h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.advantage .lede {
  font-size: 17px;
  font-weight: 500;
  color: var(--fg);
  max-width: 680px;
  margin-bottom: 14px;
}
.advantage .body {
  font-size: 15.5px;
  font-weight: 400;
  color: var(--fg-78);
  max-width: 700px;
}
.advantage .body p + p { margin-top: 0.9em; }
.advantage .emph {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 2;
  color: var(--fg);
  border-left: 2px solid var(--fg);
  padding-left: 14px;
}

/* The Secret Tools — strongest emphasis */
.advantage.featured {
  background: var(--panel-2);
  border-color: rgba(242, 241, 236, 0.24);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8);
}
.advantage.featured::after {
  content: "";
  position: absolute;
  top: 0; left: 42px; right: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 241, 236, 0.5), transparent);
}
.advantage.featured .schematic {
  position: absolute;
  top: 24px; right: 24px;
  width: 120px;
  color: var(--trace);
  pointer-events: none;
}

.advantage ul {
  list-style: none;
  margin: 18px 0 0;
  columns: 2;
  column-gap: 40px;
  max-width: 720px;
}
.advantage ul li {
  break-inside: avoid;
  font-size: 15px;
  font-weight: 400;
  color: var(--fg-78);
  padding: 7px 0 7px 22px;
  position: relative;
}
.advantage ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--fg-60);
}
@media (max-width: 720px) { .advantage ul { columns: 1; } }

/* ---------- possibilities (section 5) ---------- */

.possibilities {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.possibilities .item {
  background: var(--bg);
  padding: 28px 26px;
  position: relative;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.5;
  transition: background 0.2s ease;
}
.possibilities .item:hover { background: var(--panel); }
.possibilities .item .item-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.possibility-icon {
  width: 22px; height: 22px;
  flex: none;
  stroke: var(--fg);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s ease;
}
.possibilities .item:hover .possibility-icon { stroke: var(--fg); }
.possibilities .item .num {
  font-family: var(--font-mono);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--fg);
}
@media (max-width: 720px) { .possibilities { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq-list { margin-top: 52px; border-top: 1px solid var(--line); max-width: 840px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.07em;
  transition: color 0.18s ease;
}
.faq-item summary:hover { color: var(--fg); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .indicator {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--fg-45);
  flex: none;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.faq-item[open] .indicator { transform: rotate(45deg); }
.faq-answer-wrap { overflow: hidden; }
.faq-answer {
  padding: 0 8px 28px;
  max-width: 700px;
  font-size: var(--text-body);
  font-weight: 400;
  color: var(--fg-78);
}
.faq-answer p + p { margin-top: 0.9em; }

/* ---------- founder line (used in hero + wherever needed) ---------- */

.signature {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 2;
}
.signature .role { color: var(--fg-60); }

/* ---------- final CTA ---------- */

.final-cta { text-align: center; overflow: hidden; }
.final-cta .climax {
  font-size: clamp(23px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0.02em;
  max-width: 860px;
  margin: 0 auto;
}
.final-cta .climax span { display: block; }
.final-cta .section-body { margin: 30px auto 44px; }
.offer-card {
  max-width: 560px;
  margin: 10px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.9);
  position: relative;
}
.offer-card::after {
  content: "";
  position: absolute;
  top: 0; left: 40px; right: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 241, 236, 0.5), transparent);
}
.waitlist-note {
  font-size: var(--text-body);
  color: var(--fg-78);
  max-width: 420px;
  margin-bottom: 18px;
}
.offer-stack {
  list-style: none;
  text-align: left;
  margin: 26px 0 30px;
  width: 100%;
  border-top: 1px solid var(--line-soft);
}
.offer-stack li {
  font-size: var(--text-body);
  font-weight: 400;
  color: var(--fg-78);
  padding: 9px 0 9px 26px;
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}
.offer-stack li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 9px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  line-height: inherit;
  color: var(--fg);
}
.offer-stack strong { font-weight: 600; color: var(--fg); }
.offer-card .btn { width: 100%; }
.waitlist-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.waitlist-form input {
  width: 100%;
  font-family: var(--font-display);
  font-size: 17.5px;
  text-align: center;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 16px;
  transition: border-color 0.18s ease;
}
.waitlist-form input::placeholder { color: var(--fg-60); }
.waitlist-form input:focus { outline: none; border-color: var(--fg); }
.waitlist-form .form-status { text-align: center; }
.offer-assurance {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--fg-60);
}
.offer-assurance a { color: var(--fg-78); }
@media (max-width: 640px) {
  .offer-card { padding: 32px 22px; }
  .offer-card::after { left: 22px; right: 22px; }
}
.price-amount {
  font-size: clamp(52px, 6.5vw, 72px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.price-figure {
  display: flex;
  align-items: baseline;
}
.price-figure .cur {
  font-size: 1em;
  font-weight: 600;
  color: var(--fg);
}
.price-amount .per {
  font-size: 0.3em;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--fg-60);
  margin-left: -0.09em;
}
.price-prefix {
  display: block;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  color: var(--fg-60);
  margin-bottom: 12px;
}
.price-note {
  font-size: var(--text-body);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--fg-78);
  margin-top: 14px;
}
.price-note .seg { white-space: nowrap; }
.price-why {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--fg-60);
  max-width: 400px;
  margin: -6px 0 22px;
}

.access-summary {
  font-size: var(--text-small);
  color: var(--fg-60);
  max-width: 560px;
  margin: 22px auto 0;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 52px 24px 36px;
  background: var(--panel);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.26em;
  color: var(--fg);
}
.footer-brand svg { width: 34px; height: 34px; flex: none; color: var(--fg); }
.footer-brand .labs { font-weight: 300; color: var(--fg-78); }
.footer-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--fg-60);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin-top: 16px;
}
.footer-nav a {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--fg-60);
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-nav a:hover { color: var(--fg); }
.footer-legal {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--fg-45);
}

/* ---------- cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, 16px);
  opacity: 0;
  z-index: 150;
  width: min(92vw, 560px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.cookie-banner.visible { opacity: 1; transform: translate(-50%, 0); }
.cookie-text {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--fg-78);
  margin: 0;
}
.cookie-text a { color: var(--fg); }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.cookie-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 10px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.cookie-btn.accept {
  background: var(--fg);
  color: var(--bg);
  border: 1px solid var(--fg);
}
.cookie-btn.accept:hover { opacity: 0.88; }
.cookie-btn.decline {
  background: transparent;
  color: var(--fg-60);
  border: 1px solid var(--line);
}
.cookie-btn.decline:hover { color: var(--fg); border-color: var(--fg-45); }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; gap: 12px; bottom: 12px; }
  .cookie-actions { justify-content: center; }
}

/* ---------- cinematic layer: grain and staged reveals ---------- */

/* film grain over everything, barely there */
body::after {
  content: "";
  position: fixed;
  inset: -60%;
  z-index: 2000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.045;
  animation: grain 9s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-4%, -6%); }
  20% { transform: translate(5%, 3%); }
  30% { transform: translate(-3%, 6%); }
  40% { transform: translate(6%, -4%); }
  50% { transform: translate(-6%, 2%); }
  60% { transform: translate(3%, 5%); }
  70% { transform: translate(-5%, -3%); }
  80% { transform: translate(4%, 6%); }
  90% { transform: translate(-2%, -5%); }
}

/* section titles wipe out of a mask while rising */
h2.section-title.reveal {
  clip-path: inset(0 -3% 100% -3%);
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.75s cubic-bezier(0.16, 0.8, 0.24, 1), clip-path 0.75s cubic-bezier(0.16, 0.8, 0.24, 1);
}
h2.section-title.reveal.in {
  clip-path: inset(-6% -3% -10% -3%);
  transform: translateY(0);
}

/* discipline strip: each discipline lands in sequence */
.discipline-strip span {
  display: inline-block;
  opacity: 0;
  transform: translateY(9px);
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.discipline-strip.in span { opacity: 1; transform: none; }
.discipline-strip.in span:nth-child(1) { transition-delay: 0.05s; }
.discipline-strip.in span:nth-child(2) { transition-delay: 0.11s; }
.discipline-strip.in span:nth-child(3) { transition-delay: 0.17s; }
.discipline-strip.in span:nth-child(4) { transition-delay: 0.23s; }
.discipline-strip.in span:nth-child(5) { transition-delay: 0.29s; }
.discipline-strip.in span:nth-child(6) { transition-delay: 0.35s; }
.discipline-strip.in span:nth-child(7) { transition-delay: 0.41s; }
.discipline-strip.in span:nth-child(8) { transition-delay: 0.47s; }

/* pricing card: the figure pops, the stack cascades, the checks snap in */
.offer-card.reveal .price-figure {
  opacity: 0;
  transform: scale(0.94) translateY(8px);
  transition: opacity 0.55s ease 0.1s, transform 0.65s cubic-bezier(0.16, 0.8, 0.24, 1) 0.1s;
}
.offer-card.reveal.in .price-figure { opacity: 1; transform: none; }
.offer-card.reveal .offer-stack li {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.offer-card.reveal.in .offer-stack li { opacity: 1; transform: none; }
.offer-card.reveal.in .offer-stack li:nth-child(1) { transition-delay: 0.2s; }
.offer-card.reveal.in .offer-stack li:nth-child(2) { transition-delay: 0.32s; }
.offer-card.reveal.in .offer-stack li:nth-child(3) { transition-delay: 0.44s; }
.offer-card.reveal.in .offer-stack li:nth-child(4) { transition-delay: 0.56s; }
.offer-card.reveal .offer-stack li::before {
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.offer-card.reveal.in .offer-stack li::before { transform: scale(1); }
.offer-card.reveal.in .offer-stack li:nth-child(1)::before { transition-delay: 0.38s; }
.offer-card.reveal.in .offer-stack li:nth-child(2)::before { transition-delay: 0.5s; }
.offer-card.reveal.in .offer-stack li:nth-child(3)::before { transition-delay: 0.62s; }
.offer-card.reveal.in .offer-stack li:nth-child(4)::before { transition-delay: 0.74s; }

/* ---------- scroll reveals ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 0.7, 0.3, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* staggered children — apply .reveal-stagger to a revealed container */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.16, 0.7, 0.3, 1);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.48s; }

/* ---------- progress rail ---------- */

.progress-rail {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  height: 220px;
  width: 1px;
  background: var(--line);
  z-index: 60;
}
.progress-rail .node {
  position: absolute;
  left: -3.5px; top: 0;
  width: 8px; height: 8px;
  background: var(--bg);
  border: 1.5px solid var(--fg);
  will-change: transform;
}
@media (max-width: 1200px) { .progress-rail { display: none; } }

/* ---------- forms ---------- */

.form { max-width: 520px; margin-top: 44px; }
.form-row { margin-bottom: 22px; }
.form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--fg-60);
  margin-bottom: 8px;
}
.form input, .form textarea {
  width: 100%;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 400;
  color: var(--fg);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color 0.18s ease;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--fg);
}
.form textarea { min-height: 140px; resize: vertical; }
.form .consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--fg-78);
}
.form .consent input { width: auto; margin-top: 4px; accent-color: var(--fg); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-status {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 12px 16px;
  border-radius: var(--radius);
  display: none;
}
.form-status.ok { display: block; border: 1px solid var(--fg); color: var(--fg); }
.form-status.error { display: block; border: 1px solid #f87171; color: #f87171; }

/* ---------- inner pages ---------- */

.page-head { padding: calc(var(--header-h) + 48px) 24px 0; }
.prose {
  max-width: var(--measure);
  color: var(--fg-78);
  font-weight: 400;
}
.prose h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fg);
  margin: 2.2em 0 0.7em;
}
.prose h3 { font-size: 17px; font-weight: 600; color: var(--fg); margin: 1.8em 0 0.6em; }
.prose p + p { margin-top: 1em; }
.prose ul, .prose ol { margin: 1em 0 1em 1.4em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--fg); }
.last-updated {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--fg-45);
  margin-top: 20px;
}
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--fg-45);
  margin-bottom: 28px;
}
.breadcrumbs a { color: var(--fg-60); text-decoration: none; }
.breadcrumbs a:hover { color: var(--fg); }

/* vertical flow (welcome page steps) */
.flow {
  margin: 44px auto 0;
  max-width: 560px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 36px 30px;
}
.flow ol { list-style: none; }
.flow li {
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.5vw, 13px);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 12px 8px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg);
}
.flow li + li { margin-top: 26px; position: relative; }
.flow li + li::before {
  content: "";
  position: absolute;
  top: -26px; left: 50%;
  width: 1px; height: 26px;
  background: var(--line);
}
.flow li + li::after {
  content: "";
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 6px; height: 6px;
  border-right: 1px solid var(--fg-45);
  border-bottom: 1px solid var(--fg-45);
}

/* ---------- responsive ---------- */

@media (max-width: 640px) {
  .btn { font-size: 13px; padding: 18px 26px; white-space: nowrap; }
  .faq-item summary { font-size: 13px; padding: 20px 4px; }
  .hero-headline { font-size: clamp(14px, 4.65vw, 23px); letter-spacing: 0.005em; }
  .final-cta .climax { font-size: clamp(16px, 5.4vw, 23px); }
  .hero-logo { margin-bottom: 16px; }
  .wordmark { margin-bottom: 12px; }
  .creator-line { letter-spacing: 0.12em; }
  .creator-intro { font-size: 14.5px; margin-bottom: 20px; }
  .hero-headline { margin-bottom: 14px; }
  .hero-sub { font-size: 16.5px; margin-bottom: 12px; }
  .possibility-line { letter-spacing: 0.06em; margin-bottom: 22px; }
  .hero-actions { gap: 12px; }
}

@media (max-width: 860px) {
  .footer-top { flex-direction: column; }
  .footer-nav { grid-template-columns: repeat(2, auto); }
  .advantage { padding: 34px 26px; }
  .advantage.featured::after { left: 26px; right: 26px; }
  .advantage.featured .schematic { display: none; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-logo .cell, .wordmark, .creator-line,
  .hero-sub, .possibility-line, .hero-actions { animation: none; opacity: 1; }
  .hero-logo .x-mark line { animation: none; stroke-dashoffset: 0; }
  .mask-line > span { animation: none; transform: none; }
  .spotlight { animation: none; }
  .btn::before, .hero-actions .btn::before, .reveal.in .btn::before { animation: none; }
  .cookie-banner { transition: none; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .btn, .btn .arrow, .advantage { transition: none; }
  .btn { animation: none; }
  .progress-rail .node { transition: none; }
  body::after { animation: none; }
  h2.section-title.reveal { clip-path: none; transform: none; transition: none; }
  .discipline-strip span,
  .offer-card.reveal .price-figure,
  .offer-card.reveal .offer-stack li { opacity: 1; transform: none; transition: none; }
  .offer-card.reveal .offer-stack li::before { transform: scale(1); transition: none; }
}
