@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

/* ============================================
   BE THE ONE - Landing Page Styles
   Dark Mode | Futuristic | Minimal | Powerful
   ============================================ */

/* CSS Variables */
:root {
    color-scheme: dark;

    /* Colors */
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --bg-tertiary: #18181b;
    --bg-card: rgba(24, 24, 27, 0.6);

    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #8a8a95;

    --accent-gold: #d4a853;
    --accent-gold-dim: rgba(212, 168, 83, 0.15);
    --accent-blue: #3b82f6;
    --accent-blue-dim: rgba(59, 130, 246, 0.15);

    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.15);

    --glow-gold: 0 0 40px rgba(212, 168, 83, 0.3);
    --glow-blue: 0 0 40px rgba(59, 130, 246, 0.3);

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

    /* Spacing */
    --section-padding: clamp(80px, 12vh, 140px);
    --container-width: 1200px;
    --container-padding: clamp(20px, 5vw, 40px);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

:root[data-theme="light"] {
    color-scheme: light;

    --bg-primary: #f7f3e9;
    --bg-secondary: #efe7d8;
    --bg-tertiary: #e6dcc9;
    --bg-card: rgba(255, 251, 243, 0.76);

    --text-primary: #181511;
    --text-secondary: #3d3427;
    --text-muted: #5e5443;

    --accent-gold: #8a6a1e;
    --accent-gold-dim: rgba(184, 138, 43, 0.14);
    --accent-blue: #2563eb;
    --accent-blue-dim: rgba(37, 99, 235, 0.12);

    --border-color: rgba(71, 56, 37, 0.14);
    --border-color-hover: rgba(71, 56, 37, 0.24);

    --glow-gold: 0 0 36px rgba(184, 138, 43, 0.22);
    --glow-blue: 0 0 36px rgba(37, 99, 235, 0.18);
}

:root[data-theme="light"] .discipline-card-img {
    opacity: 0.12;
    filter: brightness(0.6) contrast(1.2);
}

:root[data-theme="light"] .discipline-card:hover .discipline-card-img {
    opacity: 0.2;
}

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

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

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

/* Offset anchor scroll for fixed nav */
[id] {
    scroll-margin-top: 80px;
}

/* Display Font for Headings & Key Statements */
.hero-title,
.section-title,
.shift-statement p,
.join-title,
.book-title,
.problem-truth .truth-highlight,
.who-statement p {
    font-family: var(--font-display);
}

.book-quote p,
.shift-statement .highlight {
    font-family: var(--font-display);
    font-style: italic;
}

/* Grid Background */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    transition: opacity var(--transition-slow), background-image var(--transition-slow);
}

