:root {
  --forest: oklch(32% 0.1 157);
  --leaf: oklch(54% 0.1 157);
  --gold: oklch(73% 0.14 82);
  --cream: oklch(93% 0.025 80);
  --charcoal: oklch(24% 0.005 150);
  --night: oklch(17% 0.035 157);
  --night-surface: oklch(21% 0.04 157);
  --night-muted: oklch(75% 0.025 155);
  --line-dark: oklch(100% 0 0 / 18%);
  --line-light: oklch(32% 0.1 157 / 24%);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 6rem;
  --space-9: 8rem;
  --container: 74rem;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --font-sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--cream);
  background: var(--night);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body,
button,
a {
  font-kerning: normal;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin-inline: auto;
}

section[id],
.site-footer {
  scroll-margin-top: 6.25rem;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: var(--forest);
  background: var(--cream);
  transform: translateY(-180%);
  transition: transform 180ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 5;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  background-color: transparent;
  transition: background-color 240ms ease-out, border-color 240ms ease-out;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-dark);
  background-color: oklch(17% 0.035 157 / 78%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6.25rem;
}

.brand {
  display: inline-flex;
  align-items: flex-start;
  color: var(--cream);
  text-decoration: none;
}

.brand-lockup {
  display: grid;
  width: clamp(8.5rem, 10vw, 10.5rem);
  gap: 0.08rem;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 2.15rem;
  object-fit: cover;
  object-position: center;
}

.brand-tagline {
  color: var(--night-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: lowercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  color: var(--night-muted);
  font-size: 0.875rem;
}

.site-nav a {
  position: relative;
  padding-block: 0.5rem;
  text-decoration: none;
  transition: color 180ms ease-out;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease-out-expo);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--cream);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--cream);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.menu-label {
  color: var(--night-muted);
  font-size: 0.8125rem;
}

.menu-icon {
  display: grid;
  gap: 0.35rem;
  width: 1.25rem;
}

.menu-icon i {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--cream);
  transition: transform 180ms ease-out;
}

.menu-toggle[aria-expanded="true"] .menu-icon i:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  position: relative;
  display: block;
  min-height: min(54rem, 100svh);
  isolation: isolate;
  overflow: hidden;
  background: var(--night);
}

#signal-canvas,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#signal-canvas {
  z-index: -2;
  display: block;
  opacity: 0.9;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, oklch(17% 0.035 157 / 98%) 0%, oklch(17% 0.035 157 / 74%) 36%, oklch(17% 0.035 157 / 16%) 100%),
    linear-gradient(0deg, oklch(17% 0.035 157 / 44%) 0%, transparent 35%, oklch(17% 0.035 157 / 46%) 100%);
}

