/* ==========================================================================
   SECTIONS — page-specific composition
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 132px;
  padding-bottom: var(--sp-9);
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: var(--z-canvas);
  pointer-events: none;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(90% 60% at 50% 0%, transparent 30%, var(--bg) 100%),
    linear-gradient(180deg, transparent 55%, var(--bg) 100%);
}

.hero__inner { position: relative; z-index: var(--z-content); width: 100%; }

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  align-items: center;
}

@media (min-width: 1080px) {
  .hero__grid { grid-template-columns: 1.08fr 0.92fr; }
}

.hero__title {
  font-size: var(--fs-display-xl);
  margin-block: var(--sp-5) var(--sp-6);
}

.hero__title .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero__title .word > span { display: inline-block; }

.hero__lead { max-width: 54ch; }

.hero__cta {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-7);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(50% - 1rem, 140px), 1fr));
  gap: var(--sp-6) var(--sp-5);
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: var(--sp-5);
  translate: -50% 0;
  z-index: 3;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-3);
}

@media (min-width: 900px) { .hero__scroll { display: flex; } }

.hero__scroll-line {
  width: 1px; height: 46px;
  background: linear-gradient(180deg, var(--line-strong), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 40%;
  background: var(--text);
  animation: scroll-tick 2.1s var(--ease-in-out) infinite;
}

@keyframes scroll-tick {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(300%); }
}

/* --------------------------------------------------------------------------
   TERMINAL (hero right rail — the "coding animation")
   -------------------------------------------------------------------------- */
.terminal {
  position: relative;
  background: var(--code-bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-mono);
  transform-style: preserve-3d;
}

/* A faint colour bloom bleeding up from the code — the one place the
   monochrome brand lets colour through. */
.terminal::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 90%;
  pointer-events: none;
  background:
    radial-gradient(50% 60% at 18% 100%, color-mix(in srgb, var(--code-key) 22%, transparent), transparent 70%),
    radial-gradient(46% 58% at 54% 100%, color-mix(in srgb, var(--code-fn) 18%, transparent), transparent 70%),
    radial-gradient(50% 62% at 88% 100%, color-mix(in srgb, var(--code-ok) 16%, transparent), transparent 70%);
  filter: blur(38px);
  opacity: 0.85;
  animation: code-bloom 13s var(--ease-in-out) infinite;
}

@keyframes code-bloom {
  0%, 100% { opacity: 0.6;  transform: translateX(0); }
  50%      { opacity: 0.95; transform: translateX(-4%); }
}

.terminal::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--sheen);
}

.terminal__bar,
.terminal__body,
.terminal__foot { position: relative; }

.terminal__bar {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: 0.78rem var(--sp-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
}

.terminal__dots { display: flex; gap: 6px; }

.terminal__dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  display: block;
}

/* The three lights are the second sanctioned use of colour. */
.terminal__dots i:nth-child(1) { background: var(--code-warn); }
.terminal__dots i:nth-child(2) { background: var(--code-num); }
.terminal__dots i:nth-child(3) { background: var(--code-ok); }

.terminal__file {
  font-size: var(--fs-micro);
  color: var(--code-punc);
  letter-spacing: 0.04em;
}

.terminal__badge {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-micro);
  color: var(--code-punc);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terminal__badge i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--code-ok);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--code-ok) 60%, transparent);
  animation: pulse-ring 2s var(--ease-out) infinite;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--code-ok) 55%, transparent); }
  70%  { box-shadow: 0 0 0 7px color-mix(in srgb, var(--code-ok) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--code-ok) 0%, transparent); }
}

.terminal__body {
  padding: var(--sp-5) var(--sp-5) var(--sp-6);
  font-size: 0.8125rem;
  line-height: 1.92;
  min-height: 392px;
  max-height: 64vh;
  overflow: hidden;
  counter-reset: ln;
}

.terminal__line {
  display: flex;
  gap: var(--sp-4);
  white-space: pre-wrap;
  word-break: break-word;
  border-radius: 3px;
}

