@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/playfair-display-v40-latin-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/playfair-display-v40-latin-700.woff2") format("woff2");
}

@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/playfair-display-v40-latin-italic.woff2") format("woff2");
}

:root {
  --paper: #f4f0e6;
  --paper-hi: #faf7f0;
  --paper-deep: #ece6d7;
  --ink: #15140f;
  --ink-2: #3f3c33;
  --muted: #76715f;
  --sage: #5a6d52;
  --sage-deep: #46543d;
  --sage-soft: #94a186;
  --line: #ded7c6;
  --line-2: #cfc7b3;
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
video {
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 4px;
}

@keyframes ncTwinkle {
  0%,
  100% {
    opacity: 0.18;
  }

  50% {
    opacity: 0.7;
  }
}

.site-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(180deg, var(--paper-hi), var(--paper) 22%, var(--paper));
}

.constellation {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-wrap {
  position: relative;
  z-index: 1;
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: clamp(24px, 4vw, 40px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: auto;
  height: 36px;
}

.brand-name,
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.brand-name {
  font-size: 17px;
}

.topnav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.topnav a,
.footer-links a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.topnav a:hover,
.footer-links a:hover,
.essay-link a:hover {
  color: var(--sage-deep);
}

.hero {
  text-align: center;
  padding-top: clamp(60px, 11vw, 118px);
}

.eyebrow {
  margin: 0 0 clamp(22px, 3.4vw, 30px);
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.4vw, 12px);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--sage);
}

.hero h1 {
  max-width: 14ch;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(44px, 8.4vw, 82px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.015em;
}

.hero-lead {
  max-width: 60ch;
  margin: clamp(26px, 3.4vw, 34px) auto 0;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.62;
  color: var(--ink-2);
}

.motif-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 16px);
  flex-wrap: wrap;
  margin-top: clamp(34px, 5vw, 46px);
}

.motif-rule {
  width: clamp(26px, 5vw, 48px);
  height: 1px;
  background: var(--line-2);
}

.motif-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--sage);
}

.motif-text {
  font-family: var(--font-mono);
  font-size: clamp(10.5px, 1.5vw, 12px);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.welcome-figure {
  margin: 0;
  padding-top: clamp(40px, 6vw, 64px);
  text-align: center;
}

.video-shell {
  display: inline-block;
  position: relative;
}

.video-frame {
  position: relative;
  width: clamp(248px, 78vw, 348px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 14px;
  background: #e8ebee;
  box-shadow:
    0 34px 80px -34px rgba(20, 18, 12, 0.5),
    0 0 0 1px rgba(90, 109, 82, 0.18),
    0 10px 40px -14px rgba(90, 109, 82, 0.26);
}

.welcome-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-video:fullscreen,
.video-frame:fullscreen .welcome-video {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  background: #000;
}

.welcome-video:-webkit-full-screen,
.video-frame:-webkit-full-screen .welcome-video {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  background: #000;
}

.video-play {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  border: 0;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(18, 17, 13, 0.04), rgba(18, 17, 13, 0.3));
  transition: opacity 0.25s ease, background 0.25s ease;
}

.js-ready .video-play {
  display: flex;
}

.video-play:hover {
  background: linear-gradient(180deg, rgba(18, 17, 13, 0.12), rgba(18, 17, 13, 0.44));
}

.video-frame.is-playing .video-play {
  opacity: 0;
  pointer-events: none;
}

.play-ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(244, 240, 230, 0.9);
  border-radius: 999px;
  background: rgba(244, 240, 230, 0.14);
  backdrop-filter: blur(3px);
}

.play-triangle {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #f4f0e6;
}

.play-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.figure-caption {
  max-width: 46ch;
  margin: clamp(20px, 2.8vw, 26px) auto 0;
  font-family: var(--font-serif);
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.6;
  color: var(--muted);
}

.figure-caption p {
  margin: 0;
}

.caption-title {
  margin-bottom: 5px;
  font-size: clamp(15px, 1.9vw, 17px);
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
}

.manifesto {
  padding-top: clamp(80px, 12vw, 118px);
  text-align: center;
}

.manifesto-copy {
  max-width: 62ch;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.3vw, 21px);
  line-height: 1.78;
  color: var(--ink-2);
}

.manifesto-copy p {
  margin: 0 0 24px;
}

.manifesto-copy p:last-child {
  margin-bottom: 0;
}

.manifesto h2 {
  max-width: 22ch;
  margin: clamp(40px, 6vw, 56px) auto 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.6vw, 36px);
  font-weight: 700;
  line-height: 1.28;
}

.paths {
  padding-top: clamp(80px, 12vw, 116px);
  text-align: center;
}

.path-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(26px, 3.4vw, 34px);
}

.path-ornament span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--sage);
}

.path-ornament i {
  width: clamp(34px, 7vw, 60px);
  height: 1px;
  background: linear-gradient(90deg, var(--sage-soft), var(--sage));
}

.path-ornament i:last-of-type {
  background: linear-gradient(90deg, var(--sage), var(--sage-soft));
}

.path-ornament strong {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--sage);
}

.paths h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(30px, 5.2vw, 42px);
  font-weight: 700;
}

.paths-kicker {
  margin: 0 0 clamp(40px, 5.5vw, 56px);
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.5vw, 12px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sage);
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(34px, 5vw, 48px);
  text-align: center;
}

.path-item {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.path-dot {
  width: 13px;
  height: 13px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(90, 109, 82, 0.14), 0 0 0 9px rgba(90, 109, 82, 0.06);
}

.path-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(23px, 3vw, 27px);
  font-weight: 700;
}

.path-label {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.path-item p:not(.path-label) {
  max-width: 30ch;
  margin: 16px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(16px, 2vw, 17.5px);
  line-height: 1.62;
  color: var(--ink-2);
}

.essay-link {
  padding-top: clamp(56px, 8vw, 86px);
  text-align: center;
}

.essay-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--sage);
  font-family: var(--font-serif);
  font-size: clamp(16px, 2.1vw, 19px);
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.essay-link span {
  color: var(--sage);
}

.closing-quote {
  padding-top: clamp(86px, 13vw, 128px);
  text-align: center;
}

.quote-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: clamp(28px, 3.6vw, 34px);
}

.quote-dots span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--sage-soft);
}

.quote-dots strong {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--sage);
}

.closing-quote blockquote {
  margin: 0;
}

.closing-quote blockquote p {
  max-width: 20ch;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(30px, 5.2vw, 44px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.26;
}

.closing-quote cite {
  display: block;
  margin-top: clamp(26px, 3.4vw, 32px);
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.5vw, 12px);
  font-style: normal;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage);
}

.site-footer {
  margin-top: clamp(80px, 12vw, 118px);
  padding: clamp(40px, 6vw, 52px) 0 clamp(48px, 7vw, 64px);
  border-top: 1px solid var(--line-2);
  text-align: center;
}

.site-footer img {
  display: block;
  width: auto;
  height: 44px;
  margin: 0 auto 16px;
}

.footer-brand {
  margin: 0;
  font-size: 19px;
  letter-spacing: 0.18em;
}

.footer-links {
  justify-content: center;
  gap: clamp(18px, 3vw, 28px);
  margin-top: 24px;
  font-size: 12px;
}

.footer-links a:first-child {
  color: var(--ink);
}

.footer-note {
  margin: 28px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 560px) {
  .topbar {
    justify-content: center;
    text-align: center;
  }

  .topnav {
    justify-content: center;
    width: 100%;
  }

  .brand-name {
    font-size: 15px;
  }

  .motif-text,
  .paths-kicker,
  .play-copy {
    letter-spacing: 0.18em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
