@font-face {
    font-family: "TanSongBird";
    src: url("../fonts/TANSONGBIRD.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Sailors";
    src: url("../fonts/SailorsSlant.ttf") format("truetype");
    font-display: swap;
}

:root {
    --bg: #fffaf1;
    --paper: #fffefb;
    --ink: #2c3c4b;
    --ink-soft: rgba(44, 60, 75, 0.72);
    --red: #f8426f;
    --yellow: #ffbd42;
    --blue: #3a9b96;
    --black: #2c3c4b;
    --white: #ffffff;
    --yellow-soft: rgba(255, 189, 66, 0.18);
    --blue-soft: rgba(58, 155, 150, 0.16);
    --red-soft: rgba(248, 66, 111, 0.12);
    --line: rgba(44, 60, 75, 0.12);
    --shadow: 0 18px 42px rgba(44, 60, 75, 0.08);
    --shadow-soft: 0 10px 26px rgba(44, 60, 75, 0.06);
    --radius-xl: 42px;
    --radius-lg: 30px;
    --radius-md: 22px;
    --shell: min(1260px, calc(100% - 6.6rem));
    --space-section: clamp(7.1rem, 11.5vw, 11rem);
    --space-section-tight: clamp(5.8rem, 9.1vw, 7.8rem);
    --display-leading: 1.84;
    --display-leading-wide: 1.96;
    --transition: 220ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
    color: var(--ink);
    line-height: 1.8;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    background: linear-gradient(180deg, #fffdf9 0%, #fffaf2 48%, #fff8f6 100%);
    overflow-x: clip;
}

body.menu-open,
body.modal-open {
    overflow: hidden;
}

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

figure {
    margin: 0;
}

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

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(58, 155, 150, 0.28);
    outline-offset: 3px;
}

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

button {
    cursor: pointer;
}

p,
li {
    margin: 0;
    color: var(--ink-soft);
}

h1,
h2,
h3,
strong {
    margin: 0;
    color: var(--ink);
}

.shell {
    width: var(--shell);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    padding-top: 1.4rem;
}

.nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.7rem;
    padding: 1.08rem 1.22rem 1.08rem 1.28rem;
    border: 2px solid rgba(44, 60, 75, 0.08);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.site-header.is-scrolled .nav {
    background: rgba(255, 255, 255, 0.98);
}

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

.brand img {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-copy {
    display: inline-flex;
    flex-direction: column;
}

.brand-script,
.footer-script {
    font-family: "Sailors", cursive;
}

.brand-script {
    color: var(--blue);
    font-size: 0.92rem;
    line-height: 1;
}

.brand-name,
.footer-title,
h1,
h2 {
    font-family: "TanSongBird", serif;
    text-transform: uppercase;
    text-wrap: balance;
}

.brand-name,
.footer-title {
    line-height: var(--display-leading-wide);
}

h1,
h2 {
    line-height: var(--display-leading);
    letter-spacing: 0.04em;
}

.brand-name {
    margin-top: 0.28rem;
    color: var(--yellow);
    font-size: 0.72rem;
    text-shadow: 1px 1px 0 rgba(44, 60, 75, 0.06);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.62rem;
    flex-wrap: wrap;
}

.nav-menu a {
    padding: 0.88rem 1.08rem;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.15;
    transition: transform var(--transition), background-color var(--transition);
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    transform: translateY(-2px);
    background: rgba(44, 60, 75, 0.06);
}

.nav-menu a[aria-current="page"] {
    background: rgba(255, 189, 66, 0.18);
    box-shadow: inset 0 0 0 1px rgba(44, 60, 75, 0.08);
}

.nav-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    min-height: 2.9rem;
    padding: 0 !important;
    border: 1px solid rgba(44, 60, 75, 0.1);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.nav-social:hover,
.nav-social:focus-visible {
    transform: translateY(-2px);
    background: #fffdf8;
    box-shadow: 0 14px 22px rgba(44, 60, 75, 0.1);
}

.nav-icon {
    display: inline-flex;
    width: 1rem;
    height: 1rem;
}

.nav-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.28rem;
    border: 2px solid rgba(44, 60, 75, 0.08);
    border-radius: 16px;
    background: #fff;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.page-intro {
    padding: clamp(3.6rem, 6.9vw, 5.2rem) 0 clamp(4.2rem, 7vw, 5.7rem);
}

.page-intro-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.24fr) minmax(20rem, 0.76fr);
    gap: clamp(3rem, 5vw, 5.4rem);
    align-items: center;
}

.page-intro-shell-home {
    align-items: center;
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
    gap: clamp(2.8rem, 4.8vw, 4.9rem);
}

.page-intro-shell-single {
    grid-template-columns: 1fr;
}

.page-intro-copy {
    max-width: 50rem;
    padding-inline-start: clamp(0rem, 1.1vw, 0.95rem);
}

.page-title {
    margin: 1.15rem 0 0;
    display: inline-block;
    color: var(--yellow);
    font-family: "TanSongBird", serif;
    font-size: clamp(1.48rem, 3.7vw, 2.62rem);
    line-height: 1.82;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-wrap: balance;
    text-shadow: 2px 2px 0 rgba(44, 60, 75, 0.06);
    max-width: 17ch;
}

.page-title::after,
.section-head h2::after {
    content: "";
    display: block;
    width: clamp(5.8rem, 15vw, 10rem);
    height: 0.34rem;
    margin-top: 0.55rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--yellow), var(--red), var(--blue));
}

.page-title::after {
    margin-inline: auto;
}

.page-title-home {
    display: grid;
    gap: 0.35rem;
    max-width: 38rem;
}

.page-title-home::after {
    width: clamp(8rem, 18vw, 12rem);
    margin-inline: 0;
}

.page-title-main {
    display: block;
}

.page-title-accent {
    display: block;
    color: var(--blue);
    font-family: "Sailors", cursive;
    font-size: clamp(1.18rem, 2.2vw, 1.7rem);
    line-height: 1.55;
    letter-spacing: 0.03em;
    text-transform: none;
    text-shadow: none;
}

.page-lead {
    max-width: 43rem;
    margin-top: 1.85rem;
    font-size: 1.06rem;
    line-height: 1.96;
}

.home-hero-tags {
    margin-top: 1.45rem;
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3.05rem;
}

.place-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    justify-content: center;
    justify-items: center;
    align-items: center;
    column-gap: 1rem;
    row-gap: 1rem;
}

.button-myludo {
    grid-column: 1 / -1;
    min-width: min(100%, 21rem);
    min-height: 64px;
    margin-inline: auto;
}

.hero,
.section {
    padding: var(--space-section) 0;
}

.page-intro-panel {
    padding: 2.2rem 2.25rem 2.35rem;
    border: 2px solid rgba(44, 60, 75, 0.08);
    border-radius: 42px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 241, 0.98));
    box-shadow: var(--shadow);
}

.membership-hero-photo {
    display: grid;
    align-items: stretch;
    min-height: 100%;
    padding: 1.25rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 252, 247, 0.98));
}

.membership-photo-placeholder {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 24rem;
    border-radius: 32px;
    border: 1px solid rgba(44, 60, 75, 0.1);
    background:
        radial-gradient(circle at 22% 20%, rgba(255, 189, 66, 0.12), transparent 6rem),
        radial-gradient(circle at 78% 26%, rgba(248, 66, 111, 0.1), transparent 6rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 241, 0.98));
    overflow: hidden;
}

.membership-photo-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    background: #ffffff;
    border: 2px solid rgba(44, 60, 75, 0.08);
    color: var(--red);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: var(--shadow-soft);
}

.membership-photo-frame {
    display: grid;
    place-items: center;
    width: min(100%, 19rem);
    aspect-ratio: 4 / 5;
    border-radius: 28px;
    border: 2px solid rgba(44, 60, 75, 0.08);
    background:
        radial-gradient(circle at 22% 24%, rgba(255, 189, 66, 0.26), transparent 4.2rem),
        radial-gradient(circle at 76% 28%, rgba(248, 66, 111, 0.2), transparent 4rem),
        radial-gradient(circle at 50% 78%, rgba(58, 155, 150, 0.22), transparent 4.4rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 244, 0.96));
    box-shadow: 0 18px 34px rgba(44, 60, 75, 0.08);
}

.membership-photo-copy {
    max-width: 12rem;
    padding: 1rem 1.1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.84);
    color: rgba(44, 60, 75, 0.72);
    font-size: 0.9rem;
    line-height: 1.7;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.home-hero-visual {
    position: relative;
    min-height: 38rem;
}

