/* ReproHelix Labs — Montserrat Theme */

@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/montserrat-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/montserrat-latin-500-normal.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/montserrat-latin-600-normal.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/montserrat-latin-700-normal.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/montserrat-latin-800-normal.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Montserrat', system-ui, sans-serif;
}

.page-main {
    padding-top: 72px;
}

.reveal {
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-init .reveal:not(.visible) {
    opacity: 0;
    transform: translateY(28px);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-grid {
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Header */
.site-header {
    background: transparent;
}

.site-header .nav-link { color: rgba(255,255,255,0.88); }
.site-header .nav-link:hover,
.site-header .nav-link.active { color: #76b82a; }
.site-header .nav-toggle { color: white; }
.site-header .header-logo-dark { display: none; }
.site-header .header-logo-white { display: block; }

.site-header.scrolled,
.site-header.is-light {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 24px rgba(10,22,40,0.08);
}

.site-header.scrolled .nav-link,
.site-header.is-light .nav-link { color: #64748b; }

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active,
.site-header.is-light .nav-link:hover,
.site-header.is-light .nav-link.active { color: #1a526a; }

.site-header.scrolled .nav-toggle,
.site-header.is-light .nav-toggle { color: #0a1628; }

.site-header.scrolled .header-logo-white,
.site-header.is-light .header-logo-white { display: none; }

.site-header.scrolled .header-logo-dark,
.site-header.is-light .header-logo-dark { display: block; }

.nav-link {
    position: relative;
}

.nav-link.active {
    font-weight: 700;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: #76b82a;
    border-radius: 1px;
}

.dropdown-menu { transform: translateY(6px); }
.nav-dropdown:hover .dropdown-menu { transform: translateY(0); }

/* ─── Biotech Hero Section ─── */
.hero-biotech {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #050d18;
    padding-top: 72px;
}

.hero-biotech-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #050d18;
}

.hero-biotech-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    display: block;
}

.hero-biotech-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 13, 24, 0.88) 0%, rgba(5, 13, 24, 0.55) 42%, rgba(5, 13, 24, 0.28) 70%, rgba(5, 13, 24, 0.45) 100%),
        linear-gradient(180deg, rgba(5, 13, 24, 0.35) 0%, transparent 28%, transparent 62%, rgba(5, 13, 24, 0.75) 100%);
    pointer-events: none;
}

.hero-biotech-gridlines {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
    background-size: 48px 48px;
}

.hero-biotech-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-biotech-glow--left {
    width: 400px;
    height: 400px;
    left: -100px;
    top: 20%;
    background: rgba(34, 211, 238, 0.12);
}

.hero-biotech-glow--right {
    width: 500px;
    height: 500px;
    right: -80px;
    top: 10%;
    background: rgba(118, 184, 42, 0.1);
}

.hero-biotech-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: heroParticleFloat linear infinite;
}

.hero-biotech-sperm-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-sperm {
    position: absolute;
    right: 0;
    color: rgba(34, 211, 238, 0.5);
    opacity: 0;
    transform: scaleX(-1) translateX(110vw);
    animation: heroSpermSwimRtl linear infinite;
    animation-fill-mode: backwards;
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.35));
    will-change: transform, opacity;
}

.hero-sperm svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.hero-sperm-head {
    filter: drop-shadow(0 0 4px rgba(34, 211, 238, 0.4));
}

.hero-sperm-tail {
    transform-origin: 22px 12px;
    animation: heroTailWiggle 0.3s ease-in-out infinite alternate;
}

@keyframes heroTailWiggle {
    0% { transform: rotate(14deg); }
    100% { transform: rotate(-14deg); }
}

.hero-biotech-container {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 80rem;
    margin: 0 auto;
    padding: 2rem 1rem 1.5rem;
    width: 100%;
}

@media (min-width: 640px) {
    .hero-biotech-container { padding: 2.5rem 1.5rem 1.75rem; }
}

.hero-biotech-main {
    flex: 1;
    display: grid;
    gap: 2rem;
    align-items: center;
    min-height: 0;
}

@media (min-width: 1024px) {
    .hero-biotech-main {
        grid-template-columns: 1fr;
        gap: 1rem;
        min-height: 420px;
        align-items: center;
    }

    .hero-biotech-copy {
        max-width: 640px;
    }
}

.hero-biotech-copy {
    max-width: 540px;
}

