:root {
    --bg: #f4efe8;
    --surface: rgba(255, 255, 255, 0.74);
    --surface-strong: rgba(255, 252, 246, 0.96);
    --card: #ffffff;
    --text: #1d3228;
    --muted: #66766d;
    --line: rgba(29, 50, 40, 0.1);
    --brand: #184f3d;
    --brand-soft: #d6eadb;
    --accent: #c79346;
    --accent-soft: #f4e3c7;
    --shadow: 0 24px 70px rgba(21, 39, 31, 0.1);
    --shadow-soft: 0 12px 36px rgba(21, 39, 31, 0.07);
    --radius-xl: 36px;
    --radius-lg: 28px;
    --radius-md: 20px;
    --max-width: 1200px;
    --pointer-x: 72%;
    --pointer-y: 24%;
    --hero-skew: -2.2deg;
    --hero-bottom-skew: 4deg;
    --hero-bottom-height: clamp(96px, 12vw, 180px);
    --page-gutter: clamp(18px, 4vw, 40px);
    --section-space: clamp(72px, 9vw, 112px);
    --pointer-shift-x: 0px;
    --pointer-shift-y: 0px;
    --theme-speed: 360ms;
    --theme-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Sora", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 8%, rgba(241, 193, 120, 0.14), transparent 20%),
        radial-gradient(circle at 88% 14%, rgba(113, 184, 153, 0.12), transparent 18%),
        radial-gradient(circle at 48% 56%, rgba(255, 255, 255, 0.66), transparent 32%),
        linear-gradient(160deg, rgba(250, 246, 240, 0.96) 0%, rgba(244, 238, 231, 0.96) 42%, rgba(238, 233, 225, 0.98) 100%),
        linear-gradient(180deg, #f8f4ee 0%, #f3eee6 42%, #ece7de 100%);
    transition: color var(--theme-speed) var(--theme-ease), background var(--theme-speed) var(--theme-ease);
}

.custom-cursor,
.custom-cursor-ring,
.custom-cursor-echo {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    body {
        cursor: none;
    }

    *,
    *::before,
    *::after {
        cursor: none;
    }

    .custom-cursor,
    .custom-cursor-ring,
    .custom-cursor-echo {
        position: fixed;
        top: 0;
        left: 0;
        --cursor-x: 0px;
        --cursor-y: 0px;
        --cursor-scale: 1;
        --cursor-rotate: 0deg;
        --cursor-stretch-x: 1;
        --cursor-stretch-y: 1;
        pointer-events: none;
        z-index: 13000;
        display: block;
        opacity: 0;
        will-change: transform, opacity;
        transition:
            opacity 180ms ease,
            background var(--theme-speed) var(--theme-ease),
            border-color var(--theme-speed) var(--theme-ease),
            box-shadow var(--theme-speed) var(--theme-ease);
    }

    .custom-cursor-echo {
        border-radius: 50%;
        border: 1px solid rgba(24, 79, 61, 0.12);
        background: transparent;
        filter: blur(0.2px);
    }

    .custom-cursor-echo-one {
        width: 26px;
        height: 26px;
        opacity: 0;
        transform: translate3d(calc(var(--cursor-x) - 13px), calc(var(--cursor-y) - 13px), 0) scale(1);
        box-shadow: 0 0 14px rgba(24, 79, 61, 0.03);
    }

    .custom-cursor-echo-two {
        width: 18px;
        height: 18px;
        opacity: 0;
        transform: translate3d(calc(var(--cursor-x) - 9px), calc(var(--cursor-y) - 9px), 0) scale(1);
        border-color: rgba(240, 191, 112, 0.12);
        box-shadow: 0 0 12px rgba(240, 191, 112, 0.03);
    }

    .custom-cursor {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border-radius: 999px;
        background: radial-gradient(circle, rgba(240, 191, 112, 1) 0%, rgba(206, 150, 63, 0.98) 70%, rgba(206, 150, 63, 0.24) 100%);
        box-shadow: 0 0 0 6px rgba(240, 191, 112, 0.08), 0 0 18px rgba(197, 138, 52, 0.2);
        transform: translate3d(calc(var(--cursor-x) - 5px), calc(var(--cursor-y) - 5px), 0) scale(calc(var(--cursor-scale) * var(--cursor-stretch-x)), calc(var(--cursor-scale) * var(--cursor-stretch-y))) rotate(var(--cursor-rotate));
    }

    .custom-cursor-ring {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1.25px solid rgba(24, 79, 61, 0.26);
        background:
            radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 72%),
            conic-gradient(from 180deg, rgba(24, 79, 61, 0.02), rgba(240, 191, 112, 0.14), rgba(24, 79, 61, 0.02));
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 0 16px rgba(24, 79, 61, 0.05);
        transform: translate3d(calc(var(--cursor-x) - 19px), calc(var(--cursor-y) - 19px), 0) scale(var(--cursor-scale));
        animation: cursorHalo 5.2s linear infinite;
    }

    body.cursor-active .custom-cursor,
    body.cursor-active .custom-cursor-ring,
    body.cursor-active .custom-cursor-echo-one,
    body.cursor-active .custom-cursor-echo-two {
        opacity: 1;
    }

    body.cursor-active .custom-cursor-echo-one {
        opacity: 0.32;
    }

    body.cursor-active .custom-cursor-echo-two {
        opacity: 0.24;
    }

    body.cursor-hover .custom-cursor {
        --cursor-scale: 1.34;
        --cursor-rotate: 14deg;
        background: radial-gradient(circle, rgba(142, 209, 176, 0.98) 0%, rgba(24, 79, 61, 0.98) 72%, rgba(24, 79, 61, 0.18) 100%);
        box-shadow: 0 0 0 8px rgba(142, 209, 176, 0.1), 0 0 28px rgba(24, 79, 61, 0.22);
    }

    body.cursor-hover .custom-cursor-ring {
        --cursor-scale: 1.18;
        border-color: rgba(240, 191, 112, 0.58);
        box-shadow: 0 0 0 1px rgba(240, 191, 112, 0.18) inset, 0 0 24px rgba(240, 191, 112, 0.12);
    }

    body.cursor-hover .custom-cursor-echo-one {
        opacity: 0.22;
        border-color: rgba(142, 209, 176, 0.14);
    }

    body.cursor-hover .custom-cursor-echo-two {
        opacity: 0.18;
        border-color: rgba(240, 191, 112, 0.16);
    }

    body.cursor-media .custom-cursor {
        --cursor-scale: 1.08;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.98) 0%, rgba(240, 191, 112, 0.98) 72%, rgba(240, 191, 112, 0.24) 100%);
        box-shadow: 0 0 0 10px rgba(240, 191, 112, 0.08), 0 0 28px rgba(240, 191, 112, 0.2);
    }

    body.cursor-media .custom-cursor-ring {
        --cursor-scale: 1.26;
        border-color: rgba(142, 209, 176, 0.5);
    }

    body.cursor-click .custom-cursor {
        --cursor-scale: 0.88;
        box-shadow: 0 0 0 10px rgba(240, 191, 112, 0.06), 0 0 30px rgba(197, 138, 52, 0.16);
    }

    body.cursor-click .custom-cursor-ring {
        --cursor-scale: 0.82;
        box-shadow: 0 0 0 1px rgba(240, 191, 112, 0.14) inset, 0 0 32px rgba(240, 191, 112, 0.18);
    }

    body.cursor-click .custom-cursor-echo-one,
    body.cursor-click .custom-cursor-echo-two {
        opacity: 0.12;
    }

    body.theme-dark .custom-cursor {
        background: radial-gradient(circle, rgba(240, 191, 112, 1) 0%, rgba(214, 159, 79, 0.98) 70%, rgba(214, 159, 79, 0.24) 100%);
        box-shadow: 0 0 0 8px rgba(240, 191, 112, 0.1), 0 0 30px rgba(240, 191, 112, 0.28);
    }

    body.theme-dark .custom-cursor-ring {
        border-color: rgba(142, 209, 176, 0.42);
        background: radial-gradient(circle, rgba(142, 209, 176, 0.08), transparent 70%);
        box-shadow: 0 0 0 1px rgba(142, 209, 176, 0.12) inset;
    }

    body.theme-dark .custom-cursor-echo-one {
        border-color: rgba(142, 209, 176, 0.16);
        box-shadow: 0 0 14px rgba(142, 209, 176, 0.04);
    }

    body.theme-dark .custom-cursor-echo-two {
        border-color: rgba(240, 191, 112, 0.16);
        box-shadow: 0 0 12px rgba(240, 191, 112, 0.04);
    }

    body.theme-dark.cursor-hover .custom-cursor {
        background: radial-gradient(circle, rgba(142, 209, 176, 1) 0%, rgba(86, 170, 131, 0.98) 70%, rgba(86, 170, 131, 0.22) 100%);
        box-shadow: 0 0 0 10px rgba(142, 209, 176, 0.12), 0 0 34px rgba(142, 209, 176, 0.24);
    }

    body.theme-dark.cursor-hover .custom-cursor-ring {
        border-color: rgba(240, 191, 112, 0.5);
        box-shadow: 0 0 0 1px rgba(240, 191, 112, 0.14) inset, 0 0 26px rgba(240, 191, 112, 0.14);
    }

    body.theme-dark.cursor-media .custom-cursor {
        background: radial-gradient(circle, rgba(255, 255, 255, 0.98) 0%, rgba(240, 191, 112, 1) 72%, rgba(240, 191, 112, 0.28) 100%);
        box-shadow: 0 0 0 10px rgba(240, 191, 112, 0.1), 0 0 30px rgba(240, 191, 112, 0.22);
    }

    body.theme-dark.cursor-media .custom-cursor-ring {
        border-color: rgba(142, 209, 176, 0.56);
    }
}

body::before {
    content: "";
    position: fixed;
    top: -32vh;
    left: -32vw;
    width: 164vw;
    height: 164vh;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    transform: translate3d(-42vw, -42vh, 0) rotate(-18deg);
    transform-origin: center;
    background: linear-gradient(135deg, rgba(8, 16, 13, 0.94) 0%, rgba(14, 24, 20, 0.82) 40%, rgba(14, 24, 20, 0.28) 68%, transparent 100%);
}

