/* ==========================================================================
   Les Amis de l'Alsace en Polynésie — feuille de style
   Direction artistique : « Kelsch & Tapa » — un carnet de voyage entre
   l'Alsace (rouge et blanc, point de croix, tissu Kelsch, coiffe noire)
   et la Polynésie (lagon, tiaré, motifs tapa). Voir docs/DESIGN.md.
   ========================================================================== */

:root {
  /* Couleurs */
  --paper: #f6efe3;          /* fond papier lin */
  --paper-2: #efe4d0;        /* fond alterné */
  --paper-3: #e6d7bd;
  --card: #fffaf2;
  --ink: #1f1a16;            /* noir coiffe */
  --ink-2: #4a4038;
  --ink-3: #7a6d61;
  --rouge: #c8202f;          /* rouge Alsace (Rot un Wiss) */
  --rouge-2: #9c1522;
  --rouge-soft: #f4d9d4;
  --lagon: #0b6f6c;          /* lagon profond (texte AA sur papier) */
  --lagon-2: #12908b;
  --lagon-3: #5fd0c6;
  --tiare: #f2c230;          /* jaune des fleurs */
  --line: rgb(31 26 22 / 0.14);
  --line-2: rgb(31 26 22 / 0.28);

  /* Typo */
  --f-display: "Young Serif", "Iowan Old Style", Georgia, serif;
  --f-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --f-hand: "Caveat", "Segoe Print", cursive;

  /* Échelle */
  --step--1: clamp(0.86rem, 0.83rem + 0.12vw, 0.94rem);
  --step-0: clamp(1.03rem, 0.99rem + 0.2vw, 1.15rem);
  --step-1: clamp(1.22rem, 1.13rem + 0.42vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.32rem + 0.85vw, 2.1rem);
  --step-3: clamp(1.9rem, 1.55rem + 1.6vw, 3rem);
  --step-4: clamp(2.4rem, 1.8rem + 2.9vw, 4.6rem);
  --step-5: clamp(2.7rem, 1.9rem + 3.6vw, 5.4rem);

  --wrap: 76rem;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgb(31 26 22 / .06), 0 8px 24px -8px rgb(31 26 22 / .18);
  --shadow-lg: 0 2px 4px rgb(31 26 22 / .06), 0 22px 50px -18px rgb(31 26 22 / .35);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Motifs */
  --frise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='22' shape-rendering='crispEdges'%3E%3Cg fill='%23c8202f'%3E%3Cpath d='M6 5h4v2H6zM12 5h4v2h-4zM4 7h14v4H4zM6 11h10v2H6zM8 13h6v2H8zM10 15h2v2h-2z'/%3E%3C/g%3E%3Cg fill='%231f1a16'%3E%3Cpath d='M28 16l4-9 4 9zM44 16l4-9 4 9z' shape-rendering='geometricPrecision'/%3E%3C/g%3E%3Cpath d='M36 7l4 9 4-9zM52 7l4 9 4-9z' fill='%230b6f6c' shape-rendering='geometricPrecision'/%3E%3C/svg%3E");
  --frise-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='22' shape-rendering='crispEdges'%3E%3Cg fill='%23ff5a5f'%3E%3Cpath d='M6 5h4v2H6zM12 5h4v2h-4zM4 7h14v4H4zM6 11h10v2H6zM8 13h6v2H8zM10 15h2v2h-2z'/%3E%3C/g%3E%3Cg fill='%23f6efe3'%3E%3Cpath d='M28 16l4-9 4 9zM44 16l4-9 4 9z' shape-rendering='geometricPrecision'/%3E%3C/g%3E%3Cpath d='M36 7l4 9 4-9zM52 7l4 9 4-9z' fill='%235fd0c6' shape-rendering='geometricPrecision'/%3E%3C/svg%3E");
  --kelsch: repeating-linear-gradient(0deg, transparent 0 22px, rgb(200 32 47 / .07) 22px 30px, transparent 30px 52px),
            repeating-linear-gradient(90deg, transparent 0 22px, rgb(200 32 47 / .07) 22px 30px, transparent 30px 52px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .22 0 0 0 0 .15 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0; background: var(--paper) var(--grain); color: var(--ink);
  font: 400 var(--step-0)/1.62 var(--f-body); font-optical-sizing: auto;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { max-width: 100%; height: auto; display: block; }
img { background: var(--ph, transparent); }
a { color: var(--rouge-2); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--rouge); }
:focus-visible { outline: 3px solid var(--lagon-2); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding: 0; margin: 0; }
button { font: inherit; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 99; background: var(--ink); color: #fff; padding: .6em 1em; }
.skip:focus { left: 1rem; top: 1rem; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.hand { font-family: var(--f-hand); font-weight: 700; letter-spacing: .01em; }
.accent { color: var(--rouge); font-size: 1.12em; line-height: .9; display: inline-block; transform: rotate(-2deg); }
em { font-style: italic; }

.kicker {
  font: 700 var(--step--1)/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--rouge); margin: 0 0 .9rem; display: inline-flex; align-items: center; gap: .6rem;
}
.kicker::before { content: ""; width: 14px; height: 12px; background: currentColor; flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 12'%3E%3Cpath d='M2 0h4v2H2zM8 0h4v2H8zM0 2h14v4H0zM2 6h10v2H2zM4 8h6v2H4zM6 10h2v2H6z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 12'%3E%3Cpath d='M2 0h4v2H2zM8 0h4v2H8zM0 2h14v4H0zM2 6h10v2H2zM4 8h6v2H4zM6 10h2v2H6z'/%3E%3C/svg%3E") center/contain no-repeat; }
.kicker--light { color: var(--tiare); }

.frise { height: 22px; background: var(--frise) repeat-x 0 50% / 64px 22px; opacity: .9; }
.frise--light { background-image: var(--frise-light); opacity: .85; }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .78em 1.3em; border-radius: 999px; border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: var(--step--1); letter-spacing: .02em;
  text-decoration: none; cursor: pointer; line-height: 1.1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgb(31 26 22 / .5); }
.btn:active { transform: translateY(0); }
.btn--lg { font-size: var(--step-0); padding: .85em 1.5em; }
.btn--red { --bg: var(--rouge); --fg: #fff; }
.btn--red:hover { --bg: var(--rouge-2); }
.btn--ink-outline { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--ink-outline:hover { --bg: var(--ink); --fg: var(--paper); }
.btn--light { --bg: var(--paper); --fg: var(--ink); }
.btn--ghost-light { --bg: transparent; --fg: var(--paper); border-color: rgb(246 239 227 / .5); }
.btn--ghost-light:hover { --fg: var(--ink); --bg: var(--paper); }
.btn--ghost { --bg: transparent; --fg: var(--ink-2); border-color: transparent; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--rouge); padding-bottom: 2px; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--rouge); }
.link-arrow:hover .icon, a:hover > .link-arrow .icon { transform: translateX(4px); }
.link-arrow--light { color: var(--paper); border-color: var(--tiare); }
.link-arrow--light:hover { color: var(--tiare); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: rgb(246 239 227 / .82); font-size: .82rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .42rem; }
.topbar p { margin: 0; }
.topbar__hello { font-family: var(--f-hand); font-size: 1.15rem; color: var(--paper); line-height: 1; }
.clocks { display: flex; align-items: center; gap: .7rem; font-variant-numeric: tabular-nums; }
.clock b { font-weight: 400; color: rgb(246 239 227 / .6); margin-right: .25rem; }
.clock time { color: var(--paper); font-weight: 700; }
.clocks__line { width: 46px; height: 2px; background: repeating-linear-gradient(90deg, var(--tiare) 0 4px, transparent 4px 8px); position: relative; }
.clocks__line::after { content: "✈"; position: absolute; top: -.72rem; left: 50%; transform: translateX(-50%); font-size: .8rem; color: var(--tiare); }

.masthead { position: sticky; top: 0; z-index: 40; background: rgb(246 239 227 / .9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.masthead.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgb(31 26 22 / .5); }
.masthead__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .6rem; }
.brand img { width: clamp(150px, 12vw + 80px, 215px); height: auto; mix-blend-mode: multiply; }
.nav { display: flex; align-items: center; }
.nav__panel { display: flex; align-items: center; gap: clamp(.8rem, 1.6vw, 1.6rem); }
.nav__list { display: flex; list-style: none; gap: clamp(.2rem, 1vw, 1rem); }
.nav__list a { display: block; padding: .5em .55em; color: var(--ink); text-decoration: none; font-weight: 600; position: relative; font-size: .98rem; }
.nav__list a::after { content: ""; position: absolute; left: .55em; right: .55em; bottom: .25em; height: 2px; background: var(--rouge); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__list a:hover::after, .nav__list a[aria-current]::after { transform: scaleX(1); }
.nav__list a[aria-current] { color: var(--rouge-2); }
.nav__fb { color: var(--ink); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: background .2s, color .2s; }
.nav__fb:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.nav__toggle, .nav__mascots { display: none; }

@media (max-width: 62rem) {
  /* no backdrop-filter here: it would trap the fixed-position menu panel inside the header */
  .masthead { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .topbar__hello { display: none; }
  .topbar__in { justify-content: center; }
  .nav__toggle { display: inline-flex; align-items: center; gap: .45rem; background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; padding: .6em 1em; font-weight: 700; cursor: pointer; position: relative; z-index: 3; }
  .nav__panel {
    position: fixed; inset: 0; z-index: 2; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.5rem;
    padding: 6rem var(--gutter) 3rem; background-color: var(--paper); background-image: var(--kelsch); overflow-y: auto;
    clip-path: circle(0 at calc(100% - 3rem) 2.5rem); visibility: hidden; transition: clip-path .55s var(--ease), visibility 0s .55s;
  }
  .nav.is-open .nav__panel { clip-path: circle(150% at calc(100% - 3rem) 2.5rem); visibility: visible; transition: clip-path .6s var(--ease); }
  .nav.is-open .nav__toggle { background: var(--rouge); }
  .nav__list { flex-direction: column; gap: .2rem; }
  .nav__list a { font: 400 var(--step-3)/1.15 var(--f-display); padding: .15em 0; }
  .nav__list a::after { left: 0; right: auto; width: 2.5rem; bottom: 0; }
  .nav__cta { font-size: var(--step-0); }
  .nav__mascots { display: block; width: min(60vw, 260px); margin-top: auto; align-self: flex-end; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Animations ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-26px) rotate(var(--rot, 0deg)) scale(.96); } to { opacity: 1; transform: rotate(var(--rot, 0deg)); } }
.rise { animation: rise .8s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 60ms); }
.drop { animation: drop 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 120ms + 200ms); }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rd, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(2rem, 5vw, 4.5rem); background:
  radial-gradient(60rem 30rem at 92% 10%, rgb(95 208 198 / .28), transparent 60%),
  radial-gradient(40rem 26rem at 70% 95%, rgb(242 194 48 / .16), transparent 60%); }