.terminal__line::before {
  counter-increment: ln;
  content: counter(ln);
  flex-shrink: 0;
  width: 1.6em;
  text-align: right;
  color: var(--code-gutter);
  font-size: 0.6875rem;
  user-select: none;
}

.terminal__line--out::before { content: ""; }

/* The active line gets a faint highlight, like a real editor */
.terminal__line--active { background: rgba(255, 255, 255, 0.045); }

/* ---- Syntax tokens ---- */
.tok-key  { color: var(--code-key); font-weight: 600; }
.tok-fn   { color: var(--code-fn); font-weight: 500; }
.tok-str  { color: var(--code-str); }
.tok-num  { color: var(--code-num); font-weight: 500; }
.tok-com  { color: var(--code-com); font-style: italic; }
.tok-punc { color: var(--code-punc); }
.tok-var  { color: var(--code-var); }
.tok-warn { color: var(--code-warn); font-weight: 600; }

.tok-ok {
  color: var(--code-ok);
  font-weight: 600;
  text-shadow: 0 0 18px color-mix(in srgb, var(--code-ok) 45%, transparent);
}

.terminal__caret {
  display: inline-block;
  width: 7px;
  height: 1.05em;
  vertical-align: text-bottom;
  background: var(--code-fn);
  box-shadow: 0 0 12px color-mix(in srgb, var(--code-fn) 70%, transparent);
  animation: blink 1.05s steps(2, start) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.terminal__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 0.66rem var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  font-size: var(--fs-micro);
  color: var(--code-punc);
  letter-spacing: 0.05em;
}

.terminal__foot span { display: flex; align-items: center; gap: var(--sp-2); }
.terminal__foot [data-term-lang] { color: var(--code-fn); }
.terminal__foot [data-term-status] { color: var(--code-ok); }

/* Language pips under the terminal — shows which snippet is playing */
.terminal-pips {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  padding-inline: var(--sp-2);
  flex-wrap: wrap;
}

.terminal-pip {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  opacity: 0.5;
  transition: opacity var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}

.terminal-pip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.terminal-pip.is-on { opacity: 1; color: var(--text-2); }
.terminal-pip:nth-child(1).is-on { color: var(--code-key); }
.terminal-pip:nth-child(2).is-on { color: var(--code-fn); }
.terminal-pip:nth-child(3).is-on { color: var(--code-ok); }
.terminal-pip:nth-child(4).is-on { color: var(--code-num); }
.terminal-pip:nth-child(5).is-on { color: var(--code-str); }

/* --------------------------------------------------------------------------
   SERVICES
   -------------------------------------------------------------------------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--sp-4);
}

.service-card { min-height: 100%; }

.service-card .card__body { flex: 1; }

/* --------------------------------------------------------------------------
   ABOUT / PRINCIPLES
   -------------------------------------------------------------------------- */
.about__grid {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  align-items: start;
}

@media (min-width: 980px) {
  .about__grid { grid-template-columns: 1fr 1fr; }
  .about__sticky { position: sticky; top: 112px; }
}

.principles { display: flex; flex-direction: column; }

.principle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-4) var(--sp-5);
  padding-block: var(--sp-5);
  border-bottom: 1px solid var(--line);
  transition: padding-left var(--dur) var(--ease-out);
}

.principle:first-child { border-top: 1px solid var(--line); }
.principle:hover { padding-left: var(--sp-3); }

.principle__idx {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--text-3);
  padding-top: 5px;
  font-variant-numeric: tabular-nums;
}

.principle__title {
  font-size: var(--fs-h4);
  font-weight: 550;
  letter-spacing: var(--tracking-tight);
}

.principle__body {
  grid-column: 2;
  font-size: var(--fs-sm);
  color: var(--text-3);
  line-height: 1.65;
  max-width: 52ch;
}

/* --------------------------------------------------------------------------
   TEAM DIVISIONS
   -------------------------------------------------------------------------- */
.division {
  display: grid;
  gap: var(--sp-4);
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  transition: all var(--dur) var(--ease-out);
}

.division:hover { border-color: var(--line-strong); background: var(--bg-elev-2); }

.division__code {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
  transition: all var(--dur) var(--ease-out);
}

