.ffh-home,
.ffh-home * {
    box-sizing: border-box;
}

.ffh-home {
    --ffh-green: #69b965;
    --ffh-green-dark: #4f9d57;
    --ffh-purple: #3d354d;
    --ffh-dark: #273a50;
    --ffh-text: #607188;
    --ffh-muted: #8b98a8;
    --ffh-line: #e1e7ed;
    --ffh-white: #ffffff;
    --ffh-container: 1030px;

    width: 100%;
    margin: 0;
    color: var(--ffh-dark);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.ffh-home a {
    text-decoration: none;
}

.ffh-container {
    width: min(calc(100% - 40px), var(--ffh-container));
    margin-right: auto;
    margin-left: auto;
}

/* HERO */
.ffh-hero {
    position: relative;
    min-height: 505px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        var(--ffh-hero-image, linear-gradient(135deg, #24384f, #6e7f90)) center / cover no-repeat;
    color: #fff;
}

.ffh-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.ffh-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(15, 29, 47, .86) 0%, rgba(15, 29, 47, .62) 45%, rgba(15, 29, 47, .27) 100%),
        linear-gradient(to top, rgba(7, 18, 32, .36), transparent 38%);
}

.ffh-hero-content {
    position: relative;
    z-index: 2;
    max-width: 625px;
    padding: 78px 0 108px;
}

.ffh-eyebrow {
    margin: 0 0 11px;
    color: #71c46e;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ffh-hero-title {
    margin: 0;
    color: #fff;
    font-size: clamp(53px, 6vw, 76px);
    font-weight: 850;
    line-height: .98;
    letter-spacing: -.045em;
    text-shadow: 0 4px 22px rgba(0, 0, 0, .18);
}

.ffh-hero-text {
    max-width: 485px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .83);
    font-size: 13px;
    line-height: 1.72;
}

.ffh-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.ffh-button {
    min-height: 47px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
    transition: .2s ease;
}

.ffh-button-primary {
    background: var(--ffh-green);
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(52, 135, 56, .26);
}

.ffh-button-primary:hover {
    transform: translateY(-1px);
    background: var(--ffh-green-dark);
}

.ffh-button-outline {
    border-color: rgba(255, 255, 255, .42);
    background: rgba(255, 255, 255, .03);
    color: #fff !important;
    backdrop-filter: blur(5px);
}

.ffh-button-outline:hover {
    background: rgba(255, 255, 255, .12);
}

/* QUICK LINKS */
.ffh-quick-links {
    position: relative;
    z-index: 4;
    border-bottom: 1px solid var(--ffh-line);
    background: #fff;
    box-shadow: 0 10px 24px rgba(27, 42, 63, .04);
}

.ffh-quick-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.ffh-quick-item {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 12px;
    border-right: 1px solid var(--ffh-line);
    color: inherit !important;
    transition: background .18s ease;
}

.ffh-quick-item:first-child {
    border-left: 1px solid var(--ffh-line);
}

.ffh-quick-item:hover {
    background: #fbfcfd;
}

.ffh-quick-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: #eaf7ea;
    color: #66b968;
    font-size: 14px;
    font-weight: 900;
}

.ffh-quick-raspored .ffh-quick-icon {
    background: #edf3ff;
    color: #668cd1;
}

.ffh-quick-elearning .ffh-quick-icon {
    background: #f3edfc;
    color: #9670cb;
}

.ffh-quick-laboratorije .ffh-quick-icon {
    background: #fff3e6;
    color: #d68f45;
}

.ffh-quick-erasmus .ffh-quick-icon {
    background: #e9f8fa;
    color: #4ca9b8;
}

.ffh-quick-title,
.ffh-quick-subtitle {
    display: block;
}

.ffh-quick-title {
    color: #34455d;
    font-size: 11px;
    font-weight: 800;
}

.ffh-quick-subtitle {
    margin-top: 2px;
    color: #a0a9b5;
    font-size: 9px;
}

/* STATS */
.ffh-stats {
    margin-top: 78px;
    margin-bottom: 0;
    background: var(--ffh-purple);
    color: #fff;
}

.ffh-stats-grid {
    min-height: 116px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    text-align: center;
}

.ffh-stat-number {
    margin: 0;
    color: #fff;
    font-size: 31px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.03em;
}

.ffh-stat-label {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, .48);
    font-size: 10px;
}

/* SHARED SECTIONS */
.ffh-featured-section,
.ffh-news-section,
.ffh-programs {
    padding: 86px 0;
    background: #fff;
}

.ffh-news-section {
    background: #fbfcfd;
    border-top: 1px solid #eef1f4;
    border-bottom: 1px solid #eef1f4;
}

.ffh-programs {
    padding-top: 92px;
    padding-bottom: 145px;
}

.ffh-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.ffh-section-eyebrow {
    margin: 0 0 6px;
    color: var(--ffh-green-dark);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ffh-section-title {
    margin: 0;
    color: var(--ffh-dark);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.015em;
}

.ffh-section-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ffh-green-dark) !important;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

/* NEWS */
.ffh-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(255px, .8fr);
    gap: 21px;
    align-items: start;
}

.ffh-news-layout.without-promo {
    grid-template-columns: 1fr;
}

.ffh-news-types {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ffh-news-types.many-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ffh-news-type-block {
    min-width: 0;
}

.ffh-news-type-title {
    margin: 0 0 11px;
    color: #40536a;
    font-size: 12px;
    font-weight: 800;
}

.ffh-news-main .ffv-news-block {
    margin: 0;
}

.ffh-news-main .ffv-news-items {
    gap: 10px;
}

.ffh-news-main .ffv-news-card {
    min-height: 96px;
    padding: 14px 15px;
}

.ffh-news-main .ffv-news-title {
    font-size: 11px;
}

.ffh-news-main .ffv-news-excerpt {
    display: none;
}

.ffh-news-main .ffv-news-details {
    display: none;
}

.ffh-news-main .ffv-news-meta {
    font-size: 8px;
}

.ffh-news-missing {
    padding: 22px;
    border: 1px dashed #cad5de;
    border-radius: 8px;
    background: #fafbfc;
    color: #778696;
    font-size: 11px;
}

.ffh-news-promo {
    overflow: hidden;
    border: 1px solid var(--ffh-line);
    border-radius: 9px;
    background: #fff;
}

.ffh-news-promo-image {
    position: relative;
    min-height: 128px;
    background-position: center;
    background-size: cover;
}

.ffh-news-promo-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 31, 54, .5), transparent);
}

.ffh-news-promo-image span {
    position: absolute;
    z-index: 2;
    left: 15px;
    bottom: 12px;
    color: #70d076;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ffh-news-promo-body {
    padding: 15px 16px 17px;
}

.ffh-news-promo-eyebrow {
    margin: 0 0 7px;
    color: var(--ffh-green-dark);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ffh-news-promo-title {
    margin: 0;
    color: #34455c;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.45;
}

.ffh-news-promo-text {
    margin: 7px 0 0;
    color: #8c98a7;
    font-size: 9px;
    line-height: 1.55;
}

.ffh-news-promo-link {
    display: inline-flex;
    gap: 6px;
    margin-top: 12px;
    color: var(--ffh-green-dark) !important;
    font-size: 9px;
    font-weight: 750;
}

/* PROGRAMS */
.ffh-program-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ffh-program-card {
    min-height: 135px;
    display: grid;
    align-content: start;
    padding: 17px;
    border: 1px solid var(--ffh-line);
    border-radius: 9px;
    background: #fff;
    color: inherit !important;
    transition: .2s ease;
}

.ffh-program-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(27, 45, 66, .07);
}

.ffh-program-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: #eaf7ea;
    color: #65b96a;
    font-size: 14px;
    font-weight: 800;
}

.ffh-program-type {
    margin-top: 13px;
    color: #65b96a;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.ffh-program-name {
    margin-top: 8px;
    color: #33455b;
    font-size: 11px;
    font-weight: 800;
}

.ffh-program-meta {
    margin-top: 5px;
    color: #a0a9b6;
    font-size: 9px;
}

.ffh-program-blue .ffh-program-icon {
    background: #edf3ff;
    color: #6488cd;
}

.ffh-program-blue .ffh-program-type {
    color: #6488cd;
}

.ffh-program-purple .ffh-program-icon {
    background: #f3edfc;
    color: #9973c8;
}

.ffh-program-purple .ffh-program-type {
    color: #9973c8;
}

.ffh-program-cyan .ffh-program-icon {
    background: #e8f7fa;
    color: #4aa4b3;
}

.ffh-program-cyan .ffh-program-type {
    color: #4aa4b3;
}

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

    .ffh-quick-item:nth-child(4),
    .ffh-quick-item:nth-child(5) {
        border-top: 1px solid var(--ffh-line);
    }

    .ffh-news-layout {
        grid-template-columns: 1fr;
    }

    .ffh-program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .ffh-container {
        width: min(calc(100% - 28px), var(--ffh-container));
    }

    .ffh-hero {
        min-height: 520px;
    }

    .ffh-hero-title {
        font-size: clamp(47px, 15vw, 65px);
    }

    .ffh-hero-text {
        max-width: 92%;
        font-size: 12px;
    }

    .ffh-hero-actions {
        display: grid;
    }

    .ffh-button {
        width: 100%;
    }

    .ffh-quick-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ffh-quick-item {
        min-height: 68px;
        justify-content: flex-start;
        border-top: 1px solid var(--ffh-line);
    }

    .ffh-quick-item:nth-child(1),
    .ffh-quick-item:nth-child(2) {
        border-top: 0;
    }

    .ffh-quick-item:nth-child(5) {
        grid-column: 1 / -1;
    }

    .ffh-stats-grid {
        grid-template-columns: 1fr 1fr;
        padding: 15px 0;
    }

    .ffh-stat {
        padding: 18px 8px;
    }

    .ffh-stat-number {
        font-size: 26px;
    }

    .ffh-news-types,
    .ffh-news-types.many-types {
        grid-template-columns: 1fr;
    }

    .ffh-program-grid {
        grid-template-columns: 1fr;
    }

    .ffh-programs {
        padding-bottom: 85px;
    }
}


/* Verzija 1.1 - istaknute teme i više prostora */
.ffh-featured-section {
    background: #fff;
}

.ffh-centered-heading {
    justify-content: center;
    text-align: center;
    margin-bottom: 30px;
}

.ffh-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.ffh-featured-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ffh-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(34, 52, 73, .045);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ffh-featured-card:hover {
    transform: translateY(-4px);
    border-color: #cad7cf;
    box-shadow: 0 18px 36px rgba(34, 52, 73, .09);
}

.ffh-featured-image {
    min-height: 175px;
    background-position: center;
    background-size: cover;
}

.ffh-featured-placeholder {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 25%, rgba(105, 185, 101, .35), transparent 30%),
        linear-gradient(135deg, #244056, #7564a0);
    color: rgba(255, 255, 255, .78);
    font-size: 38px;
}

.ffh-featured-body {
    display: grid;
    align-content: start;
    min-height: 190px;
    padding: 20px;
}

.ffh-featured-title {
    margin: 0;
    color: #30445a;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.35;
}

.ffh-featured-text {
    margin: 10px 0 0;
    color: #7b8999;
    font-size: 10px;
    line-height: 1.65;
}

.ffh-featured-link {
    align-self: end;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-top: 18px;
    color: var(--ffh-green-dark) !important;
    font-size: 10px;
    font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
    .ffh-hero-video {
        display: none;
    }
}

@media (max-width: 1000px) {
    .ffh-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .ffh-featured-section,
    .ffh-news-section,
    .ffh-programs {
        padding: 64px 0;
    }

    .ffh-stats {
        margin-top: 60px;
    }

    .ffh-featured-grid {
        grid-template-columns: 1fr;
    }

    .ffh-featured-image {
        min-height: 205px;
    }
}

/* =========================================================
   FF PROFESSIONAL UI V2 — 14.08.2026
   ========================================================= */
