/**
 * École française de Kotor — identité visuelle
 * Ivoire, chêne, sauge. Grain et feuille sont des tracés d’origine.
 */

:root {
    --ivory: #e8e0d4;
    --card: #f7f2ea;
    --greige: #c9c0b3;
    --greige-soft: #e4ddd2;
    --taupe: #b5aa9b;
    --oak: #c5a77d;
    --sage: #8f9f7a;
    --sage-soft: #eef0e6;
    --olive: #6e7b4f;
    --ink: #4a4036;
    --blush: #e7b9b2;
    --butter: #f2d37a;
    --dust: #8ba7c1;
    --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
    --sans: "Nunito", "Segoe UI", sans-serif;
    --shadow: 0 8px 24px rgba(74, 64, 54, 0.08);
    --radius-card: 28px;
    --radius-photo: 24px;
    --header-h: 76px;
    --max: 1180px;
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Grain papier très léger, un seul calque pour tout le site */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 70;
    pointer-events: none;
    opacity: 0.07;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    background-size: 180px 180px;
}

:focus-visible {
    outline: 3px solid var(--olive);
    outline-offset: 3px;
}

.ecole-page h1,
.ecole-page h2,
.ecole-page h3,
.ecole-slogan,
.ecole-footer h2 {
    font-family: var(--serif);
    font-weight: 650;
    line-height: 1.15;
    hyphens: none;
    -webkit-hyphens: none;
    text-wrap: balance;
}

img,
video {
    max-width: 100%;
    display: block;
}

.ecole-skip {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 200;
    background: var(--olive);
    color: var(--card);
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
}

.ecole-skip:focus {
    top: 12px;
}

.ecole-wrap {
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto;
}

.ecole-kicker {
    display: inline-block;
    margin: 0 0 16px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
}

.ecole-rule {
    width: 120px;
    height: 1px;
    margin: 0 0 22px;
    background: var(--olive);
    border: 0;
}

.ecole-section {
    padding: 112px 0;
    position: relative;
}

.ecole-section-sage {
    background: var(--sage-soft);
    border-radius: 36px 36px 0 0;
}

.ecole-section-greige {
    background: var(--greige-soft);
    border-radius: 36px 36px 0 0;
}

.ecole-title {
    margin: 0 0 18px;
    font-size: clamp(30px, 4vw, 52px);
    color: var(--ink);
}

.ecole-lead,
.ecole-prose p {
    margin: 0 0 16px;
    max-width: 64ch;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
}

.ecole-pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--oak);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ecole-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
    transition: transform 180ms ease-out, filter 180ms ease-out, background 180ms ease-out;
}

/* 19px gras : le couple crème / olive passe le seuil du grand texte */
.ecole-btn-primary {
    background: var(--olive);
    color: var(--card);
    font-size: 19px;
}

.ecole-btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    color: var(--card);
}

.ecole-btn-secondary {
    background: transparent;
    border-color: var(--oak);
    color: var(--ink);
}

.ecole-btn-secondary:hover {
    background: rgba(197, 167, 125, 0.2);
    transform: translateY(-2px);
    color: var(--ink);
}

.ecole-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    filter: none;
}

.ecole-nav .ecole-btn-primary {
    display: none;
}

.ecole-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(232, 224, 212, 0.96);
    border-bottom: 1px solid rgba(197, 167, 125, 0.5);
}

.ecole-header-inner {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 18px;
}

.ecole-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
    color: var(--ink);
}

.ecole-logo img {
    height: 52px;
    width: auto;
}

.ecole-logo-text {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 650;
}

.ecole-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.ecole-nav a:not(.ecole-btn) {
    color: var(--ink);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.ecole-nav a:not(.ecole-btn):hover {
    color: var(--olive);
}

.ecole-header-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

#lfm-lang-btn.ecole-lang {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1.5px solid var(--oak);
    background: transparent;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.ecole-account {
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
}

.ecole-burger {
    display: none;
    width: 48px;
    height: 48px;
    border: 1.5px solid var(--oak);
    border-radius: 999px;
    background: var(--card);
    cursor: pointer;
    padding: 0;
}

.ecole-burger span,
.ecole-burger span::before,
.ecole-burger span::after {
    display: block;
    width: 18px;
    height: 1.5px;
    margin: 0 auto;
    background: var(--olive);
    position: relative;
    border-radius: 2px;
}

.ecole-burger span::before,
.ecole-burger span::after {
    content: "";
    position: absolute;
    left: 0;
}

.ecole-burger span::before { top: -6px; }
.ecole-burger span::after { top: 6px; }

.ecole-hero {
    position: relative;
    padding: 56px 0 72px;
    overflow: hidden;
}

.ecole-leaf {
    position: absolute;
    top: 8px;
    right: 1vw;
    width: min(170px, 22vw);
    pointer-events: none;
}

.ecole-hero-grid,
.ecole-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.ecole-slogan {
    margin: 0 0 16px;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 560;
    font-style: italic;
    color: var(--ink);
}

.ecole-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(36px, 4.6vw, 56px);
    color: var(--ink);
}

