@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Montserrat:wght@400;500;600&display=swap");

:root {
    --ink: #241711;
    --chocolate: #2d1c15;
    --cocoa: #51301f;
    --copper: #b7652e;
    --terracotta: #9d402a;
    --ochre: #d89745;
    --gold: #efbd66;
    --cream: #f5f0e8;
    --paper: #fffdfa;
    --sage: #63705b;
    --gallery-deep: #152b2c;
    --line: rgb(72 43 27 / 22%);
    --white-line: rgb(255 248 237 / 30%);
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Montserrat", Arial, sans-serif;

    /* Echelle typographique unique (voir audit) — mobile -> grand ecran */
    --fs-caption: 12px;
    --fs-eyebrow: 12px;
    --fs-body: 16px;
    --fs-read: clamp(19px, 1.4vw, 22px);
    --fs-lede: clamp(22px, 2.6vw, 32px);
    --fs-h4: clamp(26px, 2.6vw, 34px);
    --fs-h3: clamp(30px, 3.6vw, 52px);
    --fs-h2: clamp(40px, 5.2vw, 76px);
    --fs-h1: clamp(56px, 7vw, 108px);
    --fs-display: clamp(72px, 8.5vw, 120px);

    /* Interlignes — plancher .9 pour le francais accentue */
    --lh-display: 0.9;
    --lh-heading: 0.98;
    --lh-body: 1.6;
    --lh-read: 1.65;

    /* Interlettrage — 2 paliers au lieu de 7 */
    --ls-display: -0.04em;
    --ls-heading: -0.02em;
    --ls-label: 0.14em;

    --page-padding: clamp(24px, 6vw, 88px);
    --content-width: 1320px;
    color-scheme: light;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    overflow-x: clip;
}

body,
button,
input {
    font-family: var(--sans);
}

h1,
h2,
h3,
h4,
blockquote {
    font-family: var(--serif);
    font-weight: 500;
}

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

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

a {
    color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.skip-link {
    background: var(--paper);
    color: var(--ink);
    left: 16px;
    padding: 10px 14px;
    position: fixed;
    top: -80px;
    transition: top 160ms ease;
    z-index: 100;
}

.skip-link:focus {
    top: 16px;
}

.hero {
    background: var(--chocolate);
    color: var(--paper);
    min-height: 820px;
    overflow: hidden;
    position: relative;
}

.hero__visual,
.hero__veil {
    inset: 0;
    position: absolute;
    top: 108px;
}

.hero__image {
    filter: brightness(1.18) saturate(1.04);
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.hero__veil {
    background:
        linear-gradient(90deg, rgb(28 14 8 / 36%) 0%, rgb(28 14 8 / 9%) 42%, transparent 70%),
        linear-gradient(0deg, rgb(29 15 9 / 28%) 0%, transparent 38%);
    pointer-events: none;
}

.site-nav {
    align-items: center;
    background: var(--paper);
    color: var(--ink);
    display: flex;
    height: 108px;
    justify-content: space-between;
    left: 0;
    margin-inline: auto;
    max-width: none;
    padding: 7px var(--page-padding);
    position: absolute;
    right: 0;
    top: 0;
    z-index: 5;
}

.brand {
    align-items: center;
    display: flex;
    gap: 13px;
    text-decoration: none;
}

.brand img {
    background: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 5px 18px rgb(0 0 0 / 22%);
    height: 94px;
    object-fit: contain;
    padding: 1px;
    width: 94px;
}

.brand span {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    line-height: 0.92;
}

.site-nav__links {
    align-items: center;
    display: flex;
    gap: clamp(18px, 2.5vw, 34px);
}

.site-nav__links a {
    font-size: 13px;
    position: relative;
    text-decoration: none;
}

.site-nav__links a::after {
    background: var(--terracotta);
    bottom: -8px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms ease;
    width: 100%;
}

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

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

.nav-menu {
    align-items: center;
    display: flex;
    gap: 4px;
    position: relative;
}

.nav-menu__toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    font-size: 16px;
    justify-content: center;
    min-height: 32px;
    min-width: 28px;
    padding: 0;
}

.nav-menu__toggle > span[aria-hidden="true"] {
    line-height: 1;
    transition: transform 180ms ease;
}

.nav-menu.is-open .nav-menu__toggle > span[aria-hidden="true"],
.nav-menu:focus-within .nav-menu__toggle > span[aria-hidden="true"] {
    transform: rotate(180deg);
}

.nav-submenu {
    background: var(--paper);
    box-shadow: 0 16px 34px rgb(45 28 21 / 16%);
    display: grid;
    gap: 2px;
    left: 50%;
    min-width: 245px;
    opacity: 0;
    padding: 12px;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 24px);
    transform: translate(-50%, -8px);
    transition: opacity 160ms ease, transform 160ms ease;
}

/* Pont invisible : comble l'espace entre l'onglet et son sous-menu pour que le
   survol ne se perde pas quand on descend la souris (Le club, Blog, Apprendre). */
.nav-submenu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -28px;
    height: 28px;
}

