:root {
  color-scheme: dark;
  --ink: #07131c;
  --night: #0e2130;
  --raised: #153044;
  --paper: #f5e9d2;
  --muted: #b9c4c4;
  --ember: #ff7868;
  --marigold: #ffc14f;
  --lake: #62b8e8;
  --moss: #a7be69;
  --peri: #8d9eff;
  --rose: #f29bb2;
  --line: rgba(245, 233, 210, .18);
  --max: 1240px;
  --display: "Arial Black", "Avenir Next", "Helvetica Neue", sans-serif;
  --body: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 12% 18%, rgba(98, 184, 232, .10), transparent 28rem),
    radial-gradient(circle at 88% 62%, rgba(255, 120, 104, .08), transparent 30rem),
    var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a { color: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: linear-gradient(180deg, rgba(7, 19, 28, .94), rgba(7, 19, 28, .68), transparent);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--display);
  font-size: .88rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(245, 233, 210, .22), 0 10px 32px rgba(0, 0, 0, .35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.nav-links a {
  padding: .66rem .92rem;
  border-radius: 999px;
  color: rgba(245, 233, 210, .82);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: var(--marigold);
  outline: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media { z-index: -2; }

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.88) contrast(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 19, 28, .78), rgba(7, 19, 28, .14) 62%),
    linear-gradient(0deg, var(--ink), transparent 58%);
}

@keyframes hero-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(1.2%, -.8%, 0); }
}

.thread-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .72;
  background:
    radial-gradient(circle at 18% 26%, var(--marigold) 0 2px, transparent 3px),
    radial-gradient(circle at 74% 18%, var(--ember) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 58%, var(--lake) 0 2px, transparent 3px);
}

.thread-overlay::before,
.thread-overlay::after {
  content: "";
  position: absolute;
  width: 76vw;
  height: 34vh;
  left: -10vw;
  top: 20vh;
  border: 1px solid rgba(255, 193, 79, .48);
  border-radius: 50%;
  transform: rotate(-7deg);
  animation: thread-breathe 9s ease-in-out infinite alternate;
}

.thread-overlay::after {
  left: 38vw;
  top: 38vh;
  border-color: rgba(141, 158, 255, .42);
  transform: rotate(11deg);
  animation-delay: -4s;
}

@keyframes thread-breathe {
  from { transform: rotate(-8deg) translateY(-8px); opacity: .45; }
  to { transform: rotate(4deg) translateY(12px); opacity: .8; }
}

.hero-copy {
  width: min(900px, 92vw);
  margin: 0 clamp(1rem, 7vw, 7rem) clamp(3rem, 9vh, 7rem);
}

.eyebrow {
  margin: 0 0 .85rem;
  color: var(--marigold);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: -.035em;
  line-height: .98;
}

h1 {
  max-width: 930px;
  font-size: clamp(4rem, 10.5vw, 10rem);
  text-transform: uppercase;
}

h2 { font-size: clamp(2.7rem, 6.5vw, 6.6rem); }

h3 {
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  line-height: 1.08;
}