.ecole-hero-lines {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ecole-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.ecole-actions-stack {
    flex-direction: column;
    align-items: stretch;
}

.ecole-figure {
    margin: 0;
    border-radius: var(--radius-photo);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--greige-soft);
}

.ecole-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 5;
    transition: transform 600ms ease-out;
}

.ecole-figure:hover img {
    transform: scale(1.03);
}

.ecole-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.ecole-fact strong {
    display: block;
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 650;
    line-height: 1.1;
    color: var(--ink);
}

.ecole-fact span {
    display: block;
    margin-top: 6px;
    font-size: 16px;
}

.ecole-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 36px;
}

.ecole-card {
    background: var(--card);
    border: 1.5px solid var(--oak);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
    padding: 28px 24px 26px;
}

.ecole-card h3,
.ecole-timeline h3 {
    margin: 12px 0 8px;
    font-size: 26px;
    color: var(--ink);
}

.ecole-card p,
.ecole-list,
.ecole-timeline p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
}

.ecole-icon {
    width: 36px;
    height: 36px;
    color: var(--olive);
}

.ecole-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 10px;
}

.ecole-list li {
    padding-left: 18px;
    position: relative;
}

.ecole-list li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sage);
    position: absolute;
    left: 0;
    top: 0.55em;
}

.ecole-phases {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 28px;
}

.ecole-loc {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
    margin: 8px 0 16px;
}

.ecole-loc a {
    color: var(--ink);
    font-weight: 700;
}

.ecole-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    align-items: stretch;
    margin-top: 12px;
}

.ecole-gallery .ecole-figure,
.ecole-gallery .ecole-video-wrap {
    margin: 0;
    height: 100%;
    border-radius: var(--radius-photo);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--greige-soft);
}

.ecole-gallery .ecole-figure img,
.ecole-gallery .ecole-video {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 0;
    max-height: none;
}

.ecole-timeline {
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
    max-width: 720px;
}

.ecole-timeline li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 16px;
}

.ecole-timeline-mark {
    width: 12px;
    height: 12px;
    margin-top: 10px;
    border-radius: 50%;
    background: var(--olive);
    position: relative;
}

.ecole-timeline li:not(:last-child) .ecole-timeline-mark::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 16px;
    width: 1px;
    bottom: -36px;
    background: var(--olive);
}

.ecole-timeline-body {
    padding-bottom: 28px;
}

.ecole-fees-panel {
    display: grid;
    grid-template-columns: 1.3fr auto;
    gap: 28px;
    align-items: center;
    background: var(--card);
    border: 1.5px solid var(--oak);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
    padding: 40px;
}

.ecole-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(760px, calc(100% - 32px));
    max-height: min(86vh, 840px);
    margin: 0;
    overflow: auto;
    z-index: 200;
    border: 1.5px solid var(--oak);
    border-radius: var(--radius-card);
    background: var(--card);
    color: var(--ink);
    padding: 28px;
    box-shadow: var(--shadow);
}

.ecole-dialog::backdrop {
    background: rgba(74, 64, 54, 0.46);
}

.ecole-dialog-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.ecole-dialog h2 {
    margin: 0 0 8px;
    font-size: clamp(30px, 4vw, 40px);
}

.ecole-fee-grid {
    display: grid;
    gap: 14px;
    margin: 18px 0 8px;
}

.ecole-fee {
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--ivory);
    border: 1px solid var(--oak);
}

.ecole-fee strong {
    display: block;
    font-family: var(--serif);
    font-size: 22px;
    margin-bottom: 6px;
}

.ecole-fee p,
.ecole-fee li {
    font-size: 16px;
    line-height: 1.55;
}

.ecole-dialog-close {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 999px;
    border: 1.5px solid var(--oak);
    background: transparent;
    color: var(--ink);
    font-size: 22px;
    cursor: pointer;
}

.ecole-contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 36px;
    align-items: start;
}

.ecole-contact-list {
    list-style: none;
    padding: 0;
    margin: 18px 0;
    display: grid;
    gap: 12px;
}

.ecole-contact-list a {
    color: var(--ink);
    font-weight: 700;
}

.ecole-socials {
    display: flex;
    gap: 10px;
}

.ecole-footer .ecole-socials a {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1.5px solid var(--card);
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--card);
}

.ecole-footer .ecole-socials a:hover {
    background: rgba(247, 242, 234, 0.12);
}

.ecole-footer .ecole-socials svg {
    width: 22px;
    height: 22px;
    display: block;
    stroke: currentColor;
}