body.theme-dark {
    --bg: #0d1714;
    --surface: rgba(18, 28, 24, 0.88);
    --surface-strong: #141f1b;
    --card: #141f1b;
    --text: #f2f7f4;
    --muted: #c2d0c8;
    --line: rgba(223, 235, 227, 0.1);
    --brand: #8ed1b0;
    --brand-soft: rgba(53, 97, 78, 0.36);
    --accent: #f0bf70;
    --accent-soft: rgba(240, 191, 112, 0.18);
    --shadow: 0 24px 70px rgba(2, 8, 6, 0.38);
    --shadow-soft: 0 12px 34px rgba(2, 8, 6, 0.24);
    background:
        radial-gradient(circle at 10% 10%, rgba(240, 191, 112, 0.1), transparent 18%),
        radial-gradient(circle at 85% 18%, rgba(87, 151, 120, 0.14), transparent 20%),
        radial-gradient(circle at 50% 56%, rgba(24, 44, 37, 0.42), transparent 34%),
        linear-gradient(150deg, rgba(10, 18, 15, 0.98) 0%, rgba(11, 21, 18, 0.99) 35%, rgba(8, 14, 12, 1) 100%),
        linear-gradient(180deg, #0b1310 0%, #101916 42%, #0a120f 100%);
}

body.theme-transitioning *,
body.theme-transitioning *::before,
body.theme-transitioning *::after {
    transition:
        color var(--theme-speed) var(--theme-ease),
        background-color var(--theme-speed) var(--theme-ease),
        background var(--theme-speed) var(--theme-ease),
        border-color var(--theme-speed) var(--theme-ease),
        box-shadow var(--theme-speed) var(--theme-ease),
        opacity 240ms ease,
        filter var(--theme-speed) var(--theme-ease) !important;
}

body.theme-transitioning::before {
    animation: themeSweepDark 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.theme-transitioning.theme-sweep-light::before {
    background: linear-gradient(135deg, rgba(255, 248, 238, 0.97) 0%, rgba(246, 239, 229, 0.88) 42%, rgba(246, 239, 229, 0.24) 70%, transparent 100%);
    animation: themeSweepLight 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-shell {
    position: relative;
    overflow: clip;
}

.site-shell::before,
.site-shell::after {
    content: "";
    position: fixed;
    inset: auto;
    width: 32rem;
    height: 32rem;
    border-radius: 999px;
    filter: blur(84px);
    opacity: 0.28;
    pointer-events: none;
    z-index: -1;
    transition: background var(--theme-speed) var(--theme-ease), opacity var(--theme-speed) var(--theme-ease);
}

.site-shell::before {
    top: -8rem;
    left: -10rem;
    background: radial-gradient(circle, rgba(159, 214, 187, 0.92), rgba(159, 214, 187, 0.08) 68%, transparent 100%);
}

.site-shell::after {
    right: -8rem;
    bottom: 2rem;
    background: radial-gradient(circle, rgba(240, 201, 136, 0.9), rgba(240, 201, 136, 0.08) 68%, transparent 100%);
}

body.theme-dark .site-shell::before {
    background: radial-gradient(circle, rgba(74, 126, 102, 0.74), rgba(74, 126, 102, 0.08) 68%, transparent 100%);
    opacity: 0.24;
}

body.theme-dark .site-shell::after {
    background: radial-gradient(circle, rgba(186, 147, 86, 0.62), rgba(186, 147, 86, 0.06) 66%, transparent 100%);
    opacity: 0.22;
}

.hero,
.stats-section,
.programs-section,
.approach-section,
.results-section,
.campus-section,
.contact-section,
.footer {
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
}

.navbar,
.hero-content,
.stats-card,
.program-grid,
.approach-section,
.results-grid,
.gallery-grid,
.contact-card,
.footer {
    max-width: var(--max-width);
    margin: 0 auto;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    transform: none;
    z-index: 9999;
    padding: 10px 22px;
    gap: 24px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.02);
    border: 0;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    backdrop-filter: blur(10px);
    transition:
        background var(--theme-speed) var(--theme-ease),
        box-shadow var(--theme-speed) var(--theme-ease),
        border-color var(--theme-speed) var(--theme-ease),
        transform 180ms ease,
        backdrop-filter var(--theme-speed) var(--theme-ease);
}

.navbar.is-scrolled {
    background: rgba(255, 252, 247, 0.78);
    border-color: rgba(24, 79, 61, 0.1);
    box-shadow: 0 14px 34px rgba(17, 36, 29, 0.08);
    backdrop-filter: blur(18px) saturate(1.15);
}

.navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(240, 191, 112, 0.08), rgba(24, 79, 61, 0.04), rgba(240, 191, 112, 0.08));
    opacity: 0;
    transition: opacity 220ms ease, background var(--theme-speed) var(--theme-ease);
}

.navbar.is-scrolled::before {
    opacity: 1;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.02em;
    padding: 6px 10px 6px 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    flex: 0 0 auto;
}

.brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: contrast(1.12) saturate(1.08);
    transition: filter var(--theme-speed) var(--theme-ease);
}

.brand-copy {
    display: grid;
    gap: 3px;
}

.brand-copy strong {
    font-size: 0.98rem;
    font-weight: 700;
    color: #fffdf8;
    line-height: 1.05;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    transition: color var(--theme-speed) var(--theme-ease), text-shadow var(--theme-speed) var(--theme-ease);
}

.brand-copy small {
    font-size: 0.64rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 247, 236, 0.72);
    transition: color var(--theme-speed) var(--theme-ease);
}

.navbar.is-scrolled .brand-copy strong {
    color: var(--brand);
    text-shadow: none;
}

.navbar.is-scrolled .brand-copy small {
    color: rgba(32, 53, 40, 0.58);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(255, 247, 236, 0.92);
    transition: color var(--theme-speed) var(--theme-ease);
}

.nav-menu a {
    position: relative;
    padding: 9px 12px;
    border-radius: 999px;
    transition:
        background var(--theme-speed) var(--theme-ease),
        color var(--theme-speed) var(--theme-ease);
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    background: rgba(255, 255, 255, 0.16);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    background: var(--accent);
    transition: transform 180ms ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
    transform: scaleX(1);
}

.navbar.is-scrolled .nav-menu {
    color: var(--text);
}

.navbar.is-scrolled .nav-menu a:hover,
.navbar.is-scrolled .nav-menu a:focus-visible {
    background: rgba(24, 79, 61, 0.08);
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fffdf8;
    cursor: pointer;
    transition:
        background var(--theme-speed) var(--theme-ease),
        border-color var(--theme-speed) var(--theme-ease),
        transform 180ms ease,
        color var(--theme-speed) var(--theme-ease),
        box-shadow var(--theme-speed) var(--theme-ease);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
    transform: translateY(-2px);
}

.theme-toggle-track {
    display: inline-flex;
    align-items: center;
    width: 42px;
    height: 24px;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    transition: background var(--theme-speed) var(--theme-ease);
}

.theme-toggle-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(180deg, #fffdf8, #f0e8d7);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
    transition:
        transform 260ms var(--theme-ease),
        background var(--theme-speed) var(--theme-ease),
        box-shadow var(--theme-speed) var(--theme-ease);
}

.theme-toggle-label {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color var(--theme-speed) var(--theme-ease);
}

.theme-toggle[aria-pressed="true"] .theme-toggle-thumb {
    transform: translateX(18px);
}

.theme-toggle[aria-pressed="true"] .theme-toggle-track {
    background: rgba(240, 191, 112, 0.4);
}

.navbar.is-scrolled .theme-toggle {
    background: rgba(24, 79, 61, 0.06);
    border-color: rgba(24, 79, 61, 0.08);
    color: var(--text);
}

.nav-toggle {
    display: none;
    width: 52px;
    height: 52px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
}

.hero {
    position: relative;
    padding-top: clamp(116px, 10vw, 132px);
    padding-bottom: clamp(64px, 8vw, 88px);
    isolation: isolate;
    overflow: clip;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 18%, rgba(255, 244, 220, 0.16), transparent 16%),
        radial-gradient(circle at 80% 22%, rgba(118, 212, 176, 0.12), transparent 20%),
        linear-gradient(125deg, rgba(11, 27, 22, 0.98) 0%, rgba(17, 44, 35, 0.97) 34%, rgba(29, 74, 58, 0.95) 64%, rgba(63, 115, 93, 0.9) 100%);
    border-bottom-left-radius: 44px;
    border-bottom-right-radius: 44px;
    transform: skewY(var(--hero-skew));
    transform-origin: top left;
}

.hero-background::before,
.hero-background::after {
    content: "";
    position: absolute;
    inset: 0;
}

.hero-background::before {
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.12), transparent 20%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 35%),
        linear-gradient(300deg, rgba(240, 191, 112, 0.12), transparent 45%);
    mix-blend-mode: screen;
}

.hero-background::after {
    inset: auto -8% -96px -8%;
    bottom: calc(var(--hero-bottom-height) * -0.52);
    height: var(--hero-bottom-height);
    background: linear-gradient(180deg, rgba(15, 39, 31, 0) 0%, rgba(15, 39, 31, 0.08) 24%, rgba(245, 239, 231, 0.94) 72%, rgba(243, 236, 227, 1) 100%);
    transform: skewY(var(--hero-bottom-skew));
    transform-origin: center top;
}

.hero-gradient,
.hero-particles,
.hero-orbit,
.hero-grid,
.hero-glow {
    position: absolute;
}

.hero-particles {
    inset: 0;
}

.hero-particle {
    position: absolute;
    left: var(--particle-left);
    top: var(--particle-top);
    width: var(--particle-size);
    height: var(--particle-size);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 245, 224, 0.9), rgba(255, 245, 224, 0.05) 70%);
    box-shadow: 0 0 18px rgba(255, 236, 196, 0.2);
    animation: floatParticle 8s ease-in-out infinite;
    animation-delay: var(--particle-delay);
    opacity: 0.42;
}

.hero-orbit {
    left: 58%;
    top: 30%;
    width: clamp(180px, 28vw, 340px);
    height: clamp(180px, 28vw, 340px);
    border-radius: 50%;
    border: 1px solid rgba(255, 248, 231, 0.2);
    transform: translate3d(var(--pointer-shift-x), var(--pointer-shift-y), 0);
    transition: transform 180ms ease;
}

.hero-orbit::before,
.hero-orbit::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 235, 195, 0.16);
}

.hero-orbit::after {
    inset: auto;
    top: 12%;
    right: 10%;
    width: 24px;
    height: 24px;
    border: 0;
    background: radial-gradient(circle, rgba(240, 191, 112, 0.95), rgba(240, 191, 112, 0.15) 72%);
    box-shadow: 0 0 22px rgba(240, 191, 112, 0.34);
    animation: orbitSpin 10s linear infinite;
    transform-origin: -110px 110px;
}

.hero-gradient {
    border-radius: 999px;
    filter: blur(24px);
    opacity: 0.72;
    animation: drift 14s ease-in-out infinite alternate;
}

.hero-gradient-a {
    top: 5%;
    left: -4%;
    width: clamp(14rem, 24vw, 24rem);
    height: clamp(14rem, 24vw, 24rem);
    background: rgba(241, 221, 191, 0.24);
}

section {
    scroll-margin-top: 88px;
}

.hero-gradient-b {
    top: 22%;
    right: -2%;
    width: clamp(16rem, 28vw, 28rem);
    height: clamp(16rem, 28vw, 28rem);
    background: rgba(103, 187, 154, 0.24);
    animation-duration: 18s;
}

.hero-gradient-c {
    bottom: -6%;
    left: 34%;
    width: clamp(14rem, 22vw, 22rem);
    height: clamp(14rem, 22vw, 22rem);
    background: rgba(255, 255, 255, 0.12);
    animation-duration: 16s;
}

.hero-grid {
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: clamp(46px, 7vw, 78px) clamp(46px, 7vw, 78px);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 88%);
    opacity: 0.24;
}

.hero-glow {
    inset: -12%;
    background:
        radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 232, 190, 0.14), transparent 11%),
        radial-gradient(circle at calc(var(--pointer-x) - 12%) calc(var(--pointer-y) + 16%), rgba(127, 218, 182, 0.1), transparent 18%);
    transition: background 180ms ease;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(24px, 4vw, 40px);
    align-items: center;
    min-height: calc(100vh - 120px);
    padding-top: clamp(18px, 3vw, 28px);
}

.hero-copy,
.hero-panel {
    animation: rise 700ms ease both;
}

