/* ================================================================
   Michael Moosbrugger — Personal Site
   Shared Stylesheet
   ================================================================ */

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

/* ── Custom Properties ── */
:root {
    --bg: #06080d;
    --bg-card: #0c1019;
    --bg-card-hover: #131a28;
    --gold: #d4a843;
    --gold-dim: #b8922e;
    --gold-glow: rgba(212, 168, 67, 0.12);
    --copper: #c87941;
    --copper-glow: rgba(200, 121, 65, 0.12);
    --blue: #1a3a6a;
    --blue-light: #2a5090;
    --blue-glow: rgba(42, 80, 144, 0.15);
    --text: #edf0f7;
    --text-dim: #a0aabb;
    --text-muted: #5d6a80;
    --border: #1a2035;
    --border-hover: #253050;
    --accent-gradient: linear-gradient(135deg, var(--gold), var(--copper));
    --glass-bg: rgba(12, 16, 25, 0.55);
    --glass-border: rgba(212, 168, 67, 0.06);
    --nav-height: 72px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(26, 58, 106, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(200, 121, 65, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
    padding-top: var(--nav-height);
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

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

a:hover {
    color: var(--copper);
}

img {
    max-width: 100%;
    height: auto;
}

/* ── Navigation ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 8, 13, 0.88);
    backdrop-filter: blur(28px) saturate(1.4);
    -webkit-backdrop-filter: blur(28px) saturate(1.4);
    border-bottom: 1px solid rgba(212, 168, 67, 0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    height: var(--nav-height);
}

nav.scrolled {
    background: rgba(6, 8, 13, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.85;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dim);
    text-decoration: none;
    letter-spacing: 0.02em;
    padding: 0.4rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ── Hamburger Menu ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dim);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Layout ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

/* ── Page Header ── */
.page-header {
    text-align: center;
    padding: 5rem 0 3rem;
    position: relative;
}

.page-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--accent-gradient);
    margin: 2rem auto 0;
    border-radius: 1px;
}

.page-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-title .gold {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Section Headers ── */
.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-dim);
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header .section-desc {
    margin: 0 auto;
}

/* ── Glass Card ── */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    border-color: rgba(212, 168, 67, 0.12);
    background: rgba(12, 16, 25, 0.7);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(212, 168, 67, 0.04);
}

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

.card-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.85;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.card-text {
    font-size: 0.925rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ── Stat Cards ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.stat-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ── Grid Layouts ── */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 0.01em;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 67, 0.25);
    color: #0a0c12;
}

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

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ── Hero Section ── */
.hero {
    min-height: calc(90vh - var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(212, 168, 67, 0.04) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 60%, rgba(200, 121, 65, 0.03) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 50%, rgba(26, 58, 106, 0.05) 0%, transparent 60%);
    animation: heroGlow 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-2%, 2%) rotate(1deg); }
    66% { transform: translate(2%, -1%) rotate(-1deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-title .gold {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.55s;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.7s;
}

.hero .btn-group {
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.9s;
}

/* ── Featured Cards (Home) ── */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3rem;
}

.featured-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.featured-card .card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.featured-card .card-title {
    color: var(--text);
}

.featured-card .card-arrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--gold);
    margin-top: 1rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.featured-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ── Portfolio Tiers ── */
.tier-section {
    margin-bottom: 4rem;
}

.tier-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.tier-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    background: rgba(212, 168, 67, 0.1);
    color: var(--gold);
    border: 1px solid rgba(212, 168, 67, 0.15);
    white-space: nowrap;
}

.tier-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

.venture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.venture-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    padding: 2rem 1.75rem;
}

.venture-logo {
    width: 200px;
    height: 200px;
    min-width: 200px;
    border-radius: 24px;
    object-fit: cover;
    background: var(--bg);
    border: 1px solid var(--border);
}

.venture-placeholder {
    width: 200px;
    height: 200px;
    min-width: 200px;
    border-radius: 24px;
    background: rgba(212, 168, 67, 0.08);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}

.venture-info {
    flex: 1;
    min-width: 0;
}

.venture-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.venture-desc {
    font-size: 0.825rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.venture-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
}

.badge-live {
    background: rgba(52, 211, 153, 0.1);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.badge-patent {
    background: rgba(212, 168, 67, 0.1);
    color: var(--gold);
    border: 1px solid rgba(212, 168, 67, 0.15);
}

.badge-parent {
    background: rgba(200, 121, 65, 0.1);
    color: var(--copper);
    border: 1px solid rgba(200, 121, 65, 0.2);
}

.badge-rd {
    background: rgba(42, 80, 144, 0.15);
    color: #5b9bd5;
    border: 1px solid rgba(42, 80, 144, 0.25);
}

.venture-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.venture-link:hover {
    color: var(--gold);
}

/* ── Research Cards ── */
.research-card {
    padding: 2.25rem;
}

.research-card .card-title {
    font-size: 1.15rem;
}

/* ── Books ── */
.book-card {
    padding: 2.25rem;
}

.book-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.book-desc {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ── Papers ── */
.paper-card {
    padding: 2rem;
    border-left: 2px solid rgba(212, 168, 67, 0.15);
    border-radius: 0 16px 16px 0;
}

.paper-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.paper-target {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--copper);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ── About Detail Cards ── */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.detail-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.detail-icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.detail-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.detail-value {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ── Contact ── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

.contact-card {
    text-align: center;
    padding: 2.5rem 2rem;
    text-decoration: none;
    color: inherit;
    display: block;
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.contact-value {
    font-size: 1rem;
    color: var(--text);
    word-break: break-all;
}

/* ── Bio ── */
.bio-section {
    max-width: 780px;
    margin: 0 auto;
}

.bio-section p {
    font-size: 1.05rem;
    color: var(--text-dim);
    line-height: 1.85;
    margin-bottom: 1.75rem;
}

.bio-section p:first-child::first-letter {
    font-size: 3rem;
    font-weight: 700;
    float: left;
    line-height: 1;
    margin-right: 0.5rem;
    margin-top: 0.1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Footer ── */
footer {
    border-top: 1px solid var(--border);
    padding: 4rem 0 2.5rem;
    margin-top: 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-brand {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    margin-bottom: 2rem;
    list-style: none;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-copy p {
    margin-bottom: 0.5rem;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }
.stagger.visible > *:nth-child(8) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(9) { transition-delay: 0.45s; }
.stagger.visible > *:nth-child(10) { transition-delay: 0.5s; }
.stagger.visible > *:nth-child(11) { transition-delay: 0.55s; }
.stagger.visible > *:nth-child(12) { transition-delay: 0.6s; }

.stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ── Page transition ── */
.page-transition {
    animation: pageEnter 0.5s ease-out forwards;
}

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

/* ── Divider ── */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 0;
    border: none;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .grid-3, .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(6, 8, 13, 0.97);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.35s ease;
        border-left: 1px solid var(--border);
    }

    .nav-links.open {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    section {
        padding: 4rem 0;
    }

    .hero {
        min-height: calc(80vh - var(--nav-height));
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .container {
        padding: 0 1.25rem;
    }

    .btn-group {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

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

    .detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

    .stat-number {
        font-size: 2rem;
    }
}
