:root {
    --ink: #161511;
    --ink-soft: #2b2a25;
    --paper: #fbfaf7;
    --white: #ffffff;
    --mist: #f1f2ef;
    --line: rgba(22, 21, 17, 0.14);
    --gold: #b99a58;
    --wine: #6f1d2f;
    --sage: #68745a;
    --shadow: 0 22px 70px rgba(12, 12, 10, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

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

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: 0;
}

h1 {
    max-width: 980px;
    margin-bottom: 22px;
    font-size: 74px;
}

h2 {
    margin-bottom: 24px;
    font-size: 48px;
}

h3 {
    font-size: 28px;
}

p {
    margin-bottom: 18px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 14px;
    color: var(--ink);
    background: var(--white);
    transform: translateY(-160%);
}

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

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    color: var(--white);
    transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
body:not(.home) .site-header {
    color: var(--ink);
    background: rgba(251, 250, 247, 0.95);
    box-shadow: 0 8px 32px rgba(10, 10, 10, 0.08);
    backdrop-filter: blur(18px);
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    width: min(100% - 48px, 1440px);
    min-height: 88px;
    margin: 0 auto;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    width: 82px;
    min-width: 82px;
}

.site-brand img,
.custom-logo {
    width: 82px;
    height: 82px;
    object-fit: contain;
}

.site-nav {
    justify-self: center;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.site-nav a::after {
    position: absolute;
    right: 0;
    bottom: 6px;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

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

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

.site-actions__link {
    font-size: 14px;
    font-weight: 700;
}

.button,
.button:visited,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border: 1px solid var(--gold);
    border-radius: 0;
    color: var(--ink);
    background: var(--gold);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    color: var(--ink);
    background: #c9ad69;
    transform: translateY(-1px);
}

.button--light {
    color: var(--ink);
    background: var(--white);
    border-color: var(--white);
}

.button--ghost {
    color: var(--white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.7);
}

.button--ghost:hover,
.button--ghost:focus-visible {
    color: var(--ink);
    background: var(--white);
}

.button--dark {
    color: var(--white);
    background: var(--ink);
    border-color: var(--ink);
}

.button--dark:hover,
.button--dark:focus-visible {
    color: var(--white);
    background: var(--wine);
    border-color: var(--wine);
}

.button--outline {
    color: var(--ink);
    background: transparent;
    border-color: var(--line);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 0;
    color: inherit;
    background: transparent;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 1px;
    margin: 5px auto;
    background: currentColor;
}

.hero {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 100svh;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
}

.hero__media,
.hero__media img,
.hero__media video,
.hero__shade {
    position: absolute;
    inset: 0;
}

.hero__media img,
.hero__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__shade {
    background: linear-gradient(90deg, rgba(10, 10, 8, 0.72), rgba(10, 10, 8, 0.35) 48%, rgba(10, 10, 8, 0.5)), linear-gradient(0deg, rgba(10, 10, 8, 0.7), rgba(10, 10, 8, 0) 42%);
}

.hero__content {
    position: relative;
    z-index: 2;
    width: min(100% - 48px, 1440px);
    margin: 0 auto;
    padding: 180px 0 138px;
}

.hero__lead {
    max-width: 680px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 21px;
}

.hero__actions,
.summer__actions,
.commerce__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero__meta {
    position: absolute;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero__meta span {
    min-height: 58px;
    padding-top: 16px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.eyebrow,
.section__kicker {
    margin-bottom: 18px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.section {
    width: min(100% - 48px, 1320px);
    margin: 0 auto;
    padding: 112px 0;
}

.section--dark {
    width: 100%;
    max-width: none;
    padding-right: max(24px, calc((100% - 1320px) / 2));
    padding-left: max(24px, calc((100% - 1320px) / 2));
    color: var(--white);
    background: var(--ink);
}

.section--split {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 70px;
    align-items: start;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.intro__grid,
.feature,
.summer {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 70px;
    align-items: center;
}

.intro__copy {
    color: rgba(22, 21, 17, 0.72);
    font-size: 19px;
}

.section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 52px;
}

.section__head h2 {
    max-width: 780px;
    margin-bottom: 0;
}

.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border-bottom: 1px solid currentColor;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.18);
}

.program-card {
    min-height: 330px;
    padding: 34px;
    background: #211f1a;
}

.program-card span {
    display: block;
    margin-bottom: 86px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
}

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

.program-card p {
    color: rgba(255, 255, 255, 0.72);
}

.feature__image,
.summer__image {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: var(--mist);
}

.summer__poster {
    display: grid;
    place-items: center;
    padding: 28px;
    background: #14120f;
}

.feature__image img,
.summer__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature__image img {
    position: absolute;
    inset: 0;
    object-position: 50% 48%;
}

.summer__poster img {
    width: min(100%, 760px);
    height: auto;
    max-height: 720px;
    object-fit: contain;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

.feature__content p,
.summer__content p,
.commerce p {
    color: rgba(22, 21, 17, 0.72);
    font-size: 18px;
}

.metric-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 34px 0;
}

.metric-row div {
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.metric-row strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    font-weight: 500;
    line-height: 1;
}

.metric-row span {
    display: block;
    margin-top: 8px;
    color: rgba(22, 21, 17, 0.62);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.summer {
    width: 100%;
    max-width: none;
    padding-right: max(24px, calc((100% - 1320px) / 2));
    padding-left: max(24px, calc((100% - 1320px) / 2));
    background: var(--mist);
}

.summer__content {
    max-width: 650px;
}

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

.faculty-card {
    background: var(--white);
    box-shadow: var(--shadow);
}

.faculty-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.faculty-card h3,
.faculty-card p {
    padding-right: 26px;
    padding-left: 26px;
}

.faculty-card h3 {
    margin-top: 24px;
    margin-bottom: 10px;
}

.faculty-card p {
    min-height: 74px;
    color: rgba(22, 21, 17, 0.68);
}

.commerce {
    background: var(--white);
}

.visual-story {
    color: var(--white);
    background: #11100d;
}

.visual-story__inner {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 58px;
    align-items: center;
    width: min(100% - 48px, 1320px);
    margin: 0 auto;
    padding: 104px 0;
}

.visual-story__copy {
    max-width: 520px;
}

.visual-story__copy h2 {
    margin-bottom: 22px;
}

.visual-story__copy p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
}

.visual-story__media {
    display: grid;
    grid-template-columns: 1fr 0.74fr;
    grid-template-rows: repeat(2, minmax(220px, 1fr));
    gap: 18px;
}

.visual-story__panel {
    position: relative;
    min-height: 260px;
    margin: 0;
    overflow: hidden;
    background: #211f1a;
}

.visual-story__panel--wide {
    grid-row: 1 / -1;
}

.visual-story__panel img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    filter: saturate(0.92) contrast(1.04);
}

.visual-story__panel:nth-child(2) img {
    object-position: 50% 38%;
}

.visual-story__panel:nth-child(3) img {
    object-position: 50% 45%;
}

.gallery-main {
    background: var(--paper);
}

.gallery-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 78vh;
    overflow: hidden;
    color: var(--white);
    background: #11100d;
}

.gallery-hero__image,
.gallery-hero__image img,
.gallery-hero__shade {
    position: absolute;
    inset: 0;
}

.gallery-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 42%;
    filter: saturate(0.9) contrast(1.05);
}

