:root {
  --void: #050506;
  --graphite: #111113;
  --graphite-soft: #171719;
  --bone: #f2efe7;
  --ash: #9e9a90;
  --ash-dim: #6f6a60;
  --gold: #c9a45c;
  --gold-dim: rgba(201, 164, 92, 0.24);
  --cold: #a9d8e8;
  --line: rgba(242, 239, 231, 0.12);
  --max: 1120px;
  --narrow: 720px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(169, 216, 232, 0.06), transparent 34rem),
    var(--void);
  color: var(--bone);
  font-family: var(--sans);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-shell {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(5, 5, 6, 0.72), var(--void) 36rem);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 22px 0;
  color: rgba(242, 239, 231, 0.82);
  transition: color 220ms ease, padding 220ms ease;
}

.site-header::before {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 74px;
  content: "";
  background: rgba(5, 5, 6, 0);
  border-bottom: 1px solid rgba(242, 239, 231, 0);
  backdrop-filter: blur(0);
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  padding: 15px 0;
  color: var(--bone);
}

.site-header.is-scrolled::before {
  background: rgba(5, 5, 6, 0.72);
  border-color: rgba(242, 239, 231, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  min-width: 0;
  font-family: var(--serif);
  font-size: 21px;
}

.brand-mark {
  width: 34px;
  height: 34px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--ash);
  font-size: 13px;
}

.site-nav a,
.header-action,
.button {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-nav a:hover,
.header-action:hover {
  color: var(--bone);
}

.header-action {
  justify-self: end;
  color: var(--bone);
  font-size: 13px;
  border-bottom: 1px solid rgba(201, 164, 92, 0.6);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 170px 24px 88px;
  isolation: isolate;
}

.section-dark,
.section-panel {
  position: relative;
}

.section-dark {
  background: var(--void);
}

.section-panel {
  background:
    linear-gradient(180deg, rgba(242, 239, 231, 0.026), rgba(242, 239, 231, 0.01)),
    var(--graphite);
}

.light-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.light-field::before {
  position: absolute;
  inset: 16% auto auto 54%;
  width: min(36vw, 420px);
  height: min(64vw, 620px);
  content: "";
  background: radial-gradient(ellipse, rgba(169, 216, 232, 0.12), transparent 68%);
  transform: translateX(-50%);
  filter: blur(22px);
}

.vertical-light,
.closing-light {
  position: absolute;
  left: 57%;
  width: 1px;
  content: "";
  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(169, 216, 232, 0.9) 18%,
      var(--bone) 48%,
      rgba(201, 164, 92, 0.92) 76%,
      transparent
    );
  box-shadow:
    0 0 24px rgba(169, 216, 232, 0.38),
    0 0 72px rgba(201, 164, 92, 0.18);
}

.vertical-light {
  top: 14%;
  height: 70%;
  animation: breathe 5.8s ease-in-out infinite;
}

.vertical-light::before,
.vertical-light::after,
.closing-light::before {
  position: absolute;
  left: 50%;
  content: "";
  transform: translateX(-50%);
}

.vertical-light::before {
  top: 46%;
  width: 8px;
  height: 8px;
  background: var(--bone);
  border-radius: 50%;
  box-shadow: 0 0 34px rgba(242, 239, 231, 0.8);
}

.vertical-light::after {
  top: 0;
  width: 90px;
  height: 100%;
  background: radial-gradient(ellipse, rgba(242, 239, 231, 0.08), transparent 62%);
}

.distant-point {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(242, 239, 231, 0.74);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(242, 239, 231, 0.54);
}

.point-one {
  top: 28%;
  left: 18%;
}

.point-two {
  top: 68%;
  left: 77%;
}

.point-three {
  top: 22%;
  left: 82%;
  background: rgba(201, 164, 92, 0.72);
}

.hero-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-top: 9vh;
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(84px, 15vw, 184px);
  font-weight: 400;
  line-height: 0.88;
}

.hero-subtitle {
  max-width: 650px;
  margin: 34px 0 0;
  color: var(--bone);
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.05;
}

.hero-copy {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--ash);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  font-size: 13px;
}

.button-primary {
  color: var(--bone);
  background: rgba(17, 17, 19, 0.76);
  border: 1px solid rgba(201, 164, 92, 0.6);
}

.button-primary:hover {
  background: rgba(201, 164, 92, 0.08);
  border-color: rgba(201, 164, 92, 0.95);
  box-shadow: 0 0 40px rgba(201, 164, 92, 0.13);
}

.button-secondary {
  color: var(--ash);
  border-bottom: 1px solid rgba(242, 239, 231, 0.2);
}

.button-secondary:hover {
  color: var(--bone);
  border-color: rgba(242, 239, 231, 0.6);
}

.hero-coda {
  position: absolute;
  right: 24px;
  bottom: 34px;
  left: 24px;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  color: rgba(242, 239, 231, 0.58);
  font-family: var(--serif);
  font-size: 20px;
}

.section-inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 138px 0;
}

.section-inner.narrow {
  width: min(calc(100% - 48px), var(--narrow));
}

.section-heading {
  max-width: var(--narrow);
}

.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 400;
  line-height: 1.02;
}

.section-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--ash);
  font-size: 18px;
}

