:root {
    --cream: #fff8ec;
    --paper: #fffdf8;
    --peach: #ffd8c5;
    --coral: #ef785f;
    --coral-dark: #d95f49;
    --yellow: #f7c95f;
    --mint: #cfe3ce;
    --sage: #819d7a;
    --lavender: #d9cfec;
    --sky: #cde7f0;
    --plum: #3c3041;
    --muted: #716774;
    --line: rgba(60, 48, 65, .12);
    --shadow: 0 18px 50px rgba(83, 62, 47, .10);
    --radius-lg: 32px;
    --radius-md: 22px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--plum);
    background: var(--cream);
    font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(89, 70, 54, .045) .8px, transparent .8px);
    background-size: 8px 8px;
    content: "";
    pointer-events: none;
}

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

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.1;
    letter-spacing: -.035em;
}

h1 {
    margin-bottom: 24px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 7vw, 6.4rem);
    font-weight: 500;
}

h2 {
    margin-bottom: 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 500;
}

h3 {
    font-size: 1.35rem;
}

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

.narrow-container,
.article-container {
    max-width: 790px;
}

.section {
    padding: 100px 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 12px 18px;
    transform: translateY(-150%);
    border-radius: 12px;
    color: #fff;
    background: var(--plum);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    isolation: isolate;
    overflow: hidden;
    border-bottom: 0;
    background:
        radial-gradient(circle at 18% -24%, rgba(247, 201, 95, .38), transparent 34%),
        radial-gradient(circle at 78% -18%, rgba(205, 231, 240, .48), transparent 32%),
        radial-gradient(circle at 52% 115%, rgba(207, 227, 206, .38), transparent 42%),
        linear-gradient(180deg, rgba(255, 252, 244, .99), rgba(255, 242, 222, .98));
    backdrop-filter: blur(18px);
    box-shadow:
        0 20px 46px rgba(83, 62, 47, .14),
        inset 0 -1px 0 rgba(255, 255, 255, .68);
}

.site-header::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 6px;
    background:
        linear-gradient(90deg,
            var(--coral) 0 18%,
            var(--yellow) 18% 36%,
            var(--mint) 36% 54%,
            var(--sky) 54% 72%,
            var(--lavender) 72% 86%,
            var(--coral) 86% 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .28) 0 7px, transparent 7px 15px);
    box-shadow: 0 -1px 0 rgba(255, 255, 255, .62) inset;
    content: "";
}

.site-alerts {
    position: relative;
    z-index: 12;
    width: 100%;
}

.site-alerts-inner {
    display: grid;
    width: 100%;
}

.site-alert {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    width: 100%;
    overflow: hidden;
    padding: 7px max(20px, calc((100% - 1500px) / 2 + 10px));
    border: 0;
    border-radius: 0;
    color: #fff;
    box-shadow: 0 10px 24px rgba(83, 62, 47, .13);
    isolation: isolate;
}

.site-alert::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: clamp(120px, 16vw, 240px);
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28) 24%, rgba(255, 255, 255, .82) 50%, rgba(255, 255, 255, .28) 76%, transparent);
    box-shadow: 0 0 7px rgba(255, 255, 255, .28);
    content: "";
    pointer-events: none;
    offset-path: inset(2px);
    offset-distance: 0%;
    offset-rotate: auto;
    animation: site-alert-border-lap 8s linear infinite;
}

.site-alert:nth-child(even)::before {
    animation-delay: -4s;
}

.site-alert::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -30%;
    z-index: 0;
    width: 28%;
    transform: translateX(0);
    background: linear-gradient(105deg, transparent 8%, rgba(255, 255, 255, .04) 32%, rgba(255, 255, 255, .30) 50%, rgba(255, 255, 255, .04) 68%, transparent 92%);
    content: "";
    pointer-events: none;
    animation: site-alert-sheen 7s ease-in-out infinite;
}

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

.site-alert-vazno {
    color: var(--plum);
    background:
        radial-gradient(circle at 18% 10%, rgba(255, 222, 146, .38), transparent 36%),
        linear-gradient(135deg, #f08a43, #d76524);
}

.site-alert-hitno {
    color: #fff;
    background:
        radial-gradient(circle at 18% 10%, rgba(255, 208, 198, .32), transparent 36%),
        linear-gradient(135deg, #df5344, #ad2d27);
}

.site-alert-label {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 5px 11px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 999px;
    color: var(--coral-dark);
    background: rgba(255, 248, 226, .94);
    box-shadow: 0 3px 10px rgba(83, 62, 47, .10), inset 0 1px 0 rgba(255, 255, 255, .72);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    animation: site-alert-label-pulse 3.2s ease-in-out infinite;
}

@keyframes site-alert-border-lap {
    to {
        offset-distance: 100%;
    }
}

@keyframes site-alert-sheen {
    0% {
        transform: translateX(0);
    }

    15%,
    100% {
        transform: translateX(470%);
    }
}

@keyframes site-alert-label-pulse {
    0%,
    100% {
        opacity: .92;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 0 4px rgba(255, 255, 255, .07), 0 4px 12px rgba(83, 62, 47, .09);
    }
}

.site-alert-text {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.site-alert-text strong {
    font-weight: 950;
}

.site-alert-text span {
    font-weight: 750;
}

.site-alert-vazno .site-alert-text {
    color: var(--plum);
    text-shadow: 0 1px 0 rgba(255, 255, 255, .22);
}

.site-alert-vazno .site-alert-text span {
    color: #49394c;
}

.site-alert-hitno .site-alert-label {
    color: #a92f29;
}

.site-alert-hitno .site-alert-text {
    color: #fff;
    text-shadow: 0 1px 2px rgba(73, 18, 19, .30);
}

.header-inner {
    position: relative;
    display: grid;
    width: min(calc(100% - 20px), 1500px);
    min-height: 104px;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(6px, .8vw, 18px);
    padding-block: 2px 7px;
}

.brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}

.brand-logo {
    width: 190px;
    height: auto;
    filter: drop-shadow(0 5px 8px rgba(60, 48, 65, .13));
}

.brand-header {
    position: relative;
    display: inline-flex;
    justify-self: center;
    padding: 0 6px;
    transform: translateY(1px);
}

.brand-header .brand-logo {
    width: clamp(270px, 16vw, 310px);
    filter: drop-shadow(0 7px 10px rgba(60, 48, 65, .15));
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1vw, 22px);
    min-width: 0;
    white-space: nowrap;
}

.desktop-nav-left {
    justify-self: end;
}

.desktop-nav-right {
    justify-self: start;
}

.main-nav {
    display: none;
}

.desktop-nav a,
.main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 3px;
    border-radius: 999px;
    font-size: clamp(.98rem, .9vw, 1.06rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-decoration: none;
    color: #3f3345;
    transition: color .2s ease, transform .2s ease;
}

.desktop-nav a:not(.nav-visit)::after,
.main-nav a:not(.nav-visit)::after {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 2px;
    transform: scaleX(0);
    border-radius: 999px;
    background: var(--coral);
    content: "";
    transition: transform .2s ease;
}

.desktop-nav a:not(.nav-visit):hover,
.desktop-nav a:not(.nav-visit):focus-visible,
.desktop-nav a[aria-current="page"],
.main-nav a:not(.nav-visit):hover,
.main-nav a:not(.nav-visit):focus-visible,
.main-nav a[aria-current="page"] {
    color: var(--coral-dark);
}

.desktop-nav a:not(.nav-visit):hover::after,
.desktop-nav a:not(.nav-visit)[aria-current="page"]::after,
.main-nav a:not(.nav-visit):hover::after,
.main-nav a:not(.nav-visit)[aria-current="page"]::after {
    transform: scaleX(1);
}

.nav-visit,
.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, outline-color .2s ease;
}