.hero-copy {
    max-width: 720px;
    padding: clamp(18px, 3vw, 28px);
    border-radius: clamp(22px, 3vw, 32px);
    background: linear-gradient(180deg, rgba(8, 20, 16, 0.34), rgba(8, 20, 16, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 50px rgba(4, 12, 10, 0.18);
    backdrop-filter: blur(10px);
    animation: rise 700ms ease both, heroCardFloat 7s ease-in-out infinite;
    transition:
        background var(--theme-speed) var(--theme-ease),
        border-color var(--theme-speed) var(--theme-ease),
        box-shadow var(--theme-speed) var(--theme-ease),
        color var(--theme-speed) var(--theme-ease),
        backdrop-filter var(--theme-speed) var(--theme-ease);
}

body.theme-dark .navbar.is-scrolled {
    background: rgba(14, 23, 19, 0.94);
    border-color: rgba(142, 209, 176, 0.14);
    box-shadow: 0 14px 30px rgba(2, 8, 6, 0.32);
}

body.theme-dark .navbar::before {
    background: linear-gradient(90deg, rgba(240, 191, 112, 0.08), rgba(142, 209, 176, 0.08), rgba(240, 191, 112, 0.08));
}

body.theme-dark .brand-mark {
    background: linear-gradient(180deg, rgba(26, 37, 33, 0.98), rgba(19, 29, 26, 0.96));
    border-color: rgba(142, 209, 176, 0.18);
}

body.theme-dark .brand-copy strong,
body.theme-dark .navbar.is-scrolled .brand-copy strong {
    color: #eff7f1;
}

body.theme-dark .brand-copy small,
body.theme-dark .navbar.is-scrolled .brand-copy small {
    color: rgba(207, 222, 213, 0.72);
}

body.theme-dark .nav-menu,
body.theme-dark .navbar.is-scrolled .nav-menu {
    color: #eaf3ed;
}

body.theme-dark .nav-menu a:hover,
body.theme-dark .nav-menu a:focus-visible,
body.theme-dark .navbar.is-scrolled .nav-menu a:hover,
body.theme-dark .navbar.is-scrolled .nav-menu a:focus-visible {
    background: rgba(142, 209, 176, 0.12);
}

body.theme-dark .theme-toggle {
    background: rgba(142, 209, 176, 0.08);
    border-color: rgba(142, 209, 176, 0.16);
    color: #eaf3ed;
}

body.theme-dark .theme-toggle-track {
    background: rgba(255, 255, 255, 0.12);
}

body.theme-dark .hero h1,
body.theme-dark .section-heading h2,
body.theme-dark .approach-copy h2,
body.theme-dark .contact-copy h2,
body.theme-dark .slider-caption h3,
body.theme-dark .quote-card blockquote,
body.theme-dark .program-card h3,
body.theme-dark .approach-list h3,
body.theme-dark .result-card h3 {
    color: #f4f8f5;
}

body.theme-dark .hero-copy,
body.theme-dark .panel-card,
body.theme-dark .slider-caption,
body.theme-dark .quote-carousel,
body.theme-dark .program-card,
body.theme-dark .approach-list article,
body.theme-dark .result-card,
body.theme-dark .contact-card,
body.theme-dark .director-profile,
body.theme-dark .gallery-photo,
body.theme-dark .stats-card {
    background-color: rgba(19, 29, 26, 0.9);
    border-color: rgba(142, 209, 176, 0.12);
    box-shadow: 0 20px 44px rgba(2, 8, 6, 0.3);
}

body.theme-dark .result-card.accent,
body.theme-dark .result-card.is-selected {
    background: linear-gradient(180deg, rgba(34, 54, 45, 0.96), rgba(20, 30, 26, 0.98));
}

body.theme-dark .stats-card {
    background: linear-gradient(135deg, rgba(18, 44, 35, 0.98), rgba(32, 72, 57, 0.96));
}

body.theme-dark .gallery-photo-logo img {
    background: linear-gradient(180deg, rgba(26, 37, 33, 0.98), rgba(19, 29, 26, 0.96));
}

body.theme-dark .contact-actions .button-secondary {
    background: rgba(142, 209, 176, 0.08);
    color: #dff3e6;
    border-color: rgba(142, 209, 176, 0.16);
}

body.theme-dark .contact-actions .button-secondary:hover,
body.theme-dark .contact-actions .button-secondary:focus-visible {
    background: rgba(142, 209, 176, 0.14);
}

body.theme-dark .hero-text,
body.theme-dark .section-heading p,
body.theme-dark .approach-copy p,
body.theme-dark .contact-copy p,
body.theme-dark .program-card p,
body.theme-dark .approach-list p,
body.theme-dark .panel-points li,
body.theme-dark .result-card p,
body.theme-dark .contact-details span,
body.theme-dark .director-profile-copy span,
body.theme-dark .footer span,
body.theme-dark .slider-caption p,
body.theme-dark .quote-meta {
    color: #d3dfd8;
}

body.theme-dark .hero-highlights span,
body.theme-dark .stats-grid span {
    color: #dce7e0;
}

body.theme-dark .hero-highlights strong,
body.theme-dark .score,
body.theme-dark .contact-details strong,
body.theme-dark .director-profile-copy strong {
    color: #f0bf70;
}

body.theme-dark .eyebrow,
body.theme-dark .section-kicker,
body.theme-dark .panel-label,
body.theme-dark .slider-tag {
    color: #f2d8a7;
}

.hero-panel {
    animation-delay: 140ms;
    animation: rise 700ms ease both 140ms, heroPanelFloat 8.5s ease-in-out infinite;
}

.eyebrow,
.section-kicker,
.panel-label {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand);
}

.hero .eyebrow {
    color: #f2d8a7;
}

.hero h1,
.section-heading h2,
.approach-copy h2,
.contact-copy h2 {
    margin: 10px 0 15px;
    font-family: "Cormorant Garamond", serif;
    line-height: 0.94;
    letter-spacing: -0.03em;
    font-weight: 700;
}

.hero h1 {
    font-size: 0.8rem;
    max-width: 100ch;
    color: #fffdfa;
    text-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
    line-height: 1;
    transition: color var(--theme-speed) var(--theme-ease), text-shadow var(--theme-speed) var(--theme-ease);
}

.hero-text,
.section-heading p,
.approach-copy p,
.contact-copy p,
.program-card p,
.approach-list p,
.panel-points li,
.result-card p,
.contact-details span,
.stats-grid span,
.footer span {
    color: var(--muted);
    line-height: 1.75;
    transition: color var(--theme-speed) var(--theme-ease);
}

.hero-text {
    max-width: 60ch;
    margin-bottom: 28px;
    color: rgba(255, 247, 236, 0.92);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-3px) scale(1.01);
}

