/* ==========================================================================
   ATHENS BALBOA FESTIVAL
   Bauhaus: flat colour fields, black outlines, circle / square / triangle.
   The palette is taken straight from the logo (sea blue, saffron hands, red heart).
   Shape ↔ colour follows Kandinsky's Bauhaus pairing: circle = blue,
   square = red, triangle = yellow.
   ========================================================================== */

:root {
  /* Colour tokens — from the logo */
  --c-blue: #007EC8;        /* logo field — large areas, graphics */
  --c-blue-deep: #0071B5;   /* same blue, a step darker so white body text passes AA */
  --c-sun: #FFA800;         /* the hands */
  --c-red: #F4373E;         /* the heart — always with black text */
  --c-ink: #000000;         /* the outlines */
  --c-paper: #FFFFFF;
  --c-mist: #EDF1F4;        /* quiet tint for FAQ */
  --c-ink-soft: #3A4148;

  --c-on-blue: #FFFFFF;
  --c-focus: #000000;

  /* Type */
  --font-display: "Dela Gothic One", "Arial Black", system-ui, sans-serif;
  --font-body: "Geologica", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing (8pt rhythm) */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
  --section-y: clamp(64px, 9vw, 128px);

  /* Lines — the logo's black outline, scaled for the page */
  --line: 3px;
  --rule: var(--line) solid var(--c-ink);

  /* Motion: mechanical, short */
  --ease-out: cubic-bezier(.2, .9, .3, 1);
  --dur-fast: 90ms;
  --dur: 200ms;

  /* Layout */
  --header-h: 72px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --z-header: 100;
  --z-skip: 1000;
}

/* ---------- Reset & base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - var(--line));   /* a section's title line lands exactly on the header's bottom line */
}

body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 350;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 { margin: 0; line-height: 1.1; text-wrap: balance; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.005em; }
h2 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4.25rem); line-height: 1; }
h3 { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); }
h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.005em; }
p { margin: 0; }
p + p { margin-top: var(--sp-4); }
strong { font-weight: 650; }

a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: square; stroke-linejoin: miter;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--sp-4); top: var(--sp-4); z-index: var(--z-skip);
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-sun); color: var(--c-ink); border: var(--rule);
  font-weight: 700; text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 1000px; }

/* ---------- Buttons & small controls ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 48px; padding: 0 var(--sp-6);
  border: var(--rule); border-radius: 0;
  font-weight: 700; font-size: 1rem; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-fast) linear, color var(--dur-fast) linear, transform var(--dur-fast) linear, box-shadow var(--dur-fast) linear;
  touch-action: manipulation;
}
.btn--primary { background: var(--c-red); color: var(--c-ink); box-shadow: 4px 4px 0 var(--c-ink); }
.btn--primary:hover { background: var(--c-ink); color: var(--c-paper); }
.btn--primary:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--c-ink); }
.btn--sm { min-height: 44px; padding: 0 var(--sp-5); font-size: .9375rem; box-shadow: none; }
.btn--sm:active { transform: translate(2px, 2px); }
.btn--lg { min-height: 60px; padding: 0 var(--sp-7); font-size: 1.125rem; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 0;
  border: var(--rule); background: var(--c-paper); color: var(--c-ink);
  transition: background-color var(--dur-fast) linear, color var(--dur-fast) linear;
}
.icon-btn:hover { background: var(--c-ink); color: var(--c-paper); }
.icon-btn:disabled { opacity: .35; cursor: not-allowed; background: var(--c-paper); color: var(--c-ink); }
.icon-btn--ghost { border-color: transparent; background: transparent; }
.icon-btn--ghost:hover { border-color: var(--c-ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  min-height: 44px; font-weight: 700; color: var(--c-ink);
  text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px;
  text-decoration-color: var(--c-red);
}
.link-arrow:hover { text-decoration-color: var(--c-ink); }
.link-arrow .icon { width: 16px; height: 16px; }

/* ---------- Brand (logo image) ---------- */

.brand-lockup { display: inline-flex; align-items: center; }
.brand-lockup__emblem { border: var(--rule); }
.brand-lockup--compact .brand-lockup__emblem { width: auto; height: 46px; border-width: 2px; }
.brand-lockup--hero { display: block; }
.brand-lockup--hero .brand-lockup__emblem { width: 100%; height: auto; }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  height: var(--header-h);
  background: var(--c-paper);
  border-bottom: var(--rule);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.site-header.is-visible {
  transform: none; visibility: visible;
  transition: transform var(--dur) var(--ease-out), visibility 0s;
}

.site-header__inner { height: 100%; display: flex; align-items: center; gap: var(--sp-5); }
.site-header__brand { text-decoration: none; flex: none; }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: var(--sp-2); }

