html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: optional;
    src: url('assets/fonts/inter-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: optional;
    src: url('assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: optional;
    src: url('assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: optional;
    src: url('assets/fonts/inter-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: optional;
    src: url('assets/fonts/inter-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: optional;
    src: url('assets/fonts/inter-800.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 600;
    font-display: optional;
    src: url('assets/fonts/plus-jakarta-sans-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 700;
    font-display: optional;
    src: url('assets/fonts/plus-jakarta-sans-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 800;
    font-display: optional;
    src: url('assets/fonts/plus-jakarta-sans-800.woff2') format('woff2');
}

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

:root {
    /* Spec v10: dark + premium, gold accent */
    --dark: #06060c;
    --dark-surface: #0c0c14;
    --dark-card: #11111c;
    --dark-card-hover: #181828;
    /* Accent (gold). Variable name kept as --red so 78+ existing references inherit. */
    --red: #d4a853;
    --red-hover: #e6bd66;
    --red-glow: rgba(212, 168, 83, 0.18);
    --red-subtle: rgba(212, 168, 83, 0.07);
    --warm: #f0c14b;
    --warm-glow: rgba(240, 193, 75, 0.10);
    --light: #f6f6f0;
    --light-surface: #ffffff;
    --light-card: #ededdf;
    --text: #e8e8df;
    --text-muted: #8e8e96;
    --text-dark: #161618;
    --text-dark-muted: #55555a;
    --border-light: rgba(212,168,83,0.08);
    --border-dark: rgba(0,0,0,0.06);
    --radius: clamp(12px, 1.2vw, 18px);
    --radius-sm: clamp(8px, 0.8vw, 12px);
    --radius-xs: 6px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: min(1140px, 92vw);
    --nav-height: clamp(54px, 7vw, 68px);
    /* Fluid spacing scale */
    --space-xs: clamp(4px, 0.5vw, 8px);
    --space-sm: clamp(8px, 1vw, 14px);
    --space-md: clamp(16px, 2.5vw, 28px);
    --space-lg: clamp(32px, 5vw, 56px);
    --space-xl: clamp(48px, 7vw, 80px);
    --space-2xl: clamp(64px, 10vw, 120px);
    /* Fluid font scale */
    --fs-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
    --fs-sm: clamp(0.78rem, 0.72rem + 0.3vw, 0.88rem);
    --fs-base: clamp(0.85rem, 0.8rem + 0.25vw, 0.95rem);
    --fs-md: clamp(0.95rem, 0.88rem + 0.35vw, 1.1rem);
    --fs-lg: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
    --fs-xl: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
    --fs-2xl: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
    --fs-3xl: clamp(1.8rem, 1.3rem + 2.5vw, 3.2rem);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 12px);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    font-size: var(--fs-base);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
}

/* Heading font */
h1, h2, h3, h4 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    line-height: 1.2;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 6, 12, 0.6);
    backdrop-filter: blur(32px) saturate(1.5);
    -webkit-backdrop-filter: blur(32px) saturate(1.5);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    height: var(--nav-height);
    transition: background 0.4s ease, border-color 0.4s ease;
}
.navbar.scrolled {
    background: rgba(6, 6, 12, 0.92);
    border-bottom-color: rgba(255,255,255,0.08);
}

.nav-container {
    position: relative;
    max-width: min(1240px, 95vw);
    margin: 0 auto;
    padding: 0 clamp(20px, 3vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.nav-logo {
    flex-shrink: 0;
    z-index: 2;
}
/* Absolute-centered nav: guaranteed dead-center regardless of logo / CTA widths */
.nav-links {
    position: absolute;
    left: 50%;
    top: 0;
    height: var(--nav-height);
    transform: translateX(-50%);
    z-index: 1;
}
.nav-cta-desktop {
    flex-shrink: 0;
    z-index: 2;
}
.nav-links li.nav-links-cta-mobile { display: none; }

/* Page header logo */
.page-header {
    text-align: center;
}
.page-header-logo {
    display: block;
    height: clamp(64px, 9vw, 100px);
    width: auto;
    margin: 0 auto var(--space-sm);
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    transition: opacity var(--transition);
}
.nav-logo:hover { opacity: 0.85; }
.logo-img {
    height: clamp(44px, 5vw, 56px);
    width: auto;
    object-fit: contain;
    transition: opacity var(--transition);
}
.logo-img:hover { opacity: 0.85; }

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(2px, 0.4vw, 6px);
    align-items: stretch;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex;
    align-items: center;
    align-self: stretch;
    min-height: var(--nav-height);
}

.nav-links a {
    display: block;
    padding: 7px clamp(10px, 1.1vw, 15px);
    font-size: clamp(0.78rem, 0.7rem + 0.3vw, 0.88rem);
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    border-radius: var(--radius-xs);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.06);
}

.nav-links a.active {
    color: #fff;
    background: rgba(255,255,255,0.08);
    font-weight: 600;
}

.nav-cta {
    background: var(--red) !important;
    color: #06060c !important;
    font-weight: 700 !important;
    border-radius: var(--radius-sm) !important;
    margin-left: clamp(6px, 0.8vw, 12px);
    padding: 7px clamp(14px, 1.5vw, 20px) !important;
    box-shadow: 0 2px 8px rgba(212, 168, 83, 0.2);
    transition: all var(--transition) !important;
}
.nav-cta:hover {
    background: var(--red-hover) !important;
    color: #06060c !important;
    box-shadow: 0 4px 16px rgba(212, 168, 83, 0.3) !important;
    transform: translateY(-1px);
}

/* Nav separator dot between logo and links */
.nav-sep {
    width: 3px;
    height: 3px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
    display: block;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Page Wrapper ===== */
/* Note: removed redundant padding-top — .page-hero already includes nav offset
   in its calc() top padding, so this was double-counting and creating a void. */
.page-top { padding-top: 0; }

/* ===== Section Divider Shapes ===== */
.section-divider {
    position: relative;
    height: 0;
    overflow: visible;
}
.section-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: clamp(30px, 4vw, 60px);
    display: block;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 15%, rgba(212, 168, 83, 0.09) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 75% 75%, rgba(120, 40, 200, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 15% 65%, rgba(40, 100, 220, 0.04) 0%, transparent 45%),
        var(--dark);
}

/* Animated glow orbs */
.hero-bg::before,
.hero-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 12s ease-in-out infinite;
}
.hero-bg::before {
    width: clamp(200px, 35vw, 500px);
    height: clamp(200px, 35vw, 500px);
    background: rgba(212, 168, 83, 0.06);
    top: 10%;
    left: 20%;
}
.hero-bg::after {
    width: clamp(150px, 25vw, 400px);
    height: clamp(150px, 25vw, 400px);
    background: rgba(100, 60, 200, 0.05);
    bottom: 15%;
    right: 15%;
    animation-delay: -6s;
    animation-direction: reverse;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 clamp(16px, 4vw, 32px) var(--space-lg);
    max-width: min(680px, 90vw);
}

.hero-logo {
    width: clamp(180px, 30vw, 300px);
    margin: 0 auto var(--space-lg);
    filter: drop-shadow(0 0 clamp(40px, 8vw, 100px) rgba(212, 168, 83, 0.28)) drop-shadow(0 0 clamp(80px, 14vw, 180px) rgba(212, 168, 83, 0.15));
    animation: heroEntry 0.8s cubic-bezier(0.16, 1, 0.3, 1) both, logoFloat 6s ease-in-out 1.2s infinite;
}

@keyframes heroEntry {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.hero h1 {
    font-size: var(--fs-3xl);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-sm);
    color: #fff;
    background: linear-gradient(180deg, #ffffff 30%, rgba(212, 168, 83, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 60px rgba(212, 168, 83, 0.18);
}
.hero h1 .typewriter-wrap {
    color: var(--red);
    -webkit-text-fill-color: var(--red);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}
/* Subtle warm glow on the rotating tagline — premium, not loud */
.hero h1 .legendary-glow {
    text-shadow: 0 2px 24px rgba(212, 168, 83, 0.35);
}

.hero-sub {
    font-size: var(--fs-md);
    color: var(--text-muted);
    max-width: min(520px, 85vw);
    margin: 0 auto var(--space-lg);
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 4vw, 48px);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.hero-stat { text-align: center; }

.hero-stat-num {
    display: block;
    font-size: clamp(1.4rem, 1rem + 2vw, 2.2rem);
    font-weight: 800;
    color: var(--red);
    line-height: 1.1;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

.hero-stat-label {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 2px;
}

/* ===== Page Header (subpages) ===== */
.page-header {
    padding: var(--space-xl) 0 var(--space-lg);
    text-align: center;
    background: var(--dark-surface);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--red);
    border-radius: 3px;
}

.page-header h1 {
    font-size: var(--fs-2xl);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-xs);
    color: #fff;
}

.page-header p {
    font-size: var(--fs-md);
    color: var(--text-muted);
    max-width: min(520px, 85vw);
    margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: clamp(11px, 1.3vw, 15px) clamp(22px, 2.8vw, 34px);
    font-size: var(--fs-sm);
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 44px;
}

.btn-primary {
    background: var(--red);
    color: #06060c;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(212, 168, 83, 0.2);
}
.btn-primary:hover {
    background: var(--red-hover);
    color: #06060c;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(212, 168, 83, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.12);
}
.btn-outline:hover {
    background: rgba(212, 168, 83, 0.06);
    border-color: var(--red);
    box-shadow: 0 0 0 1px var(--red), 0 6px 22px rgba(212, 168, 83, 0.18);
    transform: translateY(-1px);
}

.btn-light {
    background: var(--light-surface);
    color: var(--text-dark);
    border: 1px solid var(--border-dark);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-light:hover {
    background: var(--light-card);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 168, 83, 0.2), 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ===== Sections ===== */
.section { padding: var(--space-2xl) 0; }

.section-dark { background: var(--dark-surface); }
.section-alt { background: var(--dark); }
.section-light {
    background: var(--light);
    color: var(--text-dark);
}
.section-light .text-muted { color: var(--text-dark-muted); }

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-header h2 {
    font-size: var(--fs-2xl);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-sm);
    position: relative;
    padding-bottom: var(--space-sm);
}
.section-header h2::after,
.section-header-gold h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    border-radius: 2px;
}
.section-header-gold h2 {
    position: relative;
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.section-header h3 {
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.section-subtitle {
    font-size: var(--fs-base);
    color: var(--text-muted);
    max-width: min(560px, 85vw);
    margin: 0 auto;
    line-height: 1.7;
}
.section-light .section-subtitle { color: var(--text-dark-muted); }

/* ===== About / Mission ===== */
.mission-block {
    text-align: center;
    margin-bottom: var(--space-md);
}

.mission-block blockquote {
    font-size: var(--fs-lg);
    font-weight: 400;
    font-style: italic;
    color: var(--text-dark);
    max-width: min(640px, 90vw);
    margin: 0 auto;
    padding: var(--space-md) var(--space-md) var(--space-md) calc(var(--space-md) + 4px);
    border-left: 3px solid var(--red);
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.04), rgba(240, 193, 75, 0.02));
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    position: relative;
}

.mission-block blockquote::before {
    content: '\201C';
    position: absolute;
    top: -8px;
    left: var(--space-sm);
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: rgba(212, 168, 83, 0.12);
    font-family: Georgia, serif;
    line-height: 1;
}

.about-intro {
    text-align: center;
    max-width: min(640px, 90vw);
    margin: 0 auto var(--space-lg);
    font-size: var(--fs-base);
    color: var(--text-dark-muted);
    line-height: 1.85;
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.value-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: var(--space-xs) clamp(14px, 1.5vw, 20px);
    background: var(--red-subtle);
    border: 1px solid rgba(212, 168, 83, 0.08);
    border-radius: 50px;
    font-weight: 600;
    font-size: var(--fs-sm);
    color: var(--text-dark);
    transition: background var(--transition), border-color var(--transition);
}
.value-item:hover {
    background: rgba(212, 168, 83, 0.08);
    border-color: rgba(212, 168, 83, 0.15);
}

.value-icon { font-size: clamp(0.85rem, 1vw, 1.1rem); }
.value-item h4 { font-size: var(--fs-sm); font-weight: 600; }

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 22vw, 260px), 1fr));
    gap: var(--space-sm);
}

