:root {
    --ink: #152431;
    --ink-soft: #536776;
    --forest: #0b67a8;
    --forest-deep: #0b2d4a;
    --navy: #08243a;
    --coral: #0d78c4;
    --coral-dark: #075b98;
    --cream: #f5f9fc;
    --cream-deep: #e5eff6;
    --paper: #ffffff;
    --sage: #dbeaf5;
    --line: rgba(11, 73, 115, 0.16);
    --on-blue: #ffffff;
    --on-blue-soft: #dceeff;
    --on-blue-accent: #a9d8ff;
    --shadow-sm: 0 12px 32px rgba(11, 45, 74, 0.09);
    --shadow-lg: 0 30px 70px rgba(11, 45, 74, 0.15);
    --radius-sm: 12px;
    --radius-md: 22px;
    --radius-lg: 36px;
    --shell: 1180px;
    --header-height: 82px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: clip;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

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

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

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

h1,
h2,
h3 {
    color: var(--forest-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

h1 {
    max-width: 760px;
    margin-bottom: 26px;
    font-size: clamp(3.45rem, 7vw, 6.8rem);
}

h2 {
    margin-bottom: 22px;
    font-size: clamp(2.55rem, 5vw, 4.8rem);
}

h3 {
    font-size: clamp(1.45rem, 2vw, 2rem);
}

::selection {
    color: #fff;
    background: var(--coral);
}

:focus-visible {
    outline: 3px solid #69afe0;
    outline-offset: 4px;
}

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

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

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: #fff;
    background: var(--forest-deep);
    border-radius: 8px;
    transform: translateY(-150%);
    transition: transform 180ms ease;
    font-weight: 600;
    text-decoration: underline;
}

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

.eyebrow {
    margin-bottom: 18px;
    color: var(--coral-dark);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    color: #fff;
    background: var(--coral);
    border: 1px solid var(--coral);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(13, 120, 196, 0.24);
    cursor: pointer;
    font-weight: 750;
    line-height: 1.1;
    transition: color 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.button:hover {
    background: var(--coral-dark);
    border-color: var(--coral-dark);
    box-shadow: 0 14px 30px rgba(7, 91, 152, 0.28);
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

.button--small {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 0.9rem;
}

.button--outline {
    color: var(--forest);
    background: transparent;
    border-color: rgba(11, 73, 115, 0.3);
    box-shadow: none;
}

.button--outline:hover {
    color: #fff;
    background: var(--forest);
    border-color: var(--forest);
}

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

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--forest);
    font-weight: 780;
    border-bottom: 1px solid rgba(11, 73, 115, 0.4);
    transition: color 180ms ease, gap 180ms ease;
}

.text-link:hover {
    gap: 15px;
    color: var(--coral-dark);
}

.text-link--light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.text-link--light:hover {
    color: #a9d8ff;
}

.announcement {
    position: relative;
    z-index: 30;
    color: #fff;
    background: var(--forest-deep);
    font-size: 0.82rem;
}

.announcement__inner {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 28px;
    text-align: center;
}

.announcement a {
    color: #a9d8ff;
    font-weight: 750;
    white-space: nowrap;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    height: var(--header-height);
    background: rgba(251, 247, 239, 0.78);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: height 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
    height: 70px;
    background: rgba(255, 253, 248, 0.94);
    border-color: var(--line);
    box-shadow: 0 8px 30px rgba(11, 45, 74, 0.07);
}

.nav-wrap {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.brand__logo {
    display: block;
    width: 47px;
    height: 47px;
    flex: 0 0 auto;
    object-fit: cover;
    background: #fff;
    border: 2px solid rgba(11, 73, 115, 0.16);
    border-radius: 50%;
    box-shadow: 0 7px 18px rgba(11, 45, 74, 0.18);
}

.brand__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.22;
}

.brand__copy strong {
    overflow: hidden;
    color: var(--forest-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand__copy small {
    overflow: hidden;
    color: var(--ink-soft);
    font-size: 0.67rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 36px);
}

.primary-nav > a:not(.button) {
    position: relative;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
}

.primary-nav > a:not(.button)::after {
    position: absolute;
    right: 0;
    bottom: -6px;
    left: 0;
    height: 2px;
    background: var(--coral);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms var(--ease);
}

.primary-nav > a:not(.button):hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 11px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--forest);
    border-radius: 999px;
    transition: transform 220ms ease, opacity 160ms ease;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(65px, 9vw, 122px) 0 0;
    background:
        radial-gradient(circle at 12% 12%, rgba(13, 120, 196, 0.08), transparent 31%),
        linear-gradient(180deg, var(--cream) 0%, #f8f1e7 100%);
}

.hero::after {
    position: absolute;
    top: 72px;
    right: -110px;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(11, 73, 115, 0.1);
    border-radius: 50%;
    box-shadow: 0 0 0 35px rgba(11, 73, 115, 0.025), 0 0 0 70px rgba(11, 73, 115, 0.018);
    content: "";
    pointer-events: none;
}

.hero__glow {
    position: absolute;
    top: 2%;
    left: 52%;
    width: 38vw;
    height: 38vw;
    background: rgba(13, 120, 196, 0.1);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 0.96fr) minmax(420px, 0.9fr);
    gap: clamp(46px, 7vw, 104px);
}

.hero__copy {
    padding-bottom: 58px;
}

.hero__text {
    max-width: 610px;
    margin-bottom: 34px;
    color: var(--ink-soft);
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    line-height: 1.75;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-bottom: 44px;
}

.hero__trust {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero__trust p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.85rem;
    line-height: 1.35;
}

.hero__trust strong {
    color: var(--forest);
}

.avatar-stack {
    display: flex;
    padding-left: 8px;
}

.avatar-stack span {
    display: grid;
    width: 37px;
    height: 37px;
    margin-left: -8px;
    place-items: center;
    color: #fff;
    background: var(--forest);
    border: 3px solid var(--cream);
    border-radius: 50%;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.78rem;
    font-weight: 700;
}

.avatar-stack span:nth-child(2) {
    background: var(--coral);
}

.avatar-stack span:nth-child(3) {
    color: var(--forest);
    background: var(--sage);
}

.hero__visual {
    min-width: 0;
}

.hero__image-frame {
    position: relative;
    padding: 13px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(11, 73, 115, 0.12);
    border-radius: 48% 48% 28px 28px;
    box-shadow: var(--shadow-lg);
}

.hero__image-frame::before {
    position: absolute;
    z-index: -1;
    right: -30px;
    bottom: -30px;
    width: 72%;
    height: 72%;
    background: var(--sage);
    border-radius: 44% 14% 36% 16%;
    content: "";
    transform: rotate(4deg);
}

.hero__image-frame picture,
.hero__image-frame img {
    width: 100%;
    height: min(620px, 50vw);
    min-height: 510px;
    border-radius: 47% 47% 19px 19px;
    object-fit: cover;
    object-position: 62% center;
}

.hero__note {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    background: rgba(255, 253, 248, 0.95);
    border: 1px solid rgba(11, 73, 115, 0.1);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    font-size: 0.82rem;
    font-weight: 760;
    backdrop-filter: blur(10px);
}

.hero__note > span {
    color: var(--coral);
}

.hero__note--top {
    top: 18%;
    left: -48px;
}

.hero__note--bottom {
    right: -28px;
    bottom: 8%;
    display: grid;
    grid-template-columns: auto 1fr;
}

.hero__note--bottom span {
    display: grid;
    width: 29px;
    height: 29px;
    grid-row: 1 / 3;
    place-items: center;
    color: #fff;
    background: var(--coral);
    border-radius: 50%;
}

.hero__note--bottom strong,
.hero__note--bottom small {
    line-height: 1.15;
}

.hero__note--bottom small {
    color: var(--ink-soft);
    font-weight: 500;
}

.stats {
    position: relative;
    z-index: 2;
    display: grid;
    margin-top: 75px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    box-shadow: 0 -12px 42px rgba(11, 45, 74, 0.06);
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    position: relative;
    padding: 28px 24px;
    text-align: center;
}

.stat + .stat::before {
    position: absolute;
    top: 24%;
    bottom: 24%;
    left: 0;
    width: 1px;
    background: var(--line);
    content: "";
}

.stat strong {
    display: block;
    margin-bottom: 2px;
    color: var(--forest);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1;
}

.stat span {
    color: var(--ink-soft);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section {
    position: relative;
    padding: clamp(90px, 11vw, 150px) 0;
}

.section-heading {
    max-width: 760px;
}

.section-heading--split {
    display: grid;
    max-width: none;
    align-items: end;
    margin-bottom: clamp(44px, 6vw, 72px);
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.58fr);
    gap: 70px;
}

.section-heading--split h2 {
    margin-bottom: 0;
}

.section-heading--split > p,
.section-heading > p:not(.eyebrow) {
    margin-bottom: 8px;
    color: var(--ink-soft);
    font-size: 1.04rem;
}

.about {
    background: var(--paper);
}

.about__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.1fr);
    gap: clamp(60px, 10vw, 140px);
}