.hero__grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.hero__hello { font-size: var(--step-2); color: var(--lagon); margin-bottom: .4rem; transform: rotate(-2deg); transform-origin: left; }
.hero__title { font-size: var(--step-5); line-height: .98; letter-spacing: -.025em; margin-bottom: 1.6rem; }
.hero__title em { color: var(--rouge); font-style: normal; display: block; position: relative; }
.hero__title em::after { content: ""; position: absolute; left: 0; bottom: -.08em; width: min(100%, 9.5em); height: .14em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q 40 2 75 7 T 150 6 T 225 7 T 298 5' fill='none' stroke='%230b6f6c' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.hero__lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__collage { position: relative; aspect-ratio: 1 / 1.02; min-height: 22rem; }
.polaroid { position: absolute; margin: 0; background: #fff; padding: .7rem .7rem 0; box-shadow: var(--shadow-lg); border-radius: 3px; }
.polaroid img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 1px; }
.polaroid figcaption { font-size: 1.25rem; text-align: center; padding: .35rem 0 .45rem; color: var(--ink-2); line-height: 1.2; }
.polaroid::before { content: ""; position: absolute; top: -12px; left: 50%; width: 90px; height: 26px; transform: translateX(-50%) rotate(-3deg); background: rgb(242 194 48 / .55); box-shadow: 0 1px 2px rgb(0 0 0 / .08); }
.polaroid--1 { --rot: -6deg; width: 41%; left: 0; top: 12%; z-index: 2; }
.polaroid--2 { --rot: 4deg; width: 50%; right: 0; top: 0; z-index: 3; }
.polaroid--2::before { background: rgb(95 208 198 / .55); }
.polaroid--3 { --rot: -2deg; width: 40%; left: 36%; bottom: 0; z-index: 1; }
.polaroid--3::before { background: rgb(200 32 47 / .35); }
.polaroid { transition: transform .5s var(--ease), box-shadow .5s; }
.polaroid:hover { transform: rotate(0deg) scale(1.04) !important; z-index: 5; }
.hero__mascots { position: absolute; width: 32%; right: -2%; bottom: -3%; z-index: 4; filter: drop-shadow(0 8px 12px rgb(31 26 22 / .18)); }
@media (max-width: 56rem) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__collage { width: min(100%, 34rem); margin-inline: auto; min-height: 0; }
}

