/*
 * ANTI-FØRMULA STUDIO
 * Homepage Styles
 */

/* ─── DECLARATION BAR ──────────────────────────────────────── */
/* A thin opening statement above the fold — sets the tone immediately */
.decl-bar {
  background: var(--c-black);
  color: var(--c-white);
  padding: 10px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--c-dark-rule);
}
.decl-track {
  display: flex;
  width: max-content;
  animation: ticker 70s linear infinite;
  gap: 0;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.decl-track:hover { animation-play-state: paused; }
.decl-item {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-dark-body);
  white-space: nowrap;
  padding: 0 32px;
  display: flex; align-items: center; gap: 20px;
}
.decl-item .mark { color: var(--c-mid); }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ─── §01 HERO ─────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--header-h, 92px) + 20px);
  padding-bottom: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.hero .wrap { flex: 1; }
.hero-anno { padding-top: 48px; }
.hero-content { padding-top: 48px; }

.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 40px;
  overflow: hidden;
}
.hero-eyebrow-line {
  width: 40px; height: 1px; background: rgba(255,255,255,.2);
  transform: scaleX(0); transform-origin: left;
}

.hero-hl { margin-bottom: 64px; }
.hero-hl-line {
  display: block;
  overflow: hidden;
  line-height: 1.02;
}
.hero-hl-inner {
  display: block;
  transform: translateY(105%);
  transition: transform 1s var(--spring);
}
.hero-hl-inner.in { transform: translateY(0); }

.hero-sub { display: none; }

.hero-ctas {
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap;
}

.hero-rule {
  margin-top: auto;
  margin-top: 80px;
}
.hero-foot {
  max-width: var(--g-max); margin: 0 auto;
  display: grid;
  grid-template-columns: var(--g-margin) 1fr var(--g-margin);
  border-top: 1px solid var(--c-dark-rule);
}


/* ── HERO STATS ─────────────────────────────────────────────── */
/* Sits below the hero CTAs inside .hero-content (.c column).
   Horizontal row of 3 stats, left-aligned, matching the grid column.  */
.hero-stats {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding-top: 48px;
  margin-top: 16px;
  border-top: 1px solid var(--c-dark-rule);
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 40px;
  margin-right: 40px;
  border-right: 1px solid var(--c-dark-rule);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .6s cubic-bezier(0.34,1.2,0.64,1);
}
.hero-stat.in { opacity: 1; transform: none; }
.hero-stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.hero-stat-num {
  font-family: var(--f-serif);
  font-size: 40px;
  font-weight: 300;
  color: var(--c-white);
  line-height: 1;
  display: block;
}
.hero-stat-lab {
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-dark-mid);
}

/* Hero word animation */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotate(-1deg);
  transition:
    opacity 0.6s ease,
    transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hero-word.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-stats { gap: 0; }
  .hero-stat { padding-right: 28px; margin-right: 28px; }
  .hero-stat-num { font-size: 32px; }
}
@media (max-width: 600px) {
  .hero-stats { flex-wrap: wrap; gap: 24px 0; border-top: none; padding-top: 32px; }
  .hero-stat { padding-right: 24px; margin-right: 24px; }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat-num { font-size: 28px; }
}

/* ─── §02 THE ARGUMENT ─────────────────────────────────────── */
.argument {
  background: var(--c-black);
  color: var(--c-white);
  padding: 96px 0;
  border-top: 1px solid var(--c-dark-rule);
}
.argument-anno { padding-top: 4px; }

.arg-lines { display: flex; flex-direction: column; gap: 0; }

.arg-line {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  border-top: 1px solid var(--c-dark-rule);
}
.arg-line:last-child { border-bottom: 1px solid var(--c-dark-rule); }

/* Num: slides in from the left */
.arg-line-num {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.08em;
  color: var(--c-dark-mid); min-width: 48px;
  padding-top: 6px;
  opacity: 0;
  transform: translateX(-20px);
  transition:
    opacity 0.5s ease,
    transform 0.6s cubic-bezier(0.34, 1.4, 0.64, 1);
}
/* Text: slides up with spring */
.arg-line-text {
  font-family: var(--f-serif); font-size: 22px; line-height: 1.4;
  font-weight: 300; color: var(--c-dark-body);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease 0.05s,
    transform 0.7s cubic-bezier(0.34, 1.2, 0.64, 1) 0.05s;
}
.arg-line-text.em { color: var(--c-white); font-style: italic; }
.arg-line-text.dim { color: var(--c-dark-mid); }

.arg-line.in .arg-line-num { opacity: 1; transform: none; }
.arg-line.in .arg-line-text { opacity: 1; transform: none; }