.button-primary {
    color: #fff;
    background:
        radial-gradient(circle at 26% 18%, rgba(255, 222, 146, .5), transparent 34%),
        linear-gradient(180deg, #ff846c, var(--coral-dark));
    box-shadow:
        0 16px 34px rgba(217, 95, 73, .34),
        0 6px 16px rgba(247, 201, 95, .18),
        inset 0 1px 0 rgba(255, 255, 255, .26);
}

.nav-visit {
    color: #3f3345;
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .74), transparent 31%),
        linear-gradient(135deg, #f9dc72 0%, #bfe7d1 50%, #9fd8eb 100%);
    box-shadow:
        0 14px 30px rgba(73, 152, 152, .22),
        0 6px 16px rgba(247, 201, 95, .24),
        inset 0 1px 0 rgba(255, 255, 255, .52);
}

.desktop-nav .nav-visit {
    min-height: 48px;
    margin-left: 4px;
    padding: 12px 20px;
    border: 2px solid rgba(255, 132, 108, .5);
    font-size: 1rem;
    font-weight: 950;
    animation: portal-pulse 2.8s ease-in-out infinite;
}

@keyframes portal-pulse {
    0%,
    100% {
        box-shadow:
            0 14px 30px rgba(73, 152, 152, .20),
            0 6px 16px rgba(247, 201, 95, .22),
            0 0 0 0 rgba(239, 120, 95, .20),
            inset 0 1px 0 rgba(255, 255, 255, .52);
    }

    50% {
        box-shadow:
            0 18px 36px rgba(73, 152, 152, .28),
            0 8px 20px rgba(247, 201, 95, .28),
            0 0 0 7px rgba(239, 120, 95, .08),
            inset 0 1px 0 rgba(255, 255, 255, .58);
    }
}

.script-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 246, 230, .62));
    box-shadow:
        0 10px 22px rgba(83, 62, 47, .10),
        inset 0 1px 0 rgba(255, 255, 255, .82);
}

.script-switch-mobile {
    display: none;
}

.script-switch-header {
    gap: 0;
    padding: 2px;
    border-color: rgba(63, 51, 69, .16);
    background: rgba(255, 250, 240, .7);
    box-shadow:
        0 4px 12px rgba(83, 62, 47, .08),
        inset 0 1px 0 rgba(255, 255, 255, .72);
}

.script-switch.script-switch-header button {
    min-width: 31px;
    min-height: 22px;
    padding: 3px 6px;
    color: rgba(63, 51, 69, .68);
    font-size: .61rem;
    letter-spacing: .015em;
}

.script-switch.script-switch-header button[aria-pressed="true"] {
    color: #a24a3a;
    background: rgba(239, 120, 95, .16);
    box-shadow: inset 0 0 0 1px rgba(217, 95, 73, .18);
}

.script-switch button {
    min-width: 39px;
    min-height: 25px;
    padding: 4px 9px;
    border: 0;
    border-radius: 999px;
    color: #5a4e60;
    background: transparent;
    cursor: pointer;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .02em;
    line-height: 1;
}