.hero-biotech-title {
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.hero-hl {
    color: #a3e635;
}

.hero-biotech-desc {
    font-size: clamp(0.875rem, 1.8vw, 1rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 1.75rem;
    max-width: 480px;
}

.hero-biotech-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 1.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 999px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-hero:hover { transform: translateY(-2px); }

.btn-hero--primary {
    color: #fff;
    background: linear-gradient(135deg, #76b82a, #5a9420);
    box-shadow: 0 4px 24px rgba(118, 184, 42, 0.35);
}

.btn-hero--primary:hover {
    box-shadow: 0 8px 32px rgba(118, 184, 42, 0.45);
}

.btn-hero--outline {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.btn-hero--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.65);
}

.btn-hero-icon {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.btn-hero-icon svg {
    width: 14px;
    height: 14px;
}

/* Visual scene */
.hero-biotech-scene {
    position: relative;
    height: 340px;
    margin: 0 auto;
    width: 100%;
    max-width: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-biotech-scene {
        height: 400px;
        max-width: 480px;
    }
}

@media (min-width: 1024px) {
    .hero-biotech-scene {
        height: 100%;
        min-height: 420px;
        max-width: none;
    }
}

/* Diagonal DNA helix — left bottom to right top */
.hero-dna-full {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.05;
    pointer-events: none;
    overflow: visible;
}

.hero-dna-real-img {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 145%;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: bottom left;
    transform: rotate(45deg) scaleX(-1);
    transform-origin: bottom left;
    filter: brightness(1.15) drop-shadow(0 0 20px rgba(34, 211, 238, 0.15))
            drop-shadow(0 0 36px rgba(236, 72, 153, 0.08));
    animation: heroDnaFloat 9s ease-in-out infinite;
}

/* Lab visual — microscope, petri dish, pipette & glass */
.hero-lab-visual {
    position: relative;
    width: 100%;
    max-width: 420px;
    z-index: 3;
    animation: heroLabFloat 6s ease-in-out infinite;
}

@media (min-width: 1024px) {
    .hero-lab-visual {
        max-width: 460px;
    }
}

.hero-lab-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 32px rgba(34, 211, 238, 0.22));
    mask-image: linear-gradient(to bottom, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 94%, transparent 100%);
}

.hero-lab-glow {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 50px;
    z-index: 1;
    background: radial-gradient(ellipse, rgba(34, 211, 238, 0.35), transparent 70%);
    pointer-events: none;
}

.hero-lab-shine {
    position: absolute;
    top: 15%;
    left: 20%;
    width: 40%;
    height: 30%;
    z-index: 3;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.06), transparent 70%);
    pointer-events: none;
    animation: heroLabShine 4s ease-in-out infinite alternate;
}

@keyframes heroLabFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes heroLabShine {
    0% { opacity: 0.4; }
    100% { opacity: 0.8; }
}

.hero-bubbles {
    position: absolute;
    right: 0;
    top: 5%;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    z-index: 5;
}

.hero-bubble {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.65rem 0.4rem 0.4rem;
    background: rgba(10, 22, 40, 0.75);
    border: 1px solid rgba(197, 214, 124, 0.45);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    animation: heroBubbleIn 0.6s ease-out backwards;
    animation-delay: var(--bubble-delay, 0s);
}

.hero-bubble-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #c5d67c;
    background: rgba(197, 214, 124, 0.12);
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-bubble-icon svg {
    width: 16px;
    height: 16px;
}

.hero-bubble-label {
    font-size: 0.55rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 1023px) {
    .hero-bubbles {
        flex-direction: row;
        flex-wrap: wrap;
        right: auto;
        left: 0;
        top: auto;
        bottom: 0;
        justify-content: center;
        width: 100%;
    }

    .hero-bubble-label { font-size: 0.5rem; }
}

/* Bottom pillars */
.hero-biotech-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

@media (min-width: 640px) {
    .hero-biotech-pillars { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .hero-biotech-pillars { grid-template-columns: repeat(6, 1fr); gap: 0.35rem; }
}

.hero-pillar {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.65rem 0.5rem;
    border-radius: 6px;
    transition: background 0.25s ease;
}

.hero-pillar:hover {
    background: rgba(255,255,255,0.05);
}

.hero-pillar-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: #c5d67c;
}

.hero-pillar-icon svg {
    width: 20px;
    height: 20px;
}

.hero-pillar-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.hero-pillar-text strong {
    font-size: 0.6rem;
    font-weight: 700;
    color: #c5d67c;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-pillar-text span {
    font-size: 0.55rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.35;
}

.hero-biotech-motto {
    text-align: center;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-top: 1rem;
    padding-bottom: 0.5rem;
}

.hero-biotech-motto .hero-hl {
    color: #a3e635;
}

/* Hero animations */
@keyframes heroDnaFloat {
    0%, 100% { transform: rotate(45deg) scaleX(-1) translate(0, 0); }
    50% { transform: rotate(45deg) scaleX(-1) translate(6px, -6px); }
}

@keyframes heroDnaSway {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

@keyframes heroDnaRungPulse {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 0.65; }
}

@keyframes heroDnaNodePulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.75; }
}

@keyframes heroEmbryoPulse {
    0%, 100% { box-shadow: 0 0 24px rgba(34,211,238,0.5); transform: translateX(-50%) scale(1); }
    50% { box-shadow: 0 0 36px rgba(34,211,238,0.8); transform: translateX(-50%) scale(1.05); }
}