.diff-card {
    padding: var(--space-md);
    background: var(--light-surface);
    border-radius: var(--radius);
    border: 1px solid var(--border-dark);
    transition: transform var(--transition), box-shadow var(--transition);
}
.diff-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.05);
}
.diff-card h4 {
    font-size: var(--fs-md);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text-dark);
}
.diff-card p { color: var(--text-dark-muted); font-size: var(--fs-sm); line-height: 1.7; }

/* ===== Philosophy ===== */
.philosophy-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: var(--space-lg);
    align-items: start;
    margin-bottom: var(--space-xl);
}

.philosophy-text p {
    margin-bottom: var(--space-md);
    font-size: var(--fs-base);
    line-height: 1.85;
}

.philosophy-points { margin-top: var(--space-md); }
.point {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    margin-bottom: var(--space-sm);
}
.point-num {
    flex-shrink: 0;
    width: clamp(28px, 3vw, 34px);
    height: clamp(28px, 3vw, 34px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: var(--fs-sm);
    box-shadow: 0 2px 8px rgba(212, 168, 83, 0.25);
}
.point p { margin: 0; font-size: var(--fs-sm); line-height: 1.6; }

.philosophy-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.book-img {
    max-width: clamp(130px, 15vw, 190px);
    border-radius: var(--radius-sm);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.metagame-ring {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs);
}

.ring-item {
    padding: 6px clamp(10px, 1.2vw, 16px);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--text-muted);
    transition: background var(--transition);
}
.ring-item:hover { background: rgba(255,255,255,0.08); }

.proven-track {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-light);
}
.proven-track h3 { font-size: var(--fs-xl); margin-bottom: var(--space-xs); }
.proven-track > p { color: var(--text-muted); margin-bottom: var(--space-md); font-size: var(--fs-base); }

.tcg-credits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(14px, 2.4vw, 32px);
    text-align: center;
    color: var(--text-muted);
    font-size: clamp(14px, 1.4vw, 17px);
    letter-spacing: 0.4px;
    font-weight: 500;
}
.tcg-credits li {
    position: relative;
    padding: 0 0 0 clamp(14px, 2.4vw, 32px);
}
.tcg-credits li:first-child { padding-left: 0; }
.tcg-credits li:not(:first-child)::before {
    content: "·";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.35);
    font-weight: 400;
}

/* ===== Track Record ===== */
.tcg-published-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 18vw, 200px), 1fr));
    gap: var(--space-xs);
}

.tcg-pub {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-sm);
    background: var(--light-surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-dark);
    transition: transform var(--transition);
}
.tcg-pub:hover { transform: translateY(-1px); }

.tcg-year {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--red);
    background: var(--red-subtle);
    padding: 3px 7px;
    border-radius: 4px;
    flex-shrink: 0;
}
.tcg-name { font-weight: 600; color: var(--text-dark); font-size: var(--fs-sm); }

/* Timeline */
.timeline {
    position: relative;
    padding-left: clamp(28px, 4vw, 40px);
    max-width: min(700px, 90vw);
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: clamp(8px, 1.2vw, 14px);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--red), rgba(212, 168, 83, 0.1));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-md);
    padding-left: var(--space-md);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-1 * clamp(22px, 3vw, 30px));
    top: 5px;
    width: clamp(8px, 1vw, 11px);
    height: clamp(8px, 1vw, 11px);
    background: var(--red);
    border-radius: 50%;
    border: 2px solid var(--light);
    box-shadow: 0 0 0 3px var(--red-subtle);
}

.timeline-year {
    font-size: var(--fs-xs);
    font-weight: 800;
    color: var(--red);
    margin-bottom: 2px;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

.timeline-content p {
    font-size: var(--fs-sm);
    color: var(--text-dark-muted);
    margin-bottom: 4px;
    line-height: 1.65;
}

.timeline-market {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--text-dark);
    background: var(--red-subtle);
    padding: 2px 10px;
    border-radius: 50px;
}

/* Market Charts */
.market-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 35vw, 400px), 1fr));
    gap: var(--space-md);
}

.chart-card {
    background: var(--light-surface);
    border-radius: var(--radius);
    padding: var(--space-md);
    border: 1px solid var(--border-dark);
    overflow: hidden;
}

.chart-card img { border-radius: var(--radius-xs); }

.chart-caption {
    text-align: center;
    margin-top: var(--space-sm);
    font-size: var(--fs-xs);
    color: var(--text-dark-muted);
    font-weight: 500;
}

/* ===== Team ===== */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 22vw, 260px), 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.team-card {
    text-align: center;
    padding: var(--space-md) var(--space-sm);
    background: var(--dark-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.team-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.team-leader {
    border-color: rgba(212, 168, 83, 0.15);
    background: linear-gradient(180deg, var(--dark-card) 0%, rgba(212, 168, 83, 0.02) 100%);
}
.team-leader:hover { border-color: rgba(212, 168, 83, 0.3); }

.team-avatar {
    width: clamp(52px, 6vw, 68px);
    height: clamp(52px, 6vw, 68px);
    margin: 0 auto var(--space-sm);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), #8b0000);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--fs-md);
    color: #fff;
    box-shadow: 0 4px 16px rgba(212, 168, 83, 0.2);
}
.team-avatar.sm {
    width: clamp(44px, 5vw, 56px);
    height: clamp(44px, 5vw, 56px);
    font-size: var(--fs-sm);
    background: linear-gradient(135deg, #2a2a48, #3d3d60);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.team-card h3 { font-size: var(--fs-md); font-weight: 700; margin-bottom: 3px; }
.team-card h4 { font-size: var(--fs-base); font-weight: 600; margin-bottom: 3px; }

.team-role {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.team-card p {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    line-height: 1.55;
}

.toggle-team {
    display: block;
    margin: 0 auto var(--space-md);
}

.full-team-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(clamp(170px, 20vw, 220px), 1fr));
    gap: var(--space-sm);
}
.full-team-grid.visible { display: grid; }
.full-team-grid .team-card { padding: var(--space-md) var(--space-sm); }

/* ===== Capabilities ===== */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 22vw, 260px), 1fr));
    gap: var(--space-sm);
}

.cap-card {
    padding: var(--space-md);
    background: var(--light-surface);
    border-radius: var(--radius);
    border: 1px solid var(--border-dark);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}
.cap-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}

.cap-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(48px, 5vw, 60px);
    height: clamp(48px, 5vw, 60px);
    margin: 0 auto var(--space-sm);
    background: var(--red-subtle);
    border-radius: var(--radius-sm);
    color: var(--red);
}
.cap-icon svg { width: clamp(22px, 2.5vw, 28px); height: clamp(22px, 2.5vw, 28px); }