.site-nav__list { display: flex; gap: 0; }
.site-nav__link {
  position: relative; display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 var(--sp-3);
  font-weight: 600; font-size: .9375rem; color: var(--c-ink); text-decoration: none;
}
.site-nav__link::after {
  content: ""; position: absolute; left: var(--sp-3); right: var(--sp-3); bottom: 6px; height: 4px;
  background: var(--c-red);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out);
}
.site-nav__link:hover::after { transform: scaleX(1); background: var(--c-ink); }
.site-nav__link.is-active::after { transform: scaleX(1); background: var(--c-red); }

.social { display: flex; gap: var(--sp-2); }
.site-nav__social { display: none; margin-top: var(--sp-5); }
@media (max-width: 639px) { .site-nav__social { display: flex; } }

.nav-toggle {
  display: none; place-items: center;
  width: 44px; height: 44px; border: var(--rule); background: var(--c-sun); color: var(--c-ink);
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 3px; background: currentColor;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) linear;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1079px) {
  .nav-toggle { display: inline-grid; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: var(--c-paper); border-bottom: var(--rule);
    padding: 0 var(--gutter) var(--sp-6);
    opacity: 0; transform: translateY(-8px); visibility: hidden;
    transition: opacity var(--dur-fast) linear, transform var(--dur-fast) linear, visibility 0s linear var(--dur-fast);
  }
  .nav-open .site-nav {
    opacity: 1; transform: none; visibility: visible;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s;
  }
  .site-nav__list { flex-direction: column; }
  .site-nav__link {
    width: 100%; min-height: 60px; padding: 0;
    font-family: var(--font-display); font-weight: 400; font-size: 1.5rem;
    border-bottom: var(--rule);
  }
  .site-nav__link::after { left: auto; right: 0; top: 50%; bottom: auto; width: 18px; height: 18px; margin-top: -9px; transform: scale(0); border: 2px solid var(--c-ink); }
  .site-nav__link.is-active::after { transform: scale(1); }
}

@media (max-width: 639px) {
  :root { --header-h: 64px; }
  .site-header__actions .social { display: none; }
  .site-header__inner { gap: var(--sp-3); }
  .site-header .brand-lockup__emblem { height: 40px; }
  .site-header .btn--sm { padding: 0 var(--sp-4); }
}
@media (max-width: 380px) {
  .site-header .btn--sm { display: none; }
}

/* ---------- Menu button + floating menu ---------- */

.menu-btn {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; padding: 0;
  border: var(--rule); background: var(--c-paper); color: var(--c-ink);
  transition: background-color var(--dur-fast) linear, color var(--dur-fast) linear;
}
.menu-btn:hover { background: var(--c-ink); color: var(--c-paper); }
/* three lines; .is-x turns them into a cross */
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block; width: 22px; height: 3px; background: currentColor;
}
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -7px; }
.menu-btn__bars::after { top: 7px; }
.menu-btn__bars::before, .menu-btn__bars::after { transition: transform var(--dur) var(--ease-out); }
/* open: the three lines become a cross */
.menu-btn[aria-expanded="true"] { background: var(--c-ink); color: var(--c-paper); }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-7px) rotate(-45deg); }

.hero__menu-btn { position: absolute; z-index: 2; top: var(--sp-4); left: var(--gutter); }

/* Floating card just under the button (the button sits at the top of the page) */
.menu-panel {
  position: absolute; z-index: 150;
  top: calc(var(--sp-4) + 48px + var(--sp-2)); left: var(--gutter);
  width: min(320px, calc(100vw - 2 * var(--gutter)));
  background: var(--c-paper); border: var(--rule);
  box-shadow: 8px 8px 0 var(--c-ink);
  transform-origin: top left;
  animation: menu-in var(--dur) var(--ease-out);
}
.menu-panel[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.menu-panel__list li + li { border-top: var(--rule); }
.menu-panel .site-nav__link {
  display: flex; align-items: center; width: 100%;
  min-height: 56px; padding: var(--sp-2) var(--sp-5);
  border: 0;
  font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; line-height: 1.1;
  color: var(--c-ink); text-decoration: none;
  transition: background-color var(--dur-fast) linear;
}
.menu-panel .site-nav__link::after { display: none; }
.menu-panel .site-nav__link:hover { background: var(--c-sun); }
.menu-panel .site-nav__link:focus-visible { outline-offset: -5px; }

/* ---------- Hero ---------- */

.intro { position: relative; }

/* Exactly the first screen, three separate pieces stacked in the middle:
   the logo · when & where · registration. The scroll hint sits on the bottom edge,
   and nothing of the next section shows until the visitor scrolls. */
.hero {
  position: relative; isolation: isolate;
  /* Height everything except the logo needs (topbar, facts, registration, gaps).
     The logo (960×608) gets the rest, so the hero fits on any screen height. */
  --hero-reserve: 380px;
  --hero-gap: clamp(14px, 3vh, 32px);
  --hero-w: min(calc(var(--container) - 2 * var(--gutter)), calc(100vw - 2 * var(--gutter)), max(260px, calc((100svh - var(--hero-reserve)) * 1.58)));
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto auto auto 1fr;   /* space · logo · facts · registration · space */
  padding-top: 76px;   /* clears the floating topbar */
  padding-bottom: 60px;   /* room the old "Discover the festival" link took — keeps logo/facts/registration where they were (0 on phones and short screens) */
  background: var(--c-paper);
  overflow-x: clip; overflow-y: visible;
}

.hero__topbar {
  position: absolute; z-index: 2; top: var(--sp-4); right: var(--gutter);
  display: flex; align-items: center; gap: var(--sp-2);
}
.hero__topbar .social .icon-btn { border-color: var(--c-ink); }

/* When & where: two separate tags, centred under the logo */
.hero__facts {
  grid-row: 3;
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3);
  margin-top: var(--hero-gap);
}
.hero__fact {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  min-height: 52px; padding: var(--sp-2) var(--sp-5); margin: 0;
  border: var(--rule);
  font-weight: 700; font-size: clamp(1rem, .95rem + .3vw, 1.1875rem); line-height: 1.2; white-space: nowrap;
}
.hero__fact .icon { width: 22px; height: 22px; }
.hero__fact--date { background: var(--c-paper); }
.hero__fact--place { background: var(--c-paper); text-decoration: none; }   /* a link (→ #venue) that looks like the date box */