.home-hero-note-card {
    position: absolute;
    left: 1.1rem;
    bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8.5rem;
    height: 8.5rem;
    padding: 1rem;
    border: 2px solid rgba(44, 60, 75, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.home-hero-logo {
    width: 100%;
    max-width: 5.8rem;
    height: auto;
}

.place-hero-visual {
    position: relative;
    min-height: 44.6rem;
}

.place-hero-side-a {
    top: 1.15rem;
    right: 0.25rem;
    bottom: auto;
    width: 15.5rem;
    height: 12.4rem;
    border-radius: 28px;
    transform: rotate(3deg);
}

.place-hero-side-b {
    position: absolute;
    right: 4.1rem;
    bottom: 1rem;
    width: 14.8rem;
    aspect-ratio: 4 / 5;
    padding: 0;
    overflow: hidden;
    border: 2px solid rgba(44, 60, 75, 0.08);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transform: rotate(-4deg);
}

.section {
    position: relative;
}

.hero {
    padding: clamp(4.5rem, 9vw, 6.25rem) 0 clamp(4.75rem, 8vw, 6rem);
}

.hero-grid,
.program-grid,
.membership-grid {
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
}

.hero-grid,
.program-grid,
.membership-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.program-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.membership-grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.hero-copy {
    max-width: 36rem;
    padding-top: 0.4rem;
}

.card-label,
.poster-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.72rem 1rem;
    border: 2px solid rgba(44, 60, 75, 0.08);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 238, 0.94));
    color: var(--red);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: var(--shadow-soft);
}

h1 {
    margin-top: 0.4rem;
    color: var(--yellow);
    text-shadow: 2px 2px 0 rgba(44, 60, 75, 0.06);
}

.hero-copy h1 {
    max-width: 18rem;
    margin-top: 0.9rem;
}

.section-head p:last-child {
    margin-top: 1.7rem;
    font-size: 1.05rem;
    line-height: 1.98;
}

.section-head p:last-child {
    max-width: 46rem;
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.hero-tags span {
    padding: 0.62rem 0.9rem;
    border-radius: 999px;
    border: 2px solid rgba(44, 60, 75, 0.08);
    background: #ffffff;
    font-size: 0.86rem;
    font-weight: 800;
    box-shadow: var(--shadow-soft);
}

.home-hero-tags span {
    background: #ffffff;
    color: var(--red);
}

.hero-tags span:nth-child(1) {
    background: var(--blue-soft);
}

.hero-tags span:nth-child(2) {
    background: var(--red-soft);
}

.hero-tags span:nth-child(3) {
    background: var(--yellow-soft);
}

.hero-tags span:nth-child(4) {
    background: #ffffff;
}

.home-hero-tags span,
.home-hero-tags span:nth-child(1),
.home-hero-tags span:nth-child(2),
.home-hero-tags span:nth-child(3),
.home-hero-tags span:nth-child(4) {
    background: #ffffff;
    color: var(--red);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 56px;
    padding: 1rem 1.45rem;
    border-radius: 999px;
    border: 2px solid transparent;
    overflow: hidden;
    isolation: isolate;
    font-weight: 900;
    line-height: 1.15;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition);
}

.button:hover,
.button:focus-visible {
    transform: translate3d(0, -3px, 0);
}

.button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--yellow));
    background-clip: border-box;
    background-origin: border-box;
    box-shadow: 0 18px 28px rgba(248, 66, 111, 0.22);
}

.button-secondary {
    color: var(--ink);
    background: #ffffff;
    background-clip: padding-box;
    border-color: rgba(44, 60, 75, 0.1);
    box-shadow: var(--shadow-soft);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: rgba(58, 155, 150, 0.08);
    border-color: rgba(58, 155, 150, 0.16);
}

.hero-board {
    position: relative;
    min-height: 38rem;
}

.hero-board-grid {
    position: absolute;
    inset: 0.75rem 2.2rem 2.4rem 0.7rem;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(90deg, rgba(248, 66, 111, 0.65) 0 26%, transparent 26% 52%, rgba(58, 155, 150, 0.6) 52% 74%, transparent 74% 100%),
        linear-gradient(180deg, transparent 0 20%, rgba(255, 189, 66, 0.65) 20% 44%, transparent 44% 64%, rgba(44, 60, 75, 0.18) 64% 100%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0 18%, transparent 18% 100%);
    background-size: 8.4rem 6.8rem, 6.2rem 8rem, 11rem 9rem;
    background-position: 0 0, 1.8rem 2.1rem, 2.4rem 0.9rem;
    background-repeat: repeat;
    opacity: 0.11;
    border: 1px solid rgba(44, 60, 75, 0.08);
    transform: rotate(1deg);
}

.hero-photo,
.hero-poster,
.tile-photo,
.card-main,
.card-mini,
.memory-card,
.timeline-step,
.tile-card,
.membership-card {
    border: 2px solid rgba(44, 60, 75, 0.08);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.tile-card,
.membership-card,
.timeline-step,
.card-main,
.card-mini,
.memory-card {
    position: relative;
}

.tile-card::after,
.membership-card::after,
.timeline-step::after {
    display: none;
}

.tile-card::before,
.membership-card::before,
.card-main::before,
.card-mini::before,
.memory-card::before {
    display: none;
}

.hero-photo,
.hero-poster {
    position: absolute;
    overflow: hidden;
}

.hero-photo-main {
    inset: 1rem 7.4rem 2.1rem 0;
    border-radius: 36px;
    transform: rotate(-1deg);
}

.hero-photo-side {
    right: 0.4rem;
    bottom: 2.2rem;
    width: 12.4rem;
    height: 10rem;
    padding: 0;
    border-radius: 26px;
    transform: rotate(-3deg);
    transition: transform var(--transition), box-shadow var(--transition);
}

.hero-photo-side:hover,
.hero-photo-side:focus-visible {
    transform: rotate(-2deg) translateY(-4px);
}

.hero-poster {
    top: 0.85rem;
    right: 1.2rem;
    width: 10.4rem;
    padding: 0;
    border-radius: 26px;
    transform: rotate(2deg);
    transition: transform var(--transition), box-shadow var(--transition);
}

.hero-poster:hover,
.hero-poster:focus-visible {
    transform: rotate(1deg) translateY(-4px);
}

.poster-badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    z-index: 1;
}

.hero-photo img,
.hero-poster img,
.tile-photo img,
.card-main img,
.card-mini img,
.memory-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.board-path {
    padding: 0 0 4.6rem;
}

.path-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.45rem;
    align-items: center;
    overflow: visible;
}

.path-track::before {
    content: "";
    position: absolute;
    left: 2rem;
    right: 2rem;
    top: calc(50% - 2px);
    height: 4px;
    border-radius: 999px;
    background: repeating-linear-gradient(
        90deg,
        var(--yellow) 0 1.2rem,
        var(--red) 1.2rem 2.4rem,
        var(--blue) 2.4rem 3.6rem,
        rgba(44, 60, 75, 0.08) 3.6rem 4.8rem
    );
    opacity: 0.78;
}

.path-stop {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    padding: 1.25rem 1.15rem;
    border: 2px solid rgba(44, 60, 75, 0.07);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 241, 0.96));
    box-shadow: var(--shadow-soft);
    font-weight: 900;
    text-align: center;
    line-height: 1.5;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.path-stop:not(:last-of-type)::after {
    display: none;
}

.path-stop.is-active {
    border-color: rgba(44, 60, 75, 0.16);
    box-shadow: 0 10px 22px rgba(44, 60, 75, 0.1);
    transform: translateY(-4px);
}

.path-pawn-anchor {
    --scroll-progress: 0;
    --rail-height: 18rem;
    position: fixed;
    left: clamp(0.45rem, 2.2vw, 1.85rem);
    top: calc(50% - (var(--rail-height) / 2) - 0.5rem);
    width: 2.4rem;
    height: calc(var(--rail-height) + 1rem);
    z-index: 24;
    pointer-events: auto;
    touch-action: none;
    cursor: grab;
}

.path-pawn-anchor::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 189, 66, 0.35), rgba(248, 66, 111, 0.28), rgba(58, 155, 150, 0.35));
    transform: translateX(-50%);
}

.path-pawn-anchor::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(44, 60, 75, 0.14);
    transform: translateX(-50%);
    box-shadow:
        0 calc(var(--rail-height) * 0.25) 0 rgba(44, 60, 75, 0.14),
        0 calc(var(--rail-height) * 0.5) 0 rgba(44, 60, 75, 0.14),
        0 calc(var(--rail-height) * 0.75) 0 rgba(44, 60, 75, 0.14),
        0 var(--rail-height) 0 rgba(44, 60, 75, 0.14);
}