.nav-submenu a {
    font-size: 12px;
    padding: 9px 11px;
    white-space: nowrap;
}

.nav-submenu a::after {
    bottom: 4px;
    left: 11px;
    width: calc(100% - 22px);
}

.nav-menu:hover .nav-submenu,
.nav-menu:focus-within .nav-submenu,
.nav-menu.is-open .nav-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.site-nav__actions {
    align-items: center;
    display: flex;
    gap: 12px;
}

.icon-button,
.menu-button {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
}

.icon-button {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
}

.icon-button svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.7;
}

.icon-button--dark {
    color: var(--ink);
    font-family: Arial, sans-serif;
    font-size: 28px;
}

.menu-button {
    align-items: center;
    display: none;
    gap: 8px;
    min-height: 44px;
}

.menu-button__lines,
.menu-button__lines::before,
.menu-button__lines::after {
    background: currentColor;
    display: block;
    height: 1px;
    transition: transform 180ms ease;
    width: 20px;
}

.menu-button__lines {
    position: relative;
}

.menu-button__lines::before,
.menu-button__lines::after {
    content: "";
    left: 0;
    position: absolute;
}

.menu-button__lines::before {
    top: -6px;
}

.menu-button__lines::after {
    top: 6px;
}

.menu-button[aria-expanded="true"] .menu-button__lines {
    background: transparent;
}

.menu-button[aria-expanded="true"] .menu-button__lines::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-button__lines::after {
    top: 0;
    transform: rotate(-45deg);
}

.hero__content {
    bottom: 76px;
    left: max(var(--page-padding), calc((100% - var(--content-width)) / 2 + var(--page-padding)));
    max-width: 680px;
    position: absolute;
    right: var(--page-padding);
    text-shadow: 0 2px 22px rgb(20 10 5 / 38%);
    z-index: 2;
}

.eyebrow {
    color: var(--terracotta);
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    letter-spacing: var(--ls-label);
    margin: 0 0 12px;
    text-transform: uppercase;
}

.eyebrow--gold {
    color: var(--gold);
}

.eyebrow--pale {
    color: var(--gold);
}

.hero h1,
.next-session h2,
.club-story h2,
.section-heading h2,
.learn h2,
.join h2 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: var(--ls-display);
    margin: 0;
}

.hero h1 {
    font-size: var(--fs-h1);
    line-height: var(--lh-display);
}

.hero__tagline {
    font-family: var(--serif);
    font-size: var(--fs-lede);
    margin: 26px 0 30px;
}

.hero__actions,
.join__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.button {
    align-items: center;
    display: inline-flex;
    gap: 10px;
    justify-content: center;
    min-height: 50px;
    padding: 12px 18px;
    text-decoration: none;
}

.button--gold {
    background: var(--gold);
    color: var(--ink);
}

.button--paper {
    background: var(--paper);
    color: var(--ink);
}

.button--ghost {
    border: 1px solid rgb(255 248 237 / 74%);
    color: var(--paper);
}

.quote-band {
    background: var(--ochre);
    padding: 26px var(--page-padding);
    text-align: center;
}

.quote-band blockquote {
    font-family: var(--serif);
    font-size: var(--fs-lede);
    line-height: 1.2;
    margin: 0;
}

.quote-band cite {
    display: block;
    font-size: 10px;
    font-style: normal;
    letter-spacing: 0.16em;
    margin-top: 8px;
    text-transform: uppercase;
}

.next-session {
    align-items: end;
    background: var(--paper);
    display: grid;
    gap: clamp(30px, 5vw, 72px);
    grid-template-columns: auto minmax(300px, 1fr) auto;
    margin: 0 auto;
    max-width: var(--content-width);
    padding: 88px var(--page-padding);
}

.next-session__time {
    color: var(--terracotta);
    font-family: var(--serif);
    font-size: var(--fs-display);
    letter-spacing: var(--ls-display);
    line-height: var(--lh-display);
}

.next-session__time span {
    font-size: 0.5em;
    font-style: italic;
    margin-inline: 0.04em;
}

.next-session h2,
.club-story h2,
.section-heading h2,
.learn h2,
.join h2 {
    font-size: var(--fs-h2);
    line-height: var(--lh-heading);
}

.next-session__content p:last-child,
.club-story__content > p:last-of-type,
.section-heading > p,
.learn__content > p:last-of-type,
.join p {
    line-height: 1.75;
}

.next-session__content p:last-child {
    margin-bottom: 0;
}

.text-link {
    border-bottom: 1px solid currentColor;
    color: var(--terracotta);
    padding-bottom: 4px;
    text-decoration: none;
    white-space: nowrap;
}

.text-link--light {
    color: var(--gold);
}

.club-story {
    background: var(--chocolate);
    color: var(--paper);
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
    margin: 0 auto;
    max-width: var(--content-width);
    min-height: 650px;
}

.club-story__media,
.learn__media,
.story-card__image {
    margin: 0;
    overflow: hidden;
    position: relative;
}