.ffh-home {
    --ffh-green: #2f7d57;
    --ffh-green-dark: #256747;
    --ffh-purple: #26384d;
    --ffh-dark: #1f3348;
    --ffh-text: #586b7f;
    --ffh-muted: #7d8c9b;
    --ffh-line: #e4e9ee;
    --ffh-container: 1160px;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
.ffh-container { width: min(calc(100% - 48px), var(--ffh-container)); }
.ffh-hero { min-height: 560px; }
.ffh-hero-overlay { background: linear-gradient(90deg,rgba(17,34,51,.9) 0%,rgba(17,34,51,.68) 48%,rgba(17,34,51,.2) 100%),linear-gradient(to top,rgba(7,18,32,.32),transparent 42%); }
.ffh-hero-content { max-width: 720px; padding: 92px 0 112px; }
.ffh-eyebrow { margin-bottom: 14px; font-size: 13px; letter-spacing: .13em; }
.ffh-hero-title { font-size: clamp(48px,5.5vw,72px); line-height: 1.01; letter-spacing: -.04em; }
.ffh-hero-text { max-width: 610px; margin-top: 22px; font-size: 17px; line-height: 1.68; color: rgba(255,255,255,.87); }
.ffh-hero-actions { gap: 10px; margin-top: 28px; }
.ffh-button { min-height: 42px; padding: 0 17px; border-radius: 6px; font-size: 14px; font-weight: 700; box-shadow: none; }
.ffh-button-primary { box-shadow: 0 7px 18px rgba(38,103,71,.2); }
.ffh-quick-links { box-shadow: 0 8px 24px rgba(31,51,72,.04); }
.ffh-quick-item { min-height: 92px; gap: 14px; padding: 0 18px; }
.ffh-quick-icon { width: 38px; height: 38px; border-radius: 8px; font-size: 17px; }
.ffh-quick-title { font-size: 14px; font-weight: 750; }
.ffh-quick-subtitle { margin-top: 3px; font-size: 12px; line-height: 1.4; }
.ffh-stats { margin-top: 72px; }
.ffh-stats-grid { min-height: 132px; }
.ffh-stat-number { font-size: 38px; }
.ffh-stat-label { margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.7); }
.ffh-featured-section,.ffh-news-section,.ffh-programs { padding: 82px 0; }
.ffh-section-heading { margin-bottom: 30px; }
.ffh-section-eyebrow { font-size: 12px; letter-spacing: .12em; }
.ffh-section-title { font-size: clamp(30px,4vw,42px); line-height: 1.15; letter-spacing: -.03em; }
.ffh-section-link { font-size: 14px; font-weight: 700; }
.ffh-news-type-title { font-size: 15px; }
.ffh-news-main .ffv-news-title { font-size: 17px; }
.ffh-news-main .ffv-news-excerpt { font-size: 14px; line-height: 1.65; }
.ffh-news-main .ffv-news-meta,.ffh-news-main .ffv-news-details { font-size: 12px; }
.ffh-news-promo { border-radius: 12px; overflow: hidden; }
.ffh-news-promo-body { padding: 22px; }
.ffh-news-promo-eyebrow { font-size: 11px; }
.ffh-news-promo-title { font-size: 20px; line-height: 1.35; }
.ffh-news-promo-text { font-size: 14px; line-height: 1.65; }
.ffh-news-promo-link { font-size: 14px; }
.ffh-program-grid { gap: 18px; }
.ffh-program-card { min-height: 160px; padding: 22px; border-radius: 10px; box-shadow: 0 8px 24px rgba(31,51,72,.045); }
.ffh-program-icon { width: 42px; height: 42px; border-radius: 8px; font-size: 18px; }
.ffh-program-type { font-size: 11px; letter-spacing: .09em; }
.ffh-program-name { font-size: 17px; line-height: 1.35; }
.ffh-program-meta { font-size: 13px; line-height: 1.5; }
.ffh-featured-grid { gap: 20px; }
.ffh-featured-card { border-radius: 12px; box-shadow: 0 8px 26px rgba(31,51,72,.05); }
.ffh-featured-image { min-height: 205px; }
.ffh-featured-body { padding: 22px; }
.ffh-featured-title { font-size: 19px; line-height: 1.35; }
.ffh-featured-text { font-size: 14px; line-height: 1.65; }
.ffh-featured-link { font-size: 14px; font-weight: 700; }
@media (max-width: 900px) {
    .ffh-container { width: min(calc(100% - 32px),var(--ffh-container)); }
    .ffh-hero { min-height: 520px; }
    .ffh-hero-text { font-size: 16px; }
    .ffh-quick-grid { grid-template-columns: repeat(2,1fr); }
    .ffh-quick-item { border-bottom: 1px solid var(--ffh-line); }
}
@media (max-width: 650px) {
    .ffh-container { width: min(calc(100% - 24px),var(--ffh-container)); }
    .ffh-hero { min-height: 530px; }
    .ffh-hero-content { padding: 76px 0 88px; }
    .ffh-hero-title { font-size: clamp(42px,13vw,58px); }
    .ffh-hero-text { font-size: 16px; }
    .ffh-button { width: auto; min-height: 42px; font-size: 14px; }
    .ffh-quick-grid { grid-template-columns: 1fr; }
    .ffh-quick-item { min-height: 72px; justify-content: flex-start; }
    .ffh-stats-grid { grid-template-columns: repeat(2,1fr); padding: 18px 0; }
    .ffh-stat-number { font-size: 32px; }
    .ffh-featured-section,.ffh-news-section,.ffh-programs { padding: 60px 0; }
}

/* =========================================================
   FF MOLECULAR SCIENCE HERO V3 — scroll-controlled 3D
   ========================================================= */
.ffh-science-experience {
    --ffh-science-ink: #10252b;
    --ffh-science-muted: #63767a;
    --ffh-science-accent: #2f7d57;
    --ffh-science-line: rgba(16, 37, 43, .12);
    position: relative;
    height: 620vh;
    min-height: 3600px;
    overflow: clip;
    background: #f7faf9;
    color: var(--ffh-science-ink);
    isolation: isolate;
}

.ffh-science-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    min-height: 620px;
    overflow: hidden;
    background:
        radial-gradient(circle at 69% 45%, rgba(86, 151, 124, .11), transparent 28%),
        radial-gradient(circle at 78% 68%, rgba(98, 129, 147, .07), transparent 32%),
        linear-gradient(135deg, #fbfdfc 0%, #f5f9f7 55%, #f8fbfb 100%);
}

.ffh-science-bg,
.ffh-science-bg::before,
.ffh-science-bg::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ffh-science-bg::before {
    content: "";
    background-image:
        linear-gradient(rgba(24, 52, 57, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(24, 52, 57, .035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 38%, rgba(0,0,0,.22) 100%);
}

.ffh-science-bg::after {
    content: "";
    inset: auto -8vw -25vh auto;
    width: 64vw;
    height: 64vw;
    border: 1px solid rgba(47, 125, 87, .08);
    border-radius: 50%;
    box-shadow:
        0 0 0 110px rgba(47, 125, 87, .025),
        0 0 0 240px rgba(47, 125, 87, .018);
}

.ffh-science-bg > span {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(47, 125, 87, .09);
}

.ffh-science-bg > span:nth-child(1) { width: 9px; height: 9px; left: 8%; top: 17%; background: rgba(47,125,87,.16); }
.ffh-science-bg > span:nth-child(2) { width: 5px; height: 5px; right: 14%; top: 16%; background: rgba(87,124,139,.16); }
.ffh-science-bg > span:nth-child(3) { width: 7px; height: 7px; left: 38%; bottom: 10%; background: rgba(47,125,87,.1); }

.ffh-science-viewport {
    position: absolute;
    z-index: 2;
    inset: 0;
    cursor: grab;
    touch-action: pan-y;
}

.ffh-science-experience.is-dragging .ffh-science-viewport { cursor: grabbing; }
.ffh-science-experience.is-ligand-hover .ffh-science-viewport { cursor: pointer; }

.ffh-science-canvas {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .7s ease;
}

.ffh-science-experience.is-ready .ffh-science-canvas { opacity: 1; }

.ffh-science-shell {
    position: relative;
    z-index: 5;
    width: min(calc(100% - 72px), 1280px);
    height: 100%;
    margin: 0 auto;
    pointer-events: none;
}

.ffh-science-copy-stack {
    position: absolute;
    left: 0;
    top: 50%;
    width: min(46vw, 590px);
    min-height: 440px;
    transform: translateY(-50%);
}

.ffh-science-copy {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 28px, 0);
    transition: opacity .55s ease, transform .7s cubic-bezier(.22,1,.36,1), visibility .55s;
}

.ffh-science-copy.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
}

.ffh-science-intro { transform: translateY(calc(-50% + 24px)); }
.ffh-science-intro.is-active { transform: translateY(-50%); }
.ffh-science-copy:not(.ffh-science-intro) { transform: translateY(calc(-50% + 26px)); }
.ffh-science-copy:not(.ffh-science-intro).is-active { transform: translateY(-50%); }

.ffh-science-kicker,
.ffh-science-number {
    margin: 0 0 17px;
    color: var(--ffh-science-accent);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ffh-science-intro h1 {
    max-width: 690px;
    margin: 0;
    color: var(--ffh-science-ink);
    font-size: clamp(58px, 6.1vw, 96px);
    font-weight: 690;
    line-height: .91;
    letter-spacing: -.065em;
    text-wrap: balance;
}

.ffh-science-statement {
    max-width: 500px;
    margin: 28px 0 0;
    color: #42595e;
    font-size: clamp(19px, 1.55vw, 25px);
    font-weight: 430;
    line-height: 1.42;
    letter-spacing: -.018em;
}

.ffh-science-copy h2 {
    margin: 0;
    color: var(--ffh-science-ink);
    font-size: clamp(42px, 4.8vw, 68px);
    font-weight: 650;
    line-height: .98;
    letter-spacing: -.052em;
}

.ffh-science-copy > p:not(.ffh-science-number) {
    max-width: 490px;
    margin: 25px 0 0;
    color: var(--ffh-science-muted);
    font-size: clamp(16px, 1.15vw, 18px);
    line-height: 1.72;
}

.ffh-science-final {
    display: block;
    max-width: 525px;
    margin-top: 28px;
    padding-top: 23px;
    border-top: 1px solid var(--ffh-science-line);
    color: var(--ffh-science-ink);
    font-size: clamp(19px, 1.5vw, 24px);
    font-weight: 600;
    line-height: 1.42;
    letter-spacing: -.02em;
}

.ffh-science-scroll-cue {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-top: 42px;
    color: #78898d;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ffh-science-scroll-line {
    position: relative;
    width: 46px;
    height: 1px;
    overflow: hidden;
    background: rgba(16,37,43,.16);
}

.ffh-science-scroll-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ffh-science-accent);
    transform: translateX(-100%);
    animation: ffh-scroll-line 2.4s ease-in-out infinite;
}

@keyframes ffh-scroll-line {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(20%); }
    100% { transform: translateX(120%); }
}

.ffh-science-progress {
    position: absolute;
    top: 50%;
    right: 0;
    display: grid;
    gap: 7px;
    transform: translateY(-50%);
    pointer-events: auto;
}

.ffh-science-progress::before {
    content: "";
    position: absolute;
    top: 13px;
    bottom: 13px;
    right: 5px;
    width: 1px;
    background: rgba(16,37,43,.12);
}

.ffh-science-progress button {
    position: relative;
    width: 58px;
    height: 42px;
    padding: 0 18px 0 0;
    border: 0;
    background: transparent;
    color: #8a999c;
    font: inherit;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .08em;
    text-align: right;
    cursor: pointer;
}

.ffh-science-progress button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 11px;
    height: 11px;
    border: 1px solid rgba(16,37,43,.2);
    border-radius: 50%;
    background: #f7faf9;
    transform: translateY(-50%);
    transition: .25s ease;
}

.ffh-science-progress button.is-active { color: var(--ffh-science-accent); }
.ffh-science-progress button.is-active::after {
    border-color: var(--ffh-science-accent);
    background: var(--ffh-science-accent);
    box-shadow: 0 0 0 5px rgba(47,125,87,.09);
}

.ffh-science-meta {
    position: absolute;
    z-index: 6;
    left: 36px;
    right: 36px;
    bottom: 22px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #87969a;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .1em;
    text-transform: uppercase;
    pointer-events: none;
}

.ffh-science-loader {
    position: absolute;
    z-index: 4;
    left: 69%;
    top: 50%;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #728488;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .04em;
    transform: translate(-50%, -50%);
    transition: opacity .5s ease, visibility .5s;
}

.ffh-science-experience.is-ready .ffh-science-loader {
    opacity: 0;
    visibility: hidden;
}

.ffh-science-loader-ring {
    width: 21px;
    height: 21px;
    border: 2px solid rgba(47,125,87,.16);
    border-top-color: var(--ffh-science-accent);
    border-radius: 50%;
    animation: ffh-loader-spin .9s linear infinite;
}

@keyframes ffh-loader-spin { to { transform: rotate(360deg); } }

.ffh-science-fallback-art {
    position: absolute;
    left: 68%;
    top: 50%;
    width: min(45vw, 600px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    opacity: .56;
    transition: opacity .5s ease;
}

.ffh-science-experience.is-ready .ffh-science-fallback-art { opacity: 0; }

.ffh-orbit,
.ffh-fallback-core {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.ffh-orbit { border: 1px solid rgba(47,125,87,.15); }
.ffh-orbit-a { width: 72%; height: 34%; transform: translate(-50%,-50%) rotate(24deg); }
.ffh-orbit-b { width: 50%; height: 78%; transform: translate(-50%,-50%) rotate(-38deg); }
.ffh-orbit-c { width: 84%; height: 64%; transform: translate(-50%,-50%) rotate(66deg); border-color: rgba(95,126,140,.12); }
.ffh-fallback-core { width: 22%; height: 22%; background: radial-gradient(circle, rgba(47,125,87,.18), rgba(47,125,87,.02) 70%); filter: blur(1px); }

.ffh-science-ligand-hint {
    position: absolute;
    z-index: 5;
    left: 74%;
    top: 48%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid rgba(47,125,87,.15);
    border-radius: 999px;
    background: rgba(251,253,252,.78);
    color: #506568;
    font: inherit;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(6px);
    backdrop-filter: blur(8px);
    pointer-events: none;
    transition: .3s ease;
}

.ffh-science-ligand-hint span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ffh-science-accent);
    box-shadow: 0 0 0 4px rgba(47,125,87,.09);
}

.ffh-science-experience[data-active-stage="1"] .ffh-science-ligand-hint,
.ffh-science-experience[data-active-stage="3"] .ffh-science-ligand-hint,
.ffh-science-experience[data-active-stage="4"] .ffh-science-ligand-hint,
.ffh-science-experience.is-ligand-hover .ffh-science-ligand-hint {
    opacity: 1;
    transform: translateY(0);
}

