/* ==========================================================================
   Le Clavier — Festival Internazionale di concerti per Organo
   Carattere: un programma di sala stampato. Avorio, inchiostro, oro;
   il verde acqua del logo come accento; le canne d'organo come motivo.
   Caratteri ospitati sul sito (Cormorant Garamond, Jost — licenza SIL OFL).
   ========================================================================== */
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --night: #121619;  --night-2: #1a1f23;
  --ivory: #f4efe5;  --paper: #fbf8f1;
  --ink: #1d1e20;    --muted: #67645e;  --line: #ddd5c5;
  --teal: #0a8377;   --teal-l: #4cc9bb; --green: #87c846;
  --gold: #cfae6d;   --gold-d: #94733a;
  --serif: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(18px, 4.5vw, 48px);
  --sec: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; overflow-x: clip; background: var(--ivory); color: var(--ink); font: 400 1.0625rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -.005em; margin: 0 0 .5em; }
h2 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 em, h1 em { font-style: italic; }
p { margin: 0 0 1.1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 800px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; z-index: 100; } .skip:focus { left: 12px; top: 12px; padding: 10px 14px; background: #fff; color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.sec { padding: var(--sec) 0; position: relative; }

.kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 1.4rem; font: 500 .74rem/1.2 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-d); }
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.kicker--light { color: var(--gold); }
.lead { font: 400 clamp(1.35rem, 2vw, 1.6rem)/1.45 var(--serif); color: var(--ink); }