/* ---------- Page header ---------- */
.phead { padding-top: clamp(2.5rem, 6vw, 5rem); background: radial-gradient(50rem 22rem at 100% 0%, rgb(95 208 198 / .2), transparent 70%); }
.phead__in { padding-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 60rem; margin-left: max(var(--gutter), (100% - var(--wrap)) / 2); }
.phead__title { font-size: var(--step-4); letter-spacing: -.02em; margin-bottom: 1.2rem; }
.phead__title--event { font-size: var(--step-4); }
.phead__lead { font-size: var(--step-1); color: var(--ink-2); max-width: 46rem; line-height: 1.55; }
.crumbs { display: flex; gap: .6rem; align-items: center; font-weight: 700; font-size: var(--step--1); margin-bottom: 1.2rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; display: inline-flex; gap: .35em; align-items: center; }
.crumbs a:hover { color: var(--rouge); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.section--kelsch { background-color: var(--paper-2); background-image: var(--kelsch); border-block: 1px solid var(--line); }
.section--paper2 { background: var(--paper-2); }
.shead { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; flex-wrap: wrap; margin-bottom: clamp(1.8rem, 3vw, 2.8rem); }
.shead__title { font-size: var(--step-3); letter-spacing: -.015em; }
.prose { max-width: 42rem; }
.prose p:last-child { margin-bottom: 0; }
.dropcap::first-letter { font: 400 3.6em/.8 var(--f-display); float: left; margin: .08em .1em 0 0; color: var(--rouge); }
.lead-note { font-size: var(--step-1); color: var(--ink-2); max-width: 48rem; margin-bottom: 2.5rem; }
.lead-note a { white-space: nowrap; font-weight: 700; }

/* ---------- Next event band ---------- */
.next { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.next::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40rem 20rem at 0% 100%, rgb(11 111 108 / .55), transparent 70%), radial-gradient(30rem 18rem at 100% 0%, rgb(200 32 47 / .35), transparent 70%); pointer-events: none; }
.next__grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(3rem, 6vw, 5rem); }
.next__featured { list-style: none; }
.next__featured .aitem:not(:first-child) { display: none; }
.next__h { font-family: var(--f-hand); font-size: var(--step-2); color: var(--lagon-3); margin-bottom: 1rem; line-height: 1; }
.next .link-arrow { margin-top: 1.5rem; }
@media (max-width: 56rem) { .next__grid { grid-template-columns: 1fr; } }