.hero-inner {
  position: relative;
  display: grid;
  min-height: min(54rem, 100svh);
  grid-template-columns: minmax(0, 1.12fr) minmax(16rem, 0.88fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: clamp(7rem, 13vh, 8.5rem) clamp(4.5rem, 8vh, 5.5rem);
}

.hero-copy {
  width: auto;
  margin-top: 0;
  animation: hero-enter 800ms var(--ease-out-expo) both;
}

.eyebrow,
.section-label {
  margin: 0 0 1.35rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1,
.vision-section h2,
.principles-section h2,
.closing-section h2 {
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.035em;
  line-height: 0.99;
  font-weight: 600;
}

.hero h1 {
  max-width: 14ch;
  color: var(--cream);
  font-size: clamp(3rem, 6.6vw, 5.4rem);
}

.hero h1 em {
  color: var(--gold);
  font-family: var(--font-serif);
  font-weight: 400;
}

.hero-lede {
  max-width: 32rem;
  margin: 1.5rem 0 0;
  color: var(--night-muted);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 3.25rem;
  margin-top: 1.75rem;
  padding: 0.75rem 1.35rem 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 650;
  transition: transform 180ms ease-out, background-color 180ms ease-out, color 180ms ease-out;
}

.button span {
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 180ms ease-out;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:hover span,
.button:focus-visible span {
  transform: translate(2px, 2px);
}

.button-primary {
  color: var(--forest);
  background: var(--gold);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--cream);
}

.hero-note {
  position: static;
  display: grid;
  gap: 0.35rem;
  align-self: center;
  justify-self: end;
  width: min(100%, 20rem);
  padding: 1.5rem 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  color: var(--night-muted);
  animation: note-enter 800ms 260ms var(--ease-out-expo) both;
}

.hero-note-kicker,
.hero-note-copy,
.quote-meta {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-note-kicker {
  color: var(--gold);
}

.hero-note strong {
  color: var(--cream);
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.hero-note-copy {
  margin-top: 0.35rem;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.centered-hero .hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  text-align: center;
}

.centered-hero .hero-copy {
  width: min(100%, 58rem);
}

.centered-hero .hero h1 {
  max-width: 18ch;
  margin-inline: auto;
}

.centered-hero .hero-lede {
  max-width: 38rem;
  margin-inline: auto;
}

.centered-hero .button {
  margin-inline: auto;
}

.centered-hero .hero-note {
  align-self: center;
  justify-self: auto;
  width: min(100%, 22rem);
  margin-top: clamp(2.5rem, 5vh, 4rem);
  text-align: center;
}

.centered-hero .scroll-cue {
  left: 50%;
  transform: translateX(-50%);
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--night-muted);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.vision-section {
  position: relative;
  padding-block: clamp(6rem, 12vw, 11rem) clamp(5rem, 10vw, 9rem);
  color: var(--forest);
  background: var(--cream);
}

.vision-grid,
.principles-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: clamp(3rem, 10vw, 10rem);
}

.vision-section h2 {
  max-width: 8ch;
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.vision-copy {
  max-width: 37rem;
  padding-top: 3.8rem;
}

.vision-copy p {
  margin: 0;
  color: oklch(32% 0.045 157);
  font-size: 1rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.vision-copy p + p {
  margin-top: 1.35rem;
}

.vision-copy .lead-copy {
  color: var(--forest);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.quote-band {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(6rem, 12vw, 11rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--line-light);
}

.quote-band p {
  margin: 0;
  letter-spacing: -0.035em;
  font-size: clamp(1.65rem, 3.5vw, 3rem);
  line-height: 1.05;
}

.quote-band p span {
  color: var(--leaf);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.quote-meta {
  flex: 0 0 auto;
  padding-bottom: 0.25rem;
  color: oklch(45% 0.07 157);
}

.principles-section {
  padding-block: clamp(6rem, 12vw, 10rem);
  color: var(--cream);
  background: var(--forest);
}

.principles-heading h2 {
  max-width: 10ch;
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.principles-heading h2 span {
  color: var(--gold);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.principles-heading > p:last-child {
  max-width: 29rem;
  margin: 2rem 0 0;
  color: oklch(84% 0.035 157);
  line-height: 1.7;
  text-wrap: pretty;
}

.principles-list {
  padding-top: 1.1rem;
}

.principle {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid oklch(100% 0 0 / 24%);
}

.principle:last-child {
  border-bottom: 1px solid oklch(100% 0 0 / 24%);
}

.principle-index {
  padding-top: 0.25rem;
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1;
}

.principle h3 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.principle p {
  max-width: 28rem;
  margin: 0.45rem 0 0;
  color: oklch(80% 0.03 157);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.closing-section {
  color: var(--forest);
  background: var(--gold);
}

.closing-inner {
  position: relative;
  min-height: min(46rem, 78svh);
  padding-block: clamp(6rem, 12vw, 10rem);
  overflow: hidden;
}

.closing-inner > *:not(.closing-symbol) {
  position: relative;
  z-index: 1;
}

.closing-symbol {
  position: absolute;
  top: 50%;
  right: -2rem;
  display: grid;
  width: clamp(13rem, 33vw, 28rem);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid oklch(32% 0.1 157 / 22%);
  border-radius: 50%;
  transform: translateY(-50%);
}

.closing-symbol::before,
.closing-symbol::after,
.closing-symbol span {
  position: absolute;
  display: block;
  border: 1px solid oklch(32% 0.1 157 / 22%);
  border-radius: 50%;
  content: "";
}

.closing-symbol::before {
  width: 72%;
  height: 72%;
}

.closing-symbol::after {
  width: 41%;
  height: 41%;
}

.closing-symbol span {
  width: 0.7rem;
  height: 0.7rem;
  border: 0;
  background: var(--forest);
}

.closing-section h2 {
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 6rem);
}

.closing-section > .container > p:not(.section-label) {
  margin: 1.5rem 0 0;
  color: oklch(37% 0.07 157);
  font-size: 1.15rem;
}

.closing-section .section-label {
  color: oklch(37% 0.07 157);
}

.button-light {
  color: var(--cream);
  background: var(--forest);
}

.button-light:hover,
.button-light:focus-visible {
  color: var(--forest);
  background: var(--cream);
}

.site-footer {
  color: oklch(76% 0.025 157);
  background: var(--charcoal);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  font-size: 0.75rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner p:first-child {
  color: var(--cream);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.footer-contact {
  color: oklch(76% 0.025 157);
  text-decoration: none;
  transition: color 180ms ease-out;
}

.footer-contact:hover {
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}

@keyframes hero-enter {
  from {
    transform: translateY(1.5rem);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes note-enter {
  from {
    transform: translateX(1rem);
  }
  to {
    transform: translateX(0);
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 5.5rem;
  }

  section[id],
  .site-footer {
    scroll-margin-top: 5.5rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 0 var(--gutter) 1rem;
    color: var(--night-muted);
    background: var(--forest);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.75rem);
    transition: opacity 180ms ease-out, transform 220ms var(--ease-out-expo);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid oklch(100% 0 0 / 20%);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: max(42rem, 100svh);
  }

  .hero-inner {
    display: flex;
    min-height: max(42rem, 100svh);
    align-items: flex-start;
    flex-direction: column;
    padding-top: 7.25rem;
    padding-bottom: 3.5rem;
  }

  .hero-copy {
    margin-top: 1rem;
  }

  .hero h1 {
    max-width: 9ch;
    font-size: clamp(2.8rem, 13vw, 4.25rem);
  }

  .hero-note {
    align-self: flex-end;
    justify-self: auto;
    width: min(100%, 17rem);
    margin-top: 2rem;
    padding-block: 1rem;
  }

  .hero-note strong {
    font-size: 1.45rem;
  }

  .centered-hero .hero-inner {
    align-items: center;
    text-align: center;
  }

  .centered-hero .hero h1 {
    max-width: 9ch;
  }

  .centered-hero .hero-lede {
    margin-inline: auto;
  }

  .centered-hero .hero-note {
    align-self: center;
    width: min(100%, 17rem);
    text-align: center;
  }

  .scroll-cue {
    bottom: 2rem;
  }

  .vision-grid,
  .principles-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .vision-copy {
    padding-top: 0;
  }

  .quote-band {
    display: block;
  }

  .quote-meta {
    display: block;
    margin-top: 1.5rem;
  }

  .principles-list {
    padding-top: 0;
  }

  .closing-inner {
    min-height: 38rem;
  }

  .closing-symbol {
    top: 68%;
    right: -5rem;
    width: 18rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .footer-inner p:nth-child(2) {
    order: 4;
    width: 100%;
  }

  .footer-contact {
    order: 2;
    width: 100%;
  }

  .footer-year {
    order: 3;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