.ecole-map {
    margin-top: 18px;
    border: 0;
    width: 100%;
    height: 220px;
    border-radius: var(--radius-photo);
    background: var(--greige-soft);
}

.ecole-form {
    position: relative;
    background: var(--card);
    border: 1.5px solid var(--oak);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
    padding: 28px;
    display: grid;
    gap: 14px;
}

.ecole-form .ecole-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.ecole-form input,
.ecole-form textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1.5px solid var(--oak);
    background: var(--ivory);
    color: var(--ink);
    font: 400 17px/1.5 var(--sans);
}

.ecole-form textarea {
    min-height: 140px;
    resize: vertical;
}

.ecole-form input:disabled,
.ecole-form textarea:disabled,
.ecole-choices input:disabled + span {
    opacity: 0.45;
}

.ecole-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ecole-choices label {
    position: relative;
    margin: 0;
}

.ecole-choices span {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1.5px solid var(--oak);
    background: var(--ivory);
    cursor: pointer;
    font-weight: 700;
}

.ecole-choices input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.ecole-choices input:checked + span {
    background: var(--olive);
    border-color: var(--olive);
    color: var(--card);
}

.ecole-choices input:focus-visible + span {
    outline: 3px solid var(--olive);
    outline-offset: 3px;
}

.ecole-hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.ecole-form-status {
    min-height: 1.4em;
    margin: 0;
    font-size: 16px;
}

.ecole-form-status.is-error {
    color: #6b3a32;
}

.ecole-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--blush);
    vertical-align: 1px;
}

.ecole-footer {
    background: var(--ink);
    color: var(--card);
    padding: 56px 0 28px;
}

.ecole-footer a {
    color: var(--card);
}

.ecole-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
}

.ecole-footer h2 {
    color: var(--card);
    margin: 0 0 10px;
    font-size: 28px;
}

.ecole-footer p,
.ecole-footer li {
    color: var(--card);
    font-size: 16px;
    line-height: 1.6;
}

.ecole-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.ecole-footer-bottom {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid rgba(247, 242, 234, 0.25);
    font-size: 14px;
}

.lfm-lang-modal-overlay {
    backdrop-filter: none;
    background: rgba(74, 64, 54, 0.46);
}

.lfm-lang-modal-content {
    background: var(--card);
    border: 1.5px solid var(--oak);
    border-radius: var(--radius-card);
    color: var(--ink);
}

.lfm-lang-modal-title,
.lfm-lang-name {
    color: var(--ink);
    font-family: var(--serif);
}

.lfm-lang-option {
    background: var(--ivory);
    border-color: var(--oak);
    border-radius: 16px;
    min-height: 48px;
}

.lfm-lang-option.active,
.lfm-lang-option.active .lfm-lang-name {
    background: var(--olive);
    border-color: var(--olive);
    color: var(--card);
}

.ecole-reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 400ms ease-out, transform 400ms ease-out;
}

.ecole-reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (max-width: 980px) {
    .ecole-burger { display: inline-flex; align-items: center; justify-content: center; }

    .ecole-nav {
        position: fixed;
        inset: 0;
        z-index: 50;
        margin: 0;
        padding: 108px 28px 40px;
        background: var(--ivory);
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        opacity: 0;
        pointer-events: none;
    }

    .ecole-nav.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    .ecole-nav a:not(.ecole-btn) {
        font-family: var(--serif);
        font-size: 32px;
        font-weight: 650;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
    }

    .ecole-header-tools .ecole-btn-primary { display: none; }
    .ecole-nav .ecole-btn-primary { display: inline-flex; margin-top: 18px; }

    .ecole-hero-grid,
    .ecole-split,
    .ecole-cards,
    .ecole-phases,
    .ecole-gallery,
    .ecole-contact-grid,
    .ecole-fees-panel,
    .ecole-facts,
    .ecole-footer-grid {
        grid-template-columns: 1fr;
    }

    .ecole-section { padding: 64px 0; }
    .ecole-hero { padding: 28px 0 48px; }
    .ecole-leaf { width: 96px; }
    .ecole-gallery .ecole-video { max-height: none; }
    .ecole-account { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .ecole-reveal,
    .ecole-figure img,
    .ecole-btn,
    .ecole-nav {
        transition: none;
        transform: none;
    }

    .ecole-reveal { opacity: 1; }
    .ecole-figure:hover img,
    .ecole-btn-primary:hover,
    .ecole-btn-secondary:hover { transform: none; }
    .ecole-hero-title .ecole-word {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .ecole-panel.ecole-reveal { transition-delay: 0ms; }
}

/* Rythme : une forme par écran */
html { scroll-behavior: smooth; }

#ecole,
#approche,
#contact,
#lieu {
    scroll-margin-top: calc(var(--header-h) + 12px);
}

.ecole-hero-bleed {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: stretch;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    padding: 0;
}

.ecole-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    padding: 8vh 7vw;
}