/* Bottoni */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border: 1px solid transparent; border-radius: 0; font: 500 .8rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.btn svg { width: 14px; height: 14px; fill: currentColor; }
.btn-gold { background: var(--gold); color: var(--night); } .btn-gold:hover { background: #e0c287; }
.btn-line { color: #fff; border-color: rgba(255,255,255,.45); } .btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--night); color: var(--ivory); } .btn-dark:hover { background: var(--teal); }

/* Canne d'organo (separatori SVG) */
.pipes { display: block; width: 100%; height: clamp(56px, 8vw, 110px); fill: currentColor; }

/* ============ Intestazione ============ */
.top { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background-color .4s, box-shadow .4s, color .4s; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { position: relative; display: block; width: 118px; flex: none; }
.brand img { width: 100%; height: auto; transition: opacity .4s; }
.brand-dark { position: absolute; inset: 0; opacity: 0; }
.top.is-solid { background: rgba(244, 239, 229, .94); color: var(--ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.top.is-solid .brand-light { opacity: 0; } .top.is-solid .brand-dark { opacity: 1; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav a { color: inherit; text-decoration: none; font: 500 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.nav ul a { position: relative; padding: 8px 0; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav ul a:hover::after { transform: scaleX(1); }
.langs { display: flex; gap: 2px; margin: 0; padding-left: 26px; border-left: 1px solid currentColor; border-color: rgba(128,128,128,.4); }
.langs a { padding: 6px 7px; opacity: .55; }
.langs a[aria-current], .langs a:hover { opacity: 1; color: var(--gold); }
.top.is-solid .langs a[aria-current] { color: var(--teal); }
.burger { display: none; }

/* ============ Apertura ============ */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--night); overflow: hidden; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .62; animation: slowzoom 22s var(--ease) both; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: none; } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,22,25,.55) 0%, rgba(18,22,25,.15) 35%, rgba(18,22,25,.85) 100%), radial-gradient(ellipse at 20% 80%, rgba(18,22,25,.75), transparent 60%); }
.hero-in { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: end; padding-top: 140px; padding-bottom: clamp(36px, 5vw, 64px); }
.hero-ed { margin: 0 0 .2em; font: italic 500 clamp(7rem, 17vw, 15rem)/.8 var(--serif); color: var(--gold); letter-spacing: -.03em; }
.hero-ed sup { font-size: .38em; vertical-align: top; position: relative; top: .25em; margin-left: .04em; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 400; margin-bottom: .55em; }
.hero h1 em { color: var(--gold); }
.hero-dates { margin: 0; font: italic 400 clamp(1.4rem, 2.3vw, 1.9rem)/1.3 var(--serif); }
.hero-facts { margin: .4rem 0 2rem; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.hero-act { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.hero-next { align-self: end; padding: 24px 24px 22px; border-top: 2px solid var(--gold); background: rgba(18,22,25,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hn-label { margin: 0 0 .8rem; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.hn-date { margin: 0 0 .3rem; font: 400 1.3rem/1.2 var(--serif); }
.hn-date span { font-size: 2.6rem; font-style: italic; color: var(--gold); margin-right: 4px; }
.hn-place { margin: 0 0 .3rem; font: 500 1.2rem/1.35 var(--serif); }
.hn-who { margin: 0; font-size: .92rem; color: rgba(255,255,255,.72); }
.pipes--hero { color: var(--ivory); margin-bottom: -1px; }

/* ============ Associazione + video ============ */
.intro-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.intro-text p:not(.lead):not(.kicker) { color: var(--muted); }
.player { position: relative; margin: 0; }
.player::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--gold); z-index: -1; }
.player video { width: 100%; height: auto; aspect-ratio: 900 / 508; background: var(--night); display: block; object-fit: cover; }
.player-play { position: absolute; left: 50%; top: calc(50% - 18px); width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: rgba(18,22,25,.45); color: #fff; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(4px); transition: transform .4s var(--ease), background-color .3s; }
.player-play svg { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.player-play:hover { transform: scale(1.08); background: var(--gold); color: var(--night); border-color: var(--gold); }
.player.is-on .player-play { opacity: 0; pointer-events: none; }
.player figcaption { margin-top: 14px; font: italic 400 1.05rem var(--serif); color: var(--muted); }

/* ============ Programma ============ */
.prog { background: var(--paper); }
.prog-in { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.prog-side { position: sticky; top: 112px; }
.prog-lead { color: var(--muted); }
.poster { width: 100%; max-width: 330px; margin: 28px 0 26px; box-shadow: 0 30px 60px -30px rgba(18,22,25,.6); }
.share-t { margin: 0 0 10px; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.share { display: flex; gap: 8px; margin: 0; }
.share a, .share button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.share svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.share a:hover, .share button:hover { background: var(--night); color: var(--ivory); border-color: var(--night); }
.share button.is-done { background: var(--teal); color: #fff; border-color: var(--teal); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.chip { padding: 9px 16px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 500 .76rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: .25s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--night); color: var(--ivory); border-color: var(--night); }
.month + .month { margin-top: 56px; }
.month-t { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--ink); font-size: clamp(2rem, 3.2vw, 2.6rem); font-style: italic; }
.month-t small { font: 500 .72rem var(--sans); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.concerts { list-style: none; margin: 0; padding: 0; }
.cc { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 26px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); transition: opacity .3s; }
.cc[hidden] { display: none; }
.cc-date { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.cc-d { font: italic 500 3.6rem/.82 var(--serif); color: var(--gold-d); min-width: 1.15em; }
.cc-wd { font-size: .68rem; line-height: 1.45; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cc-place { margin: 0 0 6px; font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.cc-place strong { font-weight: 500; }
.cc-place span { color: var(--muted); letter-spacing: .06em; text-transform: none; font-size: .95rem; margin-left: 6px; }
.cc-who { list-style: none; margin: 0; padding: 0; }
.cc-name { font: 500 clamp(1.5rem, 2.2vw, 1.85rem)/1.2 var(--serif); }
.cc-ins { font: italic 400 1.15rem var(--serif); color: var(--muted); }
.cc-note { margin: 8px 0 0; font: italic 400 1.05rem/1.4 var(--serif); color: var(--muted); }
.cc-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; margin: 0; }
.cc-time { font: 500 1.4rem/1 var(--serif); }
.cc-cal { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: .25s; }
.cc-cal svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.cc-cal:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.cc-tag { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cc.is-past .cc-d { opacity: .6; }
.free { margin: 40px 0 0; text-align: center; }
.free span { display: inline-block; padding: 12px 26px; border: 1px solid var(--gold-d); color: var(--gold-d); font: italic 500 1.5rem var(--serif); }

/* ============ Luoghi ============ */
.places { background: var(--ivory); padding-bottom: calc(var(--sec) * .8); }
.places-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 40px; align-items: end; margin-bottom: 48px; }
.places-head > p { color: var(--muted); font: 400 1.3rem/1.5 var(--serif); }
.places-row { list-style: none; margin: 0; padding: 0 var(--gutter) 18px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 26vw, 360px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--gold-d) transparent; }
.places-row li { scroll-snap-align: start; }
.places-row li:nth-child(even) { margin-top: 56px; }
.places-row figure { position: relative; margin: 0; overflow: hidden; background: var(--night); }
.places-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; opacity: .92; }
.places-row figure:hover img { transform: scale(1.05); opacity: 1; }
.places-row figcaption { position: absolute; inset: auto 0 0; padding: 60px 20px 18px; background: linear-gradient(transparent, rgba(18,22,25,.85)); color: #fff; }
.places-row figcaption strong { display: block; font: 500 1.6rem/1.1 var(--serif); }
.places-row figcaption span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* ============ L'organo ============ */
.organ { background: var(--night); color: #d9d3c7; overflow: hidden; isolation: isolate; }
.organ-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; z-index: -1; }
.organ-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); }
.organ h2 { color: #fff; }
.organ blockquote { margin: 36px 0 0; padding-left: 24px; border-left: 1px solid var(--gold); font: italic 400 1.5rem/1.45 var(--serif); color: var(--gold); }
.organ-text { columns: 2 260px; column-gap: 40px; }
.organ-text p { break-inside: avoid-column; }

/* ============ Direzione artistica ============ */
.dir { background: var(--paper); }
.dir-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.dir-photo { position: sticky; top: 112px; margin: 0; }
.dir-photo::after { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); z-index: 0; pointer-events: none; }
.dir-photo img { position: relative; z-index: 1; width: 100%; filter: grayscale(1) contrast(1.05); }
.dir-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 10px 0 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dir-facts div { padding: 18px 16px 16px 0; }
.dir-facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.dir-facts dt { font: italic 500 2.6rem/1 var(--serif); color: var(--gold-d); }
.dir-facts dd { margin: 6px 0 0; font-size: .82rem; line-height: 1.4; color: var(--muted); }
.lead-s { font: 400 1.3rem/1.55 var(--serif); }
.dir-text p:not(.lead-s):not(.kicker) { color: var(--muted); }

/* ============ Storia ============ */
.hist { background: var(--ivory); }
.hist-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--gold-d); }
.timeline li { position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 0 0 30px 32px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--gold-d); }
.timeline li:first-child::before { background: var(--gold-d); }
.tl-y { font: italic 500 1.7rem/1.1 var(--serif); color: var(--gold-d); white-space: nowrap; }
.tl-t { font: 400 1.35rem/1.35 var(--serif); padding-top: 3px; }

/* ============ Associazione ============ */
.asso { background: var(--paper); padding-bottom: calc(var(--sec) + 20px); }
.asso-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.asso-text h2 { font-size: clamp(3.2rem, 7vw, 6rem); font-style: italic; }
.asso-text p:not(.lead):not(.kicker) { color: var(--muted); }
.asso-card { padding: 36px; background: var(--ivory); border-top: 2px solid var(--teal); }
.asso-card h3 { margin: 0 0 14px; font-size: 1.7rem; }
.asso-card h3 + * { margin-bottom: 30px; }
.board { list-style: none; padding: 0; }
.board li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.board strong { font: 500 1.2rem var(--serif); }
.board span { font-size: .84rem; color: var(--muted); text-align: right; }
.asso-card p { color: var(--muted); }
.asso-card .btn { text-transform: none; letter-spacing: .04em; font-size: .92rem; }

/* ============ Piè di pagina ============ */
.foot { position: relative; background: var(--night); color: #bdb6a8; padding: 0 0 30px; font-size: .95rem; }
.pipes--foot { color: var(--night); position: absolute; left: 0; right: 0; bottom: 100%; margin-bottom: -1px; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-top: 56px; }
.foot-brand img { width: 160px; height: auto; margin-bottom: 16px; }
.foot-brand p { max-width: 300px; font: italic 400 1.2rem/1.45 var(--serif); color: #e8e1d3; }
.foot-h { margin-bottom: 12px; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.foot a { color: #fff; text-decoration: none; } .foot a:hover { color: var(--gold); }
.foot-legal { margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color: #8f897d; }
.foot-legal a { color: #cfc8ba; text-decoration: underline; }

/* ============ Pagine interne ============ */
.page { padding: 150px 0 120px; background: var(--paper); min-height: 70vh; }
.page h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: .8em; }
.page h2 { display: flex; align-items: baseline; gap: 14px; margin: 1.8em 0 .5em; font-size: 1.8rem; }
.page h2 span { font: italic 500 1.2rem var(--serif); color: var(--gold-d); }
.page p { color: var(--muted); }
.page-back { margin-top: 3rem; }
.nf-n { margin: 0; font: italic 500 clamp(6rem, 18vw, 11rem)/.9 var(--serif); color: var(--gold-d); }

/* Comparsa al primo scorrimento */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ Tablet e telefono ============ */
@media (max-width: 1080px) {
  .nav ul { gap: 18px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-next { max-width: 420px; }
  .prog-in { grid-template-columns: 1fr; }
  .prog-side { position: static; display: grid; grid-template-columns: minmax(0, 1fr) 200px; column-gap: 32px; }
  .prog-side .poster { grid-column: 2; grid-row: 1 / span 4; margin: 0; }
}
@media (max-width: 900px) {
  .burger { display: grid; place-items: center; gap: 6px; width: 46px; height: 46px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; z-index: 3; }
  .burger span { display: block; width: 26px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 40px; background: var(--night); color: #fff; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; align-items: center; gap: 22px; }
  .nav ul a { font: italic 500 2rem/1 var(--serif); letter-spacing: 0; text-transform: none; }
  .langs { border: 0; padding: 0; }
  .menu-open .top { color: #fff; background: transparent; box-shadow: none; }
  .menu-open .brand-light { opacity: 1 !important; } .menu-open .brand-dark { opacity: 0 !important; }
  .intro-in, .organ-in, .dir-in, .hist-in, .asso-in, .places-head { grid-template-columns: 1fr; }
  .dir-photo { position: relative; top: 0; max-width: 420px; }
  .organ-text { columns: 1; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .top-in { height: 70px; }
  .brand { width: 92px; }
  .hero-in { padding-top: 110px; }
  .prog-side { display: block; }
  .prog-side .poster { max-width: 240px; margin: 24px 0; }
  .cc { grid-template-columns: 74px minmax(0, 1fr); gap: 14px 16px; }
  .cc-meta { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
  .cc-d { font-size: 2.9rem; }
  .places-row li:nth-child(even) { margin-top: 28px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .dir-facts { grid-template-columns: 1fr; }
  .dir-facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .foot-in { grid-template-columns: 1fr; }
  .asso-card { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