.button::after {
    content: "";
    position: absolute;
    inset: -40% auto -40% -120%;
    width: 58%;
    transform: skewX(-24deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    opacity: 0;
}

.button:hover::after,
.button:focus-visible::after {
    animation: buttonSweep 700ms ease;
}

.button-primary {
    background: linear-gradient(135deg, #f2c47e, #d9a255);
    color: #17342a;
    box-shadow: 0 16px 30px rgba(217, 162, 85, 0.24);
}

.button-secondary {
    background: rgba(255, 250, 242, 0.1);
    color: #fffdf8;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: rgba(255, 250, 242, 0.24);
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hero-highlights div {
    padding: 18px 18px 16px;
    background: rgba(255, 250, 242, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    box-shadow: 0 16px 30px rgba(10, 21, 17, 0.1);
    backdrop-filter: blur(14px);
    transition:
        transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
        background var(--theme-speed) var(--theme-ease),
        border-color var(--theme-speed) var(--theme-ease),
        box-shadow var(--theme-speed) var(--theme-ease),
        color var(--theme-speed) var(--theme-ease);
}

.hero-highlights strong,
.stats-grid strong,
.score {
    display: block;
    margin-bottom: 6px;
    color: var(--brand);
}

.hero-highlights strong {
    color: #ffe1a8;
}

.hero-highlights span {
    color: rgba(255, 247, 236, 0.88);
}

.hero-panel {
    position: relative;
}

.panel-card {
    position: absolute;
    left: -22px;
    top: 20px;
    z-index: 2;
    width: min(290px, 62%);
    padding: 26px;
    background: rgba(255, 252, 247, 0.76);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition:
        background-color var(--theme-speed) var(--theme-ease),
        border-color var(--theme-speed) var(--theme-ease),
        box-shadow var(--theme-speed) var(--theme-ease),
        color var(--theme-speed) var(--theme-ease),
        backdrop-filter var(--theme-speed) var(--theme-ease);
}

.panel-points {
    margin: 16px 0 0;
    padding-left: 18px;
}

.panel-points li {
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), color 220ms ease;
}

.panel-points li + li {
    margin-top: 10px;
}

.panel-image-stack {
    position: relative;
    padding: 60px 0 0 72px;
}

.photo-watermark {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(84px, 11vw, 124px);
    height: clamp(84px, 11vw, 124px);
    border-radius: 28px;
    background: rgba(255, 252, 246, 0.88);
    border: 1px solid rgba(24, 79, 61, 0.12);
    box-shadow: 0 18px 32px rgba(10, 21, 17, 0.16);
    backdrop-filter: blur(10px);
}

.photo-watermark img {
    width: 74%;
    height: 74%;
    object-fit: contain;
    filter: contrast(1.12) saturate(1.08);
}

.photo-watermark-hero {
    top: 30px;
    right: 24px;
    width: clamp(96px, 13vw, 144px);
    height: clamp(96px, 13vw, 144px);
}

.panel-image {
    object-fit: cover;
    box-shadow: var(--shadow);
}

.panel-image-large {
    width: 100%;
    min-height: 600px;
    border-radius: 34px;
}

.panel-image-small {
    position: absolute;
    left: 0;
    bottom: -36px;
    width: 42%;
    aspect-ratio: 4 / 5;
    border: 10px solid rgba(255, 250, 242, 0.95);
    border-radius: 28px;
}

.stats-section {
    padding-top: 28px;
    padding-bottom: 28px;
}

.stats-card {
    background: linear-gradient(135deg, rgba(20, 72, 56, 0.98), rgba(33, 96, 73, 0.94));
    color: #f8f4ed;
    padding: 28px;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 44px rgba(18, 38, 30, 0.16);
    transition:
        background var(--theme-speed) var(--theme-ease),
        border-color var(--theme-speed) var(--theme-ease),
        box-shadow var(--theme-speed) var(--theme-ease),
        color var(--theme-speed) var(--theme-ease);
}

.stats-card .section-kicker,
.stats-card .stats-grid span,
.stats-card strong {
    color: #f8f4ed;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.stats-grid article {
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition:
        transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
        background 240ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 240ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.stats-grid strong {
    font-size: 1.6rem;
}

.programs-section,
.slider-section,
.quotes-section,
.moments-section,
.results-section,
.campus-section,
.contact-section {
    padding-top: var(--section-space);
    padding-bottom: 32px;
}

.hero,
.programs-section,
.moments-section,
.results-section,
.campus-section,
.contact-section {
    position: relative;
}

.hero-content,
.section-heading,
.program-grid,
.results-grid,
.gallery-grid,
.contact-card {
    position: relative;
    z-index: 1;
}

.study-doodle {
    position: absolute;
    width: clamp(70px, 10vw, 138px);
    aspect-ratio: 1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.08));
}

.minimal-arc {
    position: absolute;
    --orbit-dot-size: 14px;
    --orbit-inner-inset: 16px;
    --orbit-spin-duration: 14s;
    --orbit-drift-y: -7px;
    right: clamp(28px, 8vw, 118px);
    top: clamp(140px, 24vw, 280px);
    width: clamp(112px, 16vw, 224px);
    height: clamp(112px, 16vw, 224px);
    border: 1.4px solid rgba(15, 21, 18, 0.16);
    border-radius: 50%;
    opacity: 0.46;
    pointer-events: none;
    z-index: 0;
    transform-origin: center;
    filter: drop-shadow(0 8px 18px rgba(15, 21, 18, 0.05));
    animation: orbitReveal 1200ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both, orbitDrift 11.5s ease-in-out 1.1s infinite;
}

.minimal-arc::before,
.minimal-arc::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.minimal-arc::before {
    inset: var(--orbit-inner-inset);
    border: 1px dashed rgba(15, 21, 18, 0.1);
}

.minimal-arc::after {
    inset: var(--orbit-inner-inset);
    border: 0;
    background:
        radial-gradient(circle at top right, rgba(197, 138, 52, 0.92) 0, rgba(197, 138, 52, 0.92) calc(var(--orbit-dot-size) * 0.34), rgba(197, 138, 52, 0.16) calc(var(--orbit-dot-size) * 0.6), transparent calc(var(--orbit-dot-size) * 0.88));
    box-shadow: 0 0 14px rgba(197, 138, 52, 0.12);
    animation: orbitSpin var(--orbit-spin-duration) linear infinite;
}

.minimal-arc-programs {
    top: 54px;
    right: clamp(28px, 4vw, 52px);
    --orbit-dot-size: 11px;
    --orbit-inner-inset: 13px;
    --orbit-spin-duration: 12.6s;
    --orbit-drift-y: -5px;
    width: clamp(78px, 9vw, 126px);
    height: clamp(78px, 9vw, 126px);
    opacity: 0.34;
    animation-delay: 320ms, 1.5s;
}

.minimal-arc-results {
    top: 92px;
    right: clamp(14px, 3vw, 28px);
    --orbit-dot-size: 15px;
    --orbit-inner-inset: 18px;
    --orbit-spin-duration: 15.6s;
    --orbit-drift-y: -8px;
    width: clamp(104px, 12vw, 176px);
    height: clamp(104px, 12vw, 176px);
    opacity: 0.28;
    animation-delay: 420ms, 1.9s;
}

.minimal-arc-campus {
    left: clamp(12px, 3vw, 26px);
    bottom: 44px;
    --orbit-dot-size: 10px;
    --orbit-inner-inset: 14px;
    --orbit-spin-duration: 10.8s;
    --orbit-drift-y: -4px;
    width: clamp(72px, 8vw, 116px);
    height: clamp(72px, 8vw, 116px);
    opacity: 0.24;
    animation-delay: 500ms, 2.2s;
}

.minimal-arc-contact {
    right: clamp(18px, 3vw, 34px);
    bottom: 34px;
    --orbit-dot-size: 13px;
    --orbit-inner-inset: 17px;
    --orbit-spin-duration: 13.8s;
    --orbit-drift-y: -6px;
    width: clamp(86px, 10vw, 148px);
    height: clamp(86px, 10vw, 148px);
    opacity: 0.32;
    animation-delay: 560ms, 2.4s;
}

.orbit-sparkles {
    position: absolute;
    width: 14px;
    height: 14px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.78;
}

.orbit-sparkles::before,
.orbit-sparkles::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    background:
        linear-gradient(rgba(197, 138, 52, 0.88), rgba(197, 138, 52, 0.88)) center / 1.6px 100% no-repeat,
        linear-gradient(90deg, rgba(197, 138, 52, 0.88), rgba(197, 138, 52, 0.88)) center / 100% 1.6px no-repeat;
    transform-origin: center;
    filter: drop-shadow(0 0 8px rgba(197, 138, 52, 0.16));
    animation: sparkleTwinkle 3.4s ease-in-out infinite;
}

.orbit-sparkles::after {
    width: 9px;
    height: 9px;
    opacity: 0.74;
    transform: rotate(45deg);
    animation-delay: 900ms;
}

.orbit-sparkles-hero {
    right: clamp(72px, 11vw, 164px);
    top: clamp(126px, 18vw, 208px);
}

.orbit-sparkles-hero::before {
    box-shadow: 34px 20px 0 0 rgba(0, 0, 0, 0), 88px 82px 0 0 rgba(0, 0, 0, 0);
}

.orbit-sparkles-hero::after {
    left: 34px;
    top: 18px;
}

.orbit-sparkles-programs {
    right: clamp(42px, 6vw, 88px);
    top: 42px;
}

.orbit-sparkles-programs::after {
    left: 20px;
    top: 26px;
}

.orbit-sparkles-results {
    right: clamp(26px, 5vw, 76px);
    top: 76px;
}

.orbit-sparkles-results::after {
    left: 26px;
    top: 42px;
}

.orbit-sparkles-campus {
    left: clamp(46px, 6vw, 94px);
    bottom: 72px;
}

.orbit-sparkles-campus::after {
    left: 18px;
    top: 24px;
}

.orbit-sparkles-contact {
    right: clamp(54px, 6vw, 102px);
    bottom: 46px;
}

.orbit-sparkles-contact::after {
    left: 28px;
    top: 16px;
}

.study-doodle-pencil {
    top: 132px;
    right: clamp(12px, 6vw, 54px);
    transform: rotate(10deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128' fill='none' stroke='%230f1512' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M26 96l-4 18 18-4 53-53-14-14-53 53z'/%3E%3Cpath d='M71 31l14 14'/%3E%3Cpath d='M85 17l18 18'/%3E%3Cpath d='M22 114l18-4'/%3E%3Cpath d='M86 16l8-8 26 26-8 8'/%3E%3C/svg%3E");
}

.study-doodle-notebook {
    top: 34px;
    right: clamp(10px, 5vw, 38px);
    transform: rotate(-8deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128' fill='none' stroke='%230f1512' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='24' y='18' width='74' height='92' rx='12'/%3E%3Cpath d='M42 18v92'/%3E%3Cpath d='M56 38h24'/%3E%3Cpath d='M56 56h22'/%3E%3Cpath d='M56 74h18'/%3E%3Cpath d='M32 34h6M32 50h6M32 66h6M32 82h6'/%3E%3C/svg%3E");
}

.study-doodle-book {
    top: 38px;
    left: clamp(8px, 3vw, 22px);
    transform: rotate(-10deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128' fill='none' stroke='%230f1512' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 30c11-9 26-11 40-5v68c-14-6-29-4-40 5V30z'/%3E%3Cpath d='M104 30c-11-9-26-11-40-5v68c14-6 29-4 40 5V30z'/%3E%3Cpath d='M64 25v68'/%3E%3Cpath d='M34 48c8-3 16-3 24 0'/%3E%3Cpath d='M70 48c8-3 16-3 24 0'/%3E%3C/svg%3E");
}

.study-doodle-ruler {
    right: clamp(10px, 4vw, 32px);
    bottom: 34px;
    transform: rotate(18deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128' fill='none' stroke='%230f1512' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='20' y='42' width='88' height='30' rx='10'/%3E%3Cpath d='M34 42v14M46 42v10M58 42v14M70 42v10M82 42v14M94 42v10'/%3E%3C/svg%3E");
}

.study-doodle-bulb {
    top: 18px;
    right: clamp(14px, 4vw, 36px);
    transform: rotate(6deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128' fill='none' stroke='%230f1512' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M64 22c-18 0-32 14-32 31 0 12 6 18 15 27 5 5 7 10 8 16h18c1-6 3-11 8-16 9-9 15-15 15-27 0-17-14-31-32-31z'/%3E%3Cpath d='M53 105h22'/%3E%3Cpath d='M56 114h16'/%3E%3Cpath d='M48 18l-6-8M80 18l6-8M30 34l-10-2M98 34l10-2'/%3E%3C/svg%3E");
}

body.theme-dark .study-doodle {
    opacity: 0.12;
    filter: invert(1) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.16));
}

body.theme-dark .minimal-arc {
    border-color: rgba(255, 255, 255, 0.16);
}

body.theme-dark .minimal-arc::before,
body.theme-dark .minimal-arc::after {
    border-color: rgba(255, 255, 255, 0.1);
}

body.theme-dark .minimal-arc::after {
    background:
        radial-gradient(circle at top right, rgba(240, 191, 112, 0.94) 0, rgba(240, 191, 112, 0.94) calc(var(--orbit-dot-size) * 0.34), rgba(240, 191, 112, 0.16) calc(var(--orbit-dot-size) * 0.6), transparent calc(var(--orbit-dot-size) * 0.88));
    box-shadow: 0 0 16px rgba(240, 191, 112, 0.14);
}

body.theme-dark .orbit-sparkles::before,
body.theme-dark .orbit-sparkles::after {
    background:
        linear-gradient(rgba(240, 191, 112, 0.94), rgba(240, 191, 112, 0.94)) center / 1.5px 100% no-repeat,
        linear-gradient(90deg, rgba(240, 191, 112, 0.94), rgba(240, 191, 112, 0.94)) center / 100% 1.5px no-repeat;
    filter: drop-shadow(0 0 8px rgba(240, 191, 112, 0.18));
}

body.theme-dark .gallery-pros {
    background: rgba(19, 29, 26, 0.9);
    border-color: rgba(142, 209, 176, 0.08);
}

body.theme-dark .gallery-pros-grid article {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(142, 209, 176, 0.08);
}

body.theme-dark .gallery-pros-grid strong {
    color: #edf5ef;
}

body.theme-dark .gallery-pros-grid span {
    color: #d7e3dc;
}

body.theme-dark .lightbox {
    background: rgba(4, 8, 7, 0.84);
}

body.theme-dark .lightbox-dialog {
    background: rgba(16, 24, 21, 0.94);
    border-color: rgba(142, 209, 176, 0.12);
    box-shadow: 0 30px 60px rgba(1, 5, 4, 0.38);
}

body.theme-dark .lightbox-image {
    background: rgba(12, 20, 17, 0.88);
}

body.theme-dark .lightbox-watermark {
    color: rgba(240, 191, 112, 0.24);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}

body.theme-dark .lightbox-caption {
    color: #edf5ef;
}

body.theme-dark .lightbox-note {
    color: #b8c8bf;
}

body.theme-dark .logo-photo {
    background: rgba(19, 29, 26, 0.9);
}

body.theme-dark .logo-photo img {
    background: linear-gradient(180deg, rgba(26, 37, 33, 0.98), rgba(19, 29, 26, 0.96));
}

body.theme-dark .writing-card {
    background: rgba(18, 28, 24, 0.72);
    border-color: rgba(142, 209, 176, 0.08);
    box-shadow: 0 18px 34px rgba(2, 8, 6, 0.16);
}

body.theme-dark .writing-card::before {
    border-color: rgba(142, 209, 176, 0.08);
}

body.theme-dark .writing-title {
    color: #edf5ef;
}

body.theme-dark .writing-line path {
    stroke: rgba(240, 191, 112, 0.72);
}

body.theme-dark .writing-orbit {
    border-color: rgba(255, 255, 255, 0.1);
}

body.theme-dark .writing-orbit::before {
    border-color: rgba(255, 255, 255, 0.08);
}

body.theme-dark .writing-orbit::after {
    background:
        radial-gradient(circle at top right, rgba(240, 191, 112, 0.9) 0, rgba(240, 191, 112, 0.9) 5px, rgba(240, 191, 112, 0.12) 8px, transparent 11px);
}

body.theme-dark .writing-notes span {
    background: rgba(18, 28, 24, 0.72);
    border-color: rgba(142, 209, 176, 0.08);
    color: #edf5ef;
}

body.theme-dark .footer-line {
    background: linear-gradient(90deg, rgba(240, 191, 112, 0.26), transparent);
}

body.theme-dark .section-heading::after,
body.theme-dark .approach-copy::after,
body.theme-dark .contact-copy::after {
    background: linear-gradient(90deg, rgba(142, 209, 176, 0.68), rgba(142, 209, 176, 0.14));
}

body.theme-dark .program-card::after,
body.theme-dark .approach-list article::after,
body.theme-dark .contact-card::before {
    border-color: rgba(142, 209, 176, 0.08);
}

body.theme-dark .program-card:hover,
body.theme-dark .program-card:focus-within {
    background: linear-gradient(180deg, rgba(20, 31, 27, 0.98), rgba(17, 27, 24, 0.96));
    border-color: rgba(240, 191, 112, 0.16);
    box-shadow: 0 30px 52px rgba(1, 5, 4, 0.34);
}

body.theme-dark .program-card:hover::before,
body.theme-dark .program-card:focus-within::before {
    background: linear-gradient(180deg, rgba(240, 191, 112, 0.42), rgba(240, 191, 112, 0.08) 28%, transparent 60%);
}

body.theme-dark .program-card:hover::after,
body.theme-dark .program-card:focus-within::after {
    border-color: rgba(142, 209, 176, 0.16);
}

body.theme-dark .program-card:hover h3,
body.theme-dark .program-card:focus-within h3 {
    color: #f3f7f4;
}

body.theme-dark .section-divider span::before {
    background: linear-gradient(90deg, transparent, rgba(142, 209, 176, 0.22), transparent);
}

body.theme-dark .section-divider span::after {
    border-color: rgba(142, 209, 176, 0.34);
    background: rgba(20, 30, 26, 0.92);
}

body.theme-dark .section-divider-soft span::before {
    background: linear-gradient(90deg, transparent, rgba(240, 191, 112, 0.24), transparent);
}

body.theme-dark .section-divider-soft span::after {
    border-color: rgba(240, 191, 112, 0.34);
}

body.theme-dark .slider-viewport::after,
body.theme-dark .quote-carousel::after {
    border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .gallery-photo::after {
    border-color: rgba(255, 255, 255, 0.16);
}

body.theme-dark .moments-photo {
    background: rgba(19, 29, 26, 0.9);
}

body.theme-dark .moments-photo::after {
    border-color: rgba(255, 255, 255, 0.16);
}

.section-heading,
.approach-copy {
    max-width: 720px;
    margin-bottom: 12px;
    position: relative;
}

.section-heading::after,
.approach-copy::after,
.contact-copy::after {
    content: "";
    display: block;
    width: clamp(64px, 10vw, 118px);
    height: 1px;
    margin-top: 18px;
    background: linear-gradient(90deg, rgba(24, 79, 61, 0.7), rgba(24, 79, 61, 0.12));
}

.section-heading h2,
.approach-copy h2,
.contact-copy h2 {
    font-size: clamp(2.5rem, 5vw, 4.1rem);
}

.section-divider {
    display: flex;
    justify-content: center;
    padding: 20px var(--page-gutter) 0;
}

.section-divider span {
    display: block;
    width: min(220px, 36vw);
    height: 18px;
    position: relative;
}

.section-divider span::before,
.section-divider span::after {
    content: "";
    position: absolute;
    top: 50%;
}

.section-divider span::before {
    left: 0;
    right: 0;
    height: 1px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, transparent, rgba(24, 79, 61, 0.18), transparent);
}

.section-divider span::after {
    left: 50%;
    width: 14px;
    height: 14px;
    transform: translate(-50%, -50%);
    border: 1.5px solid rgba(24, 79, 61, 0.28);
    border-radius: 50%;
    background: rgba(255, 250, 242, 0.78);
}

.section-divider-soft span::before {
    background: linear-gradient(90deg, transparent, rgba(197, 138, 52, 0.2), transparent);
}

.section-divider-soft span::after {
    border-color: rgba(197, 138, 52, 0.32);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 44px;
}

.program-card,
.approach-list article,
.result-card,
.contact-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.64);
    box-shadow: var(--shadow-soft);
}

.program-card {
    padding: 28px;
    border-radius: 28px;
    min-height: 220px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition:
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1),
        background 320ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.program-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transition: height 280ms ease, opacity 280ms ease, background 280ms ease;
}

.program-card::after {
    transition:
        border-color 280ms ease,
        inset 280ms ease,
        opacity 280ms ease;
}

.program-card::marker {
    content: none;
}

.program-card h3,
.program-card p {
    position: relative;
    z-index: 1;
    transition:
        transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
        color var(--theme-speed) var(--theme-ease);
}

.program-card::selection {
    background: rgba(240, 191, 112, 0.24);
}

.program-card > * {
    position: relative;
    z-index: 1;
}

.program-card::before,
.program-card::after {
    z-index: 0;
}

.program-card .program-card-glow,
.program-card .program-card-orb {
    display: none;
}

.program-card::selection,
.program-card *::selection {
    background: rgba(240, 191, 112, 0.24);
}

.program-card::before {
    box-shadow: 0 0 22px rgba(240, 191, 112, 0.16);
}

.program-card::after,
.approach-list article::after,
.contact-card::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(24, 79, 61, 0.08);
    border-radius: 18px;
    pointer-events: none;
}