.cap-card h3 { font-size: var(--fs-base); font-weight: 700; margin-bottom: var(--space-xs); color: var(--text-dark); }
.cap-card p { color: var(--text-dark-muted); font-size: var(--fs-sm); line-height: 1.65; }

/* Channels */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(150px, 17vw, 200px), 1fr));
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.channel {
    text-align: center;
    padding: var(--space-md) var(--space-sm);
    background: var(--light-surface);
    border-radius: var(--radius);
    border: 1px solid var(--border-dark);
}

.channel-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(32px, 3.5vw, 40px);
    height: clamp(32px, 3.5vw, 40px);
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    font-weight: 800;
    font-size: var(--fs-sm);
    margin-bottom: var(--space-xs);
    box-shadow: 0 2px 8px rgba(212, 168, 83, 0.2);
}

.channel h4 { font-size: var(--fs-sm); font-weight: 700; margin-bottom: 4px; color: var(--text-dark); }
.channel p { font-size: var(--fs-xs); color: var(--text-dark-muted); line-height: 1.55; }

/* Talent */
.talent-section {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-dark);
    text-align: center;
}

.talent-section h3 { font-size: var(--fs-xl); margin-bottom: var(--space-xs); color: var(--text-dark); }
.talent-hq { color: var(--text-dark-muted); margin-bottom: var(--space-md); font-size: var(--fs-base); }

.talent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(150px, 18vw, 200px), 1fr));
    gap: var(--space-xs);
}

.talent-item {
    padding: var(--space-sm);
    background: var(--light-surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-dark);
    text-align: left;
}
.talent-item h4 { font-size: var(--fs-sm); font-weight: 700; margin-bottom: 2px; color: var(--text-dark); }
.talent-item p { font-size: var(--fs-xs); color: var(--text-dark-muted); }

/* ===== Game Centers ===== */
.gc-intro {
    max-width: min(700px, 90vw);
    margin: 0 auto var(--space-lg);
    text-align: center;
}
.gc-intro p {
    font-size: var(--fs-base);
    line-height: 1.85;
    margin-bottom: var(--space-xs);
}

.gc-gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.gc-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
}
.gc-card:nth-child(1) { grid-column: span 7; aspect-ratio: 16/10; }
.gc-card:nth-child(2) { grid-column: span 5; }
.gc-card:nth-child(3) { grid-column: span 4; }
.gc-card:nth-child(4) { grid-column: span 4; }
.gc-card:nth-child(5) { grid-column: span 4; }

.gc-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gc-card:hover img { transform: scale(1.04); }

.gc-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(transparent, rgba(0,0,0,0.82));
    transform: translateY(4px);
    opacity: 0.85;
    transition: transform var(--transition), opacity var(--transition);
}
.gc-card:hover .gc-overlay { transform: translateY(0); opacity: 1; }

.gc-overlay h3 { font-size: var(--fs-base); font-weight: 700; margin-bottom: 2px; }
.gc-overlay p { font-size: var(--fs-xs); color: rgba(255,255,255,0.7); }

.gc-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(180px, 22vw, 260px), 1fr));
    gap: var(--space-sm);
}

.gc-feat {
    text-align: center;
    padding: var(--space-md);
    background: var(--dark-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: border-color var(--transition);
}
.gc-feat:hover { border-color: rgba(255,255,255,0.1); }
.gc-feat h4 { font-size: var(--fs-sm); font-weight: 700; margin-bottom: var(--space-xs); }
.gc-feat p { font-size: var(--fs-xs); color: var(--text-muted); }

/* ===== Partners / Distribution ===== */
.dist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(260px, 28vw, 340px), 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.dist-region {
    background: var(--light-surface);
    border-radius: var(--radius);
    border: 1px solid var(--border-dark);
    padding: var(--space-md);
}

.dist-region h4 {
    font-size: var(--fs-md);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--red);
    color: var(--text-dark);
}

.dist-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) 0;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    font-size: var(--fs-sm);
    color: var(--text-dark);
}

.dist-flag { font-size: clamp(1rem, 1.2vw, 1.2rem); flex-shrink: 0; }

.dist-country {
    margin-left: auto;
    font-size: var(--fs-xs);
    color: var(--text-dark-muted);
    text-align: right;
}

.bottom-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(240px, 28vw, 340px), 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-dark);
}

.bottom-section { text-align: center; }

.bottom-section h3 {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
}
.bottom-section p { color: var(--text-dark-muted); font-size: var(--fs-sm); margin-bottom: var(--space-sm); }

.us-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
    flex-wrap: wrap;
}
.us-logos img { height: clamp(32px, 4vw, 44px); width: auto; object-fit: contain; }

.printing-logos {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.printer {
    padding: var(--space-xs) var(--space-sm);
    background: var(--light-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xs);
    font-weight: 600;
    font-size: var(--fs-xs);
    color: var(--text-dark);
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-lg);
    align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: var(--space-md); }

.contact-item h4 {
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.contact-item p { font-size: var(--fs-base); }
.contact-item a {
    color: var(--red);
    transition: color var(--transition);
}
.contact-item a:hover { color: var(--red-hover); }

.social-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-xs);
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    transition: all var(--transition);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.social-links a:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    transform: translateY(-2px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group { display: flex; flex-direction: column; gap: var(--space-xs); }

.form-group label {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    padding: clamp(11px, 1.3vw, 15px) var(--space-sm);
    background: var(--dark-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: var(--fs-base);
    transition: border-color var(--transition), box-shadow var(--transition);
    -webkit-appearance: none;
    appearance: none;
    min-height: 44px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px var(--red-glow);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== Footer ===== */
.footer {
    background: linear-gradient(180deg, var(--dark) 0%, #050509 100%);
    padding: var(--space-xl) 0 var(--space-lg);
    border-top: 1px solid var(--border-light);
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    opacity: 0.6;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    align-items: start;
}

.footer-brand {
    max-width: 280px;
}
.footer-logo {
    height: clamp(44px, 5vw, 56px);
    width: auto;
    margin-bottom: var(--space-sm);
    opacity: 1;
    transition: opacity var(--transition);
}
.footer-brand:hover .footer-logo { opacity: 0.85; }

.footer-brand p {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.footer-nav h3, .footer-links h3, .footer-newsletter h3,
.footer-nav h4, .footer-links h4 {
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: var(--space-sm);
    position: relative;
    padding-bottom: 6px;
}
.footer-nav h3::after, .footer-links h3::after, .footer-newsletter h3::after,
.footer-nav h4::after, .footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
}

.footer-nav a, .footer-links a {
    display: block;
    padding: 4px 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    transition: color var(--transition), padding var(--transition);
    text-decoration: none;
}
.footer-nav a:hover, .footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
    text-align: center;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}
.footer-bottom p { margin-bottom: 4px; }
.footer-bottom a { color: var(--text-muted); text-decoration: none; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--red); }

/* ===== Home Feature Cards ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(240px, 26vw, 320px), 1fr));
    gap: var(--space-md);
}

.feature-card {
    background: var(--dark-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: var(--space-md);
    text-align: center;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(48px, 5vw, 56px);
    height: clamp(48px, 5vw, 56px);
    margin: 0 auto var(--space-sm);
    background: var(--red-glow);
    border-radius: var(--radius-sm);
    color: var(--red);
}
.feature-icon svg { width: clamp(22px, 2.5vw, 28px); height: clamp(22px, 2.5vw, 28px); }

.feature-card h3 { font-size: var(--fs-md); font-weight: 700; margin-bottom: var(--space-xs); }

.feature-card p {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: 1.65;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: var(--space-sm);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--red);
    transition: gap var(--transition);
}
.feature-card:hover .card-link { gap: 8px; }

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive: only layout shifts ===== */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-cta-desktop { display: none; }
    .nav-links li.nav-links-cta-mobile { display: flex; }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        width: 100vw;
        height: calc(100vh - var(--nav-height));
        height: calc(100dvh - var(--nav-height));
        background: #06060c;
        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(28px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: var(--space-md);
        gap: 4px;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links li { width: 100%; }
    .nav-links a {
        padding: 14px 16px;
        width: 100%;
        border-radius: var(--radius-sm);
        font-size: var(--fs-md);
    }
    .nav-cta {
        margin-left: 0 !important;
        margin-top: var(--space-xs);
        text-align: center;
        box-shadow: none !important;
    }

    .philosophy-content { grid-template-columns: 1fr; }
    .philosophy-visual { order: -1; }

    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-md); }
    .footer-brand { max-width: 100%; }
    .footer-nav h3::after, .footer-links h3::after, .footer-newsletter h3::after { left: 50%; transform: translateX(-50%); }
    .footer-nav h3, .footer-links h3, .footer-newsletter h3 { text-align: center; }
    .footer-nav, .footer-links { text-align: center; }
    .footer-nav a:hover, .footer-links a:hover { padding-left: 0; }

    .gc-gallery { grid-template-columns: 1fr; }
    .gc-card:nth-child(n) { grid-column: span 1; aspect-ratio: 4/3; }
    .gc-overlay { opacity: 1; transform: translateY(0); }

    .feature-card { text-align: left; }
    .feature-icon { margin: 0 0 var(--space-sm) 0; }
}

