:root {
  --ink: #101411;
  --paper: #f4f5f1;
  --white: #fff;
  --forest: #193d2f;
  --lime: #c8f04b;
  --orange: #f06f2e;
  --line: #cfd4cc;
  --muted: #646b65;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  max-width: 100%;
  overflow-x: hidden;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.3);
}
.brand { font-weight: 900; text-decoration: none; font-size: 18px; }
.brand span { color: var(--lime); }
nav { display: flex; gap: clamp(18px, 3vw, 36px); }
nav a { font-size: 14px; font-weight: 700; text-decoration: none; }

.hero {
  position: relative;
  min-height: 680px;
  height: 88vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,15,11,.92) 0%, rgba(8,15,11,.66) 42%, rgba(8,15,11,.08) 76%), linear-gradient(0deg, rgba(8,15,11,.55), transparent 45%); }
.hero-content { position: relative; z-index: 1; width: min(780px, 85%); padding: 130px clamp(20px, 6vw, 92px) 60px; }
.eyebrow { margin: 0 0 18px; text-transform: uppercase; font-size: 12px; font-weight: 900; letter-spacing: .12em; color: var(--lime); }
.eyebrow.dark { color: var(--forest); }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 600; line-height: .98; }
h1 { max-width: 720px; font-size: clamp(46px, 6vw, 88px); }
h2 { font-size: clamp(38px, 5vw, 70px); }
.lead { max-width: 640px; margin: 28px 0; font-size: clamp(18px, 2vw, 24px); line-height: 1.5; color: rgba(255,255,255,.86); }
.primary-action { display: inline-flex; gap: 16px; align-items: center; padding: 15px 18px; background: var(--lime); color: var(--ink); border-radius: 4px; font-weight: 900; text-decoration: none; }
.countdown { position: absolute; z-index: 2; right: clamp(20px, 5vw, 72px); bottom: 38px; display: grid; text-align: right; }
.countdown strong { font: 600 clamp(48px, 7vw, 96px)/.9 Georgia, serif; color: var(--lime); }
.countdown span { margin-top: 8px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.status-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--forest); color: var(--white); padding: 0 clamp(20px, 5vw, 72px); }
.status-band div { min-height: 132px; display: flex; flex-direction: column; justify-content: center; padding: 24px; border-right: 1px solid rgba(255,255,255,.15); }
.status-band div:first-child { border-left: 1px solid rgba(255,255,255,.15); }
.status-band span { font-size: 12px; color: rgba(255,255,255,.6); text-transform: uppercase; font-weight: 800; }
.status-band strong { margin-top: 9px; font-size: clamp(20px, 2.2vw, 34px); overflow-wrap: anywhere; }

.section { padding: 100px clamp(20px, 6vw, 92px); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 42px; }
.section-heading > p { max-width: 420px; margin: 0; color: var(--muted); line-height: 1.6; }
.chart-shell { min-height: 360px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 25%; display: grid; place-items: center; }
.empty-chart { text-align: center; background: var(--paper); padding: 24px; }
.empty-chart strong { display: block; margin: 12px 0 4px; font-size: 20px; }
.empty-chart p { margin: 0; color: var(--muted); }
.pulse-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 7px rgba(240,111,46,.16); }