/* The logo, centred */
.hero__grid {
  grid-row: 2; justify-self: center;
  width: var(--hero-w); padding: 0;
  border: var(--rule);
}
.hero__logo { font-size: 1rem; line-height: 0; }
/* The logo carries its own colour field, so the frame's black rule is enough */
.hero__logo .brand-lockup__emblem { border: 0; }

/* Registration: its own block under the logo, same width */
.hero__reg-wrap { grid-row: 4; margin-top: var(--hero-gap); }
.hero-reg {
  width: var(--hero-w); max-width: 100%; margin-inline: auto;
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: var(--sp-4) var(--sp-5);
  text-align: center;
  min-height: 88px; padding: var(--sp-3) var(--sp-5);
  border: var(--rule); background: var(--c-sun);
  color: var(--c-ink); text-decoration: none;
  /* the whole box is a link to the registration page: it presses like the buttons */
  box-shadow: 6px 6px 0 var(--c-ink);
  transition: background-color var(--dur-fast) linear, transform var(--dur-fast) linear, box-shadow var(--dur-fast) linear;
}
.hero-reg:hover { background: var(--c-paper); }
.hero-reg:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--c-ink); }
.hero-reg:empty { display: none; }
.hero-reg__text { min-width: 0; }
.hero-reg__title { font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); line-height: 1.1; }
.hero-reg__line { margin-top: var(--sp-1) !important; font-size: 1rem; }
.hero-reg__line strong { font-weight: 700; }
/* "TBA" as a round red sticker on the corner, so the text stays centred in the box */
.hero-reg__stamp {
  position: absolute; top: -18px; right: -12px;
  display: grid; place-items: center;
  width: 64px; aspect-ratio: 1; border-radius: 50%;
  border: var(--rule); background: var(--c-red); color: var(--c-ink);
  font-family: var(--font-display); font-size: 1.0625rem;
  transform: rotate(-10deg);
}
.hero-reg__btn { flex: none; }


/* Desktop: everything on the first screen a little bigger — the logo gets more of the height
   (less empty space under the registration box), the date/place tags and the registration box grow a step */
@media (min-width: 900px) and (min-height: 621px) {
  .hero { --hero-reserve: 340px; padding-bottom: 24px; }
  .hero__fact { min-height: 58px; padding-inline: var(--sp-6); font-size: clamp(1.125rem, 1rem + .35vw, 1.3125rem); }
  .hero__fact .icon { width: 24px; height: 24px; }
  .hero-reg { min-height: 96px; }
  .hero-reg__title { font-size: clamp(1.5rem, 1.25rem + .6vw, 1.875rem); }
  .hero-reg__line { font-size: 1.125rem; }
  .hero-reg__stamp { width: 72px; font-size: 1.1875rem; }
}

/* Short screens: less reserved height → the logo stays a usable size */
@media (max-height: 620px) { .hero { --hero-reserve: 310px; padding-bottom: 0; } }

/* Phones */
@media (max-width: 559px) {
  .hero { padding-top: 72px; padding-bottom: 0; --hero-reserve: 420px; --hero-gap: 16px; }
  .hero__facts { gap: var(--sp-2); flex-wrap: nowrap; }
  .hero__fact { flex: 1 1 0; justify-content: center; min-height: 46px; padding: var(--sp-2); font-size: .9375rem; white-space: normal; }
  .hero__fact .icon { width: 18px; height: 18px; }
  .hero-reg { padding: var(--sp-3) var(--sp-4); min-height: 76px; }
  .hero-reg__stamp { width: 52px; font-size: .875rem; top: -16px; right: -8px; }
  /* early bird / open: the button goes under the text, full width */
  .hero-reg:not([data-status="tba"]) { flex-direction: column; align-items: stretch; }
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--section-y); border-bottom: var(--rule);
  /* Jumping to a section (menu, location box) lands on its black title line,
     not on the empty padding above it */
  scroll-margin-top: calc(-1 * var(--section-y));
}
.section--tint { background: var(--c-mist); }
.section--sun { background: var(--c-sun); }
.section--compact { padding-block: var(--sp-8); scroll-margin-top: calc(-1 * var(--sp-8)); }
.section--sea { background: var(--c-blue-deep); color: var(--c-on-blue); }
.section--sea :focus-visible { outline-color: var(--c-sun); }