@media (prefers-reduced-motion: reduce) {
    .fade-in { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .gc-card img { transition: none; }
    .hero-logo { animation: none; }
    .hero-bg::before, .hero-bg::after { animation: none; }
}

/* Safe area for notched phones */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .footer { padding-bottom: calc(var(--space-md) + env(safe-area-inset-bottom)); }
    .nav-links { padding-bottom: calc(var(--space-md) + env(safe-area-inset-bottom)); }
}

/* ============================================================
   DYNAMIC OVERHAUL — additions
   ============================================================ */

/* --- Scroll progress bar (top of viewport, in nav) --- */
.scroll-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--warm));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.05s linear;
    z-index: 2;
    will-change: transform;
}

/* --- Page transition fade --- */
body {
    transition: opacity 0.18s ease;
}
body.transitioning {
    opacity: 0.55;
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    body, body.transitioning { transition: none; opacity: 1; }
    .scroll-progress { display: none; }
}

/* --- Hero canvas + typewriter --- */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.85;
    pointer-events: none;
}
.hero { position: relative; isolation: isolate; }
.hero-content { position: relative; z-index: 2; }
.hero-bg { z-index: 1; }

.typewriter-wrap {
    display: inline-block;
    margin-top: 0.15em;
    min-width: min(17ch, 90vw); /* longest phrase, capped on small screens */
    min-height: 1.2em;
    text-align: center;
    color: var(--red);
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    contain: layout style;
}
@media (max-width: 480px) {
    .typewriter-wrap {
        min-width: 14ch;
        font-size: 0.85em;
    }
}
.typewriter-wrap::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: 0.85em;
    background: var(--red);
    margin-left: 4px;
    vertical-align: middle;
    animation: tw-blink 1s steps(1) infinite;
}
@keyframes tw-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .typewriter-wrap::after { animation: none; }
}

.scroll-indicator {
    position: absolute;
    bottom: clamp(16px, 3vh, 36px);
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    z-index: 3;
    pointer-events: none;
}
.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 3px;
    height: 8px;
    background: var(--red);
    border-radius: 3px;
    transform: translateX(-50%);
    animation: scroll-bob 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes scroll-bob {
    0% { opacity: 0; transform: translate(-50%, -4px); }
    40% { opacity: 1; }
    80% { opacity: 0; transform: translate(-50%, 12px); }
    100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .scroll-indicator::after { animation: none; opacity: 1; transform: translate(-50%, 4px); }
}

/* --- Filter chips (news + partners) --- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    justify-content: center;
    max-width: min(760px, 92vw);
    margin: 0 auto var(--space-md);
}
.filter-chip {
    background: var(--dark-card);
    border: 1px solid var(--border-light);
    color: var(--text);
    font-family: inherit;
    font-size: var(--fs-sm);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
}
.filter-chip:hover {
    border-color: rgba(212, 168, 83, 0.4);
    color: #fff;
}
.filter-chip.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

/* --- News search input --- */
.news-search {
    display: block;
    width: 100%;
    max-width: min(440px, 88vw);
    margin: 0 auto var(--space-md);
    background: var(--dark-card);
    border: 1px solid var(--border-light);
    color: var(--light);
    font-family: inherit;
    font-size: var(--fs-base);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    transition: border-color var(--transition);
}
.news-search:focus {
    outline: none;
    border-color: var(--red);
}
.news-empty {
    text-align: center;
    color: var(--text-muted);
    padding: var(--space-lg) 0;
}

/* --- Form validation states --- */
.field-error {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.04) !important;
}
.error-msg {
    display: block;
    color: #ef4444;
    font-size: var(--fs-xs);
    margin-top: 4px;
    min-height: 1em;
}
.btn-success {
    background: #22c55e !important;
    border-color: #22c55e !important;
}
.btn-error {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
}
.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* --- Team avatar grid --- */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
}
.team-grid .team-card {
    flex: 0 1 240px;
}
.team-card {
    background: var(--dark-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: var(--space-md);
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.team-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(212, 168, 83, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
}
.team-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 168, 83, 0.3);
}
.team-card:hover::before {
    opacity: 1;
}
.team-card > * {
    position: relative;
    z-index: 1;
}
.avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--warm));
    box-shadow: 0 8px 24px rgba(212, 168, 83, 0.25);
}
.team-photo {
    display: block;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--space-sm);
    border: 2px solid rgba(212, 168, 83, 0.4);
    box-shadow: 0 8px 24px rgba(212, 168, 83, 0.2);
    transition: transform var(--transition), border-color var(--transition);
}

/* Make team-card a button work like the original div */
button.team-card {
    font-family: inherit;
    color: inherit;
    cursor: pointer;
    text-align: center;
    width: 100%;
}
button.team-card:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 4px;
}

/* --- Bio modal --- */
.bio-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    animation: bio-fade-in 0.25s ease both;
}
.bio-modal[hidden] { display: none; }
.bio-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 6, 12, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.bio-modal-content {
    position: relative;
    background: var(--dark-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: var(--space-lg);
    max-width: 560px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    animation: bio-scale-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.bio-modal-close {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-light);
    color: var(--text);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.bio-modal-close:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}
.bio-modal-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(212, 168, 83, 0.5);
    margin: 0 auto var(--space-md);
    display: block;
}
.bio-modal h2 {
    font-size: var(--fs-xl);
    color: #fff;
    margin-bottom: 4px;
}
.bio-modal-role {
    color: var(--red);
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: var(--space-md);
}
.bio-modal-body p {
    color: var(--text);
    font-size: var(--fs-base);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
    text-align: left;
}
@keyframes bio-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes bio-scale-in { from { opacity: 0; transform: scale(0.95) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@media (prefers-reduced-motion: reduce) {
    .bio-modal, .bio-modal-content { animation: none; }
}
body.bio-open { overflow: hidden; }
.team-card:hover .team-photo {
    transform: scale(1.05);
    border-color: var(--red);
}
.team-name {
    font-size: var(--fs-md);
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.team-role {
    font-size: var(--fs-xs);
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}
.team-bio {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
}
.team-card:hover .team-bio,
.team-card:focus-within .team-bio {
    max-height: 240px;
}

/* --- Partner card hidden state --- */
.hidden { display: none !important; }
.group-empty { display: none; }

/* --- Honest accessibility tweaks --- */
.filter-chip:focus-visible,
.news-search:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

/* --- About page values: SVG icons + hover lift --- */
.value-item .value-icon svg {
    width: 100%;
    height: 100%;
    color: var(--red);
}
.value-item {
    transition: transform var(--transition), border-color var(--transition);
}
.value-item:hover {
    transform: translateY(-3px);
}
.value-item:hover .value-icon {
    color: var(--warm);
}

/* --- Partners region item hover polish --- */
.dist-item {
    transition: background var(--transition), transform var(--transition), border-color var(--transition);
}
.dist-item:hover {
    background: rgba(212, 168, 83, 0.06);
    transform: translateX(4px);
    border-color: rgba(212, 168, 83, 0.3);
}


/* --- News reading time pill --- */
.news-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-xs);
}
.news-read-time {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    padding: 2px 8px;
    border: 1px solid var(--border-light);
    border-radius: 50px;
}

/* --- Back-to-top floating button --- */
.back-to-top {
    position: fixed;
    bottom: clamp(16px, 3vw, 32px);
    right: clamp(16px, 3vw, 32px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(212, 168, 83, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.back-to-top:hover {
    background: var(--red-hover);
    transform: translateY(-3px);
}
.back-to-top svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) {
    .back-to-top { transition: opacity 0.2s; }
    .back-to-top:hover { transform: none; }
}

/* --- News card skeleton loading --- */
.news-skeleton {
    background: var(--dark-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
}
.news-skeleton-line {
    height: 14px;
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 100%);
    background-size: 200% 100%;
    border-radius: 4px;
    margin-bottom: 12px;
    animation: skeleton-shimmer 1.6s ease-in-out infinite;
}
.news-skeleton-line.short { width: 30%; height: 12px; }
.news-skeleton-line.title { height: 22px; width: 70%; margin-bottom: var(--space-sm); }
.news-skeleton-line.body { width: 100%; }
.news-skeleton-line.body.last { width: 60%; margin-bottom: 0; }
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
    .news-skeleton-line { animation: none; }
}

/* --- Cookie / privacy notice banner --- */
.cookie-notice {
    position: fixed;
    bottom: clamp(16px, 3vw, 28px);
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    z-index: 950;
    background: var(--dark-card);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: var(--radius);
    padding: var(--space-sm) var(--space-md);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    max-width: min(560px, 92vw);
    font-size: var(--fs-sm);
    color: var(--text);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-notice.visible {
    transform: translateX(-50%) translateY(0);
}
.cookie-notice p {
    margin: 0;
    line-height: 1.5;
}
.cookie-notice a {
    color: var(--red);
    text-decoration: underline;
}
.cookie-notice button {
    background: var(--red);
    color: #06060c;
    font-weight: 700;
    border: none;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: var(--fs-xs);
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--transition);
}
.cookie-notice button:hover { background: var(--red-hover); }
@media (max-width: 600px) {
    .cookie-notice { flex-direction: column; gap: var(--space-sm); text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .cookie-notice { transition: opacity 0.2s; }
}

/* --- Sitemap page --- */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
    max-width: 960px;
    margin: 0 auto;
}
.sitemap-col h3 {
    color: #fff;
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    padding-bottom: 6px;
    margin-bottom: var(--space-sm);
    border-bottom: 2px solid var(--red);
    display: inline-block;
}
.sitemap-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sitemap-col li {
    padding: 6px 0;
    color: var(--text-muted);
    font-size: var(--fs-sm);
}
.sitemap-col li a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition);
}
.sitemap-col li a:hover { color: var(--red); }