.ffh-science-info {
    position: absolute;
    z-index: 9;
    right: 7.5vw;
    bottom: 72px;
    width: min(360px, calc(100vw - 44px));
    padding: 24px 26px 25px;
    border: 1px solid rgba(16,37,43,.1);
    border-radius: 14px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 24px 70px rgba(24,55,58,.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(.985);
    backdrop-filter: blur(18px);
    transition: .32s ease;
}

.ffh-science-info.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.ffh-science-info h3 {
    margin: 0;
    color: var(--ffh-science-ink);
    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.ffh-science-info > p:last-child {
    margin: 13px 0 0;
    color: #65777a;
    font-size: 13px;
    line-height: 1.65;
}

.ffh-science-info-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #718286;
    font-size: 22px;
    cursor: pointer;
}

.ffh-science-scroll-track {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ffh-3d-admin-card {
    border: 1px solid #d8e8df;
    border-radius: 12px;
    background: linear-gradient(135deg, #f7fbf8, #fff);
}

@media (min-width: 1000px) {
    .ffh-science-experience.has-entered .ffh-science-copy-stack {
        width: min(38vw, 510px);
    }
}

@media (max-width: 980px) {
    .ffh-science-experience { height: 560vh; min-height: 3200px; }
    .ffh-science-sticky { min-height: 600px; }
    .ffh-science-shell { width: min(calc(100% - 40px), 900px); }
    .ffh-science-copy-stack { top: auto; left: 0; bottom: 62px; width: min(76vw, 600px); min-height: 275px; transform: none; }
    .ffh-science-copy { top: auto; bottom: 0; transform: translateY(20px); }
    .ffh-science-copy.is-active,
    .ffh-science-intro.is-active,
    .ffh-science-copy:not(.ffh-science-intro).is-active { transform: translateY(0); }
    .ffh-science-intro,
    .ffh-science-copy:not(.ffh-science-intro) { transform: translateY(20px); }
    .ffh-science-intro h1 { font-size: clamp(52px, 9vw, 78px); }
    .ffh-science-copy h2 { font-size: clamp(38px, 7vw, 58px); }
    .ffh-science-copy > p:not(.ffh-science-number) { max-width: 580px; font-size: 16px; line-height: 1.6; }
    .ffh-science-progress { right: 0; top: 25%; }
    .ffh-science-meta { left: 20px; right: 20px; bottom: 15px; }
    .ffh-science-loader { left: 50%; top: 34%; }
    .ffh-science-fallback-art { left: 55%; top: 33%; width: min(72vw, 540px); }
    .ffh-science-ligand-hint { left: 62%; top: 34%; }
}

@media (max-width: 680px) {
    .ffh-science-experience { height: 520vh; min-height: 2900px; }
    .ffh-science-sticky { min-height: 560px; }
    .ffh-science-shell { width: calc(100% - 28px); }
    .ffh-science-copy-stack {
        bottom: 46px;
        width: calc(100% - 26px);
        min-height: 285px;
        padding: 20px 18px 18px;
        border: 1px solid rgba(16,37,43,.075);
        border-radius: 14px;
        background: linear-gradient(135deg, rgba(251,253,252,.92), rgba(247,250,249,.77));
        box-shadow: 0 18px 55px rgba(24,55,58,.06);
        backdrop-filter: blur(12px);
    }
    .ffh-science-kicker,
    .ffh-science-number { margin-bottom: 11px; font-size: 10px; }
    .ffh-science-intro h1 { max-width: 100%; font-size: clamp(44px, 13vw, 62px); line-height: .95; }
    .ffh-science-statement { margin-top: 17px; font-size: 17px; line-height: 1.42; }
    .ffh-science-scroll-cue { margin-top: 22px; font-size: 9px; }
    .ffh-science-copy h2 { font-size: clamp(35px, 10vw, 48px); }
    .ffh-science-copy > p:not(.ffh-science-number) { margin-top: 15px; font-size: 14px; line-height: 1.56; }
    .ffh-science-final { margin-top: 15px; padding-top: 14px; font-size: 16px; }
    .ffh-science-progress { top: 15px; right: 0; display: flex; gap: 2px; transform: none; }
    .ffh-science-progress::before { top: auto; bottom: 4px; left: 9px; right: 9px; width: auto; height: 1px; }
    .ffh-science-progress button { width: 37px; height: 32px; padding: 0 0 10px; text-align: center; }
    .ffh-science-progress button::after { top: auto; left: 50%; right: auto; bottom: 0; width: 8px; height: 8px; transform: translateX(-50%); }
    .ffh-science-meta { display: none; }
    .ffh-science-loader { top: 29%; width: 100%; justify-content: center; }
    .ffh-science-fallback-art { left: 52%; top: 28%; width: 88vw; }
    .ffh-science-ligand-hint { left: 60%; top: 29%; }
    .ffh-science-info { right: 16px; bottom: 355px; padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .ffh-science-experience { height: auto; min-height: 100svh; }
    .ffh-science-sticky { position: relative; min-height: 100svh; }
    .ffh-science-copy:not([data-ffh-copy="0"]),
    .ffh-science-progress,
    .ffh-science-scroll-cue { display: none; }
    .ffh-science-scroll-line::after,
    .ffh-science-loader-ring { animation: none; }
    .ffh-science-copy { transition: none; }
}

/* ==========================================================
   V1.5.0 PREMIUM INTRO ABOVE MOLECULE
   ========================================================== */
.ffh-premium-intro {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 8%, rgba(47,125,87,.12), transparent 28%),
        radial-gradient(circle at 6% 72%, rgba(16,37,43,.05), transparent 22%),
        linear-gradient(180deg, #f7fbf9 0%, #f2f7f5 100%);
    padding: 42px 0 26px;
}
.ffh-premium-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16,37,43,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16,37,43,.04) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: .14;
    mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
    pointer-events: none;
}
.ffh-premium-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    gap: 56px;
    align-items: center;
}
.ffh-premium-copy { max-width: 720px; }
.ffh-premium-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: #2f7d57;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.ffh-premium-kicker::before {
    content: "";
    width: 42px;
    height: 1px;
    background: currentColor;
}
.ffh-premium-title {
    margin: 0;
    color: #10252b;
    font-size: clamp(48px, 6.8vw, 84px);
    line-height: .92;
    letter-spacing: -.06em;
    font-weight: 700;
}
.ffh-premium-text {
    max-width: 660px;
    margin: 24px 0 0;
    color: #506368;
    font-size: 18px;
    line-height: 1.72;
}
.ffh-premium-statement {
    display: inline-flex;
    align-items: center;
    margin: 18px 0 0;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(47,125,87,.08);
    color: #2f7d57;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -.01em;
}
.ffh-premium-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}
.ffh-button--soft {
    color: #10252b !important;
    background: #ffffff;
    border-color: rgba(16,37,43,.09);
}
.ffh-button--soft:hover {
    color: #ffffff !important;
    background: #2f7d57;
    border-color: #2f7d57;
}
.ffh-premium-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.ffh-premium-chips span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.84);
    border: 1px solid rgba(16,37,43,.08);
    color: #44595f;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(16,37,43,.04);
}
.ffh-premium-media { position: relative; }
.ffh-premium-media-card {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    border-radius: 34px;
    background: linear-gradient(135deg, #0f2227 0%, #24453d 100%);
    border: 1px solid rgba(16,37,43,.08);
    box-shadow: 0 28px 74px rgba(16,37,43,.12);
}
.ffh-premium-video,
.ffh-premium-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ffh-premium-placeholder {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 28% 34%, rgba(255,255,255,.14), transparent 0 18%),
        radial-gradient(circle at 66% 28%, rgba(255,255,255,.1), transparent 0 22%),
        radial-gradient(circle at 55% 72%, rgba(47,125,87,.4), transparent 0 25%),
        linear-gradient(140deg, #0f2328 0%, #295346 100%);
}
.ffh-premium-placeholder span {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
}
.ffh-premium-placeholder span:nth-child(1) { width: 260px; height: 260px; top: 62px; right: 52px; }
.ffh-premium-placeholder span:nth-child(2) { width: 430px; height: 430px; bottom: -110px; right: -70px; }
.ffh-premium-placeholder span:nth-child(3) { width: 190px; height: 190px; left: 24px; bottom: 56px; }
.ffh-premium-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,18,20,.12) 0%, rgba(7,18,20,.34) 100%);
}
.ffh-premium-badge {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(16,37,43,.08);
    box-shadow: 0 18px 46px rgba(16,37,43,.12);
    backdrop-filter: blur(12px);
}
.ffh-premium-badge strong {
    display: block;
    color: #10252b;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.02em;
}
.ffh-premium-badge span {
    display: block;
    margin-top: 6px;
    color: #61757a;
    font-size: 13px;
    line-height: 1.55;
}

.ffh-science-experience { margin-top: 8px; }
.ffh-science-intro h1 { max-width: 760px; }

@media (max-width: 1100px) {
    .ffh-premium-grid { grid-template-columns: 1fr; gap: 34px; }
    .ffh-premium-media-card { min-height: 460px; }
}
@media (max-width: 767px) {
    .ffh-premium-intro { padding: 20px 0 10px; }
    .ffh-premium-title { font-size: clamp(38px, 11vw, 56px); }
    .ffh-premium-text { font-size: 16px; margin-top: 18px; }
    .ffh-premium-statement { margin-top: 16px; font-size: 12px; }
    .ffh-premium-actions { margin-top: 22px; }
    .ffh-premium-chips { margin-top: 20px; gap: 8px; }
    .ffh-premium-chips span { min-height: 34px; padding: 0 12px; font-size: 11px; }
    .ffh-premium-media-card { min-height: 320px; border-radius: 24px; }
    .ffh-premium-badge { left: 16px; right: 16px; bottom: 16px; padding: 14px 15px; border-radius: 18px; }
    .ffh-premium-badge strong { font-size: 15px; }
    .ffh-premium-badge span { font-size: 12px; }
}

/* ==========================================================
   V1.6.0 — CINEMATIC / BIOTECH HOMEPAGE REDESIGN
   ========================================================== */
.ffh-home {
    --ffh-green: #216653;
    --ffh-green-dark: #174c3d;
    --ffh-purple: #101b24;
    --ffh-dark: #101b24;
    --ffh-text: #64747a;
    --ffh-muted: #8c999d;
    --ffh-line: rgba(16, 27, 36, .09);
    --ffh-white: #ffffff;
    --ffh-container: 1320px;
}

/* --- HERO: video/image is the background, content lives over it --- */
.ffh-cinematic-hero {
    position: relative;
    padding: 26px 24px 0;
    background: #eef3f1;
    overflow: hidden;
}
.ffh-cinematic-frame {
    position: relative;
    width: min(100%, 1480px);
    min-height: clamp(690px, 77vh, 860px);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 34px;
    background: #dce8e3 var(--ffh-cinematic-image, none) center / cover no-repeat;
    border: 1px solid rgba(255,255,255,.72);
    box-shadow: 0 26px 80px rgba(16, 27, 36, .10);
    isolation: isolate;
}
.ffh-cinematic-media,
.ffh-cinematic-video,
.ffh-cinematic-placeholder,
.ffh-cinematic-overlay,
.ffh-cinematic-glow {
    position: absolute;
    inset: 0;
}
.ffh-cinematic-media { z-index: -4; }
.ffh-cinematic-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ffh-cinematic-placeholder {
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 26%, rgba(255,255,255,.74), transparent 0 16%),
        radial-gradient(circle at 70% 58%, rgba(115,180,159,.44), transparent 0 21%),
        linear-gradient(128deg, #edf7f4 0%, #b9d6ce 46%, #7eada0 100%);
}
.ffh-cinematic-placeholder span {
    position: absolute;
    border: 1px solid rgba(255,255,255,.58);
    border-radius: 999px;
}
.ffh-cinematic-placeholder span:nth-child(1) { width: 560px; height: 560px; right: -70px; top: -90px; }
.ffh-cinematic-placeholder span:nth-child(2) { width: 360px; height: 360px; right: 19%; bottom: -150px; }
.ffh-cinematic-placeholder span:nth-child(3) { width: 150px; height: 150px; left: 52%; top: 31%; }
.ffh-cinematic-overlay {
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(247,250,249,.98) 0%, rgba(247,250,249,.94) 31%, rgba(247,250,249,.64) 51%, rgba(247,250,249,.15) 75%, rgba(247,250,249,.03) 100%),
        linear-gradient(180deg, rgba(247,250,249,.15) 0%, rgba(16,27,36,.06) 100%);
}
.ffh-cinematic-glow {
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 17% 48%, rgba(255,255,255,.96) 0, rgba(255,255,255,.48) 26%, transparent 54%),
        radial-gradient(circle at 71% 20%, rgba(255,255,255,.16), transparent 24%);
}
.ffh-cinematic-content {
    position: relative;
    width: min(calc(100% - 92px), 1320px);
    min-height: inherit;
    margin: 0 auto;
    padding: 104px 0 116px;
}
.ffh-cinematic-copy {
    position: relative;
    z-index: 5;
    width: min(650px, 58%);
}
.ffh-cinematic-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: #216653;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.ffh-cinematic-kicker::before {
    content: "";
    width: 38px;
    height: 1px;
    background: currentColor;
}
.ffh-cinematic-title {
    max-width: 690px;
    margin: 0;
    color: #101b24;
    font-size: clamp(54px, 5.6vw, 82px);
    line-height: .92;
    font-weight: 680;
    letter-spacing: -.063em;
    text-wrap: balance;
}
.ffh-cinematic-title br + * { color: #101b24; }
.ffh-cinematic-text {
    max-width: 585px;
    margin: 27px 0 0;
    color: #52656a;
    font-size: 17px;
    line-height: 1.72;
}
.ffh-cinematic-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 29px;
}
.ffh-cinematic-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 800;
    transition: transform .24s ease, background .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.ffh-cinematic-button:hover { transform: translateY(-2px); }
.ffh-cinematic-button.is-primary {
    color: #fff !important;
    background: #101b24;
    box-shadow: 0 14px 30px rgba(16,27,36,.14);
}
.ffh-cinematic-button.is-primary:hover { background: #216653; }
.ffh-cinematic-button.is-glass {
    color: #101b24 !important;
    background: rgba(255,255,255,.70);
    border-color: rgba(16,27,36,.09);
    backdrop-filter: blur(16px);
}
.ffh-cinematic-button.is-glass:hover { background: rgba(255,255,255,.92); }
.ffh-cinematic-play {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #216653;
    color: #fff;
    font-size: 8px;
}
.ffh-cinematic-statement {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    color: #426158;
    font-size: 12px;
    font-weight: 750;
}
.ffh-cinematic-statement-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #216653;
    box-shadow: 0 0 0 5px rgba(33,102,83,.10);
}

.ffh-cinematic-float {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 18px;
    background: rgba(255,255,255,.74);
    color: #101b24;
    box-shadow: 0 18px 50px rgba(16,27,36,.10);
    backdrop-filter: blur(18px) saturate(1.18);
}
.ffh-cinematic-float strong,
.ffh-cinematic-float small { display: block; }
.ffh-cinematic-float strong { font-size: 13px; line-height: 1.15; font-weight: 850; }
.ffh-cinematic-float small { margin-top: 4px; color: #687a7e; font-size: 10px; line-height: 1.35; }
.ffh-cinematic-float--history {
    top: 72px;
    right: 3.2%;
    min-width: 184px;
    display: block;
}
.ffh-cinematic-float--history .ffh-cinematic-float-label {
    display: block;
    margin-bottom: 8px;
    color: #216653;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .17em;
}
.ffh-cinematic-float--history strong { font-size: 34px; letter-spacing: -.05em; }
.ffh-cinematic-float--science { right: 8%; top: 47%; }
.ffh-cinematic-float--identity { right: 23%; bottom: 132px; }
.ffh-cinematic-float-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e7f1ed;
    color: #216653;
    font-size: 16px;
}
.ffh-cinematic-float-orbit {
    position: relative;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(33,102,83,.35);
    border-radius: 50%;
}
.ffh-cinematic-float-orbit::before,
.ffh-cinematic-float-orbit::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: #216653;
}
.ffh-cinematic-float-orbit::before { width: 7px; height: 7px; top: -3px; left: 13px; }
.ffh-cinematic-float-orbit::after { width: 5px; height: 5px; right: 1px; bottom: 4px; }