.path-pawn-anchor.is-jumping .path-pawn {
    animation: pawn-hop 520ms cubic-bezier(0.22, 0.9, 0.3, 1);
}

.path-pawn-anchor.is-dragging {
    cursor: grabbing;
}

.path-pawn {
    position: absolute;
    left: 50%;
    top: calc(0.5rem + (var(--scroll-progress) * var(--rail-height)));
    display: grid;
    justify-items: center;
    filter: drop-shadow(0 8px 10px rgba(44, 60, 75, 0.16));
    transform: translate(-50%, -50%);
    will-change: top, transform;
}

body.is-dragging-pawn {
    user-select: none;
    cursor: grabbing;
}

.path-pawn-head,
.path-pawn-body,
.path-pawn-base {
    display: block;
}

.path-pawn-head {
    width: 0.72rem;
    height: 0.72rem;
    margin-bottom: -0.08rem;
    border-radius: 50%;
    background: var(--yellow);
    border: 2px solid var(--ink);
    z-index: 1;
}

.path-pawn-body {
    position: relative;
    width: 1.58rem;
    height: 1.72rem;
    margin-top: -0.02rem;
    border-radius: 0.55rem;
    background: linear-gradient(180deg, var(--yellow) 0%, var(--red) 58%, var(--blue) 100%);
    border: 2px solid var(--ink);
    clip-path: polygon(
        24% 0%,
        38% 14%,
        62% 14%,
        76% 0%,
        100% 18%,
        85% 42%,
        70% 44%,
        78% 100%,
        56% 100%,
        50% 74%,
        44% 74%,
        38% 100%,
        16% 100%,
        24% 44%,
        9% 42%,
        0% 18%
    );
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.path-pawn-base {
    width: 1.1rem;
    height: 0.24rem;
    margin-top: 0.02rem;
    border-radius: 999px;
    background: rgba(44, 60, 75, 0.2);
    filter: blur(1px);
}

.path-stop:nth-of-type(1),
.path-stop:nth-of-type(2),
.path-stop:nth-of-type(3),
.path-stop:nth-of-type(4),
.path-stop:nth-of-type(5) {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 241, 0.96));
}

.section-soft {
    position: relative;
}

main > .section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(calc(100% - 2rem), 72rem);
    height: 1px;
    background: rgba(44, 60, 75, 0.14);
    transform: translateX(-50%);
}

.section-head {
    max-width: 62rem;
    margin-bottom: clamp(3rem, 5vw, 4.8rem);
    text-align: center;
    margin-inline: auto;
}

.section-head-wide {
    max-width: none;
}

.section-head.compact {
    margin-bottom: 0;
}

h2 {
    font-size: clamp(1.08rem, 2.2vw, 1.72rem);
}

.section-head h2,
.program-left h2,
.membership-copy h2,
.membership-explainer h2 {
    margin-top: 1.15rem;
    max-width: 30ch;
    margin-inline: auto;
}

.section-head h2::after {
    width: clamp(5rem, 11vw, 7.6rem);
    margin-top: 0.7rem;
    margin-inline: auto;
}

.section-head p:last-child {
    margin-inline: auto;
}

.index-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.2rem 2rem;
}

.index-grid-home {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 64rem;
    margin-inline: auto;
    gap: 1.35rem 1.2rem;
}

.index-grid-home .index-card {
    min-height: 14.8rem;
}

.index-card {
    display: flex;
    flex-direction: column;
    min-height: 15.6rem;
    height: 100%;
    padding: 1.55rem 1.35rem 1.45rem;
    border-radius: 32px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.index-card h3 {
    margin-top: 1.05rem;
    line-height: 1.5;
    max-width: 16ch;
}

.index-card p:last-of-type {
    margin-top: 0.95rem;
    line-height: 1.8;
}

.index-link {
    margin-top: auto;
    padding-top: 1.8rem;
    font-weight: 900;
}

.index-photo-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2.8rem;
}

.index-photo-strip-wide {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin: 0 0 3.6rem;
}

.index-photo {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 2px solid rgba(44, 60, 75, 0.08);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.index-photo img {
    width: 100%;
    aspect-ratio: 0.82 / 1;
    object-fit: cover;
}

.tile-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(0, 1.1fr);
    gap: 1.95rem;
    align-items: stretch;
}

.editorial-note {
    max-width: none;
    margin: 0 0 2.9rem;
    padding: 1.85rem 1.9rem 2rem;
    border: 2px solid rgba(44, 60, 75, 0.08);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 189, 66, 0.11), rgba(255, 255, 255, 0.98));
    box-shadow: var(--shadow-soft);
}

.editorial-note p:last-child {
    margin-top: 1.15rem;
    max-width: none;
}

.tile-card,
.tile-photo {
    min-height: 100%;
    padding: 1.95rem;
    border-radius: 34px;
}

.tile-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 17rem;
}

.tile-photo {
    padding: 0;
    overflow: hidden;
    grid-row: span 2;
    min-height: 34rem;
    cursor: pointer;
    box-shadow: 0 28px 52px rgba(44, 60, 75, 0.14);
}

.tile-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    color: #fff;
    font-weight: 900;
}

.tile-red {
    background: #ffffff;
    border-top: 6px solid var(--red);
}

.tile-red .tile-index {
    background: var(--red);
}

.tile-blue {
    background: #ffffff;
    border-top: 6px solid var(--blue);
}

.tile-blue .tile-index {
    background: var(--blue);
}

.tile-yellow {
    background: #ffffff;
    border-top: 6px solid var(--yellow);
}

.tile-yellow .tile-index {
    background: var(--yellow);
}

.tile-white {
    background: #ffffff;
    border-top: 6px solid var(--black);
}

.tile-white .tile-index {
    background: var(--black);
}

.tile-card h3,
.timeline-step h3,
.membership-card h3 {
    margin-top: 1.2rem;
    font-size: 1.14rem;
    line-height: 1.42;
}

.index-card:hover,
.index-card:focus-within,
.event-kind:hover,
.membership-support:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px rgba(44, 60, 75, 0.12);
}

.tile-card p:last-child,
.timeline-step p:last-child,
.membership-card p:last-child {
    margin-top: 1rem;
}

.tile-card p:last-child,
.timeline-step p:last-child {
    max-width: 18rem;
}

.program-right {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 13rem;
    gap: 1rem;
}

.program-feature {
    padding-top: clamp(4.2rem, 7vw, 5.8rem);
}

.page-intro-shell-program {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
}

.page-intro-program .page-lead {
    max-width: 33rem;
}

.program-hero-visual {
    display: grid;
    justify-items: center;
}

.program-hero-visual .card-main {
    width: min(100%, 34rem);
}

.program-feature-head {
    max-width: 42rem;
    margin-bottom: 2.6rem;
}

.program-feature-head .page-title {
    margin-top: 0.85rem;
}

.program-feature-poster {
    display: grid;
    justify-items: center;
}

.program-feature-poster .card-main {
    width: min(100%, 37rem);
}

.program-feature-actions {
    display: grid;
    justify-items: center;
    gap: 1.4rem;
    margin-top: 2rem;
}

.program-feature-actions .event-tags,
.program-feature-actions .page-actions {
    justify-content: center;
}

.program-grid {
    grid-template-columns: minmax(0, 24.5rem) minmax(0, 30rem);
    gap: 3rem;
    align-items: start;
    justify-items: center;
}

.program-left {
    max-width: 30rem;
    text-align: left;
    padding-top: 0.6rem;
}

.program-left .page-actions {
    margin-top: 1.7rem;
    justify-content: flex-start;
}

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

.program-right-single .card-main {
    max-width: 30rem;
    justify-self: end;
}

.event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.6rem;
    justify-content: flex-start;
}

.event-tags span {
    padding: 0.72rem 1.02rem;
    border-radius: 999px;
    border: 2px solid rgba(44, 60, 75, 0.08);
    font-size: 0.88rem;
    font-weight: 800;
    box-shadow: var(--shadow-soft);
}

.event-tags span:nth-child(1),
.event-tags span:nth-child(5) {
    background: #ffffff;
    color: var(--yellow);
}

.event-tags span:nth-child(2),
.event-tags span:nth-child(4) {
    background: #ffffff;
    color: var(--red);
}

