:root {
  color-scheme: light;
  --paper: #f1f3ec;
  --paper-bright: #fafbf7;
  --ink: #143c35;
  --muted: #596a61;
  --line: rgba(20, 60, 53, 0.18);
  --green: #177663;
  --coral: #bd563f;
  --lime: #d4ea70;
  --mono: 'DM Mono', monospace;
  --sans: 'DM Sans', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; }
::selection { color: var(--ink); background: var(--lime); }

.skip-link {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: -999px;
  padding: 12px 16px;
  background: var(--lime);
  font: 500 12px var(--mono);
}
.skip-link:focus { left: 12px; }

.scene-stage {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(20, 60, 53, 0.11) 0.7px, transparent 0.7px);
  background-size: 17px 17px;
}
#care-scene { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.scene-stage__label {
  position: absolute;
  right: max(26px, 5vw);
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(20, 60, 53, 0.7);
  font: 10px var(--mono);
  letter-spacing: 0.09em;
}
.scene-stage__label span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(23, 118, 99, 0.12); }

.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 max(26px, 5vw);
  border-bottom: 1px solid rgba(20, 60, 53, 0.13);
  background: rgba(241, 243, 236, 0.79);
  backdrop-filter: blur(16px);
}
.wordmark { display: inline-flex; align-items: center; gap: 9px; width: fit-content; font: 600 15px var(--sans); }
.wordmark__symbol { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: var(--paper); background: var(--ink); font: 14px var(--serif); }
.site-header nav { display: flex; gap: clamp(16px, 3vw, 42px); }
.site-header nav a, .header-link { color: var(--muted); font: 11px var(--mono); transition: color 180ms ease; }
.site-header nav a:hover, .header-link:hover { color: var(--green); }
.header-link { justify-self: end; color: var(--ink); }
.header-link span { margin-left: 6px; color: var(--coral); }

main { position: relative; z-index: 1; }
.chapter {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  padding: 130px max(26px, 10vw) 100px;
  overflow: hidden;
}
.hero { min-height: max(720px, 100svh); padding-top: 140px; }
.hero__copy, .chapter__copy { position: relative; z-index: 1; width: min(560px, 49vw); }
.hero h1, .chapter h2, .image-interlude h2, .closing h2 {
  margin: 26px 0 0;
  color: var(--ink);
  font: 400 clamp(54px, 7vw, 100px)/0.92 var(--serif);
}
h1 em, h2 em { color: var(--green); font-weight: 400; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--green); font: 10px var(--mono); letter-spacing: 0.11em; text-transform: uppercase; }
.eyebrow__line { width: 28px; height: 1px; background: currentColor; }
.hero__dek, .chapter__copy > p:not(.eyebrow), .image-interlude__copy > p:not(.eyebrow), .closing > p:not(.eyebrow) {
  max-width: 435px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.button-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  margin-top: 34px;
  padding: 13px 16px;
  border: 1px solid var(--ink);
  color: var(--paper-bright);
  background: var(--ink);
  font: 11px var(--mono);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.button-link:hover { transform: translateY(-2px); color: var(--ink); background: var(--lime); }
.button-link span { font-size: 16px; }
.hero__caption { margin: 42px 0 0; color: rgba(20, 60, 53, 0.62); font: 9px var(--mono); letter-spacing: 0.1em; }
.hero__index { position: absolute; right: max(26px, 5vw); bottom: 53px; color: rgba(20, 60, 53, 0.65); font: 10px var(--mono); }
.hero__index span { color: var(--coral); }

.chapter--paper { background: rgba(250, 251, 247, 0.91); }
.chapter--tint { background: rgba(229, 237, 225, 0.93); }
.chapter__copy { width: min(540px, 46vw); }
.chapter h2 { max-width: 640px; font-size: clamp(48px, 6vw, 82px); }
.chapter__copy > p:not(.eyebrow) { max-width: 410px; }
.chapter__aside { display: flex; align-items: center; gap: 16px; margin-top: 35px; color: var(--muted); font: 11px/1.6 var(--mono); }
.aside-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--green); border-radius: 50%; color: var(--green); }
.aside-mark--coral { border-color: var(--coral); color: var(--coral); }
.aside-mark--lime { border-color: var(--ink); color: var(--ink); background: var(--lime); }