.vo2-feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); min-height: 650px; background: #070908; color: var(--white); }
.vo2-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 7vw, 110px); }
.vo2-copy > p:not(.eyebrow) { max-width: 570px; color: rgba(255,255,255,.68); font-size: 18px; line-height: 1.65; }
.vo2-facts { display: flex; gap: 40px; margin-top: 26px; }
.vo2-facts span { color: rgba(255,255,255,.58); font-size: 13px; text-transform: uppercase; font-weight: 800; }
.vo2-facts strong { display: block; color: var(--white); font: 600 32px/1 Georgia, serif; margin-bottom: 8px; }
.vo2-gauge { position: relative; display: grid; place-items: center; min-height: 520px; overflow: hidden; }
.vo2-gauge::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(238,48,43,.08); filter: blur(60px); }
.vo2-gauge svg { position: relative; width: min(94%, 640px); overflow: visible; }
.gauge-track { fill: none; stroke-width: 23; stroke-linecap: round; opacity: .95; }
.gauge-track.red { stroke: #ee302b; }
.gauge-track.orange { stroke: #f47712; }
.gauge-track.green { stroke: #18a44a; }
.gauge-track.blue { stroke: #2785dc; }
.gauge-track.purple { stroke: #7755ea; }
#gauge-marker { fill: #ee302b; stroke: #363a38; stroke-width: 7; filter: drop-shadow(0 0 10px rgba(238,48,43,.65)); }
.gauge-value { position: absolute; top: 47%; left: 50%; transform: translate(-50%,-50%); display: grid; text-align: center; }
.gauge-value strong { font: 400 clamp(72px, 8vw, 118px)/.9 Inter, sans-serif; }
.gauge-value span { margin-top: 10px; color: rgba(255,255,255,.62); font-weight: 700; }
.gauge-value em { margin-top: 14px; color: #ff4a42; font-style: normal; font-size: 18px; font-weight: 900; }

.diary-section { background: #e8ebe5; }
.diary-list { border-top: 2px solid var(--ink); }
.diary-entry { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 40px; padding: 42px 0; border-bottom: 1px solid #bcc3ba; }
.diary-entry time { color: var(--forest); font-weight: 900; }
.diary-entry h3 { margin: 0 0 14px; font: 600 clamp(26px, 3vw, 42px)/1.1 Georgia, serif; }
.diary-entry p { max-width: 760px; margin: 0; color: #4f5750; line-height: 1.7; font-size: 17px; }

.journal-section { background: var(--white); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--ink); font-weight: 800; cursor: pointer; }
.filters button.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.journal-list { border-top: 2px solid var(--ink); }
.journal-item { display: grid; grid-template-columns: 140px 1fr auto; gap: 32px; align-items: center; min-height: 106px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.journal-item time { color: var(--muted); font-weight: 700; }
.journal-item h3 { margin: 0 0 6px; font-size: 20px; }
.journal-item p { margin: 0; color: var(--muted); }
.journal-item .metric { font-weight: 900; color: var(--forest); }
.journal-empty { padding: 44px 0; color: var(--muted); }

.video-section { display: grid; grid-template-columns: 1fr 1.25fr; min-height: 560px; background: var(--ink); color: var(--white); }
.video-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 7vw, 110px); }
.video-copy p:not(.eyebrow) { max-width: 500px; color: rgba(255,255,255,.68); line-height: 1.6; font-size: 18px; }
.video-status { align-self: flex-start; margin-top: 20px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 4px; font-size: 13px; font-weight: 800; }
.video-placeholder { display: grid; place-content: center; gap: 18px; text-align: center; background: #232925; }
.play { display: grid; place-items: center; width: 72px; height: 72px; margin: auto; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 26px; padding-left: 4px; }
.next-section { max-width: 1050px; }
.next-section > p:last-child { max-width: 720px; font-size: 20px; color: var(--muted); line-height: 1.6; }
footer { display: flex; justify-content: space-between; gap: 24px; padding: 28px clamp(20px, 5vw, 72px); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 800px) {
  nav a:not(:first-child) { display: none; }
  .hero { min-height: 680px; height: 88vh; }
  .hero-content { width: 100%; max-width: 100%; padding-top: 110px; padding-bottom: 145px; }
  h1 { font-size: clamp(42px, 12vw, 62px); }
  .countdown { left: 20px; right: auto; text-align: left; bottom: 38px; }
  .status-band { grid-template-columns: 1fr 1fr; }
  .status-band div { min-height: 108px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 24px; }
  .journal-item { grid-template-columns: 1fr auto; gap: 8px 20px; }
  .journal-item time { grid-column: 1 / -1; }
  .video-section { grid-template-columns: 1fr; }
  .video-placeholder { min-height: 340px; }
  footer { flex-direction: column; }
  .vo2-feature { grid-template-columns: 1fr; }
  .vo2-copy { padding: 72px 20px 24px; }
  .vo2-gauge { min-height: 430px; }
  .vo2-facts { gap: 24px; }
  .diary-entry { grid-template-columns: 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
