@font-face {
  font-family: Manrope;
  src: url("assets/manrope.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: var(--ah-bone);
  --ink: var(--ah-ink);
  --emerald: var(--ah-emerald);
  --green-text: var(--ah-link);
  --quiet: var(--ah-muted);
  --line: var(--ah-border);
  --gutter: var(--ah-gutter);
  --ease: var(--ah-ease);
  font-family: var(--ah-font);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 0; }
body { margin: 0; font-size: var(--ah-type-body); line-height: var(--ah-leading-body); }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; text-underline-offset: .22em; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: wait; }
:focus-visible { outline: 3px solid var(--ah-focus); outline-offset: 5px; }
.stage :focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 5px var(--paper); }
[hidden] { display: none !important; }
.skip-link {
  position: fixed; z-index: 10; top: 1rem; left: 1rem; padding: .8rem 1rem;
  color: var(--paper); background: var(--ink); transform: translateY(-180%);
}
.skip-link:focus { transform: none; }
.opening { position: relative; --intro-opacity: 0; --intro-shift: 0px; --focal-x: 32%; }
.stage {
  position: relative; isolation: isolate; width: 100%;
  height: 100vh; height: 100dvh; min-height: 28rem;
}
.opening[data-mode="scroll"] .stage { position: sticky; top: 0; }
.film, .poster, .poster img, .film video {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
}
.film { overflow: hidden; z-index: -2; background: #063628; }
.poster img, .film video { object-fit: cover; object-position: 50% 50%; }
.poster-first, .film video { visibility: hidden; }
html[data-motion-intent="on"] .film[data-frame="default"] .poster-first,
.film[data-frame="first"] .poster-first { visibility: visible; }
.film[data-frame="video"] video { visibility: visible; }
.film[data-frame="video"] .poster { visibility: hidden; }
.copy-shade {
  position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgb(5 22 17 / .76), rgb(5 22 17 / .15) 55%, transparent 78%);
  opacity: var(--intro-opacity);
}
.stage::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 11rem; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgb(11 13 14 / .68), rgb(11 13 14 / .25) 60%, transparent);
}
.masthead {
  position: absolute; left: var(--gutter); right: var(--gutter);
  top: max(1.25rem, env(safe-area-inset-top)); display: flex;
  align-items: flex-start; justify-content: space-between; gap: 1rem;
}
.brand {
  display: block; width: 13.5rem; flex: 0 0 auto;
  background: transparent;
}
.brand img { display: block; width: 100%; height: auto; }
.skip-film {
  display: inline-flex; align-items: center; gap: 1rem; min-height: var(--ah-control-height);
  padding: .65rem .9rem; background: var(--paper); color: var(--ink);
  font-size: var(--ah-type-label); font-weight: var(--ah-weight-action); text-decoration: none; border-radius: var(--ah-radius-control);
}
.opening-copy {
  position: absolute; left: var(--gutter); bottom: 20%; right: var(--gutter);
  max-width: 60rem; color: var(--paper); pointer-events: none;
  opacity: var(--intro-opacity); transform: translateY(var(--intro-shift));
}
.eyebrow {
  font-size: var(--ah-type-label); text-transform: uppercase; letter-spacing: .14em;
  font-weight: var(--ah-weight-action); line-height: 1.5; margin: 0 0 1.1rem;
}
h1 {
  font-size: var(--ah-type-h1); font-weight: var(--ah-weight-heading); letter-spacing: -.055em;
  line-height: 1.015; margin: 0;
}
.opening-note { font-size: var(--ah-type-body); line-height: 1.6; margin: 1.45rem 0 0; }
.finish-card {
  position: absolute; left: var(--gutter); bottom: 6.5rem;
  width: min(25rem, calc(100% - var(--gutter) * 2));
  max-height: calc(100% - 13rem); overflow-y: auto;
  padding: var(--ah-space-6); background: var(--paper); color: var(--ink);
  border-radius: var(--ah-radius-card); box-shadow: 0 8px 36px rgb(16 36 28 / .1);
  animation: arrive var(--ah-duration-normal) var(--ease) both;
}
.finish-card .eyebrow { color: var(--green-text); margin-bottom: .65rem; }
.finish-card h2 {
  font-size: 2rem; line-height: 1.1; font-weight: 600;
  letter-spacing: -.045em; margin: 0 0 1.25rem;
}
.primary-action { display: flex; width: 100%; justify-content: space-between; }
.primary-action span { font-size: 1.2rem; }
#opportunity-picker { border-top: 1px solid var(--line); margin-top: 1.25rem; padding-top: .75rem; }
.picker-heading { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.picker-heading h3 { margin: 0; font-size: 1rem; line-height: 1.4; font-weight: var(--ah-weight-heading); }
#opportunity-close { background: transparent; border: 0; min-height: var(--ah-control-height); min-width: 44px; color: var(--quiet); }
.opportunity-options { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 1rem; }
.opportunity-options button {
  background: transparent; color: var(--ink); border: 1px solid var(--ah-control-border);
  border-radius: var(--ah-radius-control); font-size: var(--ah-type-label); min-height: var(--ah-control-height); padding: .6rem .8rem;
}
.opportunity-options button[aria-pressed="true"] { color: var(--paper); background: var(--green-text); border-color: var(--green-text); }
#opportunity-result { font-size: 1rem; line-height: 1.6; margin: 0; }
.continue-link { display: inline-flex; align-items: center; min-height: var(--ah-control-height); gap: 1rem; margin-top: .5rem; font-size: var(--ah-type-label); font-weight: var(--ah-weight-action); }
.scene-controls {
  position: absolute; left: var(--gutter); right: var(--gutter);
  bottom: max(1.25rem, env(safe-area-inset-bottom)); display: flex;
  align-items: center; justify-content: center; gap: 1rem; pointer-events: none;
}
.journey-cue { display: flex; justify-content: center; min-width: 0; }
.journey-start {
  min-height: 56px; padding: .85rem 1.5rem; display: inline-flex; align-items: center; gap: 1.5rem;
  border: 1px solid rgb(243 236 227 / .65); color: var(--paper); background: rgb(6 33 24 / .85);
  font-size: 20px; font-weight: var(--ah-weight-action); pointer-events: auto; border-radius: var(--ah-radius-control);
}
.scene-status {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.motion-controls { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: .1rem .75rem; pointer-events: auto; background: var(--paper); padding: 0 .7rem; border-radius: var(--ah-radius-control); }
.text-button {
  min-height: var(--ah-control-height); border: 0; padding: .4rem 0; color: var(--ink); background: transparent;
  text-decoration: underline; text-underline-offset: .25em; font-size: var(--ah-type-label); font-weight: var(--ah-weight-action);
}
.scene-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; visibility: hidden; background: rgb(11 13 14 / .15); }
.scene-progress span { display: block; height: 100%; background: var(--emerald); transform: scaleX(0); transform-origin: left; }
.opening[data-mode="scroll"] .scene-progress,
.opening[data-mode="manual"] .scene-progress { visibility: visible; }

html[data-motion-intent="on"] .opening:has(.film[data-frame="default"]) { --intro-opacity: 1; --focal-x: 50%; }
html[data-motion-intent="on"] .opening:has(.film[data-frame="default"]) .finish-card { visibility: hidden; }
.introduction { padding: var(--ah-space-26) var(--gutter); max-width: calc(var(--ah-content) + var(--gutter) * 2); margin: 0 auto; }
.introduction .eyebrow { color: var(--green-text); }
.introduction h2 { font-size: var(--ah-type-h2); letter-spacing: -.045em; font-weight: var(--ah-weight-heading); line-height: 1.07; margin: 1.5rem 0; }
.introduction > p:not(.eyebrow) { max-width: var(--ah-reading); font-size: var(--ah-type-body); color: var(--quiet); line-height: 1.65; }
.return-link { display: inline-flex; align-items: center; min-height: var(--ah-control-height); gap: 1rem; margin-top: 2rem; font-size: var(--ah-type-label); }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) {
  .text-button:hover, .skip-film:hover { color: var(--green-text); }
  .opportunity-options button:not([aria-pressed="true"]):hover { border-color: var(--green-text); background: rgb(0 168 120 / .08); }
}
@media (max-width: 767px) {
  .poster img, .film video { object-position: var(--focal-x) 50%; }
  .brand { width: 11rem; }
  .skip-film { gap: .5rem; padding-inline: .75rem; }
  .opening-copy { bottom: 24%; }
  h1 { font-size: clamp(2.75rem, 8.5vw, 4.4rem); }
  .opening-note { max-width: 26ch; }
  .eyebrow { letter-spacing: .08em; }
  .copy-shade { background: linear-gradient(0deg, rgb(5 22 17 / .7), transparent 90%); }
  .finish-card { bottom: 10rem; padding: var(--ah-space-6); max-height: calc(100% - 16rem); }
  .finish-card h2 { font-size: 2rem; }
  .scene-controls { gap: .5rem; flex-wrap: wrap; align-items: center; }
  .motion-controls { gap: .75rem; padding-inline: .5rem; }
  .introduction { padding-block: var(--ah-space-18); }
}
@media (max-width: 560px) {
  .masthead { flex-wrap: wrap; align-items: center; gap: .25rem .5rem; }
  .masthead-links { margin-left: auto; }
  .masthead-links .skip-film:not(.nav-cta) { display: none; }
  .scene-controls { flex-direction: column; align-items: center; }
  .journey-start { font-size: 18px; }
}
@media (max-height: 560px) and (min-width: 768px) {
  .opening-copy { bottom: 22%; }
  h1 { font-size: 3.5rem; }
  .opening-note { margin-top: .7rem; }
  .finish-card { padding: 1rem; bottom: 5rem; max-height: calc(100% - 10rem); }
  .finish-card h2 { font-size: 2rem; margin-bottom: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