@keyframes heroPipetteMove {
    0%, 100% { transform: rotate(-25deg) translateY(0); }
    50% { transform: rotate(-22deg) translateY(-4px); }
}

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

@keyframes heroSpermSwimRtl {
    0% { transform: scaleX(-1) translateX(110vw) translateY(0); opacity: 0; }
    8% { opacity: 0.45; }
    92% { opacity: 0.45; }
    100% { transform: scaleX(-1) translateX(-110vw) translateY(var(--sperm-drift, 0px)); opacity: 0; }
}

@keyframes heroParticleFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-20px) scale(1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-lab-visual,
    .hero-dna-real-img,
    .hero-sperm, .hero-particle, .hero-bubble {
        animation: none !important;
    }

    .hero-sperm-tail {
        animation: none !important;
    }

    .hero-sperm-tail animate {
        display: none;
    }
}

.research-tag {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #1a526a;
    background: white;
    border: 1px solid #e2e8f0;
    transition: all 0.25s;
}
.research-tag:hover {
    border-color: #76b82a;
    color: #76b82a;
    background: #f7fdf0;
}

.form-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 2px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #faf8f5;
    font-family: inherit;
}

.form-input:focus {
    border-color: #1a526a;
    box-shadow: 0 0 0 3px rgba(26,82,106,0.1);
    background: white;
}

::selection { background: #1a526a; color: white; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f7f9fb; }
::-webkit-scrollbar-thumb { background: #1a526a; border-radius: 3px; }

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-init .reveal:not(.visible) { opacity: 1; transform: none; transition: none; }
    .hero-bg { animation: none; }
}

/* ─── Academics pathway (after hero) ─── */
.academics-section {
    position: relative;
    padding: 3.5rem 1rem 2.5rem;
    background:
        radial-gradient(ellipse 60% 50% at 8% 18%, rgba(30, 95, 138, 0.07), transparent 55%),
        radial-gradient(ellipse 50% 40% at 92% 82%, rgba(118, 184, 42, 0.08), transparent 50%),
        linear-gradient(180deg, #f4f9fd 0%, #ffffff 42%, #f2faf4 100%);
    overflow: hidden;
}

.academics-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.045;
    background-image:
        radial-gradient(circle at 20% 30%, #1e5f8a 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, #76b82a 1px, transparent 1px);
    background-size: 42px 42px, 56px 56px;
}

.academics-inner {
    position: relative;
    z-index: 1;
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .academics-section { padding: 4.5rem 1.5rem 3rem; }
    .academics-inner {
        grid-template-columns: 0.92fr 1.18fr;
        gap: 3.25rem;
    }
}

.academics-title {
    font-size: clamp(1.7rem, 3.6vw, 2.5rem);
    font-weight: 700;
    color: #0d3b66;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.academics-mission {
    font-size: 1.05rem;
    color: #1e5f8a;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.academics-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.65;
    max-width: 32rem;
    margin-bottom: 1.5rem;
}

.academics-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .academics-pillars { grid-template-columns: repeat(4, 1fr); }
}

.academics-pillar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.85rem 0.8rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2eef6;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(13, 59, 102, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.academics-pillar:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(13, 59, 102, 0.1);
}

.academics-pillar-icon {
    display: grid;
    place-items: center;
    width: 1.85rem;
    height: 1.85rem;
    margin-bottom: 0.2rem;
    color: #1e5f8a;
}

.academics-pillar-icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.academics-pillar:nth-child(3) .academics-pillar-icon,
.academics-pillar:nth-child(4) .academics-pillar-icon {
    color: #5a9420;
}

.academics-pillar strong {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0d3b66;
}

.academics-pillar span {
    font-size: 0.7rem;
    color: #64748b;
    line-height: 1.3;
}

.academics-path {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 0.25rem;
}

.academics-path-rail {
    display: none;
}

.academics-path-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1.1rem;
    color: #94a3b8;
    opacity: 0.75;
    z-index: 1;
}

.academics-path-arrow svg {
    width: 1.05rem;
    height: 1.05rem;
}

@media (min-width: 640px) {
    .academics-path-rail {
        display: block;
        position: absolute;
        left: 1.7rem;
        top: 2.4rem;
        bottom: 2.4rem;
        width: 2px;
        background: linear-gradient(180deg, #1e5f8a, #22d3ee 45%, #76b82a);
        opacity: 0.28;
        border-radius: 2px;
        z-index: 0;
    }
}

.academics-path-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-areas:
        "icon text"
        "photo photo";
    gap: 0.75rem 0.85rem;
    align-items: center;
    padding: 0.85rem;
    margin: 0.15rem 0;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e2eef6;
    box-shadow: 0 8px 24px rgba(13, 59, 102, 0.06);
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    animation: academicsCardIn 0.55s ease both;
    animation-delay: calc(var(--i, 0) * 0.07s);
}