/* agenda items */
.alist { list-style: none; display: grid; gap: .2rem; }
.aitem { display: grid; grid-template-columns: 5.2rem 1fr; gap: 1.2rem; align-items: start; padding: 1.1rem 0; border-top: 1px dashed var(--line-2); }
.aitem:first-child { border-top: 0; }
.aitem__date { display: grid; justify-items: center; align-content: center; background: var(--card); color: var(--ink); border-radius: 12px; padding: .55rem .3rem .45rem; box-shadow: var(--shadow); position: relative; min-height: 5rem; border-top: 6px solid var(--rouge); }
.aitem__day { font: 400 2rem/1 var(--f-display); }
.aitem__month { font-weight: 700; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; color: var(--rouge); }
.aitem__month--solo { font: 400 1.3rem/1.1 var(--f-display); text-transform: none; letter-spacing: 0; color: var(--ink); }
.aitem__year { font-size: .72rem; color: var(--ink-3); }
.aitem__q { font: 400 2rem/1 var(--f-display); color: var(--ink-3); }
.aitem--tbc .aitem__date { border-top-color: var(--ink-3); }
.aitem__title { font-size: var(--step-1); line-height: 1.2; margin-bottom: .35rem; }
.aitem__meta { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; color: var(--ink-2); font-size: var(--step--1); margin: 0; }
.aitem__meta span { display: inline-flex; align-items: center; gap: .35em; }
.aitem__meta span:first-letter { text-transform: uppercase; }
.aitem__countdown:empty { display: none; }
.aitem__countdown { background: var(--tiare); color: var(--ink); font-weight: 700; border-radius: 999px; padding: .05em .65em; }
.aitem__note { margin: .55rem 0 0; color: var(--ink-2); font-size: var(--step--1); border-left: 3px solid var(--tiare); padding-left: .8rem; }
.aitem.is-past { display: none; }
.next .aitem { border-color: rgb(246 239 227 / .18); }
.next .aitem__meta, .next .aitem__note { color: rgb(246 239 227 / .75); }
.alist--compact .aitem { grid-template-columns: 3.6rem 1fr; padding: .75rem 0; gap: .9rem; }
.alist--compact .aitem__date { min-height: 3.6rem; padding: .35rem .2rem; border-top-width: 4px; }
.alist--compact .aitem__day { font-size: 1.4rem; }
.alist--compact .aitem__title { font-size: var(--step-0); font-family: var(--f-body); font-weight: 700; }
.alist--compact .aitem__note, .alist--compact .aitem__countdown { display: none; }
.next .alist--compact .aitem:nth-child(n+6) { display: none; }
.aitem--big { grid-template-columns: 8.5rem 1fr; gap: 1.8rem; border: 0; padding: 0; }
.aitem--big .aitem__date { min-height: 9rem; border-top-width: 10px; transform: rotate(-3deg); }
.aitem--big .aitem__day { font-size: 4.2rem; }
.aitem--big .aitem__month { font-size: 1rem; }
.aitem--big .aitem__title { font-size: var(--step-3); line-height: 1.05; margin-bottom: .8rem; }
.aitem--big .aitem__meta { font-size: var(--step-0); }
.aitem--big .aitem__note { font-size: var(--step-0); margin-top: 1rem; }
@media (max-width: 36rem) { .aitem--big { grid-template-columns: 1fr; } .aitem--big .aitem__date { width: 7rem; min-height: 7rem; } .aitem--big .aitem__day { font-size: 3rem; } }