.ffh-cinematic-footer {
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    bottom: 28px;
    min-height: 66px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) 96px;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 22px;
    background: rgba(255,255,255,.70);
    box-shadow: 0 16px 42px rgba(16,27,36,.08);
    backdrop-filter: blur(18px) saturate(1.15);
}
.ffh-cinematic-footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    border-right: 1px solid rgba(16,27,36,.07);
}
.ffh-cinematic-footer-item span {
    color: #216653;
    font-size: 9px;
    font-weight: 850;
}
.ffh-cinematic-footer-item strong {
    color: #233238;
    font-size: 11px;
    font-weight: 780;
}
.ffh-cinematic-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #566b6f !important;
    font-size: 9px;
    font-weight: 750;
}
.ffh-cinematic-scroll i {
    position: relative;
    width: 1px;
    height: 17px;
    background: rgba(33,102,83,.32);
    overflow: hidden;
}
.ffh-cinematic-scroll i::after {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    width: 1px;
    height: 8px;
    background: #216653;
    animation: ffh-cinematic-scroll 1.8s infinite ease-in-out;
}
@keyframes ffh-cinematic-scroll { 0% { transform: translateY(0); } 100% { transform: translateY(28px); } }

/* --- transition into molecule --- */
.ffh-science-after-hero {
    margin-top: 0 !important;
    border-radius: 0;
    background: #f4f8f6;
}
.ffh-science-after-hero .ffh-science-sticky::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(calc(100% - 48px), 1480px);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(33,102,83,.18), transparent);
    z-index: 6;
}
.ffh-science-experience {
    --ffh-science-accent: #216653;
    --ffh-science-ink: #101b24;
    --ffh-science-muted: #64777b;
}
.ffh-science-kicker { letter-spacing: .18em; }
.ffh-science-intro h1 { max-width: 660px; font-size: clamp(64px, 7vw, 105px); line-height: .88; letter-spacing: -.065em; }
.ffh-science-copy h2 { letter-spacing: -.045em; }