.academics-path-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #1e5f8a, #76b82a);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.academics-path-card:hover {
    transform: translateY(-4px) translateX(2px);
    box-shadow: 0 16px 36px rgba(13, 59, 102, 0.14);
}

.academics-path-card:hover::before { opacity: 1; }

.academics-path-card--navy:hover { border-color: rgba(13, 59, 102, 0.35); }
.academics-path-card--blue:hover { border-color: rgba(37, 99, 235, 0.35); }
.academics-path-card--cyan:hover { border-color: rgba(8, 145, 178, 0.35); }
.academics-path-card--green:hover { border-color: rgba(90, 148, 32, 0.4); }
.academics-path-card--lime:hover { border-color: rgba(118, 184, 42, 0.5); }

.academics-path-step {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #cbd5e1;
}

.academics-path-icon {
    grid-area: icon;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(13, 59, 102, 0.18);
}

.academics-path-icon svg {
    width: 20px;
    height: 20px;
}

.academics-path-card--navy .academics-path-icon { background: linear-gradient(135deg, #0d3b66, #1e5f8a); }
.academics-path-card--blue .academics-path-icon { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.academics-path-card--cyan .academics-path-icon { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.academics-path-card--green .academics-path-icon { background: linear-gradient(135deg, #4d7c0f, #65a30d); }
.academics-path-card--lime .academics-path-icon { background: linear-gradient(135deg, #5a9420, #76b82a); }

.academics-path-text {
    grid-area: text;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    padding-right: 1.75rem;
}

.academics-path-text strong {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #0d3b66;
}

.academics-path-card--green .academics-path-text strong,
.academics-path-card--lime .academics-path-text strong {
    color: #3f7a12;
}

.academics-path-text span {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.4;
}

.academics-path-photo {
    grid-area: photo;
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 0;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e8f1f8, #eef6e8);
    box-shadow: inset 0 0 0 1px rgba(13, 59, 102, 0.06);
}

.academics-path-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
}

.academics-path-card:hover .academics-path-photo img {
    transform: scale(1.07);
}

.academics-footer {
    position: relative;
    z-index: 1;
    max-width: 80rem;
    margin: 2rem auto 0;
    padding: 0.95rem 1.25rem;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(90deg, #0d3b66, #1a526a 55%, #3f7a12);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(13, 59, 102, 0.18);
}

.academics-footer .hl {
    color: #a8e063;
}

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

@media (min-width: 640px) {
    .academics-path-card {
        grid-template-columns: 52px minmax(0, 1fr) minmax(150px, 38%);
        grid-template-areas: "icon text photo";
        padding: 0.75rem 0.9rem 0.75rem 1rem;
        gap: 0.85rem 1rem;
        align-items: center;
    }

    .academics-path-photo {
        width: 100%;
        aspect-ratio: 16 / 10;
        max-height: 108px;
    }

    .academics-path-text strong { font-size: 0.95rem; }
    .academics-path-text span { font-size: 0.86rem; }
}

@media (min-width: 1024px) {
    .academics-path-photo {
        max-height: 112px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .academics-path-card { animation: none; }
    .academics-path-card:hover .academics-path-photo img { transform: none; }
}

/* ─── Research areas (after academics) ─── */
.research-section {
    position: relative;
    padding: 3.5rem 1rem 3.25rem;
    background:
        radial-gradient(ellipse 50% 45% at 92% 12%, rgba(118, 184, 42, 0.09), transparent 55%),
        radial-gradient(ellipse 45% 40% at 6% 88%, rgba(30, 95, 138, 0.08), transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f3f8fc 100%);
    overflow: hidden;
}

.research-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.035;
    background-image:
        radial-gradient(circle at 25% 25%, #1e5f8a 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, #76b82a 1px, transparent 1px);
    background-size: 40px 40px, 52px 52px;
}

.research-inner {
    position: relative;
    z-index: 1;
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    gap: 2.25rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .research-section { padding: 4.5rem 1.5rem 4rem; }
    .research-inner {
        grid-template-columns: 0.9fr 1.2fr;
        gap: 3.5rem;
        align-items: center;
    }
}

.research-intro {
    max-width: 32rem;
}

.research-title {
    font-size: clamp(1.75rem, 3.6vw, 2.55rem);
    font-weight: 700;
    color: #0d3b66;
    line-height: 1.15;
    margin-bottom: 0.9rem;
}

.research-lead {
    font-size: 0.98rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.research-visual {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin-bottom: 1.35rem;
    background: #f3f8fc;
    box-shadow: 0 16px 36px rgba(13, 59, 102, 0.14);
}

.research-visual--infographic {
    background: linear-gradient(180deg, #ffffff 0%, #f3f8fc 100%);
}

.research-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.55s ease;
}

.research-visual--infographic img {
    object-fit: contain;
    object-position: center;
    padding: 0.35rem;
}

.research-visual:hover img {
    transform: scale(1.04);
}

.research-visual--infographic:hover img {
    transform: none;
}

.research-visual-overlay {
    position: absolute;
    inset: auto 0 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 1rem 1rem 1.05rem;
    background: linear-gradient(180deg, transparent, rgba(8, 28, 48, 0.9));
}

.research-stat {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    color: #fff;
}

.research-stat strong {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #a8e063;
    line-height: 1.2;
}

.research-stat span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.3;
}

.research-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
}

.research-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a526a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.research-link:hover {
    color: #5a9420;
}

.research-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #dbe7f0;
}

.research-item {
    display: grid;
    grid-template-columns: 3rem 1fr auto;
    gap: 0.85rem 1rem;
    align-items: center;
    padding: 1.05rem 0.15rem 1.05rem 0;
    border-bottom: 1px solid #dbe7f0;
    text-decoration: none;
    position: relative;
    transition: background 0.25s ease, padding-left 0.25s ease;
    animation: researchItemIn 0.5s ease both;
    animation-delay: calc(var(--i, 0) * 0.05s);
}

.research-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #1e5f8a, #76b82a);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.research-item:hover {
    padding-left: 0.65rem;
    background: linear-gradient(90deg, rgba(30, 95, 138, 0.04), transparent 70%);
}

.research-item:hover::before {
    opacity: 1;
}

.research-item-num {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
    transition: color 0.25s ease;
}

.research-item:hover .research-item-num {
    color: #76b82a;
}

.research-item-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.research-item-text strong {
    font-size: 1rem;
    font-weight: 700;
    color: #0d3b66;
    line-height: 1.25;
}

.research-item-text span {
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.45;
}

.research-item-arrow {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    color: #94a3b8;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.research-item-arrow svg {
    width: 1rem;
    height: 1rem;
}

.research-item:hover .research-item-arrow {
    opacity: 1;
    transform: translateX(0);
    background: rgba(118, 184, 42, 0.12);
    color: #5a9420;
}

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

@media (max-width: 639px) {
    .research-item {
        grid-template-columns: 2.5rem 1fr;
    }

    .research-item-arrow {
        display: none;
    }

    .research-item-text strong {
        font-size: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .research-item { animation: none; }
    .research-item:hover { padding-left: 0; }
    .research-visual:hover img { transform: none; }
}

/* ─── Appointment booking ─── */
.appt-section {
    position: relative;
    padding: 3.5rem 1rem 3.25rem;
    background:
        radial-gradient(ellipse 55% 45% at 8% 20%, rgba(30, 95, 138, 0.08), transparent 55%),
        radial-gradient(ellipse 45% 40% at 95% 80%, rgba(118, 184, 42, 0.1), transparent 50%),
        linear-gradient(180deg, #f4f8fc 0%, #eef6f0 100%);
    overflow: hidden;
}

.appt-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.04;
    background-image: radial-gradient(circle at 1px 1px, #1e5f8a 1px, transparent 0);
    background-size: 28px 28px;
}

.appt-inner {
    position: relative;
    z-index: 1;
    max-width: 80rem;
    margin: 0 auto;
}

.appt-main {
    display: grid;
    gap: 2rem;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .appt-section { padding: 4.5rem 1.5rem 4rem; }
    .appt-main {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 2.5rem;
        align-items: start;
    }
}

.appt-visual {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.appt-photo {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #0d3b66;
    box-shadow: 0 18px 40px rgba(13, 59, 102, 0.18);
}

.appt-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.appt-photo:hover img {
    transform: scale(1.04);
}

.appt-photo-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.35rem 1.25rem 1.2rem;
    background: linear-gradient(180deg, transparent, rgba(8, 28, 48, 0.88));
    color: #fff;
}

.appt-photo-badge {
    display: inline-block;
    margin-bottom: 0.45rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(118, 184, 42, 0.95);
    color: #fff;
}

.appt-photo-overlay p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
    max-width: 22rem;
}

.appt-title {
    font-size: clamp(1.7rem, 3.2vw, 2.35rem);
    font-weight: 700;
    color: #0d3b66;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.appt-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.appt-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 1.1rem;
    display: grid;
    gap: 0.45rem;
}

.appt-highlights li {
    position: relative;
    padding-left: 1.35rem;
    font-size: 0.88rem;
    color: #1a526a;
    font-weight: 500;
}

.appt-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #76b82a;
    box-shadow: 0 0 0 3px rgba(118, 184, 42, 0.2);
}

.appt-phones {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0d3b66;
}

.appt-phones a {
    color: #0d3b66;
    text-decoration: none;
    transition: color 0.2s ease;
}

.appt-phones a:hover {
    color: #5a9420;
}

.appt-phones span {
    color: #94a3b8;
}

.appt-form-card {
    background: #fff;
    border: 1px solid #dce8f1;
    border-radius: 22px;
    padding: 1.5rem 1.35rem 1.4rem;
    box-shadow:
        0 4px 6px rgba(13, 59, 102, 0.03),
        0 22px 48px rgba(13, 59, 102, 0.1);
    position: relative;
    overflow: hidden;
}

.appt-form-card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e5f8a, #76b82a);
}

@media (min-width: 640px) {
    .appt-form-card {
        padding: 1.85rem 1.75rem 1.65rem;
    }
}

.appt-form-head {
    margin-bottom: 1.25rem;
}

.appt-form-head h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0d3b66;
    margin-bottom: 0.25rem;
}

.appt-form-head p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.appt-form {
    display: grid;
    gap: 0.95rem;
}

.appt-form-row {
    display: grid;
    gap: 0.95rem;
}

@media (min-width: 640px) {
    .appt-form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.appt-field .form-label {
    margin-bottom: 0.4rem;
}

.appt-input {
    border-radius: 12px !important;
    border-color: #e2eef6 !important;
    background: #f7fafc !important;
    padding: 0.85rem 1rem !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.appt-input:hover {
    border-color: #c5d9e8 !important;
}

.appt-input:focus {
    border-color: #76b82a !important;
    box-shadow: 0 0 0 4px rgba(118, 184, 42, 0.15) !important;
    background: #fff !important;
}

.appt-submit {
    width: 100%;
    margin-top: 0.25rem;
    justify-content: center;
    border-radius: 12px !important;
    padding-top: 0.9rem !important;
    padding-bottom: 0.9rem !important;
    font-size: 0.95rem !important;
    box-shadow: 0 10px 24px rgba(118, 184, 42, 0.28);
}

.appt-note {
    margin: 0.15rem 0 0;
    text-align: center;
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.4;
}

.appt-cta {
    margin-top: 2rem;
    padding: 1.5rem 1.35rem;
    border-radius: 18px;
    background: linear-gradient(115deg, #0d3b66 0%, #1a526a 48%, #3f7a12 100%);
    color: #fff;
    display: grid;
    gap: 1.15rem;
    box-shadow: 0 16px 36px rgba(13, 59, 102, 0.22);
}

@media (min-width: 768px) {
    .appt-cta {
        margin-top: 2.5rem;
        padding: 1.65rem 1.85rem;
        grid-template-columns: 1.3fr auto;
        align-items: center;
        gap: 1.5rem;
    }
}

.appt-cta-copy h3 {
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: #fff;
}

.appt-cta-copy p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
    max-width: 36rem;
}

.appt-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.appt-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.appt-cta-btn:hover {
    transform: translateY(-1px);
}

.appt-cta-btn--primary {
    background: #76b82a;
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.appt-cta-btn--primary:hover {
    background: #68a524;
}

.appt-cta-btn--ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.appt-cta-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.55);
}

@media (prefers-reduced-motion: reduce) {
    .appt-photo:hover img { transform: none; }
    .appt-cta-btn:hover { transform: none; }
}

/* ─── Fertility solution cards ─── */
.fertility-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.fertility-card-media {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid #e2eef6;
    background: #e8f0f6;
}

.fertility-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.fertility-card:hover .fertility-card-media img {
    transform: scale(1.05);
}

.fertility-card-tag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #76b82a;
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 2px;
}

.fertility-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.15rem 1.2rem 1.25rem;
}

.fertility-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0d3b66;
    margin: 0 0 0.5rem;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.fertility-card:hover .fertility-card-body h3 {
    color: #1a526a;
}

.fertility-card-body p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.55;
    flex: 1;
}

@media (prefers-reduced-motion: reduce) {
    .fertility-card:hover .fertility-card-media img { transform: none; }
}

/* ─── Founder page photo + bio ─── */
.founder-layout {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .founder-layout {
        grid-template-columns: minmax(260px, 0.95fr) minmax(0, 2.05fr);
        gap: 3rem;
        align-items: start;
    }
}

.founder-aside {
    min-width: 0;
}

@media (min-width: 1024px) {
    .founder-aside {
        position: sticky;
        top: 6.5rem;
    }
}

.founder-photo-panel {
    position: relative;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #0d3b66;
    box-shadow: 0 16px 40px rgba(13, 59, 102, 0.14);
}

.founder-photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto;
    object-fit: cover;
    object-position: top center;
}

.founder-cred {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 2.25rem 1.1rem 1.15rem;
    background: linear-gradient(180deg, transparent, rgba(8, 28, 48, 0.92) 40%);
    color: #fff;
}

.founder-cred-label {
    margin: 0 0 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #a8e063;
}

.founder-cred-title {
    margin: 0 0 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
}

.founder-cred-roles {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.7);
}