/* Section head: big title under a black rule */
.section__head {
  padding-top: var(--sp-4);
  border-top: var(--rule);
  margin-bottom: clamp(32px, 5vw, 64px);
}
.section--sea .section__head { border-top-color: var(--c-on-blue); }

/* People (teachers / taster teachers / band) */
.people { display: grid; gap: var(--sp-8) var(--sp-7); grid-template-columns: 1fr; }
@media (min-width: 900px) { .people { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); } }
@media (min-width: 560px) and (max-width: 899px) {
  .person { display: grid; grid-template-columns: 42% 1fr; align-items: center; gap: var(--sp-6); }
}
.person { display: flex; flex-direction: column; gap: var(--sp-5); }
.person__photo {
  position: relative; isolation: isolate;
  aspect-ratio: 4 / 5;
  width: calc(100% - 18px); max-width: 420px;   /* keeps its size while the photo is still loading */
  margin: 0 18px 18px 0;            /* room for the shape behind */
}
@media (max-width: 559px) { .person__photo { width: calc(100% - 18px); max-width: 360px; } }
.person__photo img {
  width: 100%; height: 100%; object-fit: cover;
  border: var(--rule); background: var(--c-mist);
}
/* A Bauhaus shape sits behind every portrait: circle (blue), square (red), triangle (yellow) */
.person__photo::before {
  content: ""; position: absolute; z-index: -1;
  right: -18px; bottom: -18px; width: 62%; aspect-ratio: 1;
  background: var(--c-blue); border: var(--rule); border-radius: 50%;
}
.person:nth-child(3n+2) .person__photo::before { border-radius: 0; background: var(--c-red); }
.person:nth-child(3n+3) .person__photo::before {
  border: 0; border-radius: 0; background: var(--c-sun);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.person__name { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem); }
.person__role {
  display: inline-block; margin-top: var(--sp-2);
  padding: 2px var(--sp-2); background: var(--c-ink); color: var(--c-paper);
  font-weight: 600; font-size: .9375rem;
}
.person__bio { margin-top: var(--sp-4); color: var(--c-ink-soft); max-width: 60ch; }

/* Teachers, as couples: title · shared photo · two bios (side by side on desktop, stacked on phones) */
.couples { display: grid; gap: clamp(64px, 9vw, 120px); }
.couple { display: grid; gap: var(--sp-5); }
.couple__title { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }

.couple__photo { aspect-ratio: 3 / 2; }
.couple__photo img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  border: var(--rule); background: var(--c-mist);
}
/* No shared photo: the two personal photos side by side in the same space, each in its own frame, a small gap between */
.couple__photo--split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr);
  gap: clamp(var(--sp-2), 1.2vw, var(--sp-4));
}

.couple__bios { display: grid; gap: var(--sp-6); grid-template-columns: minmax(0, 1fr); }
.couple__name { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); margin-bottom: var(--sp-2); }
.couple__bio p { color: var(--c-ink-soft); max-width: 68ch; }

@media (min-width: 760px) {
  .couple__bios { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-7); }
  .couple__bio p { font-size: 1rem; line-height: 1.6; }
  /* one joint bio: a single column across the photo's full width */
  .couple__bio--joint p { max-width: none; }
}
/* Desktop: a large 16:9 photo; the bios follow underneath */
@media (min-width: 900px) {
  .couple__photo { aspect-ratio: 16 / 9; }
}