.gallery-hero__shade {
    background: linear-gradient(90deg, rgba(17, 16, 13, 0.88), rgba(17, 16, 13, 0.44) 46%, rgba(17, 16, 13, 0.12)), linear-gradient(0deg, rgba(17, 16, 13, 0.68), rgba(17, 16, 13, 0.08) 58%);
}

.gallery-hero__content {
    position: relative;
    z-index: 1;
    width: min(100% - 48px, 1320px);
    margin: 0 auto;
    padding: 170px 0 86px;
}

.gallery-hero__content h1 {
    margin-bottom: 18px;
    color: var(--white);
}

.gallery-hero__content p:not(.eyebrow) {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 20px;
}

.gallery-section {
    width: min(100% - 48px, 1320px);
    margin: 0 auto;
    padding: 96px 0 118px;
}

.gallery-section__head {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 420px);
    gap: 48px;
    align-items: end;
    margin-bottom: 34px;
}

.gallery-section__head p:last-child {
    color: rgba(22, 21, 17, 0.7);
    font-size: 18px;
}

.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(190px, 17vw, 280px);
    gap: 14px;
}

.gallery-mosaic__item {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: #211f1a;
}

.gallery-mosaic__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.94) contrast(1.03);
    transform: scale(1.01);
    transition: transform 260ms ease, filter 260ms ease;
}

.gallery-mosaic__item:hover img {
    filter: saturate(1) contrast(1.06);
    transform: scale(1.035);
}

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

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

.site-footer {
    color: rgba(255, 255, 255, 0.72);
    background: #11100d;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 46px;
    width: min(100% - 48px, 1320px);
    margin: 0 auto;
    padding: 72px 0 54px;
}

.site-footer h2 {
    margin-bottom: 14px;
    color: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.site-footer a {
    color: var(--white);
}

.site-footer__brand img {
    width: 96px;
    height: 96px;
    margin-bottom: 18px;
    object-fit: contain;
}

.site-footer__bottom {
    width: min(100% - 48px, 1320px);
    margin: 0 auto;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
}

.page-main,
.shop-main {
    padding-top: 110px;
}

.page-hero {
    width: min(100% - 48px, 1120px);
    margin: 0 auto;
    padding: 88px 0 40px;
}

.page-hero h1 {
    color: var(--ink);
}

.page-content {
    width: min(100% - 48px, 920px);
    margin: 0 auto;
    padding-bottom: 96px;
}

.page-content a {
    border-bottom: 1px solid currentColor;
    color: var(--wine);
}

.summer-page-poster {
    margin: 0 0 34px;
    padding: 18px;
    background: #14120f;
}

.summer-page-poster img {
    width: 100%;
    height: auto;
}

.summer-facts,
.summer-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 34px 0;
}