/* --- QUICK LINKS: compact glass utility rail after interactive scene --- */
.ffh-quick-links {
    z-index: 8;
    padding: 24px 0 40px;
    border: 0;
    background: #f4f8f6;
    box-shadow: none;
}
.ffh-quick-grid {
    overflow: hidden;
    grid-template-columns: repeat(5, 1fr);
    border: 1px solid rgba(16,27,36,.08);
    border-radius: 24px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 20px 55px rgba(16,27,36,.055);
}
.ffh-quick-item {
    min-height: 96px;
    justify-content: flex-start;
    padding: 0 22px;
    border: 0;
    border-right: 1px solid rgba(16,27,36,.07);
}
.ffh-quick-item:last-child { border-right: 0; }
.ffh-quick-item:hover { background: #f9fbfa; }
.ffh-quick-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 13px;
    background: #e7f1ed !important;
    color: #216653 !important;
}
.ffh-quick-title { color: #17262c; font-size: 12px; }
.ffh-quick-subtitle { margin-top: 4px; color: #839095; font-size: 10px; }

/* --- Global premium sections --- */
.ffh-featured-section,
.ffh-news-section,
.ffh-programs {
    position: relative;
    padding: 108px 0;
    background: #f4f8f6;
    border: 0;
}
.ffh-featured-section { padding-top: 82px; }
.ffh-news-section { background: #edf3f0; }
.ffh-programs { padding-bottom: 135px; }
.ffh-section-heading { margin-bottom: 34px; align-items: end; }
.ffh-section-eyebrow {
    margin-bottom: 10px;
    color: #216653;
    font-size: 10px;
    letter-spacing: .18em;
}
.ffh-section-title {
    color: #101b24;
    font-size: clamp(34px, 4vw, 58px);
    line-height: .98;
    font-weight: 650;
    letter-spacing: -.05em;
}
.ffh-section-link {
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid rgba(16,27,36,.09);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: #216653 !important;
    font-size: 10px;
}

/* --- Featured cards --- */
.ffh-featured-grid { gap: 18px; }
.ffh-featured-card {
    overflow: hidden;
    border: 1px solid rgba(16,27,36,.08) !important;
    border-radius: 25px !important;
    background: rgba(255,255,255,.88) !important;
    box-shadow: 0 18px 50px rgba(16,27,36,.045);
    transition: transform .28s ease, box-shadow .28s ease;
}
.ffh-featured-card:hover { transform: translateY(-5px); box-shadow: 0 28px 65px rgba(16,27,36,.075); }
.ffh-featured-image { min-height: 220px !important; }
.ffh-featured-body { padding: 24px !important; }
.ffh-featured-title { color: #101b24 !important; font-size: 18px !important; letter-spacing: -.025em; }
.ffh-featured-text { color: #718085 !important; font-size: 12px !important; line-height: 1.65 !important; }
.ffh-featured-link { color: #216653 !important; font-size: 11px !important; font-weight: 800 !important; }
.ffh-featured-placeholder { background: linear-gradient(135deg, #e4efea, #f7faf9) !important; color: #216653 !important; }

/* --- Stats as a light biotech panel, no alien purple --- */
.ffh-stats {
    margin: 0;
    padding: 24px 0 80px;
    color: #101b24;
    background: #f4f8f6;
}
.ffh-stats-grid {
    min-height: 170px;
    overflow: hidden;
    border: 1px solid rgba(16,27,36,.08);
    border-radius: 28px;
    background: #101b24;
    box-shadow: 0 24px 65px rgba(16,27,36,.10);
}
.ffh-stat {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255,255,255,.10);
}
.ffh-stat:last-child { border-right: 0; }
.ffh-stat-number { color: #fff; font-size: 43px; font-weight: 650; }
.ffh-stat-label { margin-top: 9px; color: rgba(255,255,255,.55); font-size: 11px; }

/* --- News --- */
.ffh-news-layout { gap: 22px; }
.ffh-news-main,
.ffh-news-promo {
    border-radius: 25px;
}
.ffh-news-main .ffv-news-card {
    min-height: 118px;
    padding: 18px 20px;
    border-radius: 18px !important;
    border-color: rgba(16,27,36,.08) !important;
    background: rgba(255,255,255,.88) !important;
}
.ffh-news-main .ffv-news-title { color: #17262c !important; font-size: 13px !important; line-height: 1.35 !important; }
.ffh-news-main .ffv-news-meta { color: #216653 !important; font-size: 9px !important; }
.ffh-news-promo {
    overflow: hidden;
    border: 1px solid rgba(16,27,36,.08);
    background: rgba(255,255,255,.88);
    box-shadow: 0 18px 50px rgba(16,27,36,.045);
}
.ffh-news-promo-image { min-height: 220px; }
.ffh-news-promo-body { padding: 23px 24px 26px; }
.ffh-news-promo-title { color: #101b24; font-size: 18px; letter-spacing: -.02em; }
.ffh-news-promo-text { color: #738287; font-size: 11px; line-height: 1.7; }
.ffh-news-promo-link { color: #216653 !important; font-size: 10px; }

/* --- Programs --- */
.ffh-program-grid { gap: 18px; }
.ffh-program-card {
    min-height: 210px;
    padding: 24px;
    border: 1px solid rgba(16,27,36,.08);
    border-radius: 25px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 18px 50px rgba(16,27,36,.04);
}
.ffh-program-card:hover { transform: translateY(-5px); box-shadow: 0 28px 65px rgba(16,27,36,.07); }
.ffh-program-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #e7f1ed !important;
    color: #216653 !important;
}
.ffh-program-type { margin-top: 24px; color: #216653 !important; font-size: 9px; }
.ffh-program-name { margin-top: 9px; color: #101b24; font-size: 15px; line-height: 1.3; }
.ffh-program-meta { margin-top: 8px; color: #879398; font-size: 10px; }

@media (max-width: 1120px) {
    .ffh-cinematic-content { width: min(calc(100% - 56px), 1320px); padding-top: 78px; }
    .ffh-cinematic-copy { width: min(650px, 66%); }
    .ffh-cinematic-float--science { right: 4%; }
    .ffh-cinematic-float--identity { right: 9%; }
    .ffh-cinematic-footer { grid-template-columns: repeat(4, 1fr); }
    .ffh-cinematic-scroll { display: none; }
}

@media (max-width: 900px) {
    .ffh-cinematic-hero { padding: 16px 14px 0; }
    .ffh-cinematic-frame { min-height: 760px; border-radius: 26px; }
    .ffh-cinematic-overlay {
        background:
            linear-gradient(180deg, rgba(247,250,249,.90) 0%, rgba(247,250,249,.78) 48%, rgba(247,250,249,.25) 76%, rgba(16,27,36,.10) 100%);
    }
    .ffh-cinematic-content { width: calc(100% - 42px); padding: 58px 0 104px; }
    .ffh-cinematic-copy { width: 100%; max-width: 650px; }
    .ffh-cinematic-title { max-width: 640px; font-size: clamp(48px, 9vw, 70px); }
    .ffh-cinematic-float--history { top: auto; right: 22px; bottom: 178px; }
    .ffh-cinematic-float--science { display: none; }
    .ffh-cinematic-float--identity { left: 22px; right: auto; bottom: 178px; }
    .ffh-cinematic-footer { bottom: 22px; grid-template-columns: repeat(2, 1fr); }
    .ffh-cinematic-footer-item { min-height: 54px; }
    .ffh-cinematic-footer-item:nth-child(2) { border-right: 0; }
    .ffh-cinematic-footer-item:nth-child(-n+2) { border-bottom: 1px solid rgba(16,27,36,.07); }
    .ffh-quick-grid { grid-template-columns: repeat(2, 1fr); }
    .ffh-quick-item { min-height: 84px; border-bottom: 1px solid rgba(16,27,36,.07); }
    .ffh-quick-item:nth-child(even) { border-right: 0; }
    .ffh-quick-item:last-child { grid-column: 1 / -1; border-bottom: 0; }
    .ffh-featured-section,
    .ffh-news-section,
    .ffh-programs { padding: 78px 0; }
    .ffh-program-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 600px) {
    .ffh-cinematic-frame { min-height: 735px; border-radius: 22px; }
    .ffh-cinematic-content { width: calc(100% - 30px); padding-top: 42px; }
    .ffh-cinematic-kicker { font-size: 9px; }
    .ffh-cinematic-title { font-size: clamp(42px, 13vw, 58px); line-height: .92; }
    .ffh-cinematic-text { max-width: 92%; margin-top: 20px; font-size: 15px; line-height: 1.62; }
    .ffh-cinematic-actions { margin-top: 22px; }
    .ffh-cinematic-button { min-height: 46px; padding: 0 15px; }
    .ffh-cinematic-statement { max-width: 90%; font-size: 10px; }
    .ffh-cinematic-float--history { right: 15px; bottom: 160px; min-width: 150px; padding: 11px 12px; }
    .ffh-cinematic-float--history strong { font-size: 27px; }
    .ffh-cinematic-float--identity { display: none; }
    .ffh-cinematic-footer { left: 0; right: 0; bottom: 15px; border-radius: 17px; }
    .ffh-cinematic-footer-item { padding: 0 12px; }
    .ffh-cinematic-footer-item strong { font-size: 10px; }
    .ffh-science-intro h1 { font-size: clamp(48px, 14vw, 66px); }
    .ffh-quick-links { padding-bottom: 28px; }
    .ffh-quick-grid { grid-template-columns: 1fr; border-radius: 20px; }
    .ffh-quick-item,
    .ffh-quick-item:nth-child(even) { border-right: 0; border-bottom: 1px solid rgba(16,27,36,.07); }
    .ffh-quick-item:last-child { grid-column: auto; border-bottom: 0; }
    .ffh-section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
    .ffh-section-title { font-size: 38px; }
    .ffh-featured-grid,
    .ffh-program-grid { grid-template-columns: 1fr; }
    .ffh-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .ffh-stat { min-height: 130px; border-bottom: 1px solid rgba(255,255,255,.10); }
    .ffh-stat:nth-child(2) { border-right: 0; }
    .ffh-stat:nth-child(n+3) { border-bottom: 0; }
    .ffh-stat-number { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
    .ffh-cinematic-scroll i::after { animation: none; }
    .ffh-cinematic-button,
    .ffh-featured-card,
    .ffh-program-card { transition: none !important; }
}

/* ==========================================================
   V1.6.1 — FULL BLEED VIDEO + HEXAGON MOLECULAR TRANSITION
   ========================================================== */
.ffh-cinematic-hero {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 !important;
    background: #f4f8f6;
    overflow: hidden;
}

.ffh-cinematic-frame {
    width: 100% !important;
    max-width: none !important;
    min-height: clamp(720px, 86vh, 940px);
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.ffh-cinematic-content {
    width: min(calc(100% - 80px), 1440px);
    padding-top: clamp(88px, 10vh, 132px);
    padding-bottom: 168px;
}

/* The hero stays visually open to the viewport edges. */
.ffh-cinematic-video,
.ffh-cinematic-media,
.ffh-cinematic-overlay,
.ffh-cinematic-glow,
.ffh-cinematic-placeholder {
    border-radius: 0 !important;
}

/* Hexagonal dissolution between the cinematic video and the molecule scene. */
.ffh-hex-transition {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: -1px;
    height: clamp(145px, 18vw, 220px);
    overflow: hidden;
    pointer-events: none;
}

.ffh-hex-transition__pattern,
.ffh-hex-transition__fade {
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
}

.ffh-hex-transition__pattern {
    inset: -22px -18px -8px;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='30' viewBox='0 0 34 30'%3E%3Cpath d='M8.5 1 L25.5 1 L34 15 L25.5 29 L8.5 29 L0 15 Z' fill='%23f4f8f6' fill-opacity='.98' stroke='%23216653' stroke-opacity='.12' stroke-width='.65'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='30' viewBox='0 0 34 30'%3E%3Cpath d='M8.5 1 L25.5 1 L34 15 L25.5 29 L8.5 29 L0 15 Z' fill='%23f4f8f6' fill-opacity='.98' stroke='%23216653' stroke-opacity='.08' stroke-width='.65'/%3E%3C/svg%3E");
    background-size: 34px 30px, 34px 30px;
    background-position: 0 0, 17px 15px;
    background-repeat: repeat;
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,.05) 7%,
        rgba(0,0,0,.22) 22%,
        rgba(0,0,0,.50) 43%,
        rgba(0,0,0,.82) 68%,
        #000 90%,
        #000 100%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,.05) 7%,
        rgba(0,0,0,.22) 22%,
        rgba(0,0,0,.50) 43%,
        rgba(0,0,0,.82) 68%,
        #000 90%,
        #000 100%
    );
    filter: drop-shadow(0 -5px 12px rgba(16,37,43,.025));
}

.ffh-hex-transition__fade {
    top: auto;
    height: 54px;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(244,248,246,0), #f4f8f6 72%);
}

/* Give the first molecule frame a completely seamless continuation. */
.ffh-science-after-hero {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f4f8f6 !important;
}

.ffh-science-after-hero .ffh-science-sticky::before {
    display: none !important;
}

@media (max-width: 1000px) {
    .ffh-cinematic-hero { padding: 0 !important; }
    .ffh-cinematic-frame {
        min-height: 790px;
        border-radius: 0 !important;
    }
    .ffh-cinematic-content {
        width: calc(100% - 46px);
        padding-top: 66px;
        padding-bottom: 154px;
    }
    .ffh-hex-transition { height: 165px; }
}

@media (max-width: 600px) {
    .ffh-cinematic-frame {
        min-height: 760px;
        border-radius: 0 !important;
    }
    .ffh-cinematic-content {
        width: calc(100% - 30px);
        padding-top: 42px;
        padding-bottom: 142px;
    }
    .ffh-hex-transition {
        height: 135px;
    }
    .ffh-hex-transition__pattern {
        background-size: 26px 23px, 26px 23px;
        background-position: 0 0, 13px 11.5px;
    }
}

/* ==========================================================
   V1.7.0 HIGH-TECH HOMEPAGE SYSTEM
   ========================================================== */
:root {
    --ffh-tech-ink: #09141a;
    --ffh-tech-surface: #f4f8f7;
    --ffh-tech-surface-2: #eef5f3;
    --ffh-tech-line: rgba(18, 49, 58, .10);
    --ffh-tech-glass: rgba(255,255,255,.72);
    --ffh-tech-glow: rgba(58, 159, 117, .18);
    --ffh-tech-green: #2f7d57;
    --ffh-tech-blue: #77b7ff;
}

.ffh-quick-links,
.ffh-featured-section,
.ffh-stats,
.ffh-video-band,
.ffh-news-section,
.ffh-programs {
    position: relative;
    overflow: hidden;
}

.ffh-quick-links::before,
.ffh-featured-section::before,
.ffh-stats::before,
.ffh-video-band::before,
.ffh-news-section::before,
.ffh-programs::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(14,31,36,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14,31,36,.03) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: .5;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.ffh-quick-links {
    margin-top: -22px;
    padding: 18px 0 36px;
    background: linear-gradient(180deg, rgba(244,248,247,.92) 0%, rgba(244,248,247,1) 100%);
}
.ffh-quick-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 16px;
}
.ffh-quick-item {
    min-height: 124px;
    padding: 20px 20px 18px;
    border-radius: 24px;
    border: 1px solid var(--ffh-tech-line);
    background: linear-gradient(180deg, rgba(255,255,255,.82) 0%, rgba(247,250,249,.96) 100%);
    box-shadow: 0 16px 40px rgba(9,20,26,.05);
    backdrop-filter: blur(14px);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.ffh-quick-item:hover {
    transform: translateY(-6px);
    border-color: rgba(47,125,87,.28);
    box-shadow: 0 18px 46px rgba(9,20,26,.09);
}
.ffh-quick-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(47,125,87,.14), rgba(119,183,255,.13));
    color: var(--ffh-tech-green);
    font-size: 18px;
}
.ffh-quick-title { font-size: 18px; letter-spacing: -.02em; color: #10252b; }
.ffh-quick-subtitle { margin-top: 6px; color: #667b81; font-size: 13px; }

.ffh-featured-section,
.ffh-news-section,
.ffh-programs {
    background:
        radial-gradient(circle at 92% 10%, rgba(47,125,87,.10), transparent 24%),
        radial-gradient(circle at 8% 84%, rgba(119,183,255,.08), transparent 20%),
        var(--ffh-tech-surface);
    padding: 96px 0;
}
.ffh-section-heading {
    position: relative;
    z-index: 2;
    margin-bottom: 34px;
}
.ffh-section-title {
    color: #10252b;
    font-size: clamp(32px, 4vw, 52px);
    line-height: .98;
    letter-spacing: -.05em;
    font-weight: 700;
}
.ffh-section-eyebrow {
    margin-bottom: 10px;
    color: var(--ffh-tech-green);
    letter-spacing: .16em;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}
.ffh-section-link {
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid var(--ffh-tech-line);
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(9,20,26,.04);
}

.ffh-featured-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(12, minmax(0,1fr));
    gap: 22px;
}
.ffh-featured-card {
    grid-column: span 4;
    min-height: 360px;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(16,37,43,.08);
    background: linear-gradient(180deg, rgba(255,255,255,.84) 0%, rgba(245,249,248,.96) 100%);
    box-shadow: 0 22px 56px rgba(9,20,26,.06);
    display: flex;
    flex-direction: column;
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}
.ffh-featured-card:nth-child(1) { grid-column: span 7; min-height: 430px; }
.ffh-featured-card:nth-child(2) { grid-column: span 5; min-height: 430px; }
.ffh-featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 68px rgba(9,20,26,.10);
    border-color: rgba(47,125,87,.24);
}
.ffh-featured-card:nth-child(1) {
    background: linear-gradient(135deg, #10252b 0%, #1d4a43 100%);
    color: #fff;
}
.ffh-featured-card:nth-child(1) .ffh-featured-body { padding-top: 28px; }
.ffh-featured-card:nth-child(1) .ffh-featured-title,
.ffh-featured-card:nth-child(1) .ffh-featured-link { color: #fff; }
.ffh-featured-card:nth-child(1) .ffh-featured-text { color: rgba(255,255,255,.72); }
.ffh-featured-image {
    min-height: 170px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.ffh-featured-card:nth-child(1) .ffh-featured-image { min-height: 205px; }
.ffh-featured-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,22,26,.06), rgba(10,22,26,.24));
}
.ffh-featured-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, rgba(119,183,255,.22), transparent 0 24%), linear-gradient(135deg, #163137, #29564b);
    color: rgba(255,255,255,.72);
    font-size: 42px;
}
.ffh-featured-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ffh-featured-title { font-size: 24px; font-weight: 700; letter-spacing: -.03em; color: #10252b; }
.ffh-featured-text { color: #687a7f; line-height: 1.7; font-size: 15px; }
.ffh-featured-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ffh-tech-green);
    font-weight: 700;
}

.ffh-stats {
    background: linear-gradient(180deg, #10252b 0%, #0f1e24 100%);
    padding: 54px 0;
}
.ffh-stats::before { opacity: .22; }
.ffh-stats-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 0;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
    overflow: hidden;
    box-shadow: 0 24px 56px rgba(0,0,0,.18);
}
.ffh-stat {
    min-height: 176px;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-right: 1px solid rgba(255,255,255,.07);
    position: relative;
}
.ffh-stat:last-child { border-right: 0; }
.ffh-stat::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 28px;
    width: 56px;
    height: 2px;
    background: linear-gradient(90deg, rgba(119,183,255,.8), rgba(47,125,87,.8));
}
.ffh-stat-number {
    color: #fff;
    font-size: clamp(34px, 4vw, 54px);
    line-height: .95;
    letter-spacing: -.05em;
    font-weight: 700;
}
.ffh-stat-label {
    margin-top: 12px;
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.6;
}

.ffh-video-band {
    background: var(--ffh-tech-surface);
    padding: 96px 0 40px;
}
.ffh-video-band-card {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0,.92fr) minmax(360px,1.08fr);
    gap: 24px;
    align-items: stretch;
}
.ffh-video-band-copy,
.ffh-video-band-media {
    border-radius: 34px;
    border: 1px solid rgba(16,37,43,.08);
    overflow: hidden;
}
.ffh-video-band-copy {
    background: linear-gradient(135deg, #10252b 0%, #18343a 100%);
    padding: 42px;
    color: #fff;
    box-shadow: 0 24px 60px rgba(9,20,26,.12);
}
.ffh-video-band-copy .ffh-section-eyebrow { color: #9dd7c1; }
.ffh-video-band-title {
    margin: 0;
    font-size: clamp(30px, 3.8vw, 48px);
    line-height: 1.02;
    letter-spacing: -.05em;
}
.ffh-video-band-text {
    margin: 18px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 16px;
    line-height: 1.8;
}
.ffh-video-band-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 28px;
}
.ffh-video-band-tags span {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: #e8f4ee;
    font-size: 12px;
    font-weight: 700;
}
.ffh-video-band-media {
    position: relative;
    min-height: 440px;
    background: #10252b;
    box-shadow: 0 24px 60px rgba(9,20,26,.12);
}
.ffh-video-band-bg,
.ffh-video-band-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ffh-video-band-fallback {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 24%, rgba(119,183,255,.35), transparent 0 18%), linear-gradient(135deg, #0f2025 0%, #2b574a 100%);
}
.ffh-video-band-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,12,15,.08) 0%, rgba(5,12,15,.32) 100%);
}
.ffh-video-band-badge {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(255,255,255,.84);
    border: 1px solid rgba(16,37,43,.08);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px rgba(9,20,26,.10);
}
.ffh-video-band-badge strong {
    display: block;
    color: #10252b;
    font-size: 16px;
    font-weight: 800;
}
.ffh-video-band-badge span {
    display: block;
    margin-top: 4px;
    color: #61777d;
    font-size: 12px;
    line-height: 1.55;
}

.ffh-news-section { padding-top: 58px; }
.ffh-news-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 22px;
}
.ffh-news-main,
.ffh-news-promo {
    border-radius: 30px;
    border: 1px solid rgba(16,37,43,.08);
    background: linear-gradient(180deg, rgba(255,255,255,.84) 0%, rgba(246,249,248,.98) 100%);
    box-shadow: 0 22px 56px rgba(9,20,26,.05);
    overflow: hidden;
}
.ffh-news-main { padding: 28px; }
.ffh-news-types { display: grid; gap: 18px; }
.ffh-news-type-block {
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(16,37,43,.06);
}
.ffh-news-type-title {
    margin-bottom: 14px;
    color: #10252b;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.02em;
}
.ffh-news-missing {
    padding: 20px;
    border-radius: 18px;
    background: rgba(47,125,87,.08);
}
.ffh-news-promo {
    display: flex;
    flex-direction: column;
}
.ffh-news-promo-image {
    min-height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.ffh-news-promo-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9,20,26,.12) 0%, rgba(9,20,26,.38) 100%);
}
.ffh-news-promo-image > span {
    position: absolute;
    left: 18px;
    top: 18px;
    z-index: 2;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.86);
    color: var(--ffh-tech-green);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .14em;
}
.ffh-news-promo-body { padding: 26px; }
.ffh-news-promo-title {
    font-size: 28px;
    line-height: 1.08;
    letter-spacing: -.04em;
    font-weight: 700;
    color: #10252b;
}
.ffh-news-promo-text { margin-top: 12px; color: #677b80; line-height: 1.75; }
.ffh-news-promo-link { margin-top: 18px; display: inline-flex; gap: 8px; color: var(--ffh-tech-green); font-weight: 700; }

.ffh-programs {
    padding-top: 82px;
    padding-bottom: 132px;
    background:
        radial-gradient(circle at 90% 10%, rgba(47,125,87,.10), transparent 22%),
        radial-gradient(circle at 12% 90%, rgba(119,183,255,.08), transparent 24%),
        linear-gradient(180deg, #eef5f3 0%, #f6faf9 100%);
}
.ffh-program-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 22px;
}
.ffh-program-card {
    min-height: 255px;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(16,37,43,.08);
    background: rgba(255,255,255,.84);
    box-shadow: 0 18px 48px rgba(9,20,26,.05);
    backdrop-filter: blur(12px);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.ffh-program-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 26px 58px rgba(9,20,26,.10);
    border-color: rgba(47,125,87,.20);
}
.ffh-program-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(47,125,87,.16), rgba(119,183,255,.16));
    color: var(--ffh-tech-green);
    margin-bottom: 22px;
}
.ffh-program-type { color: var(--ffh-tech-green); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ffh-program-name {
    display: block;
    margin-top: 12px;
    color: #10252b;
    font-size: 24px;
    line-height: 1.12;
    letter-spacing: -.03em;
    font-weight: 700;
}
.ffh-program-meta { display: block; margin-top: 14px; color: #667b80; line-height: 1.7; }
.ffh-program-green { background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(233,248,241,.92)); }
.ffh-program-blue { background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(235,245,255,.92)); }
.ffh-program-purple { background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(244,238,255,.92)); }
.ffh-program-cyan { background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(233,250,251,.92)); }

@media (max-width: 1100px) {
    .ffh-quick-grid,
    .ffh-program-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .ffh-featured-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .ffh-featured-card,
    .ffh-featured-card:nth-child(1),
    .ffh-featured-card:nth-child(2) { grid-column: span 1; min-height: 360px; }
    .ffh-stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .ffh-stat:nth-child(2) { border-right: 0; }
    .ffh-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.07); }
    .ffh-video-band-card,
    .ffh-news-layout { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .ffh-quick-links { padding: 10px 0 26px; }
    .ffh-quick-grid,
    .ffh-program-grid { grid-template-columns: 1fr; gap: 14px; }
    .ffh-featured-grid { grid-template-columns: 1fr; gap: 16px; }
    .ffh-featured-card,
    .ffh-featured-card:nth-child(1),
    .ffh-featured-card:nth-child(2) { grid-column: span 1; min-height: 0; }
    .ffh-section-title { font-size: 34px; }
    .ffh-featured-section,
    .ffh-news-section,
    .ffh-programs,
    .ffh-video-band { padding: 68px 0; }
    .ffh-stats { padding: 34px 0; }
    .ffh-stats-grid { grid-template-columns: 1fr; border-radius: 22px; }
    .ffh-stat { min-height: 128px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
    .ffh-stat:last-child { border-bottom: 0; }
    .ffh-video-band-copy { padding: 28px 22px; border-radius: 24px; }
    .ffh-video-band-media { min-height: 320px; border-radius: 24px; }
    .ffh-news-main, .ffh-news-promo, .ffh-featured-card, .ffh-program-card { border-radius: 22px; }
    .ffh-news-main { padding: 20px; }
}

/* ==========================================================
   V1.7.1 — WHITE HIGH-TECH ONLY
   No dark section backgrounds. White / glass / green accents.
   ========================================================== */
:root {
    --ffh-white-tech-bg: #ffffff;
    --ffh-white-tech-soft: #f7fbf9;
    --ffh-white-tech-soft-2: #f1f8f5;
    --ffh-white-tech-green: #2f7d57;
    --ffh-white-tech-green-2: #59a786;
    --ffh-white-tech-blue: #89c5ff;
    --ffh-white-tech-ink: #15292e;
    --ffh-white-tech-muted: #698085;
    --ffh-white-tech-line: rgba(28, 73, 66, .10);
}

/* Main flow becomes one continuous white technical canvas. */
.ffh-quick-links,
.ffh-featured-section,
.ffh-stats,
.ffh-video-band,
.ffh-news-section,
.ffh-programs {
    background:
        radial-gradient(circle at 88% 10%, rgba(89,167,134,.08), transparent 24%),
        radial-gradient(circle at 10% 82%, rgba(137,197,255,.07), transparent 22%),
        #ffffff !important;
}

.ffh-quick-links::before,
.ffh-featured-section::before,
.ffh-stats::before,
.ffh-video-band::before,
.ffh-news-section::before,
.ffh-programs::before {
    background-image:
        linear-gradient(rgba(47,125,87,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47,125,87,.025) 1px, transparent 1px) !important;
    opacity: .75 !important;
}

/* Hero: still video-led, but all UI over it is light and green, never black. */
.ffh-cinematic-button.is-primary {
    color: #ffffff !important;
    background: linear-gradient(135deg, #2f7d57, #4b9b79) !important;
    box-shadow: 0 14px 32px rgba(47,125,87,.20) !important;
}
.ffh-cinematic-button.is-primary:hover {
    background: linear-gradient(135deg, #286d4d, #438d6f) !important;
}
.ffh-cinematic-footer,
.ffh-cinematic-float,
.ffh-cinematic-button.is-glass {
    background: rgba(255,255,255,.82) !important;
    border-color: rgba(255,255,255,.88) !important;
    box-shadow: 0 18px 46px rgba(48,93,79,.08) !important;
}

/* Featured cards: remove the old dark lead card. */
.ffh-featured-card,
.ffh-featured-card:nth-child(1),
.ffh-featured-card:nth-child(2) {
    color: var(--ffh-white-tech-ink) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(247,251,249,.98) 100%) !important;
    border-color: var(--ffh-white-tech-line) !important;
    box-shadow: 0 18px 52px rgba(39,83,70,.06) !important;
}
.ffh-featured-card:nth-child(1) .ffh-featured-title,
.ffh-featured-card:nth-child(1) .ffh-featured-link,
.ffh-featured-card .ffh-featured-title {
    color: var(--ffh-white-tech-ink) !important;
}
.ffh-featured-card:nth-child(1) .ffh-featured-text,
.ffh-featured-card .ffh-featured-text {
    color: var(--ffh-white-tech-muted) !important;
}
.ffh-featured-card .ffh-featured-link {
    color: var(--ffh-white-tech-green) !important;
}
.ffh-featured-placeholder {
    background:
        radial-gradient(circle at 28% 30%, rgba(137,197,255,.20), transparent 0 22%),
        radial-gradient(circle at 72% 64%, rgba(89,167,134,.18), transparent 0 30%),
        linear-gradient(135deg, #f8fcfa, #edf7f3) !important;
    color: var(--ffh-white-tech-green) !important;
}
.ffh-featured-image::after {
    background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.12)) !important;
}

/* Stats: four luminous white data modules instead of a dark strip. */
.ffh-stats {
    padding: 62px 0 !important;
}
.ffh-stats-grid {
    gap: 16px !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.ffh-stat {
    min-height: 178px !important;
    padding: 28px !important;
    border: 1px solid var(--ffh-white-tech-line) !important;
    border-radius: 26px !important;
    background:
        radial-gradient(circle at 88% 14%, rgba(137,197,255,.10), transparent 27%),
        linear-gradient(180deg, rgba(255,255,255,.97), rgba(247,251,249,.98)) !important;
    box-shadow: 0 18px 48px rgba(39,83,70,.055) !important;
}
.ffh-stat::before {
    width: 48px !important;
    height: 3px !important;
    border-radius: 99px;
    background: linear-gradient(90deg, #89c5ff, #59a786) !important;
}
.ffh-stat-number {
    color: var(--ffh-white-tech-green) !important;
}
.ffh-stat-label {
    color: var(--ffh-white-tech-muted) !important;
}

/* SECOND VIDEO — highly visible, white framed, large video surface. */
.ffh-video-band {
    padding: 88px 0 !important;
}
.ffh-video-band-card {
    grid-template-columns: minmax(300px,.72fr) minmax(480px,1.28fr) !important;
    gap: 20px !important;
}
.ffh-video-band-copy,
.ffh-video-band-media {
    border-radius: 30px !important;
    border: 1px solid var(--ffh-white-tech-line) !important;
    box-shadow: 0 20px 58px rgba(39,83,70,.065) !important;
}
.ffh-video-band-copy {
    color: var(--ffh-white-tech-ink) !important;
    background:
        radial-gradient(circle at 18% 12%, rgba(137,197,255,.09), transparent 25%),
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,251,249,.98)) !important;
    padding: 42px !important;
}
.ffh-video-band-copy .ffh-section-eyebrow {
    color: var(--ffh-white-tech-green) !important;
}
.ffh-video-band-title {
    color: var(--ffh-white-tech-ink) !important;
}
.ffh-video-band-text {
    color: var(--ffh-white-tech-muted) !important;
}
.ffh-video-band-tags span {
    color: #456a5e !important;
    background: rgba(47,125,87,.055) !important;
    border-color: rgba(47,125,87,.11) !important;
}
.ffh-video-band-copy .ffh-button,
.ffh-video-band-copy .ffh-button-primary {
    color: #ffffff !important;
    background: linear-gradient(135deg, #2f7d57, #50a07d) !important;
    border-color: transparent !important;
    box-shadow: 0 12px 28px rgba(47,125,87,.18) !important;
}
.ffh-video-band-media {
    min-height: 520px !important;
    background: #f3f9f6 !important;
}
.ffh-video-band-bg,
.ffh-video-band-image {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1 !important;
}
.ffh-video-band-overlay {
    z-index: 2 !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,.09) 58%, rgba(247,251,249,.28) 100%) !important;
}
.ffh-video-band-badge {
    z-index: 3 !important;
    background: rgba(255,255,255,.88) !important;
    border-color: rgba(255,255,255,.94) !important;
    box-shadow: 0 18px 44px rgba(39,83,70,.10) !important;
}
.ffh-video-band-badge strong {
    color: var(--ffh-white-tech-ink) !important;
}
.ffh-video-band-badge span {
    color: var(--ffh-white-tech-muted) !important;
}
.ffh-video-band-fallback {
    background:
        radial-gradient(circle at 25% 28%, rgba(137,197,255,.18), transparent 0 20%),
        radial-gradient(circle at 72% 64%, rgba(89,167,134,.18), transparent 0 28%),
        linear-gradient(135deg, #fbfefd 0%, #edf7f3 100%) !important;
}

/* News + programs remain glassy white. */
.ffh-news-main,
.ffh-news-promo,
.ffh-news-type-block,
.ffh-program-card {
    background: rgba(255,255,255,.92) !important;
    border-color: var(--ffh-white-tech-line) !important;
    box-shadow: 0 18px 50px rgba(39,83,70,.05) !important;
}
.ffh-news-promo-image::after {
    background: linear-gradient(180deg, rgba(255,255,255,.01), rgba(255,255,255,.12)) !important;
}
.ffh-program-green,
.ffh-program-blue,
.ffh-program-purple,
.ffh-program-cyan {
    background:
        radial-gradient(circle at 86% 12%, rgba(137,197,255,.08), transparent 25%),
        linear-gradient(180deg, #ffffff, #f7fbf9) !important;
}
.ffh-program-icon,
.ffh-quick-icon {
    background: linear-gradient(135deg, rgba(137,197,255,.12), rgba(89,167,134,.13)) !important;
}

/* A subtle technical separator instead of any dark divider. */
.ffh-featured-section + .ffh-stats,
.ffh-stats + .ffh-video-band,
.ffh-video-band + .ffh-news-section,
.ffh-news-section + .ffh-programs {
    border-top: 1px solid rgba(47,125,87,.055);
}

@media (max-width: 1100px) {
    .ffh-video-band-card {
        grid-template-columns: 1fr !important;
    }
    .ffh-video-band-media {
        min-height: 460px !important;
    }
}

@media (max-width: 767px) {
    .ffh-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .ffh-stat {
        min-height: 138px !important;
    }
    .ffh-video-band {
        padding: 64px 0 !important;
    }
    .ffh-video-band-copy {
        padding: 28px 22px !important;
    }
    .ffh-video-band-media {
        min-height: 340px !important;
    }
}

/* ==========================================================
   V1.7.2 — SHOWCASE / FULLBLEED SECOND VIDEO
   ========================================================== */

/* First hero: the three floating info cards were removed from markup.
   Keep the composition cleaner and give the core copy more breathing room. */
.ffh-cinematic-copy {
    max-width: 760px;
}
.ffh-cinematic-footer {
    background: rgba(255,255,255,.82) !important;
    border: 1px solid rgba(255,255,255,.88) !important;
    box-shadow: 0 16px 44px rgba(47,125,87,.08) !important;
    backdrop-filter: blur(16px);
}

/* Second video now behaves like the main hero: true edge-to-edge / full viewport width. */
.ffh-video-band.ffh-video-band--fullbleed {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 !important;
    background: #fff !important;
    border: 0 !important;
    overflow: hidden !important;
}
.ffh-video-band--fullbleed::before {
    display: none !important;
}
.ffh-video-band--fullbleed .ffh-video-band-media {
    position: relative;
    width: 100%;
    min-height: clamp(600px, 76vh, 860px) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #f6fbf8 !important;
    overflow: hidden;
}
.ffh-video-band--fullbleed .ffh-video-band-bg,
.ffh-video-band--fullbleed .ffh-video-band-image,
.ffh-video-band--fullbleed .ffh-video-band-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
}
.ffh-video-band--fullbleed .ffh-video-band-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.82) 27%, rgba(255,255,255,.38) 52%, rgba(255,255,255,.08) 76%, rgba(255,255,255,.02) 100%),
        linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.10) 72%, rgba(255,255,255,.42) 100%) !important;
}
.ffh-video-band--fullbleed .ffh-video-band-inner {
    position: relative;
    z-index: 3;
    min-height: clamp(600px, 76vh, 860px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.ffh-video-band--fullbleed .ffh-video-band-copy {
    width: min(620px, 54vw);
    margin: 0;
    padding: 34px 36px !important;
    border-radius: 28px !important;
    border: 1px solid rgba(255,255,255,.88) !important;
    background: rgba(255,255,255,.78) !important;
    box-shadow: 0 22px 60px rgba(47,125,87,.08) !important;
    backdrop-filter: blur(18px) saturate(130%);
}
.ffh-video-band--fullbleed .ffh-video-band-title {
    max-width: 560px;
    color: #142a2f !important;
    font-size: clamp(40px, 5.1vw, 72px) !important;
    line-height: .96 !important;
    letter-spacing: -.055em !important;
}
.ffh-video-band--fullbleed .ffh-video-band-text {
    max-width: 560px;
    color: #5f777c !important;
    font-size: 17px !important;
    line-height: 1.72 !important;
}
.ffh-video-band--fullbleed .ffh-video-band-tags {
    margin: 24px 0 26px !important;
}
.ffh-video-band--fullbleed .ffh-video-band-tags span {
    background: rgba(255,255,255,.72) !important;
    border: 1px solid rgba(47,125,87,.12) !important;
    color: #456d5f !important;
}
.ffh-video-band--fullbleed .ffh-video-band-badge {
    position: absolute;
    right: 28px;
    bottom: 28px;
    left: auto !important;
    width: min(330px, 34vw);
    padding: 16px 18px !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,.82) !important;
    border: 1px solid rgba(255,255,255,.90) !important;
    box-shadow: 0 18px 46px rgba(47,125,87,.08) !important;
    backdrop-filter: blur(16px);
}

/* A white-tech scan line + micro grid over the second video. */
.ffh-video-band--fullbleed .ffh-video-band-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to right, rgba(0,0,0,.18), rgba(0,0,0,.45), transparent 88%);
}