.statement {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 400;
  line-height: 1.03;
}

.statement span {
  display: block;
  color: rgba(242, 239, 231, 0.62);
}

.sacred-rule {
  width: min(420px, 100%);
  height: 1px;
  margin-top: 54px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.foundation-rows {
  margin-top: 80px;
  border-top: 1px solid var(--line);
}

.foundation-row {
  display: grid;
  grid-template-columns: 84px minmax(170px, 0.55fr) 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.row-number {
  color: rgba(201, 164, 92, 0.7);
  font-family: var(--serif);
  font-size: 28px;
}

.foundation-row h3,
.stage-item h3,
.relation-column h3 {
  margin: 0;
  color: var(--bone);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.foundation-row p,
.stage-item p,
.relation-column p,
.aev-grid p {
  margin: 0;
  color: var(--ash);
  font-size: 16px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 80px;
  align-items: start;
}

.rights-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(242, 239, 231, 0.12);
}

.rights-list span {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  color: var(--ash);
  border-bottom: 1px solid rgba(242, 239, 231, 0.12);
}

.rights-list .accent {
  color: var(--cold);
}

.principle-quote {
  margin: -72px 0 0;
  color: var(--bone);
  font-family: var(--serif);
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.04;
}

.aev-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 70px;
}

.aev-grid p {
  padding-top: 22px;
  border-top: 1px solid rgba(201, 164, 92, 0.35);
}

.formula-band {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 62px;
  padding: 28px 0;
  color: var(--bone);
  font-family: var(--serif);
  font-size: clamp(25px, 4vw, 48px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.formula-divider,
.formula-equals {
  color: var(--gold);
}

.stage-timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  margin: 82px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(242, 239, 231, 0.16);
}

.stage-item {
  position: relative;
  min-height: 260px;
  padding: 32px 20px 0 0;
  border-right: 1px solid rgba(242, 239, 231, 0.1);
}

.stage-item:last-child {
  border-right: 0;
}

.stage-item::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(201, 164, 92, 0.48);
}

.stage-item span {
  display: block;
  margin-bottom: 42px;
  color: rgba(201, 164, 92, 0.72);
  font-family: var(--serif);
  font-size: 42px;
}

.stage-item h3 {
  margin-bottom: 16px;
  font-size: 24px;
}

.relation-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 78px;
  background: rgba(242, 239, 231, 0.12);
}

.relation-column {
  min-height: 260px;
  padding: 42px;
  background: var(--void);
}

.relation-column h3 {
  margin-bottom: 28px;
}

.relation-column p + p {
  margin-top: 10px;
}

.closing {
  isolation: isolate;
  overflow: hidden;
}

.closing-light {
  top: 18%;
  left: 50%;
  z-index: -1;
  height: 62%;
  opacity: 0.5;
}

.closing-light::before {
  top: 0;
  width: 340px;
  height: 100%;
  background: radial-gradient(ellipse, rgba(201, 164, 92, 0.08), transparent 66%);
}

.closing-copy {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--ash);
  font-size: 19px;
}

.final-line {
  margin: 96px 0 0;
  color: rgba(242, 239, 231, 0.72);
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 58px);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 34px 0 48px;
  color: var(--ash-dim);
  font-size: 12px;
  border-top: 1px solid rgba(242, 239, 231, 0.1);
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--bone);
  font-family: var(--serif);
  font-size: 18px;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  justify-self: end;
  text-align: right;
}

.footer-mark {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.72;
    transform: scaleY(0.98);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.02);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .foundation-row {
    grid-template-columns: 62px 1fr;
  }

  .foundation-row p {
    grid-column: 2;
  }

  .split,
  .aev-grid,
  .relation-columns {
    grid-template-columns: 1fr;
  }

  .principle-quote {
    margin-top: -42px;
  }

  .stage-timeline {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .stage-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 0 22px;
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-top: 1px solid rgba(242, 239, 231, 0.12);
  }

  .stage-item::before {
    top: 30px;
  }

  .stage-item span {
    margin: 0;
  }

  .stage-item p {
    grid-column: 2;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer p:last-child {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: min(calc(100% - 32px), var(--max));
    gap: 16px;
  }

  .header-action {
    display: none;
  }

  .brand {
    font-size: 19px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .hero {
    min-height: 100svh;
    padding: 132px 16px 76px;
  }

  .hero-inner {
    padding-top: 6vh;
  }

  .vertical-light {
    left: auto;
    right: -6px;
    opacity: 0.52;
  }

  .hero-copy {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .button-secondary {
    width: auto;
    justify-content: flex-start;
    padding-left: 0;
  }

  .hero-coda {
    right: 16px;
    left: 16px;
    width: calc(100% - 32px);
    font-size: 18px;
  }

  .section-inner,
  .section-inner.narrow,
  .site-footer {
    width: min(calc(100% - 32px), var(--max));
  }

  .section-inner {
    padding: 96px 0;
  }

  .statement,
  .section-title {
    overflow-wrap: anywhere;
  }

  .foundation-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .foundation-row p {
    grid-column: auto;
  }

  .formula-band {
    display: grid;
    grid-template-columns: 1fr;
    font-size: 31px;
  }

  .relation-column {
    padding: 30px 24px;
  }
}

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

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

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