/* ============================================
   ANIMATIONS
   ============================================ */

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

.hero,
.section,
.section--sm,
.page-header {
    animation: fadeUp 0.6s ease-out both;
}

.hero { animation-delay: 0.05s; }
.hero + .section--sm,
.hero + .section,
.page-header + .section--sm,
.page-header + .section { animation-delay: 0.15s; }
.section:nth-of-type(3),
.section--sm:nth-of-type(3) { animation-delay: 0.25s; }
.section:nth-of-type(4),
.section--sm:nth-of-type(4) { animation-delay: 0.35s; }

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-dim);
}

ul, ol {
    list-style: none;
}

/* ============================================
   THEME VARIABLES
   ============================================ */

:root {
    /* Dark theme (default) */
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #0d0d0d;
    --bg-card-hover: #141414;

    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;

    --accent: #00ff41;
    --accent-dim: #00cc33;
    --accent-glow: rgba(0, 255, 65, 0.15);

    --border: #1e1e1e;
    --border-hover: #2a2a2a;

    --nav-bg: rgba(0, 0, 0, 0.95);

    /* Typography */
    --font-heading: 'Bricolage Grotesque', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Layout */
    --max-width: 1200px;
    --max-width-narrow: 800px;
    --nav-height: 64px;
}

[data-theme="light"] {
    --bg-primary: #f5f5f5;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f0f0;

    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #999999;

    --accent: #00aa2e;
    --accent-dim: #008824;
    --accent-glow: rgba(0, 170, 46, 0.1);

    --border: #e0e0e0;
    --border-hover: #cccccc;

    --nav-bg: rgba(245, 245, 245, 0.92);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.05;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.35rem;
    line-height: 1.2;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ============================================
   EYEBROW / LABEL
   ============================================ */

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #00ffcc 0%, #7c4dff 50%, #ff4da6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

.text-muted {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.text-accent {
    color: var(--accent);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container--narrow {
    max-width: var(--max-width-narrow);
}

.section {
    padding: var(--space-xl) 0;
    position: relative;
}

.section + .section::before,
.section + .section--sm::before,
.section--sm + .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(80%, 600px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hover) 30%, var(--accent-glow), var(--border-hover) 70%, transparent);
}

.section--sm {
    padding: var(--space-lg) 0;
    position: relative;
}

.grid {
    display: grid;
    gap: var(--space-md);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* ============================================
   NAVIGATION
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    height: var(--nav-height);
}

[data-theme="light"] .site-header {
    background: rgba(245, 245, 245, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.site-header .container {
    display: flex;
    align-items: center;
    height: 100%;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    letter-spacing: -0.01em;
    flex-shrink: 0;
    transition: color 0.2s ease;
    margin-right: auto;
}

.logo:hover {
    color: var(--accent) !important;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    position: relative;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

.nav-links a.active {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 1.5rem;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.2s ease;
    text-decoration: none;
}

[data-theme="light"] .nav-cta {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-cta:hover {
    border-color: rgba(0, 255, 65, 0.3);
    color: var(--accent);
    background: rgba(0, 255, 65, 0.08);
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    color: var(--text-primary);
    flex-shrink: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

[data-theme="light"] .theme-toggle {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.theme-toggle:hover {
    border-color: rgba(0, 255, 65, 0.3);
    background: rgba(0, 255, 65, 0.08);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: var(--space-xl) 0;
    min-height: calc(80vh - var(--nav-height));
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: 900px;
    height: 600px;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(0, 255, 65, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(100, 80, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 70%, rgba(0, 200, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero__content {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: var(--space-sm);
    text-shadow: 0 0 80px var(--accent-glow);
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.btn--primary {
    background: var(--accent);
    color: #0d0d0d;
}

.btn--primary:hover {
    background: var(--accent-dim);
    color: #0d0d0d;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 24px var(--accent-glow), 0 0 60px rgba(0, 255, 65, 0.1);
}

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

.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
    transform: translateY(-1px);
}

.btn--sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.btn:disabled,
.btn--disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================
   CARDS
   ============================================ */

.card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: var(--space-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: border-color 0.3s ease, transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="light"] .card {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.card:hover {
    border-color: rgba(0, 255, 65, 0.3);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                0 0 30px rgba(0, 255, 65, 0.05);
}

[data-theme="light"] .card:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 170, 46, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.card:hover .card__label {
    color: var(--accent-dim);
}

.card--highlight {
    border-color: var(--accent);
    background: var(--accent-glow);
}

.card__icon {
    display: none;
}

.card__label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.card h3 {
    margin-bottom: var(--space-xs);
}

.card p {
    font-size: 0.9rem;
}

/* ============================================
   BADGES & TAGS
   ============================================ */

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge--accent {
    background: rgba(0, 255, 65, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--accent);
    border: 1px solid rgba(0, 255, 65, 0.25);
    box-shadow: inset 0 0 8px rgba(0, 255, 65, 0.08);
}

.badge--muted {
    background: var(--bg-secondary);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.badge--active {
    background: rgba(0, 255, 65, 0.15);
    color: #00ff41;
    border: 1px solid rgba(0, 255, 65, 0.3);
}

[data-theme="light"] .badge--active {
    color: #00aa2e;
    border-color: rgba(0, 170, 46, 0.3);
    background: rgba(0, 170, 46, 0.1);
}

.badge--building {
    background: rgba(255, 200, 0, 0.15);
    color: #ffc800;
    border: 1px solid rgba(255, 200, 0, 0.3);
}

[data-theme="light"] .badge--building {
    color: #b38f00;
    border-color: rgba(179, 143, 0, 0.3);
    background: rgba(179, 143, 0, 0.1);
}

.badge--idea {
    background: rgba(100, 149, 237, 0.15);
    color: #6495ed;
    border: 1px solid rgba(100, 149, 237, 0.3);
}

.badge--soon {
    background: var(--bg-secondary);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* ============================================
   SEASON BANNER
   ============================================ */

.season-banner {
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-radius: 12px;
    padding: var(--space-md);
    position: relative;
    overflow: hidden;
}

.season-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
}

.season-banner__header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

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

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

/* ============================================
   PRODUCT CARDS
   ============================================ */

.product-card {
    display: flex;
    flex-direction: column;
}

.product-card .card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}

.product-card .price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.product-card .card__body {
    flex: 1;
    margin-bottom: var(--space-md);
}

.product-card .card__footer {
    margin-top: auto;
}

/* ============================================
   VENTURE CARDS
   ============================================ */

.venture-card h3 {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.venture-card .card__link {
    margin-top: var(--space-sm);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ============================================
   BUILD LOG
   ============================================ */

.log-entry {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border);
}

.log-entry:last-child {
    border-bottom: none;
}

.log-date {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-glow);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: var(--space-xs);
}

.log-entry h3 {
    margin-bottom: var(--space-xs);
    font-size: 1.1rem;
}

.log-entry p {
    font-size: 0.9rem;
}

/* ============================================
   FOCUS LIST
   ============================================ */

.focus-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.focus-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.focus-list li::before {
    content: '>';
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 700;
    flex-shrink: 0;
}

/* ============================================
   AVATAR PLACEHOLDER
   ============================================ */

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--accent-glow);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}

/* ============================================
   ABOUT BIO
   ============================================ */

.bio {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.bio__text {
    flex: 1;
}

/* ============================================
   CONNECT / SOCIAL LINKS
   ============================================ */

.social-links {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

[data-theme="light"] .social-link {
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.social-link:hover {
    border-color: rgba(0, 255, 65, 0.3);
    color: var(--accent);
    background: rgba(0, 255, 65, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25),
                0 0 20px rgba(0, 255, 65, 0.06);
}

.social-link svg {
    flex-shrink: 0;
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
    padding: var(--space-lg) 0 var(--space-md);
}

.page-header h1 {
    margin-bottom: var(--space-xs);
}

.page-header .subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ============================================
   SECTION HEADER
   ============================================ */

.section__header {
    margin-bottom: var(--space-md);
}

.section__header h2 {
    margin-bottom: var(--space-xs);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.cta-section h2 {
    margin-bottom: var(--space-xs);
}

.cta-section p {
    margin-bottom: var(--space-md);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    border-top: 1px solid var(--border);
    padding: var(--space-lg) 0 var(--space-md);
    margin-top: var(--space-xl);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(60%, 400px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
    opacity: 0.3;
}

.site-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.site-footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

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

.footer-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   GLASS UTILITY
   ============================================ */

.glass {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .glass {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* ============================================
   FEATURE LAYOUT (Homepage)
   ============================================ */

.feature-main {
    padding: var(--space-lg) var(--space-md);
    margin-bottom: var(--space-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(0, 255, 65, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.feature-main h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-sm);
    position: relative;
}

.feature-main p {
    font-size: 1.15rem;
    max-width: 500px;
    margin: 0 auto var(--space-md);
    position: relative;
}

.feature-main__badge {
    margin-bottom: var(--space-sm);
    position: relative;
}

.feature-main .btn {
    position: relative;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

/* ============================================
   FOCUS STYLES (ACCESSIBILITY)
   ============================================ */

*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ============================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================ */

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

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--nav-bg);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        padding: var(--space-sm) var(--space-md);
        gap: 0;
    }

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

    .nav-links a {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
    }

    .nav-links a:hover {
        background: none;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-cta {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: var(--space-lg) 0;
    }

    .section {
        padding: var(--space-lg) 0;
    }

    .bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero__actions {
        justify-content: center;
    }

    .site-footer .container {
        flex-direction: column;
        text-align: center;
    }

    .grid-2, .grid-3, .grid-4, .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-main {
        padding: var(--space-md);
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .hero,
    .section,
    .section--sm,
    .page-header {
        animation: none;
    }
    .card,
    .btn,
    .card__icon {
        transition: none;
    }
}