.argument-pull {
  margin-top: 64px;
  padding: 40px;
  border-left: 3px solid var(--c-orange);
  background: rgba(255,255,255,0.03);
}
.argument-pull p {
  font-family: var(--f-serif); font-size: 18px; line-height: 1.7;
  color: var(--c-dark-body); font-style: italic;
  max-width: 580px;
}
.argument-pull-attr {
  display: block; margin-top: 16px;
  font-family: var(--f-mono); font-size: 9px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-dark-mid);
}


/* ─── §03 FAULT LINES ──────────────────────────────────────── */
.faults {
  padding: 96px 0;
  border-top: 1px solid var(--c-dark-rule);
}
.faults-head { margin-bottom: 72px; }
.faults-hl { max-width: 580px; color: var(--c-white); }

.fault-list { display: flex; flex-direction: column; gap: 0; }

.fault-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--c-dark-rule);
  align-items: start;
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.6s ease,
    transform 0.8s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.fault-row:last-child { border-bottom: 1px solid var(--c-dark-rule); }
.fault-row.in { opacity: 1; transform: none; }

.fault-id {
  font-family: var(--f-mono); font-size: 8px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--c-orange);
  padding-top: 4px;
  display: block;
}
.fault-name {
  font-family: var(--f-serif); font-size: 22px; font-weight: 300;
  line-height: 1.25; color: var(--c-white); margin-bottom: 8px;
}
.fault-desc {
  font-family: var(--f-sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-dark-body);
  padding-top: 3px;
  max-width: 56ch;
}

.fault-cta {
  margin-top: 48px;
  padding: 40px;
  background: var(--c-warm);
  color: var(--c-black);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  border-left: 3px solid var(--c-orange);
}
.fault-cta .mono { color: var(--c-mid) !important; }
.fault-cta-left p {
  font-family: var(--f-serif); font-size: 20px; font-weight: 300;
  color: var(--c-black);
  line-height: 1.4; max-width: 360px; margin-top: 8px;
}
.fault-cta .btn-border {
  color: var(--c-black);
  border-color: var(--c-black);
}
.fault-cta .btn-border:hover {
  background: var(--c-black);
  color: var(--c-white);
}


/* ─── §04 SIGNAL SPRINT™ — snapshot ───────────────────────── */
.signal {
  background: var(--c-black);
  color: var(--c-white);
  padding: 96px 0;
  border-top: 1px solid var(--c-dark-rule);
}
.signal-head { margin-bottom: 48px; }
.signal-intro {
  font-family: var(--f-serif); font-size: 22px; font-weight: 300;
  font-style: italic; color: var(--c-dark-body);
  max-width: 580px; line-height: 1.6; margin-top: 20px;
}

/* Compact numbered list — 7 deliverables */
.snap-list {
  margin-bottom: 48px;
}
.snap-list-head { margin-bottom: 0; }
.snap-list-items {
  display: flex;
  flex-direction: column;
}
.snap-list-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-dark-rule);
  font-family: var(--f-sans); font-size: 14px;
  color: var(--c-dark-body);
  transition: color 0.15s;
}
.snap-list-item:hover { color: var(--c-white); }
.snap-list-item--last { border-bottom: none; }
.snap-num {
  font-family: var(--f-mono); font-size: 9px;
  letter-spacing: 0.08em; color: var(--c-mid);
  min-width: 20px; flex-shrink: 0;
}

/* Snapshot CTA block — used in both signal and method */
.snap-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  margin-top: 48px;
  padding: 40px;
  border: 1px solid var(--c-dark-rule);
}
.method .snap-cta {
  border-color: var(--c-light);
  background: var(--c-warm);
}

@media (max-width: 900px) {
  .signal { padding: 64px 0; }
  .signal-intro { font-size: 18px; }
  .snap-cta { flex-direction: column; align-items: flex-start; padding: 28px 20px; }
  .snap-list-item { font-size: 13px; }
}


/* ─── §05 THE PRODUCT METHOD™ — snapshot ───────────────────── */
.method {
  padding: 96px 0;
  background: var(--c-surface);
  color: var(--c-black);
  border-top: 3px solid var(--c-black);
}
.method-head { margin-bottom: 48px; color: var(--c-black); }
.method-head h2 { color: var(--c-black); }
.method-head .method-intro { color: #2E2B29; }
.method-intro {
  font-family: var(--f-serif); font-size: 20px; font-weight: 300;
  line-height: 1.6; color: #2E2B29;
  max-width: 580px; margin-top: 20px;
}

/* Three phases — compact horizontal-ish on desktop, stacked on mobile */
.method-phases-snap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--c-light);
  margin-bottom: 0;
}
.method-phase-snap {
  background: var(--c-white);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.2s;
}
.method-phase-snap:hover { background: #E4E2DE; }
.method-phase-snap-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--c-light);
}
.method-phase-snap:hover .method-phase-snap-head {
  border-bottom-color: var(--c-mid);
}
.method-phase-snap-name {
  color: var(--c-black);
  line-height: 1.1;
}
.method-phase-snap p {
  color: #2E2B29;
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
}
.method-phase-snap-tool {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--c-light);
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .method { padding: 64px 0; }
  .method-intro { font-size: 17px; }
  .method-phases-snap { grid-template-columns: 1fr; }
  .method-phase-snap { padding: 28px 20px; }
  .method-phase-snap-name { font-size: 28px; }
}
@media (max-width: 600px) {
  .method-phase-snap-name { font-size: 24px; }
}