.founder-bio {
    min-width: 0;
}

/* ─── Scientific advisory team ─── */
.advisor-section {
    padding: 3.5rem 1rem 4rem;
    background: linear-gradient(180deg, #fff 0%, #f3f8fc 100%);
}

.advisor-inner {
    max-width: 80rem;
    margin: 0 auto;
}

.advisor-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.advisor-intro h2 {
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 700;
    color: #0d3b66;
    margin-bottom: 0.55rem;
}

.advisor-intro p {
    color: #64748b;
    font-size: 0.95rem;
    max-width: 36rem;
    margin: 0 auto;
}

.advisor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
}

@media (min-width: 640px) {
    .advisor-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .advisor-section { padding: 4.25rem 1.5rem 4.5rem; }
    .advisor-grid { grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
}

@media (min-width: 1280px) {
    .advisor-grid { grid-template-columns: repeat(4, 1fr); }
}

.advisor-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    background: #fff;
    border: 1px solid #e2eef6;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    font: inherit;
    color: inherit;
    box-shadow: 0 8px 22px rgba(13, 59, 102, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    animation: researchItemIn 0.45s ease both;
    animation-delay: calc(var(--i, 0) * 0.04s);
}

.advisor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(13, 59, 102, 0.12);
    border-color: rgba(118, 184, 42, 0.35);
}