.club-story__media img,
.learn__media img,
.story-card__image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.club-story__media figcaption {
    background: rgb(37 21 14 / 85%);
    bottom: 0;
    color: rgb(255 248 237 / 85%);
    font-size: var(--fs-caption);
    left: 0;
    padding: 10px 14px;
    position: absolute;
}

.club-story__content {
    align-self: center;
    padding: 64px clamp(30px, 5vw, 72px);
}

.club-story__content > p:last-of-type {
    color: rgb(255 248 237 / 78%);
    margin: 24px 0 30px;
}

.home-news {
    background: var(--cocoa);
    color: var(--paper);
    display: grid;
    gap: clamp(36px, 6vw, 92px);
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .7fr);
    padding: 82px var(--page-padding);
}

.home-news h2 {
    font-size: var(--fs-h2);
    line-height: var(--lh-display);
    margin: 14px 0 0;
}

.home-news__copy {
    align-self: end;
}

.home-news__copy p {
    color: rgb(255 248 237 / 78%);
    margin: 0 0 26px;
}

.editorial {
    margin: 0 auto;
    max-width: var(--content-width);
    padding: 94px var(--page-padding) 104px;
}

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

.section-heading > p {
    margin: 0;
    max-width: 370px;
}

.editorial__grid {
    display: grid;
    gap: clamp(36px, 4vw, 52px);
    grid-template-columns: 1fr;
}