.program-card:hover,
.program-card:focus-within {
    transform: translateY(-10px) rotate(-0.4deg);
    box-shadow: 0 30px 52px rgba(25, 45, 34, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 241, 232, 0.88));
    border-color: rgba(240, 191, 112, 0.24);
}

.program-card:hover::before,
.program-card:focus-within::before {
    height: 100%;
    opacity: 0.12;
    background: linear-gradient(180deg, rgba(240, 191, 112, 0.7), rgba(240, 191, 112, 0.08) 28%, transparent 58%);
}

.program-card:hover::after,
.program-card:focus-within::after {
    inset: 12px;
    border-color: rgba(24, 79, 61, 0.14);
}

.program-card:hover h3,
.program-card:focus-within h3 {
    transform: translateY(-2px);
    color: #123f31;
}

.program-card:hover p,
.program-card:focus-within p {
    transform: translateY(-1px);
}

.program-card:nth-child(2n):hover,
.program-card:nth-child(2n):focus-within {
    transform: translateY(-10px) rotate(0.4deg);
}

.program-card:nth-child(1)::before {
    background: linear-gradient(90deg, #f0bf70, transparent);
}

.program-card:nth-child(2)::before {
    background: linear-gradient(90deg, #8ac8aa, transparent);
}

.program-card:nth-child(3)::before {
    background: linear-gradient(90deg, #c58a34, transparent);
}

.program-card:nth-child(4)::before {
    background: linear-gradient(90deg, #5a9d7d, transparent);
}

.program-card h3,
.approach-list h3,
.result-card h3 {
    margin: 0 0 12px;
    font-size: 1.15rem;
}

.approach-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
    align-items: start;
    padding-top: clamp(56px, 7vw, 80px);
}

.approach-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.approach-list article {
    padding: 24px;
    border-radius: 28px;
    position: relative;
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.approach-list article:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 38px rgba(25, 45, 34, 0.1);
}

.approach-list span {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 18px;
    background: var(--accent-soft);
    color: var(--brand);
    font-weight: 700;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 44px;
}

.interactive-slider {
    position: relative;
    margin: 44px auto 0;
    max-width: var(--max-width);
    padding: 0 72px 58px;
}

.slider-viewport {
    overflow: hidden;
    border-radius: 36px;
    box-shadow: var(--shadow);
    position: relative;
    transition:
        background-color var(--theme-speed) var(--theme-ease),
        background var(--theme-speed) var(--theme-ease),
        border-color var(--theme-speed) var(--theme-ease),
        box-shadow var(--theme-speed) var(--theme-ease),
        color var(--theme-speed) var(--theme-ease),
        transform 220ms ease;
}

.slider-viewport::after,
.quote-carousel::after {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    pointer-events: none;
    z-index: 1;
}

.slider-viewport::after,
.quote-carousel::after {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    pointer-events: none;
    z-index: 1;
}

.slider-track {
    display: flex;
    transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.slider-slide {
    min-width: 100%;
    position: relative;
    background: #10271f;
}

.slider-slide img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    opacity: 0.92;
    transform: scale(1.035);
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), filter 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    filter: saturate(0.94);
}

.slider-slide.is-active img {
    transform: scale(1);
    filter: saturate(1);
}

.slider-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 21, 17, 0.08), rgba(10, 21, 17, 0.72));
}

.slider-caption {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 28px;
    z-index: 1;
    max-width: 620px;
    padding: 24px 26px;
    border-radius: 28px;
    background: rgba(255, 252, 247, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(18px);
    transform: translateY(18px);
    opacity: 0;
    transition:
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
        background var(--theme-speed) var(--theme-ease),
        border-color var(--theme-speed) var(--theme-ease),
        box-shadow var(--theme-speed) var(--theme-ease),
        color var(--theme-speed) var(--theme-ease);
}

.slider-slide.is-active .slider-caption {
    transform: translateY(0);
    opacity: 1;
}

.slider-tag {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand);
}

.slider-caption h3 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 2.2vw, 2.2rem);
    font-family: "Cormorant Garamond", serif;
    line-height: 1;
}

.slider-caption p:last-child {
    margin-bottom: 0;
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 250, 242, 0.92);
    color: var(--brand);
    box-shadow: 0 16px 32px rgba(25, 45, 34, 0.18);
    cursor: pointer;
    font-size: 1.2rem;
}

.slider-control-prev {
    left: 0;
}

.slider-control-next {
    right: 0;
}

.slider-dots,
.quote-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.slider-dots {
    margin-top: 20px;
}

.slider-dots button,
.quote-dots button {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background: rgba(24, 79, 61, 0.18);
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease;
}

.slider-dots button.is-active,
.quote-dots button.is-active {
    background: var(--accent);
    transform: scale(1.15);
}

.quotes-section {
    overflow: hidden;
}

.quote-carousel {
    max-width: 940px;
    margin: 44px auto 0;
    padding: 30px;
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(24, 79, 61, 0.95), rgba(45, 96, 77, 0.94));
    box-shadow: var(--shadow);
    color: #f8f4ed;
    position: relative;
    transition:
        background var(--theme-speed) var(--theme-ease),
        border-color var(--theme-speed) var(--theme-ease),
        box-shadow var(--theme-speed) var(--theme-ease),
        color var(--theme-speed) var(--theme-ease);
}

.quote-track {
    position: relative;
    min-height: 250px;
}

.quote-card {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: center;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 520ms cubic-bezier(0.22, 1, 0.36, 1), transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.quote-card.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.quote-mark {
    margin: 0;
    font-size: 4rem;
    line-height: 1;
    color: rgba(241, 221, 191, 0.88);
}

.quote-card blockquote {
    margin: 0;
    max-width: 18ch;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.quote-meta {
    margin: 0;
    color: rgba(248, 244, 237, 0.78);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    transition: color var(--theme-speed) var(--theme-ease);
}

.quote-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
}

.quote-button {
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #f8f4ed;
    cursor: pointer;
    font-weight: 600;
}

.result-card {
    position: relative;
    padding: 22px 18px;
    border-radius: 24px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition:
        transform 220ms ease,
        box-shadow var(--theme-speed) var(--theme-ease),
        border-color var(--theme-speed) var(--theme-ease),
        background var(--theme-speed) var(--theme-ease),
        color var(--theme-speed) var(--theme-ease);
}

.result-card.accent {
    background: linear-gradient(180deg, rgba(214, 234, 219, 0.9), rgba(255, 255, 255, 0.82));
}

.result-card::before {
    content: "";
    position: absolute;
    inset: auto -20% -45% auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 191, 112, 0.28), transparent 70%);
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 220ms ease, transform 220ms ease;
}

.result-card::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 3.5px;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(240, 191, 112, 0.1), rgba(24, 79, 61, 0.22), rgba(240, 191, 112, 0.1), rgba(24, 79, 61, 0.22));
    background-size: 220% 220%;
    animation: resultBorderFlow 5s linear infinite;
    opacity: 0.86;
    pointer-events: none;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.result-card:hover,