.script-switch button[aria-pressed="true"] {
    color: #fff;
    background: linear-gradient(180deg, #ff846c, var(--coral-dark));
    box-shadow:
        0 6px 14px rgba(217, 95, 73, .24),
        inset 0 1px 0 rgba(255, 255, 255, .26);
}

.script-switch button:focus-visible {
    outline: 3px solid rgba(247, 201, 95, .62);
    outline-offset: 2px;
}

.public-main {
    position: relative;
}

.main-nav .script-switch-mobile {
    border: 1px solid rgba(255, 255, 255, .62);
    background:
        radial-gradient(circle at 26% 18%, rgba(255, 222, 146, .5), transparent 34%),
        linear-gradient(180deg, #ff846c, var(--coral-dark));
    box-shadow:
        0 14px 30px rgba(217, 95, 73, .30),
        0 6px 16px rgba(247, 201, 95, .18),
        inset 0 1px 0 rgba(255, 255, 255, .28);
}

.main-nav .script-switch-mobile button {
    min-width: 44px;
    min-height: 31px;
    padding: 6px 11px;
    color: rgba(255, 255, 255, .88);
    font-size: .76rem;
    text-shadow: 0 1px 2px rgba(90, 35, 27, .28);
}

.main-nav .script-switch-mobile button[aria-pressed="true"] {
    color: #3f3345;
    background: linear-gradient(180deg, #fffaf0, #ffe2b9);
    box-shadow:
        0 6px 14px rgba(111, 47, 37, .22),
        inset 0 1px 0 rgba(255, 255, 255, .78);
    text-shadow: none;
}

.nav-visit:hover,
.button:hover {
    transform: translateY(-2px);
}

.nav-visit:hover {
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .76), transparent 31%),
        linear-gradient(135deg, #ffe37a 0%, #a8e1c4 48%, #8fd0e7 100%);
    box-shadow:
        0 22px 42px rgba(73, 152, 152, .30),
        0 10px 22px rgba(247, 201, 95, .26),
        0 0 0 7px rgba(239, 120, 95, .10);
}

.button-primary:hover {
    background:
        radial-gradient(circle at 26% 18%, rgba(255, 222, 146, .44), transparent 34%),
        linear-gradient(180deg, #f87561, #c94f3b);
    box-shadow:
        0 22px 44px rgba(217, 95, 73, .4),
        0 10px 22px rgba(247, 201, 95, .22);
}

.desktop-nav a:focus-visible,
.main-nav a:focus-visible,
.nav-visit:focus-visible,
.button:focus-visible,
.menu-toggle:focus-visible {
    outline: 3px solid rgba(247, 201, 95, .62);
    outline-offset: 3px;
}

.button-ghost {
    border: 1px solid rgba(60, 48, 65, .18);
    color: var(--plum);
    background: rgba(255, 255, 255, .5);
    box-shadow: none;
}

.button-light {
    color: var(--plum);
    background: #fff;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 12px;
    border: 1px solid rgba(247, 201, 95, .32);
    border-radius: 15px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 242, 222, .88));
    box-shadow:
        0 10px 24px rgba(83, 62, 47, .10),
        inset 0 1px 0 rgba(255, 255, 255, .86);
}

.menu-toggle > span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    background: var(--plum);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--coral-dark);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 22px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow);
    content: "";
}

.home-hero {
    position: relative;
    min-height: 820px;
    overflow: hidden;
    isolation: isolate;
    background: #fff7e9;
}

.home-hero::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 21% 47%, rgba(255, 245, 226, .72) 0 15%, rgba(255, 245, 226, .46) 30%, rgba(255, 226, 196, .16) 47%, transparent 64%),
        linear-gradient(90deg, rgba(255, 247, 232, .76) 0%, rgba(255, 239, 216, .48) 30%, rgba(255, 223, 190, .14) 51%, transparent 70%),
        radial-gradient(circle at 8% 82%, rgba(247, 201, 95, .16), transparent 31%);
    content: "";
    pointer-events: none;
}

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

.home-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 950px;
    align-items: center;
}

.home-hero-copy {
    width: min(62%, 760px);
    padding: 70px 0 85px;
}

.home-hero-copy h1 {
    max-width: 760px;
    color: #34283a;
    font-size: clamp(4.35rem, 6.2vw, 6rem);
    text-shadow:
        0 2px 0 rgba(255, 255, 255, .7),
        0 10px 24px rgba(255, 248, 235, .48),
        0 18px 40px rgba(83, 62, 47, .20);
}

.hero-title-name {
    white-space: nowrap;
}

.home-hero-copy p {
    display: block;
    max-width: 620px;
    margin-bottom: 28px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #4c4252;
    background: transparent;
    box-shadow: none;
    font-size: 1.16rem;
    font-weight: 650;
    line-height: 1.45;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 22px;
    color: #463b4d;
    font-size: .88rem;
    font-weight: 800;
}

.trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.trust-row span::before {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--sage);
    box-shadow: 0 0 0 4px rgba(207, 227, 206, .45);
    content: "";
}

.split-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 100px;
    align-items: start;
}

.lead {
    color: #514755;
    font-size: 1.25rem;
}

.lead-small {
    color: #514755;
    font-size: 1.08rem;
}

.text-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--coral-dark);
    font-weight: 800;
    text-decoration: none;
}

.text-link span {
    transition: transform .2s ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.programs-preview,
.team-list-section {
    background: rgba(207, 227, 206, .36);
}

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

.section-heading h2 {
    max-width: 720px;
    margin-bottom: 0;
}

.card-grid {
    display: grid;
    gap: 24px;
}

.programs-grid,
.news-grid {
    grid-template-columns: repeat(3, 1fr);
}

.program-card,
.news-card,
.values-grid article {
    padding: 34px;
    border: 1px solid rgba(60, 48, 65, .08);
    border-radius: var(--radius-md);
    background: var(--paper);
    box-shadow: 0 12px 38px rgba(83, 62, 47, .06);
}

.program-card:nth-child(3n + 2) {
    background: #fff2de;
}

.program-card:nth-child(3n + 3) {
    background: #f5effb;
}

.program-card > span,
.staff-card > div > span {
    color: var(--coral-dark);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.program-icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin-bottom: 26px;
    place-items: center;
    transform: rotate(-4deg);
    border-radius: 24px 18px 22px 17px;
    color: var(--plum);
    background: var(--yellow);
    font-family: Georgia, serif;
    font-size: 1.7rem;
}

.program-card:nth-child(even) .program-icon {
    background: var(--mint);
}

.program-card:nth-child(3n) .program-icon {
    background: var(--lavender);
}

.day-section {
    background: var(--paper);
}

.day-card {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    padding: 65px;
    border-radius: var(--radius-lg);
    background: var(--plum);
    color: #fff;
    box-shadow: var(--shadow);
}

.day-card .eyebrow {
    color: var(--yellow);
}

.day-timeline {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.day-timeline li {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
    grid-template-columns: 140px 1fr;
}

.day-timeline time {
    color: var(--yellow);
    font-weight: 900;
}

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

.staff-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.staff-card img {
    width: 100%;
    aspect-ratio: 1;
    height: auto;
    object-fit: cover;
}

.staff-card > div {
    padding: 28px;
}

.staff-card h3 {
    margin: 6px 0 14px;
    font-family: Georgia, serif;
    font-size: 1.55rem;
    font-weight: 500;
}

.staff-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: .94rem;
}

.news-preview {
    background: rgba(217, 207, 236, .3);
}

.news-card time {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--sage);
    font-size: .82rem;
    font-weight: 900;
}

