/* ===========================================================
   SunStave — Shared Auth Design System
   Obsidian & Gold. Reuses the exact tokens from sunstave.com
   =========================================================== */

:root {
    --bg-primary: #090909;
    --bg-secondary: #111111;
    --surface: #171717;
    --card: #1C1C1C;
    --elevated: #1B1B1B;
    --border: #2A2A2A;
    --border-soft: rgba(255, 255, 255, 0.08);
    --text-primary: #F7F7F7;
    --text-secondary: #A7A7A7;
    --text-muted: #6E6E6E;
    --gold-primary: #C7A86B;
    --gold-bright: #E2C27D;
    --gold-dark: #947542;
    --danger: #D97757;
    --success: #7DAF8C;
    --radius: 20px;
    --radius-sm: 12px;
    --font-display: 'General Sans', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Global content protection (paired with assets/js/protect.js) ── */
html.sunstave-protected {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
html.sunstave-protected img {
    -webkit-user-drag: none;
    pointer-events: auto;
}
/* Inputs and textareas still need to be selectable/editable to be usable */
html.sunstave-protected input,
html.sunstave-protected textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    user-select: text;
}

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: -0.006em;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--gold-primary);
    color: #14120f;
    padding: 12px 20px;
    z-index: 999;
    border-radius: 0 0 8px 0;
    font-weight: 600;
    font-size: 13px;
}
.skip-link:focus { left: 0; }

:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ── Shell layout ─────────────────────────────────────── */
.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 45fr 55fr;
}

@media (max-width: 980px) {
    .auth-shell { grid-template-columns: 1fr; }
}

/* ── Left editorial panel ─────────────────────────────── */
.auth-brand {
    position: relative;
    background: var(--bg-primary);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 48px;
    min-height: 100vh;
    isolation: isolate;
}

@media (max-width: 980px) {
    .auth-brand { min-height: auto; padding: 48px 28px 40px; }
}

.auth-brand-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.055;
    background-image:
        linear-gradient(rgba(255,255,255,0.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.4) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, black 25%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, black 25%, transparent 78%);
}

.auth-brand-glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 55% 45% at 50% 18%, rgba(199,168,107,0.10), transparent 70%);
    pointer-events: none;
}

.auth-particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.auth-particles span {
    position: absolute;
    width: 2px; height: 2px;
    border-radius: 50%;
    background: rgba(199,168,107,0.55);
    animation: particleFloat 9s ease-in-out infinite;
}
@keyframes particleFloat {
    0%, 100% { transform: translateY(0); opacity: 0.15; }
    50% { transform: translateY(-16px); opacity: 0.75; }
}

.auth-brand-content {
    position: relative;
    z-index: 1;
    max-width: 420px;
    text-align: center;
}

.brand-logo {
    width: min(280px, 70%);
    height: auto;
    margin: 0 auto 34px;
    display: block;
    animation: logoBreathe 6s ease-in-out infinite;
}
@keyframes logoBreathe {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(199,168,107,0)); }
    50% { filter: drop-shadow(0 0 14px rgba(199,168,107,0.35)); }
}

.brand-heading {
    font-family: var(--font-display);
    font-size: clamp(26px, 2.6vw, 32px);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin-bottom: 16px;
}
.brand-heading em {
    font-style: normal;
    color: var(--gold-primary);
    display: block;
}

.brand-sub {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 52px;
}

/* ── Ecosystem diagram ────────────────────────────────── */
.ecosystem {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}
.ecosystem-core {
    width: 84px;
    height: 84px;
    margin: 0 auto 8px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #2a2418, var(--card) 70%);
    border: 1px solid rgba(199,168,107,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.ecosystem-core svg { width: 30px; height: 30px; color: var(--gold-primary); }
.ecosystem-core img { width: 40px; height: 40px; object-fit: contain; }
.ecosystem-core::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(199,168,107,0.18);
    animation: coreRing 4s var(--ease-out-expo) infinite;
}
@keyframes coreRing {
    0% { transform: scale(0.9); opacity: 0.9; }
    100% { transform: scale(1.4); opacity: 0; }
}
.ecosystem-label {
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-primary);
    font-weight: 600;
    margin-bottom: 28px;
}
.ecosystem-nodes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.eco-node {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
    overflow: hidden;
}
.eco-node svg { width: 16px; height: 16px; color: var(--gold-dark); margin: 0 auto 6px; display: block; }
.eco-node .pulse-dot {
    position: absolute;
    top: -3px;
    left: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold-bright);
    box-shadow: 0 0 6px 1px rgba(226,194,125,0.8);
    opacity: 0;
    animation: nodePulse 8s ease-in-out infinite;
}
.eco-node:nth-child(1) .pulse-dot { animation-delay: 0s; }
.eco-node:nth-child(2) .pulse-dot { animation-delay: 1.3s; }
.eco-node:nth-child(3) .pulse-dot { animation-delay: 2.6s; }
.eco-node:nth-child(4) .pulse-dot { animation-delay: 3.9s; }
.eco-node:nth-child(5) .pulse-dot { animation-delay: 5.2s; }
@keyframes nodePulse {
    0%, 92%, 100% { opacity: 0; transform: translate(-50%, 0); }
    4% { opacity: 1; transform: translate(-50%, 30px); }
    10% { opacity: 0; transform: translate(-50%, 46px); }
}

/* ── Right side: auth card ────────────────────────────── */
.auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    background: var(--bg-secondary);
    min-height: 100vh;
}
@media (max-width: 980px) { .auth-panel { min-height: auto; padding: 40px 20px 64px; } }

.auth-card-wrap { width: 100%; max-width: 460px; }

.auth-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 48px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
@media (max-width: 560px) { .auth-card { padding: 32px 24px; } }

.auth-card-logo {
    width: 168px;
    height: auto;
    margin-bottom: 28px;
    display: block;
}

.auth-heading {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.auth-desc {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}
.auth-desc strong { color: var(--text-primary); font-weight: 600; }

/* ── Form elements ─────────────────────────────────────── */
.field { margin-bottom: 20px; }
.field-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}
.field-input {
    width: 100%;
    background: var(--elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 15px;
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.field-input::placeholder { color: var(--text-muted); }
.field-input:hover { border-color: #3a3a3a; }
.field-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(199,168,107,0.14);
    background: #1f1f1f;
}
.field-input.is-invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(217,119,87,0.12);
}
.field-error {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--danger);
    margin-top: 8px;
    line-height: 1.4;
}
.field-error.is-visible { display: flex; }
.field-error svg { width: 13px; height: 13px; flex-shrink: 0; }