.event-tags span:nth-child(3),
.event-tags span:nth-child(6) {
    background: #ffffff;
    color: var(--blue);
}

.card-main,
.card-mini,
.memory-card {
    overflow: hidden;
    padding: 0;
    line-height: 0;
    border-radius: 30px;
    background: transparent;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 24px 46px rgba(44, 60, 75, 0.12);
}

.card-main {
    transform: none;
}

.card-main:hover,
.card-main:focus-visible {
    transform: translateY(-4px);
}

.card-mini:nth-child(1) {
    transform: none;
}

.card-mini:nth-child(2) {
    transform: none;
}

.card-mini:nth-child(1):hover,
.card-mini:nth-child(1):focus-visible {
    transform: translateY(-4px);
}

.card-mini:nth-child(2):hover,
.card-mini:nth-child(2):focus-visible {
    transform: translateY(-4px);
}

.memory-card:hover,
.memory-card:focus-visible,
.tile-photo:hover,
.tile-photo:focus-visible {
    transform: translateY(-6px);
}

.card-main img,
.card-mini img {
    aspect-ratio: 4 / 5;
}

.card-side {
    display: grid;
    gap: 1rem;
}

.memory-carousel {
    max-width: none;
    margin: 3.35rem auto 0;
}

.memory-carousel .section-head {
    margin-bottom: 3rem;
}

.event-kinds {
    display: grid;
    gap: 1.5rem;
    margin-top: 3.95rem;
    max-width: 61rem;
    margin-inline: auto;
}

.event-kinds .section-head {
    max-width: 38rem;
    margin-inline: auto;
}

.event-kinds .section-head h2 {
    margin-top: 0.65rem;
    max-width: 22ch;
    font-size: clamp(0.98rem, 1.8vw, 1.34rem);
}

.program-overview {
    max-width: 58rem;
    display: grid;
    gap: 1.5rem;
    margin: 0 auto;
}

.program-overview-head {
    display: grid;
    gap: 0.8rem;
    justify-items: center;
    text-align: center;
}

.program-overview-title {
    margin: 0;
    max-width: none;
    color: var(--ink);
    font-family: "TanSongBird", serif;
    font-size: clamp(1.08rem, 2.1vw, 1.58rem);
    line-height: 1.72;
    text-transform: uppercase;
}

.program-overview-title::after {
    content: "";
    display: block;
    width: clamp(5rem, 10vw, 7rem);
    height: 0.3rem;
    margin: 0.65rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--yellow), var(--red), var(--blue));
}

.program-overview-lead {
    max-width: 52rem;
    margin: 0 auto;
    color: var(--ink);
    font-size: 0.98rem;
    line-height: 1.84;
}

.program-overview-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    max-width: 52rem;
    margin: 0 auto;
}

.program-overview-tags span {
    padding: 0.78rem 1rem;
    border-radius: 999px;
    border: 2px solid rgba(44, 60, 75, 0.08);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
    font-size: 0.88rem;
    font-weight: 800;
}

.program-overview-tags span:nth-child(3n + 1) {
    color: var(--yellow);
}

.program-overview-tags span:nth-child(3n + 2) {
    color: var(--red);
}

.program-overview-tags span:nth-child(3n) {
    color: var(--blue);
}

.program-overview-copy {
    max-width: 52rem;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.9;
    color: var(--ink);
    text-align: center;
    text-wrap: pretty;
}

.program-overview-note {
    max-width: 50rem;
    margin: 0 auto;
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(44, 60, 75, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-soft);
    color: var(--ink);
    line-height: 1.82;
    text-align: center;
}

.program-memory-carousel {
    margin-top: 2rem;
}

.reviews-section {
    padding-top: 0.9rem;
}

.reviews-section .section-head {
    margin-bottom: 4rem;
}

.reviews-section .section-head h2 {
    margin-top: 2.75rem;
}

.reviews-carousel {
    margin-top: 3.1rem;
}

.review-card {
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 20.8rem;
    padding: 1.95rem 1.8rem 1.7rem;
    border: 2px solid rgba(44, 60, 75, 0.07);
    border-top-width: 6px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: none;
}

.review-card::after {
    display: none;
}

.review-rose {
    border-top-color: var(--red);
}

.review-rose::after {
    background: rgba(248, 66, 111, 0.7);
}

.review-blue {
    border-top-color: var(--blue);
}

.review-blue::after {
    background: rgba(58, 155, 150, 0.62);
}

.review-yellow {
    border-top-color: var(--yellow);
}

.review-yellow::after {
    background: rgba(255, 189, 66, 0.62);
}

.review-stars {
    width: 100%;
    color: var(--yellow);
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    text-align: center;
}

.review-card p:nth-child(2) {
    width: 100%;
    flex: 1 1 auto;
    margin-top: 1rem;
    max-height: calc(1.86em * 4);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-height: 1.86;
    color: var(--ink);
    text-overflow: ellipsis;
}

.review-card strong {
    display: block;
    width: 100%;
    margin-top: 1.2rem;
    color: var(--ink);
    text-align: right;
    font-weight: 900;
    letter-spacing: 0.01em;
}

.reviews-carousel .review-card {
    width: 100%;
    height: 100%;
}

.reviews-carousel .carousel-viewport {
    padding-bottom: 0.5rem;
}

.reviews-carousel .carousel-track {
    align-items: stretch;
}

.reviews-carousel .carousel-slide {
    display: flex;
}

.review-link {
    display: block;
    width: 100%;
    margin-top: 0.85rem;
    text-align: center;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0.74;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.14em;
}

.event-kinds-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.event-kind {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.35rem 1.15rem 1.25rem;
    border: 2px solid rgba(44, 60, 75, 0.08);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.event-kind h3 {
    margin-top: 0.85rem;
    font-size: 0.98rem;
    line-height: 1.42;
}

.event-kind p:last-child {
    margin-top: 0.8rem;
    font-size: 0.94rem;
    line-height: 1.68;
}

.carousel-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.9rem;
    align-items: center;
    max-width: 76rem;
    margin: 0 auto;
    padding-inline: 0.2rem;
}

.carousel-viewport {
    overflow: hidden;
    padding: 0.15rem;
}

.carousel-track {
    display: flex;
    gap: 1.35rem;
    transition: transform 560ms cubic-bezier(0.22, 0.82, 0.32, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 calc((100% - 2rem) / 3);
    width: calc((100% - 2rem) / 3);
}

.memory-card {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1.05 / 1;
    background: #fff9f0;
}

.memory-card img {
    object-fit: cover;
    object-position: center;
}

.carousel-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    border: 2px solid rgba(44, 60, 75, 0.08);
    border-radius: 50%;
    background: #ffffff;
    color: var(--ink);
    font-size: 1.7rem;
    line-height: 1;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
    transform: translateY(-2px);
    background: #fff9ed;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 0.82rem;
    height: 0.82rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(44, 60, 75, 0.18);
    transition: transform var(--transition), background-color var(--transition), width var(--transition);
}

.carousel-dot:hover,
.carousel-dot:focus-visible {
    transform: scale(1.05);
    background: rgba(44, 60, 75, 0.32);
}

.carousel-dot.is-active {
    width: 2rem;
    background: linear-gradient(90deg, var(--yellow), var(--red), var(--blue));
}

.timeline-step {
    position: relative;
    padding: 3rem 7.5rem 1.7rem 1.55rem;
    border-radius: 30px;
}

.history-zigzag {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 6rem minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.history-line {
    position: absolute;
    top: 2.4rem;
    bottom: 14.5rem;
    left: calc(50% - 2px);
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 189, 66, 0.88), rgba(248, 66, 111, 0.75), rgba(58, 155, 150, 0.82), rgba(44, 60, 75, 0.8));
}

.history-step {
    max-width: 23.6rem;
}

.history-step.has-photo-pair {
    padding-right: 4.95rem;
    padding-bottom: 3.8rem;
}

.history-left {
    grid-column: 1;
    justify-self: end;
    text-align: right;
    padding: 3rem 1.55rem 1.7rem 7.5rem;
}

.history-left.has-photo-pair {
    padding-right: 1.55rem;
    padding-left: 4.95rem;
}

.history-right {
    grid-column: 3;
    justify-self: start;
}

.history-step::before {
    content: "";
    position: absolute;
    width: 2rem;
    height: 4px;
    border-radius: 999px;
    background: rgba(44, 60, 75, 0.14);
}

.history-left::before,
.history-right::before {
    position: absolute;
}

.history-left::before {
    top: 2rem;
    width: 2rem;
    right: -2.65rem;
}