.division:hover .division__code { background: var(--text); color: var(--bg); border-color: var(--text); }

.division__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* --------------------------------------------------------------------------
   PROCESS TIMELINE
   -------------------------------------------------------------------------- */
.process { position: relative; }

.process__rail {
  position: absolute;
  left: 19px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--line);
}

.process__rail::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: var(--fill, 0%);
  background: var(--text);
  transition: height 120ms linear;
}

@media (min-width: 900px) {
  .process__rail { left: 0; right: 0; top: 19px; bottom: auto; width: 100%; height: 1px; }
  .process__rail::after { height: 100%; width: var(--fill, 0%); transition: width 120ms linear; }
}

.process__steps {
  position: relative;
  display: grid;
  gap: var(--sp-7);
}

@media (min-width: 900px) {
  .process__steps { grid-template-columns: repeat(5, 1fr); gap: var(--sp-5); }
}

.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--sp-5);
  align-items: start;
}

@media (min-width: 900px) {
  .step { grid-template-columns: 1fr; gap: var(--sp-5); }
}

.step__node {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 39px; height: 39px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 600;
  color: var(--text-3);
  transition: all 460ms var(--ease-out);
}

.step.is-lit .step__node {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
  transform: scale(1.06);
}

.step__title {
  font-size: var(--fs-h4);
  font-weight: 550;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--sp-3);
}

.step__body { font-size: var(--fs-sm); color: var(--text-3); line-height: 1.62; }

/* --------------------------------------------------------------------------
   CLIENT SEGMENTS
   -------------------------------------------------------------------------- */
.segment { display: flex; flex-direction: column; gap: var(--sp-5); }
.segment .checks { margin-top: auto; padding-top: var(--sp-2); }

/* --------------------------------------------------------------------------
   TESTIMONIALS
   -------------------------------------------------------------------------- */
.quote {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  padding: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  transition: all var(--dur) var(--ease-out);
  height: 100%;
}

.quote:hover { border-color: var(--line-strong); transform: translateY(-3px); }

.quote__mark {
  font-family: var(--font-display);
  font-size: 3.25rem;
  line-height: 0.6;
  color: var(--text-3);
  opacity: 0.4;
  height: 0.5em;
}

.quote__text {
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: var(--text);
  flex: 1;
}

.quote__by {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}

.quote__avatar {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-2);
  flex-shrink: 0;
}

.quote__name { font-size: var(--fs-sm); font-weight: 550; }
.quote__role { font-size: var(--fs-xs); color: var(--text-3); }

/* --------------------------------------------------------------------------
   IN MOTION — live activity panel
   -------------------------------------------------------------------------- */
.motion__grid {
  display: grid;
  gap: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 1020px) { .motion__grid { grid-template-columns: 0.9fr 1.1fr; } }

.feed {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.feed__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--line);
  background: var(--bg-sunk);
}

.feed__title {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-3);
}

.feed__list {
  height: 328px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
}

.feed__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-4);
  padding: 0.72rem var(--sp-5);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  animation: feed-in 520ms var(--ease-out);
}

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

.feed__hash { color: var(--text-3); letter-spacing: 0.04em; }
.feed__msg { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed__time { color: var(--text-3); opacity: 0.72; font-variant-numeric: tabular-nums; }

.feed__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.feed__stat {
  padding: var(--sp-4) var(--sp-3);
  text-align: center;
  border-right: 1px solid var(--line);
}

.feed__stat:last-child { border-right: 0; }

.feed__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.feed__stat span {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.motion__points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-7);
}

.motion__point {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--text-2);
}

.motion__point svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--text-3); }

/* --------------------------------------------------------------------------
   STARTUP PROGRAM
   -------------------------------------------------------------------------- */
.program {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background: var(--bg-elev);
  padding: clamp(1.75rem, 1.2rem + 2.6vw, 4rem);
  overflow: hidden;
}

.program::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, var(--surface-hover) 0 1px, transparent 1px 13px);
  opacity: 0.6;
  pointer-events: none;
}

.program__inner { position: relative; }