/* --- Legal pages (privacy, terms) --- */
.legal-content {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text);
    font-size: var(--fs-base);
    line-height: 1.75;
}
.legal-content .legal-meta {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-light);
}
.legal-content h2 {
    color: #fff;
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}
.legal-content h3 {
    color: #fff;
    font-size: var(--fs-md);
    font-weight: 600;
    margin-top: var(--space-md);
    margin-bottom: var(--space-xs);
}
.legal-content p {
    margin-bottom: var(--space-sm);
}
.legal-content ul {
    margin: 0 0 var(--space-sm) var(--space-md);
    padding: 0;
}
.legal-content li {
    margin-bottom: 6px;
}
.legal-content a {
    color: var(--red);
    text-decoration: underline;
    text-decoration-color: rgba(212, 168, 83, 0.4);
    text-underline-offset: 2px;
    transition: text-decoration-color var(--transition);
}
.legal-content a:hover {
    text-decoration-color: var(--red);
}
.legal-content code {
    background: rgba(255,255,255,0.05);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

/* --- Press kit page --- */
.press-facts {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.press-facts > p {
    color: var(--text);
    font-size: var(--fs-md);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}
.press-facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-md);
}
.press-fact {
    text-align: center;
}
.press-fact-num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem);
    font-weight: 800;
    color: var(--red);
    line-height: 1;
}
.press-fact-label {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 6px;
}
.press-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    max-width: 880px;
    margin: 0 auto;
}
.press-logo-card {
    background: var(--dark-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
}
.press-logo-display {
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}
.press-logo-display.dark { background: var(--dark); }
.press-logo-display.light { background: #f6f6f8; }
.press-logo-display img {
    max-width: 240px;
    width: 100%;
    height: auto;
}
.press-logo-meta {
    padding: var(--space-md);
    border-top: 1px solid var(--border-light);
}
.press-logo-meta h4 {
    color: #fff;
    margin-bottom: 4px;
}
.press-logo-meta p {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    margin-bottom: var(--space-sm);
}
.press-logo-links {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}
.press-logo-links a {
    background: rgba(212, 168, 83, 0.1);
    color: var(--red);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(212, 168, 83, 0.3);
    transition: all var(--transition);
}
.press-logo-links a:hover {
    background: var(--red);
    color: #fff;
}
.press-colors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-md);
    max-width: 880px;
    margin: 0 auto;
}
.press-color {
    text-align: center;
}
.press-swatch {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius);
    margin-bottom: var(--space-sm);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.press-color h4 {
    color: #fff;
    font-size: var(--fs-sm);
    margin-bottom: 4px;
}
.press-color code {
    font-family: 'Courier New', monospace;
    color: var(--text-muted);
    font-size: var(--fs-xs);
}
.press-fonts {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    max-width: 760px;
    margin: 0 auto;
}
.press-font {
    background: var(--dark-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: var(--space-md);
}
.press-font-sample {
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-light);
}
.press-font h4 {
    color: #fff;
    margin-bottom: 4px;
}
.press-font p {
    color: var(--text-muted);
    font-size: var(--fs-sm);
}
.press-headshots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
    max-width: 880px;
    margin: 0 auto;
}
.press-headshot {
    background: var(--dark-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: var(--space-md);
    text-align: center;
}
.press-headshot img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(212, 168, 83, 0.4);
    margin-bottom: var(--space-sm);
}
.press-headshot h4 {
    color: #fff;
    margin-bottom: 2px;
}
.press-headshot p {
    color: var(--red);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}
.press-download {
    display: inline-block;
    background: rgba(212, 168, 83, 0.1);
    color: var(--red);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(212, 168, 83, 0.3);
    transition: all var(--transition);
}
.press-download:hover {
    background: var(--red);
    color: #fff;
}
.press-contact {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.press-contact p {
    color: var(--text-dark);
    font-size: var(--fs-md);
    margin-bottom: var(--space-sm);
}
.press-contact a {
    color: var(--red);
    text-decoration: underline;
}
.press-contact .btn {
    margin-top: var(--space-md);
}

/* Footer h3 styling — use h4 visual style since they're now h3 for a11y */
.footer-nav h3, .footer-links h3, .footer-newsletter h3 {
    color: #fff;
    font-size: var(--fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

/* --- Footer newsletter --- */
.footer-newsletter h4 {
    color: #fff;
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}
.footer-newsletter p {
    color: var(--text-muted);
    font-size: var(--fs-xs);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}
.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    padding: 4px;
    transition: border-color var(--transition);
}
.newsletter-form:focus-within {
    border-color: var(--red);
}
.newsletter-form input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--light);
    padding: 8px 14px;
    font-family: inherit;
    font-size: var(--fs-xs);
    min-width: 0;
}
.newsletter-form input[type="email"]:focus { outline: none; }
.newsletter-form input[type="email"]::placeholder { color: var(--text-muted); }
.newsletter-form button {
    background: var(--red);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), transform var(--transition);
    flex-shrink: 0;
}
.newsletter-form button:hover {
    background: var(--red-hover);
    transform: translateX(2px);
}
.newsletter-form button:disabled { opacity: 0.5; cursor: wait; }
.newsletter-status {
    font-size: var(--fs-xs);
    margin-top: 6px;
    min-height: 1em;
}
.newsletter-status.success { color: #22c55e; }
.newsletter-status.error { color: #ef4444; }
.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;
}

/* --- Footer social icons + legal --- */
.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    transition: all var(--transition);
}
.footer-social a:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    transform: translateY(-2px);
}
.footer-legal {
    margin-top: 4px;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}
.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}
.footer-legal a:hover { color: var(--red); }

/* --- Contact form success card --- */
.contact-success {
    background: var(--dark-card);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius);
    padding: var(--space-lg);
    text-align: center;
    animation: success-appear 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes success-appear {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.contact-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
    border: 2px solid #22c55e;
    color: #22c55e;
    margin-bottom: var(--space-md);
}
.contact-success-icon svg { width: 36px; height: 36px; }
.contact-success h3 {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-sm);
}
.contact-success > p {
    color: var(--text);
    font-size: var(--fs-md);
    line-height: 1.65;
    margin-bottom: var(--space-sm);
}
.contact-success-meta {
    color: var(--text-muted) !important;
    font-size: var(--fs-sm) !important;
    margin-top: var(--space-md) !important;
    margin-bottom: var(--space-sm) !important;
}
.contact-success-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

/* --- 404 page --- */
.error-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.error-code {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--red), var(--warm));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: var(--space-sm);
    text-shadow: 0 0 60px rgba(212, 168, 83, 0.3);
}
.error-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

/* --- Track Record vertical timeline with market-cap bars --- */
.timeline-v {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: var(--space-md) 0;
}
.timeline-v::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(212, 168, 83, 0.4), rgba(212, 168, 83, 0.4), transparent);
}
@media (max-width: 600px) {
    .timeline-v::before { left: 60px; }
}
.timeline-v-item {
    position: relative;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    margin-bottom: var(--space-md);
}
@media (max-width: 600px) {
    .timeline-v-item { grid-template-columns: 60px 1fr; gap: var(--space-sm); }
}
.timeline-v-year {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
    font-weight: 800;
    color: var(--red);
    text-align: right;
    line-height: 1;
    padding-top: 8px;
    position: relative;
}
.timeline-v-year::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 14px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 4px var(--dark), 0 0 16px rgba(212, 168, 83, 0.6);
}
@media (max-width: 600px) {
    .timeline-v-year::after { right: -8px; width: 10px; height: 10px; box-shadow: 0 0 0 3px var(--dark), 0 0 12px rgba(212, 168, 83, 0.6); }
}
.timeline-v-card {
    background: var(--dark-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: var(--space-sm) var(--space-md);
    transition: border-color var(--transition), transform var(--transition);
}
.timeline-v-card:hover {
    border-color: rgba(212, 168, 83, 0.3);
    transform: translateX(2px);
}
.timeline-v-card p {
    color: var(--text);
    font-size: var(--fs-base);
    line-height: 1.65;
    margin-bottom: var(--space-sm);
}
.timeline-v-bar {
    position: relative;
    height: 26px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 13px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.timeline-v-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--bar, 0%);
    background: linear-gradient(90deg, var(--red) 0%, var(--warm) 100%);
    border-radius: 13px;
    box-shadow: 0 0 16px rgba(212, 168, 83, 0.4);
    transform-origin: left center;
    animation: bar-grow 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
@media (prefers-reduced-motion: reduce) {
    .timeline-v-bar-fill { animation: none; }
}
@keyframes bar-grow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}
.timeline-v-bar-label {
    position: relative;
    z-index: 1;
    margin-left: auto;
    margin-right: 12px;
    font-size: var(--fs-xs);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.02em;
}

/* --- Game Centers concept grid (replaces removed image gallery) --- */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}
.concept-card {
    background: var(--dark-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: var(--space-md);
    transition: border-color var(--transition), transform var(--transition);
    position: relative;
    overflow: hidden;
}
.concept-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(212, 168, 83, 0.10), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}
.concept-card:hover {
    border-color: rgba(212, 168, 83, 0.35);
    transform: translateY(-3px);
}
.concept-card:hover::before { opacity: 1; }
.concept-card > * { position: relative; z-index: 1; }
.concept-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.15), rgba(240, 193, 75, 0.08));
    border: 1px solid rgba(212, 168, 83, 0.25);
    color: var(--red);
    margin-bottom: var(--space-sm);
}
.concept-icon svg { width: 28px; height: 28px; }
.concept-card h3 {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-xs);
}
.concept-card p {
    font-size: var(--fs-base);
    color: var(--text-muted);
    line-height: 1.65;
}