/* Schedule — one column per day sharing outlines (stacked on phones) */
.schedule__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
/* plain text, not a box — boxes with outlines read as buttons */
.schedule__note { font-weight: 500; }
.schedule__draft { font-weight: 700; }
.schedule__draft::after { content: " ·"; }
.schedule__days {
  list-style: none; margin: 0; padding: 0 var(--line) var(--line) 0;   /* compensates the overlap below */
  display: grid; gap: 0; grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) { .schedule__days { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.schedule-day {
  margin: 0 calc(-1 * var(--line)) calc(-1 * var(--line)) 0;
  background: var(--c-paper); border: var(--rule);
}
.schedule-day__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5); border-bottom: var(--rule);
  background: var(--c-blue-deep); color: var(--c-paper);
}
.schedule-day:nth-child(2) .schedule-day__head { background: var(--c-red); color: var(--c-ink); }
.schedule-day:nth-child(3) .schedule-day__head { background: var(--c-sun); color: var(--c-ink); }
.schedule-day__name { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.schedule-day__date { font-family: var(--font-body); font-weight: 700; font-size: 1rem; }
.schedule-day__items { list-style: none; margin: 0; padding: 0; }
.schedule-item {
  display: grid; grid-template-columns: 40px 1fr; column-gap: var(--sp-4); align-items: center;
  padding: var(--sp-4) var(--sp-5);
}
.schedule-item + .schedule-item { border-top: 1px solid var(--c-ink); }
/* icon = type of event: class (blue), activity (yellow), party / aperitivo (red) */
.schedule-item__icon {
  grid-row: 1 / span 2; display: grid; place-items: center; width: 40px; height: 40px;
  border: 2px solid var(--c-ink); border-radius: 50%; background: var(--c-blue-deep); color: var(--c-paper);
}
.schedule-item__icon .icon { width: 20px; height: 20px; }
.schedule-item--activity .schedule-item__icon { background: var(--c-sun); color: var(--c-ink); }
.schedule-item--party .schedule-item__icon,
.schedule-item--aperitivo .schedule-item__icon { background: var(--c-red); color: var(--c-ink); }
.schedule-item__slot { font-size: .9375rem; color: var(--c-ink-soft); }
.schedule-item__title { font-weight: 700; font-size: 1.125rem; }

/* Cards: flat, outlined */
.card { background: var(--c-paper); border: var(--rule); }

/* Activities — cells of one grid sharing outlines */
.activity-grid {
  display: grid; gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  padding: 0 var(--line) var(--line) 0;     /* compensates the overlap below */
}
.activity {
  margin: 0 calc(-1 * var(--line)) calc(-1 * var(--line)) 0;
  padding: var(--sp-6);
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.activity__icon {
  display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: var(--sp-3);
  background: var(--c-blue); color: var(--c-paper); border: var(--rule); border-radius: 50%;
}
.activity:nth-child(3n+2) .activity__icon { background: var(--c-red); color: var(--c-ink); border-radius: 0; }
.activity:nth-child(3n+3) .activity__icon {
  border: 0; border-radius: 0; background: var(--c-ink); color: var(--c-ink);
  clip-path: polygon(50% 0, 100% 100%, 0 100%); position: relative; place-items: end center; padding-bottom: 10px;
}
/* triangle: black outline drawn as a slightly larger black triangle behind a yellow one */
.activity:nth-child(3n+3) .activity__icon::before {
  content: ""; position: absolute; inset: 5px 4px 3px;
  background: var(--c-sun); clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.activity:nth-child(3n+3) .activity__icon .icon { position: relative; }
.activity__icon .icon { width: 30px; height: 30px; }
.activity p { color: var(--c-ink-soft); }
.activity__meta {
  margin-top: auto !important; padding-top: var(--sp-4);
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: .9375rem; font-weight: 700; color: var(--c-ink) !important;
}
.activity__meta .icon { width: 18px; height: 18px; }

/* Levels / Passes */
/* Levels, under the passes; on desktop the levels sit side by side */
.levels { margin-top: var(--sp-9); }
@media (min-width: 760px) {
  .level-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sp-8); }
}

.tlp__title { margin-bottom: var(--sp-5); font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem); }

/* Levels are a real sequence → numbered (or shown as their shape, see below) */
.level-list { counter-reset: level; border-top: var(--rule); }
.level {
  display: grid; grid-template-columns: 56px 1fr; gap: 0 var(--sp-4);
  padding: var(--sp-5) 0; border-bottom: var(--rule);
  counter-increment: level;
}
.level::before {
  content: counter(level);
  grid-row: span 2;
  font-family: var(--font-display); font-size: 2.75rem; line-height: .9;
}
/* A level named after a shape shows that shape instead of its number: blue, with the white heart
   (the same mark as the dance classes in the schedule) */