.result-card:focus-visible,
.result-card.is-selected {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 44px rgba(17, 36, 29, 0.16);
}

.result-card:hover::before,
.result-card:focus-visible::before,
.result-card.is-selected::before {
    opacity: 1;
    transform: scale(1);
}

.result-card:hover::after,
.result-card:focus-visible::after,
.result-card.is-selected::after {
    opacity: 1;
    background: linear-gradient(120deg, rgba(240, 191, 112, 0.95), rgba(24, 79, 61, 0.9), rgba(240, 191, 112, 0.95), rgba(24, 79, 61, 0.9));
    background-size: 220% 220%;
}

.result-card:focus-visible {
    outline: 0;
}

.result-card.is-selected {
    background: linear-gradient(180deg, rgba(240, 191, 112, 0.28), rgba(255, 255, 255, 0.96));
}

.result-card.is-selected img {
    transform: scale(1.06);
    box-shadow: 0 18px 32px rgba(17, 36, 29, 0.18);
}

.result-card img {
    width: 112px;
    height: 112px;
    border-radius: 22px;
    object-fit: cover;
    margin: 0 auto 18px;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 28px rgba(25, 45, 34, 0.12);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.score {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.result-card p:last-child {
    margin-bottom: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 20px;
    margin-top: 44px;
}

.moments-grid {
    margin-top: 0;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
    gap: 18px;
}

.gallery-showcase {
    max-width: var(--max-width);
    margin: 44px auto 0;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 24px;
    align-items: start;
}

.gallery-pros {
    position: sticky;
    top: 108px;
    padding: 28px;
    border-radius: 32px;
    background: rgba(255, 252, 247, 0.74);
    border: 1px solid rgba(24, 79, 61, 0.08);
    box-shadow: var(--shadow-soft);
}

.gallery-pros-label {
    margin: 0 0 18px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand);
}

.gallery-pros-grid {
    display: grid;
    gap: 14px;
}

.gallery-pros-grid article {
    padding: 16px 16px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(24, 79, 61, 0.08);
}

.gallery-pros-grid strong {
    display: block;
    margin-bottom: 6px;
    color: var(--brand);
    font-size: 1rem;
}

.gallery-pros-grid span {
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.gallery-page-hero .hero-content {
    grid-template-columns: 1fr;
    min-height: min(76vh, 760px);
}

.gallery-page-copy {
    max-width: 840px;
}

.gallery-archive {
    max-width: var(--max-width);
    margin: 52px auto 0;
}

.gallery-subheading {
    margin-bottom: 24px;
}

.archive-grid,
.portrait-grid {
    display: grid;
    gap: 16px;
}

.archive-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portrait-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.portrait-photo,
.portrait-photo img {
    min-height: 220px;
}

.portrait-photo-feature {
    grid-column: span 2;
}

.logo-photo {
    background: rgba(255, 252, 247, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-photo img {
    object-fit: contain;
    padding: 18px;
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(244, 238, 225, 0.96));
}

.moments-photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    min-height: 220px;
    border-radius: 28px;
    background: rgba(255, 250, 242, 0.88);
    box-shadow: var(--shadow-soft);
    transition:
        transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow var(--theme-speed) var(--theme-ease),
        background var(--theme-speed) var(--theme-ease),
        border-color var(--theme-speed) var(--theme-ease);
}

.moments-photo::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 18px;
    pointer-events: none;
}

.moments-photo img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.moments-photo:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 44px rgba(25, 45, 34, 0.14);
}

.moments-photo:hover img {
    transform: scale(1.045);
    filter: saturate(1.04);
}

.moments-photo-wide {
    grid-column: span 2;
}

.moments-photo-tall {
    grid-row: span 2;
    min-height: 458px;
}

.moments-photo-tall img {
    min-height: 458px;
}

.gallery-photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
    background: rgba(255, 250, 242, 0.88);
    transition:
        transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow var(--theme-speed) var(--theme-ease),
        background var(--theme-speed) var(--theme-ease),
        border-color var(--theme-speed) var(--theme-ease);
}

.gallery-photo::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 18px;
    pointer-events: none;
}

.gallery-photo::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 18px;
    pointer-events: none;
}

.gallery-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-photo:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 44px rgba(25, 45, 34, 0.14);
}

.gallery-photo:hover img {
    transform: scale(1.045);
    filter: saturate(1.05);
}

.gallery-photo-tall img {
    height: 100%;
    min-height: 320px;
}

.gallery-photo-tall {
    grid-row: span 2;
}

.gallery-photo-end {
    grid-column: 3;
}

.lightbox-trigger {
    cursor: zoom-in;
    -webkit-user-drag: none;
    user-select: none;
}

.panel-image,
.result-card img,
.slider-slide img,
.gallery-photo img,
.moments-photo img,
.director-profile img,
.lightbox-image {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.lightbox {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 32px;
    background: rgba(9, 16, 13, 0.78);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 12000;
    transition: opacity 240ms ease, visibility 240ms ease, background var(--theme-speed) var(--theme-ease);
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-dialog {
    position: relative;
    width: min(92vw, 1040px);
    max-height: 88vh;
    padding: 18px;
    border-radius: 28px;
    background: rgba(255, 252, 246, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 30px 60px rgba(3, 9, 7, 0.28);
    transform: translateY(14px) scale(0.97);
    transition:
        transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
        background var(--theme-speed) var(--theme-ease),
        border-color var(--theme-speed) var(--theme-ease),
        box-shadow var(--theme-speed) var(--theme-ease);
}

.lightbox.is-open .lightbox-dialog {
    transform: translateY(0) scale(1);
}

.lightbox-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(18, 39, 31, 0.84);
    color: #fffdf8;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 14px 24px rgba(3, 9, 7, 0.2);
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
    z-index: 1;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
    transform: scale(1.06);
    background: rgba(24, 79, 61, 0.96);
    box-shadow: 0 18px 28px rgba(3, 9, 7, 0.24);
}

.lightbox-figure {
    display: grid;
    gap: 14px;
    margin: 0;
}

.lightbox-media {
    position: relative;
}

.lightbox-image {
    width: 100%;
    max-height: min(72vh, 820px);
    object-fit: contain;
    border-radius: 22px;
    background: rgba(248, 243, 234, 0.86);
}

.lightbox-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.8rem, 3.4vw, 3.6rem);
    letter-spacing: 0.18em;
    color: rgba(20, 39, 32, 0.22);
    text-transform: uppercase;
    pointer-events: none;
    user-select: none;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
    white-space: nowrap;
}

.lightbox-note {
    color: var(--muted);
    font-size: 0.84rem;
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lightbox-caption {
    color: var(--brand);
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
}

.gallery-photo-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 1px solid rgba(24, 79, 61, 0.08);
}

.gallery-photo-logo img {
    object-fit: contain;
    padding: 12px;
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(244, 238, 225, 0.96));
}

.contact-section {
    padding-bottom: 96px;
}

.writing-finale {
    padding: 24px var(--page-gutter) 38px;
}

.writing-card {
    max-width: 820px;
    margin: 0 auto;
    padding: 30px 32px 26px;
    border-radius: 28px;
    background: rgba(255, 252, 247, 0.62);
    border: 1px solid rgba(24, 79, 61, 0.08);
    box-shadow: 0 18px 34px rgba(25, 45, 34, 0.05);
    position: relative;
    overflow: hidden;
}

.writing-card::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(24, 79, 61, 0.06);
    border-radius: 20px;
    pointer-events: none;
}

.writing-orbit {
    position: absolute;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 1px solid rgba(24, 79, 61, 0.12);
    opacity: 0.5;
    pointer-events: none;
}

.writing-orbit::before,
.writing-orbit::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.writing-orbit::before {
    inset: 12px;
    border: 1px dashed rgba(24, 79, 61, 0.12);
}

.writing-orbit::after {
    inset: 12px;
    background:
        radial-gradient(circle at top right, rgba(197, 138, 52, 0.86) 0, rgba(197, 138, 52, 0.86) 5px, rgba(197, 138, 52, 0.1) 8px, transparent 11px);
    animation: orbitSpin 12s linear infinite;
}

.writing-orbit-left {
    left: -16px;
    top: 18px;
}

.writing-orbit-right {
    right: 20px;
    bottom: 18px;
    width: 64px;
    height: 64px;
}

.writing-title {
    margin: 8px 0 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 0.98;
    color: var(--brand);
}

.writing-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.writing-notes span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 252, 247, 0.74);
    border: 1px solid rgba(24, 79, 61, 0.08);
    color: var(--brand);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.writing-stage {
    --writing-path: path("M18 98 C72 80, 110 52, 152 74 S236 132, 286 102 S372 54, 420 84 S500 134, 560 100 S610 78, 622 88");
    position: relative;
    margin-top: 18px;
    height: 122px;
}

.writing-line {
    width: 100%;
    height: 100%;
    display: block;
}

.writing-line path {
    fill: none;
    stroke: rgba(24, 79, 61, 0.66);
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: writingStroke 6.2s linear infinite;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 40px;
    border-radius: 36px;
    position: relative;
}

.director-profile {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 26px;
    background: rgba(24, 79, 61, 0.06);
    border: 1px solid rgba(24, 79, 61, 0.1);
    width: fit-content;
    transition:
        background var(--theme-speed) var(--theme-ease),
        border-color var(--theme-speed) var(--theme-ease),
        box-shadow var(--theme-speed) var(--theme-ease),
        color var(--theme-speed) var(--theme-ease);
}

.director-profile img {
    width: 128px;
    height: 128px;
    object-fit: cover;
    border-radius: 28px;
    border: 4px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 32px rgba(17, 36, 29, 0.16);
}

.director-profile-copy {
    display: grid;
    gap: 6px;
}

.director-profile-copy strong {
    color: var(--brand);
    font-size: 1.35rem;
}

.director-profile-copy span {
    color: var(--muted);
    font-size: 1rem;
    transition: color var(--theme-speed) var(--theme-ease);
}

.contact-details {
    display: grid;
    gap: 18px;
    align-content: center;
}

.contact-details p {
    display: grid;
    gap: 6px;
    margin: 0;
}

.contact-details strong {
    color: var(--brand);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.contact-actions .button-primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--brand);
    color: #fffdf8;
    box-shadow: 0 0 0 1px rgba(10, 54, 39, 0.2), 0 14px 28px rgba(15, 61, 45, 0.22), 0 0 26px rgba(18, 79, 61, 0.28);
}

.contact-actions .button-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 3px;
    border-radius: inherit;
    background: linear-gradient(120deg, #0a3b2e, #1b6a53, #0f4c3b, #1b6a53, #0a3b2e);
    background-size: 220% 220%;
    animation: resultBorderFlow 4s linear infinite;
    pointer-events: none;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.contact-actions .button-primary:hover,
.contact-actions .button-primary:focus-visible {
    box-shadow: 0 0 0 1px rgba(10, 54, 39, 0.24), 0 18px 34px rgba(15, 61, 45, 0.26), 0 0 34px rgba(18, 79, 61, 0.4);
}

.contact-actions .button-secondary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: rgba(24, 79, 61, 0.08);
    color: var(--brand);
    border: 1px solid rgba(24, 79, 61, 0.14);
    backdrop-filter: none;
    box-shadow: 0 0 0 1px rgba(24, 79, 61, 0.08), 0 10px 20px rgba(17, 36, 29, 0.06), 0 0 18px rgba(24, 79, 61, 0.12);
}