.advisor-card-photo {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #fff;
}

.advisor-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.45s ease;
}

.advisor-card-photo.is-blank,
.advisor-modal-photo.is-blank {
    background:
        linear-gradient(145deg, #e8f1f8 0%, #f4f8fc 55%, #eef6e8 100%);
}

.advisor-card-blank {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.advisor-card:hover .advisor-card-photo img {
    transform: scale(1.04);
}

.advisor-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.05rem 1.15rem;
    flex: 1;
}

.advisor-card-body strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0d3b66;
    line-height: 1.3;
}

.advisor-card-qual {
    font-size: 0.72rem;
    color: #5a9420;
    font-weight: 600;
    line-height: 1.35;
}

.advisor-card-role {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.advisor-card-cta {
    margin-top: auto;
    padding-top: 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1a526a;
}

.advisor-card:hover .advisor-card-cta {
    color: #5a9420;
}

body.advisor-modal-open {
    overflow: hidden;
}

.advisor-modal[hidden] {
    display: none !important;
}

.advisor-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.advisor-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 28, 48, 0.62);
    backdrop-filter: blur(3px);
}

.advisor-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: min(90vh, 860px);
    overflow: auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
    outline: none;
}

.advisor-modal-close {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background: rgba(13, 59, 102, 0.08);
    color: #0d3b66;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.advisor-modal-close:hover {
    background: rgba(118, 184, 42, 0.18);
}