.level--square::before, .level--circle::before {
  content: ""; width: 44px; height: 44px; margin-top: 2px; border: var(--rule);
  background: var(--c-blue-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.level--circle::before { border-radius: 50%; }
.level h4 { margin-bottom: var(--sp-1); }
.level p { color: var(--c-ink-soft); }

.pass-grid {
  display: grid; gap: var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  align-items: stretch;
}
/* Each card spans 3 rows of the grid (name · price · list) and shares them with its
   neighbours, so the black lines and headings sit at the same height in every card */
.pass {
  position: relative; padding: var(--sp-6);
  display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0;
}
.pass__name { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
/* Price block: price (or TBA), early bird price, note — closed by a black line */
.pass__pricing {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-3);
  margin: var(--sp-4) 0 var(--sp-5);
  padding-bottom: var(--sp-5); border-bottom: var(--rule);
}
.pass__pricing > p { margin: 0; }
.pass__price {
  font-family: var(--font-display); font-size: clamp(2.75rem, 2rem + 2vw, 3.5rem); line-height: 1;
  font-variant-numeric: tabular-nums;
}
/* Early bird price: a yellow tag */
.pass__early {
  display: inline-flex; align-items: baseline; gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-3);
  border: var(--rule); background: var(--c-sun); color: var(--c-ink);
  font-weight: 700; font-size: .9375rem;
}
.pass__early strong { font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; line-height: 1.1; }
.pass__includes { display: grid; gap: var(--sp-3); align-content: start; }
.pass__includes li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.pass__includes .icon { margin-top: 3px; width: 18px; height: 18px; }
/* second line of an item (e.g. which classes) */
.pass__detail { display: block; margin-top: 2px; font-size: .9375rem; opacity: .85; }

/* No prices shown: the name is closed by the black line instead, and the card shares 2 rows */
.pass--no-price { grid-row: span 2; }
.pass--no-price .pass__name { margin-bottom: var(--sp-5); padding-bottom: var(--sp-5); border-bottom: var(--rule); }
.pass--featured.pass--no-price .pass__name { border-bottom-color: var(--c-on-blue); }
.pass--featured { background: var(--c-blue-deep); color: var(--c-on-blue); box-shadow: 10px 10px 0 var(--c-ink); }
.pass--featured .pass__pricing { border-bottom-color: var(--c-on-blue); }
/* Same look in yellow (black text and lines) */
.pass--sun { background: var(--c-sun); color: var(--c-ink); box-shadow: 10px 10px 0 var(--c-ink); }

/* Venue */
.venue { display: grid; gap: var(--sp-7); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .venue { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }

.venue__map {
  position: relative; z-index: 0;
  height: clamp(320px, 50vw, 560px);
  background: var(--c-blue);
  border: var(--rule);
  box-shadow: 12px 12px 0 var(--c-sun);
}
.venue__map--fallback::after {
  content: "Map unavailable"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--c-on-blue);
}
/* Desktop: the whole map fits on screen under the header (with room for its yellow shadow) */
@media (min-width: 900px) {
  .venue__map {
    position: sticky; top: calc(var(--header-h) + 24px);
    height: clamp(280px, calc(100svh - 260px), 440px);   /* 260px ≈ header + section title above it */
  }
}
@media (max-width: 899px) { .venue__map { margin-right: 12px; } }

.venue__tabs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-5); }
/* Venue buttons: the selected one is red and a little bigger; the others are outlined */
.venue-tab {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  min-height: 52px; padding: var(--sp-2) var(--sp-4) var(--sp-2) var(--sp-2);
  border: var(--rule); border-color: var(--c-on-blue);
  background: transparent; color: var(--c-on-blue); text-align: left;
  transition: background-color var(--dur-fast) linear, color var(--dur-fast) linear,
              min-height var(--dur) var(--ease-out), padding var(--dur) var(--ease-out);
}
.venue-tab:hover { background: rgba(255, 255, 255, .14); }
.venue-tab__num {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--c-sun); color: var(--c-ink); border: 2px solid var(--c-ink);
  font-weight: 800; font-size: .9375rem;
}
.venue-tab__name { font-weight: 700; font-size: 1rem; line-height: 1.15; }

.venue-tab[aria-pressed="true"] {
  min-height: 60px; padding: var(--sp-2) var(--sp-5) var(--sp-2) var(--sp-3);
  background: var(--c-red); color: var(--c-ink); border-color: var(--c-ink);
  box-shadow: 5px 5px 0 var(--c-ink);
}
.venue-tab[aria-pressed="true"] .venue-tab__num { width: 36px; height: 36px; }
.venue-tab[aria-pressed="true"] .venue-tab__name { font-size: 1.125rem; }

.venue-card {
  background: var(--c-paper); color: var(--c-ink);
  border: var(--rule);
  animation: fade-in var(--dur) linear;
}
.venue-card__body { padding: var(--sp-6); display: grid; gap: var(--sp-3); }
.venue-card__body h3 { font-size: 1.625rem; }
.venue-card__body p + p { margin-top: 0; }
.venue-card__line { display: flex; gap: var(--sp-2); align-items: flex-start; font-weight: 500; }
.venue-card__line .icon { margin-top: 3px; width: 18px; height: 18px; }
.venue-card__body :focus-visible { outline-color: var(--c-ink); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Leaflet pins: numbered discs */
.map-pin { background: none; border: 0; }
.map-pin__dot {
  position: relative; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-sun); color: var(--c-ink); border: var(--rule);
  font: 800 1rem/1 var(--font-body);
  transform-origin: 50% 100%;
  transition: transform var(--dur) var(--ease-out);
}
.map-pin__dot::after {   /* the stem, pointing at the spot */
  content: ""; position: absolute; left: 50%; top: 100%; width: 3px; height: 8px; margin-left: -1.5px; background: var(--c-ink);
}
.map-pin.is-active { z-index: 1000 !important; }
.map-pin.is-active .map-pin__dot { transform: scale(1.25); background: var(--c-red); }   /* selected = red and bigger, like its button */
.map-pin:focus-visible { outline: none; }
.map-pin:focus-visible .map-pin__dot { box-shadow: 0 0 0 4px var(--c-paper), 0 0 0 7px var(--c-ink); }
.leaflet-container { font-family: var(--font-body); }
.leaflet-tile-pane { filter: grayscale(1) contrast(1.05); }
.leaflet-bar a { border-radius: 0 !important; color: var(--c-ink) !important; }
.leaflet-touch .leaflet-bar { border: var(--rule) !important; border-radius: 0 !important; }