.about .section-heading {
    position: sticky;
    top: 120px;
    align-self: start;
}

.about .section-heading h2 {
    max-width: 580px;
}

.lead {
    margin-bottom: 44px;
    color: var(--ink-soft);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.24rem, 2.25vw, 1.72rem);
    line-height: 1.65;
}

.educator-card {
    display: grid;
    align-items: center;
    padding: 30px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    grid-template-columns: 88px 1fr;
    gap: 24px;
}

.educator-card__monogram {
    display: grid;
    width: 88px;
    height: 96px;
    place-items: center;
    color: #fff;
    background: var(--forest);
    border-radius: 46px 46px 18px 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.5rem;
}

.educator-card__role {
    margin-bottom: 5px;
    color: var(--coral-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.educator-card h3 {
    margin-bottom: 8px;
}

.educator-card p:last-child {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.programs {
    overflow: hidden;
}

.program-grid {
    display: grid;
    align-items: stretch;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.program-card {
    position: relative;
    display: flex;
    min-height: 430px;
    flex-direction: column;
    padding: 32px;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: border-color 250ms ease, box-shadow 250ms ease, transform 250ms var(--ease);
}

.program-card::before {
    position: absolute;
    right: -80px;
    bottom: -110px;
    width: 220px;
    height: 220px;
    background: rgba(11, 73, 115, 0.035);
    border-radius: 50%;
    content: "";
    transition: transform 500ms var(--ease);
}

.program-card:hover {
    border-color: rgba(11, 73, 115, 0.28);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.program-card:hover::before {
    transform: scale(1.25);
}

.program-card--featured {
    color: var(--on-blue);
    background: var(--forest);
    border-color: var(--forest);
}

.program-card--featured::before {
    background: rgba(255, 255, 255, 0.07);
}

.program-card--featured h3,
.program-card--featured .program-card__top,
.program-card--featured .program-card__number,
.program-card--featured .program-card__footer,
.program-card--featured .program-card__footer a {
    color: var(--on-blue);
}

.program-card--featured > p {
    color: var(--on-blue);
    opacity: 1;
}

.program-card--featured .tag-list li {
    color: var(--on-blue);
    background: rgba(255, 255, 255, 0.08);
}

.program-card--featured .program-card__top,
.program-card--featured .program-card__footer,
.program-card--featured .tag-list li {
    border-color: rgba(255, 255, 255, 0.19);
}

.program-card__top,
.program-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.program-card__top {
    margin-bottom: 66px;
    padding-bottom: 18px;
    color: var(--coral-dark);
    border-bottom: 1px solid var(--line);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.program-card__number {
    color: rgba(11, 73, 115, 0.35);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
}

.program-card h3 {
    margin-bottom: 15px;
}

.program-card > p {
    margin-bottom: 24px;
    color: inherit;
    opacity: 0.78;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.tag-list li {
    padding: 6px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.71rem;
    font-weight: 750;
}

.program-card__footer {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 20px;
    color: var(--ink-soft);
    border-top: 1px solid var(--line);
    font-size: 0.78rem;
    font-weight: 720;
}

.program-card__footer a {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--forest);
    border: 1px solid currentColor;
    border-radius: 50%;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.program-card__footer a:hover {
    color: #fff;
    background: var(--coral);
    border-color: var(--coral);
    transform: rotate(45deg);
}

.program-card--featured .program-card__footer a:hover {
    color: var(--forest-deep);
    background: var(--on-blue);
    border-color: var(--on-blue);
}

.philosophy {
    overflow: hidden;
    color: var(--on-blue-soft);
    background: var(--forest-deep);
}

.philosophy .eyebrow,
.resource-placeholder .eyebrow,
.contact .eyebrow {
    color: var(--on-blue-accent);
}

.philosophy::before {
    position: absolute;
    top: -340px;
    left: -260px;
    width: 650px;
    height: 650px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.015);
    content: "";
}

.philosophy__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.05fr);
    gap: clamp(60px, 10vw, 150px);
}

.philosophy h2,
.philosophy h3 {
    color: #fff;
}

.philosophy__intro > p:not(.eyebrow) {
    max-width: 540px;
    margin-bottom: 34px;
    font-size: 1.05rem;
}

.principle {
    display: grid;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    grid-template-columns: 58px 1fr;
    gap: 18px;
}

.principle:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.principle > span {
    color: #8ccaff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
}

.principle h3 {
    margin-bottom: 9px;
    font-size: 1.55rem;
}

.principle p {
    max-width: 560px;
    margin: 0;
}

.resources {
    background: var(--paper);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.video-card {
    overflow: hidden;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.video-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--navy);
}

.video-card__media iframe,
.video-card__media video {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.video-card__copy {
    padding: 26px 28px 30px;
}

.video-card__copy > span {
    color: var(--coral-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.video-card__copy h3 {
    margin: 10px 0;
}

.video-card__copy p {
    margin: 0;
    color: var(--ink-soft);
}

.resource-placeholder {
    display: grid;
    min-height: 250px;
    align-items: center;
    padding: clamp(32px, 5vw, 56px);
    background:
        linear-gradient(115deg, rgba(11, 73, 115, 0.96), rgba(8, 36, 58, 0.95)),
        var(--forest);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--on-blue-soft);
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 30px;
}

.resource-placeholder__icon {
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    color: var(--forest-deep);
    background: var(--on-blue);
    border-radius: 50%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    font-size: 1.4rem;
}

.resource-placeholder h3 {
    max-width: 650px;
    margin-bottom: 8px;
    color: #fff;
}

.resource-placeholder p {
    margin-bottom: 0;
}

.resource-placeholder .button--outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
}

.gallery {
    background: var(--cream-deep);
}

.gallery-grid {
    display: grid;
    grid-auto-rows: 230px;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

.gallery-item {
    position: relative;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.gallery-item--1,
.gallery-item--4 {
    grid-column: span 7;
}

.gallery-item--2,
.gallery-item--3,
.gallery-item--5 {
    grid-column: span 5;
}

.gallery-item--1,
.gallery-item--3 {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.045);
}

.gallery-item figcaption {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 13px 15px;
    color: #fff;
    background: rgba(8, 36, 58, 0.88);
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.gallery-preview {
    display: grid;
    min-height: 520px;
    grid-template-columns: 1.25fr 0.75fr;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
}

.gallery-preview > div {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.gallery-preview > div::before,
.gallery-preview > div::after {
    position: absolute;
    content: "";
}

.gallery-preview > div::before {
    inset: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.27), transparent 14%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.12));
}

.gallery-preview > div::after {
    width: 230px;
    height: 230px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}

.gallery-preview span {
    position: relative;
    z-index: 2;
    padding: 10px 15px;
    color: #fff;
    background: rgba(8, 36, 58, 0.88);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 750;
    backdrop-filter: blur(8px);
}

.gallery-preview__main {
    background: linear-gradient(145deg, #0d78c4, #0b2d4a);
    grid-row: 1 / 3;
}

.gallery-preview__main::after {
    top: 45px;
    right: 80px;
    box-shadow: 0 0 0 45px rgba(255, 255, 255, 0.07), 0 0 0 90px rgba(255, 255, 255, 0.04);
}

.gallery-preview__small--one {
    background: linear-gradient(145deg, #57a5df, #0b67a8);
}

.gallery-preview__small--two {
    background: linear-gradient(145deg, #426f91, #08243a);
}

.gallery-preview__small::after {
    top: -85px;
    right: -35px;
}

.testimonials {
    background: var(--paper);
}

.testimonial-heading {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
}

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

.testimonial {
    display: flex;
    min-height: 320px;
    flex-direction: column;
    margin: 0;
    padding: 32px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.testimonial:nth-child(even) {
    background: var(--sage);
}

.stars {
    margin-bottom: 28px;
    color: var(--coral);
    font-size: 0.9rem;
    letter-spacing: 0.13em;
}

.testimonial blockquote {
    margin-bottom: 30px;
    color: var(--forest-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.22rem;
    line-height: 1.58;
}

.testimonial figcaption {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    color: var(--ink-soft);
    font-size: 0.82rem;
}

.testimonial figcaption strong {
    color: var(--forest);
    font-size: 0.94rem;
}

.review-note {
    max-width: 720px;
    margin: 24px auto 0;
    color: #788581;
    font-size: 0.72rem;
    text-align: center;
}

.faq-section {
    background: var(--cream);
}

.faq-grid {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: clamp(55px, 10vw, 135px);
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 3px;
    color: var(--forest-deep);
    cursor: pointer;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.23rem;
    font-weight: 600;
    line-height: 1.35;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary span {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--forest);
    border: 1px solid var(--line);
    border-radius: 50%;
    font-family: ui-sans-serif, sans-serif;
    font-weight: 400;
    transition: color 200ms ease, background 200ms ease, transform 260ms ease;
}

.faq-list details[open] summary span {
    color: #fff;
    background: var(--coral);
    border-color: var(--coral);
    transform: rotate(45deg);
}

.faq-list details p {
    max-width: 620px;
    margin: -5px 0 25px;
    padding-right: 60px;
    color: var(--ink-soft);
}

.contact {
    overflow: hidden;
    color: var(--on-blue-soft);
    background: var(--navy);
}

.contact::before {
    position: absolute;
    top: -240px;
    right: -160px;
    width: 520px;
    height: 520px;
    background: rgba(13, 120, 196, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    content: "";
}

.contact__grid {
    position: relative;
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 0.8fr) minmax(440px, 0.9fr);
    gap: clamp(55px, 9vw, 120px);
}

.contact h2 {
    color: #fff;
}

.contact__intro > p:not(.eyebrow) {
    max-width: 520px;
    margin-bottom: 38px;
    font-size: 1.05rem;
}

.contact-list {
    display: grid;
    gap: 3px;
}

.contact-list a {
    display: grid;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
}

.contact-list a > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--on-blue-accent);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
}

.contact-list a div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.contact-list small {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.69rem;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.contact-list strong {
    overflow-wrap: anywhere;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.contact__form-wrap {
    padding: clamp(25px, 4vw, 40px);
    color: var(--ink);
    background: var(--paper);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.contact-form {
    display: grid;
    gap: 21px;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
}

.contact-form label {
    display: grid;
    gap: 8px;
}

.contact-form label > span {
    color: var(--forest);
    font-size: 0.76rem;
    font-weight: 780;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 14px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #d9ded8;
    border-radius: 10px;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
    min-height: 132px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #99a3a0;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 4px rgba(13, 120, 196, 0.12);
}

.form-honeypot {
    position: absolute;
    left: -10000px;
}

.form-note {
    margin: -7px 0 0;
    color: #76837f;
    font-size: 0.72rem;
    text-align: center;
}

.alert {
    margin-bottom: 20px;
    padding: 13px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 0.86rem;
}

.alert--success {
    color: #175a41;
    background: #e7f6ed;
    border-color: #b8dfc7;
}

.alert--error {
    color: #8a3828;
    background: #fff0ec;
    border-color: #efc0b4;
}

.site-footer {
    color: rgba(255, 255, 255, 0.65);
    background: #0b1e2a;
}

.footer__top {
    display: grid;
    align-items: center;
    padding-top: 55px;
    padding-bottom: 55px;
    grid-template-columns: 1.2fr auto 1fr;
    gap: 44px;
}

.brand--footer .brand__logo {
    border-color: rgba(255, 255, 255, 0.45);
}

.brand--footer .brand__copy strong {
    color: #fff;
}

.brand--footer .brand__copy small {
    max-width: 310px;
    color: rgba(255, 255, 255, 0.48);
}

.footer__top nav,
.footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    font-size: 0.82rem;
    font-weight: 700;
}

.footer__top a {
    transition: color 180ms ease;
}

.footer__top nav a:hover,
.footer__social a:hover {
    color: #8ccaff;
}

.footer__social {
    justify-content: flex-end;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.72rem;
}

.footer__bottom a {
    color: rgba(255, 255, 255, 0.32);
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 750ms var(--ease), transform 750ms var(--ease);
}

.reveal--delay {
    transition-delay: 120ms;
}

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

@media (max-width: 1050px) {
    .hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(370px, 0.82fr);
        gap: 48px;
    }

    .hero__image-frame picture,
    .hero__image-frame img {
        min-height: 470px;
    }

    .hero__note--top {
        left: -25px;
    }

    .hero__note--bottom {
        right: -15px;
    }

    .program-card {
        min-height: 450px;
        padding: 26px;
    }

    .program-card__top {
        margin-bottom: 45px;
    }

    .footer__top {
        grid-template-columns: 1fr auto;
    }

    .footer__social {
        justify-content: flex-start;
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    :root {
        --header-height: 72px;
    }

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

    .nav-toggle {
        position: relative;
        z-index: 61;
        display: block;
        min-width: 44px;
        min-height: 44px;
    }

    .nav-toggle[aria-expanded="true"] > span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] > span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] > span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .primary-nav {
        position: fixed;
        z-index: 60;
        top: 0;
        right: 0;
        width: min(86vw, 390px);
        height: 100dvh;
        align-items: stretch;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        padding: 110px 34px 40px;
        visibility: hidden;
        background: var(--paper);
        box-shadow: -20px 0 70px rgba(11, 45, 74, 0.18);
        clip-path: inset(0 0 0 100%);
        opacity: 0;
        transition: visibility 0s linear 300ms, opacity 250ms ease, clip-path 300ms var(--ease);
    }

    .primary-nav::before {
        position: fixed;
        z-index: -1;
        inset: 0 100% 0 -100vw;
        background: rgba(5, 25, 23, 0.48);
        content: "";
    }

    .primary-nav.is-open {
        visibility: visible;
        clip-path: inset(0);
        opacity: 1;
        transition-delay: 0s;
    }

    .primary-nav > a:not(.button) {
        display: flex;
        min-height: 52px;
        align-items: center;
        padding: 13px 3px;
        border-bottom: 1px solid var(--line);
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.45rem;
        font-weight: 600;
    }

    .primary-nav .button {
        margin-top: 20px;
    }

    .hero {
        padding-top: 65px;
    }

    .hero__grid,
    .about__grid,
    .philosophy__grid,
    .faq-grid,
    .contact__grid {
        grid-template-columns: 1fr;
    }

    .hero__grid {
        gap: 35px;
    }

    .hero__copy {
        padding-bottom: 0;
    }

    .hero__text {
        max-width: 650px;
    }

    .hero__visual {
        width: min(100%, 620px);
        margin-inline: auto;
    }

    .hero__image-frame picture,
    .hero__image-frame img {
        height: min(720px, 108vw);
        min-height: 500px;
    }

    .hero__note--top {
        left: -8px;
    }

    .hero__note--bottom {
        right: -8px;
    }

    .stats {
        margin-top: 65px;
        grid-template-columns: 1fr 1fr;
    }

    .stat:nth-child(3)::before {
        display: none;
    }

    .stat:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    .section-heading--split {
        align-items: start;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about__grid,
    .philosophy__grid,
    .faq-grid,
    .contact__grid {
        gap: 50px;
    }

    .about .section-heading {
        position: static;
    }

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

    .program-card {
        min-height: 380px;
    }

    .program-card__top {
        margin-bottom: 38px;
    }

    .resource-placeholder {
        text-align: center;
        grid-template-columns: 1fr;
    }

    .resource-placeholder__icon,
    .resource-placeholder .button {
        margin-inline: auto;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonial {
        min-height: 280px;
    }

    .gallery-preview {
        min-height: 640px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1.35fr 0.65fr;
    }

    .gallery-preview__main {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .footer__top {
        align-items: start;
        grid-template-columns: 1fr 1fr;
    }

    .footer__top nav {
        justify-content: flex-end;
    }
}

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

    .announcement__inner {
        min-height: 43px;
        gap: 12px;
        font-size: 0.72rem;
    }

    .brand__copy small {
        display: none;
    }

    .brand__logo {
        width: 43px;
        height: 43px;
    }

    h1 {
        font-size: clamp(3rem, 15vw, 4.4rem);
    }

    h2 {
        font-size: clamp(2.35rem, 12vw, 3.6rem);
    }

    .hero {
        padding-top: 48px;
    }

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

    .hero__actions .button,
    .hero__actions .text-link {
        width: 100%;
        justify-content: center;
    }

    .hero__image-frame {
        padding: 8px;
        border-radius: 45% 45% 22px 22px;
    }

    .hero__image-frame picture,
    .hero__image-frame img {
        height: 123vw;
        min-height: 430px;
        max-height: 610px;
        border-radius: 44% 44% 15px 15px;
    }

    .hero__note {
        padding: 9px 11px;
        font-size: 0.69rem;
    }

    .hero__note--top {
        top: 20%;
    }

    .hero__note--bottom {
        right: -3px;
        bottom: 5%;
    }

    .hero__note--bottom span {
        width: 25px;
        height: 25px;
    }

    .stats {
        margin-top: 48px;
    }

    .stat {
        padding: 22px 10px;
    }

    .stat span {
        font-size: 0.65rem;
    }

    .section {
        padding: 80px 0;
    }

    .educator-card {
        align-items: start;
        padding: 22px;
        grid-template-columns: 62px 1fr;
        gap: 16px;
    }

    .educator-card__monogram {
        width: 62px;
        height: 72px;
        font-size: 1.8rem;
    }

    .program-card {
        min-height: 405px;
    }

    .principle {
        grid-template-columns: 40px 1fr;
    }

    .video-grid,
    .field-row {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-auto-rows: 240px;
        grid-template-columns: 1fr;
    }

    .gallery-item,
    .gallery-item--1,
    .gallery-item--2,
    .gallery-item--3,
    .gallery-item--4,
    .gallery-item--5 {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery-preview {
        min-height: 710px;
        grid-template-columns: 1fr;
        grid-template-rows: 1.3fr 0.75fr 0.75fr;
    }

    .gallery-preview__main {
        grid-column: auto;
    }

    .faq-list summary {
        font-size: 1.1rem;
    }

    .faq-list details p {
        padding-right: 10px;
    }

    .contact__form-wrap {
        border-radius: var(--radius-md);
    }

    .footer__top {
        grid-template-columns: 1fr;
    }

    .footer__top nav,
    .footer__social {
        justify-content: flex-start;
    }

    .footer__social {
        grid-column: auto;
    }

    .footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .announcement,
    .site-header,
    .hero__actions,
    .contact-form,
    .site-footer {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .section,
    .hero {
        padding: 30px 0;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