.field-select {
    width: 100%;
    background: var(--elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 15px;
    color: var(--text-primary);
    font-family: var(--font-body);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A7A7A7' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    transition: border-color 0.25s ease;
}
.field-select:focus { outline: none; border-color: var(--gold-primary); }

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
    cursor: pointer;
}
.checkbox-row input {
    appearance: none;
    width: 18px; height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: var(--elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    position: relative;
}
.checkbox-row input:checked {
    border-color: var(--gold-primary);
    background: var(--gold-primary);
}
.checkbox-row input:checked::after {
    content: '';
    position: absolute;
    left: 5px; top: 1px;
    width: 5px; height: 9px;
    border: solid #14120f;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.checkbox-row label {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.55;
    cursor: pointer;
}
.checkbox-row a { color: var(--gold-primary); text-decoration: underline; text-underline-offset: 2px; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.25s var(--ease-out-expo), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
}
.btn-primary {
    background: var(--gold-primary);
    color: #14120f;
}
.btn-primary:hover:not(:disabled) {
    background: var(--gold-bright);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(199,168,107,0.22);
}
.btn-primary:disabled {
    background: #3a3628;
    color: #7a7466;
    cursor: not-allowed;
    opacity: 0.6;
}
.btn-secondary {
    background: var(--elevated);
    color: var(--text-primary);
    border-color: var(--border);
}
.btn-secondary:hover:not(:disabled) {
    border-color: rgba(199,168,107,0.4);
    background: #202020;
}
.btn-secondary:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-social {
    background: var(--elevated);
    color: var(--text-primary);
    border-color: var(--border);
    font-weight: 500;
}
.btn-social:hover { border-color: #3a3a3a; background: #1f1f1f; }
.btn-social svg { width: 17px; height: 17px; }
.btn-ghost-link {
    background: transparent;
    border: none;
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    padding: 4px;
}
.btn-ghost-link:hover { color: var(--gold-bright); }
.btn-ghost-link:disabled { color: var(--text-muted); cursor: not-allowed; }

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 24px;
    padding: 4px 0;
}
.btn-back:hover { color: var(--text-primary); }
.btn-back svg { width: 14px; height: 14px; }

/* ── Divider ───────────────────────────────────────────── */
.divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 26px 0;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.social-stack { display: flex; flex-direction: column; gap: 12px; }

/* ── OTP boxes ─────────────────────────────────────────── */
.otp-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 8px 0 22px;
}
.otp-box {
    width: 52px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    font-family: var(--font-display);
    background: var(--elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease-spring);
    caret-color: var(--gold-primary);
}
@media (max-width: 400px) {
    .otp-box { width: 42px; height: 52px; font-size: 20px; }
    .otp-row { gap: 7px; }
}
.otp-box:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(199,168,107,0.14);
}
.otp-box.is-filled { border-color: rgba(199,168,107,0.5); transform: scale(1.03); }
.otp-box.is-invalid { border-color: var(--danger); animation: shake 0.4s ease; }
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.otp-meta {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}
.otp-timer { color: var(--gold-primary); font-weight: 600; font-variant-numeric: tabular-nums; }

.dev-note {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(199,168,107,0.08);
    border: 1px dashed rgba(199,168,107,0.3);
    font-size: 12.5px;
    color: var(--gold-primary);
    line-height: 1.55;
    text-align: center;
}
.dev-note strong { font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }

/* ── Loading state ─────────────────────────────────────── */
.loading-state { text-align: center; padding: 20px 0 8px; }
.loading-logo {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    position: relative;
}
.loading-logo img { width: 100%; height: 100%; object-fit: contain; animation: spinSlow 2.2s linear infinite; }
.loading-logo::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(199,168,107,0.25);
    border-top-color: var(--gold-bright);
    animation: spinSlow 1.4s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.loading-text { font-size: 14.5px; color: var(--text-secondary); }
.loading-dots span { animation: dotFade 1.4s infinite; opacity: 0.2; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotFade { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }

/* ── Success state ─────────────────────────────────────── */
.success-state { text-align: center; padding: 8px 0; }
.success-check {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: rgba(125,175,140,0.1);
    border: 1px solid rgba(125,175,140,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.success-check svg { width: 26px; height: 26px; color: var(--success); }
.success-check::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(125,175,140,0.3);
    animation: coreRing 1.6s var(--ease-out-expo) 1;
}
.success-heading { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.success-sub { font-size: 14px; color: var(--text-secondary); }

/* ── Footer links ──────────────────────────────────────── */
.auth-footer {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--text-muted);
}
.auth-footer a { color: var(--text-muted); transition: color 0.2s ease; }
.auth-footer a:hover { color: var(--gold-primary); }

.auth-switch {
    text-align: center;
    margin-top: 24px;
    font-size: 13.5px;
    color: var(--text-secondary);
}
.auth-switch a { color: var(--gold-primary); font-weight: 600; }
.auth-switch a:hover { color: var(--gold-bright); }

/* ── Step transitions ──────────────────────────────────── */
.auth-step { display: none; }
.auth-step.is-active {
    display: block;
    animation: stepIn 0.45s var(--ease-out-expo);
}
@keyframes stepIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Toast ─────────────────────────────────────────────── */
.toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--elevated);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 13.5px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s var(--ease-out-expo);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.toast-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-primary); flex-shrink: 0; }
.toast.is-error .toast-dot { background: var(--danger); }