.work {
  padding: 96px 0;
  background: var(--c-white);
  color: var(--c-black);
  border-top: 1px solid var(--c-light);
}
.work-head { margin-bottom: 72px; color: var(--c-black); }
.work-head h2 { color: var(--c-black); }
.work-head .col-mid { color: #5A5860; }

.work-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  background: var(--c-light);
}

.work-card {
  background: var(--c-surface);
  overflow: hidden; position: relative;
  transition: background 0.25s;
  min-height: 300px;
  display: flex; flex-direction: column;
}
.work-card:hover { background: #E6E3DF; }
.work-card--hero { grid-row: span 2; min-height: 620px; }

.work-card-inner {
  display: flex; flex-direction: column;
  justify-content: space-between;
  height: 100%; padding: 40px;
}

.work-card-fig {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--c-mid); margin-bottom: 24px;
}
.work-card-title {
  font-family: var(--f-serif); font-size: 28px; font-weight: 300;
  line-height: 1.2; color: var(--c-black); max-width: 320px;
}
.work-card--hero .work-card-title { font-size: 36px; max-width: 400px; }
.work-card-desc {
  font-family: var(--f-sans); font-size: 13px; line-height: 1.65;
  color: #2E2B29; margin-top: 16px; max-width: 360px;
}
.work-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }

.work-card-foot {
  padding-top: 24px; margin-top: 32px;
  border-top: 1px solid var(--c-light);
  display: flex; align-items: flex-end; justify-content: space-between;
}
.work-card-meta { display: flex; flex-direction: column; gap: 4px; }
.work-card-link {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--c-black);
  border-bottom: 1px solid var(--c-black); padding-bottom: 2px;
  opacity: 0;
  transition: opacity 0.2s;
}
.work-card:hover .work-card-link { opacity: 1; }

/* Diagram decoration */
.work-card-diagram {
  position: absolute; right: 32px; top: 50%;
  transform: translateY(-50%); opacity: 0.08;
  pointer-events: none;
}

@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-card--hero { grid-row: span 1; min-height: 320px; }
}


/* ─── §06 MANIFESTO ────────────────────────────────────────── */
.manifesto {
  padding: 96px 0 0;
  border-top: 3px solid var(--c-black);
}
.manifesto-body {
  display: flex; flex-direction: column; gap: 32px;
  max-width: 720px;
}
.manifesto-body p {
  font-family: var(--f-serif); font-size: 24px; font-weight: 300;
  line-height: 1.55; color: var(--c-black);
  overflow: hidden;
}
.manifesto-body .em { font-style: italic; font-weight: 400; }

.manifesto-close {
  margin-top: 96px;
  padding: 64px 0;
  border-top: 1px solid var(--c-light);
  display: flex; align-items: center;
  justify-content: space-between; gap: 48px;
  flex-wrap: wrap;
}
.manifesto-close-l {}
.manifesto-close-note {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--c-mid); margin-bottom: 12px;
}
.manifesto-close-line {
  font-family: var(--f-serif); font-size: 28px; font-weight: 300;
  line-height: 1.35; max-width: 380px;
}
.manifesto-close-ctas {
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}

@media (max-width: 900px) {
  .manifesto-close { flex-direction: column; align-items: flex-start; }
  .manifesto-body p { font-size: 20px; }
}


/* ─── STICKY ANNO COLUMN (desktop only) ─────────────────────── */
/* Sticky annotation column defined in global.css */