.history-right::before {
    top: 2.7rem;
    left: -2.65rem;
}

.step-number {
    position: absolute;
    top: 0.55rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 10px 18px rgba(44, 60, 75, 0.14);
}

.history-left .step-number {
    left: auto;
    right: 1rem;
}

.step-yellow {
    background: #ffffff;
    border-top: 6px solid var(--yellow);
}

.step-yellow .step-number {
    background: var(--yellow);
}

.step-red {
    background: #ffffff;
    border-top: 6px solid var(--red);
}

.step-red .step-number {
    background: var(--red);
}

.step-blue {
    background: #ffffff;
    border-top: 6px solid var(--blue);
}

.step-blue .step-number {
    background: var(--blue);
}

.step-white {
    background: #ffffff;
    border-top: 6px solid var(--black);
}

.step-white .step-number {
    background: var(--black);
}

.step-cyan {
    background: #ffffff;
    border-top: 6px solid var(--blue);
}

.step-cyan .step-number {
    background: linear-gradient(135deg, var(--yellow), var(--blue));
}

.step-date {
    display: block;
    padding-left: 3.4rem;
    color: var(--red);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.history-left .step-date {
    padding-left: 0;
    padding-right: 3.4rem;
    text-align: right;
}

.history-drop {
    margin-top: 3.2rem;
}

.history-finale {
    grid-column: 1 / -1;
    max-width: 52rem;
    justify-self: center;
    margin-top: 3.2rem;
    padding: 4.2rem 2.4rem 2.35rem;
    text-align: center;
    border: 2px solid rgba(44, 60, 75, 0.08);
    border-top: 10px solid var(--yellow);
    background:
        radial-gradient(circle at 14% 16%, rgba(255, 189, 66, 0.28), transparent 10rem),
        radial-gradient(circle at 84% 18%, rgba(248, 66, 111, 0.18), transparent 9rem),
        radial-gradient(circle at 52% 100%, rgba(58, 155, 150, 0.12), transparent 11rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 247, 236, 0.97));
    box-shadow:
        0 26px 48px rgba(44, 60, 75, 0.14),
        0 10px 24px rgba(255, 189, 66, 0.16);
}

.history-finale::before {
    display: none;
}

.history-finale::after {
    content: "";
    position: absolute;
    top: -2.2rem;
    left: 50%;
    width: 1.2rem;
    height: 3rem;
    background: var(--paper);
    transform: translateX(-50%);
}

.history-finale .step-date {
    padding-left: 0;
    color: var(--red);
}

.history-finale h3 {
    color: var(--red);
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.85);
}

.history-finale p {
    max-width: 41rem;
    margin-inline: auto;
}

.history-photo-cluster {
    position: absolute;
    top: -1.6rem;
    right: -6.15rem;
    width: 15.2rem;
    height: 14.8rem;
}

.history-left .history-photo-cluster {
    right: auto;
    left: -6.15rem;
}

.history-photo {
    position: absolute;
    display: block;
    width: 9rem;
    margin-top: 0;
    padding: 0;
    line-height: 0;
    overflow: hidden;
    border: 2px solid rgba(44, 60, 75, 0.08);
    border-radius: 18px;
    aspect-ratio: 4 / 3;
    background: transparent;
    box-shadow: var(--shadow-soft);
}

.history-photo-slot-a {
    top: -0.15rem;
    right: -0.25rem;
    transform: rotate(6deg);
}

.history-photo-slot-b {
    right: 1.7rem;
    top: 18rem;
    transform: rotate(-7deg);
}

.history-photo-slot-c {
    top: 12rem;
    right: 1.3rem;
    transform: rotate(4deg);
}

.history-photo-slot-d {
    right: -0.2rem;
    bottom: 2.5rem;
    transform: rotate(-5deg);
}

.history-left .history-photo-slot-a {
    right: auto;
    left: -0.25rem;
    transform: rotate(-6deg);
}

.history-left .history-photo-slot-b {
    right: auto;
    left: 3rem;
    transform: rotate(7deg);
}

.history-left .history-photo-slot-c {
    right: auto;
    left: 2rem;
    transform: rotate(-4deg);
}

.history-left .history-photo-slot-d {
    right: auto;
    left: -0.2rem;
    transform: rotate(5deg);
}

.history-step-law .history-photo-cluster {
    top: 0.9rem;
    left: auto;
    right: 0.6rem;
    width: 11rem;
    height: 10.6rem;
}

.history-step-law .history-photo-slot-e {
    top: 4rem;
    right: 17rem;
    left: auto;
    transform: rotate(4deg);
}

.history-step-law .history-photo img {
    object-fit: contain;
}

.history-photo-plain {
    border: 0;
    box-shadow: none;
    background: transparent;
}

.history-photo-placeholder {
    border-style: dashed;
    border-color: rgba(44, 60, 75, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 251, 246, 0.88));
    box-shadow: none;
    pointer-events: none;
}

.history-photo-placeholder::after {
    content: "+";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(44, 60, 75, 0.24);
    font-size: 1.4rem;
    font-weight: 700;
}

.history-step-list {
    display: grid;
    gap: 0.7rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.history-step-list li {
    position: relative;
    padding-left: 1rem;
    color: var(--ink-soft);
    line-height: 1.74;
}

.history-step-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--red);
}

.history-step-list strong {
    color: var(--ink);
}

.history-left .history-step-list li {
    padding-left: 0;
    padding-right: 1rem;
}

.history-left .history-step-list li::before {
    left: auto;
    right: 0;
}

.history-step p:last-child {
    max-width: 17.2rem;
}

.history-left p:last-child {
    margin-left: auto;
}

.history-finale p:last-child {
    max-width: none;
}

.history-opening-photos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.65rem;
}

.history-opening-photos .history-photo {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 0;
}

.history-opening-photos .history-photo:nth-child(1) {
    transform: rotate(-8deg) translateY(0.15rem);
}

.history-opening-photos .history-photo:nth-child(2) {
    transform: rotate(6deg) translateY(-0.15rem);
}

.history-opening-photos .history-photo:nth-child(3) {
    transform: rotate(-3deg) translateY(0.2rem);
}

.history-opening-photos .history-photo {
    box-shadow:
        0 18px 30px rgba(44, 60, 75, 0.14),
        0 8px 18px rgba(255, 189, 66, 0.12);
}

.history-after-note {
    max-width: 70rem;
    --stack-divider-gap: clamp(3.2rem, 5vw, 4rem);
    margin: 0 auto 0;
    padding-top: var(--stack-divider-gap);
}

.history-after-note.stack-divider::before {
    width: min(100%, 64rem);
    height: 1px;
    background: rgba(44, 60, 75, 0.14);
}

.history-after-combined {
    display: grid;
    gap: 1.8rem;
    align-items: start;
    max-width: 70rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.history-after-top {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
    gap: 1.85rem;
    align-items: start;
}

.history-after-intro {
    display: grid;
    gap: 0.8rem;
}

.history-after-title {
    margin-top: 0.3rem;
    color: var(--ink);
    font-family: "TanSongBird", serif;
    font-size: clamp(1.1rem, 2.4vw, 1.65rem);
    line-height: 1.82;
    text-transform: uppercase;
}

.history-after-lead {
    max-width: 33rem;
    line-height: 1.9;
}

.history-after-thanks {
    display: grid;
    gap: 0.55rem;
    padding: 1.3rem 1.35rem;
    border: 1px solid rgba(44, 60, 75, 0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 243, 0.94));
    box-shadow: var(--shadow-soft);
    line-height: 1.82;
}

.history-hearts {
    color: var(--red);
    font-size: 1rem;
    letter-spacing: 0.18em;
}

.history-after-points {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
    margin-top: 1.1rem;
    margin-bottom: 2rem;
    align-items: stretch;
}

.history-after-points p {
    display: grid;
    gap: 0.45rem;
    min-height: 100%;
    align-content: start;
    padding: 1.25rem 1.15rem;
    border-radius: 24px;
    border: 1px solid rgba(44, 60, 75, 0.08);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
    line-height: 1.68;
}

.history-after-points p:nth-child(1) {
    border-top: 5px solid var(--yellow);
}

.history-after-points p:nth-child(2) {
    border-top: 5px solid var(--blue);
}

.history-after-points p:nth-child(3) {
    border-top: 5px solid var(--red);
}

.history-after-points strong {
    display: block;
    min-height: 2.8em;
    margin-bottom: 0.15rem;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.4;
}

.history-after-links {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 0.2rem;
}

