:root {
    --clr-dark: #0f1f1c;
    --clr-dark-2: #173630;
    --clr-dark-3: #1e4a40;
    --clr-sage: #4d8c6a;
    --clr-accent: #7ecba1;
    --clr-bg: #F2FFF3;
    --clr-bg-2: #e8f7eb;
    --clr-bg-3: #daf0de;
    --clr-bg-4: #f9fffe;
    --clr-surface: #ffffff;
    --clr-text: #173630;
    --clr-text-2: #2d5045;
    --clr-text-muted: #5a7a70;
    --clr-text-faint: #8aaba3;
    --clr-on-dark: #F2FFF3;
    --clr-on-dark-2: rgba(242, 255, 243, 0.75);
    --clr-on-dark-3: rgba(242, 255, 243, 0.45);
    --ff-display: 'Fraunces', 'Palatino Linotype', serif;
    --ff-body: 'Roboto Slab', Georgia, serif;
    --nav-h: 80px;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-xl: 48px;
    --radius-full: 100px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-sm: 0 2px 12px rgba(23, 54, 48, 0.08);
    --shadow-md: 0 8px 32px rgba(23, 54, 48, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--clr-text);
    background: var(--clr-bg);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--ff-display);
    font-weight: 500;
    line-height: 1.1;
    color: var(--clr-text);
}

h1 {
    font-size: clamp(40px, 5.5vw, 78px);
}

h2 {
    font-size: clamp(32px, 4vw, 60px);
}

h3 {
    font-size: clamp(20px, 2.2vw, 28px);
}

h4 {
    font-size: clamp(16px, 1.5vw, 20px);
}

p {
    font-size: clamp(14px, 2vw, 17px);
    line-height: 1.75;
    color: var(--clr-text-2);
    font-weight: 400;
}

/* ── PAGE ALERT ── */
.page-alert {
    position: fixed;
    top: calc(var(--nav-h) + 12px);
    right: 20px;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 14px;
    background: rgba(23, 54, 48, 0.96);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(126, 203, 161, 0.35);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    animation: alertSlideIn 0.5s var(--ease-out) forwards;
    max-width: 300px;
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateX(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.page-alert.hiding {
    animation: alertSlideOut 0.35s var(--ease-out) forwards;
}

@keyframes alertSlideOut {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateX(40px) scale(0.92);
    }
}

.page-alert-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    background: var(--clr-accent);
    box-shadow: 0 0 0 3px rgba(126, 203, 161, 0.2);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(126, 203, 161, 0.2);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(126, 203, 161, 0.08);
    }
}

.page-alert-text {
    font-family: var(--ff-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--clr-on-dark);
    letter-spacing: .02em;
    flex: 1;
}

.page-alert-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: rgba(242, 255, 243, 0.08);
    border: 1px solid rgba(242, 255, 243, 0.12);
    border-radius: 6px;
    cursor: pointer;
    color: var(--clr-on-dark-2);
    font-size: 13px;
    transition: background .2s, color .2s, border-color .2s;
    line-height: 1;
}

.page-alert-close:hover {
    background: rgba(242, 255, 243, 0.15);
    border-color: rgba(242, 255, 243, 0.25);
    color: #fff;
}

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    padding: 0 56px;
    background: rgba(242, 255, 243, 0.88);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(110, 175, 136, 0.15);
    transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(242, 255, 243, 0.97);
    box-shadow: var(--shadow-sm);
}

.nav-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    width: 180px;
}

.nav-logo-text {
    font-family: var(--ff-display);
    font-size: 25px;
    font-weight: 500;
    color: var(--clr-dark-2);
    letter-spacing: -0.02em;
}

.nav-logo-text em {
    color: var(--clr-sage);
    font-style: italic;
}