/* ─── MOBILE — ALL SECTIONS ──────────────────────────────────
   Comprehensive mobile fixes for every section below the hero.
   Applied at 900px and below where the grid collapses.
────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {

  /* §02 Argument */
  .argument { padding: 64px 0; }

  .arg-line {
    grid-template-columns: 24px 1fr;
    gap: 16px;
    padding: 18px 0;
  }
  .arg-line-num {
    font-size: 8px;
    min-width: 20px;
  }
  .arg-line-text {
    font-size: 19px;
    line-height: 1.4;
  }
  .arg-line-text.dim {
    font-size: 17px;
  }

  .argument-pull {
    margin-top: 40px;
    padding: 24px 20px;
  }
  .argument-pull p {
    font-size: 15px;
    line-height: 1.7;
  }

  /* §03 Fault lines — old stale rules removed, handled in section-specific mobile block below */
  .faults { padding: 64px 0; }

  .fault-row:hover {
    background: transparent;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .fault-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 20px;
    gap: 20px;
  }
  .fault-cta-left p { font-size: 18px; }

  /* §04 Signal Sprint */
  .signal { padding: 64px 0; }
  .signal-head { margin-bottom: 40px; }
  .signal-intro { font-size: 18px; margin-top: 16px; }

  /* §05 The Product Method */
  .method { padding: 64px 0; }
  .method-head { margin-bottom: 40px; }

  /* §06 Work */
  .work { padding: 64px 0; }
  .work-head { margin-bottom: 40px; }

  .work-card-inner { padding: 28px 24px; }
  .work-card--hero > .work-card-inner { min-height: unset; }
  .work-card-title { font-size: 22px; }
  .work-card--hero .work-card-title { font-size: 26px; }
  .work-card-diagram { display: none; }

  /* §07 Manifesto */
  .manifesto { padding: 64px 0 0; }
  .manifesto-body { gap: 24px; }
  .manifesto-body p { font-size: 18px; line-height: 1.6; }
  .manifesto-close { margin-top: 56px; padding: 40px 0; }
  .manifesto-close-line { font-size: 22px; }

  /* Hero stats bar */
  .hero-foot {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-column: 1;
    padding: 24px 20px;
    flex-wrap: wrap;
    gap: 24px;
  }
  .hero-stat {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
    min-width: 40%;
  }
  .hero-stat-num { font-size: 32px; }
}

@media (max-width: 600px) {
  /* Tighten further on very small screens */
  .arg-line-text       { font-size: 17px; }
  .arg-line-text.dim   { font-size: 15px; }
  .fault-name          { font-size: 17px; }
  .signal-stage-name   { font-size: 18px; }
  .work-card-title     { font-size: 20px; }
  .work-card--hero .work-card-title { font-size: 22px; }
  .argument            { padding: 48px 0; }
  .faults, .signal, .work { padding: 48px 0; }
}

/* ─── QUALIFIER STRIP ────────────────────────────────────────
   Self-selection section. Helps founders confirm this is for them.
   No section number — it's a conversion tool, not a content block.
────────────────────────────────────────────────────────────── */
.qualifier {
  background: #111013;
  color: var(--c-white);
  border-top: 1px solid var(--c-dark-rule);
  padding: 96px 0;
  border-top: 1px solid var(--c-dark-rule);
}

/* Heading */
.qualifier-heading {
  margin-bottom: 56px;
}
.qualifier-heading .serif-48 {
  color: var(--c-white);
}

/* Four-item grid */
.qualifier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--c-dark-rule);
  margin-bottom: 2px;
}

.qualifier-item {
  background: var(--c-black);
  padding: 36px 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: background 0.2s;
  cursor: default;
}
.qualifier-item:hover {
  background: #242120;
}

/* The number — large, orange, structural marker */
.qualifier-item-num {
  font-family: var(--f-serif);
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  color: var(--c-mid);
  flex-shrink: 0;
  min-width: 52px;
  padding-top: 4px;
}

.qualifier-item-body {}

.qualifier-item-hl {
  font-family: var(--f-serif);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--c-white);
  margin-bottom: 10px;
}

.qualifier-item-p {
  font-family: var(--f-sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-dark-body);
}

/* Not-for-you strip */
.qualifier-not {
  background: var(--c-dark-subtle);
  padding: 20px 32px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.qualifier-not-label {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-mid);
  flex-shrink: 0;
  padding-top: 2px;
  white-space: nowrap;
}
.qualifier-not-text {
  font-family: var(--f-sans);
  font-size: 13px;
  line-height: 1.65;
  color: var(--c-dark-body);
}

@media (max-width: 900px) {
  .qualifier { padding: 64px 0; }
  .qualifier-grid { grid-template-columns: 1fr; }
  .qualifier-heading { margin-bottom: 40px; }
  .qualifier-item { padding: 28px 20px; gap: 16px; }
  .qualifier-item-num { font-size: 36px; min-width: 40px; }
  .qualifier-item-hl { font-size: 18px; }
  .qualifier-not { padding: 16px 20px; flex-direction: column; gap: 8px; }
}

@media (max-width: 600px) {
  .qualifier-item-num { font-size: 28px; }
  .qualifier-item-hl { font-size: 16px; }
}