.contact-actions .button-secondary::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2.5px;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(10, 59, 46, 0.9), rgba(27, 106, 83, 0.72), rgba(10, 59, 46, 0.9), rgba(27, 106, 83, 0.72));
    background-size: 220% 220%;
    animation: resultBorderFlow 4.5s linear infinite;
    pointer-events: none;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.contact-actions .button-secondary:hover,
.contact-actions .button-secondary:focus-visible {
    background: rgba(24, 79, 61, 0.14);
    box-shadow: 0 0 0 1px rgba(24, 79, 61, 0.12), 0 14px 24px rgba(17, 36, 29, 0.08), 0 0 24px rgba(24, 79, 61, 0.18);
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 0;
    padding-bottom: 34px;
    color: var(--muted);
    font-size: 0.94rem;
}

.footer-line {
    flex: 1 1 auto;
    max-width: 120px;
    height: 1px;
    background: linear-gradient(90deg, rgba(24, 79, 61, 0.24), transparent);
    transition: max-width 240ms cubic-bezier(0.22, 1, 0.36, 1), background var(--theme-speed) var(--theme-ease);
}

.footer p {
    margin: 0;
    font-weight: 600;
    color: var(--brand);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(0.975);
    filter: blur(10px);
    transition:
        opacity 850ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 850ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 850ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform, filter;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.reveal-on-scroll.reveal-left {
    transform: translate3d(-34px, 0, 0) scale(0.975);
}

.reveal-on-scroll.reveal-right {
    transform: translate3d(34px, 0, 0) scale(0.975);
}

.reveal-on-scroll.reveal-pop {
    transform: translate3d(0, 22px, 0) scale(0.92);
}

.reveal-on-scroll.reveal-tilt {
    transform: translate3d(0, 26px, 0) rotate(1.4deg) scale(0.96);
}

.reveal-on-scroll.reveal-left.revealed,
.reveal-on-scroll.reveal-right.revealed,
.reveal-on-scroll.reveal-pop.revealed,
.reveal-on-scroll.reveal-tilt.revealed {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

.section-heading.revealed h2,
.approach-copy.revealed h2,
.contact-copy.revealed h2 {
    animation: headingLift 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.section-heading,
.approach-copy,
.hero-copy,
.panel-card,
.stats-card,
.slider-viewport,
.quote-carousel,
.contact-card,
.gallery-pros,
.writing-card,
.footer,
.director-profile,
.gallery-pros-grid article,
.writing-notes span,
.quote-button,
.slider-control,
.nav-toggle,
.brand-mark img,
.brand-copy strong,
.brand-copy small,
.director-profile img {
    transition:
        transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
        background var(--theme-speed) var(--theme-ease),
        box-shadow var(--theme-speed) var(--theme-ease),
        border-color var(--theme-speed) var(--theme-ease),
        color var(--theme-speed) var(--theme-ease),
        opacity 220ms ease,
        filter 240ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .brand:hover .brand-mark img,
    .brand:focus-visible .brand-mark img {
        transform: translateY(-2px) scale(1.04);
        filter: drop-shadow(0 10px 18px rgba(17, 36, 29, 0.16));
    }

    .brand:hover .brand-copy strong,
    .brand:focus-visible .brand-copy strong {
        color: var(--accent);
    }

    .hero-copy:hover,
    .hero-copy:focus-within,
    .panel-card:hover,
    .panel-card:focus-within {
        transform: translateY(-4px);
        box-shadow: 0 24px 42px rgba(17, 36, 29, 0.14);
    }

    .panel-points li:hover {
        transform: translateX(4px);
        color: var(--brand);
    }

    .hero-highlights div:hover,
    .hero-highlights div:focus-within {
        transform: translateY(-6px);
        background: rgba(255, 250, 242, 0.18);
        border-color: rgba(255, 255, 255, 0.24);
        box-shadow: 0 22px 38px rgba(10, 21, 17, 0.16);
    }

    .stats-card:hover,
    .stats-card:focus-within {
        transform: translateY(-4px);
        box-shadow: 0 28px 48px rgba(17, 36, 29, 0.16);
    }

    .stats-grid article:hover,
    .stats-grid article:focus-within {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.14);
        box-shadow: 0 18px 34px rgba(10, 21, 17, 0.12);
    }

    .section-heading:hover h2,
    .approach-copy:hover h2,
    .contact-copy:hover h2 {
        color: var(--brand);
        transform: translateX(2px);
    }

    .slider-viewport:hover,
    .quote-carousel:hover,
    .contact-card:hover,
    .gallery-pros:hover,
    .writing-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 28px 48px rgba(17, 36, 29, 0.14);
    }

    .slider-control:hover,
    .slider-control:focus-visible {
        transform: translateY(-50%) scale(1.06);
        background: rgba(255, 250, 242, 1);
        box-shadow: 0 20px 36px rgba(17, 36, 29, 0.2);
    }

    .quote-button:hover,
    .quote-button:focus-visible {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(255, 255, 255, 0.3);
        box-shadow: 0 14px 24px rgba(5, 15, 12, 0.16);
    }

    .gallery-pros-grid article:hover,
    .gallery-pros-grid article:focus-within {
        transform: translateY(-4px);
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 20px 34px rgba(17, 36, 29, 0.08);
        border-color: rgba(24, 79, 61, 0.14);
    }

    .director-profile:hover,
    .director-profile:focus-within {
        transform: translateY(-5px);
        box-shadow: 0 22px 38px rgba(17, 36, 29, 0.12);
        background: rgba(24, 79, 61, 0.09);
    }

    .director-profile:hover img {
        transform: scale(1.03);
        box-shadow: 0 22px 34px rgba(17, 36, 29, 0.18);
    }

    .writing-notes span:hover,
    .writing-notes span:focus-visible {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.94);
        border-color: rgba(24, 79, 61, 0.16);
        box-shadow: 0 14px 24px rgba(17, 36, 29, 0.08);
    }

    .footer:hover {
        color: var(--text);
    }

    .footer:hover .footer-line {
        max-width: 180px;
        background: linear-gradient(90deg, rgba(24, 79, 61, 0.4), transparent);
    }

    body.theme-dark .hero-highlights div:hover,
    body.theme-dark .hero-highlights div:focus-within,
    body.theme-dark .stats-grid article:hover,
    body.theme-dark .stats-grid article:focus-within {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.14);
        box-shadow: 0 20px 36px rgba(1, 5, 4, 0.28);
    }

    body.theme-dark .gallery-pros-grid article:hover,
    body.theme-dark .gallery-pros-grid article:focus-within,
    body.theme-dark .writing-notes span:hover,
    body.theme-dark .writing-notes span:focus-visible,
    body.theme-dark .director-profile:hover,
    body.theme-dark .director-profile:focus-within {
        background: rgba(22, 34, 29, 0.96);
        border-color: rgba(142, 209, 176, 0.16);
        box-shadow: 0 18px 32px rgba(1, 5, 4, 0.3);
    }

    body.theme-dark .footer:hover {
        color: #eef5f0;
    }

    body.theme-dark .footer:hover .footer-line {
        background: linear-gradient(90deg, rgba(142, 209, 176, 0.46), transparent);
    }
}

.program-card.revealed,
.approach-list article.revealed,
.result-card.revealed,
.gallery-grid img.revealed {
    animation: revealPulse 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll,
    .reveal-on-scroll.revealed,
    .reveal-on-scroll.reveal-left,
    .reveal-on-scroll.reveal-right,
    .reveal-on-scroll.reveal-pop,
    .reveal-on-scroll.reveal-tilt {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
        animation: none;
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes drift {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(24px, -18px, 0) scale(1.08);
    }
}

@keyframes cursorHalo {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(24deg);
    }
}

@keyframes heroCardFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes heroPanelFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes orbitReveal {
    0% {
        opacity: 0;
        transform: translate3d(0, 14px, 0) scale(0.86);
    }

    100% {
        opacity: 0.46;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes orbitDrift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, var(--orbit-drift-y), 0) scale(1.015);
    }
}

@keyframes sparkleTwinkle {
    0%,
    100% {
        opacity: 0.42;
        transform: scale(0.74) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.16) rotate(10deg);
    }
}

@keyframes writingStroke {
    0%,
    14% {
        stroke-dashoffset: 100;
    }

    24% {
        stroke-dashoffset: 90;
    }

    34% {
        stroke-dashoffset: 76;
    }

    46% {
        stroke-dashoffset: 56;
    }

    58% {
        stroke-dashoffset: 34;
    }

    70% {
        stroke-dashoffset: 16;
    }

    82%,
    84% {
        stroke-dashoffset: 6;
    }

    92%,
    100% {
        stroke-dashoffset: 0;
    }
}


@keyframes themeSweepDark {
    0% {
        opacity: 0;
        transform: translate3d(-42vw, -42vh, 0) rotate(-18deg);
    }

    16% {
        opacity: 1;
    }

    58% {
        opacity: 0.9;
        transform: translate3d(4vw, 4vh, 0) rotate(-18deg);
    }

    100% {
        opacity: 0;
        transform: translate3d(52vw, 52vh, 0) rotate(-18deg);
    }
}

@keyframes themeSweepLight {
    0% {
        opacity: 0;
        transform: translate3d(-42vw, -42vh, 0) rotate(-18deg);
    }

    16% {
        opacity: 1;
    }

    58% {
        opacity: 0.82;
        transform: translate3d(4vw, 4vh, 0) rotate(-18deg);
    }

    100% {
        opacity: 0;
        transform: translate3d(52vw, 52vh, 0) rotate(-18deg);
    }
}

@keyframes buttonSweep {
    0% {
        left: -120%;
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    100% {
        left: 160%;
        opacity: 0;
    }
}

@keyframes floatParticle {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(0.95);
        opacity: 0.24;
    }

    50% {
        transform: translate3d(0, -18px, 0) scale(1.12);
        opacity: 0.56;
    }
}

@keyframes orbitSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes resultBorderFlow {
    from {
        background-position: 0% 50%;
    }

    to {
        background-position: 200% 50%;
    }
}

@keyframes headingLift {
    0% {
        opacity: 0.7;
        transform: translateY(18px);
        letter-spacing: -0.01em;
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: -0.03em;
    }
}

@keyframes revealPulse {
    0% {
        box-shadow: 0 0 0 rgba(24, 79, 61, 0);
    }

    55% {
        box-shadow: 0 18px 34px rgba(24, 79, 61, 0.08);
    }

    100% {
        box-shadow: inherit;
    }
}

@media (max-width: 1100px) {
    .hero-content,
    .approach-section,
    .contact-card {
        grid-template-columns: 1fr;
    }

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

    .approach-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .panel-card {
        position: static;
        width: 100%;
        margin-bottom: 18px;
    }

    .panel-image-stack {
        padding: 0;
    }

    .panel-image-small {
        width: 34%;
        left: auto;
        right: 16px;
        bottom: 16px;
    }
}