/* ===========================================================
   Home Page Styles (merged from index.html)
   =========================================================== */
        :root {
            --bg-primary: #090909;
            --bg-secondary: #111111;
            --surface: #171717;
            --card: #1C1C1C;
            --border: #2A2A2A;
            --text-primary: #F6F6F6;
            --text-secondary: #A8A8A8;
            --text-muted: #777777;
            --gold-primary: #C7A86B;
            --gold-bright: #E2C27D;
            --gold-dark: #947542;
            --nav-height: 80px;
            --max-width: 1200px;
            --font-hero: clamp(60px, 8vw, 96px);
            --font-section-title: clamp(38px, 5.5vw, 52px);
            --font-body: 18px;
            --font-label: 12px;
            --font-display: 'General Sans', 'Inter', -apple-system, sans-serif;
            --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
            --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            text-rendering: optimizeLegibility;
        }

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

        body {
            background-color: var(--bg-primary);
            color: var(--text-primary);
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: var(--font-body);
            line-height: 1.72;
            letter-spacing: -0.011em;
            overflow-x: hidden;
            min-height: 100vh;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            -webkit-touch-callout: none;
        }
        img {
            -webkit-user-drag: none;
            user-drag: none;
            -webkit-touch-callout: none;
            pointer-events: auto;
        }

        ::selection {
            background: rgba(199, 168, 107, 0.3);
            color: var(--text-primary);
        }
        :focus-visible {
            outline: 2px solid var(--gold-primary);
            outline-offset: 3px;
            border-radius: 4px;
        }
        a:focus-visible {
            outline: 2px solid var(--gold-primary);
            outline-offset: 4px;
        }
        .skip-link {
            position: absolute;
            top: -100px;
            left: 16px;
            background: var(--gold-primary);
            color: var(--bg-primary);
            padding: 12px 20px;
            border-radius: 6px;
            z-index: 10000;
            font-weight: 600;
            font-size: 14px;
            text-decoration: none;
            transition: top 0.2s ease;
            letter-spacing: 0.02em;
        }
        .skip-link:focus {
            top: 16px;
        }

        /* ── Navigation ─────────────────────────── */
        .nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: var(--nav-height);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.4s var(--ease-out-expo),
                box-shadow 0.4s var(--ease-out-expo),
                backdrop-filter 0.4s var(--ease-out-expo);
            background-color: transparent;
            backdrop-filter: blur(0px);
            -webkit-backdrop-filter: blur(0px);
        }
        .nav.scrolled {
            background-color: rgba(9, 9, 9, 0.88);
            backdrop-filter: blur(20px) saturate(140%);
            -webkit-backdrop-filter: blur(20px) saturate(140%);
            box-shadow: 0 1px 0 var(--border);
        }
        .nav-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            max-width: var(--max-width);
            padding: 0 40px;
            height: 100%;
            position: relative;
        }
        .nav-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: var(--text-primary);
            flex-shrink: 0;
            z-index: 2;
        }
        .nav-logo img {
            height: 56px;
            width: auto;
            display: block;
            transition: opacity 0.3s ease;
        }
        .nav-logo:hover img {
            opacity: 0.85;
        }
        .nav-links {
            display: flex;
            align-items: center;
            gap: 12px;
            list-style: none;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            height: 100%;
        }
        .nav-item {
            position: relative;
            height: 100%;
            display: flex;
            align-items: center;
        }
        .nav-item>a {
            text-decoration: none;
            color: var(--text-secondary);
            font-size: 14px;
            font-weight: 450;
            letter-spacing: 0.025em;
            transition: color 0.25s ease;
            padding: 10px 18px;
            border-radius: 8px;
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 5px;
            cursor: pointer;
            position: relative;
            z-index: 1002;
        }
        .nav-item>a .chevron {
            display: inline-block;
            width: 14px;
            height: 14px;
            transition: transform 0.25s var(--ease-out-expo);
            opacity: 0.6;
        }
        .nav-item>a:hover {
            color: var(--text-primary);
        }
        .nav-item>a:hover .chevron {
            opacity: 1;
        }
        .nav-item.open>a {
            color: var(--gold-bright);
        }
        .nav-item.open>a .chevron {
            transform: rotate(180deg);
            opacity: 1;
        }
        .nav-account-wrap {
            position: relative;
            z-index: 2;
            flex-shrink: 0;
        }
        .nav-account-btn {
            text-decoration: none;
            color: var(--text-secondary);
            font-size: 13px;
            font-weight: 500;
            letter-spacing: 0.03em;
            transition: all 0.3s ease;
            padding: 10px 20px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            background: transparent;
            border: 1px solid transparent;
            font-family: inherit;
            white-space: nowrap;
            position: relative;
            z-index: 1002;
        }
        .nav-account-btn:hover {
            color: var(--gold-bright);
            border-color: rgba(199, 168, 107, 0.35);
            box-shadow: 0 0 22px rgba(199, 168, 107, 0.07);
        }
        .nav-account-btn .arrow {
            display: inline-block;
            transition: transform 0.3s var(--ease-out-expo);
            font-size: 13px;
        }
        .nav-account-btn:hover .arrow {
            transform: translateX(4px);
            color: var(--gold-primary);
        }
        .nav-account-wrap.open .nav-account-btn {
            color: var(--gold-bright);
            border-color: rgba(199, 168, 107, 0.5);
        }
        .nav-account-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            flex-shrink: 0;
            border-radius: 50%;
            color: var(--gold-primary);
            background: rgba(199, 168, 107, 0.12);
            border: 1px solid rgba(199, 168, 107, 0.3);
            transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
        }
        .nav-account-btn:hover .nav-account-icon,
        .nav-account-wrap.open .nav-account-icon {
            color: var(--gold-bright);
            background: rgba(199, 168, 107, 0.2);
            border-color: rgba(199, 168, 107, 0.55);
        }

        /* ── Mega Menu Panel ───────────────────── */
        .mega-menu-backdrop {
            position: fixed;
            top: var(--nav-height);
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 998;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
            backdrop-filter: blur(3px);
            -webkit-backdrop-filter: blur(3px);
        }
        .mega-menu-backdrop.visible {
            opacity: 1;
            pointer-events: all;
        }
        .mega-menu-container {
            position: fixed;
            top: calc(var(--nav-height) + 6px);
            left: 50%;
            transform: translateX(-50%) translateY(-10px);
            z-index: 999;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 20px;
            box-shadow: 0 28px 70px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
            width: calc(100vw - 48px);
            max-width: 1000px;
            padding: 32px 36px 28px;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.22s var(--ease-out-expo),
                transform 0.22s var(--ease-out-expo);
            display: grid;
            gap: 0;
            max-height: calc(100vh - var(--nav-height) - 40px);
            overflow-y: auto;
        }
        .mega-menu-container.visible {
            opacity: 1;
            pointer-events: all;
            transform: translateX(-50%) translateY(0);
        }
        .mega-menu-inner {
            display: grid;
            gap: 0;
            width: 100%;
        }
        .mega-menu-columns {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
            gap: 36px;
        }
        .mega-menu-col h4 {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.09em;
            color: var(--text-muted);
            margin-bottom: 16px;
            font-weight: 600;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }
        .mega-menu-col a {
            display: block;
            text-decoration: none;
            color: var(--text-secondary);
            font-size: 14px;
            padding: 7px 12px;
            margin: 0 -12px;
            border-radius: 7px;
            transition: all 0.18s ease;
            letter-spacing: 0.015em;
            line-height: 1.45;
            cursor: pointer;
        }
        .mega-menu-col a .mm-desc {
            display: block;
            font-size: 11px;
            color: var(--text-muted);
            font-weight: 400;
            letter-spacing: 0.02em;
            margin-top: 2px;
        }
        .mega-menu-col a:hover {
            background: rgba(255, 255, 255, 0.03);
            color: var(--gold-bright);
        }
        .mega-menu-featured {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 14px;
            padding: 20px 24px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 18px;
            transition: border-color 0.3s ease;
            cursor: pointer;
            text-decoration: none;
        }
        .mega-menu-featured:hover {
            border-color: #4a4a4a;
        }
        .mega-menu-footer-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            text-decoration: none;
            color: var(--gold-primary);
            font-size: 13px;
            font-weight: 500;
            letter-spacing: 0.03em;
            transition: gap 0.25s ease, color 0.25s ease;
            cursor: pointer;
            padding: 6px 0;
            margin-top: 8px;
        }
        .mega-menu-footer-link:hover {
            gap: 10px;
            color: var(--gold-bright);
        }

        /* ── Account Dropdown ──────────────────── */
        .account-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 16px;
            box-shadow: 0 22px 55px rgba(0, 0, 0, 0.7);
            width: 270px;
            padding: 8px 0;
            z-index: 1001;
            opacity: 0;
            pointer-events: none;
            transform: translateY(-8px);
            transition: opacity 0.22s var(--ease-out-expo),
                transform 0.22s var(--ease-out-expo);
        }
        .nav-account-wrap.open .account-dropdown {
            opacity: 1;
            pointer-events: all;
            transform: translateY(0);
        }
        .account-dropdown a {
            display: block;
            text-decoration: none;
            color: var(--text-secondary);
            font-size: 13px;
            padding: 10px 22px;
            letter-spacing: 0.02em;
            transition: all 0.18s ease;
            cursor: pointer;
        }
        .account-dropdown a:hover {
            background: rgba(255, 255, 255, 0.03);
            color: var(--gold-bright);
        }
        .account-dropdown .ad-divider {
            border: none;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            margin: 8px 0;
        }
        .account-dropdown .ad-section-label {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-muted);
            padding: 8px 22px 4px;
            font-weight: 600;
        }

        /* ── Mobile Toggle ─────────────────────── */
        .nav-mobile-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
            z-index: 2;
            color: var(--text-primary);
            width: 40px;
            height: 40px;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            flex-shrink: 0;
        }
        .nav-mobile-toggle:hover {
            background: var(--surface);
        }
        .nav-mobile-toggle span {
            display: block;
            width: 22px;
            height: 2px;
            background: var(--text-primary);
            border-radius: 2px;
            position: relative;
            transition: background 0.2s ease;
        }
        .nav-mobile-toggle span::before,
        .nav-mobile-toggle span::after {
            content: '';
            position: absolute;
            width: 22px;
            height: 2px;
            background: var(--text-primary);
            border-radius: 2px;
            transition: transform 0.3s ease, top 0.3s ease;
            left: 0;
        }
        .nav-mobile-toggle span::before {
            top: -7px;
        }
        .nav-mobile-toggle span::after {
            top: 7px;
        }
        .nav-mobile-toggle.open span {
            background: transparent;
        }
        .nav-mobile-toggle.open span::before {
            top: 0;
            transform: rotate(45deg);
        }
        .nav-mobile-toggle.open span::after {
            top: 0;
            transform: rotate(-45deg);
        }

        @media (max-width: 960px) {
            .nav-links {
                display: none;
            }
            .nav-account-wrap {
                display: none;
            }
            .nav-mobile-toggle {
                display: flex;
            }
            .nav-inner {
                padding: 0 20px;
            }
            .nav-logo img {
                height: 48px;
            }
            .mega-menu-container,
            .mega-menu-backdrop,
            .account-dropdown {
                display: none !important;
            }
        }

        /* ── Mobile Menu Panel ─────────────────── */
        .mobile-menu-panel {
            position: fixed;
            top: var(--nav-height);
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 997;
            background: rgba(9, 9, 9, 0.98);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            padding: 28px 28px 40px;
            overflow-y: auto;
            transform: translateY(-12px);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
        }
        .mobile-menu-panel.open {
            opacity: 1;
            transform: translateY(0);
            pointer-events: all;
        }
        .mobile-menu-panel a {
            display: block;
            text-decoration: none;
            color: var(--text-primary);
            font-size: 20px;
            font-weight: 500;
            letter-spacing: -0.01em;
            padding: 16px 4px;
            border-bottom: 1px solid var(--border);
        }
        .mobile-menu-panel a:hover {
            color: var(--gold-bright);
        }
        .mobile-menu-panel .mobile-account-links {
            margin-top: 28px;
            padding-top: 8px;
        }
        .mobile-menu-panel .mobile-account-links a {
            font-size: 15px;
            color: var(--text-secondary);
            border-bottom: none;
            padding: 10px 4px;
        }
        .mobile-menu-panel .mobile-cta {
            display: inline-flex;
            margin-top: 24px;
            border-bottom: none;
            width: 100%;
            justify-content: center;
        }
        @media (min-width: 961px) {
            .mobile-menu-panel {
                display: none !important;
            }
        }

        /* ── Sections ──────────────────────────── */
        .section {
            padding: 140px 40px;
            max-width: var(--max-width);
            margin: 0 auto;
            position: relative;
        }
        @media (max-width: 768px) {
            .section {
                padding: 100px 24px;
            }
        }
        .section-label {
            font-size: var(--font-label);
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--text-muted);
            margin-bottom: 20px;
            font-weight: 500;
        }
        .section-title {
            font-family: var(--font-display);
            font-size: var(--font-section-title);
            font-weight: 340;
            letter-spacing: -0.02em;
            line-height: 1.08;
            margin-bottom: 24px;
            color: var(--text-primary);
        }
        .section-title strong {
            font-weight: 600;
        }
        .section-body {
            font-size: 18px;
            line-height: 1.72;
            color: var(--text-secondary);
            max-width: 640px;
            letter-spacing: -0.005em;
        }
        .gold-divider {
            width: 48px;
            height: 2px;
            background: var(--gold-primary);
            border-radius: 2px;
            margin: 0 0 28px 0;
        }

        /* ── Hero ──────────────────────────────── */
        .hero-section {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: calc(var(--nav-height) + 40px) 40px 60px;
            position: relative;
            text-align: center;
            overflow: hidden;
        }
        .hero-section::before {
            content: '';
            position: absolute;
            inset: -20px;
            z-index: 0;
            background-image: url('https://i.ibb.co/pj85D2tf/75fa175a-1bdf-4cae-aba1-7e5dbf33bb4e-1-1.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            filter: blur(14px);
            pointer-events: none;
        }
        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 640px;
            margin: 0 auto;
        }
        .hero-eyebrow {
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.16em;
            color: var(--gold-primary);
            margin-bottom: 22px;
        }
        .hero-headline {
            font-family: var(--font-display);
            font-size: clamp(46px, 5.4vw, 68px);
            font-weight: 600;
            letter-spacing: -0.005em;
            line-height: 1.15;
            color: var(--text-primary);
            margin-bottom: 26px;
        }
        .hero-headline em {
            font-style: normal;
            font-weight: 600;
            color: var(--gold-bright);
        }
        .hero-subheading {
            font-size: 18px;
            color: var(--text-secondary);
            line-height: 1.65;
            max-width: 460px;
            margin: 0 auto 44px;
            letter-spacing: -0.005em;
            font-weight: 400;
        }
        .hero-buttons {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            justify-content: center;
        }
        .hero-buttons .btn-ghost {
            padding-left: 32px;
        }
        .hero-buttons .btn-ghost::after {
            left: 32px;
            right: 32px;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 16px 32px;
            font-size: 15px;
            font-weight: 500;
            letter-spacing: 0.02em;
            border-radius: 10px;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s var(--ease-out-expo);
            border: 1px solid transparent;
            font-family: inherit;
            white-space: nowrap;
        }
        .btn-primary {
            background: var(--surface);
            color: var(--gold-bright);
            border-color: var(--gold-dark);
            box-shadow: 0 0 0 0 rgba(199, 168, 107, 0);
        }
        .btn-primary:hover {
            border-color: var(--gold-primary);
            box-shadow: 0 0 25px rgba(199, 168, 107, 0.15);
            color: var(--gold-bright);
        }
        .btn-ghost {
            background: transparent;
            color: var(--text-secondary);
            border-color: transparent;
            position: relative;
            padding-left: 0;
        }
        .btn-ghost::after {
            content: '';
            position: absolute;
            bottom: 6px;
            left: 0;
            right: 32px;
            height: 1px;
            background: var(--gold-primary);
            transform: scaleX(0);
            transition: transform 0.3s var(--ease-out-expo);
            transform-origin: left;
        }
        .btn-ghost:hover {
            color: var(--text-primary);
        }
        .btn-ghost:hover::after {
            transform: scaleX(1);
        }
        @media (max-width: 900px) {
            .hero-section {
                min-height: 80vh;
                padding: calc(var(--nav-height) + 32px) 24px 56px;
                background-position: 65% center;
            }
            .hero-content {
                max-width: 100%;
            }
        }
        @media (max-width: 600px) {
            .hero-headline {
                font-size: clamp(36px, 10vw, 48px);
            }
            .hero-buttons {
                flex-direction: column;
                align-items: stretch;
            }
            .hero-buttons .btn {
                justify-content: center;
            }
            .btn-ghost {
                padding-left: 32px;
            }
            .btn-ghost::after {
                left: 32px;
            }
        }


        /* ── Philosophy ─────────────────────────── */
        .manifesto-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px 80px;
            margin-top: 70px;
        }
        .manifesto-item-number {
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.1em;
            color: var(--gold-dark);
            margin-bottom: 8px;
        }
        .manifesto-item-title {
            font-size: 24px;
            font-weight: 500;
            letter-spacing: -0.015em;
            margin-bottom: 10px;
            color: var(--text-primary);
            line-height: 1.3;
        }
        .manifesto-item-body {
            font-size: 16px;
            color: var(--text-muted);
            line-height: 1.65;
        }
        @media (max-width: 700px) {
            .manifesto-grid {
                grid-template-columns: 1fr;
                gap: 50px;
            }
        }

        /* ── Products ──────────────────────────── */
        .products-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 32px;
            margin-top: 56px;
        }
        .product-card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 18px;
            padding: 44px 40px 40px;
            position: relative;
            overflow: hidden;
            cursor: default;
            transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s var(--ease-out-expo), border-color 0.45s ease;
        }
        .product-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 88% 0%, rgba(199, 168, 107, 0.18) 0%, rgba(199, 168, 107, 0.05) 32%, transparent 60%);
            opacity: 0;
            transition: opacity 0.6s var(--ease-out-expo);
            pointer-events: none;
        }
        .product-card::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 18px;
            padding: 1px;
            background: linear-gradient(135deg, rgba(199, 168, 107, 0.5), transparent 40%);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            opacity: 0;
            transition: opacity 0.5s ease;
            pointer-events: none;
        }
        .product-card:hover {
            border-color: rgba(199, 168, 107, 0.4);
            transform: translateY(-6px);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
        }
        .product-card:hover::before,
        .product-card:hover::after {
            opacity: 1;
        }
        .product-card-status {
            display: inline-block;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            padding: 6px 14px;
            border-radius: 20px;
            margin-bottom: 22px;
        }
        .status-development {
            background: rgba(199, 168, 107, 0.14);
            color: var(--gold-bright);
        }
        .status-published {
            background: rgba(120, 200, 140, 0.14);
            color: #8cd4a0;
        }
        .product-card-name {
            font-family: var(--font-display);
            font-size: 30px;
            font-weight: 550;
            letter-spacing: -0.015em;
            margin-bottom: 10px;
            color: var(--text-primary);
        }
        .product-card-desc {
            font-size: 15px;
            color: var(--text-muted);
            line-height: 1.6;
            max-width: 340px;
        }
        .product-card-icon {
            position: absolute;
            top: 34px;
            right: 34px;
            opacity: 0.45;
            transition: opacity 0.3s ease;
        }
        .product-card:hover .product-card-icon {
            opacity: 0.8;
        }
        .product-card-buttons {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            margin-top: 26px;
            position: relative;
            z-index: 1;
        }
        .product-card-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 11px 20px;
            font-size: 13.5px;
            font-weight: 500;
            letter-spacing: 0.01em;
            border-radius: 8px;
            text-decoration: none;
            transition: all 0.3s var(--ease-out-expo);
            border: 1px solid var(--border);
            cursor: pointer;
        }
        .product-card-btn-primary {
            background: rgba(140, 212, 160, 0.1);
            color: #8cd4a0;
            border-color: rgba(140, 212, 160, 0.3);
        }
        .product-card-btn-primary:hover {
            border-color: #8cd4a0;
            box-shadow: 0 0 18px rgba(140, 212, 160, 0.15);
        }
        .product-card-btn-ghost {
            background: transparent;
            color: var(--text-secondary);
        }
        .product-card-btn-ghost:hover {
            color: var(--gold-bright);
            border-color: rgba(199, 168, 107, 0.4);
        }
        @media (max-width: 700px) {
            .products-grid {
                grid-template-columns: 1fr;
            }
            .product-card {
                padding: 32px 28px;
            }
            .product-card-name {
                font-size: 26px;
            }
        }

        /* ── Research ──────────────────────────── */
        .research-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-top: 56px;
        }
        .research-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 14px;
            padding: 30px 30px 28px;
            transition: border-color 0.3s ease, background 0.3s ease;
            cursor: default;
        }
        .research-card:hover {
            border-color: #3d3d3d;
            background: #1a1a1a;
        }
        .research-card-category {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.09em;
            color: var(--gold-dark);
            margin-bottom: 8px;
            font-weight: 600;
        }
        .research-card-title {
            font-size: 20px;
            font-weight: 500;
            letter-spacing: -0.01em;
            color: var(--text-primary);
            margin-bottom: 6px;
        }
        .research-card-summary {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.5;
        }
        .research-card-status {
            display: inline-block;
            margin-top: 12px;
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.07em;
            padding: 4px 10px;
            border-radius: 12px;
            font-weight: 500;
        }
        .status-exploring {
            background: rgba(199, 168, 107, 0.1);
            color: var(--gold-bright);
        }
        .status-active {
            background: rgba(140, 212, 160, 0.1);
            color: #8cd4a0;
        }
        .status-prototype {
            background: rgba(120, 160, 220, 0.1);
            color: #9db8e0;
        }
        @media (max-width: 600px) {
            .research-grid {
                grid-template-columns: 1fr;
            }
        }

        /* ── Standards ──────────────────────────── */
        .standards-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-top: 60px;
        }
        .standard-item {
            display: flex;
            flex-direction: column;
            gap: 18px;
            padding: 36px 32px;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 16px;
            transition: border-color 0.35s ease, transform 0.35s var(--ease-out-expo), background 0.35s ease;
        }
        .standard-item:hover {
            border-color: rgba(199, 168, 107, 0.35);
            background: #1a1a1a;
            transform: translateY(-4px);
        }
        .standard-icon {
            font-size: 22px;
            width: 52px;
            height: 52px;
            flex-shrink: 0;
            color: var(--gold-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(199, 168, 107, 0.09);
            border: 1px solid rgba(199, 168, 107, 0.18);
            border-radius: 12px;
        }
        .standard-content h3 {
            font-family: var(--font-display);
            font-size: 20px;
            font-weight: 550;
            letter-spacing: -0.01em;
            margin-bottom: 8px;
            color: var(--text-primary);
        }
        .standard-content p {
            font-size: 15px;
            color: var(--text-muted);
            line-height: 1.6;
        }
        .standard-item.standard-wide {
            grid-column: span 3;
            flex-direction: row;
            align-items: center;
        }
        @media (max-width: 900px) {
            .standards-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .standard-item.standard-wide {
                grid-column: span 2;
            }
        }
        @media (max-width: 600px) {
            .standards-grid {
                grid-template-columns: 1fr;
                gap: 18px;
            }
            .standard-item.standard-wide {
                grid-column: span 1;
                flex-direction: column;
                align-items: flex-start;
            }
        }

        /* ── Experience (Ecosystem Constellation) ─ */
        .experience-visual {
            margin-top: 64px;
            position: relative;
        }
        .eco-stage {
            position: relative;
            width: 100%;
            max-width: 980px;
            aspect-ratio: 5 / 3;
            margin: 0 auto;
            border-radius: 24px;
            overflow: hidden;
            background: radial-gradient(ellipse 80% 70% at 50% 45%, #101010 0%, #0a0a0a 65%, #060606 100%);
            border: 1px solid var(--border);
        }
        .eco-grid {
            position: absolute;
            inset: 0;
            z-index: 1;
            opacity: 0.05;
            background-image:
                linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
            background-size: 42px 42px;
            pointer-events: none;
        }
        .eco-vignette {
            position: absolute;
            inset: 0;
            z-index: 2;
            pointer-events: none;
            background: radial-gradient(ellipse 60% 55% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
        }
        .eco-particle {
            position: absolute;
            width: 2px;
            height: 2px;
            border-radius: 50%;
            background: rgba(199, 168, 107, 0.5);
            z-index: 2;
            animation: ecoFloat 9s ease-in-out infinite;
        }
        @keyframes ecoFloat {
            0%, 100% { transform: translate(0, 0); opacity: 0.25; }
            50% { transform: translate(6px, -10px); opacity: 0.7; }
        }
        .eco-paths {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            z-index: 3;
            overflow: visible;
        }
        .eco-connector {
            fill: none;
            stroke: rgba(199, 168, 107, 0.16);
            stroke-width: 1.4;
            stroke-linecap: round;
            transition: stroke 0.5s ease, stroke-width 0.5s ease;
        }
        .eco-connector.is-active {
            stroke: rgba(199, 168, 107, 0.75);
            stroke-width: 1.8;
        }
        .eco-connector.is-dim {
            stroke: rgba(199, 168, 107, 0.06);
        }
        .eco-traveler {
            fill: var(--gold-bright);
            filter: drop-shadow(0 0 5px rgba(226, 194, 125, 0.9));
            opacity: 0;
        }
        .eco-burst-dot {
            fill: var(--gold-primary);
            opacity: 0;
        }
        .eco-core {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            z-index: 5;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            padding: 20px 34px;
            border-radius: 44px;
            background: linear-gradient(180deg, #1c1a15 0%, #141210 100%);
            border: 1px solid rgba(199, 168, 107, 0.45);
            box-shadow: 0 0 0 1px rgba(199, 168, 107, 0.08) inset, 0 12px 40px rgba(0, 0, 0, 0.55), 0 0 34px rgba(199, 168, 107, 0.14);
            animation: ecoCorePulse 5.5s ease-in-out infinite;
            text-align: center;
            white-space: nowrap;
        }
        .eco-core.is-active {
            box-shadow: 0 0 0 1px rgba(199, 168, 107, 0.16) inset, 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 50px rgba(199, 168, 107, 0.28);
        }
        @keyframes ecoCorePulse {
            0%, 100% { transform: translate(-50%, -50%) scale(1); }
            50% { transform: translate(-50%, -50%) scale(1.025); }
        }
        .eco-core-icon {
            width: 34px;
            height: 34px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .eco-core-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        .eco-core-label {
            font-family: var(--font-display);
            font-size: 14px;
            font-weight: 600;
            color: var(--text-primary);
            letter-spacing: 0.01em;
        }
        .eco-core-sub {
            font-size: 11px;
            color: var(--text-muted);
            letter-spacing: 0.02em;
        }
        .eco-node {
            position: absolute;
            left: var(--x);
            top: var(--y);
            transform: translate(-50%, -50%);
            z-index: 4;
            width: 178px;
            padding: 14px 16px 15px;
            background: rgba(23, 23, 23, 0.82);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid var(--border);
            border-radius: 14px;
            box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
            transition: transform 0.35s var(--ease-out-expo), border-color 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
            cursor: pointer;
            animation: ecoDrift 8s ease-in-out infinite;
        }
        .eco-node:nth-of-type(odd) { animation-duration: 9s; }
        .eco-node:hover,
        .eco-node.is-active {
            border-color: rgba(199, 168, 107, 0.55);
            transform: translate(-50%, -50%) translateY(-4px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(199, 168, 107, 0.15);
        }
        .eco-node.is-dim {
            opacity: 0.45;
        }
        @keyframes ecoDrift {
            0%, 100% { margin-top: 0; }
            50% { margin-top: -6px; }
        }
        .eco-node-top {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 8px;
        }
        .eco-node-icon {
            font-size: 16px;
            width: 30px;
            height: 30px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(199, 168, 107, 0.1);
            border: 1px solid rgba(199, 168, 107, 0.2);
            border-radius: 9px;
        }
        .eco-node-title {
            font-size: 13.5px;
            font-weight: 600;
            color: var(--text-primary);
            letter-spacing: -0.005em;
        }
        .eco-node-desc {
            font-size: 11.5px;
            color: var(--text-muted);
            line-height: 1.45;
            margin-bottom: 10px;
        }
        .eco-node-status {
            display: inline-block;
            font-size: 9.5px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            padding: 3px 9px;
            border-radius: 10px;
        }
        @media (max-width: 760px) {
            .eco-stage {
                aspect-ratio: auto;
                min-height: unset;
                padding: 40px 20px;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 22px;
            }
            .eco-paths { display: none; }
            .eco-core,
            .eco-node {
                position: static;
                transform: none;
                width: 100%;
                max-width: 320px;
                animation: none;
                margin: 0;
            }
            .eco-core { order: -1; margin-bottom: 4px; }
            .eco-node:hover,
            .eco-node.is-active {
                transform: none;
            }
        }

        /* ── Cinematics ─────────────────────────── */
        .cinematics-layout {
            display: grid;
            grid-template-columns: 45% 55%;
            gap: 56px;
            align-items: center;
            margin-top: 56px;
        }
        .cinematics-eyebrow {
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--gold-primary);
            margin-bottom: 18px;
        }
        .cinematics-heading {
            font-family: var(--font-display);
            font-size: clamp(30px, 3.6vw, 42px);
            font-weight: 550;
            letter-spacing: -0.02em;
            line-height: 1.08;
            color: var(--text-primary);
            margin-bottom: 10px;
        }
        .cinematics-sub {
            font-size: 16px;
            color: var(--gold-bright);
            font-weight: 500;
            margin-bottom: 20px;
        }
        .cinematics-desc {
            font-size: 15.5px;
            color: var(--text-secondary);
            line-height: 1.7;
            max-width: 440px;
            margin-bottom: 32px;
        }
        .cinematics-buttons {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }
        .cinematics-buttons .btn-ghost {
            padding-left: 0;
        }
        .cinematics-buttons .btn-ghost::after {
            left: 0;
            right: auto;
            width: 100%;
        }
        .ext-link-icon {
            width: 12px;
            height: 12px;
            display: inline-block;
        }
        .cinematics-featured-card {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            background: linear-gradient(135deg, #1c1a15 0%, var(--card) 55%, #14120f 100%);
            border: 1px solid var(--border);
            box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
            transition: border-color 0.4s ease, box-shadow 0.4s ease;
            display: flex;
            flex-direction: column;
        }
        .cinematics-featured-card:hover {
            border-color: var(--gold-primary);
            box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6), 0 0 30px rgba(199, 168, 107, 0.12);
        }
        .cinematics-featured-card .cinematics-video-embed {
            aspect-ratio: 16 / 9;
            height: auto;
        }
        .cinematics-featured-body {
            padding: 18px 24px 22px;
            position: relative;
            z-index: 2;
        }
        .cinematics-featured-title {
            font-family: var(--font-display);
            font-size: 18px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 4px;
        }
        .cinematics-featured-channel {
            font-size: 12.5px;
            color: var(--gold-primary);
            font-weight: 500;
        }
        .cinematics-featured-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image:
                repeating-linear-gradient(115deg, rgba(199,168,107,0.05) 0px, rgba(199,168,107,0.05) 1px, transparent 1px, transparent 46px),
                radial-gradient(ellipse 60% 60% at 30% 30%, rgba(199,168,107,0.10), transparent 70%);
        }
        .cinematics-video-embed {
            position: relative;
            width: 100%;
            height: 100%;
            background: #000;
        }
        .cinematics-video-embed iframe {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            border: 0;
            display: block;
        }
        .cinematics-featured-card .cinematics-badge {
            z-index: 2;
            pointer-events: none;
        }
        .cinematics-card-thumb .cinematics-video-embed iframe {
            pointer-events: auto;
        }
        .cinematics-play {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 62px;
            height: 62px;
            border-radius: 50%;
            border: 1.5px solid rgba(199, 168, 107, 0.6);
            background: rgba(9, 9, 9, 0.55);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.35s var(--ease-out-expo), border-color 0.35s ease, background 0.35s ease;
        }
        .cinematics-featured-card:hover .cinematics-play {
            transform: translate(-50%, -50%) scale(1.1);
            border-color: var(--gold-bright);
            background: rgba(9, 9, 9, 0.75);
        }
        .cinematics-play svg { margin-left: 3px; }
        .cinematics-badge {
            position: absolute;
            top: 18px;
            left: 18px;
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            padding: 5px 12px;
            border-radius: 20px;
            background: rgba(9, 9, 9, 0.55);
            border: 1px solid rgba(199, 168, 107, 0.35);
            color: var(--gold-bright);
        }
        .cinematics-length {
            position: absolute;
            top: 18px;
            right: 18px;
            font-size: 11px;
            font-weight: 500;
            padding: 5px 10px;
            border-radius: 8px;
            background: rgba(9, 9, 9, 0.55);
            color: var(--text-secondary);
        }
        .cinematics-meta {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 26px 26px 22px;
            background: linear-gradient(0deg, rgba(6,6,6,0.85) 0%, transparent 100%);
        }
        .cinematics-meta h3 {
            font-family: var(--font-display);
            font-size: 19px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 4px;
        }
        .cinematics-meta p {
            font-size: 13px;
            color: var(--text-secondary);
            max-width: 460px;
            line-height: 1.5;
        }
        .cinematics-visit {
            margin-top: 22px;
            font-size: 13.5px;
            color: var(--text-muted);
            line-height: 1.6;
        }
        .cinematics-visit a {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--gold-primary);
            text-decoration: none;
            font-weight: 500;
            margin-top: 6px;
            transition: gap 0.25s ease, color 0.25s ease;
        }
        .cinematics-visit a:hover {
            gap: 10px;
            color: var(--gold-bright);
        }
        .cinematics-latest {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 22px;
            margin-top: 44px;
        }
        .cinematics-card {
            border-radius: 14px;
            overflow: hidden;
            background: var(--surface);
            border: 1px solid var(--border);
            cursor: pointer;
            transition: transform 0.3s var(--ease-out-expo), border-color 0.3s ease;
        }
        .cinematics-card:hover {
            transform: translateY(-4px);
            border-color: rgba(199, 168, 107, 0.35);
        }
        .cinematics-card-thumb {
            position: relative;
            aspect-ratio: 16 / 9;
            background: linear-gradient(135deg, #1a1815 0%, #201d18 100%);
            border-bottom: 1px solid var(--border);
        }
        .cinematics-card-thumb::after {
            content: '';
            position: absolute;
            top: 0; left: 0; height: 2px; width: 0%;
            background: var(--gold-primary);
            transition: width 0.4s ease;
        }
        .cinematics-card:hover .cinematics-card-thumb::after { width: 100%; }
        .cinematics-card-play {
            position: absolute;
            top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            width: 34px; height: 34px;
            border-radius: 50%;
            border: 1px solid rgba(199,168,107,0.5);
            display: flex; align-items: center; justify-content: center;
            background: rgba(9,9,9,0.5);
        }
        .cinematics-card-runtime {
            position: absolute;
            bottom: 10px; right: 10px;
            font-size: 10.5px;
            padding: 3px 8px;
            border-radius: 6px;
            background: rgba(9,9,9,0.6);
            color: var(--text-secondary);
        }
        .cinematics-card-body { padding: 16px 18px 18px; }
        .cinematics-card-cat {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--gold-dark);
            font-weight: 600;
            margin-bottom: 6px;
        }
        .cinematics-card-title {
            font-size: 15px;
            font-weight: 550;
            color: var(--text-primary);
            margin-bottom: 4px;
        }
        .cinematics-card-date {
            font-size: 12px;
            color: var(--text-muted);
        }
        @media (max-width: 860px) {
            .cinematics-layout {
                grid-template-columns: 1fr;
                gap: 36px;
            }
            .cinematics-desc { max-width: 100%; }
            .cinematics-latest { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 560px) {
            .cinematics-latest { grid-template-columns: 1fr; }
            .cinematics-buttons { flex-direction: column; align-items: stretch; }
            .cinematics-buttons .btn { justify-content: center; }
        }

        /* ── Timeline ───────────────────────────── */
        .timeline {
            margin-top: 64px;
            position: relative;
            padding-left: 36px;
        }
        .timeline::before {
            content: '';
            position: absolute;
            left: 8px;
            top: 8px;
            bottom: 8px;
            width: 2px;
            background: var(--gold-dark);
            opacity: 0.5;
            border-radius: 1px;
        }
        .timeline-entry {
            position: relative;
            padding: 22px 0 22px 32px;
            transition: background 0.25s ease;
        }
        .timeline-entry::before {
            content: '';
            position: absolute;
            left: -33px;
            top: 32px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--bg-primary);
            border: 2px solid var(--gold-dark);
            box-sizing: border-box;
            transition: background 0.3s ease, border-color 0.3s ease;
        }
        .timeline-entry:hover::before {
            background: var(--gold-primary);
            border-color: var(--gold-bright);
        }
        .timeline-date {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--text-muted);
            font-weight: 500;
            margin-bottom: 4px;
        }
        .timeline-title {
            font-size: 18px;
            font-weight: 500;
            letter-spacing: -0.01em;
            color: var(--text-primary);
        }
        .timeline-desc {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.5;
            margin-top: 4px;
        }

        /* ── Footer ────────────────────────────── */
        .footer {
            border-top: 1px solid var(--border);
            padding: 70px 40px 50px;
            max-width: var(--max-width);
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 50px;
        }
        .footer-brand {
            font-size: 15px;
            color: var(--text-muted);
            line-height: 1.7;
        }
        .footer-brand strong {
            color: var(--text-primary);
            font-weight: 600;
        }
        .footer-col h4 {
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--text-muted);
            margin-bottom: 18px;
            font-weight: 600;
        }
        .footer-col a {
            display: block;
            text-decoration: none;
            color: var(--text-secondary);
            font-size: 14px;
            padding: 5px 0;
            transition: color 0.25s ease;
            letter-spacing: 0.01em;
        }
        .footer-col a:hover {
            color: var(--gold-primary);
        }
        .footer-bottom {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 28px 40px 40px;
            font-size: 12px;
            color: var(--text-muted);
            letter-spacing: 0.04em;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 14px;
        }
        .footer-tagline {
            color: var(--gold-dark);
            font-weight: 500;
        }
        @media (max-width: 768px) {
            .footer {
                grid-template-columns: 1fr 1fr;
                gap: 40px;
            }
        }
        @media (max-width: 450px) {
            .footer {
                grid-template-columns: 1fr;
                gap: 30px;
            }
        }

        /* ── Scroll Reveal ────────────────────── */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s var(--ease-out-expo),
                transform 0.8s var(--ease-out-expo);
        }
        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }
        .reveal-delay-1 {
            transition-delay: 0.08s;
        }
        .reveal-delay-2 {
            transition-delay: 0.16s;
        }
        .reveal-delay-3 {
            transition-delay: 0.24s;
        }
        .reveal-delay-4 {
            transition-delay: 0.32s;
        }

        .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;
        }