/* --- Nav placeholder: prevents FOUC before partial fetch resolves --- */
#site-nav {
    display: block;
    min-height: var(--nav-height);
}
#site-nav:empty {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(6, 6, 12, 0.6);
    backdrop-filter: blur(32px) saturate(1.5);
    -webkit-backdrop-filter: blur(32px) saturate(1.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    z-index: 1000;
}
/* Footer placeholder reserves space too */
#site-footer:empty {
    display: block;
    min-height: 200px;
    background: var(--dark-surface);
}

/* =====================================================
   Spec v10 — gold-accent utility classes
   ===================================================== */

/* Generic page hero (used by services/philosophy/projects/incubated/about) */
.page-hero {
    padding: calc(var(--nav-height) + clamp(60px, 9vw, 120px)) 0 clamp(40px, 6vw, 80px);
    text-align: center;
    background:
        radial-gradient(ellipse 70% 60% at 50% 0%, rgba(212, 168, 83, 0.10) 0%, transparent 60%),
        var(--dark);
    border-bottom: 1px solid var(--border-light);
}
.page-hero .eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: var(--fs-xs);
    color: var(--red);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}
.page-hero h1 {
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-sm);
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}
.page-hero .lede {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: var(--fs-md);
    line-height: 1.7;
}

/* Gold-accent headings */
.section-header-gold h2 {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-xs);
}
.section-header-gold h2 .accent { color: var(--red); }
.section-header-gold p { color: var(--text-muted); }

/* Service card grid (services.html, slide 8) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(16px, 2vw, 24px);
    margin-top: var(--space-lg);
}
.service-card {
    position: relative;
    padding: clamp(26px, 2.8vw, 34px);
    background: linear-gradient(180deg, var(--dark-card) 0%, rgba(212, 168, 83, 0.02) 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    overflow: hidden;
}
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(212, 168, 83, 0.10), transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 168, 83, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 168, 83, 0.2);
}
.service-card:hover::before { opacity: 1; }
.service-card .num {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 3vw, 2.6rem);
    color: var(--red);
    line-height: 1;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}
.service-card h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-sm);
    color: var(--text);
}
.service-card p {
    color: var(--text-muted);
    font-size: var(--fs-base);
    line-height: 1.7;
}

/* Metagame Support Channels (slide 9) — narrower, 5-up */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(14px, 1.6vw, 20px);
    margin-top: var(--space-lg);
}
.support-channel {
    padding: clamp(22px, 2.4vw, 28px) clamp(20px, 2.2vw, 26px);
    background: var(--dark-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.support-channel:hover {
    border-color: rgba(212, 168, 83, 0.35);
    transform: translateY(-2px);
}
.support-channel .num {
    color: var(--red);
    font-weight: 700;
    font-size: var(--fs-sm);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 6px;
}
.support-channel h4 {
    font-size: var(--fs-md);
    margin-bottom: 6px;
    color: var(--text);
}
.support-channel p {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: 1.55;
}

/* Metagame layers (philosophy.html, slide 7) */
.metagame-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(16px, 2vw, 22px);
    margin-top: var(--space-lg);
}
.metagame-layer {
    padding: clamp(26px, 2.8vw, 34px);
    background: linear-gradient(180deg, var(--dark-card), rgba(212, 168, 83, 0.02));
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    transition: all var(--transition);
}
.metagame-layer:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 168, 83, 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.metagame-layer .icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(212, 168, 83, 0.15);
    border: 1px solid rgba(212, 168, 83, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}
.metagame-layer h4 {
    font-size: var(--fs-lg);
    margin-bottom: 6px;
    color: var(--text);
}
.metagame-layer p {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: 1.6;
}

/* Why TCGs Must Evolve panel */
.evolve-panel {
    margin-top: var(--space-xl);
    padding: clamp(28px, 3.4vw, 42px);
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.08), rgba(212, 168, 83, 0.02));
    border: 1px solid rgba(212, 168, 83, 0.25);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.evolve-panel h3 {
    font-size: var(--fs-xl);
    color: var(--red);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.evolve-panel ol {
    list-style: none;
    counter-reset: ev;
    display: grid;
    gap: var(--space-sm);
}
.evolve-panel ol li {
    counter-increment: ev;
    padding-left: 48px;
    position: relative;
    color: var(--text);
    font-size: var(--fs-md);
    line-height: 1.7;
}
.evolve-panel ol li::before {
    content: counter(ev);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--red);
    color: var(--dark);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Industry timeline (about.html, slide 6) */
.timeline {
    margin: var(--space-xl) 0;
    display: grid;
    gap: clamp(14px, 1.8vw, 22px);
}
.timeline-row {
    display: grid;
    grid-template-columns: clamp(80px, 10vw, 110px) clamp(90px, 11vw, 130px) 1fr;
    align-items: center;
    gap: clamp(16px, 2.5vw, 32px);
    padding: clamp(22px, 2.4vw, 30px) clamp(22px, 2.5vw, 32px);
    background: var(--dark-card);
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--red);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.timeline-row:hover {
    transform: translateX(4px);
    border-color: rgba(212, 168, 83, 0.4);
    border-left-color: var(--red);
}
.timeline-row .year {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: var(--fs-xl);
    color: var(--text);
}
.timeline-row .value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: var(--fs-lg);
    color: var(--red);
}
.timeline-row .desc {
    color: var(--text-muted);
    font-size: var(--fs-base);
    line-height: 1.6;
}
@media (max-width: 700px) {
    .timeline-row {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "y v" "d d";
        gap: 8px;
    }
    .timeline-row .year { grid-area: y; }
    .timeline-row .value { grid-area: v; text-align: right; }
    .timeline-row .desc { grid-area: d; }
}

/* Distribution grid (services.html, slide 13) */
.distribution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(12px, 1.4vw, 18px);
    margin-top: var(--space-lg);
}
.distribution-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: clamp(14px, 1.8vw, 20px) clamp(18px, 2vw, 24px);
    background: var(--dark-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    transition: border-color var(--transition), transform var(--transition);
}
.distribution-row:hover { border-color: rgba(212, 168, 83, 0.3); }
.distribution-row .partner {
    color: var(--text);
    font-weight: 600;
    font-size: var(--fs-base);
}
.distribution-row .territory {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    text-align: right;
}

/* Printer chip row */
.printer-row {
    margin-top: var(--space-lg);
    padding: clamp(20px, 2.4vw, 28px);
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.06), rgba(212, 168, 83, 0.02));
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: var(--radius);
    text-align: center;
}
.printer-row .label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--red);
    font-weight: 700;
    font-size: var(--fs-xs);
    display: block;
    margin-bottom: var(--space-xs);
}
.printer-row .partners {
    color: var(--text);
    font-size: var(--fs-md);
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Game centers feature (services.html, slide 10) */
.game-centers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 3vw, 48px);
    align-items: center;
    margin-top: var(--space-lg);
    padding: clamp(24px, 3vw, 40px);
    background: var(--dark-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}
.game-centers img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}
.game-centers h3 {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-sm);
    color: var(--text);
}
.game-centers ul {
    list-style: none;
    margin-top: var(--space-md);
    display: grid;
    gap: 10px;
}
.game-centers ul li {
    color: var(--text-muted);
    padding-left: 24px;
    position: relative;
    font-size: var(--fs-base);
    line-height: 1.6;
}
.game-centers ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 700;
}
@media (max-width: 800px) {
    .game-centers { grid-template-columns: 1fr; }
}

/* Image-free game-centers visual (no third-party IP) */
.game-centers-noimg .gc-visual {
    aspect-ratio: 1 / 1;
    width: 100%;
    background: radial-gradient(ellipse at center, rgba(212, 168, 83, 0.18), rgba(6, 6, 12, 0.6) 70%);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--red);
    gap: var(--space-sm);
    padding: clamp(20px, 3vw, 36px);
}
.game-centers-noimg .gc-visual svg {
    width: clamp(100px, 14vw, 180px);
    height: auto;
    filter: drop-shadow(0 4px 16px rgba(212, 168, 83, 0.4));
}
.game-centers-noimg .gc-visual-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--red);
}

/* Project feature card (projects.html, slide 11) */
.project-feature {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(28px, 3.5vw, 56px);
    align-items: center;
    padding: clamp(28px, 3.6vw, 56px);
    background: linear-gradient(135deg, var(--dark-card), rgba(212, 168, 83, 0.04));
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--red);
    border-radius: var(--radius);
    margin-top: var(--space-lg);
}
.project-feature .badge {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--red);
    font-weight: 700;
    font-size: var(--fs-xs);
    margin-bottom: var(--space-sm);
}
.project-feature h3 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: var(--space-sm);
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.project-feature p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: var(--fs-md);
    margin-bottom: var(--space-md);
}
.project-feature ul {
    list-style: none;
    margin-bottom: var(--space-md);
    display: grid;
    gap: 8px;
}
.project-feature ul li {
    padding-left: 24px;
    position: relative;
    color: var(--text);
    font-size: var(--fs-base);
}
.project-feature ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 700;
}
.project-feature .visual {
    aspect-ratio: 4/5;
    background: radial-gradient(ellipse at center, rgba(212, 168, 83, 0.18), rgba(6, 6, 12, 0.6));
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: clamp(20px, 3vw, 40px);
}
.project-feature .visual.visual-logo {
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.04), rgba(6, 6, 12, 0.7));
}
.project-feature .visual.visual-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 32px rgba(212, 168, 83, 0.25));
}
@media (max-width: 800px) {
    .project-feature { grid-template-columns: 1fr; }
}

