
/* ============================================================
   MIDAS 3 · Home — Photo-dense, editorial, mobile-ready
   ============================================================ */
/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 68px;
  padding: 0 var(--gutter);
  box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-1);
  letter-spacing: -0.02em;
}
.brand-dot { color: var(--gold); }
.brand-sub {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-left: 8px;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  font-size: 14px; color: var(--text-2);
}
.nav-links a { color: var(--text-2); transition: color 0.15s var(--ease-out); }
.nav-links a:hover { color: var(--text-1); }
.nav-cta { margin-left: 4px; }
/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
  padding: 12px 20px;
  transition: all 0.15s var(--ease-out);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-sm { padding: 8px 14px; font-size: 12px; }
.btn-lg { padding: 15px 26px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-gold {
  background: var(--gold); color: #16130A;
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-soft); color: #16130A; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--text-1);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--text-2); color: var(--text-1); }
/* ---------- LAYOUT ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(24px, 4vw, 48px) 0; }
.section-alt { background: var(--bg-1); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
/* Type helpers */
.kicker {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.kicker-gold { color: var(--gold); }
.mono-label {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-3);
}
.h1-big { font-size: clamp(40px, 6vw, 84px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 24px; max-width: 18ch; padding-bottom: 0.1em; }
.h2-big { font-size: clamp(34px, 5vw, 64px); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 24px; max-width: 22ch; padding-bottom: 0.08em; }
.h2-mid { font-size: clamp(26px, 3.6vw, 44px); line-height: 1.24; letter-spacing: -0.02em; margin: 0 0 16px; padding-bottom: 0.08em; }
.section-lede { font-size: var(--t-body-xl); color: var(--text-2); max-width: 62ch; margin: 0 0 48px; line-height: 1.5; }
.lead { font-size: var(--t-body-xl); line-height: 1.55; color: var(--text-2); margin: 0 0 20px; max-width: 62ch; }
.lead strong { color: var(--text-1); font-weight: 500; }
/* ============================================================
   HERO — Full-bleed photograph
   ============================================================ */
.hero-full {
  position: relative;
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}
.hero-full-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
  z-index: 0;
  /* Keep the plate recessive so headline contrast never depends on the photo. */
  filter: brightness(1.06) saturate(0.95) contrast(1.03);
}
/* Layered scrim: protects the text column hard, lets the right side breathe. */
.hero-full-shade {
  position: absolute; inset: 0;
  background:
    /* 1. text-side protection (headline is left-aligned) */
    linear-gradient(90deg,
      rgba(8,8,10,0.92) 0%,
      rgba(8,8,10,0.82) 28%,
      rgba(8,8,10,0.45) 54%,
      rgba(8,8,10,0.12) 78%,
      rgba(8,8,10,0.00) 100%),
    /* 2. vertical anchor into nav above and stats bar below */
    linear-gradient(180deg,
      rgba(8,8,10,0.62) 0%,
      rgba(8,8,10,0.16) 26%,
      rgba(8,8,10,0.42) 74%,
      rgba(8,8,10,0.92) 100%),
    /* 3. global floor — nothing ever blows out */
    linear-gradient(0deg, rgba(8,8,10,0.08), rgba(8,8,10,0.08));
  z-index: 1;
}
.hero-full-content {
  position: relative;
  z-index: 2;
  padding: clamp(60px, 10vh, 120px) var(--gutter) clamp(40px, 6vh, 80px);
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.hero-kicker {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--green);
  margin-bottom: 28px;
}
.hero-full-h1 {
  font-size: clamp(48px, 8.5vw, 120px);
  line-height: 1.06; letter-spacing: -0.035em;
  margin: 0 0 28px;
  padding-bottom: 0.08em;
  max-width: 16ch;
  color: var(--text-1);
  font-weight: 500;
}
.hero-full-h1 em { color: var(--gold); font-style: italic; font-family: var(--serif); font-weight: 500; }
/* Safety net: keeps type readable even if the background plate is swapped. */
.hero-full-h1,
.hero-full-lede,
.hero-kicker { text-shadow: 0 1px 2px rgba(0,0,0,0.45), 0 2px 28px rgba(0,0,0,0.55); }
.hero-full-lede {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--text-1);
  max-width: 56ch;
  margin: 0 0 36px;
  opacity: 0.92;
}
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.hero-cta-text {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s ease;
}
.hero-cta-text span {
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}
.hero-cta-text:hover { color: var(--gold); }
.hero-cta-text:hover span { border-bottom-color: var(--gold); }
/* ============================================================
   LEVELS
   ============================================================ */