.news-card h2,
.news-card h3 {
    font-family: Georgia, serif;
    font-size: 1.6rem;
    font-weight: 500;
}

.news-card h2 a,
.news-card h3 a {
    text-decoration: none;
}

.visit-cta-card {
    position: relative;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 55px 65px;
    border-radius: var(--radius-lg);
    background: var(--peach);
}

.visit-cta-card::after {
    position: absolute;
    right: 18%;
    bottom: -68px;
    width: 155px;
    height: 155px;
    border-radius: 50%;
    background: rgba(247, 201, 95, .75);
    content: "";
}

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

.visit-cta-card h2 {
    max-width: 700px;
    margin-bottom: 10px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff1da, #f8ecf8);
}

.page-hero-inner {
    display: grid;
    min-height: 390px;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
}

.page-hero h1 {
    max-width: 850px;
    margin-bottom: 14px;
    font-size: clamp(2.8rem, 6vw, 5.4rem);
}

.page-hero p {
    max-width: 640px;
    color: var(--muted);
    font-size: 1.14rem;
}

.hero-doodle {
    position: relative;
    width: 330px;
    height: 270px;
    justify-self: end;
}

.doodle-sun {
    position: absolute;
    top: 18px;
    right: 38px;
    width: 100px;
    height: 100px;
    border: 13px solid rgba(247, 201, 95, .35);
    border-radius: 50%;
    background: var(--yellow);
}

.doodle-cloud {
    position: absolute;
    right: 78px;
    bottom: 45px;
    width: 175px;
    height: 75px;
    border-radius: 50px;
    background: var(--sky);
}

.doodle-cloud::before,
.doodle-cloud::after {
    position: absolute;
    bottom: 12px;
    border-radius: 50%;
    background: inherit;
    content: "";
}

.doodle-cloud::before {
    left: 22px;
    width: 75px;
    height: 75px;
}

.doodle-cloud::after {
    right: 23px;
    width: 100px;
    height: 100px;
}

.doodle-flower {
    position: absolute;
    right: 10px;
    bottom: 0;
    width: 52px;
    height: 52px;
    transform: rotate(18deg);
    border-radius: 50% 10% 50% 10%;
    background: var(--coral);
    box-shadow: -38px 0 0 var(--coral), 0 -38px 0 var(--coral), -38px -38px 0 var(--coral);
}

.values-section {
    padding-top: 10px;
}

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

.values-grid article > span {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--coral-dark);
    font-family: Georgia, serif;
    font-size: 2rem;
}

.values-grid article:nth-child(2) {
    background: #f3f0fb;
}

.values-grid article:nth-child(3) {
    background: #edf5eb;
}

.values-grid article:nth-child(4) {
    background: #eef8fb;
}

.method-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 60px;
    border-radius: var(--radius-lg);
    background: var(--yellow);
}

.check-list {
    display: grid;
    gap: 14px;
    align-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 16px 20px 16px 52px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .67);
    font-weight: 700;
}

.check-list li::before {
    position: absolute;
    top: 19px;
    left: 20px;
    width: 18px;
    height: 10px;
    transform: rotate(-45deg);
    border-bottom: 3px solid var(--sage);
    border-left: 3px solid var(--sage);
    content: "";
}

.programs-full {
    grid-template-columns: repeat(2, 1fr);
}

.programs-full .program-card {
    min-height: 390px;
}

.director-section {
    background: var(--paper);
}

.director-card {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 70px;
    align-items: center;
    padding: 30px 65px 30px 30px;
    border-radius: var(--radius-lg);
    background: #f3eaf7;
}

.director-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 28px;
    object-fit: cover;
    object-position: center;
}

.director-card .role {
    color: var(--coral-dark);
    font-weight: 800;
}

.director-card blockquote {
    margin: 28px 0 0;
    color: #6b5473;
    font-family: Georgia, serif;
    font-size: 1.35rem;
    font-style: italic;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.gallery-filters button {
    min-height: 44px;
    padding: 8px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--plum);
    background: var(--paper);
    cursor: pointer;
}

.gallery-filters button.is-active {
    color: #fff;
    background: var(--plum);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-grid figure {
    margin: 0;
}

.gallery-grid figure[hidden] {
    display: none;
}

.gallery-grid .gallery-wide {
    grid-column: span 2;
}

.gallery-grid button {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 315px;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: var(--paper);
    cursor: zoom-in;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    min-height: 315px;
    object-fit: cover;
    transition: transform .45s ease;
}

.gallery-grid button:hover img {
    transform: scale(1.035);
}

.gallery-grid button > span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: grid;
    padding: 14px 17px;
    border-radius: 15px;
    color: var(--plum);
    background: rgba(255, 253, 248, .93);
    text-align: left;
}

.gallery-grid small {
    color: var(--coral-dark);
}

.lightbox {
    width: min(1000px, calc(100% - 40px));
    padding: 16px;
    border: 0;
    border-radius: 26px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.lightbox::backdrop {
    background: rgba(43, 34, 46, .82);
}

.lightbox img {
    width: 100%;
    max-height: 80vh;
    border-radius: 16px;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 28px;
    right: 28px;
    z-index: 1;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--plum);
    cursor: pointer;
}

.news-full {
    grid-template-columns: repeat(2, 1fr);
}

.article-header {
    padding: 100px 0 70px;
    background: linear-gradient(135deg, #fff1da, #f8ecf8);
}

.article-header h1 {
    margin-top: 18px;
    font-size: clamp(2.6rem, 6vw, 5rem);
}

.article-header time,
.back-link {
    color: var(--coral-dark);
    font-weight: 800;
}

.back-link {
    display: block;
    margin-bottom: 50px;
    text-decoration: none;
}

.article-body {
    padding-top: 70px;
    padding-bottom: 100px;
    font-family: Georgia, serif;
    font-size: 1.22rem;
}

.article-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 70px;
    padding: 34px;
    border-radius: 24px;
    background: var(--mint);
}