/* Accordion (guide + FAQ) */
.accordion { border-top: var(--rule); }
.accordion__item { border-bottom: var(--rule); }
.accordion__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
  min-height: 72px; padding: var(--sp-4) 0;
  cursor: pointer; list-style: none;
  font-weight: 700; font-size: clamp(1.125rem, 1.05rem + .4vw, 1.375rem); line-height: 1.3;
}
.accordion__q::-webkit-details-marker { display: none; }
.accordion__q:focus-visible { outline-offset: -3px; }
.accordion__chev {
  flex: none; position: relative; width: 40px; height: 40px;
  border: var(--rule); background: var(--c-paper);
  transition: background-color var(--dur-fast) linear, border-radius var(--dur) var(--ease-out);
}
.accordion__q:hover .accordion__chev { background: var(--c-sun); }
.accordion__chev::before, .accordion__chev::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 3px;
  background: var(--c-ink); translate: -50% -50%;
  transition: transform var(--dur) var(--ease-out);
}
.accordion__chev::after { transform: rotate(90deg); }
/* Open: the square becomes a red circle, the plus becomes a minus */
.accordion__item[open] .accordion__chev { background: var(--c-red); border-radius: 50%; }
.accordion__item[open] .accordion__chev::after { transform: rotate(0deg); }
.accordion__a { padding: 0 0 var(--sp-6); color: var(--c-ink-soft); max-width: 68ch; }
/* An answer given as a list: small black squares as bullets */
.accordion__list { display: grid; gap: var(--sp-2); }
.accordion__list li { position: relative; padding-left: var(--sp-5); }
.accordion__list li::before {
  content: ""; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; background: var(--c-ink);
}
.accordion__item[open] .accordion__a { animation: fade-in var(--dur) linear; }

/* Contact — one white card, everything centred: title, text, then the email button */
.contact {
  margin-top: var(--sp-8);
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-5);
  padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px);
  border: var(--rule); background: var(--c-paper);
  text-align: center;
}
/* FAQ switched off: the Contact card starts the section */
.faq[hidden] + .contact { margin-top: 0; }
.contact h3 { margin-bottom: var(--sp-3); font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem); }
.contact__intro p { color: var(--c-ink-soft); max-width: 46ch; margin-inline: auto; }
.contact__slot { display: flex; justify-content: center; max-width: 100%; }
.contact__email {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  min-height: 56px; padding: 0 var(--sp-5); max-width: 100%;
  border: var(--rule); background: var(--c-sun); color: var(--c-ink);
  box-shadow: 4px 4px 0 var(--c-ink);
  font-weight: 700; text-decoration: none;
  white-space: nowrap;   /* the address stays on one line… */
  transition: background-color var(--dur-fast) linear, color var(--dur-fast) linear, transform var(--dur-fast) linear, box-shadow var(--dur-fast) linear;
}
/* …on phones too: tighter button and text that shrinks with the screen so the address fits on one line */
@media (max-width: 459px) {
  .contact__email { gap: var(--sp-2); padding-inline: var(--sp-3); font-size: clamp(13px, calc((100vw - 136px) / 16.8), 17px); }
  .contact__email .icon { width: 18px; height: 18px; flex: none; }
}
/* very narrow phones only: wrap before the "@" rather than overflow */
@media (max-width: 349px) { .contact__email { white-space: normal; text-align: left; padding-block: var(--sp-2); } }
.contact__email:hover { background: var(--c-ink); color: var(--c-paper); }
.contact__email:active { transform: translate(4px, 4px); box-shadow: none; }

/* Instagram / Facebook under the email: outlined buttons, side by side */
.contact__social { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); }
.social-btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  min-height: 48px; padding: 0 var(--sp-5);
  border: var(--rule); background: var(--c-paper); color: var(--c-ink);
  font-weight: 700; text-decoration: none;
  transition: background-color var(--dur-fast) linear, color var(--dur-fast) linear;
}
.social-btn:hover { background: var(--c-ink); color: var(--c-paper); }
/* Jumping to Contact from the menu leaves a little air above the card */
#contact { scroll-margin-top: var(--sp-6); }

/* Partners carousel */
.partners__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-5); }
.partners__title { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem); }
.partners__controls { display: flex; gap: var(--sp-2); }
.partners {
  display: flex; gap: 0;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--sp-3);
  scrollbar-width: thin; scrollbar-color: var(--c-ink) transparent;
}
.partner { flex: 0 0 clamp(150px, 40vw, 220px); scroll-snap-align: start; }
.partner + .partner { margin-left: calc(-1 * var(--line)); }
.partner a {
  display: grid; place-items: center; height: 120px; padding: var(--sp-4);
  background: var(--c-paper); border: var(--rule);
  transition: background-color var(--dur-fast) linear;
}
.partner a:hover { background: var(--c-sun); }
.partner a:focus-visible { outline-offset: -6px; }
.partner img { max-height: 72px; width: auto; object-fit: contain; }

