:root {
  --paper: #f6f1e8;
  --paper-2: #ede4d3;
  --card: #fffcf6;
  --ink: #1a120e;
  --ink-2: #2a1f19;
  --ink-soft: #5b4a41;
  --red: #d6453d;
  --red-deep: #a8322b;
  --gold: #e2a825;
  --line: rgba(26, 18, 14, 0.12);
  --line-light: rgba(246, 241, 232, 0.16);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(26, 18, 14, 0.06), 0 12px 32px -12px rgba(26, 18, 14, 0.22);
  --shadow-lg: 0 2px 4px rgba(26, 18, 14, 0.06), 0 28px 60px -20px rgba(26, 18, 14, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --text: "Literata", Georgia, serif;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--red-deep); text-underline-offset: 3px; }
/* Téléphones et adresses rendus cliquables sans changer leur aspect. */
a.plain-link { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0 0 0.45em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.8rem, 1.6rem + 5vw, 5.8rem); }
h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.7rem); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; border-radius: var(--radius-sm);
}
.skip:focus { top: 1rem; }
.eyebrow {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}
.meta { color: var(--ink-soft); font-size: 0.92rem; }
.empty { color: var(--ink-soft); text-align: center; padding: 2rem 0; }
.lede { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); color: var(--ink-soft); max-width: 42rem; }
.rule {
  display: block; width: 72px; height: 5px; margin: 1.1rem 0 1.4rem;
  background: linear-gradient(90deg, var(--red) 0 70%, var(--gold) 70% 100%);
  border-radius: 3px; transform-origin: left;
}
.rule-center, .page-hero .rule { margin-inline: auto; transform-origin: center; }