html[data-theme="light"] .grid-bg {
    background-image:
        linear-gradient(rgba(44, 33, 18, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(44, 33, 18, 0.045) 1px, transparent 1px);
    opacity: 0.55;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--accent-gold);
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: linear-gradient(to bottom, var(--bg-primary) 0%, transparent 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.nav.nav-scrolled {
    background: rgba(10, 10, 11, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 24px;
    width: auto;
}

.nav-cta {
    font-size: 13px;
    font-weight: 600;
    color: #0a0a0b;
    text-decoration: none;
    padding: 10px 20px;
    background: var(--accent-gold, #d4a853);
    border: 1px solid var(--accent-gold, #d4a853);
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    color: #0a0a0b;
    background: #e0b968;
    border-color: #e0b968;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
}

.theme-toggle:hover {
    color: var(--text-primary);
    border-color: var(--accent-gold);
    background: var(--accent-gold-dim);
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
}

.theme-toggle-icon {
    font-size: 15px;
    line-height: 1;
}

.theme-toggle-text {
    white-space: nowrap;
}

/* Nav Right (CTA + Language Switcher) */
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Switcher - Globe Dropdown */
.lang-switcher {
    position: relative;
    font-size: 13px;
    font-weight: 500;
}

.lang-switcher .lang-switcher-toggle {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px 10px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    transition: all var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
}

.lang-switcher .lang-switcher-toggle:hover {
    color: var(--text-secondary);
    border-color: rgba(255,255,255,0.2);
    background: var(--bg-tertiary);
}

.lang-switcher .lang-switcher-toggle svg {
    display: inline-block;
    width: 15px;
    height: 15px;
    min-width: 15px;
    min-height: 15px;
    opacity: 0.7;
    vertical-align: middle;
    flex-shrink: 0;
}

.lang-switcher .lang-switcher-toggle .lang-arrow {
    width: 10px;
    height: 10px;
    min-width: 10px;
    min-height: 10px;
    opacity: 0.5;
    transition: transform 0.2s ease;
}

.lang-switcher.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-switcher .lang-dropdown {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--bg-secondary, #1a1a1b);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    min-width: 140px;
    padding: 4px;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.lang-switcher.open .lang-dropdown {
    display: flex;
}

.lang-switcher .lang-dropdown a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.lang-switcher .lang-dropdown a:hover {
    color: var(--text-secondary);
    background: var(--bg-tertiary);
}

.lang-switcher .lang-dropdown a.active {
    color: var(--accent-gold);
    background: var(--accent-gold-dim);
}

html[data-theme="light"] .nav {
    background: linear-gradient(to bottom, rgba(247, 243, 233, 0.94) 0%, rgba(247, 243, 233, 0) 100%);
}

html[data-theme="light"] .nav.nav-scrolled {
    background: rgba(247, 243, 233, 0.94);
    border-bottom-color: rgba(71, 56, 37, 0.1);
}

html[data-theme="light"] .lang-switcher .lang-switcher-toggle,
html[data-theme="light"] .theme-toggle {
    background: rgba(255, 251, 243, 0.7);
    border-color: rgba(71, 56, 37, 0.16);
}

html[data-theme="light"] .lang-switcher .lang-switcher-toggle:hover {
    background: var(--bg-secondary);
    border-color: rgba(71, 56, 37, 0.24);
    color: var(--text-primary);
}

html[data-theme="light"] .lang-switcher .lang-dropdown {
    background: rgba(255, 251, 243, 0.98);
    border-color: rgba(71, 56, 37, 0.14);
    box-shadow: 0 18px 40px rgba(71, 56, 37, 0.12);
}

html[data-theme="light"] .lang-switcher .lang-dropdown a:hover {
    background: var(--bg-secondary);
}

.lang-switcher .lang-dropdown .lang-check {
    display: inline-block;
    width: 14px;
    text-align: center;
    font-size: 11px;
}

/* ── Mega menu (Learn dropdown) ───────────── */

.topic-mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding-top: 10px;
}

.site-nav-learn-wrap:hover .topic-mega-menu {
    display: block;
}

.topic-mega-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 24px;
    background: var(--bg-secondary, #111);
    border: 1px solid var(--border-color, #222);
    border-radius: 14px;
    min-width: 500px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.topic-mega-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.topic-mega-pillar {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary, #fff);
    text-decoration: none;
    margin-bottom: 4px;
}

.topic-mega-pillar:hover {
    color: var(--accent-gold, #d4a853);
}

html[data-theme="light"] .topic-mega-inner {
    box-shadow: 0 18px 40px rgba(71, 56, 37, 0.12);
}

.topic-mega-link {
    font-size: 13px;
    color: var(--text-muted, #888);
    text-decoration: none;
    padding: 2px 0;
}

.topic-mega-link:hover {
    color: var(--accent-gold, #d4a853);
}

.topic-mega-coming {
    font-size: 12px;
    color: var(--text-muted, #888);
    opacity: 0.5;
    font-style: italic;
}
.topic-mega-inner--wide {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    min-width: 860px;
}

.topic-mega-inner--wide .nav-mega-tagline {
    grid-column: 1 / -1;
    max-width: 360px;
    margin: 0 0 4px;
    line-height: 1.35;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.faq-card {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: rgba(17, 17, 19, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.faq-card h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.faq-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ── Mobile nav toggle (hamburger) ────────── */

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary, #fff);
    transition: transform 0.2s;
}

/* Learn link wrapper (mega-menu host) */
.site-nav-learn-wrap {
    position: relative;
}

/* Shared nav trigger + dual mega menus */
.nav-menu-wrap { position: relative; }
.nav-trigger {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted, #8a8a95);
}
.nav-trigger:focus-visible { outline: 2px solid var(--accent-gold, #d4a853); outline-offset: 3px; }
.nav-menu-wrap[data-open="true"] .topic-mega-menu { display: block; }
.nav-menu-wrap:hover .topic-mega-menu { display: block; }
.nav-mega-tagline { margin: 0 0 8px; font-size: 12px; color: var(--text-muted, #8a8a95); opacity: 0.8; }

@media (max-width: 640px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-right {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-primary, #0a0a0b);
        border-bottom: 1px solid var(--border-color, #222);
        padding: 16px;
        gap: 8px;
    }

    .nav-right.nav-open {
        display: flex;
    }

    .nav-container {
        position: relative;
    }

    .topic-mega-menu {
        display: none !important;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: #e5b85e;
    box-shadow: var(--glow-gold);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-color-hover);
    background: var(--bg-tertiary);
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px var(--container-padding) var(--section-padding);
    overflow: hidden;
}

.hero-content {
    max-width: 720px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-gold);
    padding: 8px 16px;
    background: var(--accent-gold-dim);
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: 100px;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual */
.hero-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    pointer-events: none;
    z-index: 1;
}

.visual-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid var(--border-color);
    animation: ringPulse 4s ease-in-out infinite;
}

.ring-1 {
    width: 300px;
    height: 300px;
    animation-delay: 0s;
}

.ring-2 {
    width: 450px;
    height: 450px;
    animation-delay: 0.5s;
}

.ring-3 {
    width: 600px;
    height: 600px;
    animation-delay: 1s;
}

@keyframes ringPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.1; transform: translate(-50%, -50%) scale(1.02); }
}

.visual-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-gold-dim);
    border: 1px solid rgba(212, 168, 83, 0.3);
}

.visual-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-gold);
}

/* ============================================
   Section Base Styles
   ============================================ */
.section {
    position: relative;
    padding: var(--section-padding) 0;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================
   Problem Section
   ============================================ */
.problem {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.problem .section-header {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 48px auto;
}

.problem .section-title {
    font-size: clamp(30px, 4.5vw, 48px);
}

.problem-stack {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto 80px auto;
}

.problem-card {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.problem-card:last-child {
    border-bottom: none;
}

.problem-number {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    font-variant-numeric: tabular-nums;
}

.problem-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.problem-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
}

.problem-truth {
    text-align: left;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.problem-truth p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.problem-truth .truth-highlight {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1.3;
    margin-bottom: 0;
}

/* ============================================
   Shift Section
   ============================================ */
.shift {
    background: var(--bg-secondary);
}

.shift .section-header {
    text-align: left;
    margin-bottom: 48px;
}

.shift-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
    margin-bottom: 48px;
}

.shift-column {
    padding: 40px;
    border-radius: 0;
}

.shift-column.old {
    background: transparent;
    border: none;
    border-right: 1px solid var(--border-color);
}

.shift-column.new {
    background: transparent;
    border: none;
}

.shift-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 32px;
}

.old .shift-label {
    color: #ef4444;
}

.new .shift-label {
    color: var(--accent-gold);
}

.shift-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.shift-list li {
    font-size: 15px;
    line-height: 1.5;
}

.old .shift-list li {
    text-decoration: line-through;
    text-decoration-color: rgba(239, 68, 68, 0.4);
    color: var(--text-muted);
}

.new .shift-list li {
    color: var(--text-primary);
    font-weight: 500;
}

.shift-statement {
    text-align: center;
    padding: 48px 0 0 0;
}

.shift-statement p {
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 700;
    line-height: 1.3;
}

.shift-statement .highlight {
    color: var(--accent-gold);
    font-style: italic;
}

@media (max-width: 768px) {
    .shift-comparison {
        grid-template-columns: 1fr;
    }

    .shift-column.old {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 32px;
    }

    .shift-column.new {
        padding-top: 32px;
    }

    .shift-column {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ============================================
   What Section (The System)
   ============================================ */
.what {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

/* Discipline Cards */
.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.discipline-card {
    position: relative;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.discipline-card:hover {
    border-color: rgba(212, 168, 83, 0.3);
    transform: translateY(-4px);
}

.discipline-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at bottom right, rgba(212, 168, 83, 0.08) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.discipline-card:hover::after {
    opacity: 1;
}

.discipline-card-img {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 180px;
    height: 180px;
    object-fit: contain;
    opacity: 0.18;
    pointer-events: none;
    transition: opacity var(--transition-base);
    z-index: 0;
}

.discipline-card:hover .discipline-card-img {
    opacity: 0.3;
}

.discipline-number {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.discipline-title {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.discipline-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    max-width: 240px;
}

.what-note {
    padding: 0 0 0 24px;
    border-left: 2px solid var(--accent-gold);
    max-width: 700px;
}

.what-note p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
}

@media (max-width: 900px) {
    .disciplines-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .disciplines-grid {
        grid-template-columns: 1fr;
    }
    .discipline-card {
        min-height: auto;
    }
}

/* ============================================
   Who Section
   ============================================ */
.who {
    background: var(--bg-primary);
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.who-card {
    padding: 40px;
    border-radius: 12px;
}

.who-for {
    background: var(--accent-gold-dim);
    border: 1px solid rgba(212, 168, 83, 0.2);
}

.who-not {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.who-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
}

.who-for .who-label {
    color: var(--accent-gold);
}

.who-not .who-label {
    color: #ef4444;
}

.who-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.who-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.check-icon, .x-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-icon {
    color: var(--accent-gold);
}

.x-icon {
    color: #ef4444;
}

.who-statement {
    text-align: center;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.who-statement p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Social Proof Section
   ============================================ */
.proof {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 60px 0;
}

.proof-content {
    text-align: center;
}

.proof-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
}

.proof-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.proof-badge svg {
    width: 18px;
    height: 18px;
    color: var(--accent-gold);
}

.proof-statement p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.proof-statement .proof-highlight {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ============================================
   App Preview Section
   ============================================ */
.app-preview {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 50%, var(--bg-secondary) 100%);
    overflow: hidden;
}

/* Single Mockup Image Display */
.app-mockups-single {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 80px;
    padding: 0 20px;
}

.mockups-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(212, 168, 83, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

.app-mockups-single img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    width: 900px;
    height: auto;
    border-radius: 12px;
    transition: transform var(--transition-base);
}

.app-mockups-single:hover img {
    transform: scale(1.02);
}

@media (max-width: 900px) {
    .app-mockups-single img {
        width: 100%;
    }
}

/* App Features Grid */
.app-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .app-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .app-features {
        grid-template-columns: 1fr;
    }
}

.app-feature {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all var(--transition-base);
}

.app-feature:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gold-dim);
    border-radius: 12px;
    margin: 0 auto 16px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-gold);
}

.app-feature h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.app-feature p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   Book Coming Soon Section
   ============================================ */
.book {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.book-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 900px) {
    .book-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .book-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .book-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.book-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(212, 168, 83, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
}

.book-image img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    height: auto;
    transition: transform var(--transition-base);
}

.book-image:hover img {
    transform: translateY(-8px) scale(1.02);
}

.book-info {
    max-width: 500px;
}

.book-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.book-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.book-author {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
    font-style: italic;
}

.book-description {
    margin-bottom: 32px;
}

.book-description p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.book-description p:last-child {
    margin-bottom: 0;
    color: var(--text-primary);
    font-weight: 500;
}

.book-quote {
    padding: 24px;
    background: var(--accent-gold-dim);
    border-left: 3px solid var(--accent-gold);
    border-radius: 0 8px 8px 0;
    margin-bottom: 32px;
}

.book-quote p {
    font-size: 17px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.6;
    font-style: italic;
}

.book-cta {
    display: flex;
    gap: 16px;
}

@media (max-width: 900px) {
    .book-cta {
        justify-content: center;
    }
}

/* ============================================
   Join Section
   ============================================ */
.join {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.join .container {
    position: relative;
    z-index: 2;
}

.join-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.join-header {
    margin-bottom: 40px;
}

.join-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
}

.join-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.join-form {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto 16px;
}

@media (max-width: 540px) {
    .form-group {
        flex-direction: column;
    }

    .form-group .btn {
        width: 100%;
        justify-content: center;
    }
}

.form-group input {
    flex: 1;
    padding: 14px 20px;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    transition: all var(--transition-fast);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-gold-dim);
}

.form-note {
    font-size: 13px;
    color: var(--text-muted);
}

.join-success {
    display: none;
    text-align: center;
    padding: 40px;
    animation: fadeInUp 0.4s ease-out;
}

.join-success.show {
    display: block;
}

.join-form.hidden {
    display: none;
}

.success-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gold-dim);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: 50%;
    margin: 0 auto 24px;
}

.success-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent-gold);
}

.join-success h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.join-success p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Visual Lines */
.join-visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.visual-lines {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 200px;
    height: 100%;
}

.v-line {
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, var(--border-color) 50%, transparent 100%);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-primary);
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-img {
    height: 26px;
    width: auto;
}

.footer-mission {
    max-width: 400px;
}

.mission-line {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.truth-line {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 32px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.footer-social a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-social a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

/* Scroll Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for grids */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.reveal-stagger.active > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.active > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.active > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.active > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.active > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.active > *:nth-child(6) { transition-delay: 0.5s; }

.reveal-stagger.active > * {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 900px) {
    .nav {
        background: rgba(10, 10, 11, 0.96);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .hero-visual {
        display: none;
    }

    .hero-badge,
    .hero-title,
    .hero-subtitle,
    .hero-cta-group,
    .hero-stats {
        animation: none;
    }

    .theme-toggle {
        width: 100%;
        justify-content: center;
        padding: 12px 14px;
    }
}

@media (max-width: 900px) {
    html[data-theme="light"] .nav {
        background: rgba(247, 243, 233, 0.96);
    }
}

@media (max-width: 640px) {
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .who-grid {
        grid-template-columns: 1fr;
    }

    .proof-badges {
        flex-direction: column;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Articles Section
   ============================================ */

.articles {
    background: var(--bg-primary);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.article-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    text-decoration: none;
    transition: var(--transition-base);
}

.article-card:hover {
    border-color: var(--accent-gold);
    background: rgba(212, 168, 83, 0.05);
    transform: translateY(-2px);
}

.article-date {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.article-read {
    font-size: 14px;
    color: var(--accent-gold);
    font-weight: 500;
}

.articles-more {
    text-align: center;
}

.articles-empty {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 40px;
}

/* ============================================
   Free Tools Section
   ============================================ */

.tools {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.tool-card {
    display: flex;
    flex-direction: column;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.tool-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-4px);
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gold-dim);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

.tool-icon svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px;
    max-height: 24px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.tool-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.tool-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-gold);
    transition: gap var(--transition-fast);
}

.tool-card:hover .tool-link {
    gap: 10px;
}

.tool-link svg {
    color: var(--accent-gold);
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Related Tools Strip (used on tool pages)
   ============================================ */

.related-tools {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.related-tools-header {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-align: center;
    margin-bottom: 24px;
}

.related-tools-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.related-tool-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.related-tool-link:hover {
    color: var(--text-primary);
    border-color: var(--accent-gold);
    background: var(--accent-gold-dim);
}

.related-tool-link svg {
    width: 16px;
    height: 16px;
    color: var(--accent-gold);
}

@media (max-width: 640px) {
    .related-tools-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .related-tool-link {
        justify-content: center;
    }
}

/* ============================================
   Use Cases Preview (Homepage)
   ============================================ */
.uc-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.uc-preview-card {
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--bg-card);
    text-decoration: none;
    color: var(--text-primary);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.uc-preview-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.uc-preview-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--accent-gold-dim);
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.uc-preview-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
}

.uc-preview-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    flex: 1;
}

.uc-preview-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-gold);
}

.uc-preview-cta {
    text-align: center;
    margin-top: 32px;
}

.uc-preview-see-all {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    padding: 10px 24px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.uc-preview-see-all:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

@media (max-width: 768px) {
    .uc-preview-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ============================================
   Author Signals
   ============================================ */
.bto-author-byline {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 20px;
}

.bto-author-byline--compact {
    margin-top: 0;
}

.bto-author-byline__avatar-link {
    flex-shrink: 0;
    line-height: 0;
}

.bto-author-byline__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    object-fit: cover;
    background: rgba(255, 255, 255, 0.04);
}

.bto-author-byline__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bto-author-byline__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.bto-author-byline__name,
.bto-author-card__name {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.bto-author-byline__name a,
.bto-author-card__name a,
.bto-author-page__breadcrumb a,
.bto-author-card__proof {
    color: inherit;
    text-decoration: none;
}

.bto-author-byline__name a:hover,
.bto-author-card__name a:hover,
.bto-author-page__breadcrumb a:hover,
.bto-author-card__proof:hover {
    color: var(--accent-gold);
}

.bto-author-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 20px;
    margin-top: 32px;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        var(--bg-card);
}

.bto-author-card--compact,
.bto-author-card--trust {
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 20px;
}

.bto-author-card--trust {
    margin-top: 40px;
}

.bto-author-card__media {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.bto-author-card__media a {
    display: block;
    line-height: 0;
}

.bto-author-card__image {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.bto-author-card--compact .bto-author-card__image,
.bto-author-card--trust .bto-author-card__image {
    width: 72px;
    height: 72px;
    border-radius: 16px;
}

.bto-author-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.bto-author-card__eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.bto-author-card__role {
    font-size: 14px;
    color: var(--text-secondary);
}

.bto-author-card__bio {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.bto-author-card__dates {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.bto-author-card__dot {
    color: var(--text-muted);
}

.bto-author-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bto-author-card__chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.bto-author-card__proofs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bto-author-card__proof {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.bto-author-card__proof:hover {
    background: rgba(201, 171, 93, 0.08);
    border-color: rgba(201, 171, 93, 0.35);
}

.bto-author-page {
    padding: 120px 0 80px;
}

.bto-author-page__container {
    width: min(1080px, calc(100% - 48px));
    margin: 0 auto;
}

.bto-author-page__breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    font-size: 13px;
    color: var(--text-muted);
}

.bto-author-page__hero {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    padding: 32px;
    border-radius: 28px;
    border: 1px solid var(--border-color);
    background:
        radial-gradient(circle at top left, rgba(201, 171, 93, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        var(--bg-card);
}

.bto-author-page__portrait-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.bto-author-page__socials {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.bto-author-page__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.bto-author-page__social-link:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    background: rgba(201, 171, 93, 0.08);
}

.bto-author-page__portrait {
    width: min(100%, 260px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] .bto-author-byline__avatar,
html[data-theme="light"] .bto-author-card__image,
html[data-theme="light"] .bto-author-card__chip,
html[data-theme="light"] .bto-author-card__proof,
html[data-theme="light"] .bto-author-page__social-link,
html[data-theme="light"] .bto-author-page__portrait {
    background: rgba(255, 251, 243, 0.78);
    border-color: rgba(71, 56, 37, 0.14);
}

html[data-theme="light"] .bto-author-card,
html[data-theme="light"] .bto-author-page__hero {
    background:
        linear-gradient(180deg, rgba(255, 251, 243, 0.88), rgba(255, 248, 239, 0.72)),
        var(--bg-card);
}

.bto-author-page__hero-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bto-author-page__eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.bto-author-page__hero-copy h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1;
    color: var(--text-primary);
}

.bto-author-page__role {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
}

.bto-author-page__intro,
.bto-author-page__bio,
.bto-author-page__section p {
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.bto-author-page__section {
    margin-top: 28px;
    padding: 28px 32px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.bto-author-page__section h2 {
    margin: 0 0 12px;
    font-size: 24px;
    color: var(--text-primary);
}

@media (max-width: 900px) {
    .bto-author-page {
        padding-top: 104px;
    }

    .bto-author-page__container {
        width: min(100% - 32px, 1080px);
    }

    .bto-author-page__hero {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px;
    }
}

@media (max-width: 640px) {
    .bto-author-byline {
        gap: 12px;
    }

    .bto-author-byline__avatar {
        width: 44px;
        height: 44px;
    }

    .bto-author-card,
    .bto-author-card--compact,
    .bto-author-card--trust {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px;
    }

    .bto-author-card__media {
        justify-content: flex-start;
    }

    .bto-author-card__image,
    .bto-author-card--compact .bto-author-card__image,
    .bto-author-card--trust .bto-author-card__image {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .bto-author-page__container {
        width: calc(100% - 24px);
    }

    .bto-author-page__hero,
    .bto-author-page__section {
        padding: 22px 20px;
    }

    .bto-author-page__intro,
    .bto-author-page__bio,
    .bto-author-page__section p {
        font-size: 15px;
    }
}

/* Accessibility: skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--accent-gold);
    color: var(--bg-primary);
    padding: 8px 16px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 10000;
    transition: top 0.2s ease;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
}

/* Accessibility: screen-reader only */
.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;
}

/* Accessibility: visible focus indicator */
:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}
:focus:not(:focus-visible) {
    outline: none;
}