.article-cta h2 {
    margin: 0;
    font-size: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 40px;
}

.contact-cards {
    display: grid;
    gap: 12px;
}

.contact-cards article {
    display: grid;
    padding: 22px;
    border-radius: 18px;
    background: var(--paper);
}

.contact-cards span {
    margin-bottom: 5px;
    color: var(--coral-dark);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-cards a {
    font-weight: 800;
}

.visit-form-card {
    scroll-margin-top: 150px;
    padding: 52px;
    border: 1px solid rgba(60, 48, 65, .12);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.visit-form-card h2 {
    margin-bottom: 12px;
}

.visit-form {
    display: grid;
    gap: 18px;
    margin-top: 30px;
}

.visit-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.visit-form label:not(.honeypot) {
    display: grid;
    gap: 7px;
    font-size: .86rem;
    font-weight: 800;
}

.visit-form input,
.visit-form textarea,
.visit-form select {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 13px;
    color: var(--plum);
    background: #fff;
}

.visit-form textarea {
    resize: vertical;
}

.visit-form input:focus,
.visit-form textarea:focus,
.visit-form select:focus {
    border-color: var(--coral);
    outline: 3px solid rgba(239, 120, 95, .15);
}

.visit-form label small,
.standalone-error {
    min-height: 1em;
    color: #a43b32;
    font-weight: 650;
}

.visit-form .button {
    justify-self: start;
}

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(100%) !important;
}

.form-alert {
    margin: 20px 0;
    padding: 13px 15px;
    border-radius: 13px;
    font-size: .88rem;
    font-weight: 750;
}

.form-alert-success {
    color: #315f3a;
    background: #dff1dd;
}

.form-alert-error {
    color: #842e27;
    background: #ffe1dc;
}

.privacy-card {
    padding: 22px;
    border-radius: 18px;
    color: #3f5d46;
    background: var(--mint);
}

.privacy-card p {
    margin: 8px 0 0;
    font-size: .88rem;
}

.faq-section {
    background: rgba(217, 207, 236, .25);
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
}

.faq-list summary {
    padding: 22px 60px 22px 24px;
    font-weight: 800;
    cursor: pointer;
}

.faq-list p {
    padding: 0 24px 22px;
}

.error-page {
    min-height: 65vh;
    padding: 120px 0;
    text-align: center;
}

.offline-page {
    display: grid;
    min-height: 100vh;
    padding: 60px 0;
    place-items: center;
    text-align: center;
}

.offline-page img {
    margin: 0 auto 30px;
}

.offline-page h1 {
    font-size: clamp(2.8rem, 8vw, 5.5rem);
}

.offline-privacy {
    margin-top: 32px;
    color: var(--muted);
    font-size: .82rem;
}

.error-code {
    display: block;
    color: var(--coral);
    font-family: Georgia, serif;
    font-size: 5rem;
}

.site-footer {
    padding: 64px 0 24px;
    color: #f9f1e8;
    background: var(--plum);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.35fr) minmax(160px, .72fr) minmax(260px, 1fr);
    column-gap: clamp(42px, 5vw, 76px);
    row-gap: 34px;
    align-items: start;
}

.brand-footer {
    margin-bottom: 20px;
    color: #fff;
}

.brand-footer .brand-logo {
    width: 220px;
    filter: drop-shadow(0 7px 12px rgba(0, 0, 0, .22));
}

.footer-brand-meta {
    display: grid;
    gap: 8px;
    max-width: 430px;
    margin: 18px 0 0;
    color: rgba(249, 241, 232, .86);
    font-size: .95rem;
    font-weight: 750;
    line-height: 1.35;
}

.footer-brand-meta span:first-child {
    color: var(--yellow);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.footer-brand-meta span + span {
    white-space: nowrap;
}

.site-footer h2 {
    margin-bottom: 18px;
    color: var(--yellow);
    font-family: inherit;
    font-size: .88rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.site-footer a:not(.brand):not(.button),
.site-footer address {
    display: block;
    margin-bottom: 8px;
    color: inherit;
    font-style: normal;
    text-decoration: none;
}

.footer-portal {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    grid-template-rows: auto auto;
    column-gap: 40px;
    row-gap: 4px;
    align-items: center;
    padding: 24px 28px;
    border: 1px solid rgba(188, 231, 220, .2);
    border-radius: 20px;
    background:
        radial-gradient(circle at 8% 20%, rgba(159, 216, 235, .14), transparent 31%),
        linear-gradient(115deg, rgba(255, 255, 255, .07), rgba(188, 231, 220, .055) 58%, rgba(159, 216, 235, .09));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 40px rgba(26, 17, 31, .14);
    animation: footer-portal-ambient 12s ease-in-out infinite;
}

@keyframes footer-portal-ambient {
    0%,
    100% {
        border-color: rgba(188, 231, 220, .2);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .08),
            0 18px 40px rgba(26, 17, 31, .14),
            0 0 0 rgba(159, 216, 235, 0);
    }

    50% {
        border-color: rgba(188, 231, 220, .29);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .10),
            0 18px 40px rgba(26, 17, 31, .14),
            0 0 22px rgba(159, 216, 235, .07);
    }
}

.footer-portal::after {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    justify-self: start;
    width: 1px;
    height: 72%;
    min-height: 72px;
    background: linear-gradient(180deg, transparent, rgba(188, 231, 220, .56) 24%, rgba(159, 216, 235, .48) 76%, transparent);
    transform: translateX(-20px);
    content: "";
}

.footer-portal-logo {
    grid-column: 2;
    grid-row: 1 / 3;
    display: block;
    justify-self: center;
    width: 150px;
    height: auto;
    margin: 0;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 20px rgba(24, 38, 57, .14);
    animation: footer-portal-logo-ambient 12s ease-in-out infinite;
}