.hero-deck {
  max-width: 700px;
  margin: 1.4rem 0 0;
  color: rgba(245, 233, 210, .9);
  font-size: clamp(1.08rem, 2.2vw, 1.5rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .82rem 1.18rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(7, 19, 28, .72);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.button.primary {
  color: var(--ink);
  background: var(--marigold);
  border-color: var(--marigold);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
  background: var(--paper);
  color: var(--ink);
}

.section {
  position: relative;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.lede {
  margin: 1.5rem 0 0;
  color: rgba(245, 233, 210, .88);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.55;
}

.body-copy {
  color: var(--muted);
  font-size: 1.06rem;
}

.body-copy p:first-child { margin-top: 0; }

.fact-boundary {
  margin-top: 1.6rem;
  padding: 1.4rem 1.5rem;
  border-left: 5px solid var(--peri);
  border-radius: 0 22px 22px 0;
  background: var(--night);
}

.fact-boundary strong {
  display: block;
  margin-bottom: .4rem;
  color: var(--peri);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.image-weave {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 76px;
  gap: .8rem;
  margin-top: clamp(2.5rem, 6vw, 5rem);
}

.image-weave figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: var(--night);
}

.image-weave figure:nth-child(1) { grid-column: 1 / 8; grid-row: 1 / 6; }
.image-weave figure:nth-child(2) { grid-column: 8 / 13; grid-row: 1 / 4; }
.image-weave figure:nth-child(3) { grid-column: 8 / 13; grid-row: 4 / 8; }
.image-weave figure:nth-child(4) { grid-column: 2 / 8; grid-row: 6 / 9; }

.image-weave img,
.experience-image img,
.policy-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.image-weave figure:hover img,
.experience-image:hover img,
.policy-visual:hover img { transform: scale(1.035); }

.image-weave figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.4rem 1.2rem 1rem;
  color: var(--paper);
  background: linear-gradient(transparent, rgba(7, 19, 28, .92));
  font-size: .84rem;
}

.experience {
  width: 100%;
  max-width: none;
  padding: clamp(5rem, 10vw, 10rem) max(1rem, calc((100vw - var(--max)) / 2));
  background: linear-gradient(135deg, #f0dfc6, #f7ebda);
  color: var(--ink);
}

.experience .eyebrow { color: #8c3d38; }

.experience-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
}

.experience-head p {
  margin: 0;
  color: #394b52;
  font-size: 1.1rem;
}

.thread-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
  margin-top: 3.5rem;
}

.thread-card {
  min-height: 210px;
  padding: 1.25rem;
  border: 1px solid rgba(7, 19, 28, .14);
  border-radius: 24px;
  background: rgba(255, 255, 255, .44);
  box-shadow: 0 18px 50px rgba(7, 19, 28, .07);
}

.thread-card:nth-child(1) { --thread: var(--ember); }
.thread-card:nth-child(2) { --thread: var(--peri); }
.thread-card:nth-child(3) { --thread: var(--marigold); }
.thread-card:nth-child(4) { --thread: var(--moss); }
.thread-card:nth-child(5) { --thread: var(--lake); }
.thread-card:nth-child(6) { --thread: #b17bd7; }
.thread-card:nth-child(7) { --thread: var(--rose); }
.thread-card:nth-child(8) { --thread: #8ba24f; }

.thread-number {
  display: block;
  width: 42px;
  height: 8px;
  margin-bottom: 1.3rem;
  border-radius: 999px;
  background: var(--thread);
}

.thread-card h3 { font-size: 1.3rem; }

.thread-card p {
  margin: .7rem 0 0;
  color: #46575c;
  font-size: .93rem;
}

.experience-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}

.experience-step {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(250px, 1.08fr);
  min-height: 380px;
  overflow: hidden;
  border-radius: 34px;
  color: var(--paper);
  background: var(--ink);
}

.experience-step:nth-child(2) {
  color: var(--ink);
  background: var(--moss);
}

.experience-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.4rem, 3vw, 2.5rem);
}

.experience-copy .step-kicker {
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  opacity: .7;
}

.experience-copy p { margin: 1rem 0 0; opacity: .82; }

.experience-image { min-height: 260px; overflow: hidden; }

.boundary-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 640px;
  background: var(--night);
}

.boundary-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.boundary-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 7vw, 7rem);
}

.boundary-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
}

.statement {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 14vw, 12rem) 1rem;
  text-align: center;
}

.statement::before {
  content: "";
  position: absolute;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 193, 79, .24);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 60px rgba(141, 158, 255, .03), 0 0 0 120px rgba(98, 184, 232, .02);
}

.statement h2,
.statement p,
.statement .hero-actions { position: relative; }

.statement h2 { max-width: 1050px; margin: 0 auto; }

.statement p {
  max-width: 690px;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.statement .hero-actions { justify-content: center; }

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}

.site-footer strong { color: var(--paper); }
.footer-links { display: flex; justify-content: flex-end; gap: 1rem; flex-wrap: wrap; }

.policy-hero {
  min-height: 72svh;
  padding: clamp(8rem, 15vw, 13rem) max(1rem, calc((100vw - var(--max)) / 2)) 4rem;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
  background:
    radial-gradient(circle at 80% 30%, rgba(141, 158, 255, .18), transparent 28rem),
    linear-gradient(160deg, #0c2433, var(--ink));
}

.policy-hero h1 {
  font-size: clamp(3.6rem, 8vw, 8rem);
}

.policy-hero p {
  margin: 1.5rem 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 1.15rem;
}

.policy-mark {
  position: relative;
  max-width: 420px;
  justify-self: end;
}

.policy-mark img {
  border-radius: 38% 62% 46% 54% / 54% 42% 58% 46%;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .42);
}