.program__meter {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-block: var(--sp-6);
  flex-wrap: wrap;
}

.program__bar {
  position: relative;
  flex: 1 1 220px;
  height: 34px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg);
}

/* Starts full-width and shrinks to what the founder actually pays. */
.program__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 100%);
  background: var(--text);
  transition: width 1.4s var(--ease-out);
}

.program__bar-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  mix-blend-mode: difference;
  color: var(--brand-white);
}

.criteria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-7);
}

.criterion {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-3) var(--sp-4);
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
}

.criterion__tick {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 11px;
}

.criterion__title { font-size: var(--fs-sm); font-weight: 550; }
.criterion__body { grid-column: 2; font-size: var(--fs-xs); color: var(--text-3); line-height: 1.55; }

/* --------------------------------------------------------------------------
   MEETING TYPE PICKER
   -------------------------------------------------------------------------- */
.meetings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--sp-4);
}

.meeting { position: relative; cursor: pointer; display: block; }
.meeting input { position: absolute; opacity: 0; width: 0; height: 0; }

.meeting__box {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  height: 100%;
  padding: var(--sp-5);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--bg-elev);
  transition: all var(--dur) var(--ease-out);
}

.meeting:hover .meeting__box { border-color: var(--line-strong); transform: translateY(-2px); }

.meeting input:checked + .meeting__box {
  border-color: var(--text);
  background: var(--surface-active);
  box-shadow: 0 0 0 1px var(--text);
}

.meeting input:focus-visible + .meeting__box { outline: 2px solid var(--text); outline-offset: 3px; }

.meeting__dur {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.meeting__name { font-size: var(--fs-h4); font-weight: 550; letter-spacing: var(--tracking-tight); }
.meeting__desc { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.55; }

/* --------------------------------------------------------------------------
   TIER LADDER (sellers page)
   -------------------------------------------------------------------------- */
.ladder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: var(--sp-4);
  counter-reset: tier;
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  counter-increment: tier;
  overflow: hidden;
  transition: all var(--dur) var(--ease-out);
}

.tier::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: calc(var(--rank, 1) * 25%);
  background: var(--text);
  opacity: 0.85;
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 900ms var(--ease-out);
}

.tier.is-revealed::after { transform: scaleX(1); }
.tier:hover { border-color: var(--line-strong); transform: translateY(-3px); }

.tier__rank {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-3);
}

.tier__name {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  letter-spacing: var(--tracking-tight);
}

.tier__pay {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.tier__unlock {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--text-3);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   ROLES (careers page)
   -------------------------------------------------------------------------- */
.roles { border-top: 1px solid var(--line); }

.role {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--sp-4) var(--sp-6);
  padding-block: var(--sp-5);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left var(--dur) var(--ease-out);
}

.role:hover { padding-left: var(--sp-4); }

.role::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--text);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform var(--dur) var(--ease-out);
}

.role:hover::before { transform: scaleY(1); transform-origin: 50% 0; }

.role__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  letter-spacing: var(--tracking-tight);
}

.role__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  margin-top: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--text-3);
}

.role__meta span { display: flex; align-items: center; gap: var(--sp-2); }
.role__meta span:not(:last-child)::after { content: "·"; margin-left: var(--sp-2); opacity: 0.6; }

.role__apply { justify-self: end; }

/* --------------------------------------------------------------------------
   CTA BANNER
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(4rem, 3rem + 6vw, 8.5rem);
  border-top: 1px solid var(--line);
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 62% 68% at 50% 50%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 62% 68% at 50% 50%, #000, transparent 78%);
  animation: grid-drift 26s linear infinite;
}

@keyframes grid-drift {
  to { background-position: 68px 68px, 68px 68px; }
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
}

.cta__title { font-size: var(--fs-display-l); max-width: 16ch; }
.cta__lead { text-align: center; margin-inline: auto; }

/* --------------------------------------------------------------------------
   PAGE HERO (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: 168px;
  padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
  opacity: 0.7;
}

.page-hero__inner { position: relative; z-index: 1; }
.page-hero__title { font-size: var(--fs-display-l); margin-block: var(--sp-5) var(--sp-5); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { opacity: 0.5; }

/* --------------------------------------------------------------------------
   LEGAL / PROSE
   -------------------------------------------------------------------------- */