@keyframes footer-portal-logo-ambient {
    0%,
    100% {
        box-shadow:
            0 8px 20px rgba(24, 38, 57, .14),
            0 0 0 rgba(188, 231, 220, 0);
    }

    50% {
        box-shadow:
            0 8px 20px rgba(24, 38, 57, .14),
            0 0 18px rgba(188, 231, 220, .10);
    }
}

.footer-portal h2 {
    grid-column: 1;
    grid-row: 1;
    margin: 0 0 6px;
}

.footer-portal p {
    grid-column: 1;
    grid-row: 2;
    max-width: 900px;
    margin: 0;
    line-height: 1.55;
}

.footer-bottom {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: clamp(18px, 3vw, 38px);
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .8rem;
}

.footer-bottom p {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin: 0;
    text-align: right;
}

.footer-platform-signature {
    grid-column: 1 / 3;
    grid-row: 1;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-self: start;
    gap: 11px;
    padding: 0;
    border: 0;
    color: rgba(255, 250, 242, .92);
    background: none;
    box-shadow: none;
    line-height: 1;
    white-space: nowrap;
}

.footer-platform-company {
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .055em;
}

.footer-platform-bracket {
    display: inline-block;
    color: #ff6a00;
    font-size: .88rem;
    font-weight: 900;
    transform: translateY(-1.5px);
}

.footer-platform-signature small {
    color: rgba(255, 250, 242, .72);
    font-size: .58rem;
    font-weight: 700;
}

.footer-platform-logo {
    display: flex;
    width: 112px;
    align-items: center;
    margin: 0;
    border-radius: 5px;
    line-height: 0;
}

.footer-platform-logo img {
    display: block;
    width: 112px;
    height: auto;
}

.footer-platform-slogan {
    color: rgba(255, 255, 255, .92);
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .035em;
}

@media (min-width: 901px) {
    .footer-platform-company,
    .footer-platform-signature > small,
    .footer-platform-slogan {
        display: inline-flex;
        align-self: center;
        align-items: center;
        transform: translateY(-2px);
    }

    .footer-platform-company {
        column-gap: .32em;
    }
}

.footer-platform-logo:focus-visible {
    outline: 3px solid rgba(239, 120, 95, .62);
    outline-offset: 3px;
}

@media (min-width: 901px) and (max-width: 1100px) {
    .footer-bottom {
        gap: clamp(14px, 2vw, 22px);
    }

    .footer-platform-signature {
        gap: 7px;
    }

    .footer-platform-company,
    .footer-platform-signature small {
        font-size: .56rem;
    }

    .footer-platform-bracket {
        font-size: .76rem;
    }

    .footer-platform-logo,
    .footer-platform-logo img {
        width: 94px;
    }

    .footer-platform-slogan {
        font-size: .52rem;
    }
}

@media (max-width: 900px) {
    .footer-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        row-gap: 16px;
        text-align: center;
    }

    .footer-platform-signature {
        grid-column: 1;
        grid-row: 1;
        display: grid;
        grid-template-columns: auto auto auto;
        grid-template-rows: auto auto;
        column-gap: clamp(5px, 2vw, 8px);
        row-gap: 5px;
        justify-self: center;
    }

    .footer-platform-company {
        grid-column: 1;
        grid-row: 1;
    }

    .footer-platform-signature small {
        grid-column: 2;
        grid-row: 1;
    }

    .footer-platform-logo {
        grid-column: 3;
        grid-row: 1;
    }

    .footer-platform-slogan {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
        font-size: .56rem;
    }

    .footer-bottom p {
        grid-column: 1;
        grid-row: 2;
        justify-self: center;
        text-align: center;
    }
}

@media (max-width: 1040px) {
    .home-hero-art {
        object-position: 43% center;
        opacity: .72;
    }

    .home-hero::before {
        position: absolute;
        inset: 0;
        z-index: 1;
        background:
            radial-gradient(ellipse at 22% 42%, rgba(255, 248, 235, .86) 0 19%, rgba(255, 245, 228, .68) 36%, rgba(255, 232, 205, .22) 59%, transparent 78%),
            linear-gradient(90deg, rgba(255, 247, 233, .86) 0%, rgba(255, 241, 222, .68) 38%, rgba(255, 232, 205, .16) 70%, transparent 86%);
        content: "";
    }

    .home-hero-inner {
        z-index: 2;
    }

    .home-hero-copy {
        width: 60%;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 48px;
    }

    .footer-grid > div:nth-child(3) {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 32px;
    }

    .footer-grid > div:nth-child(3) h2 {
        grid-column: 1 / -1;
    }

    .footer-portal {
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr) 160px;
        grid-template-rows: auto auto;
        column-gap: 32px;
    }

    .footer-portal-logo {
        grid-column: 2;
        grid-row: 1 / 3;
        width: 136px;
    }

    .footer-portal::after {
        grid-column: 2;
        transform: translateX(-16px);
    }

    .footer-portal h2 {
        grid-column: 1;
        grid-row: 1;
    }

    .footer-portal p {
        grid-column: 1;
        grid-row: 2;
    }

}