.summer-facts div,
.summer-detail-grid div {
    padding: 22px;
    border: 1px solid var(--line);
    background: var(--white);
}

.summer-facts strong,
.summer-detail-grid strong {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.summer-teachers {
    columns: 2;
    margin-bottom: 34px;
}

.shop-shell {
    width: min(100% - 48px, 1180px);
    margin: 0 auto;
    padding: 72px 0 110px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.cfd-enrollment input,
.cfd-enrollment select,
.cfd-enrollment textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--white);
    color: var(--ink);
    font: inherit;
}

.cfd-enrollment {
    display: grid;
    gap: 22px;
    padding: 32px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.cfd-enrollment__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.cfd-enrollment label {
    display: grid;
    gap: 7px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.cfd-form-section {
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.cfd-form-section:first-child {
    padding-top: 0;
    border-top: 0;
}

.cfd-form-section h3 {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.cfd-enrollment input[readonly] {
    color: rgba(22, 21, 17, 0.72);
    background: var(--mist);
}

.cfd-enrollment input[type="file"] {
    padding: 12px;
}

.cfd-enrollment label span {
    color: rgba(22, 21, 17, 0.62);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    text-transform: none;
}

.cfd-checkbox {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    gap: 12px !important;
    padding: 18px;
    border: 1px solid var(--line);
}

.cfd-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.cfd-enrollment textarea,
.cfd-enrollment__full {
    grid-column: 1 / -1;
}

.cfd-notice {
    padding: 18px 20px;
    border-left: 3px solid var(--gold);
    background: var(--mist);
}

.cfd-enrollment-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cfd-enrollment-list li {
    padding: 18px;
    border: 1px solid var(--line);
    background: var(--white);
}

@media (max-width: 1180px) {
    h1 {
        font-size: 58px;
    }

    h2 {
        font-size: 40px;
    }

    .site-header__inner {
        grid-template-columns: auto auto;
    }

    .menu-toggle {
        display: block;
        justify-self: end;
    }

    .site-nav {
        position: absolute;
        top: 88px;
        right: 24px;
        left: 24px;
        display: none;
        padding: 22px;
        color: var(--ink);
        background: var(--paper);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav ul {
        display: grid;
        gap: 4px;
    }

    .site-actions {
        display: none;
    }

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

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

@media (max-width: 820px) {
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 24px;
    }

    .site-header__inner,
    .hero__content,
    .section,
    .page-hero,
    .page-content,
    .shop-shell,
    .site-footer__inner,
    .site-footer__bottom {
        width: min(100% - 32px, 1320px);
    }

    .hero {
        min-height: 760px;
    }

    .hero__content {
        padding-top: 150px;
        padding-bottom: 150px;
    }

    .hero__lead {
        font-size: 18px;
    }

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

    .section {
        padding-top: 76px;
        padding-bottom: 76px;
    }

    .intro__grid,
    .feature,
    .summer,
    .section--split {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .section__head {
        display: grid;
        gap: 20px;
    }

    .program-grid,
    .faculty-grid,
    .visual-story__inner,
    .visual-story__media,
    .gallery-section__head,
    .site-footer__inner,
    .summer-facts,
    .summer-detail-grid,
    .cfd-enrollment__grid {
        grid-template-columns: 1fr;
    }

    .summer-teachers {
        columns: 1;
    }

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

    .program-card span {
        margin-bottom: 40px;
    }

    .feature__image,
    .summer__image {
        min-height: 360px;
    }

    .visual-story__inner {
        width: min(100% - 32px, 1320px);
        padding: 76px 0;
    }

    .visual-story__media {
        gap: 14px;
    }

    .visual-story__panel,
    .visual-story__panel--wide {
        grid-row: auto;
        min-height: 260px;
    }

    .gallery-hero {
        min-height: 640px;
    }

    .gallery-hero__content,
    .gallery-section {
        width: min(100% - 32px, 1320px);
    }

    .gallery-hero__content {
        padding: 150px 0 64px;
    }

    .gallery-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 220px;
        gap: 10px;
    }

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

    .summer__poster {
        padding: 16px;
    }

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

    .cfd-enrollment {
        padding: 22px;
    }
}

@media (max-width: 560px) {
    .gallery-mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }

    .gallery-mosaic__item.is-wide,
    .gallery-mosaic__item.is-tall {
        grid-column: auto;
        grid-row: auto;
    }
}