.nav-links {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    font-family: var(--ff-body);
    font-size: 14.5px;
    font-weight: 400;
    color: var(--clr-text-2);
    border-radius: var(--radius-sm);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--clr-dark-2);
    background: rgba(23, 54, 48, 0.06);
}

.nav-link i {
    font-size: 13px;
    opacity: 0.5;
    transition: transform 0.25s var(--ease-out);
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
    opacity: 0.8;
}

.dropdown {
    position: absolute;
    top: calc(100% + 0px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px) scale(0.97);
    min-width: 220px;
    background: rgba(249, 255, 254, 0.98);
    backdrop-filter: blur(32px);
    border: 1px solid rgba(110, 175, 136, 0.2);
    border-radius: var(--radius-md);
    padding: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out);
    transform-origin: top center;
    box-shadow: var(--shadow-md);
}

.nav-item:hover .dropdown {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0) scale(1);
}

.dropdown-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-text-faint);
    padding: 8px 12px 4px;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--clr-text-2);
    transition: background 0.15s, color 0.15s;
}

.dropdown-link i {
    font-size: 14px;
    color: var(--clr-sage);
    width: 16px;
    text-align: center;
}

.dropdown-link:hover {
    background: rgba(23, 54, 48, 0.06);
    color: var(--clr-dark-2);
}

.nav-cta-wrap {
    flex: 0 0 auto;
    margin-left: 16px;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 22px;
    background: linear-gradient(135deg, var(--clr-dark-2) 0%, var(--clr-dark-3) 100%);
    color: var(--clr-on-dark);
    font-family: var(--ff-body);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: filter 0.25s, transform 0.25s var(--ease-out);
    overflow: hidden;
    position: relative;
}

.nav-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    transform: translateX(-100%);
    transition: transform 0.55s var(--ease-out);
}

.nav-cta:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.nav-cta:hover::after {
    transform: translateX(100%);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
    padding: 4px;
}

.hamburger:hover {
    background: rgba(23, 54, 48, 0.07);
}

.hamburger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--clr-text);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 31, 28, 0.3);
    z-index: 890;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease-out);
}

.mobile-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    bottom: 0;
    width: min(300px, 85vw);
    background: rgba(242, 255, 243, 0.98);
    backdrop-filter: blur(24px);
    border-right: 1px solid rgba(110, 175, 136, 0.18);
    padding: calc(var(--nav-h) + 20px) 24px 32px;
    transition: left 0.38s var(--ease-out);
    z-index: 900;
    overflow-y: auto;
}

.mobile-menu.open {
    left: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(23, 54, 48, 0.07);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    font-size: 15px;
    font-weight: 400;
    color: var(--clr-text);
    background: none;
    border: none;
    font-family: var(--ff-body);
    width: 100%;
    cursor: pointer;
}

.mobile-dropdown {
    display: none;
    padding: 4px 0 10px;
}

.mobile-dropdown.open {
    display: block;
}

.mobile-dropdown-link {
    display: block;
    padding: 9px 12px;
    font-size: 13px;
    color: var(--clr-text-2);
    border-radius: var(--radius-sm);
    transition: background 0.15s;
}

.mobile-dropdown-link:hover {
    background: rgba(23, 54, 48, 0.06);
    color: var(--clr-dark-2);
}

.mobile-cta {
    display: block;
    margin-top: 24px;
    padding: 13px;
    text-align: center;
    background: linear-gradient(135deg, var(--clr-dark-2), var(--clr-dark-3));
    color: var(--clr-on-dark);
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
}

