/* ═══════════════════════════════════════════════
   CHARLAY WOOD — Personal Website
   Fonts: Cormorant Garamond (display) + DM Sans (body)
═══════════════════════════════════════════════ */

:root {
    --green-deep:    #1B4332;
    --green-mid:     #2D6A4F;
    --green-accent:  #40916C;
    --green-light:   #B7E4C7;
    --green-pale:    #D8F3DC;
    --brown-dark:    #3E2723;
    --brown-mid:     #5D4037;
    --brown-light:   #8D6E63;
    --cream:         #FAF6F0;
    --cream-alt:     #F0EDE8;
    --white:         #FFFFFF;
    --text-main:     #2C2C2C;
    --text-muted:    #6B6B6B;
    --font-display:  'Cormorant Garamond', Georgia, serif;
    --font-body:     'DM Sans', Tahoma, sans-serif;
    --shadow-card:   0 8px 32px rgba(0,0,0,0.12);
    --shadow-heavy:  0 16px 48px rgba(0,0,0,0.22);
    --radius:        14px;
    --transition:    0.28s ease;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    background-image: url('wood_background.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--text-main);
    line-height: 1.7;
    font-size: 16px;
}

/* Inner pages have a subtler wood so content is focus */
body.inner-page {
    background-color: #f5f0eb;
}

/* ── Skip Link ── */
.skip-link {
    position: absolute; top: -40px; left: 0;
    background: var(--green-accent); color: white;
    padding: 8px 16px; z-index: 3000;
    text-decoration: none; font-weight: 500;
    border-radius: 0 0 8px 0; transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* ══════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════ */
nav {
    background-color: rgba(27, 67, 50, 0.97);
    color: #F1F8E9;
    padding: 16px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky; top: 0;
    border-bottom: 3px solid var(--green-accent);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
}

.nav-logo {
    margin: 0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    height: 38px;
    width: auto;
    display: block;
    border-radius: 6px;
    transition: opacity 0.25s ease;
}
.nav-logo:hover .nav-logo-img { opacity: 0.85; }

.nav-logo-name {
    font-family: var(--font-display);
    font-size: 1.3em;
    font-weight: 600;
    color: #F1F8E9;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.nav-links { display: flex; align-items: center; gap: 4px; }

.nav-links a, .dropbtn {
    color: rgba(241, 248, 233, 0.85);
    text-decoration: none;
    padding: 6px 14px;
    font-size: 0.88em;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 6px;
    transition: var(--transition);
    background: none; border: none; cursor: pointer;
}
.nav-links a:hover, .dropbtn:hover {
    color: var(--green-light);
    background-color: rgba(255,255,255,0.08);
}
.nav-active {
    color: var(--green-light) !important;
    background-color: rgba(255,255,255,0.1) !important;
}

/* Dropdown */
.dropdown { display: inline-block; position: relative; }
.dropdown-content {
    display: none;
    position: absolute; top: 100%; left: 0;
    padding-top: 8px;
    background-color: transparent;
    min-width: 200px;
    z-index: 1001;
}
.dropdown-content-inner {
    background-color: rgba(27, 67, 50, 0.98);
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
    border-radius: 0 0 10px 10px;
    border-top: 2px solid var(--green-accent);
    overflow: hidden;
}
.dropdown-content a {
    display: block; padding: 12px 20px; margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 0.85em; border-radius: 0;
    text-transform: none; letter-spacing: 0.02em;
    color: rgba(241,248,233,0.85);
    text-decoration: none;
}
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover {
    background-color: rgba(64,145,108,0.4);
    color: white;
}
.dropdown:hover .dropdown-content { display: block; }

/* ══════════════════════════════════════════════
   HERO SECTION (index.html)
══════════════════════════════════════════════ */
#hero {
    min-height: 92vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 80px 60px 60px;
    position: relative;
    background: linear-gradient(135deg,
        rgba(27,67,50,0.92) 0%,
        rgba(45,106,79,0.88) 50%,
        rgba(27,67,50,0.95) 100%);
}

.hero-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center;
    gap: 80px; width: 100%;
}

.hero-text { flex: 1; }

.hero-eyebrow {
    font-size: 0.8em; font-weight: 500;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--green-light); margin: 0 0 16px;
    opacity: 0.85; animation: fadeUp 0.6s ease 0.2s forwards;
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(3.5em, 7vw, 6em);
    font-weight: 600; color: #fff;
    line-height: 0.9; margin: 0 0 28px;
    letter-spacing: -0.01em;
    opacity: 0; animation: fadeUp 0.6s ease 0.35s forwards;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: 1.25em; font-style: italic;
    color: var(--green-light); margin: 0 0 24px;
    line-height: 1.4;
    opacity: 0; animation: fadeUp 0.6s ease 0.5s forwards;
}