/* agenda page */
.agenda { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.alist--full .aitem { padding: 1.4rem 0; }
.alist--full .aitem:first-child .aitem__date { background: var(--rouge); color: #fff; border-top-color: var(--ink); }
.alist--full .aitem:first-child .aitem__month, .alist--full .aitem:first-child .aitem__year { color: #fff; }
.agenda__empty { font-size: var(--step-1); }
.agenda__side { display: grid; gap: 1.4rem; position: sticky; top: 7rem; }
.note-card { background: var(--card); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow); }
.note-card p:last-child { margin: 0; }
.note-card__h { font-size: var(--step-2); color: var(--rouge); line-height: 1; margin-bottom: .6rem; }
.note-card__title { font-size: var(--step-2); margin-bottom: .8rem; }
.note-card--lagon { background: var(--lagon); color: var(--paper); }
.note-card--lagon .btn { margin-top: 1rem; }
.note-card--photo { padding: 0; overflow: hidden; position: relative; display: block; color: #fff; text-decoration: none; }
.note-card--photo img { aspect-ratio: 16/10; object-fit: cover; width: 100%; transition: transform .8s var(--ease); }
.note-card--photo:hover img { transform: scale(1.05); }
.note-card--photo span { position: absolute; inset: auto 0 0; padding: 2.5rem 1.4rem 1.2rem; background: linear-gradient(transparent, rgb(31 26 22 / .85)); font-size: var(--step-0); }
.note-card--photo b { display: flex; align-items: center; gap: .4em; font-family: var(--f-display); font-weight: 400; font-size: var(--step-2); }
@media (max-width: 56rem) { .agenda { grid-template-columns: 1fr; } .agenda__side { position: static; } }

/* ---------- Souvenir cards ---------- */
.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: clamp(1.2rem, 2.4vw, 2rem); }
.scard { position: relative; min-width: 0; }
.scard__link { display: block; color: inherit; text-decoration: none; }
.scard__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--paper-3); box-shadow: var(--shadow); }
.scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s; }
.scard__link:hover .scard__media img { transform: scale(1.06); }
.scard__empty { height: 100%; display: grid; place-content: center; justify-items: center; gap: .4rem; color: var(--ink-3); background: var(--kelsch), var(--paper-2); }
.scard__empty .icon { width: 2rem; height: 2rem; }
.scard__count { position: absolute; right: .7rem; bottom: .7rem; display: inline-flex; align-items: center; gap: .35em; background: rgb(31 26 22 / .78); color: #fff; font-size: .8rem; font-weight: 700; padding: .3em .7em; border-radius: 999px; backdrop-filter: blur(4px); }
.scard__count--video { left: .7rem; right: auto; background: var(--rouge); }
.scard__body { padding: 1rem .2rem 0; }
.scard__date { font-weight: 700; color: var(--rouge); font-size: var(--step--1); letter-spacing: .04em; margin-bottom: .3rem; }
.scard__date time::first-letter { text-transform: uppercase; }
.scard__title { font-size: var(--step-1); line-height: 1.18; transition: color .2s; }
.scard__link:hover .scard__title { color: var(--rouge-2); }
.scard__place { margin: .4rem 0 0; color: var(--ink-3); font-size: var(--step--1); display: flex; align-items: center; gap: .3em; }
.sgrid--home { grid-template-columns: repeat(3, 1fr); }
.sgrid--home .scard:first-child { grid-column: span 2; grid-row: span 2; }
.sgrid--home .scard:first-child .scard__link { display: flex; flex-direction: column; height: 100%; }
.sgrid--home .scard:first-child .scard__media { aspect-ratio: auto; flex: 1; min-height: 18rem; }
.sgrid--home .scard:first-child .scard__title { font-size: var(--step-2); }
@media (max-width: 60rem) { .sgrid--home { grid-template-columns: 1fr 1fr; } .sgrid--home .scard:first-child { grid-row: auto; } .sgrid--home .scard:first-child .scard__media { height: auto; aspect-ratio: 16/9; flex: none; min-height: 0; } }
@media (max-width: 36rem) { .sgrid--home { grid-template-columns: 1fr; } .sgrid--home .scard:first-child { grid-column: auto; } }

/* year groups */
.years { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.years a { padding: .45em 1em; border-radius: 999px; border: 1.5px solid var(--line-2); color: var(--ink); text-decoration: none; font-weight: 700; font-variant-numeric: tabular-nums; transition: all .2s; display: inline-flex; gap: .4em; align-items: center; }
.years a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.years__video { background: var(--rouge); border-color: var(--rouge) !important; color: #fff !important; }
.section--year { padding-block: clamp(2rem, 4vw, 3.5rem); }
.section--year:nth-child(even) { background: var(--paper-2); }
.year { display: grid; grid-template-columns: 8rem 1fr; gap: clamp(1.5rem, 3vw, 3rem); }
.year__label { font-size: var(--step-4); color: var(--rouge); position: sticky; top: 6.5rem; align-self: start; }
.year__label span { display: inline-block; writing-mode: vertical-rl; transform: rotate(180deg); line-height: 1; letter-spacing: -.02em; }
@media (max-width: 48rem) { .year { grid-template-columns: 1fr; } .year__label { position: static; } .year__label span { writing-mode: horizontal-tb; transform: none; } }

/* stats */
.stats { background: var(--rouge); color: #fff; position: relative; }
.stats::before, .stats::after { content: ""; position: absolute; left: 0; right: 0; height: 22px; background: var(--frise-light) repeat-x 0 50% / 64px 22px; opacity: .45; }
.stats::before { top: 10px; } .stats::after { bottom: 10px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: clamp(3.2rem, 6vw, 4.5rem); text-align: center; }
.stat { margin: 0; display: grid; gap: .3rem; }
.stat__n { font: 400 var(--step-4)/1 var(--f-display); letter-spacing: -.02em; }
.stat__l { font-size: var(--step--1); color: rgb(255 255 255 / .85); letter-spacing: .04em; }
@media (max-width: 48rem) { .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 2.2rem; } }

/* feature */
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.feature__media { margin: 0; position: relative; }
.feature__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.2; object-fit: cover; width: 100%; }
.feature__title { font-size: var(--step-3); margin-bottom: 1.2rem; }
.badge-prize { position: absolute; top: -1.2rem; right: -1rem; width: 7.5rem; height: 7.5rem; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--tiare); color: var(--ink); font: 700 .95rem/1 var(--f-body); text-transform: uppercase; letter-spacing: .08em; transform: rotate(12deg); box-shadow: var(--shadow);
  background-image: radial-gradient(circle at 50% 50%, transparent 58%, rgb(31 26 22 / .15) 59% 60%, transparent 61%); }
.badge-prize b { font: 400 2.6rem/1 var(--f-display); letter-spacing: 0; text-transform: none; }
.badge-prize sup { font-size: .45em; }
@media (max-width: 50rem) { .feature__grid { grid-template-columns: 1fr; } .badge-prize { right: .5rem; } }

/* recipes cards */
.rgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.rgrid--all { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.rcard { background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s; }
.rcard:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.rcard__link { color: inherit; text-decoration: none; display: block; height: 100%; }
.rcard__media img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.rcard__body { display: block; padding: 1.1rem 1.2rem 1.4rem; position: relative; }
.rcard__als { display: block; color: var(--lagon); font-size: 1.3rem; line-height: 1; margin: 0 0 .25rem; }
.rcard__title { display: block; font: 400 var(--step-2)/1.05 var(--f-display); margin-bottom: .35rem; }
.rcard__kicker { display: block; color: var(--ink-3); font-size: var(--step--1); margin: 0; }
.rcard--book { display: grid; align-content: end; background: var(--ink); color: var(--paper); text-decoration: none; min-height: 20rem; position: relative; }
.rcard--book:hover { color: var(--paper); }
.rcard--book .rcard__als { color: var(--tiare); }
.rcard--book .rcard__kicker { color: rgb(246 239 227 / .65); }
.rcard__bookicon { position: absolute; top: 1.3rem; left: 1.2rem; width: 3.2rem; height: 3.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--rouge); }
.rcard--book::after { content: ""; position: absolute; inset: auto 0 0; height: 10px; background: var(--frise-light) repeat-x 0 50% / 48px 16px; opacity: .6; }
@media (max-width: 60rem) { .rgrid:not(.rgrid--all) { grid-template-columns: 1fr 1fr; } }

/* video */
.video { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; }
.video video, .video iframe, .yt, .yt img { width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt { display: block; position: relative; }
.yt__play { position: absolute; inset: 0; margin: auto; width: 5rem; height: 5rem; display: grid; place-items: center; background: var(--rouge); color: #fff; border-radius: 50%; box-shadow: 0 10px 30px rgb(0 0 0 / .35); transition: transform .3s var(--ease); }
.yt__play .icon { width: 2rem; height: 2rem; margin-left: .25rem; }
.yt:hover .yt__play { transform: scale(1.1); }
.video-feature { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.video-feature .shead__title { margin-bottom: 1rem; }
@media (max-width: 56rem) { .video-feature { grid-template-columns: 1fr; } }
.vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
.vcard--wide { grid-column: 1 / -1; }
.vcard__title { font-size: var(--step-2); margin-top: 1.1rem; }
.vcard--wide .vcard__title { font-size: var(--step-3); }
.vcard__sub { color: var(--ink-2); margin: .4rem 0 0; }
@media (max-width: 48rem) { .vgrid { grid-template-columns: 1fr; } }

/* duo cards */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); }
.duo__card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.8rem, 4vw, 3rem); border-radius: var(--radius-lg); color: var(--paper); text-decoration: none; min-height: 19rem; transition: transform .4s var(--ease); }
.duo__card:hover { color: var(--paper); transform: translateY(-4px); }
.duo__card h2 { font-size: var(--step-3); margin-bottom: 1rem; max-width: 16ch; }
.duo__card p { color: rgb(246 239 227 / .82); max-width: 32rem; }
.duo__card .link-arrow { margin-top: auto; }
.duo__card--lagon { background: var(--lagon); }
.duo__card--red { background: var(--rouge); }
.duo__card::after { content: ""; position: absolute; right: -3rem; bottom: -3rem; width: 14rem; height: 14rem; border-radius: 50%; border: 22px solid rgb(255 255 255 / .08); }
.duo__card--red .kicker--light { color: var(--paper); }
@media (max-width: 48rem) { .duo { grid-template-columns: 1fr; } }