/* ── BUTTONS ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--clr-dark-2) 0%, var(--clr-dark-3) 100%);
    color: var(--clr-on-dark);
    font-family: var(--ff-body);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-full);
    border: 1px solid rgba(242, 255, 243, 0.35);
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(23, 54, 48, 0.4);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), filter 0.25s;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: translateX(-100%);
    transition: transform 0.55s var(--ease-out);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(23, 54, 48, 0.45);
    filter: brightness(1.1);
}

.btn-primary:hover::after {
    transform: translateX(100%);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    color: rgba(242, 255, 243, 0.9);
    font-family: var(--ff-body);
    font-size: 14px;
    font-weight: 400;
    border-radius: var(--radius-full);
    border: 1px solid rgba(242, 255, 243, 0.2);
    background: rgba(242, 255, 243, 0.06);
    backdrop-filter: blur(8px);
    transition: background 0.22s, border-color 0.22s, transform 0.22s var(--ease-out);
}

.btn-ghost:hover {
    background: rgba(242, 255, 243, 0.12);
    border-color: rgba(242, 255, 243, 0.35);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    color: var(--clr-dark-2);
    font-family: var(--ff-body);
    font-size: 14px;
    font-weight: 400;
    border-radius: var(--radius-full);
    border: 1px solid rgba(23, 54, 48, 0.25);
    background: rgba(23, 54, 48, 0.05);
    transition: background 0.22s, border-color 0.22s, transform 0.22s;
}

.btn-outline:hover {
    background: rgba(23, 54, 48, 0.1);
    border-color: rgba(23, 54, 48, 0.4);
    transform: translateY(-2px);
}

/* ── SECTION TAG ── */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 13px 5px 9px;
    background: rgba(23, 54, 48, 0.07);
    border: 1px solid rgba(23, 54, 48, 0.12);
    border-radius: var(--radius-full);
    margin-bottom: 18px;
}

.section-tag-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--clr-sage);
}

.section-tag-text {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-sage);
}

.section-tag.light {
    background: rgba(242, 255, 243, 0.1);
    border-color: rgba(242, 255, 243, 0.15);
}

.section-tag.light .section-tag-dot {
    background: var(--clr-accent);
}

.section-tag.light .section-tag-text {
    color: var(--clr-on-dark-2);
}

/* ══ HERO ══ */
.hero {
    padding-top: var(--nav-h);
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--clr-dark);
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    background-image: url('/assets/biospr.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.28;
    transform: scale(1.04);
    animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from {
        transform: scale(1.04);
    }

    to {
        transform: scale(1.12);
    }
}

.hero-bg-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 31, 28, 0.55) 0%, rgba(15, 31, 28, 0.25) 40%, rgba(15, 31, 28, 0.55) 100%);
}

.hero-bg-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(126, 203, 161, 0.09) 0%, transparent 65%);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 120px rgba(15, 31, 28, 0.6);
    pointer-events: none;
    z-index: 3;
}

.hero-inner {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 40px;
    gap: 0;
    max-width: 1100px;
    width: 100%;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px 5px 10px;
    background: rgba(106, 175, 136, 0.15);
    border: 1px solid rgba(106, 175, 136, 0.32);
    border-radius: var(--radius-full);
    margin-bottom: 22px;
}

.hero-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--clr-accent);
    box-shadow: 0 0 0 3px rgba(126, 203, 161, 0.25);
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(126, 203, 161, 0.25);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(126, 203, 161, 0.06);
    }
}

.hero-eyebrow span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(242, 255, 243, 0.65);
}

.hero-headline {
    font-family: var(--ff-display);
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 500;
    color: #fff;
    line-height: 1.0;
    letter-spacing: -0.035em;
    margin-bottom: 18px;
}