/* ---------- Progress & header ---------- */
.progress {
  position: fixed; inset: 0 0 auto; height: 3px; z-index: 120;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0); transform-origin: left;
}
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 241, 232, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.site-header.is-scrolled { background: rgba(246, 241, 232, 0.96); box-shadow: 0 10px 30px -18px rgba(26, 18, 14, 0.45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; color: inherit; text-decoration: none; position: relative; z-index: 110; }
.brand img { width: 56px; height: 56px; transition: transform 0.5s var(--ease), width 0.35s, height 0.35s; }
.site-header.is-scrolled .brand img { width: 46px; height: 46px; }
.brand:hover img { transform: rotate(-12deg) scale(1.05); }
.nav { display: flex; align-items: center; justify-content: center; gap: 0.1rem; flex: 1; min-width: 0; }
.nav a, .nav button {
  position: relative;
  color: inherit; text-decoration: none; background: none; border: 0; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.55rem 0.5rem; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0.5rem; right: 0.5rem; bottom: 0.35rem; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease);
}
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-current { color: var(--red-deep); }
.nav form { margin: 0; }
.nav-toggle { display: none; }
.header-nav { display: contents; }
.header-tools { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; position: relative; z-index: 110; }
.is-admin .nav { justify-content: flex-end; }
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid currentColor; border-radius: 999px; }
.lang-switch a {
  min-width: 38px; min-height: 32px; display: inline-grid; place-items: center; padding: 0 0.5rem; border-radius: 999px;
  color: inherit; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.08em;
  transition: background 0.25s, color 0.25s;
}
.lang-switch a:hover { background: rgba(214, 69, 61, 0.12); }
.lang-switch a[aria-current="true"] { background: var(--red-deep); color: #fff; }
.header-social {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0;
  border: 1px solid currentColor; border-radius: 50%; color: inherit; opacity: 0.9;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.35s var(--ease);
}
.header-social svg { width: 20px; height: 20px; fill: currentColor; }
.header-social:hover { background: #1877f2; border-color: #1877f2; color: #fff; transform: translateY(-2px); opacity: 1; }
.nav a.nav-home { padding-inline: 0.55rem; }
.nav-home svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.nav-home:hover svg { transform: translateY(-2px); }
.nav-home-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Home: transparent header over hero */
.is-home .site-header { position: fixed; inset: 0 0 auto; }
.is-home .site-header:not(.is-scrolled) { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--paper); }
.is-home .site-header:not(.is-scrolled) .nav a.is-current { color: var(--gold); }
.is-home .site-header:not(.is-scrolled) .nav a::after { background: var(--gold); }
.is-home .site-header.is-scrolled .header-inner { flex-direction: column; justify-content: center; gap: 0.35rem; padding-block: 0.65rem 0.15rem; }
.is-home .site-header.is-scrolled .brand img { width: 88px; height: 88px; }
.is-home .site-header.is-scrolled .header-nav { display: flex; align-items: center; justify-content: center; width: 100%; position: relative; }
.is-home .site-header.is-scrolled .nav { flex: 0 1 auto; }
.is-home .site-header.is-scrolled .header-tools { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }

/* ---------- Buttons ---------- */
.button {
  --bg: var(--red); --fg: #fff; --bd: var(--red);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 50px; padding: 0.7rem 1.5rem;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd); border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: 0.07em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s, border-color 0.3s;
}
.button::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); transition: transform 0.45s var(--ease);
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(214, 69, 61, 0.7); border-color: var(--ink); }
.button:hover::before { transform: translateY(0); }
.button:active { transform: translateY(0); }
.button-light { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }
.button-light::before { background: var(--gold); }
.button-light:hover { border-color: var(--gold); box-shadow: 0 14px 28px -14px rgba(226, 168, 37, 0.8); }
.button-outline { --bg: transparent; --fg: var(--paper); --bd: rgba(246, 241, 232, 0.6); }
.button-outline::before { background: var(--paper); }
.button-outline:hover { color: var(--ink); border-color: var(--paper); }
.button-outline-dark, .button-ghost-dark { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.button-outline-dark:hover, .button-ghost-dark:hover { color: var(--paper); }
.button-danger { --bg: transparent; --fg: var(--red-deep); --bd: rgba(168, 50, 43, 0.4); }
.button-danger::before { background: var(--red-deep); }
.button-danger:hover { color: #fff; border-color: var(--red-deep); }
.button-small { min-height: 40px; padding: 0.35rem 1rem; font-size: 0.95rem; }
.button-block { width: 100%; }
.button-submit.is-loading { pointer-events: none; color: transparent; }
.button-submit.is-loading::after {
  content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.7s linear infinite;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red-deep); text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform 0.3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }
.link-back::after { content: none; }
.link-back::before { content: "←"; transition: transform 0.3s var(--ease); }
.link-back:hover::before { transform: translateX(-5px); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  overflow: hidden; background: var(--ink); color: var(--paper); text-align: center;
  padding: calc(var(--header-h) + 2rem) 0 5rem;
}
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); will-change: transform; filter: saturate(1.05); }
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(26, 18, 14, 0.55) 0%, rgba(26, 18, 14, 0.82) 70%),
    linear-gradient(180deg, rgba(26, 18, 14, 0.4), rgba(26, 18, 14, 0.2) 40%, rgba(26, 18, 14, 0.9));
}
.hero-year {
  position: absolute; left: 50%; bottom: -0.14em; transform: translateX(-50%); margin: 0;
  font-family: var(--display); font-weight: 800; font-size: clamp(9rem, 32vw, 26rem); line-height: 0.8;
  color: transparent; -webkit-text-stroke: 1.5px rgba(226, 168, 37, 0.32); pointer-events: none; white-space: nowrap;
  animation: fade 1.6s 0.4s var(--ease) both;
}
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: clamp(84px, 9vw, 120px); height: auto; margin-bottom: 1.4rem; filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.45)); animation: pop 0.9s var(--ease) both; }
.hero .eyebrow { color: var(--gold); animation: rise 0.8s 0.15s var(--ease) both; }
.hero-title { font-size: clamp(3.2rem, 1.4rem + 8vw, 7.6rem); line-height: 0.88; margin: 0; color: var(--paper); }
.hero-title span { display: block; animation: rise 0.9s calc(0.25s + var(--d) * 0.12s) var(--ease) both; }
.hero-title span:nth-child(2) { color: var(--gold); }
.hero .rule { animation: draw 0.8s 0.75s var(--ease) both; }
.hero .lede { color: rgba(246, 241, 232, 0.86); margin-inline: auto; animation: rise 0.9s 0.85s var(--ease) both; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 0.6rem; animation: rise 0.9s 1s var(--ease) both; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 1.6rem; width: 28px; height: 46px; margin-left: -14px;
  border: 2px solid rgba(246, 241, 232, 0.55); border-radius: 20px; z-index: 1;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px;
  background: var(--gold); border-radius: 2px; animation: cue 1.8s ease-in-out infinite;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; text-align: center; color: var(--paper);
  background:
    radial-gradient(circle at 15% 20%, rgba(214, 69, 61, 0.35), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(226, 168, 37, 0.22), transparent 45%),
    var(--ink);
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.08; pointer-events: none;
  background-image: repeating-linear-gradient(115deg, transparent 0 22px, rgba(246, 241, 232, 0.6) 22px 23px);
}
.page-hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.page-hero .eyebrow { color: var(--gold); animation: rise 0.7s var(--ease) both; }
.page-hero h1 { color: var(--paper); max-width: 18ch; animation: rise 0.8s 0.08s var(--ease) both; }
.page-hero .rule { animation: draw 0.7s 0.3s var(--ease) both; }
.page-hero .lede { color: rgba(246, 241, 232, 0.8); margin-inline: auto; animation: rise 0.8s 0.25s var(--ease) both; }
.page-hero .hero-actions { animation: rise 0.8s 0.35s var(--ease) both; }
.page-hero .button-outline-dark { --fg: var(--paper); --bd: rgba(246, 241, 232, 0.6); }
.page-hero .button-outline-dark::before { background: var(--paper); }
.page-hero .button-outline-dark:hover { color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section + .section { padding-top: 0; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark + .section, .section-tint + .section, .section + .section-tint, .section + .section-dark { padding-top: clamp(3.5rem, 7vw, 6rem); }
.section-dark h2 { color: var(--paper); }
.section-dark .link-arrow { color: var(--gold); }
.section-tint { background: var(--paper-2); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: clamp(1.5rem, 3vw, 2.4rem); }
.section-head h2 { margin: 0; }
.section-head-center { justify-content: center; text-align: center; }
.section-intro { max-width: 52rem; color: var(--ink-soft); margin-bottom: 2rem; }

/* ---------- Stats ---------- */
.stats { background: var(--red); color: #fff; position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(1.6rem, 3vw, 2.4rem) 1rem; text-align: center; border-left: 1px solid rgba(255, 255, 255, 0.2); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 2rem + 2.5vw, 4.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 0.4rem; font-size: 0.95rem; opacity: 0.9; }

/* ---------- Ticket (next event) ---------- */
.next-event { margin-top: clamp(-2.5rem, -3vw, -1.5rem); position: relative; z-index: 2; }
.ticket {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem;
  max-width: 900px; margin-inline: auto; padding: 1.1rem 1.6rem 1.1rem 1.1rem;
  background: var(--card); color: var(--ink); text-decoration: none; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.ticket:hover { transform: translateY(-4px); }
.ticket-day { display: grid; place-items: center; width: 86px; height: 86px; border-radius: 12px; background: var(--ink); color: var(--paper); text-transform: uppercase; }
.ticket-day strong { font-family: var(--display); font-size: 2.6rem; line-height: 0.9; }
.ticket-day span { font-family: var(--display); font-size: 0.95rem; letter-spacing: 0.12em; color: var(--gold); }
.ticket-kicker { display: block; font-family: var(--display); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); font-size: 0.9rem; }
.ticket-title { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); text-transform: uppercase; line-height: 1; margin: 0.2rem 0 0.35rem; }
.ticket-place { display: block; color: var(--ink-soft); font-size: 0.95rem; }
.ticket-arrow { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 1.3rem; transition: transform 0.4s var(--ease); }
.ticket:hover .ticket-arrow { transform: translateX(4px) rotate(-8deg); }

/* ---------- Standings cards ---------- */
.standing-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.standing-card {
  position: relative; overflow: hidden; display: grid; gap: 0.2rem; padding: 1.4rem 1.4rem 1.2rem;
  background: var(--card); color: var(--ink); text-decoration: none; border-radius: var(--radius); border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.standing-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--red), var(--gold)); transform: scaleX(0.25); transform-origin: left; transition: transform 0.5s var(--ease); }
.standing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.standing-card:hover::before { transform: scaleX(1); }
.standing-team { font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; }
.standing-rank strong { font-family: var(--display); font-size: 4rem; line-height: 0.95; color: var(--red); font-variant-numeric: tabular-nums; }
.standing-rank small { font-family: var(--display); font-size: 1.15rem; color: var(--ink-soft); margin-left: 0.2rem; }
.standing-line { font-weight: 620; }
.standing-league { color: var(--ink-soft); font-size: 0.88rem; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.news-card {
  display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.06); }
