/* =====================================================================
   Amici di Posticciola APS — site.css
   The look of the old Divi site, kept and tidied: the palette of its
   Divi colour picker, Englebert for headings (Fredoka for the big titles),
   coloured page bands with the
   sun emblem, the burgundy footer. Text colours are chosen for contrast
   (the old site put white text on olive and pink: 2.2:1).
   Mobile first; 16px gutters; no horizontal scroll.
   ===================================================================== */

:root {
  /* Divi palette of the old site */
  --blue:      #3F6C83;
  --blue-dark: #2E5163;
  --blue-deep: #1F3A48;
  --sky:       #B4E0E9;   /* decoration; as TEXT on --blue it is 4.0:1, use --sky-text */
  --sky-text:  #D6EEF3;   /* small text on --blue: 4.7:1 (audit 29/09/2026) */
  --olive:     #B8AF6C;
  --olive-dark:#6E6834;   /* text on light backgrounds: 5.9:1 on white */
  --olive-tint:#F3F0DF;
  --rose:      #B69188;
  --rose-dark: #86594F;   /* 5.6:1 on white */
  --blush:     #F6C1BD;
  --blush-tint:#FCEDEB;
  --sun:       #F8B163;   /* the emblem's orange */
  --sun-dark:  #9E5412;   /* small text on white: 5.7:1 (was #B8651A, 4.3:1) */
  --green:     #28682B;
  --burgundy:  #653E40;
  --night:     #232323;

  --ink:       #1F2D35;
  --ink-soft:  #45535C;
  --ink-mute:  #5B6770;   /* 5.9:1 on white, 5.4:1 on --paper */
  --paper:     #FBF8F2;
  --line:      #E6E0D2;
  --white:     #FFFFFF;
  --ok:        #1B6E3C; --ok-bg: #E7F4EC;
  --err:       #A32820; --err-bg: #FCEBEA;

  /* Big titles, logo, bands, section and sign-up titles: always at 600 (variable font, 400–700). */
  --display: 'Fredoka', 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  /* Headings inside pages and cards, as on the old site. One real weight (400): the 700 used
     with it is the browser's synthetic bold, exactly what Divi served. */
  --heading: 'Englebert', 'Fredoka', 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --sans:    'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --container: 1200px;
  --gutter: 16px;
  --r: 16px;
  --r-sm: 10px;
  --shadow: 0 12px 32px rgba(31, 58, 72, .12);
  --shadow-sm: 0 3px 12px rgba(31, 58, 72, .08);
  /* No-JS fallback for the sticky header's height; site.js measures the real one. */
  --sticky-h: 76px;
}
@media (min-width: 700px)  { :root { --gutter: 28px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* The header is sticky: without this every jump to #modulo lands under it. */
[id] { scroll-margin-top: calc(var(--sticky-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
body.scroll-locked { position: fixed; left: 0; right: var(--sbw, 0); width: auto; overflow: hidden; }
body.scroll-locked .is-lock-pinned { position: fixed; top: 0; left: 0; right: var(--sbw, 0); }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-deep); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--sun-dark); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .6em; color: var(--blue-dark); }
h1 { font-family: var(--display); font-weight: 600; letter-spacing: .005em; }
h2 { font-family: var(--heading); font-weight: 700; letter-spacing: .01em; }
h3, h4 { font-family: var(--sans); font-weight: 800; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.2rem); }
h3 { font-size: clamp(1.18rem, 1.05rem + .5vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--blue-deep); color: #fff; padding: .6rem 1rem; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(63,108,131,.28); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
/* The orange of the old "Contattaci" button: dark text, 9:1. */
.btn--sun { background: var(--sun); color: var(--blue-deep); box-shadow: 0 6px 16px rgba(184,101,26,.25); }
.btn--sun:hover { background: #F6A043; color: var(--blue-deep); }
.btn--olive { background: var(--olive); color: #23210F; }
.btn--olive:hover { background: #A89E57; color: #23210F; }
.btn--ghost { background: transparent; color: var(--blue-dark); border-color: var(--blue); }
.btn--ghost:hover { background: #EAF3F6; color: var(--blue-deep); }
.btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost-light:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn--lg { padding: .95rem 1.8rem; font-size: 1.05rem; }
.btn--sm { padding: .5rem 1rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ---------------- header ---------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--blue); border-bottom: 3px solid #fff; transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(31,58,72,.28); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; min-width: 0; }
.brand__emblem { width: 50px; height: 50px; flex: none; object-fit: contain; }
.brand__text { display: grid; line-height: 1.12; min-width: 0; }
.brand__name { font-family: var(--display); font-weight: 600; font-size: clamp(1.05rem, .9rem + .7vw, 1.35rem); color: #fff; white-space: nowrap; }
.brand__tag { font-family: var(--display); font-weight: 600; font-size: clamp(.7rem, .64rem + .25vw, .82rem); color: var(--sky-text); letter-spacing: .02em; white-space: nowrap; }
.brand:hover .brand__name { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 380px) { .brand__tag { display: none; } .brand__emblem { width: 42px; height: 42px; } }

.nav-toggle { flex: none; display: inline-grid; place-items: center; width: 46px; height: 46px; border: 0; background: rgba(255,255,255,.14); border-radius: 12px; cursor: pointer; position: relative; z-index: 60; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__row { display: flex; align-items: center; }
.nav__link { display: flex; align-items: center; text-decoration: none; color: #fff; font-weight: 700; }
.nav__subtoggle { display: grid; place-items: center; border: 0; background: transparent; color: #fff; cursor: pointer; padding: 0; }
.nav__subtoggle svg { width: 13px; height: 9px; transition: transform .2s ease; }
.nav__subtoggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__sub { list-style: none; margin: 0; padding: 0; }
.nav__sub a { text-decoration: none; color: #fff; }

/* Mobile drawer (default): accordion; every row one full-width tap target. */
@media (max-width: 1199px) {
  .nav { position: fixed; inset: 0; z-index: 55; background: var(--blue-dark); display: none; flex-direction: column; overflow: auto; padding: 5.5rem var(--gutter) 2rem; }
  .nav.is-open { display: flex; }
  .nav__item { border-bottom: 1px solid rgba(255,255,255,.14); }
  .nav__row { justify-content: space-between; }
  .nav__link { flex: 1; padding: .95rem 0; font-size: 1.15rem; }
  .nav__subtoggle { width: 48px; height: 48px; border-radius: 10px; background: rgba(255,255,255,.08); }
  .nav__sub { display: none; padding: 0 0 .8rem .8rem; border-left: 3px solid var(--blush); margin-bottom: .8rem; }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__sub a { display: block; padding: .6rem 0; font-size: 1.02rem; color: rgba(255,255,255,.92); }
  .nav__item.is-active > .nav__row .nav__link, .nav__sub a[aria-current="page"] { color: var(--sun); }
  .nav__cta { margin-top: 1.6rem; align-self: flex-start; }
}

/* Desktop: hover dropdowns from the same markup. */
@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .site-header__inner { min-height: 80px; }
  .brand__emblem { width: 56px; height: 56px; }
  .nav { display: flex; align-items: center; gap: .9rem; }
  .nav__list { display: flex; align-items: center; gap: .1rem; }
  .nav__item { position: relative; }
  .nav__list { flex: none; }
  .nav__row { border-radius: 8px; }
  .nav__link { padding: .55rem clamp(.35rem, .1rem + .4vw, .65rem); border-radius: 8px; font-size: .95rem; white-space: nowrap; }
  .nav__item--has-sub .nav__link { padding-right: .15rem; border-radius: 8px 0 0 8px; }
  .nav__subtoggle { width: 26px; height: 38px; border-radius: 0 8px 8px 0; }
  /* One hover box per entry: the row (label + chevron), not each of its two controls. */
  .nav__item:hover > .nav__row, .nav__item--has-sub:focus-within > .nav__row, .nav__item.is-open > .nav__row { background: rgba(255,255,255,.12); }
  .nav__link:hover { color: #fff; }
  /* The active mark spans the whole row, chevron included: one even line. */
  .nav__item.is-active > .nav__row { box-shadow: inset 0 -3px 0 var(--sky); border-radius: 8px 8px 0 0; }
  .nav__link[aria-current="page"] { color: var(--sky-text); }
  .nav__sub {
    position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--blue); border-top: 3px solid var(--blush);
    border-radius: 0 0 12px 12px; box-shadow: var(--shadow); padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
  }
  /* No gap between trigger and panel (playbook mobile-and-navigation.md). */
  .nav__item--has-sub:hover .nav__sub, .nav__item--has-sub:focus-within .nav__sub, .nav__item.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
  .nav__item--has-sub:hover .nav__subtoggle svg { transform: rotate(180deg); }
  .nav__sub a { display: block; padding: .55rem .8rem; border-radius: 8px; font-size: .94rem; }
  .nav__sub a:hover, .nav__sub a[aria-current="page"] { background: rgba(255,255,255,.12); color: var(--blush); }
  /* The bar is full with eight entries: the CTA joins it only when it fits. */
  .nav__cta { display: none; }
}
/* With the CTA the bar needs ~1210px: the header gets a wider box than the page column. */
@media (min-width: 1400px) {
  .site-header__inner { max-width: 1440px; }
  .nav__cta { display: inline-flex; flex: none; white-space: nowrap; padding: .6rem 1.1rem; font-size: .92rem; }
}

/* ---------------- home hero ---------------- */
.hero { position: relative; isolation: isolate; min-height: clamp(460px, 74vh, 740px); display: grid; align-items: center; color: #fff; overflow: hidden; background: var(--blue-deep); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,38,48,.35) 0%, rgba(20,38,48,.55) 60%, rgba(20,38,48,.75) 100%); }
.hero__body { text-align: center; padding-block: 3.5rem; display: grid; justify-items: center; }
.hero__emblem { width: clamp(84px, 60px + 5vw, 124px); height: auto; margin-bottom: 1rem; filter: drop-shadow(0 4px 14px rgba(0,0,0,.35)); }
.hero__title { color: #fff; font-size: clamp(2.3rem, 1.4rem + 4.4vw, 4.8rem); line-height: 1.04; max-width: 16ch; margin: 0 0 .7rem; text-shadow: 0 3px 18px rgba(0,0,0,.35); }
.hero__sub { font-family: var(--display); font-weight: 600; color: var(--sky); font-size: clamp(1rem, .9rem + .6vw, 1.35rem); margin: 0 0 1.8rem; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.hero__actions { justify-content: center; }

/* ---------------- page band (inner pages) ---------------- */
.band { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--blue); }
/* The Divi "arch" mask of the old bands, as one soft shape. */
.band::before { content: ""; position: absolute; z-index: -1; width: 70vw; max-width: 900px; aspect-ratio: 1; right: -18vw; top: -40%; border-radius: 50%; background: rgba(255,255,255,.08); }
.band__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 1.2rem; align-items: center; padding-block: 2rem 2.2rem; position: relative; }
.band__emblem { width: 64px; height: 64px; object-fit: contain; align-self: start; }
.band__text { min-width: 0; }
.band__crumb { margin: 0 0 .4rem; font-size: .88rem; font-weight: 700; }
.band__crumb a { color: inherit; opacity: .9; text-decoration: none; }
.band__crumb a::before { content: "‹ "; }
.band__crumb a:hover { text-decoration: underline; opacity: 1; }
.band__eyebrow { font-family: var(--display); font-weight: 600; font-size: clamp(.95rem, .85rem + .4vw, 1.2rem); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 .35rem; opacity: .95; }
.band__title { color: inherit; font-size: clamp(1.9rem, 1.3rem + 2.8vw, 3.4rem); margin: 0 0 .5rem; overflow-wrap: anywhere; }
.band__sub { font-size: clamp(1.05rem, .98rem + .35vw, 1.3rem); font-weight: 700; margin: 0; max-width: 60ch; }
.band__meta { margin-top: .6rem; font-weight: 700; opacity: .92; }
.band__badge { grid-column: 1 / -1; justify-self: start; display: inline-flex; gap: .4rem; margin: 0; padding: .45rem .95rem; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 1.05rem; line-height: 1.2; background: var(--sun); color: var(--blue-deep); }
@media (min-width: 900px) {
  .band__inner { grid-template-columns: 150px minmax(0, 1fr) auto; gap: 2.2rem; padding-block: 3rem 3.2rem; }
  .band__emblem { width: 150px; height: 150px; align-self: center; }
  .band__badge { grid-column: auto; align-self: start; justify-self: end; flex-direction: column; align-items: flex-end; gap: 0; padding: .9rem 1.2rem; border-radius: var(--r); font-size: 1.5rem; text-align: right; }
}
.band--blue   { background: var(--blue); color: #fff; }
.band--green  { background: var(--green); color: #fff; }
.band--orange { background: var(--sun); color: var(--blue-deep); }
.band--rose   { background: var(--rose); color: #2B1B18; }
.band--blush  { background: var(--blush); color: #3A2422; }
.band--olive  { background: var(--olive); color: #23210F; }
.band--orange .band__badge { background: var(--blue); color: #fff; }
.band--rose .band__badge, .band--olive .band__badge { background: var(--blush); color: #3A2422; }
.band--blush .band__badge { background: var(--rose); color: #2B1B18; }
.band--blue .band__sub, .band--green .band__sub { color: var(--sky-text); }
.band--orange::before, .band--blush::before, .band--olive::before, .band--rose::before { background: rgba(255,255,255,.18); }

/* Uncropped: the opening images of the old pages are often posters with text on them. */
.page-photo { margin-top: -1.2rem; position: relative; z-index: 1; max-width: 1000px; }
.page-photo img { width: 100%; height: auto; border-radius: var(--r); box-shadow: var(--shadow); }

/* ---------------- sections ---------------- */
.section { padding-block: clamp(2.6rem, 2rem + 3vw, 4.8rem); }
.section--first { padding-top: clamp(2.2rem, 1.8rem + 2vw, 3.4rem); }
.section--after-photo { padding-top: 2.2rem; }
.section--tight { padding-block: clamp(1.8rem, 1.4rem + 2vw, 3rem); }
.section--paper { background: var(--paper); }
.section--donate { background: var(--paper); border-top: 1px solid var(--line); }
.section__head { text-align: center; margin-bottom: 2rem; }
.section__title { margin: 0; font-family: var(--display); font-weight: 600; }
/* The green title bars of the old home, as a title with a short rule. */
.section__title--green { color: var(--green); }
.section__title--green::after { content: ""; display: block; width: 72px; height: 5px; border-radius: 3px; margin: .7rem auto 0; background: linear-gradient(90deg, var(--sun) 0 33%, var(--blue) 33% 66%, var(--rose) 66%); }
.section__more { text-align: center; margin: 2rem 0 0; }
.empty { text-align: center; color: var(--ink-soft); padding: 1.6rem; background: var(--paper); border-radius: var(--r); }

/* ---------------- activities (Iscrizioni) ---------------- */
.acts { display: grid; gap: 1.6rem; }
@media (min-width: 700px) { .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .acts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.act { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.act__media { position: relative; aspect-ratio: 16 / 10; background: var(--olive-tint); }
.act__media img { width: 100%; height: 100%; object-fit: cover; }
.act__chip { position: absolute; left: 14px; top: 14px; margin: 0; display: grid; justify-items: center; min-width: 62px; padding: .4rem .55rem .45rem; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); line-height: 1; border-top: 4px solid var(--sun); }
.act__day { font-family: var(--display); font-weight: 600; font-size: 1.7rem; color: var(--blue-dark); }
.act__month { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--sun-dark); margin-top: .15rem; }
.act__body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.3rem 1.3rem; }
.act__title { font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--blue-dark); margin: 0 0 .5rem; }
.act__when { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: 0 0 .7rem; font-weight: 800; color: var(--green); font-size: .95rem; }
.act__when svg { width: 18px; height: 18px; flex: none; }
.act__lead { font-weight: 700; margin-bottom: .6rem; }
.act__details { color: var(--ink-soft); }
.act__details p { margin-bottom: .5em; }
.act__cta { margin: auto 0 0; padding-top: 1rem; }

/* ---------------- post cards ---------------- */
.cards { display: grid; gap: 1.6rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__media { display: block; aspect-ratio: 4 / 3; background: var(--olive-tint); overflow: hidden; }
/* Most covers are event posters: portrait, with the title at the top. */
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__media--empty { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='22' fill='%23F8B163'/%3E%3C/svg%3E") center / 40% no-repeat; }
.card__body { padding: 1.1rem 1.25rem 1.3rem; }
.card__meta { font-size: .85rem; font-weight: 800; color: var(--rose-dark); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 .35rem; }
.card__title { font-family: var(--sans); font-weight: 800; font-size: 1.15rem; line-height: 1.3; margin: 0 0 .5rem; }
.card__title a { color: var(--blue-deep); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card__title a:hover { text-decoration: underline; }
.card__text { color: var(--ink-soft); font-size: .96rem; margin: 0; }

/* ---------------- home tiles (the old hover boxes) ---------------- */
/* Flex rows, centred: five tiles never leave a lone orphan on the left (2+2+1, 3+2, 5). */
.tiles { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.tile { position: relative; border-radius: 12px; overflow: hidden; isolation: isolate; flex: 0 1 calc((100% - 1rem) / 2); }
@media (min-width: 640px)  { .tile { flex-basis: calc((100% - 2rem) / 3); } }
@media (min-width: 1100px) { .tile { flex-basis: calc((100% - 4rem) / 5); } }
@media (max-width: 380px)  { .tile { flex-basis: 100%; } }
.tile::before { content: ""; position: absolute; z-index: -1; width: 150%; aspect-ratio: 1; left: 18%; top: 38%; border-radius: 50%; background: rgba(255,255,255,.16); transition: transform .35s ease; }
.tile:hover::before { transform: translate(-6%, -8%); }
.tile__link, .tile__link:hover { display: flex; flex-direction: column; min-height: 190px; padding: 1.3rem 1.2rem 1.1rem; text-decoration: none; color: inherit; height: 100%; }
.tile__title { font-family: var(--heading); font-weight: 700; font-size: 1.35rem; line-height: 1.15; }
.tile__text { margin-top: .45rem; font-weight: 700; font-size: .95rem; }
.tile__more { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; font-weight: 800; }
.tile__more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.tile__link:hover .tile__more svg { transform: translateX(4px); }
.tile__link:hover .tile__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tile--blue   { background: var(--blue);  color: #fff; }
.tile--orange { background: var(--sun);   color: var(--blue-deep); }
.tile--rose   { background: var(--rose);  color: #2B1B18; }
.tile--blush  { background: var(--blush); color: #3A2422; }
.tile--olive  { background: var(--olive); color: #23210F; }
.tile--green  { background: var(--green); color: #fff; }
.tile--blue::before   { background: rgba(184,175,108,.45); }
.tile--orange::before { background: rgba(63,108,131,.30); }
.tile--rose::before   { background: rgba(248,177,99,.45); }
.tile--blush::before  { background: rgba(182,145,136,.45); }
.tile--olive::before  { background: rgba(246,193,189,.55); }

/* ---------------- support panels ---------------- */
.donate { display: grid; gap: 1.4rem; }
@media (min-width: 900px) { .donate { grid-template-columns: 1fr 1fr; gap: 1.8rem; } }
.donate__panel { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r); padding: 1.8rem 1.5rem 1.6rem; }
.donate__panel::before { content: ""; position: absolute; z-index: -1; width: 380px; aspect-ratio: 1; right: -140px; bottom: -170px; border-radius: 50%; background: rgba(255,255,255,.14); }
@media (min-width: 640px) { .donate__panel { padding: 2.2rem 2.2rem 2rem; } }
.donate__panel--olive { background: var(--olive); color: #23210F; }
.donate__panel--blue  { background: var(--blue);  color: #fff; }
.donate__emblem { width: 76px; height: 76px; object-fit: contain; margin-bottom: .8rem; }
.donate__eyebrow { font-family: var(--heading); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .3rem; font-size: 1rem; }
.donate__title { font-family: var(--heading); font-weight: 700; color: inherit; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); margin: 0 0 .25rem; }
.donate__sub { font-family: var(--heading); font-weight: 700; font-size: 1.15rem; margin: 0 0 1.1rem; }
.donate__panel--blue .donate__sub, .donate__panel--blue .donate__eyebrow { color: var(--sky-text); }
/* Olive has no light accent that reads on it (white: 2.2:1): the site's deep blue, 5.5:1. */
.donate__panel--olive .donate__sub, .donate__panel--olive .donate__eyebrow { color: var(--blue-deep); }
.donate__text { font-weight: 600; }
.donate__text ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.donate__text li { margin-bottom: .2rem; }
.donate__text p:last-child, .donate__text ul:last-child { margin-bottom: 0; }
.donate__code { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 1.3rem 0 0; padding: .7rem .8rem .7rem 1.1rem; border-radius: 12px; background: rgba(255,255,255,.9); color: var(--ink); font-size: 1rem; }
.donate__code strong { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .03em; font-size: 1.02rem; overflow-wrap: anywhere; }
.copy { display: inline-flex; align-items: center; gap: .35rem; margin-left: auto; padding: .45rem .8rem; border-radius: 999px; border: 1px solid var(--blue); background: #fff; color: var(--blue-dark); font-weight: 800; font-size: .85rem; cursor: pointer; }
.copy svg { width: 15px; height: 15px; }
.copy:hover { background: #EAF3F6; }
.copy.is-done { border-color: var(--ok); color: var(--ok); }
.support-panels { margin-top: 2rem; }

/* ---------------- prose ---------------- */
.prose { font-size: 1.0625rem; }
/* Bare URLs typed as link text (the Facebook group) would push a phone page sideways. */
.prose a { overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin-top: 2.2rem; font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); color: var(--blue-dark); }
.prose h3 { margin-top: 1.8rem; font-size: 1.22rem; color: var(--rose-dark); }
.prose h4 { margin-top: 1.4rem; font-size: 1.08rem; color: var(--olive-dark); }
.prose h5, .prose h6 { font-size: 1rem; margin: 1.2rem 0 .5rem; color: var(--ink-soft); }
.prose h2 + h2, .prose h2 + h3, .prose h3 + h4 { margin-top: .6rem; }
.prose ul, .prose ol { padding-left: 1.4rem; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--sun-dark); }
.prose blockquote { margin: 1.5rem 0; padding: .8rem 1.2rem; border-left: 4px solid var(--olive); background: var(--olive-tint); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink-soft); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.prose figure { margin: 1.6rem 0; }
.prose figure img { border-radius: 12px; margin-inline: auto; }
.prose figcaption { font-size: .9rem; color: var(--ink-mute); text-align: center; margin-top: .5rem; }
.prose img { border-radius: 12px; }
.prose strong { color: inherit; font-weight: 800; }
.prose .ta-center { text-align: center; }
.prose .ta-right { text-align: right; }
.prose p.ta-right em { color: var(--rose-dark); }
.prose .btn-row { margin: 1.2rem 0; }
.prose .btn-row .btn, .prose a.btn { background: var(--blue); color: #fff; }
.prose .btn-row .btn:hover { background: var(--blue-dark); }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 1.2rem 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .55rem .7rem; text-align: left; vertical-align: top; }
.lead, .lead p { font-size: 1.16rem; color: var(--ink-soft); }
.lead { margin-bottom: 1.8rem; }
.prose--compact { font-size: .98rem; }

/* A readable column for text, wider rows for photos and columns. */
/* .prose.prose--page (0,2,0): must beat `.prose ul { margin: … }` (0,1,1) or lists escape the column. */
.prose.prose--page > * { max-width: 780px; margin-inline: auto; }
.prose.prose--page > .cols, .prose.prose--page > .gallery { max-width: none; }
.prose.prose--page > figure { max-width: 940px; }
.prose.prose--page > ul, .prose.prose--page > ol { padding-left: 1.4rem; }
.prose--page h2 { margin-top: 2.6rem; }

/* Two- and three-column rows of the old Divi layouts. */
.cols { display: grid; gap: 1.6rem 2.4rem; margin: 2rem 0; align-items: start; }
.cols > .col > :first-child { margin-top: 0; }
.cols > .col > :last-child { margin-bottom: 0; }
.cols figure { margin: 1rem 0; }
@media (min-width: 820px) {
  .cols-2   { grid-template-columns: 1fr 1fr; }
  .cols-3   { grid-template-columns: repeat(3, 1fr); }
  .cols-4   { grid-template-columns: repeat(4, 1fr); }
  .cols-2-1 { grid-template-columns: 2fr 1fr; }
  .cols-3-1 { grid-template-columns: 3fr 1fr; }
  .cols-3-2 { grid-template-columns: 3fr 2fr; }
  .cols-1-3 { grid-template-columns: 1fr 3fr; }
}
.cols-3 > .col { background: var(--paper); border-radius: var(--r); padding: 1.2rem 1.2rem 1.3rem; }
.cols-3 > .col h3 { margin-top: 0; font-size: 1.15rem; color: var(--blue-dark); }
.cols-3 > .col figure img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---------------- gallery + lightbox ---------------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin: 1.6rem 0 2rem; }
@media (min-width: 700px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  /* Two or four photos: as many columns, not a row with an orphan. */
  .gallery:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
  .gallery:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
}
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; cursor: zoom-in; transition: transform .3s ease, box-shadow .3s ease; }
.gallery img:hover { transform: scale(1.02); box-shadow: var(--shadow-sm); }
[data-zoom] { cursor: zoom-in; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(20, 30, 36, .94); }
.lightbox img { position: absolute; inset: 0; margin: auto; max-width: min(92vw, 1200px); max-height: 86vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; transition: opacity .2s ease; }
.lightbox img.is-loading { opacity: 0; }
.lightbox__close, .lightbox__nav { position: absolute; z-index: 2; border: 0; background: rgba(255,255,255,.14); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 2.4rem; }
.lightbox__nav--prev { left: 10px; } .lightbox__nav--next { right: 10px; }
.lightbox__nav[hidden] { display: none; }
.lightbox__count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: .9rem; margin: 0; }

/* ---------------- documents ---------------- */
.page-docs { margin-top: 2.6rem; }
.page-docs--only { margin-top: 0; }
/* flex-wrap, not auto-fill: a single book must sit in the centre. */
.books { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 2.4rem; }
.book { width: min(100%, 300px); display: grid; gap: 1rem; justify-items: center; text-align: center; }
.book__cover { display: block; border-radius: 4px 10px 10px 4px; overflow: hidden; box-shadow: -6px 0 0 rgba(0,0,0,.08) inset, var(--shadow); transition: transform .25s ease, box-shadow .25s ease; background: var(--olive-tint); }
.book__cover:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--shadow), 0 18px 40px rgba(31,58,72,.18); }
.book__cover img { width: 100%; }
.book__title { font-family: var(--sans); font-weight: 800; font-size: 1.1rem; color: var(--blue-deep); margin: 0; }
.book__meta { color: var(--ink-mute); font-size: .88rem; margin: .1rem 0 .7rem; }
.book .btn-row { justify-content: center; }

.doclist { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: .8rem; max-width: 860px; }
.doc { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: .5rem 1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem; box-shadow: var(--shadow-sm); }
.doc__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blush-tint); color: var(--rose-dark); display: grid; place-items: center; }
.doc__icon svg { width: 24px; height: 24px; }
.doc__text { display: grid; }
.doc__date { font-size: .82rem; font-weight: 800; color: var(--rose-dark); text-transform: uppercase; letter-spacing: .06em; }
.doc__title { font-weight: 800; color: var(--ink); line-height: 1.35; }
.doc__btn { grid-column: 1 / -1; justify-self: start; }
.doc__size { font-weight: 600; color: var(--ink-mute); font-size: .85em; }   /* was opacity .75: 4.35:1 */
@media (min-width: 640px) {
  .doc { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .doc__btn { grid-column: auto; }
}

/* ---------------- hub cards ---------------- */
.hubcards { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.hubcard { flex: 0 1 100%; }
@media (min-width: 640px) { .hubcard { flex-basis: calc((100% - 1.5rem) / 2); } }
@media (min-width: 1000px) { .hubcard { flex-basis: calc((100% - 3rem) / 3); } }
.hubcard__link { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--line); border-top: 6px solid var(--blue); transition: transform .2s ease, box-shadow .2s ease; }
.hubcard__link:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.hubcard--orange .hubcard__link { border-top-color: var(--sun); }
.hubcard--rose .hubcard__link   { border-top-color: var(--rose); }
.hubcard--blush .hubcard__link  { border-top-color: var(--blush); }
.hubcard--olive .hubcard__link  { border-top-color: var(--olive); }
.hubcard--green .hubcard__link  { border-top-color: var(--green); }
.hubcard__media { display: block; aspect-ratio: 16 / 10; background: var(--olive-tint); overflow: hidden; }
.hubcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hubcard__body { display: flex; flex-direction: column; gap: .35rem; flex: 1; padding: 1.1rem 1.25rem 1.2rem; }
.hubcard__badge { align-self: flex-start; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--rose-dark); }
.hubcard__title { font-family: var(--heading); font-weight: 700; font-size: 1.3rem; line-height: 1.2; color: var(--blue-dark); }
.hubcard__text { color: var(--ink-soft); font-size: .96rem; }
.hubcard__more { margin-top: auto; padding-top: .6rem; display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; font-size: .9rem; color: var(--blue-dark); }
.hubcard__more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.hubcard__link:hover .hubcard__more svg { transform: translateX(4px); }

/* ---------------- event article ---------------- */
/* Phone: poster, text, form. Desktop: text on the left; poster, then form, on the right. */
.split { display: grid; gap: 2.4rem; }
@media (min-width: 980px) {
  .split { grid-template-columns: minmax(0, 1fr) 360px; column-gap: 3.2rem; row-gap: 1.6rem; align-items: start; }
  .split--cover { grid-template-rows: auto 1fr; }
  .split--cover > .post__cover { grid-column: 2; grid-row: 1; }
  .split--cover > .post { grid-column: 1; grid-row: 1 / span 2; }
  .split--cover > .aside { grid-column: 2; grid-row: 2; }
}
.post__cover { margin: 0; }
.post__cover img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-sm); }
@media (min-width: 640px) and (max-width: 979px) { .post__cover { max-width: 420px; } }
.post__body h2:first-child, .post__body h1:first-child { margin-top: 0; }
.pager { clear: both; display: grid; gap: .8rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a { text-decoration: none; padding: .9rem 1rem; border-radius: var(--r-sm); background: var(--paper); color: var(--ink); display: grid; gap: .2rem; }
.pager a:hover { background: var(--olive-tint); }
.pager__next { text-align: right; }
.pager__label { font-size: .8rem; color: var(--rose-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.pager__title { font-weight: 700; }
.aside { display: grid; gap: 1.4rem; }
.aside__box { background: var(--paper); border-radius: var(--r); padding: 1.3rem 1.4rem; }
.aside__title { font-family: var(--heading); font-weight: 700; font-size: 1.25rem; margin-bottom: .6rem; }
.aside__list { list-style: none; margin: 0 0 .8rem; padding: 0; }
.aside__list li { padding: .5rem 0; border-top: 1px solid var(--line); font-size: .95rem; line-height: 1.35; }
.aside__list li:first-child { border-top: 0; padding-top: 0; }
.aside__list a { text-decoration: none; color: var(--ink); }
.aside__list a:hover { color: var(--blue-dark); text-decoration: underline; }
.aside__all { font-weight: 800; font-size: .92rem; text-decoration: none; }
.pagination { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 2.4rem; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding-inline: .6rem; border-radius: 999px; text-decoration: none; font-weight: 800; }
.pagination a { background: var(--paper); color: var(--blue-dark); }
.pagination .is-current { background: var(--blue); color: #fff; }

/* ---------------- forms ---------------- */
.formbox { background: var(--olive-tint); border-radius: var(--r); padding: 1.4rem; border-top: 6px solid var(--olive); }
@media (min-width: 640px) { .formbox { padding: 1.8rem 2rem; } }
.aside .formbox { padding: 1.3rem 1.3rem 1.4rem; }
.aside .formbox .form__row { grid-template-columns: 1fr; }
.formbox__title { font-size: 1.5rem; color: var(--olive-dark); margin-bottom: 1rem; }
.form__row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } .form__row--3 { grid-template-columns: 1fr 1fr 1.4fr; } }
.field { margin: 0 0 1rem; min-width: 0; }
fieldset.field { border: 0; padding: 0; }
.field__label { display: block; font-weight: 800; font-size: .92rem; margin-bottom: .35rem; color: var(--ink); padding: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field textarea {
  width: 100%; padding: .72rem .9rem; border: 1px solid #C9C2AE; border-radius: var(--r-sm); font: inherit; color: var(--ink); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease; min-height: 48px;
}
.field input::placeholder, .field textarea::placeholder { color: #7B858B; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(63,108,131,.22); }
.field textarea { resize: vertical; min-height: 130px; }
.field small { display: block; color: var(--ink-mute); font-size: .82rem; margin-top: .3rem; }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; font-size: .93rem; color: var(--ink-soft); }
.field--check input { margin-top: .25rem; width: 20px; height: 20px; accent-color: var(--blue); }
.field--captcha__row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.field--captcha input { max-width: 120px; flex: none; }
.field--captcha__row small { margin: 0; flex: 1 1 220px; }
.form__note { font-size: .85rem; color: var(--ink-mute); margin: .7rem 0 0; }
.req { color: var(--err); }
.choice__row { display: flex; gap: .6rem 1.4rem; flex-wrap: wrap; }
.choice__opt { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; cursor: pointer; min-height: 40px; }
.choice__opt input { width: 20px; height: 20px; accent-color: var(--blue); flex: none; }
.choice__opt--block { display: flex; align-items: flex-start; font-weight: 600; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; margin-bottom: .5rem; }
.choice__opt--block input { margin-top: .2rem; }
.alert { padding: .9rem 1.1rem; border-radius: var(--r-sm); margin-bottom: 1rem; font-size: .97rem; }
.alert ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.alert--ok { background: var(--ok-bg); color: var(--ok); border: 1px solid #BFE3CB; font-weight: 700; }
.alert--err { background: var(--err-bg); color: var(--err); border: 1px solid #F3C4C0; }

/* Membership form */
.socio { max-width: 880px; margin-inline: auto; }
.socio__head { display: grid; gap: 1rem; margin-bottom: 1.6rem; }
@media (min-width: 760px) { .socio__head { grid-template-columns: 1fr auto; align-items: start; } }
.socio__title { margin: 0; color: var(--olive-dark); }
.socio__to ul { list-style: none; margin: 0; padding: .9rem 1.1rem; background: var(--paper); border-radius: var(--r-sm); border-left: 4px solid var(--olive); font-size: .92rem; line-height: 1.5; }
.socio__form { background: #fff; }
.socio__group { border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.1rem .4rem; margin: 0 0 1.4rem; background: var(--paper); min-width: 0; }
@media (min-width: 640px) { .socio__group { padding: 1.4rem 1.6rem .6rem; } }
.socio__legend { font-family: var(--heading); font-weight: 700; font-size: 1.2rem; color: var(--blue-dark); padding: 0 .4rem; }
.socio__sub { font-weight: 800; color: var(--olive-dark); margin: .4rem 0 .6rem; }
.socio__group.choice { padding-bottom: .8rem; }
.js [data-minor][data-hidden] { display: none; }
.socio__decl { background: var(--olive-tint); border-radius: var(--r); padding: 1.2rem 1.4rem; margin-bottom: 1.4rem; font-size: .96rem; }
.socio__decl ul { margin-bottom: .4rem; }
.socio__after { margin-top: 1.6rem; font-size: .95rem; color: var(--ink-soft); }
.socio__thanks .prose { font-weight: 600; color: var(--ink); }

/* ---------------- contact page ---------------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.2rem; align-items: start; } }
.info-list { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 1.1rem; }
.info { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: start; }
.info__icon { width: 44px; height: 44px; border-radius: 12px; background: #E8F1F4; color: var(--blue-dark); display: grid; place-items: center; }
.info__icon svg { width: 22px; height: 22px; }
.info__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); margin: 0 0 .1rem; font-weight: 800; }
.info__label--second { margin-top: .6rem; }
.info__value { margin: 0; font-size: 1.04rem; overflow-wrap: anywhere; }
.info__action { display: inline-flex; align-items: center; gap: .4rem; margin-top: .3rem; font-weight: 800; text-decoration: none; }
.info__action svg { width: 18px; height: 18px; }

.map { border-radius: var(--r); overflow: hidden; background: #E8F1F4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23cfe0e6' stroke-width='1'/%3E%3C/svg%3E"); min-height: 320px; display: grid; place-items: center; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.map__consent { background: rgba(255,255,255,.97); border-radius: var(--r); padding: 1.3rem 1.4rem; margin: 1rem; max-width: 460px; box-shadow: var(--shadow-sm); font-size: .95rem; }
.map__consent p { margin-bottom: .8rem; }

/* ---------------- footer ---------------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--burgundy); color: #F6E7E4; font-size: .95rem; padding-top: 3.2rem; }
.site-footer::before { content: ""; position: absolute; z-index: -1; width: 900px; aspect-ratio: 1; left: -380px; top: -520px; border-radius: 50%; background: rgba(246,193,189,.08); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer__grid { display: grid; gap: 2.2rem; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.1fr 1fr 1.3fr; gap: 2.6rem; } }
.footer__logo { width: 120px; height: auto; margin-bottom: .9rem; }
.footer__name { font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: #fff; margin: 0 0 .2rem; }
.footer__tag { margin: 0 0 1rem; color: var(--blush); font-weight: 700; }
.footer__social { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; }
.footer__social svg { width: 22px; height: 22px; }
.footer__title { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--blush); margin: 0 0 .9rem; font-weight: 800; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer__list--contact { gap: .8rem; }
.footer__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blush); font-weight: 800; }
.footer__list--contact a { overflow-wrap: anywhere; }
.footer__directions { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }
.footer__directions svg { width: 18px; height: 18px; }
.footer__linkbtn { font: inherit; color: #fff; background: none; border: 0; padding: 0; cursor: pointer; }
.footer__linkbtn:hover { text-decoration: underline; }
.footer__linkbtn[hidden] { display: none; }

/* ---------------- cookie notice ---------------- */
/* A bar, not a wall: the page stays usable behind it. */
.cookiebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--blue-deep); color: #fff; border-top: 3px solid var(--sun); box-shadow: 0 -8px 28px rgba(20,38,48,.3); padding-block: 1rem calc(1rem + env(safe-area-inset-bottom, 0px)); }
.cookiebar[hidden] { display: none; }
.cookiebar__inner { display: grid; gap: .9rem; }
@media (min-width: 900px) { .cookiebar__inner { grid-template-columns: 1fr auto; align-items: center; gap: 2rem; } }
.cookiebar__title { font-family: var(--heading); font-weight: 700; font-size: 1.1rem; color: #fff; margin: 0 0 .2rem; }
.cookiebar__text p { margin: 0; font-size: .93rem; line-height: 1.5; }
.cookiebar a { color: var(--sky); }
.cookiebar a:hover { color: #fff; }
.cookiebar__actions { display: flex; gap: .7rem; }
.cookiebar__btn { flex: 1 1 0; min-width: 128px; background: #fff; color: var(--blue-deep); }
.cookiebar__btn:hover { background: var(--sky); color: var(--blue-deep); }
@media (max-width: 599px) {
  .cookiebar { padding-block: .8rem calc(.8rem + env(safe-area-inset-bottom, 0px)); }
  .cookiebar__inner { gap: .7rem; }
  .cookiebar__text p { font-size: .86rem; line-height: 1.42; }
  .cookiebar__btn { padding-block: .65rem; }
}
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; margin-top: 2.6rem; padding: 1.2rem 0 1.4rem; border-top: 1px solid rgba(255,255,255,.16); font-size: .86rem; color: rgba(255,255,255,.78); }
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer__credit { margin: 0; padding: .9rem var(--gutter); text-align: center; background: var(--night); color: var(--sky); font-size: .88rem; }
.site-footer .footer__credit a { color: var(--sun); }

/* ---------------- legal + errors ---------------- */
.prose--legal h2 { font-size: 1.35rem; }
.prose--legal h3 { font-size: 1.1rem; }
.legal-updated { max-width: 780px; margin: 2rem auto 0; color: var(--ink-mute); font-size: .9rem; }
.error-page { text-align: center; max-width: 560px; }
.error-page__code { font-family: var(--display); font-weight: 600; font-size: 5.5rem; color: var(--blush); margin: 0; line-height: 1; }
.error-page p { color: var(--ink-soft); margin-bottom: 1.5rem; }

/* ---------------- privacy dialog (bottom sheet on phone, panel on desktop) ---------------- */
/* svh, not dvh: the scroll lock drops the page to scroll 0, a phone then
   shows its address bar, and a dvh sheet would resize while opening. */
.sheet { padding: 0; border: 0; background: transparent; color: var(--ink); width: 100%; max-width: 100%; max-height: 88svh; margin: auto 0 0; overscroll-behavior: contain; }
.sheet::backdrop { background: rgba(20, 30, 36, .55); }
.sheet__box { display: flex; flex-direction: column; max-height: 88svh; background: #fff; border-radius: var(--r) var(--r) 0 0; box-shadow: var(--shadow); }
.sheet[open] .sheet__box { animation: sheet-in .28s ease backwards; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(.75rem) scale(.98); } }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.3rem 1rem; border-bottom: 1px solid var(--line); }
.sheet__title { font-size: 1.3rem; margin: 0; }
.sheet__close { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--blue-dark); cursor: pointer; }
.sheet__close svg { width: 1rem; height: 1rem; }
.sheet__body { padding: 1.2rem 1.3rem; overflow-y: auto; overscroll-behavior: contain; font-size: .97rem; }
.sheet__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.3rem max(.9rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
@media (min-width: 760px) {
  .sheet { width: min(46rem, calc(100% - 3rem)); max-height: 82vh; margin: auto; }
  .sheet__box { max-height: 82vh; border-radius: var(--r); }
}

/* ---------------- print ---------------- */
@media print {
  .site-header, .site-footer, .formbox, .aside, .nav-toggle, .btn, .map, .cookiebar { display: none !important; }
  body { font-size: 12pt; }
  .band { background: none !important; color: #000 !important; }
}