/* ─── STICKY CTA BAR ─────────────────────────────────────────
   Appears after scrolling past the hero.
   Persistent low-friction action throughout the page.
────────────────────────────────────────────────────────────── */
.sticky-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--c-black);
  border-top: 2px solid var(--c-orange);
  z-index: 190;
  transform: translateY(100%);
  transition: transform 0.35s var(--ease-out);
}
.sticky-cta-bar.is-visible { transform: translateY(0); }

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--g-max);
  margin: 0 auto;
  padding: 14px var(--g-margin);
  flex-wrap: wrap;
}
.sticky-cta-left {
  display: flex; align-items: center; gap: 16px;
}
.sticky-cta-label {
  font-family: var(--f-sans); font-size: 14px; font-weight: 500;
  color: var(--c-white); white-space: nowrap;
}
.sticky-cta-price {
  display: flex; align-items: baseline; gap: 8px;
}
.sticky-cta-original {
  font-family: var(--f-serif); font-size: 14px;
  color: var(--c-mid);
  text-decoration: line-through;
  text-decoration-color: var(--c-mid);
}
.sticky-cta-promo {
  font-family: var(--f-serif); font-size: 18px; font-weight: 300;
  color: var(--c-white);
}
.sticky-cta-tag {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--c-mid);
  border: 1px solid var(--c-mid);
  padding: 2px 6px;
}
.sticky-cta-actions {
  display: flex; align-items: center; gap: 20px;
}
.sticky-cta-secondary {
  font-family: var(--f-sans); font-size: 13px; font-weight: 400;
  color: var(--c-dark-body);
  border-bottom: 1px solid var(--c-dark-rule);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.sticky-cta-secondary:hover { color: var(--c-white); border-color: var(--c-white); }
.sticky-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-black); color: var(--c-white);
  padding: 10px 20px;
  font-family: var(--f-sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.01em; white-space: nowrap;
  transition: background 0.15s;
}
.sticky-cta-btn:hover { background: #333130; }

@media (max-width: 900px) {
  .sticky-cta-inner { padding: 12px 20px; }
  .sticky-cta-secondary { display: none; }
  .sticky-cta-left { gap: 10px; }
}
@media (max-width: 600px) {
  .sticky-cta-inner { flex-wrap: nowrap; justify-content: space-between; }
  .sticky-cta-price { display: none; }
}


/* ─── GHOST TIMELINE DIAGRAM ─────────────────────────────────
   Structural texture for the §04 Signal Sprint™ snapshot.
   Blueprint Blue at very low opacity — blends into the dark
   section background. No image, no JS, no separate file.
   aria-hidden="true" — purely decorative.
────────────────────────────────────────────────────────────── */
.ghost-timeline {
  margin: 40px 0 48px;
  opacity: 0.55;
}

.ghost-track { display: flex; flex-direction: column; gap: 0; }

/* Day ruler */
.ghost-ruler {
  position: relative;
  height: 20px;
  margin-bottom: 8px;
  margin-left: 32px;
  margin-right: 72px;
}
.ghost-ruler-line {
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: rgba(27,63,107,.3);
}
.ghost-day {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 7px;
  letter-spacing: .5px;
  color: rgba(27,63,107,.5);
  white-space: nowrap;
}

/* Phase rows */
.ghost-row {
  display: grid;
  grid-template-columns: 32px 1fr 72px;
  align-items: center;
  height: 22px;
  gap: 0;
}

.ghost-label {
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 1px;
  color: rgba(27,63,107,.35);
  flex-shrink: 0;
}

.ghost-bar-wrap {
  position: relative;
  height: 8px;
}

.ghost-bar {
  position: absolute;
  height: 100%;
  border-radius: 1px;
}
.ghost-bar--founder     { background: rgba(232,80,10,.22); }
.ghost-bar--af          { background: rgba(27,63,107,.28); }

/* Check-in dot */
.ghost-checkin {
  position: absolute;
  top: 50%; transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(232,80,10,.35);
  border: 1px solid rgba(232,80,10,.2);
}

.ghost-time {
  font-family: var(--f-mono);
  font-size: 7px;
  letter-spacing: .5px;
  color: rgba(232,80,10,.4);
  text-align: right;
  padding-left: 8px;
}
.ghost-time--dim { color: rgba(27,63,107,.25); }

/* Touchpoints strip */
.ghost-touchpoints {
  margin-top: 8px;
  margin-left: 32px;
  margin-right: 72px;
}
.ghost-tp-wrap {
  position: relative;
  height: 16px;
}
.ghost-tp-line {
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: rgba(232,80,10,.1);
}
.ghost-tp {
  position: absolute;
  top: 50%; transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(232,80,10,.3);
  border: 1px solid rgba(232,80,10,.15);
}

/* Mobile — shrink gracefully */
@media (max-width: 900px) {
  .ghost-timeline { opacity: 0.45; margin: 28px 0 36px; }
  .ghost-day { font-size: 6px; }
}
@media (max-width: 600px) {
  .ghost-timeline { display: none; }
}


/* ─── HOME CLOSE STRIP ───────────────────────────────────────
   Replaces the manifesto section — tight, directional, no
   second argument. The work section above does the convincing.
────────────────────────────────────────────────────────────── */
.home-close {
  padding: 96px 0;
  border-top: 1px solid var(--c-dark-rule);
  background: var(--c-black);
  color: var(--c-white);
}
.home-close-body {
  max-width: 640px;
}
.home-close-hl {
  font-family: var(--f-serif);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--c-white);
  margin-bottom: 24px;
}
.home-close-hl .reveal-inner { display: block; }
.home-close-sub {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-dark-body);
  max-width: 440px;
  margin-bottom: 40px;
}
.home-close-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  /* home-close mobile — see comprehensive block below */
}