.hero-subheadline {
    font-family: var(--ff-display);
    font-size: clamp(16px, 1.8vw, 22px);
    font-weight: 300;
    color: var(--clr-on-dark-2);
    font-style: italic;
    margin-bottom: 36px;
    max-width: 760px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ══ INTRO STRIP ══ */
.intro-strip {
    background: var(--clr-bg);
    padding: 30px 40px;
    border-bottom: 1px solid rgba(77, 140, 106, 0.15);
}

.intro-strip p {
    font-family: var(--ff-body);
    font-size: clamp(15px, 1.6vw, 20px);
    font-weight: 400;
    line-height: 1.75;
    color: var(--clr-on-dark-2);
    max-width: 1200px;
    margin: 0 auto;
    letter-spacing: 1.2px;
    text-align: center;
    border: 2px solid var(--clr-dark);
    padding: 50px 40px;
    border-radius: 25px;
    background-color: var(--clr-dark);
}

/* ══ S2: MICROBIAL CULTURE LIBRARY ══ */
.library-section {
    background: var(--clr-bg-2);
    padding: 100px 80px;
}

.library-heading-center {
    text-align: center;
    margin-bottom: 60px;
}

.library-heading-center h2 {
    color: var(--clr-dark);
    margin-bottom: 0;
}

.library-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 48px;
}

.library-body-left p {
    color: var(--clr-text-2);
    margin-bottom: 14px;
}

.library-body-left .lib-btn {
    margin-top: 24px;
}

.library-body-right h4 {
    font-family: var(--ff-display);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--clr-sage);
    margin-bottom: 14px;
}

.library-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.library-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--clr-surface);
    border: 1px solid rgba(23, 54, 48, 0.09);
    border-radius: var(--radius-sm);
    transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-out);
}

.library-list-item:hover {
    background: var(--clr-dark-2);
    border-color: rgba(77, 140, 106, 0.4);
    transform: translateX(6px);
}

.library-list-item:hover i {
    color: var(--clr-accent);
    transform: rotate(20deg) scale(1.15);
}

.library-list-item:hover span {
    color: var(--clr-on-dark-2);
}

.library-list-item i {
    font-size: 15px;
    color: var(--clr-sage);
    flex-shrink: 0;
    transition: color 0.3s, transform 0.3s var(--ease-out);
}

.library-list-item span {
    font-size: 13.5px;
    color: var(--clr-text-2);
    transition: color 0.3s;
}

.strategic-block {
    background: var(--clr-dark-2);
    border-radius: var(--radius-md);
    padding: 22px 30px;
    display: inline-block;
    border-left: 3px solid var(--clr-accent);
}

.strategic-block p {
    font-size: 15px;
    font-weight: 400;
    color: var(--clr-on-dark-2);
    font-style: italic;
    line-height: 1.7;
}

.strategic-block p em {
    color: var(--clr-accent);
    font-style: normal;
}

/* ══ S3: METABOLITE PRODUCTION ══ */
.metabolite-section {
    background: var(--clr-dark-2);
    padding: 100px 80px;
    position: relative;
    overflow: hidden;
}

.metabolite-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(126, 203, 161, 0.07) 0%, transparent 60%);
    pointer-events: none;
}

.metabolite-heading-center {
    text-align: center;
    margin-bottom: 60px;
}

.metabolite-heading-center h2 {
    color: var(--clr-on-dark);
}

.metabolite-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 70px;
}

.metabolite-top-left p {
    color: var(--clr-on-dark-2);
    margin-bottom: 14px;
    font-weight: 300;
}

.metabolite-top-left .meta-strategic {
    background: rgba(242, 255, 243, 0.06);
    border: 1px solid rgba(126, 203, 161, 0.2);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    margin: 24px 0;
    border-left: 3px solid var(--clr-accent);
}

.metabolite-top-left .meta-strategic p {
    font-size: 14px;
    font-style: italic;
    color: var(--clr-on-dark-2);
}

.metabolite-top-left .meta-strategic p em {
    color: var(--clr-accent);
    font-style: normal;
}

.metabolite-top-right {
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 420px;
    position: relative;
}

.metabolite-top-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.metabolite-top-right:hover img {
    transform: scale(1.05);
}

.metabolite-top-right::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(15, 31, 28, 0.55) 100%);
}

.metabolite-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.mlist-col h4 {
    font-family: var(--ff-display);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 16px;
}