.legal {
  display: grid;
  gap: clamp(2rem, 1.4rem + 2.5vw, 4rem);
  align-items: start;
}

@media (min-width: 980px) { .legal { grid-template-columns: 260px 1fr; } }

.toc { position: sticky; top: 112px; }

.toc__title {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--sp-4);
}

.toc__list { display: flex; flex-direction: column; gap: 2px; }

.toc__link {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--text-3);
  border-left: 1px solid var(--line);
  transition: all var(--dur-fast) var(--ease-out);
}

.toc__link:hover { color: var(--text-2); border-left-color: var(--line-strong); }
.toc__link.is-active { color: var(--text); border-left-color: var(--text); background: var(--surface-hover); }
.toc__num { font-family: var(--font-mono); font-size: var(--fs-micro); opacity: 0.62; }

.prose { max-width: 76ch; }
.prose > * + * { margin-top: var(--sp-5); }

.prose section { scroll-margin-top: 112px; padding-bottom: var(--sp-8); }
.prose section + section { border-top: 1px solid var(--line); padding-top: var(--sp-8); }

.prose h2 {
  display: flex;
  align-items: baseline;
  gap: var(--sp-4);
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 400;
  letter-spacing: var(--tracking-display);
  margin-bottom: var(--sp-5);
}

.prose h2 > i {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: var(--fs-micro);
  color: var(--text-3);
}

.prose h3 { font-size: var(--fs-h4); font-weight: 600; margin-top: var(--sp-6); margin-bottom: var(--sp-3); }
.prose p { color: var(--text-2); line-height: var(--lh-loose); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.prose a:hover { text-decoration-color: currentColor; }

.prose ul { display: flex; flex-direction: column; gap: var(--sp-3); }

.prose ul li {
  position: relative;
  padding-left: var(--sp-5);
  color: var(--text-2);
  line-height: var(--lh-body);
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.72em;
  width: 5px; height: 1px;
  background: var(--text-3);
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }

.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 480px; }

.table th, .table td { padding: var(--sp-3) var(--sp-4); text-align: left; border-bottom: 1px solid var(--line); }

.table th {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  background: var(--bg-sunk);
}

.table td { color: var(--text-2); }
.table tr:last-child td { border-bottom: 0; }

.callout {
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-left: 2px solid var(--text);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--bg-elev);
  font-size: var(--fs-sm);
  color: var(--text-2);
  line-height: var(--lh-body);
}

/* ==========================================================================
   ADDED — sections built for scroll variety
   ========================================================================== */

/* --------------------------------------------------------------------------
   STATEMENT BAND — a full-bleed line of huge serif that lands between
   dense sections and lets the page exhale.
   -------------------------------------------------------------------------- */
.statement {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-y-lg);
  isolation: isolate;
}

.statement__inner {
  position: relative;
  z-index: var(--z-content);
  max-width: var(--maxw-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.statement__text {
  font-family: var(--font-display);
  font-size: var(--fs-display-l);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: var(--tracking-display);
  max-width: 22ch;
  text-wrap: balance;
}

.statement__text em { font-style: italic; color: var(--text-3); }

.statement--center .statement__text { margin-inline: auto; text-align: center; max-width: 20ch; }
.statement--end .statement__inner { display: flex; justify-content: flex-end; }

.statement__meta {
  display: flex;
  gap: var(--sp-8);
  flex-wrap: wrap;
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
  max-width: 760px;
}

.statement__meta p { font-size: var(--fs-sm); color: var(--text-3); max-width: 34ch; line-height: 1.62; }

/* Oversized ghost word behind the statement */
.statement__ghost {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  font-family: var(--font-display);
  font-size: var(--fs-mega);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--text);
  opacity: 0.035;
  white-space: nowrap;
  user-select: none;
}

/* --------------------------------------------------------------------------
   HORIZONTAL SCROLL — the services rail pins and moves sideways
   -------------------------------------------------------------------------- */
.hscroll { position: relative; }

.hscroll__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hscroll__head {
  max-width: var(--maxw);
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-bottom: var(--sp-7);
}

.hscroll__viewport { overflow: hidden; width: 100%; }

.hscroll__track {
  display: flex;
  gap: var(--sp-5);
  padding-inline: var(--gutter);
  width: max-content;
  will-change: transform;
  transform: translate3d(var(--hx, 0px), 0, 0);
}

.hscroll__card {
  flex: 0 0 auto;
  width: clamp(268px, 24vw, 380px);
  min-height: clamp(360px, 44vh, 480px);
}

.hscroll__bar {
  position: relative;
  max-width: var(--maxw);
  width: 100%;
  margin: var(--sp-7) auto 0;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.hscroll__rail {
  position: relative;
  flex: 1;
  height: 1px;
  background: var(--line);
}

.hscroll__rail::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--hp, 0%);
  height: 1px;
  background: var(--text);
}