.hero-bio {
    font-size: 0.97em; color: rgba(255,255,255,0.82);
    max-width: 520px; margin: 0 0 36px; line-height: 1.75;
    opacity: 0; animation: fadeUp 0.6s ease 0.65s forwards;
}

.hero-actions {
    display: flex; gap: 16px; margin-bottom: 32px; flex-wrap: wrap;
    opacity: 0; animation: fadeUp 0.6s ease 0.8s forwards;
}

.btn-primary {
    background-color: var(--green-accent); color: white;
    padding: 14px 32px; border-radius: 8px; text-decoration: none;
    font-weight: 500; font-size: 0.95em; letter-spacing: 0.02em;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(64,145,108,0.4);
    display: inline-block;
}
.btn-primary:hover {
    background-color: var(--green-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(64,145,108,0.5);
}

.btn-secondary {
    background-color: transparent; color: white;
    padding: 14px 32px; border-radius: 8px; text-decoration: none;
    font-weight: 500; font-size: 0.95em; letter-spacing: 0.02em;
    border: 1.5px solid rgba(255,255,255,0.45);
    transition: var(--transition); display: inline-block;
}
.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--green-accent);
    padding: 12px 28px; border-radius: 8px; text-decoration: none;
    font-weight: 500; font-size: 0.93em;
    border: 1.5px solid var(--green-accent);
    transition: var(--transition);
}
.btn-outline:hover {
    background-color: var(--green-accent);
    color: white; transform: translateY(-2px);
}

.hero-links {
    display: flex; gap: 24px; flex-wrap: wrap;
    opacity: 0; animation: fadeUp 0.6s ease 0.95s forwards;
}
.profile-link {
    color: var(--green-light); text-decoration: none;
    font-size: 0.82em; font-weight: 500;
    letter-spacing: 0.05em; text-transform: uppercase;
    border-bottom: 1px solid transparent; transition: var(--transition);
}
.profile-link:hover { color: white; border-bottom-color: var(--green-light); }

/* Hero Photo */
.hero-photo-wrap {
    flex: 0 0 360px; position: relative;
    opacity: 0; animation: fadeIn 0.8s ease 0.5s forwards;
}
.hero-photo-frame {
    border-radius: 16px 16px 120px 16px;
    overflow: hidden; position: relative; z-index: 2;
    box-shadow: var(--shadow-heavy);
    border: 3px solid rgba(183,228,199,0.25);
}
.hero-photo {
    width: 100%; height: 460px;
    object-fit: cover; object-position: top center;
    display: block; filter: saturate(0.9);
    transition: filter 0.4s ease;
}
.hero-photo:hover { filter: saturate(1.05); }
.hero-photo-accent {
    position: absolute; bottom: -16px; right: -16px;
    width: 100%; height: 100%;
    border: 2px solid var(--green-accent);
    border-radius: 16px 16px 120px 16px;
    z-index: 1; opacity: 0.5;
}

/* Scroll Cue */
.scroll-cue {
    position: absolute; bottom: 32px; left: 60px;
    display: flex; align-items: center; gap: 12px;
    color: rgba(255,255,255,0.5); font-size: 0.75em;
    letter-spacing: 0.12em; text-transform: uppercase;
    opacity: 0; animation: fadeIn 1s ease 1.4s forwards;
}
.scroll-line {
    width: 48px; height: 1px;
    background: rgba(255,255,255,0.4);
    position: relative; overflow: hidden;
}
.scroll-line::after {
    content: ''; position: absolute; left: -100%; top: 0;
    width: 100%; height: 100%; background: rgba(255,255,255,0.9);
    animation: scrollSlide 2s ease 1.8s infinite;
}