/* Footer */
.site-footer { position: relative; background: var(--c-ink); color: var(--c-paper); padding: calc(var(--sp-8) + 14px) 0 var(--sp-7); }
.site-footer::before {   /* the three colours of the logo as a band */
  content: ""; position: absolute; inset: 0 0 auto; height: 14px;
  background: linear-gradient(90deg, var(--c-blue) 0 33.33%, var(--c-sun) 33.33% 66.66%, var(--c-red) 66.66%);
}
.site-footer__inner { display: flex; flex-direction: column; align-items: center; gap: var(--sp-4); text-align: center; }
.site-footer .brand-lockup__emblem { height: 72px; border-color: var(--c-paper); }
.site-footer .icon-btn { color: var(--c-paper); }
.site-footer .icon-btn--ghost:hover { background: var(--c-paper); color: var(--c-ink); border-color: var(--c-paper); }
.site-footer__meta { font-weight: 700; }
.site-footer__legal { font-size: .875rem; color: #C9CED3; }
.site-footer :focus-visible { outline-color: var(--c-sun); }

/* ---------- Registration page ---------- */

[data-page="registration"] { padding-top: var(--header-h); }

.reg {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - var(--header-h));
  display: grid; place-items: center;
  padding: var(--sp-8) 0;
  text-align: center;
  background: var(--c-paper);
}
.reg__shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.reg__shapes > span { position: absolute; border: var(--rule); }
.reg__circle { width: clamp(180px, 30vw, 420px); aspect-ratio: 1; left: -8%; bottom: -12%; border-radius: 50%; background: var(--c-blue); }
.reg__square { width: clamp(110px, 16vw, 220px); aspect-ratio: 1; right: -3%; top: 8%; background: var(--c-red); transform: rotate(12deg); }
.reg__triangle {
  width: clamp(120px, 16vw, 220px); aspect-ratio: 1.15; right: 12%; bottom: -4%;
  border: 0 !important; background: var(--c-ink); clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
/* yellow triangle inside the black one → black outline, like the other shapes */
.reg__triangle::after {
  content: ""; position: absolute; inset: 6px 4.5px 3px;
  background: var(--c-sun); clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
@media (max-width: 639px) { .reg__shapes { opacity: .35; } }

.reg__inner { display: flex; flex-direction: column; align-items: center; }
.reg__slot { width: 100%; display: flex; flex-direction: column; align-items: center; }
.reg__title { font-size: clamp(2.25rem, 1.4rem + 3.8vw, 4.5rem); margin-bottom: var(--sp-7); max-width: 16ch; }

.countdown {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%; max-width: 640px;
  border: var(--rule); background: var(--c-paper);
}
.countdown__unit {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-2);
  padding: clamp(16px, 3vw, 32px) var(--sp-2);
}
.countdown__unit + .countdown__unit { border-left: var(--rule); }
.countdown__unit:nth-child(1) { background: var(--c-blue-deep); color: var(--c-on-blue); }
.countdown__unit:nth-child(2) { background: var(--c-red); }
.countdown__unit:nth-child(3) { background: var(--c-sun); }
.countdown__num {
  font-family: var(--font-display); line-height: 1;
  font-size: clamp(2.25rem, 1rem + 5.5vw, 5rem);
  font-variant-numeric: tabular-nums;
}
.countdown__label { font-size: clamp(.875rem, .8rem + .3vw, 1rem); font-weight: 700; }

.reg__when { margin-top: var(--sp-6); font-size: 1.125rem; }
.reg__tz { color: var(--c-ink-soft); }
.reg__intro { margin-top: var(--sp-3) !important; color: var(--c-ink-soft); max-width: 52ch; }

/* Opening date to be announced */
.reg__tba {
  display: flex; align-items: center; gap: var(--sp-5);
  padding: var(--sp-5) var(--sp-6); margin-bottom: var(--sp-5);
  border: var(--rule); background: var(--c-sun); text-align: left;
}
.reg__tba p { display: flex; flex-direction: column; font-size: 1.125rem; }
.reg__tba strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.1; }
.reg__tba-stamp {
  flex: none; display: grid; place-items: center;
  width: 84px; aspect-ratio: 1; border-radius: 50%;
  border: var(--rule); background: var(--c-red);
  font-family: var(--font-display); font-size: 1.25rem; transform: rotate(-10deg);
}
.reg__follow { margin-top: var(--sp-4); }
.reg__follow .icon { width: 20px; height: 20px; }

.reg__form { width: 100%; max-width: 760px; }
.reg__form iframe { width: 100%; height: 1400px; border: var(--rule); background: var(--c-paper); }

.reg__back {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  min-height: 44px; margin-top: var(--sp-7); padding: 0 var(--sp-3);
  font-weight: 700; color: var(--c-ink);
  text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--c-red);
}
.reg__back:hover { text-decoration-color: var(--c-ink); }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