.levels-section .section-lede { margin-bottom: 56px; }
.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.level-tile {
  display: block;
  background: var(--bg-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.18s var(--ease-out);
  position: relative; overflow: hidden;
}
.level-tile::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, transparent 60%, rgba(245,196,67,0.06) 100%);
  opacity: 0; transition: opacity 0.18s var(--ease-out);
}
.level-tile:hover { border-color: var(--border); transform: translateY(-2px); }
.level-tile:hover::before { opacity: 1; }
.lvl-num { color: var(--text-3); font-size: 12px; letter-spacing: 0.15em; margin-bottom: 20px; }
.lvl-name { font-size: 26px; font-weight: 500; color: var(--text-1); margin-bottom: 10px; letter-spacing: -0.02em; }
.lvl-desc { color: var(--text-2); font-size: 15px; line-height: 1.5; margin-bottom: 22px; }
.lvl-score { color: var(--text-3); font-size: 9.5px; }
/* colored accent bars */
.lvl-sales { border-top: 3px solid var(--gold); }
.lvl-mkt { border-top: 3px solid var(--blue); }
.lvl-rec { border-top: 3px solid #A78BFA; }
.lvl-ops { border-top: 3px solid var(--green); }
.lvl-fin { border-top: 3px solid #F59E0B; }
.lvl-comp { border-top: 3px solid #EC4899; }
/* ============================================================
   BENCHMARK
   ============================================================ */
.benchmark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 40px;
}
.bench-copy p.lead:last-child { margin-bottom: 0; }
.bench-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
}
.bench-figure img { width: 100%; height: auto; display: block; }
.bench-figure figcaption {
  padding: 12px 16px;
  background: var(--bg-1);
  border-top: 1px solid var(--border-soft);
  color: var(--text-3);
  font-size: 10px;
}
/* ============================================================
   PROOF — big photo + KPI stack
   ============================================================ */
.proof-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.proof-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
}
.proof-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proof-body .lead { margin-bottom: 32px; }
.kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.kpi {
  background: var(--bg-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.kpi-n { font-size: clamp(28px, 3vw, 38px); color: var(--gold); line-height: 1; margin-bottom: 8px; font-weight: 600; letter-spacing: -0.02em; }
.kpi-n .dim { color: var(--text-3); font-weight: 500; }
.kpi-l { color: var(--text-3); font-size: 10px; }
/* two-way crossroads cards (Go X Gym / the pitch) */
.seeit-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.seeit-card {
  display: block;
  background: var(--bg-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px 22px 20px;
  text-decoration: none;
  transition: border-color .25s var(--ease-out), background .25s var(--ease-out), transform .25s var(--ease-out);
}
.seeit-card:hover {
  border-color: var(--gold);
  background: var(--bg-2);
  transform: translateY(-2px);
}
.seeit-tag { color: var(--text-4); font-size: 10px; margin-bottom: 14px; }
.seeit-h {
  font-size: 26px;
  color: var(--text-1);
  line-height: 1.15;
  padding-bottom: 0.08em;
  margin-bottom: 8px;
  font-weight: 600;
}
.seeit-card p {
  color: var(--text-2);
  font-size: var(--t-body-sm);
  line-height: 1.6;
  margin: 0 0 16px;
}
.seeit-go { font-family: var(--mono); font-size: 11.5px; color: var(--gold); letter-spacing: 0.02em; }
/* ============================================================
   CLOSER — full-bleed quote
   ============================================================ */
.closer {
  position: relative;
  min-height: 60vh;
  display: flex; align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--border-soft);
}
.closer-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.85) saturate(0.9);
}
.closer-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg,
      rgba(8,8,10,0.95) 0%,
      rgba(8,8,10,0.88) 30%,
      rgba(8,8,10,0.55) 58%,
      rgba(8,8,10,0.28) 82%,
      rgba(8,8,10,0.18) 100%),
    linear-gradient(180deg, rgba(8,8,10,0.42) 0%, rgba(8,8,10,0.24) 45%, rgba(8,8,10,0.55) 100%);
  z-index: 1;
}
.closer-content { position: relative; z-index: 2; padding: 80px 0; }
.closer-quote {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.18; letter-spacing: -0.025em;
  padding-bottom: 0.08em;
  color: var(--text-1);
  max-width: 20ch;
  margin: 0 0 24px;
  font-weight: 500;
}
.closer-quote em { color: var(--gold); font-style: italic; font-family: var(--serif); font-weight: 500; }
.closer-attr { color: var(--text-3); }
.closer-quote,
.closer-attr { text-shadow: 0 1px 2px rgba(0,0,0,0.45), 0 2px 28px rgba(0,0,0,0.55); }