.advisor-modal-layout {
    display: grid;
    gap: 0;
}

@media (min-width: 768px) {
    .advisor-modal-layout {
        grid-template-columns: 0.9fr 1.2fr;
    }
}

.advisor-modal-photo {
    background: #fff;
    min-height: 16rem;
}

.advisor-modal-photo img {
    width: 100%;
    height: 100%;
    min-height: 16rem;
    max-height: 28rem;
    object-fit: cover;
    object-position: top center;
    display: block;
}

@media (min-width: 768px) {
    .advisor-modal-photo {
        position: sticky;
        top: 0;
        align-self: start;
        min-height: 100%;
    }

    .advisor-modal-photo img {
        min-height: 100%;
        max-height: none;
        aspect-ratio: 3 / 4;
    }
}

.advisor-modal-content {
    padding: 1.35rem 1.25rem 1.5rem;
}

@media (min-width: 768px) {
    .advisor-modal-content {
        padding: 1.75rem 1.6rem 1.75rem;
    }
}

.advisor-modal-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0d3b66;
    margin: 0 0 0.35rem;
    padding-right: 2rem;
    line-height: 1.25;
}

.advisor-modal-qual {
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #5a9420;
}

.advisor-modal-role {
    margin: 0 0 1rem;
    font-size: 0.88rem;
    color: #1a526a;
    line-height: 1.45;
}

.advisor-block {
    margin-bottom: 1rem;
}

.advisor-block h4 {
    margin: 0 0 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0d3b66;
}

.advisor-block p,
.advisor-block li {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.55;
}

.advisor-block p {
    margin: 0 0 0.65rem;
}

.advisor-block ul {
    margin: 0;
    padding-left: 1.1rem;
}

.advisor-block li + li {
    margin-top: 0.28rem;
}

@media (prefers-reduced-motion: reduce) {
    .advisor-card { animation: none; }
    .advisor-card:hover { transform: none; }
    .advisor-card:hover .advisor-card-photo img { transform: none; }
}

/* ─── Academic inner pages ─── */
.academic-sidebar {
    width: 100%;
}