/* ── FAULTS HEADING: word-by-word spring entry (.bw) ──────────── */
.faults-hl .bw {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition:
    opacity 0.5s ease,
    transform 0.7s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.faults-hl .bw.in { opacity: 1; transform: none; }

/* Work section CTA — black on surface, white text on hover */
.work-cta {
  color: var(--c-black) !important;
  border-color: var(--c-black) !important;
}
.work-cta:hover {
  background: var(--c-black) !important;
  color: var(--c-white) !important;
}


/* ══════════════════════════════════════════════════════════
   MOBILE OVERRIDES — 900px and below
   Comprehensive pass: all sections, all contrast issues.
══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {

  /* ── HERO ──────────────────────────────────────────────── */
  .hero { min-height: 100svh; padding-bottom: 48px; }
  .hero-anno { padding-top: 0; }
  .hero-content { padding-top: 28px; }
  .hero-eyebrow { margin-bottom: 24px; }
  .hero-hl { margin-bottom: 40px; }
  .hero-ctas {
    flex-direction: column; align-items: stretch;
    gap: 12px;
  }
  .hero-ctas .btn { text-align: center; justify-content: center; }
  .hero-stats {
    gap: 0; padding-top: 32px; margin-top: 24px;
    flex-wrap: wrap;
  }
  .hero-stat {
    padding-right: 24px; margin-right: 24px;
    min-width: 80px;
  }
  .hero-stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }
  .hero-stat-num { font-size: 32px; }
  .hero-stat-lab { font-size: 7px; }

  /* ── ARGUMENT ──────────────────────────────────────────── */
  .argument { padding: 64px 0; }
  .arg-line {
    grid-template-columns: 32px 1fr;
    gap: 12px; padding: 18px 0;
  }
  .arg-line-text { font-size: 18px; }
  .arg-line-text.dim { font-size: 16px; }

  /* ── FAULTS ────────────────────────────────────────────── */
  .faults { padding: 64px 0; }
  .faults-hl { max-width: 100%; margin-bottom: 32px; }
  .fault-row {
    grid-template-columns: 80px 1fr;
    gap: 16px; padding: 20px 0;
  }
  .fault-name { font-size: 18px; }
  .fault-desc { font-size: 12px; }
  .fault-cta { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px 24px; }
  .fault-cta-left p { font-size: 17px; }
  .fault-cta .btn { align-self: stretch; justify-content: center; }

  /* ── QUALIFIER ─────────────────────────────────────────── */
  .qualifier { padding: 64px 0; }
  .qualifier-grid { grid-template-columns: 1fr; gap: 2px; }
  .qualifier-item { padding: 24px; }
  .qualifier-item-hl { font-size: 17px; }
  .qualifier-not { flex-direction: column; gap: 12px; padding: 20px; }

  /* ── SIGNAL SPRINT ─────────────────────────────────────── */
  .signal { padding: 64px 0; }
  .signal-head { margin-bottom: 32px; }
  .signal-intro { font-size: 17px; }
  .snap-list { margin-bottom: 40px; }
  .snap-list-item { font-size: 13px; }
  .snap-cta { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px 20px; }
  .snap-cta .btn { align-self: stretch; justify-content: center; }

  /* ── METHOD ────────────────────────────────────────────── */
  .method { padding: 64px 0; }
  .method-head { margin-bottom: 36px; }
  .method-intro { font-size: 16px; }
  .method-phases-snap { grid-template-columns: 1fr; gap: 2px; }
  .method-phase-snap { padding: 28px 20px; }
  .method-phase-snap-name { font-size: 28px; }
  .method .snap-cta { flex-direction: column; align-items: flex-start; gap: 20px; }
  .method .snap-cta .btn { align-self: stretch; justify-content: center; }

  /* ── WORK ──────────────────────────────────────────────── */
  .work { padding: 64px 0; }
  .work-head { margin-bottom: 40px; }
  .work-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .work-card { min-height: 240px; }
  .work-card--hero { min-height: 300px; }
  .work-card-title { font-size: 24px; }
  .work-cta { width: 100%; justify-content: center; }

  /* ── CLOSE ─────────────────────────────────────────────── */


  /* ── DARK SECTION ANNOTATION ROWS ─────────────────────── */
  .argument .a,
  .faults .a,
  .qualifier .a,
  .signal .a,
  .home-close .a {
    border-bottom-color: var(--c-dark-rule);
  }
  .argument .a .anno-val,
  .faults .a .anno-val,
  .qualifier .a .anno-val,
  .signal .a .anno-val {
    color: var(--c-dark-mid) !important;
  }

  /* ── LIGHT SECTION ANNOTATION ROWS ────────────────────── */
  .method .a,
  .work .a {
    border-bottom-color: var(--c-light);
  }
  .method .a .anno-val,
  .work .a .anno-val {
    color: #5A5860 !important;
  }
}

