/* ── Reset & Variables ──────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #08080a;
    --bg-card: #111114;
    --bg-card-hover: #18181c;
    --text: #e4e4e7;
    --text-dim: #a1a1aa;
    --text-muted: #52525b;
    --accent: #e8a523;
    --accent-dim: rgba(232, 165, 35, 0.12);
    --border: #1e1e22;
    --border-light: #3f3f46;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-sans: 'DM Sans', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Grain ─────────────────────────────────────────── */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}

/* ── Hero (the whole page) ─────────────────────────── */
.hero {
    padding: 80px 0;
    width: 100%;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(232, 165, 35, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.hero-inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.pulse {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(232, 165, 35, 0.4); }
    50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(232, 165, 35, 0); }
}

.sep { color: var(--text-muted); }

.hero h1 {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(48px, 7vw, 72px);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-tagline {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.hero-body {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 56px;
}

/* ── Link Sections ─────────────────────────────────── */
.links-section {
    margin-bottom: 40px;
}

.links-section:last-child {
    margin-bottom: 0;
}

.links-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.link-list {
    display: flex;
    flex-direction: column;
}

.link-list a {
    display: flex;
    align-items: baseline;
    gap: 12px;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s;
}

.link-list a:first-child {
    border-top: 1px solid var(--border);
}

.link-list a:hover {
    padding-left: 8px;
}

.link-list a:hover .link-title {
    color: var(--accent);
}

.link-title {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 15px;
    color: var(--text);
    transition: color 0.2s;
    white-space: nowrap;
}

.link-desc {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

/* ── Animations ────────────────────────────────────── */
.hero-label, .hero h1, .hero-tagline, .hero-body, .links-section {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.5s ease forwards;
}

.hero h1 { animation-delay: 0.1s; }
.hero-tagline { animation-delay: 0.2s; }
.hero-body { animation-delay: 0.3s; }
.links-section:nth-child(4) { animation-delay: 0.4s; }
.links-section:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 480px) {
    .hero h1 { font-size: 40px; }
    .hero-tagline { font-size: 15px; }
    .link-desc { display: none; }
}