.history-after-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(44, 60, 75, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
    color: var(--ink);
    font-weight: 800;
}

.history-after-strip {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.95rem;
    margin-top: 0.35rem;
}

.history-after-thumb {
    width: 100%;
    padding: 0;
    line-height: 0;
    overflow: hidden;
    border: 2px solid rgba(44, 60, 75, 0.08);
    border-radius: 20px;
    background: transparent;
    box-shadow: var(--shadow-soft);
}

.history-after-thumb img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.history-after-thumb:nth-child(1) {
    transform: rotate(-4deg);
}

.history-after-thumb:nth-child(2) {
    transform: rotate(3deg);
}

.history-after-thumb:nth-child(3) {
    transform: rotate(-2deg);
}

.history-after-thumb:nth-child(4) {
    transform: rotate(4deg);
}

.history-archive-carousel {
    margin-top: 1.4rem;
}

.history-archive-card,
.history-archive-photo {
    border: 2px solid rgba(44, 60, 75, 0.08);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.history-archive-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: 1.65rem 1.45rem;
    max-width: none;
    margin: 0;
    text-align: left;
}

.history-archive-card h3 {
    margin-top: 0;
    color: var(--ink);
}

.history-archive-card p:last-child {
    margin-top: 0.9rem;
    line-height: 1.76;
}

.history-archive-photo {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    padding: 0;
    line-height: 0;
    overflow: hidden;
    background: transparent;
}

.history-archive-photo img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.place-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.78fr) minmax(0, 0.78fr) minmax(0, 0.78fr);
    grid-template-rows: repeat(2, minmax(11rem, 1fr));
    gap: 1.65rem;
}

.place-shot {
    width: 100%;
    padding: 0;
    line-height: 0;
    overflow: hidden;
    border: 2px solid rgba(44, 60, 75, 0.08);
    border-radius: 30px;
    background: transparent;
    box-shadow: var(--shadow-soft);
}

.place-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.place-shot-large {
    grid-row: span 2;
}

.place-notes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
    margin-top: 2.4rem;
}

.place-note {
    min-height: 100%;
    padding: 1.4rem 1.3rem;
    border: 2px solid rgba(44, 60, 75, 0.08);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.place-note p:last-child {
    margin-top: 0.9rem;
    line-height: 1.76;
}

.history-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.membership-support {
    min-height: 100%;
    padding: 1.9rem 2.2rem 2rem;
    border-radius: 34px;
    border: 2px solid rgba(44, 60, 75, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 244, 0.98));
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.membership-support:nth-child(1) {
    border-top: 6px solid var(--red);
}

.membership-support:nth-child(2) {
    border-top: 6px solid var(--yellow);
}

.membership-support:nth-child(3) {
    border-top: 6px solid var(--blue);
}

.membership-support h3 {
    margin-top: 1rem;
    font-size: 1.15rem;
    line-height: 1.4;
    text-align: center;
}

.membership-support .card-label {
    text-align: center;
}

.membership-explainer-top {
    display: grid;
    gap: 1.2rem;
    max-width: 52rem;
    margin: 0 auto;
}

.membership-explainer-intro {
    display: grid;
    gap: 1rem;
    max-width: none;
    margin: 0;
    padding: 1.35rem 1.45rem;
    border: 1px solid rgba(44, 60, 75, 0.08);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 244, 0.94));
    box-shadow: var(--shadow-soft);
}

.membership-explainer-intro p {
    color: var(--ink);
    line-height: 1.82;
}

.membership-support-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.3rem;
    padding: 0;
    list-style: none;
}

.membership-support-list li {
    position: relative;
    padding-left: 1rem;
    color: var(--ink-soft);
    line-height: 1.76;
}

.membership-support-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--red);
}

.membership-pricing {
    display: grid;
    gap: 2.8rem;
    margin-top: 0;
}

.membership-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(12.5rem, 13.8rem));
    justify-content: center;
    gap: 1.8rem;
    align-self: start;
}

.membership-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    aspect-ratio: 1 / 1;
    padding: 1.05rem 0.95rem 0.95rem;
    border-radius: 22px;
    overflow: visible;
}

.membership-shadow-red {
    border-top: 6px solid var(--red) !important;
    background: linear-gradient(180deg, rgba(248, 66, 111, 0.08), rgba(255, 255, 255, 0.98) 58%, #ffffff 100%) !important;
}

.membership-shadow-blue {
    border-top: 6px solid var(--blue) !important;
    background: linear-gradient(180deg, rgba(58, 155, 150, 0.08), rgba(255, 255, 255, 0.98) 58%, #ffffff 100%) !important;
}

.membership-card:nth-child(2),
.membership-card:nth-child(6) {
    background: #ffffff;
    border-top: 6px solid var(--yellow);
}

.membership-card:nth-child(3),
.membership-card:nth-child(7) {
    background: #ffffff;
    border-top: 6px solid var(--blue);
}

.membership-card:nth-child(4),
.membership-card:nth-child(8) {
    background: #ffffff;
    border-top: 6px solid var(--red);
}

.membership-card strong {
    display: block;
    margin-top: 0.45rem;
    font-size: 1.62rem;
    line-height: 0.98;
}

.membership-highlight {
    border-top: 10px solid var(--yellow) !important;
    background: linear-gradient(180deg, rgba(255, 189, 66, 0.44), rgba(255, 255, 255, 0.98) 52%, #ffffff 100%);
    box-shadow: 0 28px 48px rgba(255, 189, 66, 0.32), inset 0 0 0 2px rgba(255, 189, 66, 0.5);
    transform: translateY(-0.45rem) scale(1.06);
}

.membership-highlight strong {
    color: var(--red);
    font-size: 2.12rem;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.membership-highlight::before {
    display: block;
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid rgba(255, 189, 66, 0.4);
    pointer-events: none;
}

.membership-highlight::after {
    content: "La formule repère";
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    padding: 0.42rem 0.66rem;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--ink);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.membership-note {
    margin-top: 1.6rem;
    max-width: 31rem;
    padding: 1.6rem 1.7rem;
    border: 1px solid rgba(44, 60, 75, 0.08);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 244, 0.94));
    box-shadow: var(--shadow-soft);
    font-size: 0.98rem;
    line-height: 1.82;
}

.membership-note-wide {
    max-width: none;
    margin-top: 3rem;
}

.membership-card p:last-child {
    margin-top: auto;
    padding-top: 0.95rem;
    font-size: 0.9rem;
    line-height: 1.56;
}

.membership-explainer {
    --stack-divider-gap: clamp(3.1rem, 5vw, 4rem);
    display: grid;
    gap: 2.4rem;
    margin-top: var(--stack-divider-gap);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.membership-explainer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    width: min(100%, 60rem);
    margin: 0 auto;
}

.membership-explainer-grid .membership-note {
    grid-column: 1 / -1;
}

.membership-note-wide {
    margin-top: 0.3rem;
}

.stack-divider {
    --stack-divider-gap: clamp(3rem, 5.2vw, 4.2rem);
    position: relative;
    padding-top: var(--stack-divider-gap);
    margin-top: var(--stack-divider-gap);
}

.stack-divider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(100%, 72rem);
    height: 1px;
    background: rgba(44, 60, 75, 0.14);
    transform: translateX(-50%);
}

.stack-divider > :first-child {
    margin-top: 0;
}

.stack-divider > :last-child {
    margin-bottom: 0;
}

.contact-sheet.stack-divider {
    --stack-divider-gap: clamp(3.1rem, 5vw, 4rem);
}

.contact-sheet {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    min-height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.contact-sheet-block {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.45rem;
    border: 1px solid rgba(44, 60, 75, 0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 251, 246, 0.98));
    box-shadow: 0 18px 34px rgba(44, 60, 75, 0.08);
    min-height: 100%;
}

.contact-sheet-block:first-child {
    padding: 1.5rem 1.45rem;
}

.contact-sheet-block:nth-child(1) {
    grid-column: 1 / -1;
}

.contact-sheet-split {
    max-width: 72rem;
    margin: 0 auto;
}

.contact-sheet-split .contact-sheet-block:nth-child(1) {
    grid-column: 1 / -1;
}

.contact-sheet-title {
    margin-top: 0.55rem;
    font-size: clamp(1.12rem, 2vw, 1.45rem);
}

#horaires.contact-sheet-block {
    padding: 2.35rem 2.5rem;
}

#horaires .hours-list {
    margin-top: 1.35rem;
    padding: 1rem 5rem ;
}