.mlist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mlist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(242, 255, 243, 0.04);
    border: 1px solid rgba(242, 255, 243, 0.07);
    border-radius: var(--radius-sm);
    transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-out);
}

.mlist-item:hover {
    background: rgba(126, 203, 161, 0.1);
    border-color: rgba(126, 203, 161, 0.3);
    transform: translateX(6px);
}

.mlist-item:hover i {
    color: var(--clr-accent);
    transform: scale(1.2);
}

.mlist-item:hover span {
    color: var(--clr-on-dark);
}

.mlist-item i {
    font-size: 14px;
    color: var(--clr-accent);
    flex-shrink: 0;
    opacity: 0.7;
    transition: color 0.3s, transform 0.3s var(--ease-out);
}

.mlist-item span {
    font-size: 13.5px;
    color: var(--clr-on-dark-2);
    transition: color 0.3s;
}

.metabolite-tech-note {
    background: rgba(242, 255, 243, 0.05);
    border: 1px solid rgba(126, 203, 161, 0.15);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    margin-bottom: 30px;
}

.metabolite-tech-note p {
    font-size: 13.5px;
    color: var(--clr-on-dark-2);
    font-style: italic;
}

.metabolite-tech-note p i {
    color: var(--clr-accent);
    margin-right: 6px;
}

.metabolite-cta {
    text-align: center;
}

/* ══ S4: DISCOVERY COLLECTIONS ══ */
.discovery-section {
    background: var(--clr-bg);
    padding: 100px 80px;
}

.discovery-heading-center {
    text-align: center;
    margin-bottom: 18px;
}

.discovery-heading-center h2 {
    color: var(--clr-dark);
    margin-bottom: 0;
}

.discovery-intro {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.discovery-intro p {
    color: var(--clr-text-2);
    margin-bottom: 10px;
}

.disc-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 40px;
}

.disc-card {
    background: var(--clr-surface);
    border: 1px solid rgba(23, 54, 48, 0.09);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.5s;
}

/* top accent line */
.disc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-sage), var(--clr-accent));
    opacity: 0;
    transition: opacity 0.45s;
    z-index: 1;
}

/* bottom-to-top dark fill */
.disc-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: var(--clr-dark-2);
    transition: height 0.55s var(--ease-out);
    z-index: 0;
}

.disc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(23, 54, 48, 0.28);
    border-color: rgba(77, 140, 106, 0.35);
}

.disc-card:hover::before {
    opacity: 1;
}

.disc-card:hover::after {
    height: 100%;
}

.disc-card>* {
    position: relative;
    z-index: 1;
}

.disc-card:hover h4 {
    color: var(--clr-on-dark);
}

.disc-card:hover p {
    color: var(--clr-on-dark-2);
}

.disc-card:hover .disc-card-icon {
    background: rgba(126, 203, 161, 0.15);
    border-color: rgba(126, 203, 161, 0.3);
}

.disc-card:hover .disc-card-icon i {
    color: var(--clr-accent);
    transform: rotate(-10deg) scale(1.15);
}