/* Incubated company card (incubated.html, slide 12) */
.incubated-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(20px, 2.5vw, 32px);
    margin-top: var(--space-lg);
}
.incubated-card {
    padding: clamp(28px, 3.4vw, 44px);
    background: var(--dark-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.incubated-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 168, 83, 0.4);
}
.incubated-card .logo-block {
    width: 100%;
    aspect-ratio: 16/7;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.10), rgba(6, 6, 12, 0.6));
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}
.incubated-card h3 {
    font-size: var(--fs-xl);
    margin-bottom: 6px;
    color: var(--text);
}
.incubated-card .status {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: var(--fs-xs);
    color: var(--red);
    font-weight: 700;
}

/* Credibility bar (index.html hero callout, slide 3) */
.credibility-bar {
    margin-top: 0;
    padding: clamp(28px, 3.4vw, 48px);
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.06), rgba(6, 6, 12, 0));
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: 1.1fr 1.5fr;
    gap: clamp(28px, 3.4vw, 56px);
    align-items: center;
}
.credibility-bar .book-side {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(16px, 2vw, 24px);
    align-items: center;
}
.credibility-bar .book-side img {
    width: clamp(80px, 9vw, 120px);
    height: auto;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
/* Philosophy page: book cover is the centerpiece, scale it up */
body[data-page="philosophy"] .credibility-bar .book-side img {
    width: clamp(180px, 20vw, 280px);
    border-radius: 8px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}
.credibility-bar .book-side .label {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: var(--fs-xs);
    color: var(--red);
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
}
.credibility-bar .book-side .desc {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: 1.55;
}
.credibility-bar .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 24px);
    text-align: center;
}
.credibility-bar .stats .stat {
    padding: 0 8px;
}
.credibility-bar .stats .num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--red);
    line-height: 1;
    margin-bottom: 6px;
    display: block;
}
.credibility-bar .stats .label {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: 1.5;
}
@media (max-width: 900px) {
    .credibility-bar {
        grid-template-columns: 1fr;
    }
    .credibility-bar .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .credibility-bar .stats { grid-template-columns: 1fr; gap: 12px; }
    .credibility-bar .book-side { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* $100B retail callout (about.html) */
.callout-100b {
    margin: var(--space-xl) auto;
    padding: clamp(28px, 4vw, 48px);
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.10), rgba(212, 168, 83, 0.02));
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: var(--radius);
    text-align: center;
}
.callout-100b .big {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    color: var(--red);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xs);
}
.callout-100b .sub {
    color: var(--text);
    font-size: var(--fs-md);
    max-width: 600px;
    margin: 0 auto;
}

/* Games we've worked on strip (about.html) */
.portfolio-strip {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    text-align: center;
    color: var(--text-muted);
    font-size: var(--fs-base);
    line-height: 2;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.portfolio-strip .label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--red);
    font-weight: 700;
    font-size: var(--fs-xs);
    margin-bottom: var(--space-xs);
}

/* HQ talent network (services.html, slide 13) */
.hq-block {
    margin-top: var(--space-lg);
    padding: clamp(24px, 3vw, 36px);
    background: var(--dark-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    text-align: center;
}
.hq-block .label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--red);
    font-weight: 700;
    font-size: var(--fs-xs);
    margin-bottom: var(--space-xs);
    display: block;
}
.hq-block h3 {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-sm);
    color: var(--text);
}
.hq-block p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Contractors tile (team.html) */
.contractors-tile {
    grid-column: 1 / -1;
    padding: clamp(28px, 3vw, 40px);
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.08), rgba(6, 6, 12, 0));
    border: 1px solid rgba(212, 168, 83, 0.25);
    border-radius: var(--radius);
    text-align: center;
    margin-top: var(--space-md);
}
.contractors-tile .big {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--red);
    line-height: 1;
    margin-bottom: var(--space-xs);
    display: block;
}
.contractors-tile h3 {
    font-size: var(--fs-lg);
    color: var(--text);
    margin-bottom: 6px;
}
.contractors-tile p {
    color: var(--text-muted);
    font-size: var(--fs-base);
}

/* Tighter Plus team grid (associates row) */
.team-associates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(16px, 2vw, 24px);
    margin-top: var(--space-lg);
}

/* Generic dark section padding helper */
.section-pad {
    padding: clamp(60px, 8vw, 110px) 0;
}

/* Hero CTA row (two buttons side-by-side, staggered entry) */
.hero-cta-row {
    display: flex;
    gap: clamp(12px, 1.5vw, 20px);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-md);
}
.hero-cta-row .btn {
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
.hero-cta-row .btn:nth-child(2) {
    animation-delay: 0.55s;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-cta-row .btn { animation: none; }
}

/* =====================================================
   Per-element stagger animation for grid children
   When a parent .fade-in becomes .visible, its card
   children rise in sequence instead of all at once.
   ===================================================== */
@keyframes cardRise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in.visible :is(.service-card, .metagame-layer, .timeline-row, .distribution-row, .support-channel, .incubated-card) {
    animation: cardRise 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.fade-in.visible :is(.service-card, .metagame-layer, .timeline-row, .distribution-row, .support-channel, .incubated-card):nth-child(1)  { animation-delay: 0.05s; }
.fade-in.visible :is(.service-card, .metagame-layer, .timeline-row, .distribution-row, .support-channel, .incubated-card):nth-child(2)  { animation-delay: 0.12s; }
.fade-in.visible :is(.service-card, .metagame-layer, .timeline-row, .distribution-row, .support-channel, .incubated-card):nth-child(3)  { animation-delay: 0.19s; }
.fade-in.visible :is(.service-card, .metagame-layer, .timeline-row, .distribution-row, .support-channel, .incubated-card):nth-child(4)  { animation-delay: 0.26s; }
.fade-in.visible :is(.service-card, .metagame-layer, .timeline-row, .distribution-row, .support-channel, .incubated-card):nth-child(5)  { animation-delay: 0.33s; }
.fade-in.visible :is(.service-card, .metagame-layer, .timeline-row, .distribution-row, .support-channel, .incubated-card):nth-child(6)  { animation-delay: 0.40s; }
.fade-in.visible :is(.service-card, .metagame-layer, .timeline-row, .distribution-row, .support-channel, .incubated-card):nth-child(7)  { animation-delay: 0.47s; }
.fade-in.visible :is(.service-card, .metagame-layer, .timeline-row, .distribution-row, .support-channel, .incubated-card):nth-child(8)  { animation-delay: 0.54s; }
.fade-in.visible :is(.service-card, .metagame-layer, .timeline-row, .distribution-row, .support-channel, .incubated-card):nth-child(9)  { animation-delay: 0.61s; }
.fade-in.visible :is(.service-card, .metagame-layer, .timeline-row, .distribution-row, .support-channel, .incubated-card):nth-child(10) { animation-delay: 0.68s; }
.fade-in.visible :is(.service-card, .metagame-layer, .timeline-row, .distribution-row, .support-channel, .incubated-card):nth-child(11) { animation-delay: 0.75s; }
.fade-in.visible :is(.service-card, .metagame-layer, .timeline-row, .distribution-row, .support-channel, .incubated-card):nth-child(12) { animation-delay: 0.82s; }
.fade-in.visible :is(.service-card, .metagame-layer, .timeline-row, .distribution-row, .support-channel, .incubated-card):nth-child(n+13) { animation-delay: 0.89s; }
@media (prefers-reduced-motion: reduce) {
    .fade-in.visible :is(.service-card, .metagame-layer, .timeline-row, .distribution-row, .support-channel, .incubated-card) {
        animation: none;
    }
}

/* Mobile breakpoint insurance — single column for grids that use min ≥260px */
@media (max-width: 600px) {
    .incubated-grid,
    .service-grid,
    .support-grid,
    .metagame-grid {
        grid-template-columns: 1fr;
    }

    /* Heading and lede sizing — prevent horizontal overflow at small viewports */
    .hero h1,
    .page-hero h1 {
        font-size: 22px !important;
        line-height: 1.2 !important;
        letter-spacing: -0.01em !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        max-width: 100% !important;
        padding: 0 6px;
        box-sizing: border-box;
    }
    .hero-sub,
    .page-hero .lede {
        font-size: 0.95rem;
        line-height: 1.6;
        max-width: 100%;
        padding: 0 4px;
    }
    .page-hero {
        padding-top: calc(var(--nav-height) + 50px);
        padding-bottom: 50px;
    }
    .page-hero .eyebrow {
        font-size: 0.7rem;
    }

    /* Container clamp — guarantee no child exceeds viewport */
    .container,
    .page-hero > .container {
        max-width: 100vw;
        padding-left: 18px;
        padding-right: 18px;
    }

    /* Force any flex/grid kids to honor parent width */
    .credibility-bar,
    .game-centers,
    .project-feature,
    .timeline,
    .service-grid,
    .metagame-grid,
    .support-grid,
    .distribution-grid,
    .incubated-grid {
        max-width: 100%;
    }

    /* $100B callout: smaller on mobile */
    .callout-100b .big {
        font-size: clamp(2rem, 13vw, 3.4rem);
    }

    /* Hero CTA row stack on mobile */
    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-cta-row .btn {
        width: 100%;
    }

    /* Hero canvas should not overflow */
    .hero-canvas, .hero-bg {
        max-width: 100vw;
        left: 0;
        right: 0;
    }
}

/* Universal safety net: prevent horizontal scroll regardless of viewport */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* =====================================================
   Phase 3 — section dividers + service card tilt + parallax
   ===================================================== */

/* Subtle gold tick between adjacent dark sections */
.section.section-dark + .section.section-dark {
    position: relative;
}
.section.section-dark + .section.section-dark::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(120px, 18vw, 240px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.45), transparent);
}