@media (min-width: 1024px) {
    .academic-sidebar {
        position: sticky;
        top: 7rem;
        align-self: start;
        max-height: calc(100vh - 7.5rem);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: rgba(118, 184, 42, 0.45) transparent;
    }

    .academic-sidebar::-webkit-scrollbar {
        width: 5px;
    }

    .academic-sidebar::-webkit-scrollbar-thumb {
        background: rgba(118, 184, 42, 0.45);
        border-radius: 999px;
    }
}

.academic-page-section {
    background:
        radial-gradient(ellipse 55% 40% at 100% 0%, rgba(118, 184, 42, 0.06), transparent 55%),
        radial-gradient(ellipse 45% 35% at 0% 100%, rgba(26, 82, 106, 0.05), transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 45%, #ffffff 100%);
}

.academic-intro {
    display: grid;
    gap: 0;
    margin-bottom: 2rem;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(13, 59, 102, 0.08);
    box-shadow: 0 12px 36px rgba(10, 22, 40, 0.08);
}

@media (min-width: 768px) {
    .academic-intro {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
        align-items: stretch;
    }
}

.academic-intro-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8eef4;
}

@media (min-width: 768px) {
    .academic-intro-media {
        aspect-ratio: 4 / 3;
        min-height: 300px;
    }
}

.academic-intro-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.academic-intro-tag {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1;
    padding: 0.38rem 0.8rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(13, 59, 102, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 2px;
}

.academic-intro-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.45rem 1.35rem 1.55rem;
}

@media (min-width: 768px) {
    .academic-intro-body {
        padding: 2rem 2rem 2rem 1.85rem;
    }
}

.academic-intro-tagline {
    margin: 0 0 0.75rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #76b82a;
    line-height: 1.55;
}

.academic-intro-desc {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.75;
    color: #475569;
}

.academic-content-panel {
    background: #fff;
    border: 1px solid rgba(13, 59, 102, 0.08);
    border-radius: 6px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 8px 28px rgba(10, 22, 40, 0.05);
}

@media (min-width: 1024px) {
    .academic-content-panel { padding: 2rem 2.25rem; }
}

.academic-nav-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(13, 59, 102, 0.08);
    border-radius: 4px;
    padding: 1.35rem 1.25rem 1.35rem 1.5rem;
    box-shadow: 0 10px 32px rgba(10, 22, 40, 0.07);
    overflow: hidden;
}

.academic-nav-rail {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #0d3b66 0%, #1a526a 55%, #76b82a 100%);
}

.academic-nav-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0d3b66;
    margin: 0 0 1rem 0.35rem;
}

.academic-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.academic-nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.72rem 0.85rem 0.72rem 0.65rem;
    border-radius: 3px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    transition: color 0.2s ease, background 0.2s ease;
}

.academic-nav-link:hover {
    color: #1a526a;
    background: rgba(26, 82, 106, 0.06);
}

.academic-nav-link.is-active {
    color: #1a526a;
    font-weight: 700;
    background: linear-gradient(90deg, rgba(26, 82, 106, 0.1) 0%, rgba(118, 184, 42, 0.06) 100%);
}

.academic-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(100, 116, 139, 0.35);
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.academic-nav-link:hover .academic-nav-dot {
    border-color: #76b82a;
}

.academic-nav-link.is-active .academic-nav-dot {
    background: #76b82a;
    border-color: #76b82a;
    box-shadow: 0 0 0 3px rgba(118, 184, 42, 0.2);
    transform: scale(1.1);
}

.academic-nav-label {
    flex: 1;
    min-width: 0;
}

.academic-nav-badge {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #76b82a;
    white-space: nowrap;
}

.program-card-modern {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
    border: 1px solid rgba(13, 59, 102, 0.08);
    box-shadow: 0 8px 28px rgba(10, 22, 40, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.program-card-modern:hover {
    box-shadow: 0 14px 36px rgba(10, 22, 40, 0.1);
    transform: translateY(-2px);
}

.program-card-modern-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8eef4;
}

.program-card-modern-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    display: block;
    image-rendering: auto;
}

.program-card-modern:hover .program-card-modern-media img {
    transform: none;
}

.program-card-modern-body {
    padding: 1.5rem 1.35rem 1.65rem;
}

@media (prefers-reduced-motion: reduce) {
    .program-card-modern:hover .program-card-modern-media img,
    .program-card-modern:hover { transform: none; }
}

/* ─── About page image ─── */
.about-feature-visual {
    overflow: hidden;
    border-radius: 4px;
    background: linear-gradient(135deg, #0d3b66 0%, #1a526a 100%);
    box-shadow: 0 14px 40px rgba(10, 22, 40, 0.12);
    aspect-ratio: 16 / 9;
    max-height: 420px;
}

.about-feature-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
    image-rendering: auto;
}

@media (min-width: 768px) {
    .about-feature-visual {
        aspect-ratio: 21 / 9;
        max-height: 380px;
    }
}

