/* Dayzero Research: approved story-v3 design. No build step or external assets. */
:root {
  --bg: #071313;
  --paper: #edf0e9;
  --muted: #a5b6b1;
  --line: #29403d;
  --accent: #b9ded0;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--paper); font-family: "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 400; letter-spacing: -.048em; line-height: 1.08; }
em { font-family: var(--serif); font-weight: 400; color: var(--accent); }
h2 { font-size: clamp(36px, 4.5vw, 64px); }
h3 { font-size: 23px; font-weight: 400; letter-spacing: -.5px; }
.section { padding: 100px 7%; border-bottom: 1px solid var(--line); }
.skip { position: absolute; left: 20px; top: -100px; z-index: 10; background: white; color: black; padding: 15px; }
.skip:focus { top: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* Header and still-image hero. */
.hero { position: relative; isolation: isolate; min-height: 790px; background: #102524; display: flex; flex-direction: column; }
.poster { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: saturate(.5); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg,#061d1880,#07191465 35%,#061613c9),linear-gradient(90deg,#071b1940,#071b1970 50%,#071b1940); }
header { padding: 28px 4.5%; display: flex; align-items: center; justify-content: space-between; }
.brand { font-size: 29px; letter-spacing: -1.4px; line-height: 1; display: inline-block; }
.brand span { display: block; font-size: 8px; letter-spacing: 3.5px; margin-top: 8px; }
nav { display: flex; align-items: center; gap: 35px; font-size: 12px; }
.nav-cta { border: 1px solid #8ba79b80; padding: 13px 18px; }
.hero-copy { text-align: center; max-width: 1250px; margin: auto; padding: 90px 35px 140px; width: 100%; }
h1 { font-size: clamp(50px,6.65vw,100px); }
.intro { font-size: 18px; line-height: 1.6; color: #d6e1db; max-width: 680px; margin: 30px auto 0; }
/* Shared organic CTA: a quiet cream capsule with a directional forest-green inset. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 58px;
  max-width: 100%;
  margin-top: 34px;
  padding: 6px 6px 6px 25px;
  border: 1px solid #edf0e940;
  border-radius: 999px;
  background: var(--paper);
  color: #12312b;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.01em;
  text-align: left;
  box-shadow: 0 3px 14px #020d0a1a;
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.button-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #163e33;
  color: var(--accent);
  transition: background-color .2s ease, color .2s ease;
}
.button-icon svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.button:focus-visible { outline: 2px solid var(--paper); outline-offset: 5px; box-shadow: 0 0 0 3px #12312b; }
@media (hover: hover) {
  .button:hover { background: #f7f8f2; box-shadow: 0 6px 22px #020d0a33; transform: translateY(-2px); }
  .button:hover .button-icon { background: #245443; color: #f7f8f2; }
  .hero .button:hover svg { transform: translate(2px, 2px); }
  .closing .button:hover svg { transform: translate(2px, -2px); }
}
.button:active { transform: translateY(0); box-shadow: none; }
.hero .button { margin-top: 35px; }

/* One atmospheric background supports the centered challenge statement. */
.editorial { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: 570px; padding-block: 110px; border: 0; background: #123932; color: var(--paper); }
.thesis-background { position: absolute; inset: -12px; z-index: -2; width: calc(100% + 24px); height: calc(100% + 24px); object-fit: cover; object-position: center 48%; filter: blur(5px) saturate(.7); }
.editorial::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top,#0c1c1b 0%,#0c1c1b00 100%) bottom / 100% 210px no-repeat,linear-gradient(180deg,#071916 0%,#071916f2 8%,#071916b3 24%,#051b19bb 48%,#071b1a99); }
.thesis-copy { text-align: center; max-width: 850px; margin: auto; }
.editorial h2 { font-size: clamp(48px,5.8vw,84px); line-height: 1.07; letter-spacing: -.05em; }
.editorial h2 em { color: #d9e9d9; }
.thesis-explanation { font-size: 17px; line-height: 1.85; color: #e2ebe3; max-width: 535px; margin: 30px auto 0; }

/* Capture section. */
.capture { background: #0c1c1b; text-align: center; }
.lead { font-size: 16px; line-height: 1.7; max-width: 660px; color: var(--muted); margin: 25px auto 0; }
/* Contact and footer. */
.closing { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: 105px 25px 110px; background: var(--bg); }
.closing-background { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,#071313 0%,#071313e6 18%,#07131370 52%,#07131338 76%,#071313 100%); }
.closing h2 { font-size: clamp(42px,5.3vw,78px); }
.closing > p { color: var(--muted); font-size: 15px; margin-top: 28px; line-height: 1.8; }
footer { padding: 35px 4.5%; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
footer p, footer > span { font-size: 10px; color: var(--muted); }

@media (min-width: 1600px) {
  .section { padding-inline: max(7%,calc((100% - 1380px)/2)); }
}
@media (max-width: 800px) {
  .hero { min-height: 740px; }
  .hero-copy { padding: 90px 25px 130px; }
  .section { padding: 65px 6%; }
  .editorial { min-height: 500px; padding-block: 85px; }
  nav { gap: 18px; }
}
@media (max-width: 500px) {
  header { padding: 24px 6%; }
  nav > a:not(.nav-cta) { display: none; }
  .brand { font-size: 25px; }
  .hero { min-height: 710px; }
  .hero-copy { padding: 75px 22px 105px; }
  h1 { font-size: 48px; }
  h1 br, .desktop { display: none; }
  .intro { font-size: 15px; line-height: 1.7; }
  .button { gap: 20px; padding-left: 21px; font-size: 13px; }
  .editorial h2 { font-size: 51px; }
  .thesis-explanation { font-size: 15px; }
  .capture h2, .missions h2 { font-size: 37px; }
  .lead { font-size: 14px; }
  .closing { padding-block: 75px; }
  footer p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .button-icon, .button-icon svg { transition: none; }
  .button:hover, .button:hover svg { transform: none; }
}

@media (max-width: 1100px) {
}
@media (max-width: 800px) {
  .editorial h2 { font-size: 58px; }
}
@media (max-width: 500px) {
  .editorial { min-height: 470px; padding-block: 80px; }
  .editorial h2 { font-size: 48px; }
  .thesis-explanation { font-size: 15px; }
}

/* The film loads only when motion/data preferences permit; the poster is always available. */
.hero-film { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; }
.hero-film.is-ready { opacity: 1; }

/* One video-led demonstration, with a sequence synchronized to its timeline. */
.capture-demo { max-width: 1120px; margin: 48px auto 0; text-align: left; }
.capture-context { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 2px 16px; font-size: 12px; color: #b1c3bb; }
.capture-context > span:first-child { display: flex; align-items: center; gap: 9px; }
.capture-context i { width: 6px; height: 6px; background: #b9ded0; border-radius: 50%; }
.context-divider { color: #537067; margin-inline: 4px; }
.capture-time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.capture-time > span:last-child { color: #65847a; }
.capture-stage { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 12px; background: #071313; }
.capture-stage video { display: block; width: 100%; height: 100%; object-fit: contain; }
.capture-player-controls { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 8px; }
.capture-player-controls button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 10px 14px; border: 1px solid #ffffff30; border-radius: 30px; background: #09251ee8; color: #f2f5ee; font: 12px/1.3 "Helvetica Neue",Arial,sans-serif; cursor: pointer; backdrop-filter: blur(12px); }
.capture-player-controls button:hover { background: #1d493a; }
.capture-player-controls svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pause-glyph, .sound-on, .is-playing .play-glyph, .is-audible .sound-off { display: none; }
.is-playing .pause-glyph, .is-audible .sound-on { display: block; }
.capture-speech { display: grid; grid-template-columns: 185px 1fr; align-items: center; gap: 20px; min-height: 106px; padding: 22px 4px; }
.speech-label { display: flex; align-items: center; gap: 12px; color: #9cbbb0; font-size: 12px; }
.capture-speech p { font-size: clamp(19px,2.1vw,29px); letter-spacing: -.025em; line-height: 1.3; color: #e4eee6; }
.speech-wave { display: inline-flex; align-items: center; height: 20px; gap: 3px; }
.speech-wave i { width: 2px; height: 6px; background: #b9ded0; border-radius: 2px; }
.speech-wave i:nth-child(2), .speech-wave i:nth-child(4) { height: 12px; }
.speech-wave i:nth-child(3) { height: 18px; }
.is-playing .speech-wave i { animation: speech-pulse .85s ease-in-out infinite alternate; }
.speech-wave i:nth-child(2) { animation-delay: -.2s; }.speech-wave i:nth-child(3) { animation-delay: -.5s; }.speech-wave i:nth-child(4) { animation-delay: -.35s; }
@keyframes speech-pulse { to { transform: scaleY(.4); opacity: .5; } }
.capture-sequence { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.capture-sequence button { position: relative; text-align: left; border: 0; padding: 19px 0 8px; color: #87a298; background: transparent; cursor: pointer; font: inherit; }
.cue-progress { position: absolute; top: 0; left: 0; right: 0; height: 2px; overflow: hidden; background: #314c42; }
.cue-progress i { display: block; height: 100%; background: #d2eabc; transform: scaleX(var(--progress,0)); transform-origin: left; }
.cue-title { display: block; font-size: 16px; margin-bottom: 8px; transition: color .25s; }
.cue-detail { display: block; font-size: 12px; line-height: 1.5; color: #8aa298; transition: color .25s; }
.capture-sequence .is-active .cue-title { color: #e5f0df; }
.capture-sequence .is-active .cue-detail { color: #c3d4c9; }
.capture-sequence button:hover .cue-title { color: #e5f0df; }
@media(max-width:700px) { .capture-demo { margin-top: 32px; } .capture-speech { grid-template-columns: 1fr; gap: 14px; min-height: 135px; padding-block: 22px; } .capture-sequence { gap: 18px 20px; grid-template-columns: repeat(2,minmax(0,1fr)); } .capture-context { font-size: 10px; gap: 6px; } .capture-context > span:first-child { gap: 6px; } .context-divider { margin-inline: 0; } .capture-player-controls { right: 8px; bottom: 8px; gap: 6px; } .capture-player-controls button { padding: 8px 11px; } .capture-stage { border-radius: 7px; } }
@media(prefers-reduced-motion:reduce) { .is-playing .speech-wave i { animation: none; } .cue-title, .cue-detail { transition: none; } }

/* Mission imagery carries the story; the next card stays visible as a scroll cue. */
.missions { padding-inline: 0; text-align: center; overflow: hidden; }
.missions-heading { padding-inline: 7%; }
.mission-track { display: flex; gap: 24px; overflow-x: auto; padding: 0 7% 18px; margin-top: 48px; scroll-snap-type: x mandatory; scroll-padding-inline: 7%; scrollbar-width: thin; scrollbar-color: #597769 transparent; overscroll-behavior-x: contain; }
.mission-track:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.mission-track.is-enhanced { scrollbar-width: none; scroll-snap-type: none; }
.mission-track.is-enhanced::-webkit-scrollbar { display: none; }
.mission-card { flex: 0 0 clamp(300px,35vw,460px); position: relative; isolation: isolate; min-height: 510px; aspect-ratio: 4/5; border-radius: 12px; overflow: hidden; scroll-snap-align: start; text-align: left; display: flex; align-items: end; background: #132a23; }
.mission-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.mission-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,transparent 32%,#03150b26 48%,#03130de8 100%); }
.mission-copy { padding: 32px; width: 100%; }
.mission-copy h3 { font-size: clamp(27px,2.4vw,36px); line-height: 1.09; letter-spacing: -.035em; font-weight: 400; max-width: 350px; text-wrap: balance; }
.mission-copy p { margin-top: 15px; max-width: 330px; font-size: 14px; line-height: 1.65; color: #d9e5da; }
.mission-navigation { margin: 12px 7% 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mission-meter { width: min(260px,40%); height: 2px; background: #284037; overflow: hidden; }
.mission-meter > span { display: block; height: 100%; background: #c8dfbd; width: var(--mission-thumb,30%); transform: translateX(var(--mission-offset,0%)); }
.mission-arrows { display: flex; gap: 10px; }
.mission-arrows button { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #587466; background: transparent; color: #e4eee1; cursor: pointer; transition: background .2s; }
.mission-arrows button:hover:not(:disabled) { background: #214436; }
.mission-arrows button:disabled { opacity: .3; cursor: default; }
.mission-arrows svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media(max-width:700px) { .mission-track { gap: 16px; margin-top: 34px; } .mission-card { flex-basis: 82%; min-height: 410px; aspect-ratio: 3/4; border-radius: 9px; } .mission-copy { padding: 24px; } .mission-copy h3 { font-size: 29px; } .mission-copy p { font-size: 13px; line-height: 1.55; } .mission-navigation { margin-top: 8px; } }
@media(prefers-reduced-motion:reduce) { .mission-arrows button { transition: none; } }
