/* ============================================
   $TEST — Redesign
   Editorial / anti-slop aesthetic
   ============================================ */

:root {
    --black: #0a0a0a;
    --surface: #111;
    --border: #222;
    --border-light: #333;
    --text: #ccc5b9;
    --text-dim: #666;
    --text-muted: #444;
    --white: #ebe6df;
    --accent: #4a90d9;
    --accent-dim: #2a5a8a;
    --accent-glow: rgba(74, 144, 217, 0.15);

    --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', 'Courier New', monospace;

    --ease: cubic-bezier(0.25, 1, 0.5, 1);
    --nav-h: 56px;
}

/* Grain overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

body {
    font-family: var(--sans);
    background: var(--black);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

body.intro-active { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--accent); color: var(--black); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }

/* ===== INTRO ===== */
.intro {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

.intro.done {
    transform: translateY(-100%);
    pointer-events: none;
}

.intro__content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.intro__pct {
    font-family: var(--mono);
    font-size: clamp(5rem, 12vw, 9rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.intro__sign {
    font-size: 0.45em;
    color: var(--accent);
    vertical-align: super;
    margin-left: 2px;
}

.intro__sub {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.intro__line {
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.intro__line.expand {
    width: 120px;
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 100;
    transition: background 0.4s, backdrop-filter 0.4s;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
}

.nav__logo {
    font-family: var(--mono);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
    letter-spacing: 0.04em;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    font-size: 0.82rem;
    color: var(--text-dim);
    transition: color 0.25s;
    letter-spacing: 0.02em;
}
.nav__link:hover { color: var(--text); }

.nav__cta {
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--accent);
    padding: 7px 16px;
    border: 1px solid var(--accent-dim);
    border-radius: 4px;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.15s ease-out;
    letter-spacing: 0.02em;
}
.nav__cta:hover {
    background: var(--accent);
    color: var(--black);
    box-shadow: 0 0 16px var(--accent-glow), 0 2px 8px rgba(0,0,0,0.3);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 80px) 32px 80px;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(74,144,217,0.07) 0%, transparent 70%);
    transform: translate(-50%, -30%);
    pointer-events: none;
    animation: ambientDrift 12s ease-in-out infinite alternate;
}

@keyframes ambientDrift {
    0% { transform: translate(-50%, -30%) scale(1); opacity: 0.7; }
    100% { transform: translate(-45%, -35%) scale(1.15); opacity: 1; }
}

.hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero__label {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero__title {
    font-family: var(--sans);
    font-size: clamp(5rem, 13vw, 11rem);
    font-weight: 700;
    line-height: 0.88;
    color: var(--white);
    letter-spacing: -0.04em;
    margin-bottom: 32px;
    overflow: hidden;
    will-change: transform, opacity;
}

.hero__title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.hero__title.revealed .char {
    opacity: 1;
    transform: none;
}

.hero__title .char:nth-child(1) { transition-delay: 0s; }
.hero__title .char:nth-child(2) { transition-delay: 0.06s; }
.hero__title .char:nth-child(3) { transition-delay: 0.12s; }
.hero__title .char:nth-child(4) { transition-delay: 0.18s; }
.hero__title .char:nth-child(5) { transition-delay: 0.24s; }

.hero__desc {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-dim);
    max-width: 480px;
    background: linear-gradient(90deg, var(--text-dim) 40%, var(--text) 50%, var(--text-dim) 60%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 6s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% { background-position: 100% 0; }
    50% { background-position: -100% 0; }
}

/* Hero data block — animated rotating border */
.hero__data {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 8px;
    overflow: visible;
    z-index: 1;
}

.hero__data::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 9px;
    padding: 1px;
    background: conic-gradient(from var(--glow-angle, 0deg), transparent 40%, var(--accent) 50%, transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: glowSpin 4s linear infinite;
    opacity: 0.5;
    transition: opacity 0.4s;
}

.hero__data:hover::before {
    opacity: 1;
}

@property --glow-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes glowSpin {
    to { --glow-angle: 360deg; }
}

.hero__data-inner {
    background: var(--black);
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color 0.5s;
}

.hero__data:hover .hero__data-inner {
    border-color: transparent;
}

.hero__datum {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
    position: relative;
}

.hero__datum:hover {
    background: rgba(74, 144, 217, 0.04);
}

.hero__datum:last-child { border-bottom: none; }

.hero__datum-label {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero__datum-value {
    font-family: var(--mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.hero__datum-value--accent {
    color: var(--accent);
}

/* ===== PROGRESS ===== */
.progress {
    padding: 100px 32px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74,144,217,0.04) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.progress__inner {
    max-width: 900px;
    margin: 0 auto;
}

.progress__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 32px;
}

.progress__head-left {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.progress__cycle {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--accent);
    letter-spacing: 0.06em;
    opacity: 0.7;
}

.progress__label {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.progress__pct-display {
    font-family: var(--mono);
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.progress__pct-display .progress__pct {
    color: var(--accent);
}

/* Bar */
.progress__bar-wrap {
    margin-bottom: 24px;
}

.progress__bar {
    height: 6px;
    background: var(--surface);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress__fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: var(--accent);
    border-radius: 3px;
    transition: width 2.4s var(--ease);
}

.progress__scale {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-family: var(--mono);
    font-size: 0.62rem;
    color: var(--text-muted);
}

/* Foot */
.progress__foot {
    display: flex;
    justify-content: space-between;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.progress__foot-item--end { text-align: right; }

.progress__foot-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.progress__foot-value {
    font-family: var(--mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.progress__caption {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 20px;
    line-height: 1.6;
}

/* Status banner */
.progress__status {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 24px;
    background: var(--black);
    transition: border-color 0.5s, background 0.5s;
}

.progress__status.visible { display: flex; }

.progress__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.progress__status-text {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--text-dim);
    letter-spacing: 0.02em;
}

/* State: almost (85–99%) */
.progress--almost .progress__status {
    border-color: var(--accent-dim);
}

.progress--almost .progress__status-dot {
    animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* State: ready (≥100%) */
.progress--ready .progress__status {
    border-color: #34d399;
}

.progress--ready .progress__status-dot {
    background: #34d399;
    animation: dotPulseGreen 2s ease-in-out infinite;
}

.progress--ready .progress__fill {
    background: #34d399;
}

.progress--ready .progress__pct {
    color: #34d399;
}

@keyframes dotPulseGreen {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ===== THE VAULT ===== */
.vault {
    padding: 80px 32px;
    border-bottom: 1px solid var(--border);
}

.vault__inner {
    max-width: 900px;
    margin: 0 auto;
}

.vault__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
    gap: 24px;
}

.vault__head-left {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.vault__heading {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.vault__count {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.vault__next {
    text-align: right;
    flex-shrink: 0;
}

.vault__next-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    letter-spacing: 0.04em;
}

.vault__next-value {
    font-family: var(--mono);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
}

/* Vault grid */
.vault__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    perspective: 800px;
}

/* Base cell */
.vault__cell {
    position: relative;
    aspect-ratio: 0.8;
    border-radius: 10px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.5s var(--ease);
}

.vault__cell:hover {
    transform: translateY(-3px) rotateX(2deg);
}

/* --- Empty / locked cells --- */
.vault__cell--empty {
    border: 1px dashed var(--border);
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vault__cell-num {
    font-family: var(--mono);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--border-light);
    letter-spacing: -0.02em;
    user-select: none;
}

/* --- Next cell (pulsing) --- */
.vault__cell--next {
    border: 1px solid var(--accent-dim);
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.vault__cell--next::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 11px;
    border: 1px solid var(--accent);
    opacity: 0;
    animation: vaultPulse 3s ease-in-out infinite;
}

.vault__cell--next .vault__cell-num {
    color: var(--accent-dim);
}

.vault__cell--next .vault__cell-label {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: var(--mono);
    font-size: 0.62rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@keyframes vaultPulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.008); }
}

/* --- Filled cell (acquired whale) --- */
.vault__cell--filled {
    border: 1px solid var(--border);
    background: var(--black);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.vault__cell--filled:hover {
    border-color: var(--accent-dim);
}

.vault__cell-img {
    width: 100%;
    flex: 1;
    object-fit: cover;
    display: block;
    background: var(--surface);
}

.vault__cell-body {
    padding: 14px 16px;
    border-top: 1px solid var(--border);
}

.vault__cell-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vault__cell-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vault__cell-price {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
}

.vault__cell-date {
    font-family: var(--mono);
    font-size: 0.62rem;
    color: var(--text-muted);
}

/* Flip-in animation for newly acquired */
.vault__cell--reveal {
    animation: vaultReveal 0.8s var(--ease) both;
}

@keyframes vaultReveal {
    0% { transform: rotateY(-90deg) scale(0.9); opacity: 0; }
    60% { transform: rotateY(8deg) scale(1.02); opacity: 1; }
    100% { transform: rotateY(0deg) scale(1); opacity: 1; }
}

/* ===== ORIGIN — Vertical Timeline ===== */
.origin {
    padding: 100px 32px;
    border-bottom: 1px solid var(--border);
}

.origin__inner {
    max-width: 800px;
    margin: 0 auto;
}

.origin__heading {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 72px;
    line-height: 1.1;
    text-align: center;
}

.origin__timeline {
    position: relative;
    padding-left: 56px;
}

/* Vertical line track */
.origin__timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: var(--border);
}

/* Animated fill beam */
.origin__beam {
    position: absolute;
    left: 19px;
    top: 4px;
    width: 2px;
    height: 0;
    background: linear-gradient(180deg, var(--accent), rgba(74,144,217,0.2));
    transition: height 0.1s linear;
    z-index: 1;
}

.origin__step {
    position: relative;
    padding-bottom: 56px;
}

.origin__step:last-child {
    padding-bottom: 0;
}

/* Dot on timeline */
.origin__dot {
    position: absolute;
    left: -56px;
    top: 2px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.origin__dot::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--black);
    transition: border-color 0.5s, background 0.5s, box-shadow 0.5s;
}

.origin__step.lit .origin__dot::before {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow), 0 0 24px rgba(74,144,217,0.1);
}

.origin__num {
    font-family: var(--mono);
    font-size: 0.62rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
    transition: color 0.5s;
}

.origin__step.lit .origin__num {
    color: var(--accent);
}

.origin__step-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.origin__step-text {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 560px;
}

/* ===== LINKS — Card Grid ===== */
.links {
    padding: 60px 32px;
}

.links__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.links__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px 28px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--black);
    transition: border-color 0.35s, background 0.35s, transform 0.35s var(--ease);
    position: relative;
    overflow: hidden;
    min-height: 140px;
}

.links__item::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(74,144,217,0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.links__item:hover::before {
    opacity: 1;
}

.links__item:hover {
    border-color: var(--accent-dim);
    transform: translateY(-2px);
}

.links__item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.links__item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    transition: color 0.25s;
}

.links__item:hover .links__item-title { color: var(--accent); }

.links__arrow {
    font-size: 1rem;
    color: var(--text-muted);
    transition: color 0.25s, transform 0.3s;
    flex-shrink: 0;
    margin-top: 2px;
}

.links__item:hover .links__arrow { color: var(--accent); transform: translate(3px, -3px); }

.links__item-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer {
    padding: 48px 32px;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

.footer__label {
    display: block;
    font-family: var(--mono);
    font-size: 0.62rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.footer__address {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-dim);
    transition: color 0.25s;
}

.footer__address:hover { color: var(--accent); }

.footer__right {
    text-align: right;
}

.footer__right p {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.footer__dim {
    color: var(--text-muted) !important;
    font-size: 0.72rem !important;
    margin-top: 2px;
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: var(--white);
    color: var(--black);
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===== REVEALS ===== */
[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
}

[data-reveal].visible {
    opacity: 1;
    transform: none;
    filter: blur(0);
}

/* Stagger origin steps (for data-reveal) */
.origin__step[data-reveal]:nth-child(2) { transition-delay: 0.15s; }
.origin__step[data-reveal]:nth-child(3) { transition-delay: 0.30s; }
.origin__step[data-reveal]:nth-child(4) { transition-delay: 0.45s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        padding-top: calc(var(--nav-h) + 48px);
        padding-bottom: 48px;
    }

    .hero__title {
        font-size: clamp(3.5rem, 16vw, 6rem);
    }

    .origin__timeline {
        padding-left: 48px;
    }

    .origin__dot {
        left: -48px;
    }

    .links__inner {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .footer__right { text-align: left; }

    .nav__links { gap: 16px; }

    .nav__link { display: none; }

    .progress__head {
        flex-direction: column;
        gap: 12px;
    }

    .vault__head {
        flex-direction: column;
        gap: 16px;
    }

    .vault__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    html { font-size: 15px; }

    .hero__title { font-size: 3.2rem; }

    .progress__pct-display { font-size: 2.8rem; }

    .hero::before { width: 400px; height: 400px; }

    .origin__timeline {
        padding-left: 40px;
    }

    .origin__dot {
        left: -40px;
        width: 32px;
        height: 32px;
    }

    .links__inner {
        grid-template-columns: 1fr;
    }

    .vault__grid {
        grid-template-columns: 1fr;
    }
}