/* Final-showcase content cards: less template-like, more white laboratory UI. */
.ffh-quick-item,
.ffh-featured-card,
.ffh-stat,
.ffh-news-main,
.ffh-news-promo,
.ffh-news-type-block,
.ffh-program-card {
    border-color: rgba(47,125,87,.10) !important;
    background-color: rgba(255,255,255,.94) !important;
}
.ffh-quick-item:hover,
.ffh-featured-card:hover,
.ffh-program-card:hover {
    border-color: rgba(47,125,87,.24) !important;
    box-shadow: 0 24px 64px rgba(47,125,87,.085) !important;
}

@media (max-width: 900px) {
    .ffh-video-band--fullbleed .ffh-video-band-overlay {
        background:
            linear-gradient(180deg, rgba(255,255,255,.86) 0%, rgba(255,255,255,.70) 48%, rgba(255,255,255,.22) 100%) !important;
    }
    .ffh-video-band--fullbleed .ffh-video-band-inner {
        align-items: flex-end;
        padding-top: 80px;
        padding-bottom: 42px;
    }
    .ffh-video-band--fullbleed .ffh-video-band-copy {
        width: 100%;
        padding: 26px 24px !important;
    }
    .ffh-video-band--fullbleed .ffh-video-band-badge {
        display: none;
    }
}

@media (max-width: 767px) {
    .ffh-video-band--fullbleed .ffh-video-band-media,
    .ffh-video-band--fullbleed .ffh-video-band-inner {
        min-height: 620px !important;
    }
    .ffh-video-band--fullbleed .ffh-video-band-title {
        font-size: clamp(38px, 11vw, 54px) !important;
    }
    .ffh-video-band--fullbleed .ffh-video-band-text {
        font-size: 15px !important;
    }
}


/* ==========================================================
   V1.8.1 — CLEAN INSTITUTIONAL REDESIGN
   Restores the previous typography and a restrained institutional layout.
   ========================================================== */
:root {
    --ff181-white:#ffffff;
    --ff181-paper:#f6f9f8;
    --ff181-ink:#10252b;
    --ff181-muted:#6a7d82;
    --ff181-green:#2f7d57;
    --ff181-line:rgba(16,37,43,.10);
}