.editorial__archive-grid {
    display: grid;
    gap: clamp(22px, 3vw, 38px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card a {
    display: block;
    text-decoration: none;
}

.story-card__image {
    aspect-ratio: 16 / 9;
}

.story-card__image--square {
    aspect-ratio: 1;
}

.story-card__image--wide {
    aspect-ratio: 16 / 10;
}

.story-card--main > a {
    background: var(--chocolate);
    color: var(--paper);
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(330px, 0.7fr);
    min-height: 470px;
}

.story-card--main .story-card__image {
    aspect-ratio: auto;
    min-height: 470px;
}

.story-card__feature-copy {
    align-self: center;
    padding: 42px clamp(30px, 4vw, 58px);
}

.story-card--main .story-card__categories span {
    border-color: rgb(255 248 237 / 34%);
    color: #ffd88c;
}

.story-card--main h3 {
    font-size: var(--fs-h3);
    line-height: var(--lh-heading);
}

.story-card--main .story-card__meta {
    border-color: rgb(255 248 237 / 24%);
    color: rgb(255 248 237 / 64%);
}

.story-card--main .story-card__meta span::before {
    background: var(--gold);
}

.story-card__read {
    color: var(--gold);
    display: inline-flex;
    gap: 10px;
    margin-top: 26px;
}

.story-card__read b {
    font-weight: 400;
}

.story-card--text a {
    background: var(--terracotta);
    color: var(--paper);
    min-height: 270px;
    overflow: hidden;
    padding: 28px;
    position: relative;
}

.story-card--text .story-card__number {
    color: rgb(255 248 237 / 11%);
    font-family: var(--serif);
    font-size: 190px;
    line-height: 0.7;
    margin: 0;
    position: absolute;
    right: -4px;
    top: 28px;
}

.story-card--text .story-card__category {
    color: #ffd88c;
    margin-top: 0;
    position: relative;
}

.story-card--text h3,
.story-card--text a > p:last-child {
    max-width: 320px;
    position: relative;
}

.story-card__category {
    color: var(--terracotta);
    font-size: var(--fs-caption);
    font-weight: 500;
    letter-spacing: 0.13em;
    margin: 17px 0 7px;
    text-transform: uppercase;
}

.story-card__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 17px 0 10px;
}

.story-card__categories span {
    border: 1px solid rgb(157 64 42 / 35%);
    color: var(--terracotta);
    font-size: var(--fs-caption);
    font-weight: 500;
    letter-spacing: 0.11em;
    line-height: 1.25;
    padding: 6px 8px;
    text-transform: uppercase;
}

.story-card__meta {
    align-items: center;
    border-top: 1px solid var(--line);
    color: rgb(36 23 17 / 58%);
    display: flex;
    font-size: var(--fs-caption);
    gap: 16px;
    letter-spacing: 0.06em;
    margin: 17px 0 0 !important;
    padding-top: 11px;
    text-transform: uppercase;
}

.story-card__meta span {
    align-items: center;
    display: inline-flex;
    gap: 16px;
}

.story-card__meta span::before {
    background: var(--terracotta);
    border-radius: 50%;
    content: "";
    height: 3px;
    width: 3px;
}

.story-card h3 {
    font-family: var(--serif);
    font-size: var(--fs-h3);
    font-weight: 500;
    letter-spacing: var(--ls-heading);
    line-height: var(--lh-heading);
    margin: 0 0 10px;
}

.story-card:not(.story-card--main) h3 {
    font-size: var(--fs-h4);
}

.story-card > a > p:last-child {
    line-height: 1.65;
    margin: 0;
}

.learn {
    background: var(--paper);
    display: grid;
    grid-template-columns: minmax(340px, 0.85fr) minmax(0, 1.15fr);
    margin: 0 auto;
    max-width: var(--content-width);
}

.learn__content {
    align-self: center;
    padding: 74px clamp(32px, 6vw, 90px);
}

.learn__content > p:last-of-type {
    margin: 24px 0 28px;
}

.learn__media {
    min-height: 560px;
}

.creative-note {
    background: var(--cream);
    color: rgb(36 23 17 / 70%);
    margin: 0 auto;
    max-width: var(--content-width);
    padding: 17px var(--page-padding) 19px;
}

.creative-note p {
    font-size: var(--fs-caption);
    line-height: 1.55;
    margin: 0;
    max-width: 830px;
}

.join {
    align-items: center;
    background: var(--terracotta);
    color: var(--paper);
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    margin: 0 auto;
    max-width: var(--content-width);
    padding: 82px var(--page-padding);
}

.join p {
    color: rgb(255 248 237 / 85%);
    margin: 20px 0 0;
}

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

.site-footer {
    background: var(--ink);
    color: var(--paper);
    display: grid;
    gap: 34px;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    margin: 0 auto;
    max-width: var(--content-width);
    padding: 58px var(--page-padding) 36px;
}

.site-footer strong {
    display: block;
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 500;
    margin-bottom: 8px;
}

.site-footer p,
.site-footer a {
    color: rgb(255 248 237 / 72%);
    font-size: 12px;
    line-height: 1.75;
    margin: 0;
}

.site-footer__legal {
    border-top: 1px solid rgb(255 248 237 / 18%);
    grid-column: 1 / -1;
    margin-top: 10px !important;
    padding-top: 22px;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    grid-column: 1 / -1;
}

.site-footer__links a {
    text-decoration-color: rgb(255 248 237 / 28%);
    text-underline-offset: 4px;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
    color: var(--gold);
}

.admin-entry-link {
    grid-column: 1 / -1;
    justify-self: end;
    opacity: .48;
    text-decoration: none;
    transition: opacity 180ms ease;
}

.admin-entry-link:hover,
.admin-entry-link:focus-visible {
    opacity: 1;
}

.managed-extra {
    align-items: stretch;
    background: var(--paper);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    margin: 0 auto;
    max-width: var(--content-width);
}

.managed-extra figure {
    margin: 0;
    min-height: 460px;
}

.managed-extra figure img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.managed-extra > div {
    align-self: center;
    padding: clamp(54px, 7vw, 112px) clamp(32px, 6vw, 92px);
}

.managed-extra h2 {
    font-family: var(--serif);
    font-size: clamp(38px, 4.4vw, 68px);
    font-weight: 400;
    line-height: .98;
    margin: 18px 0 30px;
}

.managed-rich-text {
    color: inherit;
    font: inherit;
}

.managed-rich-text p,
.managed-rich-text li {
    line-height: 1.75;
}

.managed-rich-text h2,
.managed-rich-text h3 {
    font-family: var(--serif);
    font-weight: 400;
}

.managed-rich-text .text-accent {
    color: var(--rust);
}

.managed-rich-text .text-large {
    font-size: 1.18em;
}

.managed-rich-text .text-small {
    font-size: .88em;
}

.search-dialog {
    background: var(--paper);
    border: 0;
    box-shadow: 0 24px 80px rgb(36 23 17 / 35%);
    color: var(--ink);
    margin: auto;
    max-width: 620px;
    padding: 28px;
    width: calc(100% - 32px);
}

.search-dialog::backdrop {
    background: rgb(36 23 17 / 78%);
    backdrop-filter: blur(4px);
}

.search-dialog__header {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.search-dialog h2 {
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 500;
    line-height: 1;
    margin: 0 0 20px;
}

.search-dialog label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 7px;
}

.search-dialog input {
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 16px;
    min-height: 52px;
    padding: 12px 14px;
    width: 100%;
}

.search-results {
    border-top: 1px solid var(--line);
    margin-top: 22px;
    min-height: 80px;
    padding-top: 18px;
}

.search-results p {
    color: rgb(36 23 17 / 65%);
    margin: 0;
}

.search-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-results li + li {
    border-top: 1px solid var(--line);
}

.search-results a {
    display: block;
    padding: 12px 0;
    text-decoration: none;
}

.has-reveal-motion .reveal {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    transition:
        opacity 420ms ease-out,
        transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.has-reveal-motion .reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (hover: hover) and (pointer: fine) {
    .club-story__media img,
    .learn__media img,
    .story-card__image img {
        transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .club-story:hover .club-story__media img,
    .learn:hover .learn__media img,
    .story-card:hover .story-card__image img {
        transform: scale(1.018);
    }
}

@media (max-width: 900px) {
    .site-nav__links {
        background: var(--chocolate);
        border-top: 1px solid var(--white-line);
        color: var(--paper);
        display: grid;
        gap: 0;
        left: 0;
        opacity: 0;
        padding: 12px var(--page-padding) 20px;
        pointer-events: none;
        position: absolute;
        right: 0;
        top: 100%;
        transform: translateY(-8px);
        transition: opacity 160ms ease, transform 160ms ease;
    }

    .site-nav__links.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-nav__links a {
        border-bottom: 1px solid rgb(255 248 237 / 13%);
        font-size: 15px;
        padding: 13px 0;
    }

    .nav-menu {
        display: grid;
        gap: 0;
        grid-template-columns: 1fr auto;
    }

    .nav-menu__toggle {
        border-bottom: 1px solid rgb(255 248 237 / 13%);
        color: var(--paper);
        min-height: 51px;
        min-width: 51px;
    }

    .nav-submenu {
        background: rgb(255 248 237 / 7%);
        box-shadow: none;
        display: none;
        grid-column: 1 / -1;
        left: auto;
        min-width: 0;
        opacity: 1;
        padding: 4px 0 8px 18px;
        pointer-events: auto;
        position: static;
        transform: none;
    }

    .nav-menu.is-open .nav-submenu,
    .nav-menu:focus-within .nav-submenu {
        display: grid;
        transform: none;
    }

    .nav-submenu a {
        font-size: 13px;
        padding: 10px 0;
    }

    .menu-button {
        display: inline-flex;
    }

    .next-session,
    .club-story,
    .learn,
    .join,
    .home-news {
        grid-template-columns: 1fr;
    }

    .next-session {
        align-items: start;
    }

    .next-session .text-link {
        justify-self: start;
    }

    .club-story__media {
        min-height: 520px;
    }

    .club-story__content {
        padding-block: 64px 74px;
    }

    .learn__media {
        min-height: 480px;
        order: -1;
    }

    .join__actions {
        justify-content: flex-start;
    }

    .site-footer {
        grid-template-columns: 1fr 1fr;
    }

    .story-card--main > a {
        grid-template-columns: 1fr;
    }

    .story-card--main .story-card__image {
        min-height: 390px;
    }

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

    .editorial__archive-grid .story-card:last-child {
        grid-column: 1 / -1;
        max-width: calc(50% - 11px);
    }
}

@media (max-width: 640px) {
    :root {
        --page-padding: 22px;
    }

    .hero {
        display: flex;
        flex-direction: column;
        min-height: 798px;
        padding-top: 78px;
    }

    .hero__visual {
        height: 340px;
        inset: auto;
        position: relative;
        width: 100%;
    }

    .hero__image {
        object-position: 52% 54%;
    }

    .hero__veil {
        background: linear-gradient(0deg, var(--chocolate) 0%, rgb(45 28 21 / 92%) 28%, transparent 100%);
        bottom: auto;
        height: 190px;
        top: 268px;
    }

    .site-nav {
        height: 78px;
        padding-block: 5px;
    }

    .brand img {
        height: 68px;
        width: 68px;
    }

    .brand span,
    .site-nav__actions .icon-button {
        display: none;
    }

    .hero__content {
        bottom: auto;
        left: auto;
        max-width: none;
        padding: 12px var(--page-padding) 48px;
        position: relative;
        right: auto;
    }

    .hero h1 {
        font-size: clamp(54px, 17vw, 68px);
        line-height: 0.86;
    }

    .hero__tagline {
        font-size: 27px;
        line-height: 1.1;
        margin: 20px 0 24px;
    }

    .hero__actions,
    .join__actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .quote-band {
        padding-block: 23px;
    }

    .quote-band blockquote {
        font-size: 22px;
    }

    .next-session {
        gap: 28px;
        padding-block: 58px 64px;
    }

    .next-session__time {
        font-size: 82px;
    }

    .next-session h2,
    .club-story h2,
    .section-heading h2,
    .learn h2,
    .join h2 {
        font-size: 47px;
    }

    .club-story__media {
        min-height: 430px;
    }

    .club-story__media img {
        object-position: 48% center;
    }

    .club-story__content {
        padding: 52px var(--page-padding) 62px;
    }

    .editorial {
        padding-block: 66px 74px;
    }

    .section-heading {
        align-items: start;
        display: grid;
        gap: 22px;
    }

    .editorial__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .editorial__archive-grid {
        gap: 48px;
        grid-template-columns: 1fr;
    }

    .editorial__archive-grid .story-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .story-card--main .story-card__image {
        min-height: 300px;
    }

    .story-card__feature-copy {
        padding: 38px 24px 44px;
    }

    .story-card__image--square {
        aspect-ratio: 4 / 3;
    }

    .learn__media {
        min-height: 330px;
    }

    .learn__content {
        padding: 54px var(--page-padding) 62px;
    }

    .creative-note {
        padding-block: 16px 18px;
    }

    .join {
        gap: 36px;
        padding-block: 62px 68px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        padding-block: 50px 32px;
    }

    .managed-extra {
        grid-template-columns: 1fr;
    }

    .managed-extra figure {
        min-height: 320px;
    }

    .search-dialog {
        padding: 22px;
    }

    .search-dialog h2 {
        font-size: 32px;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Page — La vie du club */
.club-life-page {
    background: var(--cream);
}

.club-life-hero {
    background: var(--chocolate);
    color: var(--paper);
    min-height: min(900px, 100svh);
    overflow: hidden;
    padding-top: 108px;
    position: relative;
}

.club-life-hero__image,
.club-life-hero__veil {
    height: calc(100% - 108px);
    inset: 108px 0 0;
    position: absolute;
    width: 100%;
}

.club-life-hero__image {
    filter: brightness(1.08) saturate(0.96);
    object-fit: cover;
    object-position: center 46%;
}

.club-life-hero__veil {
    background:
        linear-gradient(90deg, rgb(31 16 10 / 67%) 0%, rgb(31 16 10 / 31%) 48%, rgb(31 16 10 / 7%) 75%),
        linear-gradient(0deg, rgb(31 16 10 / 54%) 0%, transparent 45%);
}

.club-life-hero__content {
    bottom: clamp(58px, 9vh, 104px);
    left: max(var(--page-padding), calc((100% - var(--content-width)) / 2 + var(--page-padding)));
    max-width: 720px;
    position: absolute;
    right: var(--page-padding);
    text-shadow: 0 2px 24px rgb(20 10 5 / 42%);
    z-index: 2;
}

.club-life-hero h1,
.club-life-intro h2,
.club-portraits h2,
.member-story h2,
.art-gallery h2,
.next-portrait h2,
.not-found h1 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: var(--ls-display);
    margin: 0;
}

.club-life-hero h1 {
    font-size: var(--fs-display);
    line-height: var(--lh-display);
}

.club-life-hero__content > p:not(.eyebrow) {
    font-family: var(--serif);
    font-size: var(--fs-lede);
    line-height: 1.08;
    margin: 32px 0 34px;
    max-width: 620px;
}

.site-nav__links a[aria-current="page"]::after {
    transform: scaleX(1);
}

.club-life-intro {
    background: var(--paper);
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
    margin: 0 auto;
    max-width: var(--content-width);
    min-height: 700px;
}

.club-life-intro__media {
    margin: 0;
    min-height: 700px;
    overflow: hidden;
}

.club-life-intro__media img {
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
    width: 100%;
}

.club-life-intro__copy {
    align-self: center;
    padding: 72px clamp(38px, 6vw, 92px);
}

.club-life-intro h2 {
    font-size: var(--fs-h2);
    line-height: var(--lh-heading);
    margin-bottom: 30px;
}

.club-life-intro__copy > p:not(.eyebrow) {
    color: rgb(36 23 17 / 78%);
    margin: 0 0 18px;
}

.club-portraits {
    background: var(--chocolate);
    color: var(--paper);
    margin: 0 auto;
    max-width: var(--content-width);
    padding: 100px var(--page-padding) 112px;
}

.club-portraits__heading {
    display: grid;
    gap: 24px 54px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
    margin-bottom: 56px;
}

.club-portraits__heading .eyebrow {
    grid-column: 1 / -1;
}

.club-portraits h2 {
    font-size: var(--fs-h2);
    line-height: var(--lh-heading);
}

.club-portraits h2 span {
    display: block;
}

.club-portraits__story-line {
    margin-top: 0.22em;
}

.club-portraits__heading > p:last-child {
    align-self: end;
    color: rgb(255 248 237 / 70%);
    margin: 0;
}

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

.portrait-card {
    background: #3b241a;
    color: var(--paper);
    display: block;
    overflow: hidden;
    text-decoration: none;
}

.portrait-card figure {
    aspect-ratio: 4 / 5;
    background: #e9ddca;
    margin: 0;
    overflow: hidden;
}

.portrait-card figure img {
    height: 100%;
    object-fit: cover;
    transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
    width: 100%;
}

.portrait-card:nth-child(2) figure img {
    object-fit: contain;
    padding: 22px;
}

.portrait-card--next figure {
    align-items: flex-end;
    background: linear-gradient(150deg, #e8d8be 0%, #b7652e 100%);
    display: flex;
    justify-content: center;
    padding: 26px 20px 0;
}

.portrait-card--next figure img {
    height: auto;
    max-height: 92%;
    object-fit: contain;
    width: auto;
}

.portrait-card > div {
    min-height: 222px;
    padding: 24px 24px 27px;
}

.portrait-card span {
    color: var(--gold);
    font-size: var(--fs-caption);
    letter-spacing: 0.14em;
}

.portrait-card h3 {
    font-family: var(--serif);
    font-size: var(--fs-h4);
    font-weight: 500;
    line-height: var(--lh-heading);
    margin: 17px 0 14px;
}

.portrait-card p {
    color: rgb(255 248 237 / 68%);
    font-size: 12px;
    margin: 0 0 22px;
}

.portrait-card b {
    color: var(--gold);
    font-size: var(--fs-caption);
    font-weight: 500;
}

@media (hover: hover) and (pointer: fine) {
    .portrait-card:hover figure img {
        transform: scale(1.035);
    }

    .portrait-card:hover {
        background: #4a2b1e;
    }
}

.member-story {
    background: #e5d8c5;
    box-shadow: 0 24px 70px rgb(45 28 21 / 10%);
    column-gap: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.98fr);
    margin: 58px auto;
    max-width: calc(var(--content-width) - 64px);
    min-height: 760px;
    overflow: hidden;
    padding: 18px;
    position: relative;
    scroll-margin-top: 24px;
}

.member-story--reverse .member-story__copy {
    order: 2;
}

.member-story--reverse .member-story__visual {
    order: 1;
}

.member-story--daniel {
    background: #7f3425;
    color: var(--paper);
}

.member-story--marie {
    background: #d6c6a8;
}

.member-story__copy {
    align-self: center;
    background: var(--paper);
    min-height: 100%;
    padding: 84px clamp(42px, 7vw, 104px);
}

.member-story--daniel .member-story__copy {
    background: var(--terracotta);
}

.member-story--marie .member-story__copy {
    background: #e9dfcb;
}

.member-story h2 {
    font-size: var(--fs-h1);
    line-height: var(--lh-display);
    margin-bottom: 24px;
}

.member-story__role {
    border-bottom: 1px solid currentColor;
    font-size: var(--fs-caption);
    letter-spacing: 0.1em;
    margin: 0 0 30px !important;
    opacity: 0.72;
    padding-bottom: 18px;
    text-transform: uppercase;
}

.member-story__copy > p:not(.eyebrow):not(.member-story__role) {
    margin: 0 0 18px;
}

.member-story--daniel .member-story__copy > p:not(.eyebrow) {
    color: rgb(255 248 237 / 86%);
}

.member-story__archive-note {
    border-left: 3px solid var(--terracotta);
    color: rgb(36 23 17 / 68%);
    font-size: 13px;
    margin-top: 28px !important;
    padding-left: 18px;
}

.member-story__visual {
    background: #d9c7ae;
    margin: 0;
    min-height: 760px;
    overflow: hidden;
    position: relative;
}

.member-story__visual img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.member-story__visual--logo {
    background: var(--paper);
    padding: clamp(38px, 5vw, 76px);
}

.member-story__visual--logo img {
    object-fit: contain;
}

.member-story__visual figcaption,
.art-gallery figure figcaption {
    background: rgb(37 21 14 / 86%);
    bottom: 0;
    color: rgb(255 248 237 / 86%);
    font-size: 11px;
    left: 0;
    padding: 10px 14px;
    position: absolute;
}

.anchor-alias {
    left: 0;
    position: absolute;
    top: 0;
}

.art-gallery {
    background: var(--gallery-deep);
    color: var(--paper);
    margin: 0 auto;
    max-width: var(--content-width);
    padding: 100px var(--page-padding) 116px;
}

.art-gallery__heading {
    margin-bottom: 48px;
    max-width: 760px;
}

.art-gallery h2 {
    font-size: var(--fs-h2);
    line-height: var(--lh-display);
}

.art-gallery__heading > p:last-child {
    color: rgb(255 248 237 / 68%);
    margin: 22px 0 0;
}

.art-gallery__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.art-gallery figure {
    grid-column: span 4;
    margin: 0;
    min-height: 430px;
    overflow: hidden;
    position: relative;
}

.art-gallery__wide {
    grid-column: span 8 !important;
}

.art-gallery__poster {
    grid-column: 9 / 13 !important;
    grid-row: 1 / 3;
    min-height: 878px !important;
}

.art-gallery figure img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.gallery-zoom {
    background: transparent;
    border: 0;
    cursor: zoom-in;
    display: block;
    height: 100%;
    padding: 0;
    position: relative;
    width: 100%;
}

.gallery-zoom__icon {
    align-items: center;
    background: rgb(255 248 237 / 92%);
    border-radius: 50%;
    color: var(--ink);
    display: flex;
    font-size: 18px;
    height: 42px;
    justify-content: center;
    position: absolute;
    right: 16px;
    top: 16px;
    transition: transform 180ms ease;
    width: 42px;
}

.gallery-zoom:hover .gallery-zoom__icon {
    transform: scale(1.08);
}

.gallery-zoom--poster {
    background: #0e3850;
    padding: 16px;
}

.gallery-zoom--poster img,
.art-gallery__poster img {
    object-fit: contain;
    object-position: center;
}

.gallery-dialog {
    background: #132a2d;
    border: 0;
    color: var(--paper);
    height: min(92vh, 980px);
    margin: auto;
    max-height: 92vh;
    max-width: min(94vw, 1320px);
    padding: 22px;
    width: min(94vw, 1320px);
}

.gallery-dialog::backdrop {
    background: rgb(20 10 6 / 88%);
    backdrop-filter: blur(6px);
}

.gallery-dialog figure {
    height: 100%;
    margin: 0;
    position: relative;
}

.gallery-dialog img {
    height: calc(100% - 42px);
    object-fit: contain;
    width: 100%;
}

.gallery-dialog figcaption {
    font-family: var(--serif);
    font-size: 25px;
    padding-top: 9px;
    text-align: center;
}

.gallery-dialog__close {
    align-items: center;
    background: var(--paper);
    border: 0;
    border-radius: 50%;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    font-size: 28px;
    height: 44px;
    justify-content: center;
    position: absolute;
    right: 14px;
    top: 14px;
    width: 44px;
    z-index: 2;
}

.next-portrait {
    align-items: center;
    background: var(--cocoa);
    color: var(--paper);
    display: grid;
    gap: clamp(40px, 8vw, 110px);
    grid-template-columns: minmax(230px, 0.55fr) minmax(0, 1fr);
    margin: 0 auto;
    max-width: var(--content-width);
    overflow: hidden;
    padding: 72px var(--page-padding) 0;
    scroll-margin-top: 24px;
}

.next-portrait > img {
    align-self: end;
    margin: 0 auto;
    max-height: 460px;
    object-fit: contain;
}

.next-portrait > div {
    padding-bottom: 72px;
}

.next-portrait h2 {
    font-size: var(--fs-h2);
    line-height: var(--lh-display);
}

.next-portrait p:not(.eyebrow) {
    color: rgb(255 248 237 / 74%);
    margin: 24px 0 30px;
    max-width: 680px;
}

.not-found {
    background: var(--chocolate);
    color: var(--paper);
    min-height: 100svh;
    padding: 18vh var(--page-padding) 80px;
}

.not-found h1 {
    font-size: var(--fs-display);
    line-height: var(--lh-display);
    max-width: 900px;
}

.not-found > p:not(.eyebrow) {
    font-size: 19px;
    margin: 30px 0;
}

@media (max-width: 1080px) {
    .portrait-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .club-life-intro,
    .member-story {
        grid-template-columns: 1fr 1fr;
    }

    .art-gallery figure,
    .art-gallery__wide,
    .art-gallery__poster {
        grid-column: span 6 !important;
        grid-row: auto;
        min-height: 500px !important;
    }
}

@media (max-width: 760px) {
    .club-life-hero {
        min-height: 760px;
        padding-top: 78px;
    }

    .club-life-hero__image,
    .club-life-hero__veil {
        height: calc(100% - 78px);
        inset: 78px 0 0;
    }

    .club-life-hero__image {
        object-position: 58% center;
    }

    .club-life-hero__veil {
        background:
            linear-gradient(0deg, rgb(31 16 10 / 82%) 0%, rgb(31 16 10 / 28%) 62%, rgb(31 16 10 / 7%) 100%),
            linear-gradient(90deg, rgb(31 16 10 / 28%), transparent 72%);
    }

    .club-life-hero__content {
        bottom: 48px;
        left: var(--page-padding);
    }

    .club-life-hero h1 {
        font-size: clamp(70px, 23vw, 96px);
    }

    .club-life-hero__content > p:not(.eyebrow) {
        font-size: 28px;
        margin-block: 24px 28px;
    }

    .club-life-intro,
    .member-story,
    .next-portrait {
        grid-template-columns: 1fr;
    }

    .club-life-intro__media {
        min-height: 430px;
    }

    .club-life-intro__copy {
        padding: 58px var(--page-padding) 66px;
    }

    .club-life-intro h2 {
        font-size: 48px;
    }

    .club-portraits {
        padding-block: 70px 78px;
    }

    .club-portraits__heading {
        grid-template-columns: 1fr;
    }

    .club-portraits__heading .eyebrow {
        grid-column: auto;
    }

    .club-portraits h2 {
        font-size: 52px;
    }

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

    .portrait-card {
        display: grid;
        grid-template-columns: minmax(130px, 0.8fr) minmax(0, 1.2fr);
    }

    .portrait-card figure {
        aspect-ratio: auto;
        min-height: 310px;
    }

    .portrait-card > div {
        min-height: 310px;
    }

    .member-story--reverse .member-story__copy,
    .member-story--reverse .member-story__visual {
        order: initial;
    }

    .member-story__copy {
        padding: 64px var(--page-padding) 72px;
    }

    .member-story {
        column-gap: 0;
        margin: 32px 14px;
        padding: 10px;
    }

    .member-story h2 {
        font-size: 78px;
    }

    .member-story__visual {
        min-height: 570px;
    }

    .member-story--daniel .member-story__visual {
        order: -1;
    }

    .art-gallery {
        padding-block: 72px 82px;
    }

    .art-gallery h2 {
        font-size: 61px;
    }

    .art-gallery figure,
    .art-gallery__wide,
    .art-gallery__poster {
        grid-column: 1 / -1 !important;
        min-height: 390px !important;
    }

    .art-gallery__poster {
        min-height: 690px !important;
    }

    .next-portrait {
        gap: 22px;
        padding-top: 54px;
    }

    .next-portrait > img {
        max-height: 330px;
    }

    .next-portrait > div {
        padding-bottom: 68px;
    }

    .next-portrait h2 {
        font-size: 54px;
    }
}

@media (max-width: 480px) {
    .portrait-card {
        grid-template-columns: 1fr;
    }

    .portrait-card figure {
        min-height: 390px;
    }

    .portrait-card > div {
        min-height: auto;
    }
}