/* ══════════════════════════════════════════════
   STATS STRIP
══════════════════════════════════════════════ */
.stats-strip {
    background-color: rgba(27,67,50,0.97);
    display: flex; justify-content: center; align-items: center;
    padding: 28px 60px;
    border-bottom: 3px solid var(--green-accent);
}
.stat { display: flex; flex-direction: column; align-items: center; padding: 0 48px; }
.stat-number {
    font-family: var(--font-display); font-size: 2em;
    font-weight: 600; color: var(--green-light);
    line-height: 1; margin-bottom: 4px;
}
.stat-label {
    font-size: 0.75em; color: rgba(241,248,233,0.65);
    letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400;
}
.stat-divider { width: 1px; height: 40px; background-color: rgba(183,228,199,0.2); }

/* ══════════════════════════════════════════════
   SECTION BASE STYLES
══════════════════════════════════════════════ */
section {
    background-color: rgba(250,246,240,0.97);
    padding: 64px 60px;
    max-width: 860px;
    margin: 40px auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-heavy);
}
.alt-bg { background-color: rgba(240,237,232,0.97); }

.section-label {
    font-size: 0.72em; font-weight: 500;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--green-accent); margin-bottom: 10px;
}
section h2 {
    font-family: var(--font-display);
    font-size: 2.4em; font-weight: 600;
    color: var(--green-deep); margin: 0 0 24px;
    line-height: 1.1;
    border-bottom: 2px dashed var(--brown-light);
    padding-bottom: 16px;
}
.section-intro {
    font-size: 1.05em; color: var(--text-muted);
    margin-bottom: 36px; font-style: italic;
}
section p { color: var(--text-main); margin-bottom: 16px; }

/* ══════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════ */
.about-grid {
    display: grid; grid-template-columns: 1fr 220px;
    gap: 48px; align-items: start;
}
.about-main p { font-size: 0.97em; line-height: 1.8; }
.about-ctas { display: flex; flex-direction: column; gap: 12px; }
.about-btn {
    display: flex; align-items: center; gap: 12px;
    background-color: var(--cream-alt);
    border: 1.5px solid rgba(141,110,99,0.25);
    border-radius: 10px; padding: 14px 18px;
    text-decoration: none; color: var(--green-deep);
    font-size: 0.88em; font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.about-btn:hover {
    background-color: var(--green-pale);
    border-color: var(--green-accent);
    transform: translateX(4px);
}
.about-btn-icon { font-size: 1.1em; }

/* ══════════════════════════════════════════════
   PUBLICATION CARDS
══════════════════════════════════════════════ */
.pub-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }

.pub-card {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 4px 20px;
    align-items: start;
    background-color: var(--cream);
    border-radius: 10px;
    padding: 20px 24px;
    text-decoration: none; color: inherit;
    border: 1.5px solid rgba(141,110,99,0.15);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.pub-card:hover {
    border-color: var(--green-accent);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.pub-card--featured {
    border-left: 4px solid var(--green-accent);
}
.pub-meta {
    font-size: 0.75em; color: var(--green-accent);
    font-weight: 500; letter-spacing: 0.05em;
    text-transform: uppercase;
    grid-row: 1; grid-column: 1;
}
.pub-title {
    font-family: var(--font-display);
    font-size: 1.15em; font-weight: 600;
    color: var(--green-deep);
    grid-row: 2; grid-column: 1;
}
.pub-desc {
    font-size: 0.87em; color: var(--text-muted);
    grid-row: 3; grid-column: 1; line-height: 1.5;
}
.pub-arrow {
    grid-row: 1 / 4; grid-column: 2;
    color: var(--green-accent); font-size: 1.2em;
    align-self: center; transition: var(--transition);
}
.pub-card:hover .pub-arrow { transform: translateX(4px); }

.pub-type-badge {
    padding: 2px 8px; border-radius: 100px;
    font-size: 0.85em; font-weight: 500;
    text-transform: capitalize; margin-left: 6px;
}
/* Badge colours per type */
.pub-type-badge[data-type="journal-article"],
.badge-journal { background-color: #D8F3DC; color: #1B4332; }
.pub-type-badge[data-type="plantae"],
.badge-plantae { background-color: #E8F4FD; color: #1565C0; }
.pub-type-badge[data-type="other"],
.badge-other   { background-color: #FFF3E0; color: #E65100; }
.pub-type-badge[data-type="preprint"],
.badge-preprint { background-color: #F3E5F5; color: #6A1B9A; }

/* Loading state */
.loading-pulse { animation: pulse 1.5s ease infinite; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }

.pub-loading {
    display: flex; flex-direction: column;
    align-items: center; gap: 16px;
    padding: 48px; color: var(--text-muted);
    font-style: italic;
}
.loading-spinner {
    width: 36px; height: 36px;
    border: 3px solid var(--green-light);
    border-top-color: var(--green-accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Filter buttons */
.pub-filters {
    display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap;
}
.filter-btn {
    background: transparent;
    border: 1.5px solid var(--brown-light);
    color: var(--text-muted);
    padding: 7px 18px; border-radius: 100px;
    font-size: 0.83em; font-weight: 500;
    cursor: pointer; transition: var(--transition);
    font-family: var(--font-body);
    box-shadow: none;
}
.filter-btn:hover, .filter-btn.active {
    background-color: var(--green-accent);
    border-color: var(--green-accent);
    color: white; transform: none;
    box-shadow: none;
}

/* ══════════════════════════════════════════════
   VIDEO MINI GRID (content.html)
══════════════════════════════════════════════ */
.video-mini-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.video-mini {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition);
}
.video-mini:hover { transform: translateY(-2px); }

.video-mini-img {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
}
.video-mini-img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.85);
    transition: transform 0.4s ease, filter 0.3s ease;
}
.video-mini:hover .video-mini-img img {
    transform: scale(1.05);
    filter: brightness(0.65);
}

.video-mini-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.25s ease;
}
.video-mini:hover .video-mini-overlay { opacity: 1; }
.video-mini-overlay svg {
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 6px;
}

.video-mini p {
    font-size: 0.82em;
    font-weight: 500;
    color: var(--text-main);
    margin: 0;
    line-height: 1.4;
}
.video-mini:hover p { color: var(--green-accent); }

/* Coming soon placeholder cards — styled to match site */
.coming-soon-card {
    background-color: var(--cream);
    border-radius: 8px;
    overflow: hidden;
    border: 1.5px solid rgba(141,110,99,0.15);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.coming-soon-card:hover {
    border-color: var(--green-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.10);
}

.coming-soon-img {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 like your video thumbs */
    background: rgba(78,52,46,0.07);
}

.coming-soon-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    text-align: centre;
}

.coming-soon-icon {
    font-size: 1.6em;
    opacity: 0.85;
}

.coming-soon-text {
    font-size: 0.85em;
    color: var(--text-muted);
    margin: 0;
    font-style: italic;
}

/* ══════════════════════════════════════════════
   VIDEO GRID (content.html)
══════════════════════════════════════════════ */
.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 8px;
}

.video-thumb {
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--cream);
    border: 1.5px solid rgba(141,110,99,0.15);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.video-thumb:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    border-color: var(--green-accent);
}

.video-thumb-img {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: #1a1a1a;
}
.video-thumb-img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    filter: brightness(0.88);
}
.video-thumb:hover .video-thumb-img img {
    transform: scale(1.04);
    filter: brightness(0.75);
}

.video-thumb-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.28s ease;
}
.video-thumb:hover .video-thumb-overlay { opacity: 1; }

.play-icon {
    background: rgba(0,0,0,0.55);
    border-radius: 50%;
    padding: 10px;
    backdrop-filter: blur(4px);
}

.video-platform-badge {
    position: absolute;
    top: 12px; left: 12px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.72em;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: white;
}
.tiktok-badge  { background-color: rgba(1,1,1,0.75); }
.youtube-badge { background-color: rgba(255,0,0,0.8); }

