@import url("../../_ds/fonts.css");
@import url("../../_ds/theme.css");
@import url("../../_shared/chrome.css");
@import url("../../_shared/components.css");
@import url("../../_shared/audience-switcher.css");

/* ──────────────────────────────────────────────────────────
   /solutions/real-estate — industry-vertical archetype.
   A market that's alive: hero panel breathes, a scroll-scrubber
   walks a year of the market, a saturated band lands the cadence.
   Warm-dark, border-before-fill, type-led, interactive.
─────────────────────────────────────────────────────────── */
main { position: relative; z-index: 1; }
.back-to-top, .back-to-top * { cursor: none; }
.iv-h2 {
  margin: 0; font-family: var(--font-display); font-weight: 500;
  font-size: var(--mkt-h2); line-height: 1.02;
  letter-spacing: var(--tracking-dense, -0.024em); color: var(--text-primary);
}

/* ═══ Act 1 — Hero ═══ */
.iv-hero { min-height: 100vh; display: flex; align-items: center;
  padding: clamp(104px, 14vh, 152px) var(--page-gutter, 7vw) clamp(56px, 8vh, 100px); }
.iv-hero-frame {
  width: 100%; max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 38vw, 500px);
  gap: clamp(40px, 5vw, 96px); align-items: center;
}
.iv-hero-copy { max-width: 620px; }
.iv-hero-h1 {
  margin: clamp(14px, 1.8vh, 22px) 0 0; font-family: var(--font-display); font-weight: 500;
  font-size: var(--mkt-hero-xl); line-height: 0.98;
  letter-spacing: var(--tracking-denser, -0.03em); color: var(--text-primary);
}
.iv-hero-sub {
  margin: clamp(18px, 2.4vh, 28px) 0 0; font-family: var(--font-base);
  font-size: var(--mkt-body); line-height: 1.55; color: var(--text-secondary); max-width: 46ch;
}

/* Live market panel */
.iv-market { border: 1px solid var(--border-subtle); border-radius: 18px; padding: clamp(22px, 2.4vw, 32px); }
.iv-market-head { display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-code); font-size: 11.5px; letter-spacing: 0.05em; color: var(--text-tertiary); }
.iv-market-fresh { display: flex; align-items: center; gap: 8px; color: #7ADAE6; }
.iv-pulse { width: 8px; height: 8px; border-radius: 50%; background: #7ADAE6;
  box-shadow: 0 0 0 0 rgba(122,218,230,0.5); animation: iv-pulse 2.2s ease-out infinite; }
@keyframes iv-pulse { 0%{box-shadow:0 0 0 0 rgba(122,218,230,0.5);} 70%{box-shadow:0 0 0 10px rgba(122,218,230,0);} 100%{box-shadow:0 0 0 0 rgba(122,218,230,0);} }
.iv-market-price {
  margin: 16px 0 0; font-family: var(--font-display); font-weight: 500;
  font-size: var(--mkt-h2); line-height: 1; color: var(--text-primary);
  font-variant-numeric: tabular-nums; transition: color 0.3s ease;
}
.iv-market-price.is-tick { color: #7ADAE6; }
.iv-market-spark { width: 100%; height: 56px; margin: 14px 0 4px; display: block; }
.iv-spark-line { stroke: color-mix(in srgb, #7ADAE6 60%, transparent); stroke-width: 2; }
.iv-market-list { list-style: none; margin: 14px 0 0; padding: 0; }
.iv-listing { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--border-subtle);
  font-family: var(--font-code); font-size: 12.5px; color: var(--text-secondary); }
.iv-listing-addr { color: var(--text-primary); }
.iv-listing-price { color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.iv-listing-status { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border-subtle); transition: all 0.4s ease; white-space: nowrap; }
.iv-listing-status[data-status="active"]  { color: var(--text-tertiary); }
.iv-listing-status[data-status="pending"] { color: var(--text-primary); border-color: var(--text-tertiary); }
.iv-listing-status[data-status="sold"]    { color: #1D1612; background: #7ADAE6; border-color: #7ADAE6; }

/* ═══ Act 2 — Scrub the market (sticky scroll-stage) ═══ */
.iv-scrub-scroll { position: relative; min-height: 320vh; }
.iv-scrub-inner {
  position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  max-width: 1200px; margin: 0 auto; padding: clamp(96px, 12vh, 130px) var(--page-gutter, 7vw) clamp(56px, 7vh, 90px);
}
.iv-scrub-head { max-width: 640px; }
.iv-scrub-lead { margin: 16px 0 0; font-family: var(--font-base); font-size: var(--mkt-body);
  line-height: 1.55; color: var(--text-secondary); max-width: 52ch; }
.iv-scrub-stage { margin-top: clamp(36px, 5vh, 60px); }
.iv-scrub-readouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 40px); }
.iv-ro { display: flex; flex-direction: column; gap: 6px; }
.iv-ro-k { font-family: var(--font-code); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-tertiary); }
.iv-ro-v { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-h3);
  line-height: 1; color: var(--text-primary); font-variant-numeric: tabular-nums; }