/* postcard band */
.postcard-band { position: relative; margin: 0; }
.postcard-band img { width: 100%; height: clamp(16rem, 42vw, 34rem); object-fit: cover; }
.postcard-band__text { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%) rotate(-3deg); margin: 0; background: var(--paper); color: var(--ink); font-size: var(--step-2); padding: .3em 1em .4em; border-radius: 4px; box-shadow: var(--shadow-lg); white-space: nowrap; }

/* ---------- Event page / gallery ---------- */
.event__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-weight: 700; color: var(--ink-2); }
.event__meta span { display: inline-flex; gap: .4em; align-items: center; }
.event__meta time::first-letter { text-transform: uppercase; }
.event__text { margin-top: 1.4rem; font-size: var(--step-1); color: var(--ink-2); }
.gallery { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery::after { content: ""; flex-grow: 999; }
.gallery__item { flex: calc(var(--ar) * 1) 1 calc(var(--ar) * 15rem); aspect-ratio: var(--ar); position: relative; overflow: hidden; border-radius: 8px; background: var(--paper-3); cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .3s; }
.gallery__item:hover img { transform: scale(1.04); }
@media (max-width: 36rem) { .gallery__item { flex-basis: calc(var(--ar) * 9rem); } }
.video--yt { max-width: 56rem; margin: 0 auto 2.5rem; }
.empty-note { font-size: var(--step-1); color: var(--ink-2); background: var(--card); padding: 1.5rem; border-radius: var(--radius); border-left: 5px solid var(--tiare); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: 2rem; }
.pager__link { display: grid; gap: .3rem; padding: 1.2rem 1.4rem; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease); }
.pager__link:hover { transform: translateY(-3px); color: var(--rouge-2); }
.pager__link--next { text-align: right; justify-items: end; }
.pager__dir { display: inline-flex; gap: .4em; align-items: center; font-size: var(--step--1); color: var(--ink-3); font-weight: 700; }
.pager__title { font: 400 var(--step-1)/1.2 var(--f-display); }

/* lightbox */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(20 16 13 / .96); color: var(--paper); }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; animation: rise .3s var(--ease); }
.lightbox__stage { margin: 0; display: grid; justify-items: center; gap: .8rem; max-width: 94vw; }
.lightbox__stage img { max-width: 94vw; max-height: 84vh; width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgb(0 0 0 / .5); background: transparent; touch-action: pan-y; user-select: none; }
.lightbox__cap { font-size: var(--step--1); color: rgb(246 239 227 / .75); text-align: center; }
.lightbox__count { font-variant-numeric: tabular-nums; color: var(--tiare); font-weight: 700; }
.lightbox__btn { position: absolute; width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgb(246 239 227 / .12); color: var(--paper); cursor: pointer; transition: background .2s; }
.lightbox__btn:hover { background: var(--rouge); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 40rem) { .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; transform: none; } }