.disc-card-icon {
    width: 44px;
    height: 44px;
    background: var(--clr-bg-3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1px solid rgba(23, 54, 48, 0.1);
    transition: background 0.45s, border-color 0.45s;
}

.disc-card-icon i {
    font-size: 20px;
    color: var(--clr-dark-2);
    transition: color 0.45s, transform 0.45s var(--ease-out);
}

.disc-card h4 {
    font-family: var(--ff-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--clr-dark-2);
    margin-bottom: 8px;
    transition: color 0.45s;
}

.disc-card p {
    font-size: 12.5px;
    color: var(--clr-text-muted);
    line-height: 1.65;
    transition: color 0.45s;
}

.discovery-footer {
    text-align: center;
}

.discovery-strategic {
    background: var(--clr-dark-2);
    border-radius: var(--radius-md);
    padding: 18px 28px;
    display: inline-block;
    border-left: 3px solid var(--clr-accent);
    margin-bottom: 28px;
}

.discovery-strategic p {
    font-size: 14px;
    font-style: italic;
    color: var(--clr-on-dark-2);
}

.discovery-strategic p em {
    color: var(--clr-accent);
    font-style: normal;
}

/* ══ S5: CHARACTERIZATION ══ */
.char-section {
    background: var(--clr-bg-2);
    padding: 100px 80px;
}

.char-heading-center {
    text-align: center;
    margin-bottom: 60px;
}

.char-heading-center h2 {
    color: var(--clr-dark);
    margin-bottom: 14px;
}

.char-heading-center>p {
    max-width: 880px;
    margin: 0 auto;
    color: var(--clr-text-2);
}

.char-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.char-left p {
    color: var(--clr-text-2);
    margin-bottom: 14px;
}

.char-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.char-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--clr-surface);
    border: 1px solid rgba(23, 54, 48, 0.09);
    border-radius: var(--radius-sm);
    transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.char-list-item:hover {
    background: var(--clr-dark-2);
    border-color: rgba(77, 140, 106, 0.3);
    transform: translateX(6px);
    box-shadow: 0 8px 24px rgba(23, 54, 48, 0.15);
}

.char-list-item:hover i {
    color: var(--clr-accent);
    transform: scale(1.2);
}

.char-list-item:hover span {
    color: var(--clr-on-dark-2);
}

.char-list-item i {
    font-size: 16px;
    color: var(--clr-sage);
    flex-shrink: 0;
    transition: color 0.3s, transform 0.3s;
}

.char-list-item span {
    font-size: 13.5px;
    color: var(--clr-text-2);
    transition: color 0.3s;
}

.char-right {
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 480px;
    position: relative;
    border: 1px solid rgba(77, 140, 106, 0.15);
    box-shadow: var(--shadow-md);
}

.char-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.char-right:hover img {
    transform: scale(1.04);
}

.char-right::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(15, 31, 28, 0.45) 100%);
}

/* ══ S6: ACCESS & PARTNERSHIP ══ */
.access-section {
    background: var(--clr-bg);
    padding: 100px 80px;
    position: relative;
    overflow: hidden;
}

.access-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(77, 140, 106, 0.07) 0%, transparent 60%);
    pointer-events: none;
}

.access-heading-center {
    text-align: center;
    margin-bottom: 18px;
}

.access-heading-center h2 {
    color: var(--clr-dark);
    margin-bottom: 14px;
}

.access-heading-center>p {
    max-width: 620px;
    margin: 0 auto 60px;
    color: var(--clr-text-2);
    font-weight: 300;
    line-height: 1.8;
}

.access-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.access-card {
    background: var(--clr-surface);
    border: 1px solid rgba(23, 54, 48, 0.09);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.5s;
}

/* top accent line */
.access-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-sage), var(--clr-accent));
    opacity: 0;
    transition: opacity 0.45s;
    z-index: 1;
}

/* bottom-to-top dark fill */
.access-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: var(--clr-dark-2);
    transition: height 0.55s var(--ease-out);
    z-index: 0;
}

.access-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(15, 31, 28, 0.35);
    border-color: rgba(77, 140, 106, 0.4);
}

.access-card:hover::before {
    opacity: 1;
}

.access-card:hover::after {
    height: 100%;
}

.access-card>* {
    position: relative;
    z-index: 1;
}

.access-card:hover .access-icon {
    background: rgba(126, 203, 161, 0.15);
    border-color: rgba(126, 203, 161, 0.3);
}

.access-card:hover .access-icon i {
    color: var(--clr-accent);
    transform: rotate(-10deg) scale(1.2);
}

.access-card:hover h4 {
    color: var(--clr-on-dark);
}

.access-card:hover p {
    color: var(--clr-on-dark-2);
}