/* footer now lives in base.css — one footer for every page */

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 900px) {
.nav-links { gap: 16px; font-size: 13px; }
.nav-links a:not(.nav-cta) { display: none; }
.hero-full { min-height: 100vh; }
.hero-full-h1 { font-size: clamp(38px, 10vw, 56px); }
.hero-full-lede { font-size: 16px; }
.levels-grid { grid-template-columns: 1fr; gap: 12px; }
.benchmark-grid,
.proof-grid { grid-template-columns: 1fr; gap: 32px; }
.seeit-cards { grid-template-columns: 1fr; }
.kpi-row { grid-template-columns: 1fr 1fr; gap: 12px; }
.section { padding: 64px 0; }
.h1-big { font-size: 36px; }
.h2-big { font-size: 32px; }
.h2-mid { font-size: 24px; }
.lead,
.section-lede { font-size: 17px; }
}

/* mobile nav parity with base.css */
@media (max-width: 860px) {
.nav-inner { height: 64px; gap: 12px; }
.nav-links,
.nav-cta { display: none !important; }
}

/* ============================================================
   FRAME 2 · THE LEAP — two-column contrast (pitch-page pattern)
   ============================================================ */
.leap2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 64px;
}
.leap2-col {
  background: var(--bg-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.leap2-col-gold {
  border-color: rgba(245, 196, 67, 0.28);
  background: linear-gradient(160deg, rgba(245,196,67,0.05), rgba(245,196,67,0) 55%), var(--bg-1);
}
.leap2-cap { color: var(--text-4); margin-bottom: 20px; }
.leap2-col-gold .leap2-cap { color: var(--gold); }
.leap2-col p {
  font-size: var(--t-body-lg);
  color: var(--text-1);
  line-height: 1.5;
  margin: 0 0 18px;
}
.leap2-col p em { font-style: italic; color: var(--gold); font-weight: 500; }
.leap2-note {
  font-size: 15px !important;
  color: var(--text-3) !important;
  line-height: 1.6 !important;
  margin-bottom: 0 !important;
}

/* the metaphor — centred, quiet, lands the idea */
.tennis {
  border-top: 1px solid var(--border-soft);
  padding-top: 56px;
  text-align: center;
}
.tennis-q { margin: 0; }
.tennis-line,
.tennis-punch {
  display: block;
  font-family: var(--serif);
  letter-spacing: -0.02em;
  line-height: 1.22;
  padding-bottom: 0.08em;
}
.tennis-line {
  font-size: clamp(22px, 3vw, 34px);
  color: var(--text-2);
  font-weight: 400;
}
.tennis-punch {
  font-size: clamp(28px, 4.2vw, 48px);
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
  margin-top: 18px;
}

/* ============================================================
   FRAME 4 · THE FLOW — replaces the 46-source wall
   ============================================================ */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 8px;
}
.flow-step { text-align: center; }
.flow-vis {
  background: var(--bg-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 8px;
  margin-bottom: 22px;
}
.flow-vis svg { width: 100%; height: auto; display: block; }
.flow-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-4);
  margin-bottom: 8px;
}
.flow-name {
  font-size: 21px;
  font-weight: 500;
  color: var(--text-1);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.flow-desc {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.5;
  max-width: 26ch;
  margin: 0 auto;
}
.flow-arrow {
  align-self: start;
  margin-top: 88px;
  width: 40px;
}
.flow-arrow svg { width: 100%; height: auto; display: block; }
.flow-note {
  margin: 56px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  font-size: 15px;
  color: var(--text-3);
  line-height: 1.6;
  max-width: 70ch;
}
.flow-note a { color: var(--gold); text-decoration: none; }
.flow-note a:hover { text-decoration: underline; }

/* ============================================================
   FRAME 5 · DEMO CARD
   ============================================================ */
.demo-card {
  display: block;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-1);
  transition: border-color 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}