.video-thumb-info {
    padding: 16px 18px 20px;
    flex: 1;
}
.video-thumb-info h4 {
    font-family: var(--font-display);
    font-size: 1.1em;
    font-weight: 600;
    color: var(--green-deep);
    margin: 0 0 8px;
    line-height: 1.3;
}
.video-thumb-info p {
    font-size: 0.85em;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .video-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   CHANNEL CARDS (content.html)
══════════════════════════════════════════════ */
.channel-card {
    flex: 1;
    border-radius: 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.tiktok-card  { background-color: #010101; }
.youtube-card { background-color: #FF0000; }

.channel-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.25); }

.channel-card-inner {
    display: flex; flex-direction: column;
    align-items: center; gap: 12px;
    padding: 40px;
    text-align: center;
}
.channel-card-logo {
    width: 80px; height: 80px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 3px solid rgba(255,255,255,0.2);
    margin-bottom: 4px;
}
.tiktok-card  .channel-card-logo { background: rgba(255,255,255,0.1); }
.youtube-card .channel-card-logo { background: rgba(255,255,255,0.15); }

.channel-card-name {
    font-family: var(--font-display);
    font-size: 1.6em; font-weight: 600;
    color: white; letter-spacing: 0.01em;
}
.channel-card-platform {
    font-size: 0.78em; font-weight: 500;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}
.channel-card-cta {
    font-size: 0.88em; font-weight: 500;
    color: rgba(255,255,255,0.9);
    border: 1.5px solid rgba(255,255,255,0.35);
    padding: 8px 20px; border-radius: 100px;
    margin-top: 8px; transition: var(--transition);
}
.channel-card:hover .channel-card-cta {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.7);
}

/* ══════════════════════════════════════════════
   PLATFORM SHOWCASE (content.html)
══════════════════════════════════════════════ */
.platform-showcase {
    display: flex;
    gap: 40px;
    align-items: stretch;
    margin-top: 8px;
}
.platform-showcase-info {
    flex: 0 0 280px;
    display: flex; flex-direction: column; gap: 16px;
}
.platform-icon-large {
    width: 64px; height: 64px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.platform-showcase-info h3 {
    font-family: var(--font-display);
    font-size: 1.4em; font-weight: 600;
    color: var(--green-deep); margin: 0;
    border: none; padding: 0;
}
.platform-showcase-info p {
    font-size: 0.92em; color: var(--text-muted);
    line-height: 1.65; margin: 0;
}
@media (max-width: 900px) {
    .platform-showcase { flex-direction: column; }
    .platform-showcase-info { flex: 0 0 auto; }
}

/* ══════════════════════════════════════════════
   CONTENT CREATOR
══════════════════════════════════════════════ */
.content-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.platform-card {
    background-color: var(--cream); border-radius: 12px; padding: 24px;
    border: 1.5px solid rgba(141,110,99,0.15);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex; flex-direction: column; gap: 16px;
}
.platform-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.1); }
.platform-card.tiktok:hover  { border-color: #010101; }
.platform-card.youtube:hover { border-color: #FF0000; }

.platform-header { display: flex; align-items: flex-start; gap: 16px; }
.platform-icon {
    flex-shrink: 0; width: 52px; height: 52px;
    border-radius: 12px; display: flex;
    align-items: center; justify-content: center;
}
.tiktok .platform-icon  { background-color: #010101; color: white; }
.youtube .platform-icon { background-color: #FF0000; color: white; }

.platform-info h3 {
    font-family: var(--font-display); font-size: 1.2em;
    font-weight: 600; color: var(--green-deep); margin: 0 0 6px;
}
.platform-info p { font-size: 0.87em; color: var(--text-muted); margin: 0; line-height: 1.5; }

.platform-btn {
    display: inline-block; padding: 10px 20px; border-radius: 8px;
    text-decoration: none; font-size: 0.87em; font-weight: 500;
    text-align: center; transition: var(--transition);
}
.tiktok-btn  { background-color: #010101; color: white; }
.tiktok-btn:hover  { background-color: #333; transform: translateY(-1px); }
.youtube-btn { background-color: #FF0000; color: white; }
.youtube-btn:hover { background-color: #cc0000; transform: translateY(-1px); }

/* ══════════════════════════════════════════════
   TRAVEL TEASER
══════════════════════════════════════════════ */
.travel-placeholder-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 16px; margin-bottom: 8px;
}
.travel-placeholder-grid--large { grid-template-columns: repeat(3, 1fr); }

.travel-ph-card {
    background-color: var(--cream-alt);
    border: 2px dashed var(--brown-light);
    border-radius: 10px; height: 140px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 8px; color: var(--text-muted);
    font-size: 1.6em;
}
.travel-ph-card span { font-size: 0.45em; letter-spacing: 0.06em; text-transform: uppercase; }

/* ══════════════════════════════════════════════
   LIFE OUTSIDE THE LAB CARDS
══════════════════════════════════════════════ */
.life-cards { display: flex; flex-direction: column; gap: 16px; }

.life-card {
    display: flex; align-items: center; gap: 20px;
    background-color: var(--cream);
    border: 1.5px solid rgba(141,110,99,0.15);
    border-radius: 12px; padding: 24px 28px;
    text-decoration: none; color: inherit;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.life-card:hover {
    border-color: var(--green-accent);
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.09);
}
.life-card-icon { font-size: 2em; flex-shrink: 0; }
.life-card-body { flex: 1; }
.life-card-body h3 {
    font-family: var(--font-display); font-size: 1.2em;
    font-weight: 600; color: var(--green-deep);
    margin: 0 0 6px;
}
.life-card-body p { font-size: 0.88em; color: var(--text-muted); margin: 0; line-height: 1.5; }
.life-card-arrow { color: var(--green-accent); font-size: 1.2em; transition: var(--transition); }
.life-card:hover .life-card-arrow { transform: translateX(4px); }

/* ══════════════════════════════════════════════
   LIFE OUTSIDE THE LAB — 3-column grid blocks
══════════════════════════════════════════════ */
.life-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.life-card-block {
    display: flex; flex-direction: column;
    background-color: var(--cream);
    border: 1.5px solid rgba(141,110,99,0.15);
    border-radius: 12px; padding: 28px 24px;
    text-decoration: none; color: inherit;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.life-card-block:hover {
    border-color: var(--green-accent);
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}
.life-card-block-icon {
    font-size: 2.2em; margin-bottom: 14px; display: block;
}
.life-card-block h3 {
    font-family: var(--font-display); font-size: 1.2em;
    font-weight: 600; color: var(--green-deep);
    margin: 0 0 12px;
}
.life-card-block p {
    font-size: 0.88em; color: var(--text-muted);
    margin: 0 0 20px; line-height: 1.65; flex: 1;
}
.life-card-block-link {
    font-size: 0.83em; font-weight: 500;
    color: var(--green-accent); letter-spacing: 0.03em;
    margin-top: auto;
}

@media (max-width: 900px) {
    .life-cards-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   BLOG GRID
══════════════════════════════════════════════ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.blog-loading {
    display: flex; flex-direction: column;
    align-items: center; gap: 16px;
    padding: 48px; color: var(--text-muted);
    font-style: italic; grid-column: 1 / -1;
}

.blog-card {
    background-color: var(--cream);
    border-radius: 12px; padding: 24px;
    text-decoration: none; color: inherit;
    border: 1.5px solid rgba(141,110,99,0.15);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex; flex-direction: column; gap: 10px;
}
.blog-card:hover {
    border-color: var(--green-accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}
.blog-card-meta {
    font-size: 0.75em; color: var(--green-accent);
    font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
}
.blog-card-title {
    font-family: var(--font-display); font-size: 1.1em;
    font-weight: 600; color: var(--green-deep); line-height: 1.3;
}
.blog-card-excerpt { font-size: 0.85em; color: var(--text-muted); line-height: 1.55; }

/* ══════════════════════════════════════════════
   CONNECT
══════════════════════════════════════════════ */
.connect-tags {
    display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px;
    justify-content: center;
}

.tag {
    background-color: var(--green-pale); color: var(--green-deep);
    padding: 8px 18px; border-radius: 100px;
    font-size: 0.85em; font-weight: 500;
    border: 1.5px solid var(--green-light);
    transition: var(--transition); cursor: default;
}

.tag:hover { background-color: var(--green-light); }

.connect-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.connect-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
    transition: var(--transition);
    min-width: 160px;
}

/* Contact form layout */
.contact-form {
    display: grid;
    gap: 16px;
    max-width: 520px;
    margin: 24px auto 0;
}

.hp-field { display: none; }

.contact-form label {
    display: grid;
    gap: 6px;
    font-size: 0.9em;
    color: var(--text-main);
}

.contact-form input,
.contact-form textarea {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1.5px solid rgba(141,110,99,0.25);
    background: var(--cream);
    font-family: var(--font-body);
    font-size: 0.95em;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--green-accent);
    box-shadow: 0 0 0 3px rgba(64,145,108,0.18);
}

#connect .connect-actions { margin-top: 28px; }

#connect .connect-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
    transition: var(--transition);
    min-width: 160px;
}

#connect .connect-btn--linkedin {
    background-color: #0A66C2;
    color: #fff;
    box-shadow: 0 4px 16px rgba(10,102,194,0.3);
}

#connect .connect-btn--linkedin:hover {
    background-color: #004182;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10,102,194,0.4);
}

/* ══════════════════════════════════════════════
   BUTTONS (GENERAL)
══════════════════════════════════════════════ */
button {
    background-color: var(--green-accent); color: white;
    border: none; padding: 13px 28px;
    font-size: 0.95em; border-radius: 8px; cursor: pointer;
    font-weight: 500; font-family: var(--font-body);
    box-shadow: 0 4px 12px rgba(64,145,108,0.3);
    transition: var(--transition); letter-spacing: 0.02em;
}
button:hover {
    background-color: var(--green-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(64,145,108,0.4);
}

.cta-button {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 28px;
    background-color: var(--green-deep);
    color: var(--cream);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    letter-spacing: 0.02em;
}

.cta-button:hover {
    background-color: var(--green-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.22);
}

/* ══════════════════════════════════════════════
   VIDEO PLACEHOLDER
══════════════════════════════════════════════ */
.video-placeholder {
    background-color: rgba(78,52,46,0.07);
    color: var(--brown-mid); height: 200px;
    display: flex; justify-content: center; align-items: center;
    border-radius: 10px; border: 2px dashed var(--brown-light);
    font-size: 1em; font-style: italic; letter-spacing: 0.03em;
}

/* ══════════════════════════════════════════════
   INNER PAGE HERO (science, travel, life pages)
══════════════════════════════════════════════ */
.inner-hero {
    background: linear-gradient(135deg,
        rgba(27,67,50,0.94) 0%,
        rgba(45,106,79,0.90) 100%);
    padding: 80px 60px 60px;
    text-align: center;
    border-bottom: 3px solid var(--green-accent);
}
.inner-hero-content { max-width: 700px; margin: 0 auto; }
.inner-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5em, 5vw, 4em);
    font-weight: 600; color: white;
    margin: 12px 0 16px; line-height: 1.1;
}
.inner-hero-sub {
    font-size: 1.05em; color: rgba(255,255,255,0.8);
    max-width: 560px; margin: 0 auto; line-height: 1.7;
    font-style: italic;
}

body.inner-page section { box-shadow: var(--shadow-card); }
body.inner-page main { padding-bottom: 40px; }

/* ══════════════════════════════════════════════
   SCIENCE PAGE SPECIFIC
══════════════════════════════════════════════ */
.work-list { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.work-card {
    display: grid; grid-template-columns: 100px 1fr;
    gap: 0 24px; align-items: start;
    background-color: var(--cream);
    border-radius: 10px; padding: 20px 24px;
    border: 1.5px solid rgba(141,110,99,0.15);
}
.work-date {
    font-size: 0.8em; color: var(--green-accent);
    font-weight: 500; letter-spacing: 0.04em;
    padding-top: 4px; text-align: right; padding-right: 16px;
    border-right: 2px solid var(--green-light);
    white-space: nowrap;
    line-height: 1.4;
}
.work-body h3 {
    font-family: var(--font-display); font-size: 1.15em;
    font-weight: 600; color: var(--green-deep); margin: 0 0 4px;
}
.work-place {
    font-size: 0.85em; color: var(--green-accent);
    margin: 0 0 4px !important; font-weight: 500;
}
.work-pi {
    font-size: 0.82em; color: var(--green-deep);
    font-weight: 600; margin: 0 0 10px !important;
    letter-spacing: 0.01em;
}
.work-body p { font-size: 0.9em; color: var(--text-muted); margin: 0; }

.achievement-group { margin-bottom: 32px; }
.achievement-group:last-child { margin-bottom: 0; }

.achievement-group-title {
    font-family: var(--font-display);
    font-size: 1.15em;
    font-weight: 600;
    color: var(--green-mid);
    margin: 0 0 12px;
    padding-bottom: 6px;
    border-bottom: 1.5px solid rgba(141,110,99,0.2);
    border-top: none;
}

.achievement-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.achievement-item {
    display: flex; align-items: baseline; gap: 16px;
    padding: 12px 18px; background-color: var(--cream);
    border-radius: 8px; border: 1.5px solid rgba(141,110,99,0.12);
}
.achievement-year {
    font-size: 0.82em; color: var(--green-accent);
    font-weight: 500; letter-spacing: 0.05em;
    flex-shrink: 0; min-width: 36px;
}
.achievement-title { font-size: 0.93em; color: var(--text-main); }

.achievement-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 10px;
}

.achievement-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background-color: var(--cream);
    border: 1.5px solid rgba(141,110,99,0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.achievement-card:hover {
    transform: translateY(-4px);
    border-color: var(--green-accent);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.achievement-card-img {
    position: relative;
    width: 100%;
    padding-top: 62%;
    background: #1a1a1a;
    overflow: hidden;
}

.achievement-card-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.88);
    transition: var(--transition);
}

.achievement-card:hover .achievement-card-img img {
    transform: scale(1.05);
    filter: brightness(0.75);
}

.achievement-card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.achievement-card-title {
    font-family: var(--font-display);
    font-size: 1.15em;
    font-weight: 600;
    color: var(--green-deep);
    line-height: 1.2;
}

.achievement-card-desc {
    font-size: 0.88em;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.achievement-card-link {
    font-size: 0.85em;
    font-weight: 500;
    color: var(--green-accent);
    letter-spacing: 0.02em;
}

@media (max-width: 900px) {
    .achievement-cards { grid-template-columns: 1fr; }
}

.talk-award {
    background-color: #E9F8F1;
    border: 2px solid var(--green-accent);
    box-shadow: 0 4px 14px rgba(64,145,108,0.15);
    position: relative;
}

.talk-award::after {
    content: "Award";
    position: absolute;
    top: 8px;
    right: 12px;
    background-color: var(--green-accent);
    color: white;
    font-size: 0.7em;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 100px;
    letter-spacing: 0.05em;
}

.talk-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 10px;
}

.talk-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background-color: var(--cream);
    border: 1.5px solid rgba(141,110,99,0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.talk-card:hover {
    transform: translateY(-4px);
    border-color: var(--green-accent);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.talk-card-img {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #1a1a1a;
    overflow: hidden;
}

.talk-card-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
    transition: var(--transition);
}

.talk-card:hover .talk-card-img img {
    transform: scale(1.03);
    filter: brightness(0.78);
}

.talk-card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.talk-card-meta {
    font-size: 0.75em;
    color: var(--green-accent);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.talk-card-title {
    font-family: var(--font-display);
    font-size: 1.15em;
    font-weight: 600;
    color: var(--green-deep);
    line-height: 1.2;
}

.talk-card-desc {
    font-size: 0.88em;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.talk-card-link {
    font-size: 0.85em;
    font-weight: 500;
    color: var(--green-accent);
    letter-spacing: 0.02em;
}

@media (max-width: 900px) {
    .talk-cards { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer {
    text-align: center; padding: 40px 30px;
    background-color: rgba(27,67,50,0.97);
    color: rgba(241,248,233,0.75);
    border-top: 3px solid var(--green-accent);
    margin-top: 40px;
}
.footer-logo-img {
    height: 52px;
    width: auto;
    display: block;
    margin: 0 auto 16px;
    opacity: 0.9;
}

/* ══════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scrollSlide {
    0%   { left: -100%; }
    100% { left: 100%; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 900px) {
    nav { padding: 14px 20px; }
    .nav-links { gap: 0; }
    .nav-links a, .dropbtn { padding: 6px 8px; font-size: 0.78em; }

    #hero { padding: 60px 24px 48px; min-height: auto; }
    .hero-inner { flex-direction: column-reverse; gap: 40px; }
    .hero-photo-wrap { flex: 0 0 auto; width: 100%; max-width: 280px; margin: 0 auto; }
    .hero-photo { height: 280px; }
    .scroll-cue { left: 24px; }

    .stats-strip { flex-wrap: wrap; gap: 20px; padding: 24px; }
    .stat-divider { display: none; }

    section { padding: 40px 24px; margin: 24px 12px; }
    .about-grid { grid-template-columns: 1fr; }
    .content-platforms { grid-template-columns: 1fr; }
    .travel-placeholder-grid { grid-template-columns: repeat(2,1fr); }
    .blog-grid { grid-template-columns: 1fr; }

    .inner-hero { padding: 60px 24px 40px; }
}

/* Compact achievements link buttons */
.achievements-links {
    padding-top: 40px;
    padding-bottom: 20px;
}

.achievements-link-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.achievements-link-buttons .btn-outline {
    background-color: transparent;
    color: var(--green-deep);
    border: 2px solid var(--green-accent);
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9em;
    transition: var(--transition);
}

.achievements-link-buttons .btn-outline:hover {
    background-color: var(--green-accent);
    color: white;
}