.policy-mark::after {
  content: "";
  position: absolute;
  inset: -1.2rem;
  border: 1px solid rgba(255, 193, 79, .46);
  border-radius: 50%;
  transform: rotate(9deg);
}

.policy-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
  align-items: start;
}

.policy-index {
  position: sticky;
  top: 86px;
  max-height: calc(100vh - 110px);
  overflow: auto;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(14, 33, 48, .88);
  backdrop-filter: blur(12px);
}

.policy-index h2 {
  margin: .2rem .55rem 1rem;
  color: var(--marigold);
  font-family: var(--body);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.policy-index ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: policy;
}

.policy-index li { counter-increment: policy; }

.policy-index a {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: .45rem;
  padding: .58rem .5rem;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: .83rem;
  line-height: 1.28;
}

.policy-index a::before {
  content: counter(policy, decimal-leading-zero);
  color: var(--peri);
  font-size: .71rem;
  font-weight: 900;
}

.policy-index a:hover,
.policy-index a:focus-visible,
.policy-index a.active {
  color: var(--paper);
  background: var(--raised);
  outline: none;
}

.policy-content { min-width: 0; }

.policy-section {
  scroll-margin-top: 110px;
  padding: clamp(2.2rem, 5vw, 4.2rem) 0;
  border-bottom: 1px solid var(--line);
}

.policy-section:first-child { padding-top: 0; }

.policy-section .section-number {
  display: block;
  margin-bottom: .55rem;
  color: var(--marigold);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.policy-section h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4.4vw, 4rem);
}

.policy-section p,
.policy-section li {
  max-width: 800px;
  color: var(--muted);
  font-size: 1.03rem;
}

.policy-section strong { color: var(--paper); }

.policy-section ul {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.policy-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 1.5rem;
  align-items: end;
  margin: 2rem 0 .3rem;
  padding: .8rem;
  border-radius: 30px;
  background: var(--night);
}

.policy-visual img {
  min-height: 290px;
  border-radius: 22px;
}

.policy-visual figcaption {
  padding: 1rem .7rem 1rem 0;
  color: var(--paper);
  font-size: .88rem;
}

.policy-note {
  margin-top: 1.3rem;
  padding: 1.15rem 1.3rem;
  border-radius: 20px;
  color: var(--paper);
  background: var(--raised);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1000px) {
  .nav-links a:not([aria-current="page"]):not(:last-child) { display: none; }
  .intro-grid,
  .experience-head,
  .boundary-band,
  .policy-hero { grid-template-columns: 1fr; }
  .thread-cards { grid-template-columns: repeat(2, 1fr); }
  .experience-steps { grid-template-columns: 1fr; }
  .policy-mark { justify-self: start; max-width: 320px; }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-index { position: relative; top: auto; max-height: none; }
  .policy-index ol { columns: 2; }
  .policy-index li { break-inside: avoid; }
}

@media (max-width: 700px) {
  .site-header { padding: .75rem .8rem; }
  .brand span { display: none; }
  .nav-links { gap: .25rem; }
  .nav-links a { padding: .6rem .72rem; font-size: .7rem; }
  .hero-copy { margin: 0 1rem 3rem; }
  h1 { font-size: clamp(3.6rem, 20vw, 6rem); }
  .image-weave { grid-auto-rows: 58px; gap: .5rem; }
  .image-weave figure { border-radius: 18px; }
  .image-weave figure:nth-child(1) { grid-column: 1 / 13; grid-row: 1 / 5; }
  .image-weave figure:nth-child(2) { grid-column: 1 / 7; grid-row: 5 / 8; }
  .image-weave figure:nth-child(3) { grid-column: 7 / 13; grid-row: 5 / 8; }
  .image-weave figure:nth-child(4) { grid-column: 2 / 12; grid-row: 8 / 11; }
  .thread-cards { grid-template-columns: 1fr; }
  .experience-step { grid-template-columns: 1fr; }
  .experience-image { order: -1; height: 240px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .policy-hero { padding-top: 8rem; }
  .policy-index ol { columns: 1; }
  .policy-visual { grid-template-columns: 1fr; }
  .policy-visual figcaption { padding: .3rem .7rem 1rem; }
}

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