/* ---------- Recipe page ---------- */
.recipe__head { padding-top: clamp(2rem, 5vw, 4rem); background-color: var(--paper-2); background-image: var(--kelsch); }
.recipe__headgrid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.recipe__als { font-size: var(--step-2); color: var(--lagon); margin: 0 0 .1rem; transform: rotate(-2deg); transform-origin: left; display: inline-block; }
.recipe__title { font-size: var(--step-5); letter-spacing: -.03em; line-height: .95; }
.recipe__kicker { font-size: var(--step-1); color: var(--ink-2); margin: .8rem 0 1.6rem; }
.recipe__facts { list-style: none; display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.8rem; }
.recipe__facts li { display: flex; align-items: center; gap: .6rem; background: var(--card); border-radius: 12px; padding: .6rem .9rem; box-shadow: var(--shadow); font-size: var(--step--1); }
.recipe__facts .icon { color: var(--rouge); }
.recipe__facts b { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.recipe__story { color: var(--ink-2); }
.recipe__photo { margin: 0; justify-self: center; background: #fff; padding: .8rem .8rem 2.6rem; box-shadow: var(--shadow-lg); --rot: 2.5deg; transform: rotate(2.5deg); max-width: 26rem; width: 100%; }
.recipe__photo img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.recipe__body { display: grid; grid-template-columns: minmax(16rem, 1fr) 2fr; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.recipe__h { font-size: var(--step-3); margin-bottom: .4rem; }
.ingredients { position: sticky; top: 6.5rem; display: grid; gap: 1.5rem; }
.ingredients__card { background: var(--card); border-radius: var(--radius-lg); padding: 1.6rem 1.5rem; box-shadow: var(--shadow); border-top: 8px solid var(--rouge); }
.ingredients__hint { color: var(--lagon); font-size: 1.2rem; margin-bottom: .6rem; }
.ingredients__group, .steps__group { font: 700 var(--step--1)/1.2 var(--f-body); text-transform: uppercase; letter-spacing: .12em; color: var(--rouge); margin: 1.2rem 0 .5rem; }
.steps__group { font-size: var(--step-0); margin-top: 2rem; }
.checklist { list-style: none; }
.checklist li + li { border-top: 1px dashed var(--line); }
.checklist label { display: flex; gap: .75rem; align-items: flex-start; padding: .5rem 0; cursor: pointer; }
.checklist input { appearance: none; -webkit-appearance: none; flex: none; width: 1.25rem; height: 1.25rem; margin: .18rem 0 0; border: 2px solid var(--ink-3); border-radius: 5px; display: grid; place-content: center; cursor: pointer; transition: background .2s, border-color .2s; }
.checklist input::after { content: ""; width: .7rem; height: .4rem; border: 2.5px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); margin-top: -.15rem; transition: transform .2s var(--ease); }
.checklist input:checked { background: var(--lagon); border-color: var(--lagon); }
.checklist input:checked::after { transform: rotate(-45deg) scale(1); }
.checklist input:checked + span { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--rouge); }
.recipe__photo2 { margin: 0; transform: rotate(-2deg); background: #fff; padding: .6rem .6rem 1.6rem; box-shadow: var(--shadow); width: 70%; justify-self: center; }
.steps { counter-reset: step; }
.steps__list { list-style: none; }
.step { counter-increment: step; position: relative; padding: 1.1rem 0 1.1rem 4.2rem; border-bottom: 1px solid var(--line); font-size: var(--step-0); cursor: pointer; transition: color .2s, opacity .2s; min-height: 4rem; }
.step::before { content: counter(step); position: absolute; left: 0; top: .9rem; width: 2.9rem; height: 2.9rem; display: grid; place-items: center; border-radius: 50%; font: 400 1.35rem/1 var(--f-display); background: var(--paper-2); color: var(--rouge); border: 2px solid var(--rouge); transition: all .25s var(--ease); }
.step:hover::before { background: var(--rouge-soft); }
.step.is-done { color: var(--ink-3); }
.step.is-done::before { content: "✓"; background: var(--lagon); border-color: var(--lagon); color: #fff; }
.recipe__tools { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.recipe__source { margin-top: 1.5rem; color: var(--ink-3); font-size: var(--step--1); }
@media (max-width: 56rem) {
  .recipe__headgrid, .recipe__body { grid-template-columns: 1fr; }
  .ingredients { position: static; }
  .recipe__photo { max-width: 20rem; }
}

/* ---------- Addresses ---------- */
.agrid { columns: 3 19rem; column-gap: clamp(1.2rem, 2.4vw, 2rem); }
.acard { break-inside: avoid; margin-bottom: clamp(1.2rem, 2.4vw, 2rem); background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.acard__media { position: relative; }
.acard__media img { width: 100%; max-height: 22rem; object-fit: cover; }
.acard__tag { position: absolute; left: 1rem; top: 1rem; background: var(--paper); color: var(--ink); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: .35em .8em; border-radius: 999px; box-shadow: var(--shadow); }
.acard__body { padding: 1.3rem 1.4rem 1.5rem; }
.acard__title { font-size: var(--step-2); margin-bottom: .5rem; }
.acard__where { display: flex; gap: .35em; align-items: center; color: var(--lagon); font-weight: 700; font-size: var(--step--1); margin-bottom: .7rem; }
.acard__body p:last-child { margin-bottom: 0; }

/* ---------- Association ---------- */
.story { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.story__text { font-size: var(--step-1); }
.story__docs { margin-top: 2rem; }
.story__media { margin: 0; }
.story__media figcaption { text-align: center; color: var(--lagon); font-size: var(--step-1); line-height: 1.2; margin-top: 1rem; }
.board { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.board__item { text-align: center; }
.board__photo { margin: 0 0 1rem; aspect-ratio: 3/4; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--paper-3); box-shadow: var(--shadow); border: 5px solid var(--card); }
.board__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.95); transition: transform .6s var(--ease); }
.board__item:hover img { transform: scale(1.05); }
.board__name { font: 400 var(--step-1)/1.15 var(--f-display); margin-bottom: .2rem; }
.board__role { color: var(--rouge); font-weight: 700; font-size: var(--step--1); }
@media (max-width: 60rem) { .board { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 36rem) { .board { grid-template-columns: 1fr 1fr; } .story { grid-template-columns: 1fr; } }
.maps { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); }
.mapcard { display: block; background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .4s var(--ease); }
.mapcard:hover { transform: translateY(-4px); color: var(--ink); }
.mapcard img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.mapcard__body { display: grid; gap: .3rem; padding: 1.2rem 1.4rem 1.4rem; }
.mapcard__body b { font: 400 var(--step-2)/1.1 var(--f-display); }
.mapcard__body .link-arrow { justify-self: start; margin-top: .5rem; }
@media (max-width: 40rem) { .maps { grid-template-columns: 1fr; } }
.tshirts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.tshirts__photos { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; align-items: end; }
.tshirts__photos img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.tshirts__photos img:nth-child(2) { transform: translateY(-2rem); }
.tshirts .shead__title { margin-bottom: 1rem; }
@media (max-width: 48rem) { .tshirts { grid-template-columns: 1fr; } }

/* ---------- Join ---------- */
.join { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.ticket { position: relative; background: var(--rouge); color: #fff; border-radius: var(--radius-lg); padding: 2.2rem 1.8rem 2rem; text-align: center; box-shadow: var(--shadow-lg);
  -webkit-mask: radial-gradient(circle 14px at 0 62%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 62%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 14px at 0 62%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 62%, transparent 98%, #000) right / 51% 100% no-repeat; }
.ticket__label { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: var(--step--1); color: rgb(255 255 255 / .8); }
.ticket__price { font: 400 var(--step-3)/1 var(--f-display); margin: .5rem 0 .3rem; white-space: nowrap; }
.ticket__per { font-family: var(--f-hand); font-size: var(--step-2); line-height: 1; color: var(--tiare); }
.ticket__small { font-size: .85rem; color: rgb(255 255 255 / .75); border-top: 2px dashed rgb(255 255 255 / .35); padding-top: 1.2rem; margin-top: 1.4rem; }
.ticket__btn { --bg: var(--paper); --fg: var(--ink); white-space: normal; }
.ticket__btn:hover { --bg: #fff; --fg: var(--rouge-2); }
.ticket__stamp { position: absolute; top: 1rem; right: 1rem; color: rgb(255 255 255 / .35); }
.ticket__stamp .icon { width: 1.8rem; height: 1.6rem; }
.howto { list-style: none; counter-reset: h; display: grid; gap: 1.1rem; margin: 1.4rem 0 1.6rem; }
.howto li { counter-increment: h; position: relative; padding-left: 3.4rem; }
.howto li::before { content: counter(h); position: absolute; left: 0; top: -.1rem; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; background: var(--lagon); color: #fff; font: 400 1.2rem/1 var(--f-display); }
.howto b { display: block; }
.join__photo { margin: 0; }
.join__photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 3/4; object-fit: cover; transform: rotate(2deg); }
@media (max-width: 60rem) { .join { grid-template-columns: 1fr 1fr; } .join__photo { grid-column: 1 / -1; max-width: 26rem; justify-self: center; } }
@media (max-width: 40rem) { .join { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound__in { max-width: 44rem; text-align: center; }
.notfound img { width: 14rem; margin: 0 auto 1.5rem; }
.notfound .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgb(246 239 227 / .78); margin-top: 0; }
.footer .frise { opacity: .7; }
.footer a { color: var(--paper); }
.footer a:hover { color: var(--tiare); }
.footer a.btn { color: var(--fg); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer__mascots { width: 9rem; margin-bottom: 1rem; background: var(--paper); border-radius: 50%; padding: .9rem; aspect-ratio: 1; object-fit: contain; }
.footer__title { font: 400 var(--step-2)/1.1 var(--f-display); color: var(--paper); margin-bottom: .7rem; }
.footer .hand { color: var(--tiare); font-size: 1.4rem; }
.footer__h { font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: var(--step--1); color: var(--tiare); margin-bottom: 1rem; }
.footer__links { list-style: none; display: grid; gap: .45rem; }
.footer__links a { text-decoration: none; }
.footer__social { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; border-top: 1px solid rgb(246 239 227 / .14); padding-block: 1.4rem; font-size: .85rem; }
.footer__bottom p { margin: 0; }
@media (max-width: 56rem) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }
@media (max-width: 34rem) { .footer__grid { grid-template-columns: 1fr; } }

.photo-missing { display: block; aspect-ratio: 4/3; background: var(--kelsch), var(--paper-3); }

/* ---------- Print (recettes) ---------- */
@media print {
  .topbar, .masthead, .footer, .frise, .pager, .recipe__tools, .ingredients__hint, .crumbs, .lightbox, .recipe__photo2 { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .recipe__head { background: none; padding: 0; }
  .recipe__headgrid { grid-template-columns: 2fr 1fr; padding: 0; gap: 1.5rem; }
  .recipe__photo { transform: none; box-shadow: none; padding: 0; max-width: 6cm; }
  .recipe__title { font-size: 28pt; }
  .recipe__body { grid-template-columns: 1fr 2fr; padding-top: 1rem; gap: 1.5rem; }
  .ingredients { position: static; }
  .ingredients__card { box-shadow: none; border: 1px solid #999; }
  .step { padding-block: .4rem; min-height: 0; break-inside: avoid; }
  .step::before { width: 1.8rem; height: 1.8rem; top: .3rem; font-size: 1rem; }
  .step.is-done { color: inherit; }
  .rise, .drop, .reveal { animation: none !important; opacity: 1 !important; transform: none !important; }
}