/* Service card 3D tilt */
.service-card {
    transform-style: preserve-3d;
    will-change: transform;
}
.service-card.tilting {
    transition: transform 0.08s linear, border-color var(--transition), box-shadow var(--transition);
}
.service-card:not(.tilting) {
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
@media (prefers-reduced-motion: reduce) {
    .service-card { transform: none !important; }
}

/* $100B count-up split markup */
.callout-100b .big .prefix-static,
.callout-100b .big .suffix-static,
.callout-100b .big [data-count] {
    display: inline;
}

/* Hero background scroll parallax — driven by --scrollY CSS variable
   set on the body by main.js scroll handler. */
.hero-bg {
    transform: translate3d(0, calc(var(--scrollY, 0) * 0.18px), 0);
    will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
    .hero-bg { transform: none; }
}

/* Nav label responsive switching for 8-tab nav */
.nav-links .nav-short { display: none; }
.nav-links .nav-full { display: inline; }
@media (min-width: 1024px) and (max-width: 1279px) {
    .nav-links .nav-full { display: none; }
    .nav-links .nav-short { display: inline; }
    .nav-links a { font-size: 0.85rem; }
}



/* ============================================================================
 * Incubated card photo media (incubated.html)
 * ============================================================================ */
.incubated-card .incubated-media {
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.10), rgba(6, 6, 12, 0.6));
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: var(--space-md);
    padding: clamp(12px, 2vw, 20px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.incubated-card .incubated-media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: calc(var(--radius-sm) - 4px);
}

/* ============================================================================
 * GQL Password Gate (dev-mode site lock — see main.js initGate)
 * Inline in every HTML page right after <body> so it paints before any
 * unauthenticated content can flash. Hidden via .is-unlocked once the
 * sessionStorage flag is set.
 * ============================================================================ */
.gql-gate {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 5vw, 60px);
    background: radial-gradient(ellipse at center, #11111c 0%, #06060c 70%);
    color: var(--text);
    font-family: inherit;
    overflow-y: auto;
}
.gql-gate.is-unlocked {
    display: none;
}
.gql-gate-card {
    width: 100%;
    max-width: 460px;
    padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 44px);
    background: var(--dark-card);
    border: 1px solid rgba(212, 168, 83, 0.25);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(212, 168, 83, 0.05) inset;
    text-align: center;
}
.gql-gate-logo {
    width: clamp(80px, 14vw, 120px);
    height: auto;
    margin: 0 auto var(--space-md);
    display: block;
}
.gql-gate-banner {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 auto var(--space-md);
    background: rgba(212, 168, 83, 0.10);
    border: 1px solid rgba(212, 168, 83, 0.35);
    border-radius: 999px;
    color: #d4a853;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.gql-gate-card h2 {
    margin: 0 0 var(--space-md);
    font-size: var(--fs-lg);
    color: var(--text);
    font-weight: 600;
    letter-spacing: 0.01em;
}
#gql-gate-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}
#gql-gate-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(6, 6, 12, 0.6);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    text-align: center;
    letter-spacing: 0.04em;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}
#gql-gate-input:focus {
    border-color: rgba(212, 168, 83, 0.7);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.15);
}
#gql-gate-form .btn {
    width: 100%;
}
.gql-gate-error {
    min-height: 1.2em;
    margin: 0;
    color: var(--red, #ff5a5a);
    font-size: var(--fs-sm);
    font-weight: 600;
}

/* ===== Incubated card contact line ===== */
.incubated-contact {
    margin-top: var(--space-sm);
    font-size: var(--fs-sm);
}
.incubated-contact a {
    color: var(--red);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(212, 168, 83, 0.3);
    transition: border-color var(--transition), color var(--transition);
}
.incubated-contact a:hover {
    border-bottom-color: var(--red);
    color: #f0c977;
}

/* ===== Auto-play-on-scroll videos with click-to-expand (vending sections) ===== */
.hover-video-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: #000;
    cursor: zoom-in;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.hover-video-wrap:hover {
    border-color: rgba(212, 168, 83, 0.55);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(212, 168, 83, 0.18);
}
.hover-video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

/* Center play badge — visible until video starts playing */
.hover-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(15, 15, 23, 0.75);
    border: 2px solid rgba(212, 168, 83, 0.85);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 40px rgba(212, 168, 83, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}
.hover-video-play svg {
    transform: translateX(2px); /* optical centering for the play triangle */
}
.hover-video-wrap.is-playing .hover-video-play {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
}
.hover-video-wrap:hover .hover-video-play {
    transform: translate(-50%, -50%) scale(1.06);
}
.hover-video-wrap.is-playing:hover .hover-video-play {
    opacity: 0;
}

/* Persistent corner badge: "Click to expand" */
.hover-video-expand {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px 7px 10px;
    border-radius: 999px;
    background: rgba(15, 15, 23, 0.82);
    border: 1px solid rgba(212, 168, 83, 0.4);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    pointer-events: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    opacity: 0.92;
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
    z-index: 2;
}
.hover-video-expand svg {
    color: var(--red);
}
.hover-video-wrap:hover .hover-video-expand {
    opacity: 1;
    transform: translateY(-2px);
    background: rgba(212, 168, 83, 0.18);
}

/* Letterbox the portrait video inside the square incubated-media frame so the
   ENTIRE video is visible (matches how the old <img> used object-fit: contain). */
.incubated-card .incubated-media .hover-video-wrap {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: calc(var(--radius-sm) - 4px);
}
.incubated-card .incubated-media .hover-video-wrap:hover {
    border: none;
    box-shadow: none;
}
.incubated-card .incubated-media .hover-video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: calc(var(--radius-sm) - 4px);
}
/* Game-centers section: video fills the left column */
.game-centers .hover-video-wrap { width: 100%; }

/* ===== Video lightbox (click-to-expand) ===== */
.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 48px);
}
.video-lightbox[hidden] { display: none; }
.video-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: extlinkFadeIn 0.25s ease-out;
}
.video-lightbox-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: extlinkPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.video-lightbox-player {
    width: 100%;
    height: auto;
    max-height: 90vh;
    border-radius: var(--radius);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8), 0 0 120px rgba(212, 168, 83, 0.15);
    background: #000;
    display: block;
}
.video-lightbox-close {
    position: absolute;
    top: clamp(12px, 2vw, 24px);
    right: clamp(12px, 2vw, 24px);
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 15, 23, 0.85);
    border: 1px solid rgba(212, 168, 83, 0.4);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), transform var(--transition);
}
.video-lightbox-close:hover {
    background: rgba(212, 168, 83, 0.18);
    transform: scale(1.05);
}

/* ===== External link confirmation modal ===== */
.extlink-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 3vw, 32px);
}
.extlink-modal[hidden] { display: none; }
.extlink-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 6, 12, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: extlinkFadeIn 0.2s ease-out;
}
.extlink-card {
    position: relative;
    z-index: 1;
    max-width: 480px;
    width: 100%;
    background: #0f0f17;
    border: 1px solid rgba(212, 168, 83, 0.35);
    border-radius: var(--radius);
    padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 40px) clamp(24px, 4vw, 36px);
    text-align: center;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(212, 168, 83, 0.12);
    animation: extlinkPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.extlink-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    border-radius: 50%;
    background: rgba(212, 168, 83, 0.12);
    border: 1px solid rgba(212, 168, 83, 0.4);
    color: var(--red);
}
.extlink-card h2 {
    font-size: var(--fs-xl);
    color: #fff;
    margin: 0 0 var(--space-sm);
    font-weight: 700;
    letter-spacing: -0.01em;
}
.extlink-body {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: 1.6;
    margin: 0 0 var(--space-md);
}
.extlink-host {
    font-family: 'JetBrains Mono', 'Menlo', monospace;
    font-size: var(--fs-sm);
    color: var(--red);
    background: rgba(212, 168, 83, 0.08);
    border: 1px solid rgba(212, 168, 83, 0.25);
    padding: 10px 14px;
    border-radius: 8px;
    margin: 0 0 var(--space-lg);
    word-break: break-all;
}
.extlink-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}
.extlink-actions .btn {
    min-width: 120px;
}
@keyframes extlinkFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes extlinkPopIn {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .extlink-backdrop, .extlink-card { animation: none; }
}

/* ===== TCG Industry Blog cards ===== */
.blog-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.blog-card .blog-date {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--red);
    margin-bottom: 4px;
}
.blog-card .blog-readmore {
    margin-top: auto;
    padding-top: var(--space-sm);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--red);
    letter-spacing: 0.02em;
}
.blog-card:hover .blog-readmore {
    color: #f0c977;
}