.access-icon {
    width: 44px;
    height: 44px;
    background: var(--clr-bg-3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(23, 54, 48, 0.1);
    margin-bottom: 16px;
    transition: background 0.45s, border-color 0.45s;
}

.access-icon i {
    font-size: 20px;
    color: var(--clr-sage);
    transition: color 0.45s, transform 0.45s var(--ease-out);
}

.access-card h4 {
    font-family: var(--ff-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--clr-dark-2);
    margin-bottom: 10px;
    transition: color 0.45s;
}

.access-card p {
    font-size: 12.5px;
    color: var(--clr-text-muted);
    line-height: 1.65;
    transition: color 0.45s;
}

.access-strategics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 36px;
}

.access-strat-box {
    border-radius: var(--radius-md);
    padding: 20px 26px;
    border-left: 3px solid var(--clr-accent);
}

.access-strat-box.left {
    background: rgba(77, 140, 106, 0.08);
    border: 1px solid rgba(77, 140, 106, 0.2);
    border-left: 3px solid var(--clr-sage);
}

.access-strat-box.right {
    background: rgba(23, 54, 48, 0.05);
    border: 1px solid rgba(23, 54, 48, 0.12);
    border-left: 3px solid rgba(77, 140, 106, 0.6);
}

.access-strat-box p {
    font-size: 13.5px;
    font-style: italic;
    color: var(--clr-text-2);
    line-height: 1.7;
}

.access-cta {
    text-align: center;
}

/* ══ S7: WHY OUR ASSETS MATTER ══ */
.why-section {
    background: var(--clr-bg-2);
    padding: 100px 80px;
}

.why-heading-center {
    text-align: center;
    margin-bottom: 60px;
}

.why-heading-center h2 {
    color: var(--clr-dark);
}

.why-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-left h4 {
    font-family: var(--ff-display);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--clr-sage);
    margin-bottom: 18px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.why-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--clr-surface);
    border: 1px solid rgba(23, 54, 48, 0.09);
    border-radius: var(--radius-sm);
    transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.why-list-item:hover {
    background: var(--clr-dark-2);
    border-color: rgba(77, 140, 106, 0.3);
    transform: translateX(6px);
    box-shadow: 0 8px 24px rgba(23, 54, 48, 0.15);
}

.why-list-item:hover i {
    color: var(--clr-accent);
    transform: rotate(20deg) scale(1.15);
}

.why-list-item:hover span {
    color: var(--clr-on-dark-2);
}

.why-list-item i {
    font-size: 16px;
    color: var(--clr-sage);
    flex-shrink: 0;
    transition: color 0.3s, transform 0.3s var(--ease-out);
}

.why-list-item span {
    font-size: 13.5px;
    color: var(--clr-text-2);
    transition: color 0.3s;
}

.why-closing-block {
    background: var(--clr-dark-2);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    border-left: 3px solid var(--clr-accent);
    margin-bottom: 24px;
}

.why-closing-block p {
    font-size: 14px;
    font-style: italic;
    color: var(--clr-on-dark-2);
    line-height: 1.7;
}

.why-closing-block p em {
    color: var(--clr-accent);
    font-style: normal;
}

.why-access-box {
    background: rgba(77, 140, 106, 0.08);
    border: 1px solid rgba(77, 140, 106, 0.2);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.why-access-text strong {
    display: block;
    font-family: var(--ff-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--clr-dark-2);
    margin-bottom: 4px;
}

.why-access-text span {
    font-size: 12.5px;
    color: var(--clr-text-muted);
}

.why-right {
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 520px;
    position: relative;
    box-shadow: var(--shadow-md);
}

.why-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.why-right:hover img {
    transform: scale(1.04);
}

.why-right::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(15, 31, 28, 0.5) 100%);
}