.demo-card:hover { border-color: rgba(245,196,67,0.4); transform: translateY(-2px); }
.demo-card-media {
  position: relative;
  aspect-ratio: 21 / 8;
  overflow: hidden;
}
.demo-card-media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  opacity: 0.72;
  transition: opacity 0.25s var(--ease-out), transform 0.5s var(--ease-out);
}
.demo-card:hover .demo-card-media img { opacity: 0.85; transform: scale(1.02); }
.demo-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  display: block;
}
.demo-play svg { width: 100%; height: 100%; display: block; }
.demo-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border-top: 1px solid var(--border-soft);
}
.demo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-chip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 12px;
  white-space: nowrap;
}
.demo-go {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  white-space: nowrap;
}

/* ============================================================
   FRAME 7 · PROOF PHOTO CAPTION
   ============================================================ */
.proof-photo figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-4);
  font-size: 10px;
  background: var(--bg-1);
}
.proof-photo figcaption a { color: var(--gold); text-decoration: none; }
.proof-photo figcaption a:hover { text-decoration: underline; }

/* ============================================================
   FRAME 8 · THE DEAL — stated once, quietly
   ============================================================ */
.deal-quiet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border-soft);
  padding-top: 44px;
}
.dq-item { }
.dq-n {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 18px;
}
.dq-t {
  font-size: 22px;
  font-weight: 500;
  color: var(--text-1);
  letter-spacing: -0.018em;
  margin-bottom: 12px;
}
.dq-item p {
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
}
.dq-cta {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.dq-cta p {
  margin: 0;
  font-size: var(--t-body-lg);
  color: var(--text-2);
  max-width: 48ch;
  line-height: 1.55;
}

/* ============================================================
   RESPONSIVE — new frames
   ============================================================ */
@media (max-width: 1000px) {
  .flow { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .flow-arrow { display: none; }
}
@media (max-width: 860px) {
  .leap2-cols { grid-template-columns: 1fr; gap: 16px; }
  .deal-quiet { grid-template-columns: 1fr; gap: 32px; }
  .demo-card-body { flex-direction: column; align-items: flex-start; gap: 16px; }
  .demo-card-media { aspect-ratio: 16 / 9; }
  .demo-play { width: 56px; height: 56px; }
  .dq-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: 1fr; gap: 36px; }
  .flow-desc { max-width: 34ch; }
  .tennis { padding-top: 40px; }
}

/* Sticky nav is 69px tall, so anchored sections need clearance or their
   eyebrow lands underneath it when a nav link is clicked. */
#how, #estimate, #see-it { scroll-margin-top: 92px; }

@media (max-width: 560px) {
  /* Stacked single column would otherwise blow the diagrams up to ~340px tall */
  .flow-vis { padding: 16px; }
  .flow-vis svg { max-width: 180px; margin: 0 auto; }
}

@media (max-width: 560px) {
  /* Give the tertiary pitch link its own line so it does not crowd the demo button */
  .hero-cta-text { flex: 1 0 100%; margin-top: 4px; }
}