.image-interlude {
  position: relative;
  z-index: 1;
  min-height: min(860px, 100svh);
  display: flex;
  align-items: center;
  padding: 100px max(26px, 10vw);
  overflow: hidden;
  color: white;
  background: #243b35;
}
.image-interlude > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.image-interlude__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 35, 31, 0.86) 0%, rgba(13, 35, 31, 0.55) 43%, rgba(13, 35, 31, 0.08) 100%); }
.image-interlude__copy { position: relative; z-index: 1; max-width: 650px; }
.eyebrow--light { color: var(--lime); }
.image-interlude h2, .closing h2 { color: white; font-size: clamp(54px, 7vw, 94px); }
.image-interlude h2 em, .closing h2 em { color: var(--lime); }
.image-interlude__copy > p:not(.eyebrow) { color: rgba(255, 255, 255, 0.82); }
.image-interlude__note { position: absolute; right: max(26px, 5vw); bottom: 28px; margin: 0; color: rgba(255, 255, 255, 0.78); font: 9px var(--mono); letter-spacing: 0.12em; }

.closing {
  position: relative;
  z-index: 1;
  min-height: 80svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px max(26px, 10vw);
  overflow: hidden;
  color: white;
  background: #143c35;
}
.closing h2 { position: relative; z-index: 1; max-width: 830px; }
.closing > p:not(.eyebrow) { position: relative; z-index: 1; color: rgba(255, 255, 255, 0.76); }
.closing__link { position: relative; z-index: 1; width: fit-content; margin-top: 36px; padding-bottom: 8px; border-bottom: 1px solid var(--lime); color: var(--lime); font: 11px var(--mono); }
.closing__link span { margin-left: 18px; }
.closing__orb { position: absolute; right: 9vw; bottom: -0.43em; color: rgba(212, 234, 112, 0.12); font: 400 clamp(260px, 42vw, 620px)/1 var(--serif); }

.site-footer { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 90px; padding: 20px max(26px, 5vw); color: var(--muted); background: var(--paper-bright); font: 10px var(--mono); }
.wordmark--footer { color: var(--ink); font: 600 13px var(--sans); }
.wordmark--footer .wordmark__symbol { width: 23px; height: 23px; }
.site-footer > a:last-child { color: var(--green); }

.js-reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.js-reveal.is-visible { opacity: 1; transform: none; }
.no-webgl .scene-stage { background-image: radial-gradient(circle at 76% 48%, rgba(23, 118, 99, 0.15), transparent 30%), radial-gradient(rgba(20, 60, 53, 0.11) 0.7px, transparent 0.7px); }

@media (max-width: 760px) {
  .site-header { height: 66px; grid-template-columns: 1fr auto; padding-inline: 20px; }
  .site-header nav { display: none; }
  .header-link { font-size: 10px; }
  .hero, .chapter { min-height: 91svh; padding: 112px 25px 80px; }
  .hero { min-height: 100svh; padding-top: 130px; }
  .hero__copy, .chapter__copy { width: min(100%, 500px); }
  .hero h1 { font-size: clamp(59px, 16vw, 88px); }
  .chapter h2 { font-size: clamp(49px, 13vw, 72px); }
  .hero__dek, .chapter__copy > p:not(.eyebrow) { max-width: 370px; font-size: 14px; }
  .hero__caption { margin-top: 31px; font-size: 8px; }
  .hero__index { right: 24px; bottom: 29px; }
  .scene-stage__label { right: 20px; bottom: 15px; font-size: 8px; }
  .image-interlude { min-height: 84svh; padding: 94px 25px; }
  .image-interlude__shade { background: linear-gradient(90deg, rgba(13, 35, 31, 0.8), rgba(13, 35, 31, 0.3)); }
  .image-interlude h2, .closing h2 { font-size: clamp(54px, 14vw, 82px); }
  .closing { min-height: 76svh; padding: 90px 25px; }
  .closing__orb { right: -20px; font-size: 75vw; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 24px 25px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js-reveal { opacity: 1; transform: none; }
}