.media-fallback { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 30% 30%, var(--red), var(--ink)); }
.media-fallback img { width: 34%; height: auto; opacity: 0.9; }
.news-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.news-body h3 a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat; transition: background-size 0.4s var(--ease); }
.news-card:hover .news-body h3 a { background-size: 100% 2px; }
.news-body p:last-child { margin-bottom: 0; color: var(--ink-soft); }
.news-card.is-lead { grid-column: span 2; flex-direction: row; }
.news-card.is-lead:only-child, .news-card.is-wide { grid-column: 1 / -1; }
.news-card.is-lead .news-media { aspect-ratio: auto; flex: 1.1; min-height: 320px; }
.news-card.is-lead .news-body { flex: 1; justify-content: center; padding: 2rem; }
.news-card.is-lead h3 { font-size: clamp(1.8rem, 1.4rem + 1vw, 2.4rem); }

/* ---------- Teams ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.team-card {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius);
  background: var(--ink-2); color: var(--paper); text-decoration: none; isolation: isolate;
}
.team-card img, .team-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.6s; }
.team-fallback { background: linear-gradient(160deg, var(--red), var(--ink)); }
.team-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(26, 18, 14, 0.92)); transition: opacity 0.5s; }
.team-card::before {
  content: "→"; position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: #fff; opacity: 0; transform: scale(0.6) rotate(-45deg);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.team-card:hover img { transform: scale(1.08); }
.team-card:hover::before, .team-card:focus-visible::before { opacity: 1; transform: none; }
.team-card-label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.2rem;
  font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2.1rem); text-transform: uppercase; line-height: 0.95;
  transition: transform 0.5s var(--ease);
}
.team-card:hover .team-card-label { transform: translateY(-6px); }
.team-card-label small { display: block; font-family: var(--text); font-weight: 400; font-size: 0.8rem; letter-spacing: 0.02em; text-transform: none; color: var(--gold); margin-bottom: 0.35rem; }

/* ---------- Sponsors ---------- */
.sponsor-band { padding: 2.6rem 0; background: var(--paper); border-block: 1px solid var(--line); overflow: hidden; }
.sponsor-band .eyebrow { text-align: center; color: var(--ink-soft); margin-bottom: 1.4rem; }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 1.2rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.sponsor-logo { display: grid; place-items: center; width: 190px; height: 96px; padding: 0.8rem 1.2rem; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.sponsor-logo img { max-height: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 0.4s, opacity 0.4s; }
.sponsor-logo:hover img { filter: none; opacity: 1; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; color: var(--paper); text-align: center;
  background: radial-gradient(circle at 80% 0%, rgba(226, 168, 37, 0.35), transparent 45%), linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.cta::after {
  content: "VCLF"; position: absolute; right: -0.05em; bottom: -0.22em; font-family: var(--display); font-weight: 800;
  font-size: clamp(8rem, 22vw, 18rem); line-height: 1; color: rgba(255, 255, 255, 0.07); pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cta .eyebrow { color: var(--gold); }
.cta h2 { color: #fff; max-width: 20ch; }
.cta p { max-width: 40rem; color: rgba(255, 255, 255, 0.88); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 0.6rem; }

/* ---------- Club page ---------- */
.club-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(2rem, 4vw, 4rem); padding-block: clamp(3rem, 6vw, 5rem); align-items: start; }
.side-nav { position: sticky; top: calc(var(--header-h) + 1.5rem); display: flex; flex-direction: column; gap: 0.2rem; border-left: 2px solid var(--line); }
.side-nav a {
  padding: 0.55rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.3s, border-color 0.3s, padding 0.3s var(--ease);
}
.side-nav a:hover, .side-nav a.is-active { color: var(--red-deep); border-color: var(--red); padding-left: 1.3rem; }
.block { padding-bottom: clamp(2.5rem, 5vw, 4rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.lead-text { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.5; color: var(--ink); }
.text-columns { columns: 2 320px; column-gap: 2.5rem; color: var(--ink-soft); }
.text-columns p { break-inside: avoid; }
.quote-big {
  margin: 1.5rem 0 0; padding: 1.4rem 1.6rem; border-radius: var(--radius); background: var(--ink); color: var(--gold);
  font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem); text-transform: uppercase; text-align: center; letter-spacing: 0.04em;
}
.goal-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.goal-grid li { padding: 1.3rem 1.3rem 1.4rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.goal-grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.goal-grid span { display: block; font-family: var(--display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--red); margin-bottom: 0.4rem; }
.sub { font-size: 1.4rem; margin-top: 1.6rem; }
.charter-grid { counter-reset: c; list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.2rem 2rem; }
.charter-grid li { counter-increment: c; position: relative; padding: 0.7rem 0 0.7rem 2.8rem; border-bottom: 1px dashed var(--line); }
.charter-grid li::before { content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: 0.65rem; font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--gold); }
.charter-docs { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.7rem; }
.charter-docs a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.95rem 1.15rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: inherit; text-decoration: none; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.charter-docs a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.charter-docs a > span:first-child { display: grid; gap: 0.15rem; }
.charter-docs small { color: var(--ink-soft); font-size: 0.85rem; }
.calendar-sheet { display: block; max-width: 980px; margin: 0 auto; }
.calendar-sheet img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.quote { margin: 1.5rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--red); background: var(--card); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; font-size: 1.15rem; }
.quote cite { display: block; margin-top: 0.4rem; font-style: normal; font-size: 0.9rem; color: var(--ink-soft); }
.card-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.note-card { margin: 0; padding: 1.3rem 1.4rem; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.hall-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.hall { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.hall:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hall-media { aspect-ratio: 16 / 9; overflow: hidden; }
.hall-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.hall:hover .hall-media img { transform: scale(1.05); }
.hall-body { padding: 1.3rem 1.4rem 1.5rem; }
.hall-body .meta { margin-bottom: 0.2rem; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; }

/* ---------- People ---------- */
.people { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.person { text-align: center; padding: 1.8rem 1.2rem 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.person-photo { width: 116px; height: 116px; margin: 0 auto 1rem; border-radius: 50%; overflow: hidden; padding: 4px; background: conic-gradient(var(--red), var(--gold), var(--red)); transition: transform 0.6s var(--ease); }
.person:hover .person-photo { transform: rotate(-6deg) scale(1.05); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 3px solid var(--card); }
.person h2 { font-size: 1.45rem; margin-bottom: 0.3rem; }
.person p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.45; }

/* ---------- Team page ---------- */
.team-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding: clamp(3rem, 7vw, 5.5rem) 0; }
.team-hero-bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(30px) saturate(1.2); opacity: 0.35; }
.team-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26, 18, 14, 0.95), rgba(26, 18, 14, 0.6)); }
.team-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.team-hero .eyebrow { color: var(--gold); animation: rise 0.7s var(--ease) both; }
.team-hero h1 { color: var(--paper); animation: rise 0.8s 0.08s var(--ease) both; }
.team-hero .rule { animation: draw 0.7s 0.3s var(--ease) both; }
.team-hero .lede { color: rgba(246, 241, 232, 0.82); animation: rise 0.8s 0.2s var(--ease) both; }
.team-hero-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); transform: rotate(1.2deg); animation: photo-in 1s 0.15s var(--ease) both; }
.team-hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rank-pill {
  display: inline-flex; align-items: center; gap: 1rem; margin-top: 0.6rem; padding: 0.7rem 1.4rem 0.7rem 0.7rem;
  border-radius: 999px; background: rgba(246, 241, 232, 0.08); border: 1px solid var(--line-light); color: var(--paper); text-decoration: none;
  transition: background 0.3s, transform 0.3s var(--ease); animation: rise 0.8s 0.3s var(--ease) both;
}
.rank-pill:hover { background: rgba(246, 241, 232, 0.14); transform: translateY(-2px); }
.rank-pill strong { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 62px; height: 62px; border-radius: 50%; background: var(--red); font-family: var(--display); font-size: 1.9rem; }
.rank-pill sup { font-size: 0.55em; }
.rank-pill span { font-size: 0.9rem; line-height: 1.4; }
.team-layout { display: grid; grid-template-columns: 320px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.staff-card { position: sticky; top: calc(var(--header-h) + 1rem); padding: 1.6rem; background: var(--ink); color: var(--paper); border-radius: var(--radius); }
.staff-card h2 { color: var(--paper); font-size: 1.9rem; }
.staff-card .meta { color: rgba(246, 241, 232, 0.65); }
.staff-card .link-arrow { color: var(--gold); }
.staff-list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.staff-list li { padding: 0.65rem 0; border-bottom: 1px solid var(--line-light); }
.count-badge { padding: 0.3rem 0.9rem; border-radius: 999px; background: var(--paper-2); font-size: 0.9rem; }
.roster-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.8rem; }
.player {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 0.9rem; align-items: center;
  padding: 0.9rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.player:hover { transform: translateY(-3px); border-color: var(--red); box-shadow: var(--shadow); }
.player-number { grid-row: span 2; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 10px; background: var(--red); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.6rem; }
.player-name { font-weight: 620; line-height: 1.25; }
.player-role { font-size: 0.85rem; color: var(--ink-soft); }
.back-link { padding-bottom: 4rem; }

/* ---------- Tables / standings ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.standings { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.standings th, .standings td { padding: 0.85rem 0.9rem; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.standings thead th { background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; }
.standings .num { text-align: center; width: 3.6rem; }
.standings tbody tr { transition: background 0.25s; }
.standings tbody tr:hover { background: rgba(226, 168, 37, 0.08); }
.standings tbody tr:last-child > * { border-bottom: 0; }
.standings .rank { font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.standings tbody tr:nth-child(-n+3) .rank { color: var(--red); }
.team-cell { font-weight: 400; white-space: normal !important; min-width: 200px; }
.team-line { display: flex; align-items: center; gap: 0.7rem; line-height: 1.3; }
.team-cell img, .team-dot { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; }
.team-cell img { object-fit: contain; background: #fff; }
.team-dot { background: var(--paper-2); }
.standings .pts { font-family: var(--display); font-weight: 800; font-size: 1.25rem; }
.standings tr.is-club { background: linear-gradient(90deg, rgba(214, 69, 61, 0.14), rgba(226, 168, 37, 0.1)); }
.standings tr.is-club > :first-child { box-shadow: inset 4px 0 0 var(--red); }
.standings tr.is-club .team-cell { font-weight: 620; }

/* ---------- Tabs ---------- */
.tab-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: 2rem; }
.tab {
  display: inline-flex; align-items: center; gap: 0.8rem; padding: 0.55rem 0.6rem 0.55rem 1.3rem; min-height: 52px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.06em; text-transform: uppercase;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.tab:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tab-rank { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 0.4rem; border-radius: 999px; background: var(--paper-2); font-size: 1.1rem; }
.tab-rank sup { font-size: 0.6em; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tab[aria-selected="true"] .tab-rank { background: var(--red); color: #fff; }
.tabs:not(.is-enhanced) .tab-panel + .tab-panel { margin-top: 3rem; }
.tab-panel.is-shown { animation: rise 0.5s var(--ease) both; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; margin-bottom: 1.4rem; }
.panel-head h2 { margin: 0; }
.panel-stats { display: flex; gap: 0.8rem; }
.panel-stats span { display: grid; text-align: center; min-width: 92px; padding: 0.7rem 0.9rem; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-soft); }
.panel-stats strong { font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--ink); }
.panel-stats sup { font-size: 0.55em; }
.source-note { margin-top: 1.4rem; text-align: center; color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- Agenda ---------- */
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 0.4rem; bottom: 0.4rem; width: 2px; background: linear-gradient(var(--red), var(--gold)); opacity: 0.45; }
.timeline-item { position: relative; padding: 0 0 1.15rem 2.6rem; }
.timeline-item::before { content: ""; position: absolute; left: 4px; top: 1.7rem; width: 16px; height: 16px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px var(--paper); z-index: 1; }
.timeline-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.35rem 1.4rem; align-items: start; padding: 1.25rem 1.35rem 1.25rem 1.45rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.timeline-card:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.timeline-copy { min-width: 0; }
.timeline-copy p:last-child { margin-bottom: 0; }
.timeline-stamp { display: grid; justify-items: center; align-content: center; min-width: 7.4rem; margin: 0; padding: 0.7rem 0.85rem 0.6rem; border-radius: 18px; background: var(--ink); color: var(--paper); text-align: center; }
.timeline-stamp strong { font-family: var(--display); font-size: 2.35rem; font-weight: 800; line-height: 0.85; }
.timeline-stamp span { font-size: 0.78rem; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); }
.timeline-img { grid-column: 1 / -1; margin-top: 0.7rem; border-radius: var(--radius-sm); max-height: 320px; object-fit: cover; width: 100%; }
.schedule-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.schedule-card { display: flex; flex-direction: column; padding: 1.4rem; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.schedule-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.schedule-card header { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; }
.schedule-card h2 { margin: 0; font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.7rem); }
.chip { padding: 0.2rem 0.75rem; border-radius: 999px; background: var(--paper-2); font-size: 0.82rem; white-space: nowrap; }
.slots { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.4rem; }
.slots li { position: relative; padding: 0.55rem 0.8rem 0.55rem 2rem; border-radius: var(--radius-sm); background: rgba(214, 69, 61, 0.07); font-weight: 620; font-size: 0.95rem; }
.slots li::before { content: ""; position: absolute; left: 0.85rem; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--red); }
.schedule-card dl { margin: auto 0 0; display: grid; gap: 0.35rem; font-size: 0.9rem; }
.schedule-card dl div { display: grid; grid-template-columns: 100px 1fr; gap: 0.5rem; }
.schedule-card dt { color: var(--ink-soft); }
.schedule-card dd { margin: 0; }
.info-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.6rem; }
.info-strip p { margin: 0; padding: 1.1rem 1.3rem; background: var(--ink); color: var(--paper); border-radius: var(--radius); font-size: 0.92rem; }
.info-strip strong { display: block; font-family: var(--display); font-size: 1.15rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.2rem; }
.past-list { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; }
.past-list li { display: grid; grid-template-columns: 170px 1fr auto; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.past-list time { font-family: var(--display); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- Sponsoring ---------- */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.pack {
  position: relative; display: flex; flex-direction: column; padding: 2rem 1.8rem 1.8rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.pack:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pack.is-featured { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: scale(1.03); box-shadow: var(--shadow-lg); }
.pack.is-featured:hover { transform: scale(1.03) translateY(-8px); }
.pack.is-featured h3 { color: var(--gold); }
.pack.is-featured .meta { color: rgba(246, 241, 232, 0.6); }
.pack-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 0.3rem 1rem; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--display); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem; white-space: nowrap; }
.pack-price { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1; }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: 0.6rem; flex: 1; }
.check-list li { position: relative; padding-left: 1.8rem; font-size: 0.95rem; line-height: 1.45; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.3rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.option-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.option { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.45rem 1.15rem 1.3rem; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); border-bottom: 3px solid var(--gold); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.option:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.option-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 0.85rem; border-radius: 50%; background: #fff; color: var(--red); box-shadow: 0 10px 18px -12px rgba(168, 50, 43, 0.85), inset 0 0 0 1px rgba(214, 69, 61, 0.22); }
.option-icon svg { width: 26px; height: 26px; fill: currentColor; stroke: none; }
.option h3 { font-size: 1.15rem; }
.option p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; align-items: start; }
.form-card { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--card); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; align-items: start; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid rgba(26, 18, 14, 0.18); border-radius: 12px; padding: 1.55rem 1rem 0.55rem; min-height: 60px;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 170px; line-height: 1.55; padding-top: 1.8rem; }
.field label {
  position: absolute; left: 1rem; top: 1.15rem; color: var(--ink-soft); pointer-events: none;
  transform-origin: left top; transition: transform 0.25s var(--ease), color 0.25s;
}
.field label em { font-style: normal; font-size: 0.8em; opacity: 0.7; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(226, 168, 37, 0.3); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field-fixed label { transform: translateY(-0.65rem) scale(0.78); color: var(--red-deep); }
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.field select {
  width: 100%; font: inherit; color: var(--ink); min-height: 60px; cursor: pointer;
  border: 1.5px solid rgba(26, 18, 14, 0.18); border-radius: 12px; padding: 1.55rem 2.6rem 0.55rem 1rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%231a120e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 1rem center / 16px no-repeat;
  appearance: none; -webkit-appearance: none; transition: border-color 0.25s, box-shadow 0.25s;
}
.field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(226, 168, 37, 0.3); }
.field.has-error select { border-color: var(--red); background-color: #fff7f5; }
.field-select.is-valid::after { display: none; }
.field[data-show-for][hidden] { display: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--red); background: #fff7f5; }
.field.has-error label { color: var(--red-deep); }
.field.is-valid input, .field.is-valid textarea { border-color: #4f8a4a; }
.field.is-valid::after { content: ""; position: absolute; right: 1rem; top: 1.35rem; width: 18px; height: 18px; border-radius: 50%; background: #4f8a4a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; animation: pop 0.35s var(--ease); }
.field-area.is-valid::after { top: 1rem; }
.field-error { display: block; margin-top: 0.4rem; color: var(--red-deep); font-size: 0.88rem; animation: rise 0.3s var(--ease); }
.field-error[hidden] { display: none; }
.field-hint { display: block; margin-top: 0.4rem; font-size: 0.85rem; color: var(--ink-soft); }
.field-count { display: block; margin-top: 0.3rem; text-align: right; font-size: 0.78rem; color: var(--ink-soft); }
.field-error + .field-count { margin-top: -1.3rem; }
.field-password input { padding-right: 6rem; }
.reveal-pass { position: absolute; right: 0.6rem; top: 0.75rem; min-height: 40px; padding: 0 0.8rem; border: 0; border-radius: 8px; background: var(--paper-2); font: inherit; font-size: 0.85rem; cursor: pointer; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 0.4rem; }
.form-foot .meta { margin: 0; max-width: 26rem; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.shake { animation: shake 0.45s var(--ease); }
.segmented { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--paper-2); border-radius: 12px; padding: 4px; min-height: 60px; }
.segmented legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.segmented label { position: relative; display: grid; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; }
.segmented span { display: grid; place-items: center; border-radius: 9px; font-family: var(--display); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.segmented input:checked + span { background: var(--ink); color: var(--paper); box-shadow: var(--shadow); }
.segmented input:focus-visible + span { outline: 3px solid var(--gold); }
.translation-block { display: grid; gap: 1rem; padding: 1rem 1.2rem; border: 1px dashed var(--line, rgba(0,0,0,0.18)); border-radius: var(--radius-sm); }
.translation-block summary { cursor: pointer; font-family: var(--display); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.translation-block summary em { font-family: inherit; font-style: normal; font-weight: 400; opacity: 0.6; text-transform: none; margin-left: 0.4rem; }
.translation-block[open] summary { margin-bottom: 0.4rem; }
.notice { padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: #eaf3e6; border: 1px solid #4f8a4a; margin-bottom: 1rem; }
.notice-bad { background: #fdecea; border-color: var(--red); }
.success { text-align: center; padding: 2rem 0; }
.success svg { width: 86px; height: 86px; margin: 0 auto 1rem; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success circle { stroke: #4f8a4a; stroke-dasharray: 151; stroke-dashoffset: 151; animation: dash 0.8s var(--ease) forwards; }
.success path { stroke: #4f8a4a; stroke-dasharray: 40; stroke-dashoffset: 40; animation: dash 0.5s 0.6s var(--ease) forwards; }
.contact-aside { padding: clamp(1.5rem, 3vw, 2.2rem); background: var(--ink); color: var(--paper); border-radius: calc(var(--radius) + 4px); position: sticky; top: calc(var(--header-h) + 1rem); }
.contact-aside h2 { color: var(--paper); }
.contact-aside .meta { color: rgba(246, 241, 232, 0.6); }
.contact-item { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-light); }
.contact-item p { margin: 0; }
.contact-item strong { display: block; font-family: var(--display); font-size: 1.25rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); }
.contact-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); font-family: var(--display); font-weight: 700; }
.contact-aside .button { margin-top: 1.4rem; }

/* ---------- Article ---------- */
.article { max-width: 820px; }
.article-photo { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.article-photo img { width: 100%; max-height: 560px; object-fit: cover; }
.article-body { font-size: 1.15rem; line-height: 1.75; margin-bottom: 2rem; }
.article-body p:first-child::first-letter { float: left; font-family: var(--display); font-weight: 800; font-size: 4.2em; line-height: 0.8; margin: 0.08em 0.1em 0 0; color: var(--red); }

/* ---------- Admin ---------- */
.auth { min-height: calc(100svh - var(--header-h)); display: grid; place-items: center; padding: 3rem var(--gutter);
  background: radial-gradient(circle at 20% 20%, rgba(214, 69, 61, 0.25), transparent 40%), radial-gradient(circle at 80% 80%, rgba(226, 168, 37, 0.2), transparent 40%), var(--ink); }
.auth-card { width: min(440px, 100%); padding: 2.4rem 2rem 2rem; background: var(--card); border-radius: 20px; box-shadow: var(--shadow-lg); text-align: center; }
.auth-card img { margin: 0 auto 1rem; animation: pop 0.8s var(--ease) both; }
.auth-card .form { text-align: left; margin: 1.2rem 0 1.4rem; }
.admin-home { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.admin-tile {
  position: relative; overflow: hidden; display: grid; gap: 0.4rem; padding: 1.8rem; min-height: 200px; align-content: end;
  background: var(--ink); color: var(--paper); text-decoration: none; border-radius: var(--radius); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.admin-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.admin-tile-num { position: absolute; top: 0.6rem; right: 1.2rem; font-family: var(--display); font-weight: 800; font-size: 5rem; line-height: 1; color: rgba(226, 168, 37, 0.25); transition: color 0.4s; }
.admin-tile:hover .admin-tile-num { color: var(--gold); }
.admin-tile strong { font-family: var(--display); font-size: 2rem; text-transform: uppercase; line-height: 1; }
.admin-tile span:last-child { color: rgba(246, 241, 232, 0.7); }
.toast { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 150; margin: 0; padding: 1rem 1.3rem; border-radius: 12px; background: var(--ink); color: var(--paper); box-shadow: var(--shadow-lg); border-left: 4px solid #6fbf66; animation: toast-in 0.5s var(--ease) both; transition: opacity 0.4s, transform 0.4s var(--ease); }
.toast.is-out { opacity: 0; transform: translateY(20px); }
.photo-admin { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.photo-card { display: grid; gap: 0.8rem; padding: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.photo-card h2 { font-size: 1.5rem; margin: 0; }
.dropzone { position: relative; }
.dropzone-input { position: absolute; inset: 0; opacity: 0; width: 1px; height: 1px; }
.dropzone label {
  display: grid; gap: 0.6rem; padding: 0.6rem; border: 2px dashed rgba(26, 18, 14, 0.22); border-radius: 12px; cursor: pointer; background: #fff;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.dropzone label:hover, .dropzone.is-drag label { border-color: var(--red); background: #fff6f4; }
.dropzone.is-drag label { transform: scale(1.02); }
.dropzone-input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
.dropzone-preview { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; animation: fade 0.4s var(--ease); }
.dropzone-text { display: grid; gap: 0.15rem; text-align: center; padding: 0.4rem; font-size: 0.85rem; color: var(--ink-soft); }
.dropzone-text strong { font-family: var(--display); font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.dropzone.has-file label { border-style: solid; border-color: #4f8a4a; }
.dropzone.has-error label { border-color: var(--red); }
.admin-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.admin-row { display: grid; grid-template-columns: 64px 1fr auto auto; align-items: center; gap: 1rem; padding: 0.8rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow 0.3s, transform 0.3s var(--ease); }
.admin-row:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.admin-thumb { width: 64px; height: 48px; border-radius: 8px; overflow: hidden; background: var(--paper-2); }
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-date { width: 64px; height: 56px; display: grid; place-items: center; align-content: center; border-radius: 10px; background: var(--ink); color: var(--gold); font-size: 0.72rem; text-transform: uppercase; }
.admin-date strong { font-family: var(--display); font-size: 1.6rem; line-height: 0.9; color: var(--paper); }
.admin-row-main { display: grid; }
.admin-row-main a { color: var(--ink); font-weight: 620; text-decoration: none; }
.admin-row-main a:hover { color: var(--red-deep); }
.admin-row-actions { display: flex; gap: 0.5rem; }
.admin-row-actions form { margin: 0; }
.status { padding: 0.25rem 0.8rem; border-radius: 999px; font-size: 0.82rem; font-weight: 620; }
.status-on { background: #e3f1df; color: #2f6b2a; }
.status-off { background: var(--paper-2); color: var(--ink-soft); }
.is-admin .page-hero { padding: 3rem 0 2.6rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--ink); color: rgba(246, 241, 232, 0.8); padding: 4rem 0 0; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-bottom: 3rem; text-align: center; justify-items: center; }
.footer-brand { display: flex; flex-direction: column; gap: 0.8rem; align-items: center; }
.footer-brand img { flex-shrink: 0; }
.footer-name { font-family: var(--display); font-weight: 800; font-size: 1.7rem; text-transform: uppercase; color: var(--paper); line-height: 1; margin-bottom: 0.5rem; }
.footer-small { font-size: 0.85rem; opacity: 0.6; }
.footer-title { font-size: 1.15rem; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; justify-items: center; }
.site-footer a { color: var(--paper); text-decoration: none; transition: color 0.25s; }
.site-footer a:hover { color: var(--gold); }
.site-footer a.plain-link:not(:hover) { color: inherit; }
.footer-mark { margin: 0; text-align: center; font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 24vw, 18rem); line-height: 0.75; color: transparent; -webkit-text-stroke: 1px rgba(226, 168, 37, 0.25); user-select: none; }

.footer-bottom { position: relative; z-index: 1; border-top: 1px solid var(--line-light); background: rgba(0, 0, 0, 0.25); font-size: 0.86rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.6rem 1.6rem; padding-block: 1.1rem; text-align: center; }
.footer-bottom p { margin: 0; color: rgba(246, 241, 232, 0.6); }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem 1.2rem; margin: 0; padding: 0; }
.footer-legal button { padding: 0; border: 0; background: none; font: inherit; color: var(--paper); cursor: pointer; transition: color 0.25s; }
.footer-legal button:hover { color: var(--gold); }
.footer-credit a { color: var(--gold) !important; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.35s var(--ease); }
.footer-credit a:hover { background-size: 100% 1px; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 50%; bottom: 1.2rem; z-index: 140; width: min(860px, calc(100% - 2rem));
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.2rem;
  padding: 1.1rem 1.3rem; border-radius: 18px; background: var(--ink); color: var(--paper);
  border: 1px solid var(--line-light); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translate(-50%, 30px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-shown { opacity: 1; transform: translate(-50%, 0); }
.cookie-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--gold); }
.cookie-icon svg { width: 30px; height: 30px; fill: var(--ink); }
.cookie-icon svg path { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.cookie-banner.is-shown .cookie-icon { animation: pop 0.6s 0.15s var(--ease) both; }
.cookie-text p { margin: 0; font-size: 0.92rem; color: rgba(246, 241, 232, 0.8); line-height: 1.5; }
.cookie-text a { color: var(--gold); }
.cookie-title { font-family: var(--display); font-weight: 800; font-size: 1.25rem !important; letter-spacing: 0.04em; text-transform: uppercase; color: var(--paper) !important; margin-bottom: 0.2rem !important; }
.cookie-actions { display: flex; align-items: center; gap: 1rem; }
.cookie-more { color: rgba(246, 241, 232, 0.75); font-size: 0.9rem; }
.cookie-banner .button:hover { border-color: var(--paper); }
.cookie-banner .button::before { background: var(--paper); }
.cookie-banner .button:hover { color: var(--ink); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 130; display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: var(--paper);
  box-shadow: 0 14px 30px -12px rgba(26, 18, 14, 0.6); border: 1px solid var(--line-light);
  opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.25s, color 0.25s;
}
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--gold); color: var(--ink); }
.to-top:hover svg { animation: nudge-up 0.6s var(--ease); }
.to-top:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.cookie-banner:not([hidden]) ~ .to-top { opacity: 0; pointer-events: none; }
body.nav-open .to-top { opacity: 0; pointer-events: none; }
@keyframes nudge-up { 50% { transform: translateY(-4px); } }

/* ---------- Agenda: lien vers les horaires ---------- */
.schedule-link {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  color: inherit; text-decoration: none; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.schedule-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.schedule-link strong { display: block; font-family: var(--display); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); text-transform: uppercase; line-height: 1.1; }
.schedule-link .eyebrow { display: block; margin-bottom: 0.3rem; }
.schedule-link + .schedule-link { margin-top: 1rem; }

/* ---------- Plan du site ---------- */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; align-items: start; }
.sitemap-group { padding: 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-align: left; }
.sitemap-group h2 { font-size: 1.5rem; margin: 0 0 0.8rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--red); }
.sitemap-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.sitemap-group ul ul { margin: 0.35rem 0 0.4rem 0.9rem; padding-left: 0.9rem; border-left: 1px dashed var(--line); font-size: 0.92rem; }
.sitemap-group a { color: inherit; text-decoration: none; background: linear-gradient(var(--red), var(--red)) left bottom / 0 1px no-repeat; transition: background-size 0.3s var(--ease), color 0.2s; }
.sitemap-group a:hover { color: var(--red-deep); background-size: 100% 1px; }
.sitemap-group > ul > li > a { font-weight: 600; }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 1.5rem); display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.legal-toc a { padding: 0.5rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.3s, border-color 0.3s, padding 0.3s var(--ease); }
.legal-toc a:hover { color: var(--red-deep); border-color: var(--red); padding-left: 1.3rem; }
.legal-block { padding: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.legal-block h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); }
.legal-block h3 { font-size: 1.25rem; margin-top: 1.4rem; }
.legal-block p { color: var(--ink-soft); }
.legal-block p:last-child { margin-bottom: 0; }
.legal-list { margin: 0; display: grid; }
.legal-list div { display: grid; grid-template-columns: 220px 1fr; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px dashed var(--line); }
.legal-list div:last-child { border-bottom: 0; }
.legal-list dt { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); }
.legal-list dd { margin: 0; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.legal-table th, .legal-table td { padding: 0.75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table thead th { background: var(--ink); color: var(--paper); font-family: var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-block .table-wrap { margin: 1rem 0 1.2rem; box-shadow: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--stagger, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { 0% { opacity: 0; transform: scale(0.6); } 70% { transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes marquee { to { transform: translateX(calc(-50% - 0.6rem)); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
@keyframes dash { to { stroke-dashoffset: 0; } }
@keyframes photo-in { from { opacity: 0; transform: rotate(4deg) translateY(30px) scale(0.96); } to { opacity: 1; transform: rotate(1.2deg); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes nav-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  :root { --header-h: 66px; }
  .brand img, .site-header.is-scrolled .brand img { width: 48px; height: 48px; }
  .is-home .site-header.is-scrolled .brand img { width: 72px; height: 72px; }
  .is-home .site-header.is-scrolled .header-tools { position: static; transform: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0.4rem 0.9rem; z-index: 110;
    border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; cursor: pointer;
    font-family: var(--display); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 1rem;
  }
  .nav-toggle-bars { position: relative; width: 18px; height: 2px; background: currentColor; transition: background 0.2s; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform 0.35s var(--ease); }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  body.nav-open .site-header { color: var(--paper); background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav:not(.nav-admin) {
    position: fixed; inset: 0; z-index: 105; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem;
    padding-top: var(--header-h); box-sizing: border-box;
    background: radial-gradient(circle at 80% 10%, rgba(214, 69, 61, 0.35), transparent 50%), var(--ink); color: var(--paper);
    clip-path: circle(0 at calc(100% - 2.6rem) 2.1rem); visibility: hidden;
    transition: clip-path 0.6s var(--ease), visibility 0s 0.6s;
  }
  .nav:not(.nav-admin).is-open { clip-path: circle(150% at calc(100% - 2.6rem) 2.1rem); visibility: visible; transition: clip-path 0.7s var(--ease), visibility 0s; }
  .nav:not(.nav-admin) a { font-size: clamp(1.9rem, 7vw, 2.8rem); padding: 0.3rem 1rem; opacity: 0; }
  .nav:not(.nav-admin).is-open a { animation: nav-in 0.5s calc(0.15s + var(--i) * 0.04s) var(--ease) both; }
  .nav:not(.nav-admin) a.is-current { color: var(--gold); }
  .nav:not(.nav-admin) a.nav-home { gap: 0.7rem; }
  .nav:not(.nav-admin) .nav-home svg { width: 0.9em; height: 0.9em; }
  .nav:not(.nav-admin) .nav-home-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .nav:not(.nav-admin) a::after { background: var(--gold); }
  .nav-admin { flex-wrap: wrap; justify-content: flex-end; }
  .standing-cards { grid-template-columns: repeat(2, 1fr); }
  .option-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-admin { grid-template-columns: repeat(3, 1fr); }
  .people { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .news-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card.is-lead { flex-direction: column; }
  .news-card.is-lead .news-media { min-height: 0; aspect-ratio: 16 / 10; }
  .club-layout { grid-template-columns: 1fr; }
  .side-nav { position: sticky; top: calc(var(--header-h) - 6px); z-index: 5; flex-direction: row; overflow-x: auto; border-left: 0; margin-inline: calc(var(--gutter) * -1); padding: 0.5rem var(--gutter); background: rgba(246, 241, 232, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .side-nav a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; margin-left: 0; padding: 0.45rem 0.8rem; }
  .side-nav a:hover, .side-nav a.is-active { padding-left: 0.8rem; border-color: var(--red); }
  .team-hero-grid, .team-layout, .contact-grid, .legal { grid-template-columns: 1fr; }
  .legal-toc { position: static; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0.4rem; border-left: 0; }
  .legal-toc a { border: 1px solid var(--line); border-radius: 999px; margin: 0; padding: 0.35rem 0.9rem; font-size: 0.95rem; }
  .legal-toc a:hover { padding-left: 0.9rem; }
  .team-hero-photo { order: -1; transform: none; }
  .staff-card, .contact-aside { position: static; }
  .packs { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .pack.is-featured, .pack.is-featured:hover { transform: none; }
  .info-strip { grid-template-columns: 1fr; }
  .admin-home { grid-template-columns: 1fr; }
  .photo-admin { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; max-width: 28rem; margin-inline: auto; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.2); }
}
@media (max-width: 640px) {
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .news-grid, .team-grid, .standing-cards, .option-grid, .people, .hall-grid, .card-grid-2, .charter-grid, .form-row, .photo-admin, .footer-grid { grid-template-columns: 1fr; }
  .news-card.is-lead { grid-column: auto; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .team-card-label { padding: 0.9rem; font-size: 1.3rem; }
  .people { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .person { padding: 1.3rem 0.8rem; }
  .person-photo { width: 92px; height: 92px; }
  .person h2 { font-size: 1.2rem; }
  .ticket { grid-template-columns: auto 1fr; padding: 1rem; gap: 1rem; }
  .ticket-arrow { display: none; }
  .ticket-day { width: 70px; height: 70px; }
  .ticket-day strong { font-size: 2.1rem; }
  .hide-sm { display: none; }
  .standings th, .standings td { padding: 0.7rem 0.5rem; }
  .standings .num { width: 2.6rem; }
  .team-cell { min-width: 150px; gap: 0.5rem; }
  .panel-stats { width: 100%; }
  .panel-stats span { flex: 1; min-width: 0; }
  .tab { font-size: 1rem; padding-left: 1rem; }
  .timeline-card { grid-template-columns: 1fr; }
  .timeline-stamp { order: -1; justify-self: start; min-width: 0; grid-auto-flow: column; align-items: baseline; gap: 0.45rem; padding: 0.45rem 0.8rem; }
  .timeline-stamp strong { font-size: 1.7rem; }
  .timeline-stamp span { font-size: 0.72rem; }
  .schedule-grid { grid-template-columns: 1fr; }
  .past-list li { grid-template-columns: 1fr; gap: 0.1rem; }
  .admin-row { grid-template-columns: 56px 1fr; }
  .admin-row .status { justify-self: start; grid-column: 2; }
  .admin-row-actions { grid-column: 1 / -1; }
  .admin-row-actions .button { flex: 1; }
  .form-foot { flex-direction: column-reverse; align-items: stretch; }
  .form-foot .button { width: 100%; }
  .hero-actions .button, .cta-actions .button { width: 100%; }
  .hero-actions, .cta-actions { width: 100%; max-width: 360px; }
  .footer-bottom-inner { flex-direction: column; }
  .cookie-banner { grid-template-columns: auto 1fr; bottom: 0.8rem; padding: 1rem; gap: 0.9rem; }
  .cookie-icon { width: 44px; height: 44px; }
  .cookie-actions { grid-column: 1 / -1; justify-content: space-between; }
  .cookie-actions .button { flex: 1; }
  .legal-list div { grid-template-columns: 1fr; gap: 0.1rem; }
  .to-top { right: 0.9rem; bottom: 0.9rem; width: 46px; height: 46px; }
}
@media (max-width: 420px) {
  .header-inner { gap: 0.55rem; }
  .header-tools { gap: 0.4rem; }
  .brand img, .site-header.is-scrolled .brand img { width: 44px; height: 44px; }
  .lang-switch a { min-width: 30px; padding: 0 0.35rem; }
  .header-social { width: 36px; height: 36px; }
  .nav-toggle { width: 40px; min-height: 40px; padding: 0; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding-inline: var(--gutter); }
  .marquee-track > [aria-hidden="true"] { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .hero-photo { transform: none !important; }
}