@media (min-width: 901px) {
    .site-header {
        overflow: visible;
        background: none;
        backdrop-filter: none;
        box-shadow: none;
    }

    .site-header::after {
        display: none;
    }

    .header-inner {
        --bar-h: 84px;
        --notch-half: clamp(104px, 9vw, 148px);
        width: 100%;
        min-height: var(--bar-h);
        isolation: isolate;
        gap: clamp(16px, 1.8vw, 32px);
        padding: 0 clamp(14px, 2vw, 28px);
    }

    .header-inner::before,
    .header-inner::after {
        position: absolute;
        top: 0;
        z-index: -1;
        display: block;
        width: calc(50% - var(--notch-half));
        height: var(--bar-h);
        background:
            linear-gradient(90deg,
                var(--coral) 0 18%,
                var(--yellow) 18% 36%,
                var(--mint) 36% 54%,
                var(--sky) 54% 72%,
                var(--lavender) 72% 86%,
                var(--coral) 86% 100%) bottom / 100% 6px no-repeat,
            repeating-linear-gradient(90deg, rgba(255, 255, 255, .28) 0 7px, transparent 7px 15px) bottom / 100% 6px no-repeat,
            radial-gradient(circle at 18% -24%, rgba(247, 201, 95, .38), transparent 34%),
            radial-gradient(circle at 78% -18%, rgba(205, 231, 240, .48), transparent 32%),
            radial-gradient(circle at 52% 115%, rgba(207, 227, 206, .38), transparent 42%),
            linear-gradient(180deg, rgba(255, 252, 244, .99), rgba(255, 242, 222, .98));
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        content: "";
        pointer-events: none;
    }

    .header-inner::before {
        left: 0;
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 77' preserveAspectRatio='none'%3E%3Cpath d='M0,0V77H1898.53a59.1,59.1,0,0,0,41.8-17.33L2000,0Z'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 77' preserveAspectRatio='none'%3E%3Cpath d='M0,0V77H1898.53a59.1,59.1,0,0,0,41.8-17.33L2000,0Z'/%3E%3C/svg%3E");
    }

    .header-inner::after {
        right: 0;
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 77' preserveAspectRatio='none'%3E%3Cpath d='M2000,0V77H101.47a59.1,59.1,0,0,1-41.8-17.33L0,0Z'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 77' preserveAspectRatio='none'%3E%3Cpath d='M2000,0V77H101.47a59.1,59.1,0,0,1-41.8-17.33L0,0Z'/%3E%3C/svg%3E");
    }

    .desktop-nav-left {
        justify-self: start;
    }

    .desktop-nav-right {
        justify-self: end;
    }

    .brand-header {
        height: var(--bar-h);
        align-items: flex-start;
        padding: 8px 6px 0;
        transform: none;
    }

    .brand-header .brand-logo {
        width: auto;
        height: clamp(105px, 9.2vw, 148px);
        filter: drop-shadow(0 8px 14px rgba(60, 48, 65, .28));
    }

    .desktop-nav-right .script-switch-header {
        margin-left: 6px;
        align-self: center;
    }

    .home-hero {
        margin-top: -84px;
    }

    .home-hero-inner {
        padding-top: 84px;
    }

    .page-hero {
        margin-top: -84px;
    }

    .page-hero-inner {
        padding-top: 120px;
    }
}

@media (min-width: 901px) and (max-width: 1150px) {
    .header-inner {
        gap: 8px;
        padding: 0 10px;
    }

    .brand-header {
        padding-inline: 5px;
    }

    .brand-header .brand-logo {
        height: clamp(88px, 10vw, 104px);
    }

    .desktop-nav {
        gap: 4px;
    }

    .desktop-nav a {
        min-height: 44px;
        padding: 8px clamp(4px, .7vw, 8px);
        font-size: clamp(.82rem, 1.35vw, .98rem);
    }

    .desktop-nav .nav-visit {
        min-height: 46px;
        margin-left: 2px;
        padding: 10px clamp(9px, 1.1vw, 13px);
        font-size: clamp(.82rem, 1.3vw, .94rem);
    }

    .script-switch-header {
        padding: 1px;
    }

    .script-switch.script-switch-header button {
        min-width: 27px;
        min-height: 19px;
        padding: 2px 5px;
        font-size: .55rem;
    }
}