@media (max-width: 600px) {
  .hero-stats { padding-top: 24px; }
  .hero-stat { padding-right: 18px; margin-right: 18px; }
  .hero-stat-num { font-size: 28px; }
  .arg-line-text { font-size: 16px; }
  .fault-row { grid-template-columns: 60px 1fr; gap: 12px; }
  .work-card-title { font-size: 20px; }
  .home-close-hl { font-size: 30px; }
  .qualifier-grid { gap: 1px; }
}

/* Declaration bar — scale down on mobile */
@media (max-width: 600px) {
  .decl-bar { padding: 8px 0; }
  .decl-item { font-size: 8px; padding: 0 20px; gap: 14px; letter-spacing: 0.08em; }
}


/* ══════════════════════════════════════════════════════════════
   MOBILE HERO + SECTION TRANSITIONS
   Fixes hero hierarchy and makes section changes legible on mobile.
══════════════════════════════════════════════════════════════ */

/* ── SECTION BREAK SYSTEM ──────────────────────────────────────
   On mobile, sections need a visible transition moment.
   Each section gets a top accent bar + number stamp.
   Dark sections: red bar. Light sections: black bar.
────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {

  /* Section break — dark context */
  .section-break--dark {
    position: relative;
  }
  .section-break--dark::before {
    content: '';
    display: block;
    height: 2px;
    background: var(--c-orange);
    width: 40px;
    margin: 0 24px 40px;
  }

  /* Section break — light context */
  .section-break--light {
    position: relative;
  }
  .section-break--light::before {
    content: '';
    display: block;
    height: 2px;
    background: var(--c-black);
    width: 40px;
    margin: 0 24px 40px;
  }

  /* ── HERO — COMPLETE MOBILE REBUILD ───────────────────────── */

  /* No padding compression on hero — it should feel full-screen */
  .hero {
    min-height: 100svh;
    padding-bottom: 56px;
    display: flex;
    flex-direction: column;
  }
  .hero .wrap { flex: 1; display: flex; flex-direction: column; }

  /* Hide the annotation column entirely on hero mobile
     — the eyebrow carries the "Product development studio" message */
  .hero-anno { display: none; }

  /* Hero content fills remaining space */
  .hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 48px;
    padding-bottom: 0;
  }

  /* Eyebrow — slim, at the top of content zone */
  .hero-eyebrow {
    margin-bottom: 20px;
    align-items: center;
  }
  .hero-eyebrow .mono {
    font-size: 9px;
    letter-spacing: .12em;
    color: var(--c-dark-mid);
  }

  /* Headline — no forced breaks, let it flow naturally */
  .hero-hl {
    margin-bottom: 32px;
    line-height: 1.02;
    letter-spacing: -1.5px;
    /* Allow words to wrap naturally */
  }
  .hero-hl .hero-word {
    /* No rotation on mobile — prevents overflow clipping */
    display: inline-block;
    transform: translateY(40px);  /* no rotate */
  }
  .hero-hl .hero-word.in {
    transform: none;
  }

  /* CTAs — stack, full width, finger-sized */
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 0;
  }
  .hero-ctas .btn {
    justify-content: center;
    text-align: center;
    padding: 15px 20px;
  }
  /* Primary CTA — filled, high contrast */
  .hero-ctas .btn-fill {
    background: var(--c-white);
    color: var(--c-black);
    font-size: 13px;
  }
  /* Secondary CTA — ghost, white text */
  .hero-ctas .btn-ghost {
    color: var(--c-dark-body);
    border-bottom-color: var(--c-dark-rule);
    font-size: 12px;
    padding: 12px 0;
  }

  /* Stats — 2-column grid below CTAs for tighter mobile layout */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    padding-top: 28px;
    margin-top: 28px;
    border-top: 1px solid var(--c-dark-rule);
  }
  .hero-stat {
    padding: 0;
    margin: 0;
    border-right: 1px solid var(--c-dark-rule);
    padding-right: 0;
    padding-left: 16px;
  }
  .hero-stat:first-child { padding-left: 0; }
  .hero-stat:last-child { border-right: none; padding-left: 16px; }
  .hero-stat-num {
    font-size: 28px;
    display: block;
    margin-bottom: 4px;
  }
  .hero-stat-lab {
    font-size: 7px;
    line-height: 1.4;
  }

  /* ── ARGUMENT MOBILE ──────────────────────────────────────── */
  .argument { padding: 48px 0 56px; }
  .arg-line {
    grid-template-columns: 28px 1fr;
    gap: 10px;
    padding: 16px 0;
  }
  .arg-line-text { font-size: 17px; line-height: 1.45; }
  .arg-line-text.dim { font-size: 15px; }

  /* ── FAULTS MOBILE ────────────────────────────────────────── */
  .faults { padding: 48px 0 56px; }
  .faults-intro { font-size: 14px; }
  .fault-row {
    grid-template-columns: 64px 1fr;
    gap: 12px;
    padding: 18px 0;
  }
  .fault-id { font-size: 8px; letter-spacing: 1.5px; }
  .fault-name { font-size: 17px; margin-bottom: 6px; }
  .fault-desc { font-size: 12px; line-height: 1.6; }
  .fault-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 20px;
    margin-top: 32px;
  }
  .fault-cta-left p { font-size: 16px; }
  .fault-cta .btn { width: 100%; justify-content: center; }

  /* ── QUALIFIER MOBILE ─────────────────────────────────────── */
  .qualifier { padding: 48px 0 56px; }
  .qualifier-grid { grid-template-columns: 1fr; gap: 1px; }
  .qualifier-item { padding: 20px; }
  .qualifier-item-hl { font-size: 16px; }
  .qualifier-item-p { font-size: 13px; }
  .qualifier-not {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 20px;
  }

  /* ── SIGNAL SPRINT MOBILE ─────────────────────────────────── */
  .signal { padding: 48px 0 56px; }
  .signal-head { margin-bottom: 28px; }
  .signal-intro { font-size: 16px; line-height: 1.6; }
  .snap-list { margin-bottom: 32px; }
  .snap-list-item { font-size: 13px; padding: 12px 0; }
  .snap-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 20px;
  }
  .snap-cta p { font-size: 16px; }
  .snap-cta .btn { width: 100%; justify-content: center; }

  /* ── METHOD MOBILE ────────────────────────────────────────── */
  .method { padding: 48px 0 56px; }
  .method-head { margin-bottom: 28px; }
  .method-intro { font-size: 15px; }
  .method-phases-snap { grid-template-columns: 1fr; gap: 1px; }
  .method-phase-snap { padding: 24px 20px; }
  .method-phase-snap-name { font-size: 26px; }
  .method .snap-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 20px;
    margin-top: 2px;
  }
  .method .snap-cta .btn { width: 100%; justify-content: center; }
  .method .snap-cta p { font-size: 16px; }

  /* ── WORK MOBILE ──────────────────────────────────────────── */
  .work { padding: 48px 0 56px; }
  .work-head { margin-bottom: 28px; }
  .work-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 2px;
  }
  .work-card { min-height: 220px; }
  .work-card--hero { min-height: 280px; }
  .work-card-title { font-size: 22px; }
  .work-card-desc { font-size: 13px; }
  .work-cta { width: 100%; justify-content: center; margin-top: 28px; }

  /* ── CLOSE MOBILE — defined in block below */
}

