@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap');

:root {
  --night: #10181e;
  --ink: #19232b;
  --paper: #f7f3ec;
  --gold: #e8d9b8;
  --amber: #d99c42;
  --clay: #b9473b;
  --line: rgba(232, 217, 184, .2);
  --display: 'Playfair Display', Georgia, serif;
  --mono: 'DM Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--paper); font-family: var(--mono); }
a { color: inherit; text-decoration: none; }

.site-header { position: absolute; z-index: 4; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 28px clamp(24px, 5vw, 76px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.06rem; font-weight: 600; letter-spacing: -.02em; }
.brand::before { content: '✦'; color: var(--amber); font-family: Georgia, serif; font-size: 1.2rem; }
.nav { display: flex; gap: 25px; color: rgba(247,243,236,.72); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.nav a { transition: color .2s ease; }
.nav a:hover, .nav a:focus-visible { color: var(--gold); }

.hero { position: relative; min-height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .95fr); align-items: center; padding: 116px clamp(24px, 8vw, 142px) 56px; background: radial-gradient(circle at 73% 43%, rgba(38, 67, 87, .45), transparent 32%), linear-gradient(120deg, #10181e 0%, #16242d 60%, #0d171f 100%); }
.hero::before { content: ''; position: absolute; inset: 0; opacity: .45; background-image: radial-gradient(circle, #e8d9b8 1px, transparent 1.4px), radial-gradient(circle, #e8d9b8 .7px, transparent 1.2px); background-size: 136px 136px, 89px 89px; background-position: 25px 18px, 60px 52px; animation: stars 22s linear infinite; pointer-events: none; }
.hero-copy { position: relative; z-index: 1; max-width: 660px; }
.eyebrow { margin: 0 0 22px; color: var(--amber); font-size: .67rem; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.045em; }
h1 { margin: 0; max-width: 700px; font-size: clamp(3.75rem, 8vw, 7.6rem); line-height: .9; }
h1 em { color: var(--gold); font-weight: 500; }
.hero-copy > p:not(.eyebrow) { max-width: 480px; margin: 30px 0 0; color: rgba(247,243,236,.7); font-family: var(--display); font-size: clamp(1.07rem, 1.8vw, 1.35rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--gold); color: var(--night); background: var(--gold); font-size: .69rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); background: #fff4d7; }
.text-link { display: inline-flex; align-items: center; padding: 0 3px; border-bottom: 1px solid var(--amber); color: var(--gold); font-size: .72rem; letter-spacing: .06em; }
.hero-art { position: relative; z-index: 1; display: grid; place-items: center; min-height: min(68vw, 680px); }
.hero-art::before { content: ''; position: absolute; width: min(56vw, 600px); aspect-ratio: 1; border: 1px solid rgba(232,217,184,.2); border-radius: 50%; box-shadow: 0 0 0 55px rgba(232,217,184,.025), 0 0 0 115px rgba(232,217,184,.02); animation: orbit 11s ease-in-out infinite; }
.mark { position: relative; width: min(49vw, 565px); border-radius: 50%; filter: drop-shadow(0 28px 44px rgba(0,0,0,.38)); animation: rise .95s cubic-bezier(.2,.7,.2,1) both; }
.hero-note { position: absolute; z-index: 2; right: 0; bottom: 0; width: 175px; padding: 15px 0 0 20px; border-top: 1px solid var(--line); color: rgba(247,243,236,.55); font-size: .65rem; line-height: 1.6; }

.manifesto { padding: clamp(86px, 14vw, 170px) clamp(24px, 12vw, 190px); background: var(--paper); color: var(--ink); }
.manifesto-grid { display: grid; grid-template-columns: .68fr 1.32fr; gap: clamp(38px, 9vw, 150px); }
.label { color: var(--clay); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; }
.manifesto h2 { max-width: 760px; margin: -10px 0 0; font-size: clamp(2.65rem, 5.7vw, 5.6rem); line-height: .99; }
.manifesto h2 em { color: var(--clay); }
.manifesto p { max-width: 555px; margin: 30px 0 0; font-family: var(--display); font-size: 1.25rem; line-height: 1.52; }
.story-line { display: grid; grid-template-columns: 90px 1fr auto; gap: 25px; align-items: center; margin-top: clamp(70px, 10vw, 140px); padding-top: 20px; border-top: 1px solid rgba(25,35,43,.2); }
.story-line span { color: var(--clay); font-size: .65rem; letter-spacing: .09em; }
.story-line strong { font-family: var(--display); font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 500; }
.story-line a { color: var(--clay); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }

.ritual { display: grid; grid-template-columns: 1fr 1fr; min-height: 570px; background: var(--ink); }
.ritual-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(60px, 9vw, 140px); }
.ritual-copy h2 { max-width: 520px; margin: 0; color: var(--gold); font-size: clamp(2.8rem, 5vw, 5rem); line-height: .95; }
.ritual-copy p { max-width: 420px; margin: 27px 0 0; color: rgba(247,243,236,.65); line-height: 1.7; font-size: .78rem; }
.ritual-art { position: relative; overflow: hidden; background: linear-gradient(145deg, #c16929 0%, #e7c383 46%, #2a1d1d 47%, #10181e 75%); }
.ritual-art::after { content: '✦'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff1cf; font: 300 clamp(9rem, 24vw, 23rem)/1 Georgia, serif; opacity: .88; transform: rotate(16deg); }

.closing { padding: 110px 24px; text-align: center; background: var(--night); }
.closing h2 { max-width: 700px; margin: 0 auto; color: var(--paper); font-size: clamp(3rem, 6.5vw, 6rem); line-height: .92; }
.closing p { margin: 24px auto 0; max-width: 470px; color: rgba(247,243,236,.65); font-family: var(--display); font-size: 1.1rem; line-height: 1.55; }
.site-footer { display: flex; justify-content: space-between; gap: 28px; padding: 28px clamp(24px, 5vw, 76px); border-top: 1px solid var(--line); color: rgba(247,243,236,.5); font-size: .62rem; letter-spacing: .06em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }

.legal-page { min-height: 100svh; background: var(--paper); color: var(--ink); }
.legal-page .site-header { position: relative; border-bottom: 1px solid rgba(25,35,43,.13); color: var(--ink); }
.legal-page .nav { color: rgba(25,35,43,.65); }
.legal-page .nav a:hover { color: var(--clay); }
.legal-hero { padding: clamp(80px, 12vw, 150px) clamp(24px, 13vw, 210px) clamp(55px, 9vw, 100px); border-bottom: 1px solid rgba(25,35,43,.16); }
.legal-hero .eyebrow { color: var(--clay); }
.legal-hero h1 { max-width: 800px; font-size: clamp(3.5rem, 8vw, 7.5rem); color: var(--ink); }
.legal-hero p { margin: 26px 0 0; color: rgba(25,35,43,.68); font-size: .75rem; line-height: 1.8; }
.legal-layout { display: grid; grid-template-columns: 210px minmax(0, 710px); gap: clamp(45px, 10vw, 155px); padding: clamp(65px, 9vw, 115px) clamp(24px, 13vw, 210px); }
.legal-toc { height: max-content; position: sticky; top: 32px; padding-top: 8px; }
.legal-toc p { margin: 0 0 15px; color: var(--clay); font-size: .63rem; letter-spacing: .13em; text-transform: uppercase; }
.legal-toc a { display: block; padding: 8px 0; color: rgba(25,35,43,.64); font-size: .69rem; line-height: 1.3; }
.legal-toc a:hover { color: var(--clay); }
.legal-content section { padding: 0 0 45px; margin: 0 0 45px; border-bottom: 1px solid rgba(25,35,43,.13); }
.legal-content section:last-child { border-bottom: 0; }
.legal-content h2 { margin: 0 0 19px; font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1; }
.legal-content p, .legal-content li { color: rgba(25,35,43,.77); font-family: var(--display); font-size: 1.05rem; line-height: 1.65; }
.legal-content p { margin: 0 0 15px; }
.legal-content ul { padding-left: 20px; }
.legal-content li { margin: 8px 0; }
.placeholder { color: var(--clay); font-family: var(--mono); font-size: .78em; }
.legal-page .site-footer { border-color: rgba(25,35,43,.13); color: rgba(25,35,43,.52); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes stars { to { background-position: 161px 153px, 149px 141px; } }
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes orbit { 50% { transform: scale(1.06) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 760px) { .site-header { padding: 20px 22px; } .nav { gap: 15px; font-size: .57rem; } .hero { grid-template-columns: 1fr; min-height: auto; padding: 126px 24px 62px; } .hero-art { min-height: auto; margin: 44px auto 0; } .mark { width: min(78vw, 420px); } .hero-note { display: none; } .manifesto { padding: 78px 24px; } .manifesto-grid, .ritual, .legal-layout { grid-template-columns: 1fr; } .story-line { grid-template-columns: 1fr; gap: 10px; } .ritual-art { min-height: 340px; } .legal-hero, .legal-layout { padding-left: 24px; padding-right: 24px; } .legal-toc { position: relative; top: auto; border-bottom: 1px solid rgba(25,35,43,.13); padding-bottom: 22px; } .site-footer { flex-direction: column; } }