.hscroll__count {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Below the pin breakpoint the rail becomes a normal swipeable row. */
@media (max-width: 899px) {
  .hscroll { height: auto !important; }
  .hscroll__sticky { position: static; height: auto; padding-block: var(--section-y); }
  .hscroll__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .hscroll__viewport::-webkit-scrollbar { height: 0; }
  .hscroll__track { transform: none !important; padding-block: var(--sp-2); }
  .hscroll__card { scroll-snap-align: center; width: min(78vw, 340px); min-height: 0; }
  .hscroll__bar { display: none; }
}

/* --------------------------------------------------------------------------
   STICKY STACK — cards that pile up as you scroll past them
   -------------------------------------------------------------------------- */
.stack-cards { display: flex; flex-direction: column; gap: var(--sp-6); }

.stack-card {
  position: sticky;
  top: calc(96px + var(--i, 0) * 18px);
  transform-origin: 50% 0;
}

.stack-card__inner {
  position: relative;
  display: grid;
  gap: var(--sp-5) var(--sp-8);
  padding: clamp(1.75rem, 1.1rem + 2.6vw, 3.25rem);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background: var(--bg-elev);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

@media (min-width: 860px) {
  .stack-card__inner { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; }
}

.stack-card__idx {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-label);
  color: var(--text-3);
}

.stack-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 400;
  letter-spacing: var(--tracking-display);
  line-height: 1.14;
  margin-top: var(--sp-3);
}

.stack-card__body { font-size: var(--fs-lead); color: var(--text-2); line-height: var(--lh-loose); }

.stack-card__art {
  position: absolute;
  right: -8%;
  top: 50%;
  translate: 0 -50%;
  width: 44%;
  max-width: 380px;
  aspect-ratio: 1;
  pointer-events: none;
  color: var(--shape-line-2);
  opacity: 0.9;
}

/* --------------------------------------------------------------------------
   IMPACT NUMBERS — a wide band of oversized figures
   -------------------------------------------------------------------------- */
.impact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.impact__cell {
  position: relative;
  padding: clamp(2rem, 1.4rem + 2.4vw, 3.5rem) clamp(1.25rem, 1rem + 1vw, 2rem);
  border-right: 1px solid var(--line);
  overflow: hidden;
  transition: background-color var(--dur) var(--ease-out);
}

.impact__cell:last-child { border-right: 0; }
.impact__cell:hover { background: var(--surface-hover); }

.impact__num {
  display: block;
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 1.8rem + 3.9vw, 5.25rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.impact__label {
  display: block;
  position: relative;
  z-index: 1;
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--text-3);
  max-width: 24ch;
  line-height: 1.5;
}

.impact__cell .shape {
  z-index: 0;
  inset: auto -18% -34% auto;
  width: 58%;
  aspect-ratio: 1;
  opacity: 0.75;
}

/* --------------------------------------------------------------------------
   PRODUCT SHOWCASE
   -------------------------------------------------------------------------- */
.product {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 1.6rem + 3.6vw, 5rem);
  align-items: center;
  padding: clamp(1.75rem, 1rem + 3vw, 4rem);
  border: 1px solid var(--line-2);
  border-radius: var(--r-2xl);
  background: var(--bg-elev);
  overflow: hidden;
  isolation: isolate;
}

