:root {
    --bg: #070708;
    --panel: rgba(255,255,255,0.055);
    --panel-2: #111114;
    --panel-3: #19191d;
    --text: #f6f2e8;
    --muted: #b6ad9a;
    --dim: #7d7568;
    --line: rgba(246,242,232,0.12);
    --gold: #c9a24a;
    --gold-2: #f3d98b;
    --green: #36d399;
    --violet: #9f7aea;
    --red: #ef4444;
    --shadow: 0 24px 80px rgba(0,0,0,0.42);
    --max: 1240px;
    --radius: 28px;
    --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 20% 0%, rgba(159,122,234,0.16), transparent 34%), radial-gradient(circle at 88% 8%, rgba(54,211,153,0.12), transparent 30%), var(--bg); color: var(--text); font-family: var(--sans); min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.site-header { position: sticky; top: 0; z-index: 100; min-height: 76px; padding: 14px clamp(16px,4vw,40px); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); background: rgba(7,7,8,0.76); backdrop-filter: blur(22px); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-sigil { width: 42px; height: 42px; border: 1px solid rgba(201,162,74,0.35); border-radius: 16px; display: grid; place-items: center; color: var(--gold-2); background: radial-gradient(circle at 70% 20%, rgba(159,122,234,0.32), transparent 40%), radial-gradient(circle at 30% 80%, rgba(54,211,153,0.3), transparent 40%), #08080a; box-shadow: 0 0 40px rgba(201,162,74,0.12); }
.brand-word { letter-spacing: -0.08em; font-size: 26px; line-height: 1; }
.brand-word em { color: var(--gold-2); font-style: normal; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a, .eyebrow, .meta, .button { text-transform: uppercase; letter-spacing: 0.22em; font-size: 12px; font-weight: 800; }
.site-nav a { color: var(--muted); }
.site-nav a:hover { color: var(--text); }
.site-actions { display: flex; align-items: center; gap: 10px; }
.menu-button { display: none; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); background: var(--panel); }
.button, .button:visited { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; border: 1px solid rgba(201,162,74,0.38); color: var(--gold-2); background: rgba(201,162,74,0.08); border-radius: 999px; padding: 0 20px; transition: 180ms ease; }
.button:hover { background: var(--gold-2); color: #060606; }
.button.ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,0.04); }
.user-chip { border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; color: var(--gold-2); font: 12px var(--mono); }
.site-main { min-height: calc(100vh - 180px); }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.hero { position: relative; overflow: hidden; padding: 90px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(320px,0.95fr); gap: 36px; align-items: end; }
.hero h1 { margin: 18px 0 0; font-size: clamp(3.4rem, 9vw, 8rem); line-height: 0.86; text-transform: uppercase; letter-spacing: -0.08em; }
.hero-copy { max-width: 760px; margin: 24px 0 0; color: rgba(246,242,232,0.75); font-size: clamp(1rem,2vw,1.25rem); line-height: 1.75; }
.hero-card, .panel, .article-card, .issue-card { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)); box-shadow: var(--shadow); }
.hero-card { padding: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.sigils { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 22px; }
.sigil-tile { min-height: 112px; padding: 18px; border-radius: 22px; border: 1px solid var(--line); background: rgba(0,0,0,0.22); display: flex; flex-direction: column; justify-content: space-between; }
.sigil-tile strong { font-size: 28px; color: var(--gold-2); }
.sigil-tile span { color: var(--muted); font: 12px var(--mono); }
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.section-header { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.section-title { margin: 10px 0 0; font-size: clamp(2.1rem, 5vw, 4rem); line-height: 0.95; letter-spacing: -0.06em; text-transform: uppercase; }
.section-copy { color: var(--muted); line-height: 1.7; max-width: 760px; }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.article-card, .issue-card, .panel { padding: 22px; }
.article-card { min-height: 260px; display: flex; flex-direction: column; }
.article-card h3 { margin: 12px 0 0; font-size: 1.35rem; line-height: 1.1; }
.article-card p { color: var(--muted); line-height: 1.6; }
.article-card .button { margin-top: auto; align-self: flex-start; }
.reader-stage { min-height: 680px; position: relative; border-top: 1px solid var(--line); }
.article-shell { max-width: 840px; margin: 0 auto; padding: 64px 20px; }
.article-shell h1 { font-size: clamp(2.5rem,7vw,5rem); line-height: 0.9; letter-spacing: -0.06em; text-transform: uppercase; }
.article-body { color: rgba(246,242,232,0.82); line-height: 1.85; font-size: 1.08rem; white-space: pre-wrap; }
.form-grid { display: grid; gap: 14px; }
.input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 18px; background: rgba(0,0,0,0.35); color: var(--text); padding: 14px 16px; outline: none; }
textarea { min-height: 160px; resize: vertical; }
.site-footer { border-top: 1px solid var(--line); padding: 34px clamp(16px,4vw,40px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: rgba(0,0,0,0.32); }
.site-footer p { margin: 6px 0 0; color: var(--dim); }
.footer-subscribe { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-subscribe input { min-height: 46px; min-width: 260px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.04); color: var(--text); padding: 0 18px; }
.footer-subscribe button { min-height: 46px; border-radius: 999px; border: 0; padding: 0 18px; background: var(--text); color: #050505; font-weight: 900; text-transform: uppercase; letter-spacing: 0.16em; }
.footer-subscribe output { width: 100%; color: var(--green); font-size: 13px; }
.hidden { display: none !important; }
@media (max-width: 900px) {
    .site-nav { display: none; position: absolute; left: 16px; right: 16px; top: 76px; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: rgba(7,7,8,0.96); flex-direction: column; align-items: flex-start; }
    .site-header.is-menu-open .site-nav { display: flex; }
    .menu-button { display: inline-grid; place-items: center; }
    .hero-grid, .grid { grid-template-columns: 1fr; }
    .site-footer, .section-header { flex-direction: column; align-items: flex-start; }
    .sigils { grid-template-columns: 1fr; }
}