/* ═══════════════════════ FOOTER ═══════════════════════ */
footer {
    background: var(--clr-dark);
    color: var(--clr-on-dark);
    padding: 64px 80px 36px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: 'MOLMET';
    position: absolute;
    bottom: -12px;
    right: -4px;
    font-family: var(--ff-display);
    font-size: 170px;
    font-weight: 600;
    color: rgba(242, 255, 243, 0.022);
    line-height: 1;
    pointer-events: none;
    letter-spacing: -.04em;
}

.footer-top {
    display: grid;
    grid-template-columns: 3fr 2fr 2fr 2fr 3fr;
    gap: 48px;
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(242, 255, 243, 0.07);
}

.footer-brand h3 {
    font-family: var(--ff-display);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--clr-on-dark);
    margin-bottom: 14px;
}

.footer-brand h3 em {
    color: var(--clr-accent);
}

.footer-brand p {
    font-family: var(--ff-body);
    font-size: 13px;
    line-height: 1.72;
    color: var(--clr-on-dark-3);
    max-width: 260px;
    margin-bottom: 22px;
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(242, 255, 243, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-on-dark-3);
    font-size: 17px;
    font-weight: 600;
    transition: border-color .25s, color .25s, background .25s;
}

.footer-socials a:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    background: rgba(126, 203, 161, 0.08);
}

.footer-col h5 {
    font-family: var(--ff-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--clr-on-dark-3);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(242, 255, 243, 0.07);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    font-family: var(--ff-body);
    font-size: 13.5px;
    font-weight: 300;
    color: rgba(242, 255, 243, 0.5);
    transition: color .22s, padding-left .22s;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--clr-on-dark);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-family: var(--ff-body);
    font-size: 11.5px;
    color: rgba(242, 255, 243, 0.35);
    letter-spacing: .06em;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-family: var(--ff-body);
    font-size: 11.5px;
    color: rgba(242, 255, 243, 0.35);
    transition: color .22s;
}

.footer-bottom-links a:hover {
    color: var(--clr-on-dark);
}

.footer-address {
    margin-top: 20px;
}

.footer-address h5 {
    font-family: var(--ff-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clr-on-dark-3);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(242, 255, 243, 0.07);
}

.footer-address-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-address-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-address-item i {
    font-size: 14px;
    color: var(--clr-accent);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-address-item span,
.footer-address-item a {
    font-size: 12.5px;
    font-weight: 300;
    color: rgba(242, 255, 243, 0.5);
    line-height: 1.65;
    transition: color 0.22s;
}

.footer-address-item a:hover {
    color: var(--clr-on-dark);
}


/* ══ ANIMATIONS ══ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    opacity: 0;
    animation: fadeUp 0.9s var(--ease-out) forwards;
}

.fade-up.d1 {
    animation-delay: 0.1s;
}

.fade-up.d2 {
    animation-delay: 0.22s;
}

.fade-up.d3 {
    animation-delay: 0.34s;
}

.fade-up.d4 {
    animation-delay: 0.46s;
}

/* ══ RESPONSIVE ══ */
@media(max-width:1100px) {

    .library-body,
    .metabolite-top,
    .metabolite-lists,
    .char-inner,
    .why-inner {
        grid-template-columns: 1fr;
    }

    .disc-cards-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .access-cards-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .access-strategics {
        grid-template-columns: 1fr;
    }

    .metabolite-top-right {
        height: 300px;
    }
}

@media(max-width:768px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-links,
    .nav-cta-wrap {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .library-section,
    .metabolite-section,
    .discovery-section,
    .char-section,
    .access-section,
    .why-section {
        padding-left: 24px;
        padding-right: 24px;
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .intro-strip {
        padding: 20px 20px;
    }

    .intro-strip p {
        padding: 30px 20px;
    }

    .disc-cards-row {
        grid-template-columns: 1fr 1fr;
    }

    .access-cards-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 48px 24px 28px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .why-access-box {
        flex-direction: column;
    }
}

@media(max-width:480px) {
    .disc-cards-row {
        grid-template-columns: 1fr;
    }
}