@media (min-width: 1000px) {
  .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .product--flip .product__copy { order: 2; }
}

.product__copy { position: relative; z-index: 2; display: flex; flex-direction: column; gap: var(--sp-5); }

.product__mark {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  width: fit-content;
  padding: 0.42em 0.95em 0.42em 0.5em;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: var(--bg);
}

.product__mark-glyph {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 7px;
  background: var(--text);
  color: var(--bg);
  flex-shrink: 0;
}

.product__mark-glyph svg { width: 13px; height: 13px; }

.product__mark-name {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}

.product__title {
  font-family: var(--font-display);
  font-size: var(--fs-display-m);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: var(--tracking-display);
}

.product__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-2);
}

.product__feature {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

.product__feature:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.product__feature b { font-size: var(--fs-sm); font-weight: 600; }
.product__feature span { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.5; }

.product__visual {
  position: relative;
  z-index: 2;
  border-radius: var(--r-xl);
  overflow: hidden;
}

/* Browser chrome mock for the product screen */
.window {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-lg);
}

.window__bar {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: 0.62rem var(--sp-4);
  border-bottom: 1px solid var(--line);
  background: var(--bg-sunk);
}

.window__dots { display: flex; gap: 6px; }
.window__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); display: block; }

.window__url {
  flex: 1;
  padding: 0.3em 0.85em;
  border-radius: var(--r-pill);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--text-3);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window__body { padding: var(--sp-5); display: grid; gap: var(--sp-4); }

/* Skeleton rows that shimmer, standing in for the real product UI */
.skel { display: grid; gap: var(--sp-3); }

.skel__row {
  height: var(--h, 12px);
  width: var(--w, 100%);
  border-radius: var(--r-xs);
  background: linear-gradient(90deg, var(--surface-hover) 25%, var(--surface-active) 50%, var(--surface-hover) 75%);
  background-size: 300% 100%;
  animation: shimmer 2.6s linear infinite;
  animation-delay: var(--d, 0s);
}

@keyframes shimmer { to { background-position: -300% 0; } }

.skel__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }

.skel__tile {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface-hover);
  display: grid;
  place-items: center;
  color: var(--text-3);
}

.product__orb {
  position: absolute;
  z-index: 0;
  width: 60%;
  aspect-ratio: 1;
  right: -12%;
  bottom: -20%;
}

/* Product page hero row of chips */
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.44em 0.95em;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  color: var(--text-2);
  background: var(--bg-elev);
  transition: all var(--dur) var(--ease-out);
}

.chip:hover { border-color: var(--line-strong); color: var(--text); transform: translateY(-2px); }
.chip svg { width: 13px; height: 13px; color: var(--text-3); }

/* --------------------------------------------------------------------------
   QUOTE RAIL — testimonials scroll sideways instead of stacking
   -------------------------------------------------------------------------- */
.rail {
  display: flex;
  gap: var(--sp-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-block: var(--sp-2) var(--sp-6);
  padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none;
}

.rail::-webkit-scrollbar { display: none; }

.rail > * {
  flex: 0 0 auto;
  width: min(86vw, 430px);
  scroll-snap-align: center;
}

.rail-nav { display: flex; align-items: center; gap: var(--sp-3); }

.rail-btn {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--text-2);
  transition: all var(--dur) var(--ease-out);
}

.rail-btn:hover { color: var(--text); border-color: var(--text); background: var(--surface-hover); }
.rail-btn:disabled { opacity: 0.3; pointer-events: none; }
.rail-btn svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   Section head refinements — more air, optional rule
   -------------------------------------------------------------------------- */
.section-head { margin-bottom: clamp(3rem, 1.8rem + 4.5vw, 6rem); }

.section-head--ruled {
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
}

.section-num {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--tracking-label);
  color: var(--text-3);
}

/* Sections need a stacking context so shape fields sit behind content */
.section > .shell { position: relative; z-index: var(--z-content); }
.section { isolation: isolate; }