.iv-chart { position: relative; margin-top: clamp(28px, 4vh, 48px); }
.iv-chart-svg { width: 100%; height: clamp(180px, 26vh, 260px); display: block; overflow: visible;
  clip-path: inset(0 calc((1 - var(--t, 0)) * 100%) 0 0); }
.iv-chart-area { fill: rgba(122, 218, 230, 0.10); }
.iv-chart-line { stroke: #7ADAE6; stroke-width: 2.5; }
.iv-chart-cursor { stroke: color-mix(in srgb, #7ADAE6 50%, transparent); stroke-width: 1; stroke-dasharray: 3 4; }
.iv-chart-dot { fill: #7ADAE6; }
.iv-scrub-rail { margin-top: 16px; height: 2px; border-radius: 2px; background: var(--border-subtle); overflow: hidden; }
.iv-scrub-rail-fill { display: block; height: 100%; width: calc(var(--t, 0) * 100%); background: #7ADAE6; }
.iv-pips { margin-top: clamp(22px, 3vh, 36px); display: flex; flex-wrap: wrap; gap: 6px; }
.iv-pip { width: 14px; height: 14px; border-radius: 3px; background: var(--border); transition: background 0.4s ease; }
.iv-pip.is-sold { background: #7ADAE6; }

/* ═══ Act 3 — Saturated teal band ═══ */
.cx-band { position: relative; overflow: hidden; }
.cx-band-bloom { position: absolute; inset: 0; z-index: 0; background: #7ADAE6;
  clip-path: circle(0% at 50% 105%); transition: clip-path 1150ms cubic-bezier(0.22,1,0.36,1); }
.cx-band.is-in .cx-band-bloom { clip-path: circle(150% at 50% 105%); }
.iv-band { padding: clamp(110px, 16vh, 190px) var(--page-gutter, 7vw); }
.iv-band-inner { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; text-align: center; }
.iv-band-kicker { margin: 0; font-family: var(--font-code); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(29,22,18,0.62); }
.iv-band-h2 { margin: 16px 0 0; font-family: var(--font-display); font-weight: 500;
  font-size: var(--mkt-hero); line-height: 0.98; letter-spacing: var(--tracking-denser, -0.03em); color: #1D1612; }
.iv-band-sub { margin: 22px auto 0; max-width: 54ch; font-family: var(--font-base);
  font-size: var(--mkt-body); line-height: 1.55; color: rgba(29,22,18,0.82); }
.iv-cadence { margin-top: clamp(30px, 4vh, 48px); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.iv-cadence-chip { font-family: var(--font-code); font-size: 13px; padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgba(29,22,18,0.3); color: #1D1612; }
.iv-cadence-chip--on { background: #1D1612; color: #fff; border-color: #1D1612; }
.cx-band .iv-band-kicker, .cx-band .iv-band-h2, .cx-band .iv-band-sub, .cx-band .iv-cadence {
  opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.cx-band.is-in .iv-band-kicker { opacity: 1; transform: none; transition-delay: 0.2s; }
.cx-band.is-in .iv-band-h2 { opacity: 1; transform: none; transition-delay: 0.28s; }
.cx-band.is-in .iv-band-sub { opacity: 1; transform: none; transition-delay: 0.36s; }
.cx-band.is-in .iv-cadence { opacity: 1; transform: none; transition-delay: 0.46s; }

/* Topbar inversion over the teal band */

/* ═══ Act 4 — Closer ═══ */
.iv-end { padding: clamp(120px, 18vh, 210px) var(--page-gutter, 7vw);
  text-align: center; display: flex; flex-direction: column; align-items: center; }
.iv-end-h2 { margin: 16px 0 0; font-family: var(--font-display); font-weight: 500;
  font-size: var(--mkt-hero); line-height: 0.97; letter-spacing: var(--tracking-denser, -0.03em); color: var(--text-primary); }
.iv-end-cta { margin-top: clamp(30px, 4.5vh, 52px); }

/* ═══ Reveal ═══ */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 560ms cubic-bezier(0.22,1,0.36,1), transform 560ms cubic-bezier(0.22,1,0.36,1); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ═══ Breakpoints ═══ */
@media (max-width: 900px) {
  .iv-hero-frame { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .iv-scrub-readouts { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (max-width: 760px) {
  .iv-hero { min-height: 0; }
  .iv-scrub-scroll { min-height: 0; }
  .iv-scrub-inner { position: static; min-height: 0; padding: clamp(80px, 12vh, 120px) var(--page-gutter, 7vw); }
  .iv-chart-svg { clip-path: none; }
}
@media (min-width: 1600px) { .iv-hero-frame { max-width: 1440px; } .iv-scrub-inner { max-width: 1340px; } }
@media (min-width: 1920px) { .iv-hero-frame { max-width: 1600px; } }
@media (prefers-reduced-motion: reduce) {
  .iv-pulse { animation: none; }
  .cx-band-bloom { clip-path: circle(150% at 50% 105%); transition: none; }
  .cx-band .iv-band-kicker, .cx-band .iv-band-h2, .cx-band .iv-band-sub, .cx-band .iv-cadence,
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .iv-chart-svg { clip-path: none; }
}

/* ═══ Act 3 — Signals (editorial left-anchored list) ═══ */
.iv-sigs { padding: clamp(90px, 13vh, 168px) var(--page-gutter, 7vw); }
.iv-sigs-inner { max-width: 1020px; margin: 0 auto; }
.iv-sigs-h2 { font-size: clamp(34px, 4.6vw, 68px); line-height: 0.99; }
.iv-sig-list { list-style: none; margin: clamp(36px, 5vh, 60px) 0 0; padding: 0; }
.iv-sigrow {
  display: grid; grid-template-columns: clamp(48px, 5vw, 78px) 1fr; gap: clamp(18px, 2.4vw, 40px);
  align-items: baseline; padding: clamp(22px, 2.8vh, 34px) 0; border-top: 1px solid var(--border-subtle);
}
.iv-sigrow:last-child { border-bottom: 1px solid var(--border-subtle); }
.iv-sigrow-n { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-h4);
  color: var(--text-quaternary); line-height: 1; }
.iv-sigrow-k { margin: 0; font-family: var(--font-base); font-weight: 600; font-size: var(--mkt-h4); color: var(--text-primary); }
.iv-sigrow-v { margin: 10px 0 0; font-family: var(--font-base); font-size: var(--mkt-body);
  line-height: 1.55; color: var(--text-secondary); max-width: 56ch; }

/* ═══ Act 4 — Reach: the gated listing that unlocks ═══ */
.iv-reach { padding: clamp(90px, 13vh, 168px) var(--page-gutter, 7vw); }
.iv-reach-inner { max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 38vw, 460px); gap: clamp(40px, 5vw, 90px); align-items: center; }
.iv-reach-copy h2 { font-size: var(--mkt-h2); line-height: 0.99; }
.iv-reach-lead { margin: 20px 0 0; font-family: var(--font-base); font-size: var(--mkt-body);
  line-height: 1.55; color: var(--text-secondary); max-width: 46ch; }
.iv-vault { position: relative; opacity: 1; transform: none; }   /* neutralise [data-reveal] base */
.iv-vault-card { border: 1px solid var(--border-subtle); border-radius: 16px; padding: clamp(22px, 2.4vw, 30px);
  filter: blur(7px); opacity: 0.5; transition: filter 0.7s ease, opacity 0.7s ease; }
.iv-vault.is-in .iv-vault-card { filter: blur(0); opacity: 1; }
.iv-vault-tag { margin: 0; font-family: var(--font-code); font-size: 11px; letter-spacing: 0.05em;
  text-transform: uppercase; color: #7ADAE6; }
.iv-vault-rows { margin: 16px 0 0; }
.iv-vault-rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-top: 1px solid var(--border-subtle); }
.iv-vault-rows dt { font-family: var(--font-code); font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-tertiary); margin: 0; }
.iv-vault-rows dd { margin: 0; font-family: var(--font-base); font-weight: 600; font-size: var(--mkt-body-sm); color: var(--text-primary); font-variant-numeric: tabular-nums; }
.iv-vault-lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-code); font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-secondary);
  transition: opacity 0.6s ease, transform 0.6s ease; }
.iv-vault-lockicon { width: 26px; height: 22px; border: 2px solid var(--text-tertiary); border-radius: 5px; position: relative; }
.iv-vault-lockicon::before { content: ""; position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px; border: 2px solid var(--text-tertiary); border-bottom: 0; border-radius: 8px 8px 0 0; }
.iv-vault.is-in .iv-vault-lock { opacity: 0; transform: translateY(-10px); pointer-events: none; }

@media (max-width: 900px) {
  .iv-reach-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

/* ════════════════ TRAVEL ════════════════ */
.tv-h2 { margin: 0; font-family: var(--font-display); font-weight: 500;
  font-size: var(--mkt-h2); line-height: 1.0; letter-spacing: var(--tracking-dense, -0.024em); color: var(--text-primary); }

/* Act 1 — Hero with full-bleed availability board */
.tv-hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  gap: clamp(36px, 5vh, 64px); padding: clamp(104px, 14vh, 150px) var(--page-gutter, 7vw) clamp(56px, 8vh, 96px); }
.tv-hero-head { max-width: 1280px; margin: 0 auto; width: 100%; }
.tv-hero-h1 { margin: clamp(14px, 1.8vh, 22px) 0 0; font-family: var(--font-display); font-weight: 500;
  font-size: var(--mkt-hero-xl); line-height: 0.96; letter-spacing: var(--tracking-denser, -0.03em); color: var(--text-primary); }
.tv-hero-sub { margin: clamp(16px, 2vh, 24px) 0 0; font-family: var(--font-base); font-size: var(--mkt-body);
  line-height: 1.55; color: var(--text-secondary); max-width: 60ch; }
.tv-board { max-width: 1280px; margin: 0 auto; width: 100%; border: 1px solid var(--border-subtle); border-radius: 16px; overflow: hidden; perspective: 800px; }
.tv-board-head, .tv-row { display: grid; grid-template-columns: 90px 1.4fr 1fr 0.7fr 0.9fr; gap: clamp(12px, 1.6vw, 28px); align-items: center;
  padding: clamp(13px, 1.5vw, 18px) clamp(18px, 2vw, 28px); }
.tv-board-head { border-bottom: 1px solid var(--border-subtle); font-family: var(--font-code); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-tertiary); }
.tv-row { border-top: 1px solid var(--border-subtle); font-family: var(--font-code); font-size: clamp(12.5px, 1.05vw, 14.5px);
  color: var(--text-secondary); transform-origin: center top; }
.tv-row:first-child { border-top: 0; }
.tv-row.is-flip { animation: tv-flip 0.55s cubic-bezier(0.4,0,0.2,1); }
@keyframes tv-flip { 0%{transform:rotateX(0);opacity:1;} 45%{transform:rotateX(-86deg);opacity:0.25;} 55%{transform:rotateX(86deg);opacity:0.25;} 100%{transform:rotateX(0);opacity:1;} }
.tv-c-type { color: #7ADAE6; }
.tv-c-where { color: var(--text-primary); }
.tv-c-price { color: var(--text-primary); font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .tv-board-head { display: none; }
  .tv-row { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .tv-c-where { grid-column: 1; } .tv-c-price { grid-column: 2; text-align: right; }
  .tv-c-type { grid-column: 1; } .tv-c-prov, .tv-c-avail { color: var(--text-tertiary); }
}

/* Act 2 — Route network (sticky scroll-paint) */
.tv-map-scroll { position: relative; min-height: 300vh; }
.tv-map-inner { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  max-width: 1200px; margin: 0 auto; padding: clamp(96px, 12vh, 130px) var(--page-gutter, 7vw) clamp(56px, 7vh, 90px); }
.tv-map-head { max-width: 640px; }
.tv-map-lead { margin: 16px 0 0; font-family: var(--font-base); font-size: var(--mkt-body); line-height: 1.55; color: var(--text-secondary); max-width: 52ch; }
.tv-map-stage { position: relative; margin-top: clamp(20px, 3vh, 40px); }
.tv-map-svg { width: 100%; height: clamp(280px, 44vh, 520px); display: block; overflow: visible; }
.tv-arc { fill: none; stroke: #7ADAE6; stroke-width: 2; }
.tv-dest { fill: #7ADAE6; }
.tv-dest-ring { fill: none; stroke: color-mix(in srgb, #7ADAE6 50%, transparent); stroke-width: 1; }
.tv-hub { fill: #7ADAE6; }
.tv-hub-ring { fill: none; stroke: #7ADAE6; stroke-width: 1.5; transform-origin: 150px 270px; animation: tv-hubpulse 2.4s ease-out infinite; }
@keyframes tv-hubpulse { 0%{ r:9; opacity:0.7; } 70%{ r:34; opacity:0; } 100%{ r:34; opacity:0; } }
.tv-map-readout { position: absolute; top: 0; right: 0; text-align: right; display: flex; flex-direction: column; }
.tv-map-count { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-hero); line-height: 0.9; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.tv-map-count-label { font-family: var(--font-code); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-tertiary); }

/* Act 3 — Signals matrix */
.tv-sigs { padding: clamp(90px, 13vh, 168px) var(--page-gutter, 7vw); }
.tv-sigs-inner { max-width: 1080px; margin: 0 auto; }
.tv-sigs-h2 { font-size: var(--mkt-h2); line-height: 0.99; }
.tv-matrix { margin-top: clamp(36px, 5vh, 60px); }
.tv-matrix-row { display: grid; grid-template-columns: minmax(120px, 0.9fr) 1fr 1fr 1fr; gap: clamp(14px, 2vw, 32px);
  padding: clamp(18px, 2.4vh, 28px) 0; border-top: 1px solid var(--border-subtle); align-items: baseline;
  font-family: var(--font-base); font-size: var(--mkt-body-sm); color: var(--text-secondary); }
.tv-matrix-row:last-child { border-bottom: 1px solid var(--border-subtle); }
.tv-matrix-head { border-top: 0; font-family: var(--font-code); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-tertiary); }
.tv-matrix-k { font-family: var(--font-base); font-weight: 600; color: var(--text-primary); font-size: var(--mkt-lead); }
@media (max-width: 720px) {
  .tv-matrix-row { grid-template-columns: 1fr 1fr; gap: 6px 16px; }
  .tv-matrix-head { display: none; }
  .tv-matrix-k { grid-column: 1 / -1; margin-bottom: 4px; }
}

/* Act 4 — Purple band */
.cx-band--purple .cx-band-bloom { background: #7C4FE8; }
.tv-band { padding: clamp(110px, 16vh, 190px) var(--page-gutter, 7vw); }
.tv-band-inner { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; text-align: center; }
.tv-band-kicker { margin: 0; font-family: var(--font-code); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.72); }
.tv-band-h2 { margin: 16px 0 0; font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-hero); line-height: 0.98; letter-spacing: var(--tracking-denser, -0.03em); color: #fff; }
.tv-band-sub { margin: 22px auto 0; max-width: 56ch; font-family: var(--font-base); font-size: var(--mkt-body); line-height: 1.55; color: rgba(255,255,255,0.88); }
.cx-band .tv-band-kicker, .cx-band .tv-band-h2, .cx-band .tv-band-sub { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.cx-band.is-in .tv-band-kicker { opacity: 1; transform: none; transition-delay: 0.2s; }
.cx-band.is-in .tv-band-h2 { opacity: 1; transform: none; transition-delay: 0.28s; }
.cx-band.is-in .tv-band-sub { opacity: 1; transform: none; transition-delay: 0.36s; }

/* Topbar inversion over the purple band (white chrome) */

@media (max-width: 760px) {
  .tv-hero { min-height: 0; }
  .tv-map-scroll { min-height: 0; }
  .tv-map-inner { position: static; min-height: 0; padding: clamp(80px, 12vh, 120px) var(--page-gutter, 7vw); }
  .tv-map-readout { position: static; text-align: left; flex-direction: row; align-items: baseline; gap: 12px; margin-top: 16px; }
}
@media (min-width: 1600px) { .tv-hero-head, .tv-board { max-width: 1440px; } .tv-map-inner { max-width: 1340px; } }

/* Act — scrape examples: real provider pages -> structured fields */
.tv-scrape { padding: clamp(90px, 13vh, 168px) var(--page-gutter, 7vw); }
.tv-scrape-inner { max-width: 1180px; margin: 0 auto; }
.tv-scrape-head { max-width: 720px; }
.tv-scrape .tv-h2 { font-size: var(--mkt-h2); line-height: 0.99; }
.tv-scrape-lead { margin: 18px 0 0; font-family: var(--font-base); font-size: var(--mkt-body);
  line-height: 1.55; color: var(--text-secondary); max-width: 56ch; }
.tv-scrape-rows { margin-top: clamp(36px, 5vh, 60px); display: flex; flex-direction: column; }
.tv-scrape-row { display: grid; grid-template-columns: minmax(0, 0.9fr) auto minmax(0, 1.1fr); gap: clamp(14px, 1.8vw, 28px);
  align-items: center; padding: clamp(18px, 2.2vh, 26px) 0; border-top: 1px solid var(--border-subtle); }
.tv-scrape-row:last-child { border-bottom: 1px solid var(--border-subtle); }
.tv-scrape-src { font-family: var(--font-code); font-size: var(--mkt-body-xs); color: var(--text-secondary); word-break: break-all; }
.tv-scrape-arrow { font-family: var(--font-code); font-size: var(--mkt-lead); color: var(--text-tertiary); }
.tv-scrape-out { font-family: var(--font-code); font-size: var(--mkt-body-xs); color: var(--text-primary); word-break: break-word; }
.tv-scrape-out { border-left: 1px solid color-mix(in srgb, #7ADAE6 36%, transparent); padding-left: clamp(14px, 1.6vw, 22px); }
@media (max-width: 720px) {
  .tv-scrape-row { grid-template-columns: 1fr; gap: 8px; }
  .tv-scrape-arrow { display: none; }
  .tv-scrape-out { border-left: 0; padding-left: 0; }
}

/* ════════════════ JOBS ════════════════ */
/* Act 1 — Hero with live posting stream */
.jb-hero { min-height: 100vh; display: flex; align-items: center;
  padding: clamp(104px, 14vh, 152px) var(--page-gutter, 7vw) clamp(56px, 8vh, 100px); }
.jb-hero-frame { width: 100%; max-width: 1280px; margin: 0 auto; display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(360px, 40vw, 520px); gap: clamp(40px, 5vw, 90px); align-items: center; }
.jb-hero-copy { max-width: 600px; }
.jb-hero-h1 { margin: clamp(14px, 1.8vh, 22px) 0 0; font-family: var(--font-display); font-weight: 500;
  font-size: var(--mkt-hero-xl); line-height: 0.96; letter-spacing: var(--tracking-denser, -0.03em); color: var(--text-primary); }
.jb-hero-sub { margin: clamp(18px, 2.4vh, 28px) 0 0; font-family: var(--font-base); font-size: var(--mkt-body);
  line-height: 1.55; color: var(--text-secondary); max-width: 46ch; }
.jb-stream { border: 1px solid var(--border-subtle); border-radius: 18px; padding: clamp(18px, 2vw, 26px); overflow: hidden; }
.jb-stream-head { display: flex; align-items: center; gap: 9px; font-family: var(--font-code); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase; color: #7ADAE6; margin-bottom: 6px; }
.jb-pulse { width: 8px; height: 8px; border-radius: 50%; background: #7ADAE6; box-shadow: 0 0 0 0 rgba(122,218,230,0.5); animation: iv-pulse 2.2s ease-out infinite; }
.jb-stream-list { list-style: none; margin: 0; padding: 0; }
.jb-post { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-top: 1px solid var(--border-subtle); }
.jb-post:first-child { border-top: 0; }
.jb-post-role { font-family: var(--font-base); font-weight: 600; font-size: var(--mkt-body-sm); color: var(--text-primary); }
.jb-post-pay { font-family: var(--font-code); font-size: 13px; color: #7ADAE6; text-align: right; font-variant-numeric: tabular-nums; }
.jb-post-co { font-family: var(--font-code); font-size: 12px; color: var(--text-secondary); }
.jb-post-loc { font-family: var(--font-code); font-size: 12px; color: var(--text-tertiary); text-align: right; }
.jb-post.is-new { animation: jb-slidein 0.55s cubic-bezier(0.22,1,0.36,1); }
@keyframes jb-slidein { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }

/* Act 3 — Demand bars (sticky scroll) */
.jb-demand-scroll { position: relative; min-height: 300vh; }
.jb-demand-inner { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  max-width: 1120px; margin: 0 auto; padding: clamp(96px, 12vh, 130px) var(--page-gutter, 7vw) clamp(56px, 7vh, 90px); }
.jb-demand-head { max-width: 640px; }
.jb-demand-lead { margin: 16px 0 0; font-family: var(--font-base); font-size: var(--mkt-body); line-height: 1.55; color: var(--text-secondary); max-width: 50ch; }
.jb-demand-stage { margin-top: clamp(30px, 4vh, 52px); }
.jb-demand-total { display: flex; align-items: baseline; gap: 12px; margin-bottom: clamp(24px, 3.5vh, 40px); }
.jb-demand-num { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-hero); line-height: 0.9; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.jb-demand-num-label { font-family: var(--font-code); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-tertiary); }
.jb-bars { display: flex; flex-direction: column; gap: clamp(12px, 1.8vh, 20px); }
.jb-bar { display: grid; grid-template-columns: clamp(120px, 16vw, 200px) 1fr auto; gap: clamp(14px, 1.8vw, 26px); align-items: center; }
.jb-bar-k { font-family: var(--font-code); font-size: var(--mkt-body-xs); color: var(--text-secondary); }
.jb-bar-track { height: 10px; border-radius: 6px; background: var(--border); overflow: hidden; }
.jb-bar-fill { display: block; height: 100%; width: 0; background: color-mix(in srgb, #7ADAE6 55%, transparent); border-radius: 6px; }
.jb-bar:first-child .jb-bar-fill { background: #7ADAE6; }
.jb-bar-v { font-family: var(--font-code); font-size: clamp(12.5px, 1.05vw, 15px); color: var(--text-primary); font-variant-numeric: tabular-nums; min-width: 56px; text-align: right; }

/* Act 4 — Teal band (dark text) */
.tv-band .jb-band-inner { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; text-align: center; }
.jb-band-kicker { margin: 0; font-family: var(--font-code); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(29,22,18,0.62); }
.jb-band-h2 { margin: 16px 0 0; font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-hero); line-height: 0.98; letter-spacing: var(--tracking-denser, -0.03em); color: #1D1612; }
.jb-band-sub { margin: 22px auto 0; max-width: 56ch; font-family: var(--font-base); font-size: var(--mkt-body); line-height: 1.55; color: rgba(29,22,18,0.82); }
.cx-band .jb-band-kicker, .cx-band .jb-band-h2, .cx-band .jb-band-sub { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.cx-band.is-in .jb-band-kicker { opacity: 1; transform: none; transition-delay: 0.2s; }
.cx-band.is-in .jb-band-h2 { opacity: 1; transform: none; transition-delay: 0.28s; }
.cx-band.is-in .jb-band-sub { opacity: 1; transform: none; transition-delay: 0.36s; }

@media (max-width: 900px) { .jb-hero-frame { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 760px) {
  .jb-hero { min-height: 0; }
  .jb-demand-scroll { min-height: 0; }
  .jb-demand-inner { position: static; min-height: 0; padding: clamp(80px, 12vh, 120px) var(--page-gutter, 7vw); }
  .jb-bar { grid-template-columns: 1fr auto; }
  .jb-bar-track { grid-column: 1 / -1; order: 3; }
}
@media (min-width: 1600px) { .jb-hero-frame { max-width: 1440px; } .jb-demand-inner { max-width: 1280px; } }