.contact-sheet-text {
    margin-top: 0.85rem;
    font-size: 1rem;
    line-height: 1.76;
    max-width: 29rem;
}

.contact-sheet-block:first-child .contact-sheet-text {
    margin-inline: auto;
    text-align: center;
}

.contact-links-block {
    position: relative;
    overflow: hidden;
}

.contact-links-block::after {
    content: "";
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58, 155, 150, 0.14), transparent 68%);
    pointer-events: none;
}

.contact-link-stack-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.2rem;
}

.contact-link-stack-compact .contact-link-pill {
    justify-content: center;
    min-height: 3.75rem;
    padding: 1rem 0.95rem;
}

.contact-hero-photo-card {
    overflow: hidden;
    min-height: 100%;
    border: 0;
    border-radius: 36px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.contact-hero-photo {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    line-height: 0;
    background: transparent;
}

.contact-hero-photo img {
    display: block;
    width: 100%;
    min-height: 20rem;
    max-height: 22rem;
    object-fit: cover;
}

.contact-inline-map {
    display: block;
    width: 100%;
    min-height: 17rem;
    margin-top: 1.15rem;
    border: 0;
    border-radius: 18px;
}

body[data-page="contact"] .page-intro-shell {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 3rem;
}

body[data-page="contact"] .contact-sheet-title {
    width: 100%;
    text-align: center;
}

body[data-page="adhesions"] .page-intro-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
}

body[data-page="adhesions"] .page-intro-copy,
body[data-page="adhesions"] .page-intro-panel {
    max-width: none;
}

body[data-page="adhesions"] .page-intro-copy {
    align-self: center;
}

body[data-page="adhesions"] .page-intro-panel {
    padding: 2.45rem 2.35rem;
}

body[data-page="adhesions"] .membership-explainer-top .section-head {
    max-width: 60rem;
}

body[data-page="adhesions"] .membership-explainer-top .section-head p:last-child {
    max-width: 60rem;
}

body[data-page="lieu"] #projet-associatif .membership-explainer {
    margin-top: 0;
}

body[data-page="lieu"] #histoire.section {
    padding-top: clamp(3.4rem, 6vw, 4.5rem);
}

body[data-page="programme"] .program-feature {
    padding-top: clamp(3.4rem, 6vw, 4.7rem);
}

body[data-page="programme"] .program-feature .memory-carousel.stack-divider {
    --stack-divider-gap: clamp(3.35rem, 5.4vw, 4.35rem);
}

body[data-page="adhesions"] #adhesions.section {
    padding-top: clamp(3.5rem, 6vw, 4.7rem);
}

body[data-page="lieu"] .page-intro-shell {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}

body:not([data-page="home"]) .page-intro-copy {
    text-align: center;
    margin-inline: auto;
}

body:not([data-page="home"]) .page-title,
body:not([data-page="home"]) .page-lead {
    margin-inline: auto;
}

body:not([data-page="home"]) .hero-tags,
body:not([data-page="home"]) .page-actions,
body:not([data-page="home"]) .event-tags {
    justify-content: center;
}

.contact-link-stack {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.3rem;
}

.contact-link-stack a + a,
.contact-link-pill + .contact-link-pill {
    margin-top: 0;
}

.contact-link-pill {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    margin-top: 0;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(44, 60, 75, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    font-weight: 800 !important;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition);
}

.contact-link-pill span:last-child {
    color: var(--ink);
}

.contact-link-pill:hover,
.contact-link-pill:focus-visible {
    transform: translateY(-2px);
    background: #fffdf8;
    border-color: rgba(58, 155, 150, 0.14);
    box-shadow: 0 16px 28px rgba(44, 60, 75, 0.1);
}

a.contact-link-pill {
    display: flex;
    margin-top: 0;
}

.contact-link-stack .contact-link-pill + .contact-link-pill {
    margin-top: 0;
}

.contact-inline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: 1rem;
    padding: 0.82rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(44, 60, 75, 0.08);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
    font-weight: 800 !important;
    color: var(--blue);
}

.hours-list {
    margin: 1.05rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(44, 60, 75, 0.08);
    font-size: 0.93rem;
}

.hours-list li:first-child {
    padding-top: 0;
    border-top: 0;
}

.hours-list span {
    color: var(--ink);
    font-weight: 700;
}

.hours-list strong {
    font-size: 0.93rem;
    text-align: right;
}

.hours-split {
    display: grid;
    justify-items: end;
    gap: 0.05rem;
    line-height: 1.35;
}

.hours-split span {
    color: var(--ink);
}

.social-icon {
    display: inline-flex;
    width: 1.1rem;
    height: 1.1rem;
    color: var(--ink);
}

.social-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.site-footer {
    padding: 2.8rem 0 3.8rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(14rem, 0.8fr) minmax(14rem, 0.8fr);
    gap: 2.6rem;
    align-items: start;
    width: min(100%, 66rem);
    margin-inline: auto;
    padding: 2.7rem 0 0;
    border-top: 1px solid rgba(44, 60, 75, 0.14);
}

.footer-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.85rem;
    align-items: start;
    max-width: 25.5rem;
    padding-right: 0.2rem;
}

.footer-logo {
    display: block;
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    object-fit: contain;
    margin: 0;
}

.footer-script {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0.05rem;
    color: var(--blue);
    font-size: 1.12rem;
    line-height: 1.12;
}

.footer-title {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
    color: var(--yellow);
    font-size: clamp(1.3rem, 2.6vw, 1.9rem);
    text-shadow: none;
}

.footer-text {
    grid-column: 1 / -1;
    margin-top: 1.35rem;
    margin-left: 0;
    max-width: 23rem;
    color: rgba(44, 60, 75, 0.78);
    line-height: 1.78;
    text-align: center;
}

.footer-links {
    display: grid;
    gap: 0.55rem;
    justify-content: center;
    justify-items: center;
    align-items: center;
    align-content: start;
    text-align: center;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(44, 60, 75, 0.12);
}

.footer-links::before {
    content: "Explorer";
    text-align: center;
    color: var(--red);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    width: fit-content;
    padding: 0.15rem 0;
    background: transparent;
    border: 0;
    color: rgba(44, 60, 75, 0.78);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: none;
    transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.footer-meta {
    display: grid;
    gap: 1.05rem;
    align-content: start;
    justify-items: center;
    text-align: center;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(44, 60, 75, 0.12);
}

.footer-meta::before {
    content: "Infos utiles";
    text-align: center;
    color: var(--blue);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.footer-address {
    display: block;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    font-weight: 800;
    color: rgba(44, 60, 75, 0.82);
    line-height: 1.7;
    text-align: center;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(44, 60, 75, 0.12);
    background: rgba(255, 255, 255, 0.74);
    color: var(--ink);
    transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.footer-socials .social-icon {
    width: 1rem;
    height: 1rem;
}

.footer-socials .social-icon svg {
    width: 100%;
    height: 100%;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    transform: translateY(-1px);
    background: transparent;
    box-shadow: none;
    color: var(--ink);
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 18px rgba(44, 60, 75, 0.08);
}

.footer-bottom {
    margin-top: 1.9rem;
    text-align: center;
    color: rgba(44, 60, 75, 0.56);
    font-size: 0.88rem;
}

.zoom-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: rgba(7, 18, 26, 0.82);
    backdrop-filter: blur(16px);
}

.zoom-modal[hidden] {
    display: none;
}

.zoom-frame {
    width: min(100%, 1160px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
}

.zoom-figure {
    display: grid;
    gap: 0.8rem;
    justify-items: center;
}

.zoom-image {
    max-height: min(80vh, 900px);
    width: auto;
    border-radius: 24px;
    box-shadow: 0 36px 80px rgba(0, 0, 0, 0.36);
}

.zoom-caption {
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
}

.zoom-close,
.zoom-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.6rem;
    transition: transform var(--transition), background-color var(--transition);
}

.zoom-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
}

.zoom-close:hover,
.zoom-arrow:hover,
.zoom-close:focus-visible,
.zoom-arrow:focus-visible {
    transform: scale(1.04);
    background: rgba(255, 255, 255, 0.22);
}

body.is-ready [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 680ms ease, transform 680ms ease;
    transition-delay: var(--reveal-delay, 0s);
}

body.is-ready [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes bob {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-0.5rem);
    }
}