/* Keep the typography from the pre-1.8 homepage. */
.ffh-home,
.ffh-home * {
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

/* No visual-system side labels or decorative fake brand text. */
.ffh-photo-story::before,
.ffh-photo-story-index { display:none !important; }

/* ----------------------------------------------------------
   FACULTY PHOTO STORY — image-led, quiet, institutional
   ---------------------------------------------------------- */
.ffh-photo-story {
    position:relative;
    overflow:hidden;
    padding:110px 0 100px !important;
    background:#fff !important;
    border-top:1px solid var(--ff181-line);
}
.ffh-photo-story-head {
    display:block !important;
    max-width:860px;
    margin:0 0 48px !important;
}
.ffh-photo-story-copy h2 {
    max-width:860px;
    margin:0;
    color:var(--ff181-ink);
    font-size:clamp(42px,5vw,68px);
    line-height:1.02;
    letter-spacing:-.045em;
    font-weight:700;
}
.ffh-photo-story-copy > p:last-child {
    max-width:720px;
    margin:22px 0 0;
    color:var(--ff181-muted);
    font-size:17px;
    line-height:1.75;
}
.ffh-photo-story-grid {
    display:grid;
    grid-template-columns:1.35fr .65fr;
    grid-template-rows:320px 320px;
    gap:18px;
}
.ffh-photo-story-frame {
    position:relative;
    margin:0;
    overflow:hidden;
    background:#eef4f1;
    border:0;
    border-radius:0;
}
.ffh-photo-story-frame--1 { grid-column:1; grid-row:1 / span 2; }
.ffh-photo-story-frame--2 { grid-column:2; grid-row:1; }
.ffh-photo-story-frame--3 { grid-column:2; grid-row:2; }
.ffh-photo-story-frame--4 { display:none; }
.ffh-photo-story-frame img,
.ffh-photo-story-placeholder {
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}
.ffh-photo-story-frame::before {
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    background:linear-gradient(180deg,transparent 58%,rgba(5,16,20,.42));
    pointer-events:none;
}
.ffh-photo-story-frame figcaption {
    position:absolute;
    z-index:2;
    left:22px;
    right:22px;
    bottom:20px;
    display:block;
    color:#fff;
}
.ffh-photo-story-frame figcaption span {
    display:none;
}
.ffh-photo-story-frame figcaption strong {
    max-width:520px;
    color:#fff;
    font-size:22px;
    line-height:1.15;
    letter-spacing:-.025em;
    font-weight:600;
    text-align:left;
}
.ffh-photo-story-placeholder {
    background:linear-gradient(135deg,#f4f8f6,#e9f2ee);
}

/* ----------------------------------------------------------
   QUICK ACCESS — image + clean text list
   ---------------------------------------------------------- */
.ffh-quick-links {
    margin:0 !important;
    padding:96px 0 !important;
    background:#fff !important;
    border-top:1px solid var(--ff181-line);
}
.ffh-quick-layout {
    display:grid;
    grid-template-columns:minmax(360px,.9fr) minmax(0,1.1fr);
    gap:62px;
    align-items:stretch;
}
.ffh-quick-visual {
    position:relative;
    min-height:520px;
    overflow:hidden;
    background:#edf4f1;
}
.ffh-quick-visual img,
.ffh-quick-visual-placeholder {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.ffh-quick-visual-placeholder {
    background:linear-gradient(135deg,#eff5f2,#e3eee9);
}
.ffh-quick-visual::after {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,transparent 52%,rgba(6,18,22,.50));
}
.ffh-quick-visual-caption {
    position:absolute;
    z-index:2;
    left:28px;
    right:28px;
    bottom:26px;
    color:#fff;
}
.ffh-quick-visual-caption strong {
    display:block;
    font-size:28px;
    line-height:1.05;
    letter-spacing:-.035em;
    font-weight:650;
}
.ffh-quick-visual-caption span {
    display:block;
    margin-top:8px;
    color:rgba(255,255,255,.78);
    font-size:13px;
}
.ffh-quick-list {
    display:flex;
    flex-direction:column;
    border-top:1px solid var(--ff181-line);
}
.ffh-quick-row {
    display:grid;
    grid-template-columns:54px minmax(0,1fr) 28px;
    gap:18px;
    align-items:center;
    min-height:104px;
    padding:18px 0;
    border-bottom:1px solid var(--ff181-line);
    color:var(--ff181-ink) !important;
    text-decoration:none !important;
    transition:padding .22s ease, color .22s ease;
}
.ffh-quick-row:hover {
    padding-left:10px;
    color:var(--ff181-green) !important;
}
.ffh-quick-row-number {
    color:#99aaa5;
    font-size:12px;
    font-weight:600;
    letter-spacing:.08em;
}
.ffh-quick-row-copy strong {
    display:block;
    font-size:25px;
    line-height:1.08;
    letter-spacing:-.035em;
    font-weight:650;
}
.ffh-quick-row-copy small {
    display:block;
    margin-top:7px;
    color:var(--ff181-muted);
    font-size:14px;
    line-height:1.45;
}
.ffh-quick-row-arrow {
    color:var(--ff181-green);
    font-size:19px;
}

/* ----------------------------------------------------------
   STATS — photo + compact facts, not giant dashboard numbers
   ---------------------------------------------------------- */
.ffh-stats {
    margin:0 !important;
    padding:100px 0 !important;
    background:#f5f8f7 !important;
}
.ffh-stats-layout {
    display:grid;
    grid-template-columns:minmax(360px,.95fr) minmax(0,1.05fr);
    gap:72px;
    align-items:center;
}
.ffh-stats-media {
    min-height:560px;
    overflow:hidden;
    background:#eaf1ee;
}
.ffh-stats-media img,
.ffh-stats-media-placeholder {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.ffh-stats-media-placeholder {
    background:linear-gradient(135deg,#eef5f2,#dfece6);
}
.ffh-stats-list {
    border-top:1px solid var(--ff181-line);
}
.ffh-stat {
    min-height:0 !important;
    padding:27px 0 !important;
    display:grid !important;
    grid-template-columns:150px minmax(0,1fr);
    gap:34px;
    align-items:center;
    border:0 !important;
    border-bottom:1px solid var(--ff181-line) !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
.ffh-stat::before { display:none !important; }
.ffh-stat-number {
    margin:0 !important;
    color:var(--ff181-ink) !important;
    font-size:clamp(44px,5vw,70px) !important;
    line-height:.9 !important;
    letter-spacing:-.055em !important;
    font-weight:500 !important;
}
.ffh-stat-label {
    max-width:390px;
    margin:0 !important;
    color:var(--ff181-muted) !important;
    font-size:16px !important;
    line-height:1.6 !important;
    letter-spacing:0 !important;
}

/* ----------------------------------------------------------
   PROGRAMS — academic list + faculty image
   ---------------------------------------------------------- */
.ffh-programs {
    padding:110px 0 130px !important;
    background:#fff !important;
}
.ffh-programs .ffh-section-heading {
    margin-bottom:42px !important;
}
.ffh-programs .ffh-section-title {
    max-width:780px;
    font-size:clamp(40px,4.6vw,64px) !important;
    line-height:1 !important;
    letter-spacing:-.045em !important;
    font-weight:700 !important;
}
.ffh-programs-layout {
    display:grid;
    grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);
    gap:68px;
    align-items:start;
}
.ffh-program-list {
    border-top:1px solid var(--ff181-line);
}
.ffh-program-row {
    display:grid;
    grid-template-columns:46px minmax(0,1fr) 28px;
    gap:18px;
    align-items:start;
    min-height:158px;
    padding:28px 0;
    border-bottom:1px solid var(--ff181-line);
    color:var(--ff181-ink) !important;
    text-decoration:none !important;
    transition:padding .22s ease, background .22s ease;
}
.ffh-program-row:hover {
    padding-left:10px;
    background:linear-gradient(90deg,rgba(47,125,87,.045),transparent 68%);
}
.ffh-program-row-number {
    padding-top:5px;
    color:#9baba6;
    font-size:11px;
    font-weight:600;
}
.ffh-program-row-main { display:block; }
.ffh-program-type {
    display:block;
    color:var(--ff181-green) !important;
    font-size:11px !important;
    font-weight:700 !important;
    letter-spacing:.08em !important;
    text-transform:uppercase;
}
.ffh-program-name {
    display:block !important;
    max-width:620px;
    margin-top:10px !important;
    color:var(--ff181-ink) !important;
    font-size:clamp(28px,3vw,43px) !important;
    line-height:1.03 !important;
    letter-spacing:-.045em !important;
    font-weight:650 !important;
}
.ffh-program-meta {
    display:block !important;
    margin-top:12px !important;
    color:var(--ff181-muted) !important;
    font-size:14px !important;
    line-height:1.5 !important;
}
.ffh-program-row-arrow {
    padding-top:4px;
    color:var(--ff181-green);
    font-size:19px;
}
.ffh-programs-image {
    position:sticky;
    top:120px;
    min-height:610px;
    margin:0;
    overflow:hidden;
    background:#edf3f0;
}
.ffh-programs-image img,
.ffh-programs-image-placeholder {
    width:100%;
    height:100%;
    min-height:610px;
    display:block;
    object-fit:cover;
}
.ffh-programs-image-placeholder {
    background:linear-gradient(135deg,#f2f7f5,#e3eee9);
}

/* Keep section headings calmer and less showcase-like. */
.ffh-featured-section .ffh-section-title,
.ffh-news-section .ffh-section-title {
    font-size:clamp(38px,4vw,58px) !important;
    line-height:1.02 !important;
    letter-spacing:-.04em !important;
    font-weight:700 !important;
}
.ffh-section-eyebrow {
    font-size:11px !important;
    letter-spacing:.10em !important;
    font-weight:700 !important;
}

@media (max-width:1000px) {
    .ffh-quick-layout,
    .ffh-stats-layout,
    .ffh-programs-layout {
        grid-template-columns:1fr;
        gap:34px;
    }
    .ffh-quick-visual { min-height:420px; }
    .ffh-stats-media { min-height:430px; }
    .ffh-programs-image {
        position:relative;
        top:auto;
        min-height:430px;
    }
    .ffh-programs-image img,
    .ffh-programs-image-placeholder { min-height:430px; }
    .ffh-photo-story-grid {
        grid-template-columns:1fr 1fr;
        grid-template-rows:420px 280px;
    }
    .ffh-photo-story-frame--1 { grid-column:1 / span 2; grid-row:1; }
    .ffh-photo-story-frame--2 { grid-column:1; grid-row:2; }
    .ffh-photo-story-frame--3 { grid-column:2; grid-row:2; }
}

@media (max-width:767px) {
    .ffh-photo-story,
    .ffh-quick-links,
    .ffh-stats,
    .ffh-programs { padding:72px 0 !important; }
    .ffh-photo-story-grid {
        grid-template-columns:1fr;
        grid-template-rows:380px 260px 260px;
        gap:10px;
    }
    .ffh-photo-story-frame--1,
    .ffh-photo-story-frame--2,
    .ffh-photo-story-frame--3 {
        grid-column:1;
        grid-row:auto;
    }
    .ffh-quick-visual { min-height:340px; }
    .ffh-quick-row {
        grid-template-columns:42px minmax(0,1fr) 24px;
        min-height:90px;
    }
    .ffh-quick-row-copy strong { font-size:22px; }
    .ffh-stats-media { min-height:340px; }
    .ffh-stat {
        grid-template-columns:105px minmax(0,1fr);
        gap:22px;
        padding:22px 0 !important;
    }
    .ffh-stat-number { font-size:46px !important; }
    .ffh-stat-label { font-size:14px !important; }
    .ffh-program-row {
        grid-template-columns:34px minmax(0,1fr) 22px;
        gap:12px;
        min-height:138px;
    }
    .ffh-program-name { font-size:30px !important; }
    .ffh-programs-image,
    .ffh-programs-image img,
    .ffh-programs-image-placeholder { min-height:360px; }
}

/* ==========================================================
   V1.8.2 — FACULTY CONTENT CONTROLS + COMPACT MOLECULAR SCENE
   ========================================================== */

/* Molecular sequence: shorter, calmer and visibly smaller. */
.ffh-science-experience,
.ffh-science-after-hero {
    height: 330vh !important;
    min-height: 1900px !important;
}
.ffh-science-sticky {
    min-height: 560px !important;
}
.ffh-science-copy-stack {
    width: min(38vw, 500px) !important;
    min-height: 330px !important;
}
.ffh-science-intro h1 {
    max-width: 560px !important;
    font-size: clamp(50px, 5.4vw, 78px) !important;
    line-height: .93 !important;
    letter-spacing: -.05em !important;
}
.ffh-science-statement {
    max-width: 470px !important;
    font-size: 16px !important;
    line-height: 1.58 !important;
}
.ffh-science-copy h2 {
    max-width: 470px !important;
    font-size: clamp(34px, 4vw, 52px) !important;
    line-height: 1 !important;
}
.ffh-science-copy > p:not(.ffh-science-number) {
    max-width: 440px !important;
    font-size: 15px !important;
    line-height: 1.58 !important;
}
.ffh-science-progress button:nth-child(n+4) { display:none !important; }
.ffh-science-ligand-hint { transform: translate(-50%,-50%) scale(.9); }

/* Research card: remove inherited decorative geometry and keep the photo readable. */
.ffh-news-section .ffh-news-layout {
    align-items:start !important;
}
.ffh-news-section .ffh-news-promo {
    overflow:hidden !important;
    border:1px solid rgba(16,37,43,.10) !important;
    border-radius:18px !important;
    background:#fff !important;
    box-shadow:none !important;
}
.ffh-news-section .ffh-news-promo-image {
    position:relative !important;
    min-height:300px !important;
    width:100% !important;
    overflow:hidden !important;
    border-radius:0 !important;
    background-size:cover !important;
    background-position:center !important;
}
.ffh-news-section .ffh-news-promo-image::before {
    display:none !important;
    content:none !important;
}
.ffh-news-section .ffh-news-promo-image::after {
    content:"" !important;
    position:absolute !important;
    inset:0 !important;
    background:linear-gradient(180deg,rgba(8,25,22,.02),rgba(8,25,22,.16)) !important;
    border:0 !important;
    border-radius:0 !important;
    width:auto !important;
    height:auto !important;
    transform:none !important;
}
.ffh-news-section .ffh-news-promo-image > span {
    position:absolute !important;
    z-index:3 !important;
    left:18px !important;
    top:18px !important;
    right:auto !important;
    bottom:auto !important;
    display:inline-flex !important;
    align-items:center !important;
    width:auto !important;
    height:auto !important;
    min-width:0 !important;
    min-height:0 !important;
    margin:0 !important;
    padding:7px 10px !important;
    border:0 !important;
    border-radius:2px !important;
    background:rgba(255,255,255,.92) !important;
    color:#2f7d57 !important;
    font-size:10px !important;
    line-height:1 !important;
    letter-spacing:.08em !important;
    font-weight:700 !important;
    text-transform:uppercase !important;
    transform:none !important;
    box-shadow:none !important;
}
.ffh-news-section .ffh-news-promo-body {
    padding:28px 28px 30px !important;
}
.ffh-news-section .ffh-news-promo-title {
    margin:0 !important;
    max-width:520px !important;
    color:#10252b !important;
    font-size:clamp(26px,2.5vw,38px) !important;
    line-height:1.06 !important;
    letter-spacing:-.035em !important;
    font-weight:650 !important;
}
.ffh-news-section .ffh-news-promo-text {
    margin:16px 0 0 !important;
    color:#6a7d82 !important;
    font-size:14px !important;
    line-height:1.65 !important;
}
.ffh-news-section .ffh-news-promo-link {
    margin-top:20px !important;
    color:#2f7d57 !important;
    font-size:13px !important;
    font-weight:700 !important;
}

/* Keep the image-led sections crisp and easy to edit. */
.ffh-quick-visual,
.ffh-stats-media,
.ffh-programs-image {
    background:#eef3f1 !important;
}
.ffh-quick-visual img,
.ffh-stats-media img,
.ffh-programs-image img {
    object-position:center !important;
}

@media (max-width:980px) {
    .ffh-science-experience,
    .ffh-science-after-hero {
        height: 290vh !important;
        min-height: 1650px !important;
    }
    .ffh-science-copy-stack {
        width:min(72vw,540px) !important;
        min-height:240px !important;
    }
    .ffh-news-section .ffh-news-promo-image { min-height:360px !important; }
}

@media (max-width:680px) {
    .ffh-science-experience,
    .ffh-science-after-hero {
        height: 250vh !important;
        min-height: 1380px !important;
    }
    .ffh-science-sticky { min-height:540px !important; }
    .ffh-science-copy-stack {
        min-height:230px !important;
        padding:18px 17px !important;
    }
    .ffh-science-intro h1 { font-size:clamp(40px,11vw,54px) !important; }
    .ffh-science-statement { font-size:14px !important; }
    .ffh-science-copy h2 { font-size:clamp(30px,9vw,42px) !important; }
    .ffh-science-copy > p:not(.ffh-science-number) { font-size:13px !important; }
    .ffh-news-section .ffh-news-promo-image { min-height:260px !important; }
}

/* ==========================================================
   V1.8.3 — LOGO ACCENTS + STATIC MOLECULAR SECTION
   Logo colors: purple #6752a3 / green #6fae3f
   ========================================================== */
.ffh-home {
    --ffh-logo-purple:#6752a3;
    --ffh-logo-green:#6fae3f;
}

/* Subtle brand accents across the homepage. */
.ffh-cinematic-button.is-primary {
    background:var(--ffh-logo-green) !important;
    border-color:var(--ffh-logo-green) !important;
}
.ffh-cinematic-button.is-primary:hover {
    background:var(--ffh-logo-purple) !important;
    border-color:var(--ffh-logo-purple) !important;
}
.ffh-cinematic-statement-dot {
    background:var(--ffh-logo-purple) !important;
    box-shadow:0 0 0 5px rgba(103,82,163,.13) !important;
}
.ffh-cinematic-footer-item:nth-child(odd) span { color:var(--ffh-logo-purple) !important; }
.ffh-cinematic-footer-item:nth-child(even) span { color:var(--ffh-logo-green) !important; }

.ffh-hex-transition__pattern {
    opacity:.78 !important;
    background-image:
        linear-gradient(30deg, rgba(103,82,163,.16) 12%, transparent 12.5%, transparent 87%, rgba(103,82,163,.16) 87.5%, rgba(103,82,163,.16)),
        linear-gradient(150deg, rgba(111,174,63,.15) 12%, transparent 12.5%, transparent 87%, rgba(111,174,63,.15) 87.5%, rgba(111,174,63,.15)),
        linear-gradient(30deg, rgba(103,82,163,.10) 12%, transparent 12.5%, transparent 87%, rgba(103,82,163,.10) 87.5%, rgba(103,82,163,.10)) !important;
}

.ffh-quick-row-number,
.ffh-program-index { color:var(--ffh-logo-purple) !important; }
.ffh-quick-row:nth-child(even) .ffh-quick-row-number,
.ffh-program-row:nth-child(even) .ffh-program-index { color:var(--ffh-logo-green) !important; }
.ffh-quick-row-arrow,
.ffh-program-arrow { color:var(--ffh-logo-green) !important; }
.ffh-quick-row:hover .ffh-quick-row-arrow,
.ffh-program-row:hover .ffh-program-arrow { color:var(--ffh-logo-purple) !important; }

.ffh-stat:nth-child(odd) .ffh-stat-number { color:var(--ffh-logo-purple) !important; }
.ffh-stat:nth-child(even) .ffh-stat-number { color:var(--ffh-logo-green) !important; }

.ffh-news-section .ffh-news-promo-image > span {
    color:var(--ffh-logo-purple) !important;
    border-left:3px solid var(--ffh-logo-green) !important;
}
.ffh-news-section .ffh-news-promo-link { color:var(--ffh-logo-purple) !important; }
.ffh-news-section .ffh-news-promo-link:hover { color:var(--ffh-logo-green) !important; }

.ffh-photo-story-frame--1::after,
.ffh-quick-visual::after,
.ffh-stats-media::after,
.ffh-programs-image::after {
    content:"";
    position:absolute;
    inset:auto 0 0 0;
    height:4px;
    background:linear-gradient(90deg,var(--ffh-logo-purple),var(--ffh-logo-green));
    pointer-events:none;
    z-index:3;
}
.ffh-photo-story-frame,
.ffh-quick-visual,
.ffh-stats-media,
.ffh-programs-image { position:relative; }

/* 3D is now a normal section. No scroll-controlled animation or sticky track. */
.ffh-science-experience.ffh-science-static,
.ffh-science-after-hero.ffh-science-static {
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    padding:92px 0 100px !important;
    background:
        radial-gradient(circle at 82% 26%, rgba(103,82,163,.085), transparent 24%),
        radial-gradient(circle at 68% 72%, rgba(111,174,63,.08), transparent 22%),
        #f8faf9 !important;
    overflow:hidden !important;
}
.ffh-science-static .ffh-science-static-inner {
    width:min(calc(100% - 48px), 1320px);
    margin:0 auto;
    min-height:620px;
    display:grid;
    grid-template-columns:minmax(0,.78fr) minmax(520px,1.22fr);
    align-items:center;
    gap:48px;
    position:relative;
}
.ffh-science-static .ffh-science-bg {
    position:absolute !important;
    inset:-100px -15vw !important;
    pointer-events:none;
}
.ffh-science-static .ffh-science-viewport {
    position:relative !important;
    inset:auto !important;
    grid-column:2;
    grid-row:1;
    width:100% !important;
    height:590px !important;
    min-height:0 !important;
    cursor:grab;
    z-index:2;
}
.ffh-science-static.is-dragging .ffh-science-viewport { cursor:grabbing; }
.ffh-science-static .ffh-science-canvas {
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
}
.ffh-science-static .ffh-science-static-copy {
    grid-column:1;
    grid-row:1;
    position:relative;
    z-index:4;
    max-width:520px;
}
.ffh-science-static .ffh-science-kicker {
    margin:0 0 14px !important;
    color:var(--ffh-logo-purple) !important;
    font-size:11px !important;
    line-height:1.2 !important;
    letter-spacing:.12em !important;
    font-weight:700 !important;
    text-transform:uppercase;
}
.ffh-science-static .ffh-science-static-copy h2 {
    margin:0 !important;
    max-width:520px;
    color:#10252b;
    font-size:clamp(38px,4.4vw,62px) !important;
    line-height:.98 !important;
    letter-spacing:-.05em !important;
    font-weight:650 !important;
}
.ffh-science-static .ffh-science-static-copy > p:not(.ffh-science-static-note) {
    margin:22px 0 0 !important;
    max-width:500px;
    color:#667b80 !important;
    font-size:16px !important;
    line-height:1.68 !important;
}
.ffh-science-static-topics {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:26px;
}
.ffh-science-static-topics span {
    display:inline-flex;
    align-items:center;
    min-height:36px;
    padding:0 12px;
    border:1px solid rgba(16,37,43,.10);
    background:rgba(255,255,255,.72);
    color:#40565b;
    font-size:12px;
    font-weight:650;
}
.ffh-science-static-topics span:first-child { border-top:2px solid var(--ffh-logo-purple); }
.ffh-science-static-topics span:nth-child(2) { border-top:2px solid var(--ffh-logo-green); }
.ffh-science-static-topics span:nth-child(3) { border-top:2px solid var(--ffh-logo-purple); }
.ffh-science-static-note {
    margin:18px 0 0 !important;
    color:#8b9b9f !important;
    font-size:12px !important;
    line-height:1.4 !important;
}
.ffh-science-static .ffh-science-loader {
    left:50% !important;
    top:50% !important;
    transform:translate(-50%,-50%) !important;
}
.ffh-science-static .ffh-science-ligand-hint {
    left:61% !important;
    top:46% !important;
    transform:translate(-50%,-50%) scale(.86) !important;
}
.ffh-science-static .ffh-science-info {
    right:18px !important;
    bottom:18px !important;
}
.ffh-science-static .ffh-science-copy-stack,
.ffh-science-static .ffh-science-progress,
.ffh-science-static .ffh-science-meta,
.ffh-science-static .ffh-science-scroll-track,
.ffh-science-static .ffh-science-scroll-cue,
.ffh-science-static .ffh-science-sticky {
    display:none !important;
}

@media (max-width:980px) {
    .ffh-science-experience.ffh-science-static,
    .ffh-science-after-hero.ffh-science-static { padding:72px 0 78px !important; }
    .ffh-science-static .ffh-science-static-inner {
        width:min(calc(100% - 36px), 900px);
        min-height:0;
        grid-template-columns:1fr;
        gap:26px;
    }
    .ffh-science-static .ffh-science-static-copy,
    .ffh-science-static .ffh-science-viewport {
        grid-column:1;
        grid-row:auto;
    }
    .ffh-science-static .ffh-science-static-copy { max-width:680px; }
    .ffh-science-static .ffh-science-viewport { height:500px !important; }
}

@media (max-width:680px) {
    .ffh-science-experience.ffh-science-static,
    .ffh-science-after-hero.ffh-science-static { padding:58px 0 64px !important; }
    .ffh-science-static .ffh-science-static-inner { width:calc(100% - 28px); }
    .ffh-science-static .ffh-science-static-copy h2 { font-size:clamp(34px,10vw,46px) !important; }
    .ffh-science-static .ffh-science-static-copy > p:not(.ffh-science-static-note) { font-size:14px !important; }
    .ffh-science-static .ffh-science-viewport { height:390px !important; }
    .ffh-science-static .ffh-science-ligand-hint { display:none !important; }
}

/* ==========================================================
   V1.8.4 — SIDE IMAGES FOLLOW CONTENT HEIGHT + LARGER 3D
   ========================================================== */

/* The media beside textual sections should be a part of the composition,
   not a detached poster. It starts and ends with the text block. */
.ffh-quick-layout,
.ffh-stats-layout {
    align-items: stretch !important;
}

.ffh-quick-visual,
.ffh-stats-media {
    min-height: 0 !important;
    height: auto !important;
    align-self: stretch !important;
}

.ffh-quick-visual img,
.ffh-quick-visual-placeholder,
.ffh-stats-media img,
.ffh-stats-media-placeholder {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
}

/* Programs: the image now begins at the top edge of the section title and
   finishes exactly at the bottom edge of the final program row. */
.ffh-programs > .ffh-container {
    display: grid !important;
    grid-template-columns: minmax(0,1.1fr) minmax(360px,.9fr) !important;
    grid-template-rows: auto 1fr !important;
    column-gap: 68px !important;
    align-items: stretch !important;
}

.ffh-programs .ffh-section-heading {
    grid-column: 1 !important;
    grid-row: 1 !important;
    margin: 0 0 42px !important;
    align-self: start;
}

.ffh-programs-layout {
    display: contents !important;
}

.ffh-program-list {
    grid-column: 1 !important;
    grid-row: 2 !important;
}

.ffh-programs-image {
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;
    position: relative !important;
    top: auto !important;
    align-self: stretch !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
}

.ffh-programs-image img,
.ffh-programs-image-placeholder {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Give the molecule more visual authority without bringing back scroll staging. */
.ffh-science-static .ffh-science-viewport {
    height: 620px !important;
}

.ffh-science-static .ffh-science-static-inner {
    grid-template-columns: minmax(340px,.78fr) minmax(520px,1.22fr) !important;
    gap: 50px !important;
}

@media (max-width: 1000px) {
    .ffh-programs > .ffh-container {
        display: block !important;
    }

    .ffh-programs-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 34px !important;
    }

    .ffh-programs-image {
        min-height: 430px !important;
        height: 430px !important;
    }

    .ffh-programs-image img,
    .ffh-programs-image-placeholder {
        height: 100% !important;
        min-height: 0 !important;
    }

    .ffh-science-static .ffh-science-viewport {
        height: 560px !important;
    }

    .ffh-science-static .ffh-science-static-inner {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 767px) {
    .ffh-quick-visual,
    .ffh-stats-media,
    .ffh-programs-image {
        min-height: 330px !important;
        height: 330px !important;
    }

    .ffh-science-static .ffh-science-viewport {
        height: 440px !important;
    }
}

/* ==========================================================
   V1.8.5 — MOBILE: NO 3D MODEL / NO PROGRAMS SIDE IMAGE
   ========================================================== */
@media (max-width: 767px) {
    /* Keep the short faculty copy, but remove the heavy 3D viewport entirely. */
    .ffh-science-static .ffh-science-viewport,
    .ffh-science-static .ffh-science-loader,
    .ffh-science-static .ffh-science-fallback-art,
    .ffh-science-static .ffh-science-ligand-hint,
    .ffh-science-static .ffh-science-info {
        display: none !important;
    }

    .ffh-science-static .ffh-science-static-inner {
        display: block !important;
        min-height: 0 !important;
        width: calc(100% - 32px) !important;
    }

    .ffh-science-static .ffh-science-static-copy {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .ffh-science-experience.ffh-science-static,
    .ffh-science-after-hero.ffh-science-static {
        padding: 48px 0 52px !important;
    }

    /* Programs become a clean full-width academic list on phones. */
    .ffh-programs-image {
        display: none !important;
    }

    .ffh-programs > .ffh-container,
    .ffh-programs-layout,
    .ffh-program-list {
        width: 100% !important;
        max-width: 100% !important;
    }

    .ffh-programs-layout {
        display: block !important;
    }
}