@media (max-width: 820px) {
    .navbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        padding: calc(env(safe-area-inset-top, 0px) + 10px) 14px 10px;
        gap: 10px;
    }

    .nav-toggle {
        display: inline-flex;
        justify-self: end;
        z-index: 10001;
    }

    .brand {
        min-width: 0;
        gap: 10px;
        padding-right: 0;
    }

    .brand-mark {
        width: 58px;
        height: 58px;
    }

    .brand-copy {
        min-width: 0;
    }

    .brand-copy strong {
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .brand-copy small {
        letter-spacing: 0.12em;
    }

    .theme-toggle {
        margin-left: 0;
        justify-self: start;
        padding: 7px 10px;
    }

    .theme-toggle-label {
        font-size: 0.72rem;
        letter-spacing: 0.1em;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        right: 12px;
        left: 12px;
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 14px;
        border-radius: 22px;
        background: rgba(255, 250, 242, 0.985);
        border: 1px solid rgba(24, 79, 61, 0.1);
        box-shadow: 0 18px 34px rgba(17, 36, 29, 0.12);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
        z-index: 10000;
    }

    .nav-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-menu a {
        width: 100%;
        padding: 12px 14px;
        border-radius: 14px;
        color: var(--text);
    }

    .nav-toggle span {
        background: var(--text);
    }

    .navbar:not(.is-scrolled) {
        background: rgba(13, 32, 26, 0.18);
        backdrop-filter: blur(10px);
    }

    .navbar:not(.is-scrolled) .nav-toggle {
        background: rgba(255, 250, 242, 0.92);
    }

    body.theme-dark .navbar:not(.is-scrolled) {
        background: rgba(8, 16, 13, 0.42);
        border-bottom-color: rgba(142, 209, 176, 0.08);
        backdrop-filter: blur(14px);
    }

    body.theme-dark .nav-menu {
        background: rgba(13, 21, 18, 0.98);
        border-color: rgba(142, 209, 176, 0.12);
        box-shadow: 0 20px 38px rgba(1, 5, 4, 0.42);
    }

    body.theme-dark .nav-menu a {
        color: #eef5f0;
    }

    body.theme-dark .nav-toggle {
        background: rgba(20, 31, 27, 0.96);
        border-color: rgba(142, 209, 176, 0.14);
    }

    body.theme-dark .nav-toggle span {
        background: #eef5f0;
    }

    body.theme-dark .theme-toggle {
        background: rgba(20, 31, 27, 0.96);
        border-color: rgba(142, 209, 176, 0.14);
    }

    .hero {
        padding-top: 118px;
        padding-bottom: 48px;
    }

    .hero-content {
        min-height: auto;
        padding-top: 24px;
        gap: 24px;
    }

    .hero-copy {
        padding: 22px 20px;
    }

    .hero-text {
        margin-bottom: 22px;
    }

    .hero-actions {
        gap: 10px;
        margin-bottom: 22px;
    }

    .hero-actions .button {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
    }

    .hero-background {
        border-bottom-left-radius: 32px;
        border-bottom-right-radius: 32px;
        --hero-skew: -1.1deg;
        --hero-bottom-skew: 2.6deg;
        --hero-bottom-height: 104px;
        transform: skewY(var(--hero-skew));
    }

    .hero-highlights,
    .stats-grid,
    .program-grid,
    .results-grid,
    .approach-list,
    .gallery-grid,
    .moments-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-showcase {
        grid-template-columns: 1fr;
    }

    .gallery-pros {
        position: static;
    }

    .section-heading h2,
    .approach-copy h2,
    .contact-copy h2 {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .interactive-slider,
    .quote-carousel,
    .contact-card,
    .stats-card,
    .gallery-pros,
    .writing-card {
        border-radius: 28px;
    }

    .slider-slide img {
        height: 500px;
    }

    .slider-caption {
        left: 20px;
        right: 20px;
        bottom: 20px;
        padding: 20px;
    }

    .quote-track {
        min-height: 270px;
    }

    .archive-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .portrait-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .moments-photo-wide,
    .moments-photo-tall,
    .portrait-photo-feature {
        grid-column: auto;
        grid-row: auto;
    }

    .moments-photo-tall,
    .moments-photo-tall img {
        min-height: 240px;
    }

    .interactive-slider {
        padding-left: 0;
        padding-right: 0;
    }

    .slider-control {
        top: auto;
        bottom: -2px;
        transform: none;
    }

    .slider-control-prev {
        left: calc(50% - 66px);
    }

    .slider-control-next {
        right: calc(50% - 66px);
    }

    .slider-dots {
        margin-top: 28px;
    }

    .gallery-photo-tall,
    .gallery-photo-end {
        grid-row: auto;
    }

    .gallery-photo-tall img {
        min-height: 240px;
    }

    .gallery-photo-end {
        grid-column: auto;
    }

    .gallery-photo-logo {
        padding: 18px;
    }
}

@media (max-width: 560px) {
    .hero,
    .stats-section,
    .programs-section,
    .approach-section,
    .results-section,
    .moments-section,
    .campus-section,
    .contact-section,
    .footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .navbar {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: calc(env(safe-area-inset-top, 0px) + 8px) 12px 8px;
        gap: 8px;
    }

    .brand {
        gap: 8px;
    }

    .brand-mark {
        width: 52px;
        height: 52px;
    }

    .brand-copy strong {
        font-size: 0.8rem;
    }

    .brand-copy small {
        font-size: 0.54rem;
        letter-spacing: 0.16em;
    }

    .hero h1 {
        font-size: clamp(1.95rem, 10vw, 2.7rem);
        max-width: 11.5ch;
    }

    .hero {
        padding-top: 102px;
    }

    .hero-copy {
        padding: 18px 16px 16px;
        border-radius: 24px;
    }

    .hero-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hero-actions .button {
        width: 100%;
        min-height: 48px;
    }

    .hero-background {
        --hero-skew: -0.7deg;
        --hero-bottom-skew: 1.6deg;
        --hero-bottom-height: 82px;
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
    }

    .hero-background::after {
        inset: auto -4% calc(var(--hero-bottom-height) * -0.48) -4%;
    }

    .hero-gradient-a,
    .hero-gradient-b,
    .hero-gradient-c {
        filter: blur(34px);
    }

    .study-doodle {
        width: 68px;
        opacity: 0.12;
    }

    .study-doodle-notebook,
    .study-doodle-book,
    .study-doodle-ruler {
        display: none;
    }

    .study-doodle-pencil {
        top: 118px;
        right: 10px;
    }

    .study-doodle-bulb {
        top: 8px;
        right: 12px;
    }

    .minimal-arc {
        --orbit-dot-size: 10px;
        --orbit-inner-inset: 13px;
        --orbit-drift-y: -4px;
        right: 16px;
        top: 150px;
        width: 84px;
        height: 84px;
        opacity: 0.22;
    }

    .minimal-arc-programs,
    .minimal-arc-results,
    .minimal-arc-campus {
        display: none;
    }

    .orbit-sparkles-programs,
    .orbit-sparkles-results,
    .orbit-sparkles-campus {
        display: none;
    }

    .minimal-arc-contact {
        --orbit-dot-size: 9px;
        --orbit-inner-inset: 12px;
        --orbit-drift-y: -4px;
        right: 12px;
        bottom: 18px;
        width: 76px;
        height: 76px;
        opacity: 0.18;
    }

    .orbit-sparkles-hero {
        right: 44px;
        top: 132px;
    }

    .orbit-sparkles-contact {
        right: 42px;
        bottom: 30px;
    }

    .writing-card {
        padding: 24px 20px 18px;
    }

    .writing-orbit-left {
        left: -24px;
        top: 10px;
        width: 72px;
        height: 72px;
    }

    .writing-orbit-right {
        right: 8px;
        bottom: 12px;
        width: 48px;
        height: 48px;
    }

    .writing-notes {
        gap: 8px;
    }

    .writing-notes span {
        min-height: 30px;
        padding: 0 12px;
        font-size: 0.7rem;
    }

    .writing-stage {
        height: 92px;
    }

    .moments-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .archive-grid,
    .portrait-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .archive-grid .moments-photo,
    .portrait-grid .moments-photo {
        border-radius: 20px;
    }

    .gallery-pros {
        padding: 22px 18px;
    }

    .gallery-pros-grid article {
        padding: 14px 14px 12px;
    }

    .section-heading h2,
    .approach-copy h2,
    .contact-copy h2 {
        font-size: clamp(1.9rem, 9vw, 2.4rem);
        line-height: 0.98;
    }

    .section-heading::after,
    .approach-copy::after,
    .contact-copy::after {
        margin-top: 14px;
    }

    .stats-card,
    .program-card,
    .approach-list article,
    .result-card,
    .gallery-pros,
    .contact-card,
    .writing-card,
    .lightbox-dialog {
        border-radius: 24px;
    }

    .moments-photo,
    .moments-photo img,
    .moments-photo-tall,
    .moments-photo-tall img,
    .portrait-photo,
    .portrait-photo img {
        min-height: 200px;
    }

    .writing-pencil {
        width: 42px;
        height: 12px;
    }

    .photo-watermark {
        top: 12px;
        right: 12px;
        width: 72px;
        height: 72px;
        border-radius: 20px;
    }

    .photo-watermark-hero {
        width: 88px;
        height: 88px;
    }

    .hero-highlights,
    .stats-grid,
    .program-grid,
    .results-grid,
    .approach-list,
    .gallery-grid,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .hero-highlights,
    .stats-grid,
    .program-grid,
    .results-grid,
    .approach-list {
        gap: 14px;
    }

    .slider-slide img {
        height: 360px;
    }

    .slider-caption {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 16px;
    }

    .slider-caption h3 {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
    }

    .quote-carousel {
        padding: 20px 16px;
    }

    .quote-track {
        min-height: 260px;
    }

    .quote-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .quote-button {
        width: 100%;
        min-height: 48px;
    }

    .panel-image-large {
        min-height: 320px;
    }

    .panel-image-small {
        position: static;
        width: 62%;
        margin: -44px 0 0 auto;
    }

    .contact-card {
        padding: 24px;
    }

    .director-profile {
        width: 100%;
        justify-content: flex-start;
        gap: 14px;
        padding: 16px;
    }

    .director-profile img {
        width: 92px;
        height: 92px;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-actions .button {
        width: 100%;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .lightbox {
        padding: 16px;
    }

    .lightbox-dialog {
        width: 100%;
        padding: 14px;
        border-radius: 22px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }

    .lightbox-image {
        max-height: 68vh;
        border-radius: 16px;
    }

    .lightbox-watermark {
        font-size: 1.15rem;
        letter-spacing: 0.12em;
    }

    body.theme-dark .hero-copy,
    body.theme-dark .panel-card,
    body.theme-dark .slider-caption,
    body.theme-dark .quote-carousel,
    body.theme-dark .contact-card,
    body.theme-dark .director-profile,
    body.theme-dark .gallery-photo,
    body.theme-dark .program-card,
    body.theme-dark .approach-list article,
    body.theme-dark .result-card,
    body.theme-dark .stats-card {
        background-color: rgba(15, 24, 20, 0.96);
        border-color: rgba(142, 209, 176, 0.1);
        box-shadow: 0 18px 34px rgba(1, 5, 4, 0.34);
    }

    body.theme-dark .hero-text,
    body.theme-dark .section-heading p,
    body.theme-dark .approach-copy p,
    body.theme-dark .contact-copy p,
    body.theme-dark .program-card p,
    body.theme-dark .approach-list p,
    body.theme-dark .panel-points li,
    body.theme-dark .result-card p,
    body.theme-dark .contact-details span,
    body.theme-dark .director-profile-copy span,
    body.theme-dark .slider-caption p,
    body.theme-dark .quote-meta {
        color: #dfe8e2;
    }

    body.theme-dark .hero-highlights div,
    body.theme-dark .stats-grid article {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.1);
    }

    body.theme-dark .hero-background {
        background:
            radial-gradient(circle at 18% 16%, rgba(240, 191, 112, 0.14), transparent 16%),
            radial-gradient(circle at 82% 20%, rgba(92, 166, 132, 0.12), transparent 18%),
            linear-gradient(125deg, rgba(8, 18, 14, 0.98) 0%, rgba(11, 29, 22, 0.98) 38%, rgba(18, 43, 33, 0.96) 66%, rgba(28, 57, 45, 0.92) 100%);
    }
}