@media (max-width: 900px) {
    .site-header {
        overflow: visible;
    }

    .script-switch-header {
        display: none;
    }

    .header-inner {
        min-height: 74px;
        grid-template-columns: minmax(58px, 1fr) auto minmax(58px, 1fr);
        gap: 0;
        padding-block: 4px;
    }

    .header-inner::before {
        display: block;
        width: 58px;
        content: "";
    }

    .brand-header {
        position: relative;
        display: inline-flex;
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        padding: 6px 10px;
        transform: none;
    }

    .brand-header .brand-logo {
        width: clamp(160px, 46vw, 195px);
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 74px;
        right: 20px;
        left: 20px;
        z-index: 30;
        display: none;
        width: auto;
        overflow: hidden;
        gap: 4px;
        padding: 24px 18px 18px;
        border: 1px solid rgba(247, 201, 95, .28);
        border-radius: 20px;
        background:
            radial-gradient(circle at 10% 0, rgba(247, 201, 95, .28), transparent 38%),
            radial-gradient(circle at 100% 0, rgba(205, 231, 240, .42), transparent 35%),
            linear-gradient(180deg, rgba(255, 253, 248, .99), rgba(255, 244, 226, .99));
        box-shadow:
            0 24px 56px rgba(83, 62, 47, .18),
            inset 0 1px 0 rgba(255, 255, 255, .78);
    }

    .main-nav::before {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        display: block;
        height: 7px;
        background:
            linear-gradient(90deg, var(--coral), var(--yellow), var(--mint), var(--sky), var(--lavender), var(--coral)),
            repeating-linear-gradient(90deg, rgba(255, 255, 255, .24) 0 6px, transparent 6px 13px);
        content: "";
    }

    .main-nav.is-open {
        display: grid;
    }

    .main-nav a {
        min-height: 50px;
        padding: 12px 14px;
        border-bottom: 1px solid rgba(60, 48, 65, .08);
        border-radius: 0;
        font-size: 1.05rem;
        box-shadow: none;
    }

    .main-nav a:not(.nav-visit):hover,
    .main-nav a:not(.nav-visit):focus-visible,
    .main-nav a[aria-current="page"] {
        background: rgba(255, 248, 236, .78);
    }

    .main-nav .nav-visit {
        min-height: 56px;
        padding-inline: 24px;
        border-bottom: 0;
        border-radius: 999px;
        border: 2px solid rgba(239, 120, 95, .42);
        color: #3f3345;
        background:
            radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .72), transparent 31%),
            linear-gradient(135deg, #f9dc72 0%, #bfe7d1 50%, #9fd8eb 100%);
        box-shadow:
            0 14px 30px rgba(73, 152, 152, .20),
            0 6px 16px rgba(247, 201, 95, .20);
        margin-top: 8px;
    }

    .main-nav .script-switch-mobile {
        display: inline-flex;
        width: max-content;
        margin: 8px auto 0;
        justify-self: center;
    }

    .home-hero {
        min-height: auto;
    }

    .home-hero-inner {
        min-height: 560px;
        padding-bottom: 40px;
        align-items: flex-start;
    }

    .home-hero-art {
        inset: 0;
        width: 100%;
        height: 100%;
        opacity: .85;
        object-position: center;
    }

    .home-hero::before {
        background:
            linear-gradient(180deg, rgba(255, 247, 233, .82) 0%, rgba(255, 247, 233, .70) 45%, rgba(255, 236, 214, .55) 75%, rgba(255, 247, 233, .40) 100%),
            radial-gradient(ellipse at 30% 30%, rgba(255, 255, 255, .55), transparent 65%);
    }

    .home-hero-copy {
        width: 100%;
        padding-top: 55px;
        padding-bottom: 30px;
    }

    .home-hero-copy h1 {
        max-width: 100%;
        font-size: clamp(2.4rem, 7.5vw, 4.2rem);
        line-height: 1.1;
        word-break: normal;
        overflow-wrap: break-word;
        text-shadow:
            0 2px 0 rgba(255, 255, 255, .85),
            0 6px 14px rgba(255, 248, 235, .60),
            0 12px 28px rgba(83, 62, 47, .18);
    }

    .hero-title-name {
        white-space: normal;
    }

    .split-layout,
    .day-card,
    .method-card,
    .director-card,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .section {
        padding: 75px 0;
    }

    .programs-grid,
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .day-card,
    .method-card {
        padding: 42px;
    }

    .page-hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-doodle {
        display: none;
    }

    .director-card {
        padding: 25px;
    }

    .director-card img {
        width: min(100%, 440px);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid .gallery-wide {
        grid-column: span 1;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    h1 {
        font-size: 3.2rem;
    }

    h2 {
        font-size: 2.45rem;
    }

    .home-hero-inner {
        min-height: 500px;
        padding-bottom: 32px;
    }

    .home-hero-copy {
        padding-top: 40px;
        padding-bottom: 20px;
    }

    .home-hero-copy h1 {
        font-size: clamp(2rem, 8.5vw, 3rem);
        line-height: 1.08;
    }

    .home-hero-copy p {
        display: block;
        max-width: 100%;
        padding: 10px 14px;
        font-size: 1rem;
        background: rgba(255, 253, 248, .78);
        border-radius: 14px;
        backdrop-filter: blur(3px);
    }

    .home-hero-art {
        inset: 0;
        right: 0;
        width: 100%;
        height: 100%;
        object-position: center 40%;
    }

    .button-row .button {
        width: 100%;
    }

    .site-alert {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 10px;
        padding: 8px 14px;
    }

    .site-alert-label {
        width: max-content;
        min-height: 28px;
        padding: 4px 9px;
        font-size: .65rem;
    }

    .site-alert-text {
        font-size: .9rem;
        line-height: 1.25;
    }

    .trust-row {
        display: none;
    }

    .section {
        padding: 62px 0;
    }

    .split-layout {
        gap: 20px;
    }

    .section-heading {
        display: block;
    }

    .section-heading .text-link {
        margin-top: 20px;
    }

    .programs-grid,
    .staff-grid,
    .news-grid,
    .values-grid,
    .programs-full,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .program-card,
    .news-card,
    .values-grid article {
        padding: 27px;
    }

    .programs-full .program-card {
        min-height: 0;
    }

    .day-card,
    .method-card {
        padding: 28px;
        border-radius: 25px;
    }

    .day-timeline li {
        grid-template-columns: 65px 1fr;
    }

    .visit-cta-card {
        display: block;
        padding: 36px 28px;
    }

    .visit-cta-card .button {
        width: 100%;
        margin-top: 20px;
    }

    .page-hero-inner {
        min-height: 330px;
    }

    .page-hero h1 {
        font-size: 3.1rem;
    }

    .director-card {
        gap: 26px;
    }

    .gallery-grid button,
    .gallery-grid img {
        min-height: 250px;
    }

    .article-header {
        padding: 70px 0 50px;
    }

    .article-cta {
        display: block;
    }

    .article-cta .button {
        width: 100%;
        margin-top: 20px;
    }

    .visit-form-card {
        padding: 32px 24px;
    }

    .visit-form .form-row {
        grid-template-columns: 1fr;
    }

    .visit-form .button {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-grid > div:nth-child(3) {
        grid-column: auto;
        display: block;
    }

    .footer-portal {
        grid-column: auto;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        row-gap: 0;
        padding: 24px;
    }

    .footer-portal::after {
        display: none;
    }

    .footer-portal-logo {
        grid-column: 1;
        grid-row: 3;
        justify-self: center;
        width: 140px;
        margin: 20px 0 0;
    }

    .footer-portal h2 {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 12px;
    }

    .footer-portal p {
        grid-column: 1;
        grid-row: 2;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 14px;
        margin-top: 32px;
        text-align: center;
    }

    .footer-bottom p {
        grid-column: 1;
        grid-row: 2;
    }

    .footer-platform-signature {
        grid-column: 1;
        grid-row: 1;
        max-width: 100%;
        gap: clamp(5px, 2vw, 8px);
        padding-inline: 10px;
    }

    .footer-platform-company {
        font-size: clamp(.5rem, 2.25vw, .56rem);
    }

    .footer-platform-signature small {
        font-size: clamp(.5rem, 2.2vw, .56rem);
    }

    .footer-platform-logo,
    .footer-platform-logo img {
        width: clamp(88px, 27vw, 104px);
    }

}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .site-alert::before,
    .site-alert::after,
    .site-alert-label {
        animation: none !important;
    }

    .nav-visit {
        animation: none !important;
    }

    .footer-portal,
    .footer-portal-logo {
        animation: none !important;
    }
}