@keyframes marquee-pan {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes pawn-hop {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    35% {
        transform: translate(-50%, calc(-50% - 0.9rem)) scale(1.04);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

@media (max-width: 1080px) {
    .page-intro-shell,
    .hero-grid,
    .program-grid,
    .membership-grid {
        grid-template-columns: 1fr;
    }

    .hero-board {
        max-width: 36rem;
        margin: 0 auto;
        min-height: 32rem;
    }

    .program-right-single .card-main {
        justify-self: start;
    }

    .program-feature-poster .card-main {
        width: min(100%, 32rem);
    }

    .program-hero-visual .card-main {
        width: min(100%, 30rem);
    }

    .page-intro-shell {
        gap: 2.5rem;
    }

    .page-intro-copy {
        max-width: none;
        padding-inline-start: 0;
    }

    .index-grid,
    .event-kinds-grid,
    .place-notes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .index-photo-strip,
    .index-photo-strip-wide {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .place-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .history-after-combined {
        padding: 1.45rem;
    }

    .history-after-top,
    .history-after-points {
        grid-template-columns: 1fr;
    }

    .place-shot-large {
        grid-row: auto;
    }

    .membership-cards {
        grid-template-columns: repeat(2, minmax(12.5rem, 13.8rem));
        justify-content: center;
    }

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

    .hero-photo-side {
        width: 10.8rem;
        height: 8.8rem;
    }

    .contact-sheet {
        grid-template-columns: 1fr;
    }

    .contact-sheet-split .contact-sheet-block:nth-child(1) {
        grid-column: auto;
    }

    .carousel-slide {
        flex-basis: calc((100% - 1rem) / 2);
        width: calc((100% - 1rem) / 2);
    }

    .path-pawn-anchor {
        --rail-height: 15rem;
        left: 0.45rem;
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
        flex-shrink: 0;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 0.75rem);
        right: 0;
        left: 0;
        z-index: 4;
        display: grid;
        gap: 0.45rem;
        padding: 1rem;
        border: 2px solid rgba(44, 60, 75, 0.08);
        border-radius: 24px;
        background: rgba(255, 254, 251, 0.98);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    }

    .nav-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-menu a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .path-track,
    .tile-grid {
        grid-template-columns: 1fr;
    }

    .path-track::before {
        display: none;
    }

    .path-stop::after {
        display: none;
    }

    .path-pawn-anchor {
        transition-duration: 360ms;
    }

    .index-grid,
    .event-kinds-grid,
    .place-gallery,
    .place-notes,
    .membership-cards,
    .membership-explainer-grid {
        grid-template-columns: 1fr;
    }

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

    .index-photo-strip,
    .index-photo-strip-wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .carousel-shell {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .carousel-arrow {
        display: none;
    }

    .tile-photo {
        grid-row: auto;
        min-height: 22rem;
    }

    .membership-cards {
        grid-template-columns: minmax(12.5rem, 15rem);
        justify-content: center;
    }

    .membership-card {
        aspect-ratio: auto;
    }

    .history-zigzag {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .history-line,
    .history-step::before {
        display: none;
    }

    .history-left,
    .history-right {
        grid-column: 1;
        justify-self: stretch;
        max-width: none;
    }

    .history-finale {
        grid-column: 1;
        padding-inline: 1.15rem;
    }

    .timeline-step {
        padding: 3rem 1.15rem 1.2rem;
    }

    .history-photo-cluster {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem;
        width: 100%;
        height: auto;
        margin-top: 1rem;
    }

    .history-photo,
    .history-finale .history-photo {
        position: static;
        width: 100%;
        margin-top: 1rem;
        transform: none;
    }

    .history-photo-cluster .history-photo,
    .history-photo-cluster .history-photo-placeholder {
        margin-top: 0;
    }

    .history-photo-placeholder {
        min-height: 7.2rem;
    }

    .home-hero-visual {
        min-height: 30rem;
    }

    .home-hero-note-card {
        position: relative;
        left: auto;
        bottom: auto;
        width: 8rem;
        height: 8rem;
        margin: 1rem 0 0;
    }

    .place-hero-visual {
        min-height: 30rem;
    }

    .place-hero-side-a,
    .place-hero-side-b {
        width: 9.4rem;
    }

    .place-hero-side-a {
        top: 1rem;
        bottom: auto;
        height: 7.6rem;
    }

    .place-hero-side-b {
        right: 3.2rem;
    }

    .history-opening-photos,
    .history-after-strip {
        grid-template-columns: 1fr;
    }

    .history-after-links {
        flex-direction: column;
    }

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

    body[data-page="contact"] .page-intro-shell,
    body[data-page="lieu"] .page-intro-shell {
        grid-template-columns: 1fr;
    }

    .button-myludo {
        width: 100%;
    }

    .place-hero-actions {
        grid-template-columns: 1fr;
    }

    .hero-board {
        min-height: 29rem;
    }

    .hero-photo-main {
        inset: 1.3rem 6rem 4.6rem 0;
    }

    .hero-photo-side {
        right: 0.2rem;
        bottom: 1.5rem;
        width: 9.2rem;
        height: 7.6rem;
    }

    .hero-poster {
        width: 9.2rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        padding: 1.8rem 0 0;
    }

    .footer-main {
        margin-inline: auto;
        padding-right: 0;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        padding-left: 0;
        border-left: 0;
    }

    .footer-meta {
        padding-left: 0;
        border-left: 0;
    }

    .footer-socials {
        justify-content: center;
    }

    .zoom-modal {
        padding: 1rem;
    }

    .zoom-frame {
        grid-template-columns: 1fr;
    }

    .zoom-arrow {
        display: none;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding-top: 0.95rem;
    }

    .nav {
        padding: 0.88rem 0.96rem 0.88rem 1.02rem;
    }

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

    .brand-script {
        font-size: 0.82rem;
    }

    .brand-name {
        font-size: 0.68rem;
    }

    .page-intro {
        padding: 3.5rem 0 3rem;
    }

    .page-title {
        font-size: clamp(1.28rem, 8vw, 1.96rem);
        line-height: 1.82;
        max-width: 13ch;
    }

    .page-title-accent {
        font-size: clamp(1rem, 5.4vw, 1.26rem);
        line-height: 1.6;
    }

    .page-lead {
        font-size: 1rem;
        line-height: 1.88;
    }

    .page-intro-panel,
    .membership-support {
        padding: 1.45rem 1.35rem 1.5rem;
    }

    .hero,
    .section {
        padding: var(--space-section-tight) 0;
    }

    .hero {
        padding: 3.75rem 0 4.1rem;
    }

    .hero-copy {
        padding-top: 0;
    }

    .hero-copy h1 {
        max-width: 14rem;
    }

    .hero-tags {
        gap: 0.6rem;
    }

    .hero-tags span {
        font-size: 0.82rem;
    }

    .hero-board {
        min-height: 24rem;
    }

    .hero-photo-main {
        inset: 1rem 3.8rem 4rem 0;
    }

    .hero-photo-side {
        right: 0.1rem;
        bottom: 1rem;
        width: 7.2rem;
        height: 5.8rem;
    }

    .hero-poster {
        top: 0.7rem;
        right: 0.4rem;
        width: 6.4rem;
    }

    .place-hero-side-a,
    .place-hero-side-b {
        position: static;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        margin-top: 1rem;
        transform: none;
    }

    .home-hero-note-card {
        width: 7rem;
        height: 7rem;
    }

    .carousel-slide {
        flex-basis: 100%;
        width: 100%;
    }

    .path-pawn-anchor {
        display: none;
    }

    .path-pawn-head {
        width: 0.9rem;
        height: 0.9rem;
    }

    .path-pawn-body {
        width: 0.72rem;
        height: 0.92rem;
    }

    .path-pawn-base {
        width: 1.35rem;
    }

    .section-head,
    .editorial-note {
        margin-bottom: 2.2rem;
    }

    .stack-divider {
        --stack-divider-gap: 2.4rem;
    }

    .tile-card {
        padding: 1.5rem;
    }

    .index-card,
    .event-kind,
    .place-note,
    .membership-card,
    .review-card {
        padding: 1.3rem 1.15rem;
    }

    .review-card {
        min-height: 19rem;
    }

    .contact-sheet {
        padding: 0;
    }

    .contact-link-stack-compact {
        grid-template-columns: 1fr;
    }

    .index-photo-strip,
    .index-photo-strip-wide {
        grid-template-columns: 1fr;
    }
}

@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;
        scroll-behavior: auto !important;
    }

    body.is-ready [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .path-pawn-anchor,
    .path-stop {
        transition: none !important;
    }

    .path-pawn-anchor.is-jumping .path-pawn {
        animation: none;
    }

    .path-pawn {
        transition: none !important;
    }
}