@media (max-width: 600px) {
  /* Hero */
  .hero-hl { letter-spacing: -1px; }
  .hero-stat-num { font-size: 24px; }
  .hero-stat-lab { font-size: 6.5px; }

  /* Section break accent lines — tighter */
  .section-break--dark::before,
  .section-break--light::before { margin: 0 20px 32px; }

  /* Argument */
  .arg-line { gap: 8px; }
  .arg-line-text { font-size: 16px; }

  /* Faults */
  .fault-row { grid-template-columns: 52px 1fr; }
  .fault-name { font-size: 16px; }

  /* Work */
  .work-card-title { font-size: 19px; }
  .work-card { min-height: 200px; }


}

/* ── HOME CLOSE — DEFINITIVE MOBILE RULES ───────────────────── */
@media (max-width: 900px) {
  .home-close { padding: 56px 0 64px; }

  /* Hide annotation column — section-break accent provides signal */
  .home-close .a { display: none; }

  /* Hide the horizontal rule — wastes space on mobile */
  .home-close .rule { display: none; }

  /* Eyebrow label */
  .home-close-body > .mono {
    font-size: 8px;
    letter-spacing: .12em;
    margin-bottom: 16px;
  }

  /* Display headline — large, breathing room */
  .home-close-hl {
    font-size: 36px;
    letter-spacing: -1px;
    line-height: 1.06;
    margin-bottom: 16px;
  }

  /* Sub — readable, not too small */
  .home-close-sub {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 28px;
    color: var(--c-dark-body);
  }

  /* CTAs — stacked, full width, finger-sized */
  .home-close-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .home-close-ctas .btn {
    justify-content: center;
    text-align: center;
    padding: 15px 20px;
    width: 100%;
  }
  /* Primary — white fill */
  .home-close-ctas .btn-fill {
    background: var(--c-white);
    color: var(--c-black);
  }
  /* Secondary — ghost, more visible on dark */
  .home-close-ctas .btn-ghost {
    color: var(--c-dark-body);
    border-bottom-color: var(--c-dark-rule);
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .home-close-hl { font-size: 28px; }
  .home-close-sub { font-size: 13px; }
}