.ecole-hero-bleed h1 {
    max-width: 9ch;
    margin: 0;
    font-size: clamp(52px, 6.4vw, 96px);
    line-height: 0.98;
    letter-spacing: -0.02em;
}

.ecole-hero-title .ecole-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px);
    animation: ecole-rise 400ms ease-out forwards;
}

@keyframes ecole-rise {
    to {
        opacity: 1;
        transform: none;
    }
}

.ecole-hero-media {
    margin: 0;
    min-height: 100%;
    overflow: hidden;
    background: var(--greige-soft);
}

.ecole-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ecole-words {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 96px 6vw;
    background: var(--sage-soft);
}

.ecole-words p {
    margin: 0;
    font-family: var(--serif);
    font-weight: 650;
    font-size: clamp(32px, 3.6vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.ecole-friday {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
    background: var(--card);
}

.ecole-friday-photo {
    margin: 0;
    min-height: 68vh;
    overflow: hidden;
    background: var(--greige-soft);
}

.ecole-friday-photo img {
    width: 100%;
    height: 100%;
    min-height: 68vh;
    object-fit: cover;
}

.ecole-friday-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 18px;
    padding: 64px 6vw;
}

.ecole-friday h2 {
    margin: 0;
    font-size: clamp(42px, 4.4vw, 68px);
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.ecole-friday-line {
    margin: 0;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 560;
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.3;
}

.ecole-friday-copy p:not(.ecole-friday-line) {
    margin: 0;
    max-width: 34em;
}

.ecole-story {
    position: relative;
    padding-bottom: 88px;
}

.ecole-story-photo {
    margin: 0;
    height: 78vh;
    overflow: hidden;
    background: var(--greige-soft);
}

.ecole-story-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ecole-story-card {
    position: relative;
    width: min(520px, calc(100% - 48px));
    margin: -160px 8vw 0 auto;
    padding: 40px 36px 36px;
    background: var(--card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
}

.ecole-story-card h2 {
    margin: 10px 0 16px;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15;
}

.ecole-panels-section {
    padding: 108px 0 88px;
}

.ecole-panels-heading {
    margin: 0 0 40px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1;
    letter-spacing: -0.02em;
}

.ecole-panels {
    display: flex;
    gap: 18px;
}

.ecole-panel {
    flex: 1;
    min-height: 340px;
    margin: 0;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--card);
    border-radius: var(--radius-card);
}

.ecole-panel h3 {
    margin: 0 0 12px;
    font-size: clamp(32px, 3vw, 48px);
    line-height: 1.05;
}

.ecole-panel p {
    margin: 0;
}

.ecole-panel.ecole-reveal {
    transition-delay: var(--d, 0ms);
}

.ecole-film {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: var(--greige-soft);
}

.ecole-film figure {
    margin: 0;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.ecole-film-video,
.ecole-film img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    background: var(--greige-soft);
}

.ecole-place {
    padding: 72px 0;
    background: var(--sage-soft);
}

.ecole-place-band {
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 64px;
    align-items: start;
}

.ecole-place h2 {
    margin: 8px 0 12px;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.12;
}

.ecole-place-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}

.ecole-text-link {
    appearance: none;
    background: none;
    border: 0;
    padding: 8px 0;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}

@media (max-width: 980px) {
    .ecole-hero-bleed {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 0;
    }

    .ecole-hero-copy {
        padding: 48px 24px 28px;
        gap: 22px;
    }

    .ecole-hero-bleed h1 {
        max-width: 12ch;
        font-size: clamp(40px, 12vw, 64px);
    }

    .ecole-hero-media {
        min-height: 62vh;
    }

    .ecole-hero-media img {
        min-height: 62vh;
    }

    .ecole-words {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 56px 24px;
    }

    .ecole-friday {
        grid-template-columns: 1fr;
    }

    .ecole-friday-photo,
    .ecole-friday-photo img {
        min-height: 52vh;
    }

    .ecole-friday-copy {
        padding: 40px 24px 56px;
    }

    .ecole-story-photo {
        height: 62vh;
    }

    .ecole-story-card {
        margin: -72px 16px 0;
        width: auto;
        padding: 28px 22px;
    }

    .ecole-panels-section {
        padding: 64px 0;
    }

    .ecole-panels {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

    .ecole-panel {
        flex: 0 0 82%;
        scroll-snap-align: start;
        min-height: 280px;
    }

    .ecole-film {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        height: 100vh;
        height: 100dvh;
    }

    .ecole-film figure,
    .ecole-film-video,
    .ecole-film img {
        min-height: 0;
        height: 100%;
    }

    .ecole-place {
        padding: 56px 0;
    }

    .ecole-place-band {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
