@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --ink: #050706;
  --paper: #f2f4ee;
  --muted: #8f968f;
  --green: #3bd36c;
  --gold: #d2aa44;
  --pad: clamp(24px, 5vw, 80px);
}

* { box-sizing: border-box; }
html { background: var(--ink); color: var(--paper); scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--ink); font-family: "Space Grotesk", sans-serif; }
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 10;
  background: radial-gradient(circle at 50% 50%, transparent 35%, rgba(0,0,0,.42) 100%);
}
.noise { position: fixed; inset: 0; z-index: 11; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.cursor-glow { position: fixed; width: 38vw; height: 38vw; left: var(--x, 50%); top: var(--y, 50%); transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle, rgba(59,211,108,.09), transparent 64%); pointer-events: none; z-index: 0; }
section { position: relative; min-height: 100svh; padding: var(--pad); isolation: isolate; }
.eyebrow { margin: 0; font: 500 11px/1.2 "DM Mono", monospace; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow span { color: var(--green); margin-left: 12px; }

.hero { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: auto 1fr auto; align-items: center; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.12); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 73% 48%, rgba(49,113,62,.17), transparent 30%), linear-gradient(115deg, #090d0a, #020403 58%); }
.wordmark { position: absolute; left: -1.5vw; top: 7vh; z-index: -1; font-size: clamp(100px, 19vw, 350px); font-weight: 700; line-height: .8; letter-spacing: -.09em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); white-space: nowrap; }
.hero > .eyebrow { grid-column: 1 / -1; align-self: start; }
.hero-copy { align-self: end; padding-bottom: 11vh; z-index: 2; }
.hero h1 { margin: 0; max-width: 850px; font-size: clamp(54px, 7vw, 128px); font-weight: 500; line-height: .87; letter-spacing: -.065em; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-copy > p { margin: 34px 0 0; color: var(--muted); font: 300 clamp(12px, 1.1vw, 16px)/1.65 "DM Mono", monospace; }
.mark { position: relative; margin: 8vh 0 0; align-self: center; justify-self: center; width: min(36vw, 560px); aspect-ratio: 1; display: grid; place-items: center; transform: translate3d(var(--mx,0),var(--my,0),0); transition: transform .15s ease-out; }
.mark::before { content: ""; position: absolute; inset: 17%; border-radius: 50%; background: rgba(59,211,108,.13); filter: blur(60px); }
.mark img { position: relative; z-index: 2; width: 82%; height: 82%; object-fit: contain; clip-path: polygon(0 0,100% 0,100% 86%,86% 86%,86% 100%,0 100%); filter: drop-shadow(0 28px 45px rgba(0,0,0,.65)); animation: float 6s ease-in-out infinite; }
.orbit { position: absolute; inset: 7%; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; transform: rotate(-20deg) scaleY(.45); }
.orbit::after { content: ""; position: absolute; width: 8px; height: 8px; top: 48%; left: -4px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 22px var(--gold); }
.orbit-b { inset: 18%; transform: rotate(39deg) scaleY(.56); animation: orbit 12s linear infinite; }
.orbit-b::after { background: var(--green); box-shadow: 0 0 22px var(--green); }
.scroll-cue { align-self: end; display: flex; align-items: center; gap: 14px; color: #7b827c; font: 400 9px/1 "DM Mono", monospace; letter-spacing: .16em; }
.scroll-cue span { display: block; width: 44px; height: 1px; background: var(--green); }

.identity { min-height: 90svh; display: grid; grid-template-columns: .5fr 1.5fr; align-content: center; background: #eef1e9; color: #080a08; }
.section-index { align-self: start; margin-top: 10px; font: 500 10px/1 "DM Mono", monospace; letter-spacing: .12em; color: #727970; }
.identity-copy p { margin: 0 0 36px; font: 400 clamp(12px, 1.1vw, 16px)/1.6 "DM Mono", monospace; max-width: 440px; color: #6b716b; }
.identity h2 { margin: 0; font-size: clamp(64px, 10vw, 170px); font-weight: 500; line-height: .86; letter-spacing: -.075em; }
.identity h2 span { color: transparent; -webkit-text-stroke: 1.5px #1e241f; }
.keyline { position: absolute; left: var(--pad); right: var(--pad); bottom: 9vh; height: 1px; background: rgba(0,0,0,.15); }
.keyline i { position: absolute; top: -5px; left: 50%; width: 11px; height: 11px; background: var(--green); border-radius: 50%; }
.keyline b { position: absolute; right: 0; top: -15px; width: 31px; height: 31px; border: 1px solid #a79048; border-radius: 50%; }

.closing { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; overflow: hidden; background: linear-gradient(140deg,#020302,#081009); }
.closing-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 8vw 8vw; mask-image: linear-gradient(to bottom, transparent, black 35%, transparent 93%); }
.closing .eyebrow { color: var(--green); margin-bottom: 45px; }
.closing h2 { margin: 0; font-size: clamp(76px, 13vw, 220px); font-weight: 500; line-height: .76; letter-spacing: -.08em; }
.closing h2 span { display: block; }
.closing h2 span:nth-child(2) { color: var(--green); margin-left: 10vw; }
.closing h2 span:nth-child(3) { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.65); margin-left: 3vw; }
.seal { position: absolute; right: 9vw; top: 20vh; width: 104px; height: 104px; border: 1px solid rgba(210,170,68,.7); border-radius: 50%; display: grid; place-content: center; text-align: center; color: var(--gold); font: 500 24px/1 "DM Mono", monospace; transform: rotate(9deg); }
.seal small { font-size: 9px; letter-spacing: .16em; }
footer { position: absolute; left: var(--pad); right: var(--pad); bottom: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); display: flex; justify-content: space-between; color: #778078; font: 400 9px/1 "DM Mono", monospace; letter-spacing: .13em; text-transform: uppercase; }

@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-18px) rotate(1deg); } }
@keyframes orbit { to { transform: rotate(399deg) scaleY(.56); } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation-duration: .01ms !important; scroll-behavior: auto !important; } .mark { transition: none; } }

@media (max-width: 760px) {
  .cursor-glow { display: none; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; align-items: start; }
  .wordmark { top: 13vh; font-size: 36vw; }
  .hero-copy { padding: 10vh 0 0; align-self: start; }
  .hero h1 { font-size: clamp(48px, 14vw, 80px); line-height: .91; }
  .hero-copy > p { margin-top: 22px; }
  .mark { position: absolute; right: -16vw; bottom: 8vh; width: 77vw; opacity: .74; }
  .scroll-cue { z-index: 3; }
  .identity { grid-template-columns: 1fr; gap: 70px; align-content: center; }
  .identity h2 { font-size: clamp(58px, 18vw, 96px); }
  .closing { justify-content: center; }
  .closing h2 { font-size: clamp(72px, 22vw, 120px); line-height: .82; }
  .closing h2 span:nth-child(2) { margin-left: 0; }
  .closing h2 span:nth-child(3) { margin-left: 0; }
  .seal { width: 72px; height: 72px; right: 7vw; top: 12vh; font-size: 18px; }
  footer { gap: 15px; flex-wrap: wrap; }
  footer p { margin: 0; }
}
