:root {
  --bg: #090909;
  --bg-soft: #111111;
  --panel: #151515;
  --text: #f4f0e8;
  --muted: #aaa59a;
  --line: #2a2926;
  --gold: #b79a58;
  --gold-soft: #d0ba82;
  --max: 1180px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

.shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.narrow { max-width: 920px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--text); color: #000; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 30; border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease; }
.site-header.scrolled { background: rgba(9,9,9,.82); border-color: var(--line); backdrop-filter: blur(16px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { font-weight: 900; letter-spacing: .22em; font-size: .92rem; }
.nav { display: flex; gap: 24px; }
.nav a { font-size: .82rem; color: var(--muted); transition: color .2s ease; }
.nav a:hover, .nav a:focus-visible { color: var(--text); }

.hero { position: relative; min-height: 92vh; display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -220px; top: 8%; border: 1px solid rgba(183,154,88,.26); border-radius: 50%; box-shadow: 0 0 130px rgba(183,154,88,.08) inset; }
.hero::after { content: ""; position: absolute; width: 320px; height: 320px; right: 70px; top: 25%; border: 1px solid rgba(244,240,232,.09); transform: rotate(45deg); }
.hero-noise { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); }
.hero-inner { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 90px; }
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--gold-soft); text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; font-weight: 800; }
.hero h1 { margin: 0; max-width: 940px; font-size: clamp(3.1rem, 8vw, 7.8rem); line-height: .92; letter-spacing: -.055em; font-weight: 900; }
.hero h1 span { color: var(--gold-soft); }
.hero-copy { margin: 34px 0 0; max-width: 640px; font-size: clamp(1.05rem, 2vw, 1.35rem); color: #c7c2b7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; font-size: .84rem; font-weight: 800; letter-spacing: .02em; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--text); color: #0b0b0b; }
.button-ghost { border: 1px solid #3a3935; color: #d0cbc0; }
.button-ghost:hover { border-color: #6e685a; }
.hero-rule { width: 86px; height: 3px; margin-top: 54px; background: var(--gold); }

.section { padding: 112px 0; }
.section h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 5.2rem); line-height: 1; letter-spacing: -.045em; }
.section h2 span { color: var(--gold-soft); }

.manifesto { background: #0d0d0d; }
.manifesto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; margin-top: 54px; padding-top: 30px; border-top: 1px solid var(--line); }
.manifesto-grid p { margin: 0; color: #c0bbb0; font-size: 1.05rem; }

.principles { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle-list { border-top: 1px solid var(--line); }
.principle-list article { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 20px; min-height: 110px; border-bottom: 1px solid var(--line); }
.principle-list span { color: var(--gold); font-size: .75rem; letter-spacing: .12em; }
.principle-list h3 { margin: 0; font-size: clamp(1.4rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -.025em; }

.current-work { background: #0d0d0d; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 60px; align-items: end; }
.section-note { margin: 0; color: var(--muted); max-width: 420px; }
.project-list { display: grid; gap: 20px; margin-top: 64px; }
.project-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, #171717 0%, #111 100%); }
.project-card.featured { border-color: rgba(183,154,88,.5); }
.project-head { display: flex; justify-content: space-between; gap: 28px; align-items: flex-start; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.project-label { margin: 0 0 10px; color: var(--gold-soft); font-size: .69rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
.project-card h3 { margin: 0; font-size: clamp(2.4rem, 5vw, 4.7rem); letter-spacing: -.045em; line-height: 1; }
.project-status { flex: 0 0 auto; padding: 8px 12px; border: 1px solid #3b3934; border-radius: 999px; color: #999388; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.project-story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 30px; }
.story-block { min-height: 180px; padding: 4px 30px 0 0; }
.story-block + .story-block { padding-left: 30px; border-left: 1px solid var(--line); }
.story-block span { display: block; margin-bottom: 16px; color: var(--gold); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.story-block p { margin: 0; color: #b8b3a8; font-size: 1rem; }

.history { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.history-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.history-copy { padding-top: 36px; }
.history-copy p { margin: 0 0 20px; color: #bbb6ab; font-size: 1.05rem; }
.release-list { display: grid; gap: 16px; margin-top: 64px; }
.history-empty { padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #777269; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
.release-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, #151515 0%, #0f0f0f 100%); }
.release-meta { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 24px; color: var(--gold-soft); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.release-meta time { color: #7f7a70; font-weight: 600; }
.release-card h3 { margin: 0 0 16px; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.04em; }
.release-card > p { margin: 0; max-width: 760px; color: #b8b3a8; }
.release-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.release-links a, .social-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid #3b3934; border-radius: 999px; color: #c7c2b7; font-size: .76rem; font-weight: 700; }
.release-links a:hover, .social-links a:hover { border-color: #6e685a; color: var(--text); }

.about { border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about-copy { padding-top: 36px; }
.about-copy p { margin: 0 0 22px; color: #bbb6ab; font-size: 1.05rem; }

.prelaunch { text-align: center; }
.prelaunch-inner { max-width: 860px; padding: 74px 34px; border: 1px solid rgba(183,154,88,.3); border-radius: 30px; background: radial-gradient(circle at 50% 0%, rgba(183,154,88,.09), transparent 48%); }
.prelaunch h2 { font-size: clamp(2.3rem, 5vw, 4.6rem); }
.prelaunch p:last-child { max-width: 620px; margin: 28px auto 0; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 120px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.social-links { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-inner p { margin: 0; color: #716d64; font-size: .78rem; }

@media (max-width: 860px) {
  .nav { display: none; }
  .hero { min-height: 86vh; }
  .hero::before { width: 420px; height: 420px; right: -260px; }
  .hero::after { display: none; }
  .manifesto-grid, .section-head, .history-grid, .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .project-story { grid-template-columns: 1fr; }
  .story-block { min-height: auto; padding: 0 0 26px; }
  .story-block + .story-block { padding: 26px 0; border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 82px 0; }
}

@media (max-width: 520px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 66px; }
  .hero-inner { padding-top: 105px; padding-bottom: 70px; }
  .hero h1 { font-size: clamp(3rem, 17vw, 4.7rem); }
  .manifesto-grid { grid-template-columns: 1fr; }
  .principle-list article { grid-template-columns: 48px 1fr; min-height: 94px; }
  .project-card, .release-card { padding: 24px; }
  .project-head, .release-meta { flex-direction: column; }
  .footer-inner { flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
