/* ==========================================================================
   PhysioPro — NIGHT SESSION design system · CORE (proof of concept)
   Shared by every page: tokens, type, nav, menu, buttons, links, forms, footer,
   dock, toast, reveal. Page layers: home.css (film scenes), editorial.css (long-form).
   Law: one ember per frame. Orange is light, never paint.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-sub.woff2") format("woff2");
  font-weight: 700 900;
  font-stretch: 62% 75%;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-sub.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  /* Canonical production palette */
  --bg: #0a0a0a;
  --surface: #121212;
  --text: #f5f5f5;
  --text-2: #a1a1a1;
  --text-on-image: #e8e6e3;
  --ember: #ff8a00;
  --glow: #ffb06e;
  --line: rgba(245, 245, 245, 0.16);

  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 5vw, 72px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --scene-h: 100svh;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, p, ul, ol, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

/* Film grain — static, cheap, subtle */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 12px 16px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--glow); outline-offset: 4px; }

/* ---------- Type ---------- */
.display {
  display: block;
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 850;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.005em;
  color: var(--text);
  text-wrap: balance;
}
.display > span { display: block; }
.display > span.ember { display: inline; }
.display--xl   { font-size: clamp(4.6rem, 21vw, 15.5rem); }
.display--lg   { font-size: clamp(3.1rem, 12.5vw, 8.75rem); max-width: 13ch; }
.display--word { font-size: clamp(4.5rem, 20vw, 16rem); letter-spacing: -0.01em; }

.lede {
  display: block;
  font-family: var(--body);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  letter-spacing: 0.01em;
  color: var(--text-on-image);
  margin-bottom: 0.6em;
  text-transform: none;
}
.label {
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-image);
  margin-bottom: 18px;
}
.label--lg { font-size: 13px; color: var(--text); margin-bottom: 26px; }
.support {
  max-width: 42ch;
  margin-top: 18px;
  text-wrap: pretty;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: var(--text-on-image);
}
.support--strong {
  font-weight: 700;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  color: var(--text);
  margin-top: 22px;
}
.credential { margin-top: 26px; font-size: 13.5px; color: rgba(245, 245, 245, 0.72); line-height: 1.7; }

/* The single ember glyph / glow word */
.ember { color: var(--ember); text-shadow: 0 0 0.12em rgba(255, 138, 0, 0.45); }

/* ---------- Navigation (minimal chrome) ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: max(14px, env(safe-area-inset-top)) var(--gutter) 14px;
  transition: background 0.5s var(--ease);
}
.nav.is-solid { background: linear-gradient(rgba(10, 10, 10, 0.92), rgba(10, 10, 10, 0)); }
.nav__brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 19px;
  letter-spacing: 0.06em; text-transform: uppercase;
  min-height: 44px;
}
.nav__right { display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); }
.nav__right a, .nav__menu {
  font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--text); background: none; border: 0; cursor: pointer;
  min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 2px;
}
.nav__lang { color: rgba(245, 245, 245, 0.72) !important; }
.nav { transition: background 0.5s var(--ease), transform 0.45s var(--ease); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__link { display: none !important; color: rgba(245, 245, 245, 0.78) !important; }
.nav__link[aria-current="page"] { color: var(--text) !important; }
@media (min-width: 1024px) { .nav__link { display: inline-flex !important; } }
/* The two service names need to remain legible alongside the established desktop links.
   At tablet widths, compress the existing chrome rather than wrapping a primary path. */
@media (min-width: 1024px) and (max-width: 1100px) {
  .nav__right { gap: 14px; }
  .nav__right a, .nav__menu { font-size: 12px; letter-spacing: 0.1em; white-space: nowrap; }
}
/* Reading progress (editorial pages): a hairline of white light, never orange */
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(245,245,245,0.08); }
.progress span { display: block; height: 100%; background: rgba(245,245,245,0.7); transform-origin: left; transform: scaleX(var(--p, 0)); }
.nav__book { position: relative; }
.nav__book::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 10px; height: 1px;
  background: currentColor; transform-origin: left; transition: transform 0.4s var(--ease);
}
@media (hover: hover) { .nav__book:hover::after { transform: scaleX(0.4); } .nav__right a:hover { color: var(--text) !important; } }

/* Full-screen menu */
.menu {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--bg); color: var(--text);
}
.menu::backdrop { background: var(--bg); }
.menu__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 88px var(--gutter) 40px; }
.menu__close {
  position: absolute; top: 14px; right: var(--gutter);
  font: 700 13px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase;
  background: none; color: var(--text); border: 0; min-height: 44px; min-width: 44px; cursor: pointer;
}
.menu__list { list-style: none; padding: 0; margin: 0; }
.menu__list a {
  display: block; text-decoration: none; padding: 4px 0;
  font-family: var(--display); font-stretch: 62%; font-weight: 850; text-transform: uppercase;
  font-size: clamp(3rem, 11vw, 7rem); line-height: 0.95;
  transition: color 0.3s;
}
.menu__list a:hover, .menu__list a:focus-visible { color: var(--glow); }
.menu__meta { margin-top: 40px; color: var(--text-2); font-size: 14px; }
html:has(.menu[open]) { overflow: hidden; }
.menu__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px var(--gutter); align-content: center; }
.menu__list a[aria-current="page"] { color: var(--text); }
.menu__list a { position: relative; font-size: clamp(2.4rem, min(7vw, 9.2svh), 5.6rem); }
/* Current page: a short line of light in the gutter — the menu's one ember */
.menu__list a[aria-current="page"]::before { content: ""; position: absolute; left: calc(-1 * min(var(--gutter), 40px) + 2px); top: 0.42em; width: min(calc(var(--gutter) - 6px), 28px); height: 2px; background: var(--ember); box-shadow: 0 0 12px rgba(255,138,0,0.7); }
.menu__aside { display: grid; gap: 28px; align-content: end; padding-bottom: 8px; }
.menu__aside .label { margin-bottom: 10px; color: var(--text-2); }
.menu__aside ul { list-style: none; margin: 0; padding: 0; }
.menu__aside li a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; font-size: 16px; }
.menu__aside li a:hover, .menu__aside li a:focus-visible { color: var(--glow); }
.menu__aside address { font-style: normal; color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 767px) {
  .menu__inner { grid-template-columns: 1fr; align-content: start; padding-top: 96px; gap: 36px; }
  .menu__list a { font-size: clamp(2.2rem, min(11vw, 6.6svh), 3.4rem); }
}

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 34px; }

/* POC-only provisional labels (hidden with ?clean) */
.poc-tag {
  position: absolute; right: var(--gutter); top: 76px; z-index: 2;
  max-width: 40ch; text-align: right;
  font: 600 10.5px/1.4 var(--body); letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(245, 245, 245, 0.82);
  border-right: 1px solid rgba(245, 245, 245, 0.5);
  text-shadow: 0 1px 8px rgba(0,0,0,0.9);
  padding-right: 10px;
}
.is-clean .poc-tag, .is-clean .poc-only { display: none; }
/* Inline variant: a label that sits in the flow (structural placeholders) */
.poc-tag--inline { position: static; max-width: none; text-align: left; border-right: 0; border-left: 1px solid rgba(245,245,245,0.5); padding: 0 0 0 10px; margin-bottom: 14px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Buttons ---------- */
.btn {
  --cut: 12px;
  display: inline-flex; text-decoration: none; color: var(--text);
  transition: filter 0.45s var(--ease);
  border: 0; padding: 0; background: none; font: inherit; cursor: pointer;
}
.btn__face {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  font: 700 14px/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  background:
    linear-gradient(rgba(245,245,245,0.9), rgba(245,245,245,0.9)) top left / calc(100% - var(--cut)) 1px no-repeat,
    linear-gradient(rgba(245,245,245,0.9), rgba(245,245,245,0.9)) bottom / 100% 1px no-repeat,
    linear-gradient(rgba(245,245,245,0.9), rgba(245,245,245,0.9)) left / 1px 100% no-repeat,
    linear-gradient(rgba(245,245,245,0.9), rgba(245,245,245,0.9)) right bottom / 1px calc(100% - var(--cut)) no-repeat,
    linear-gradient(225deg, transparent calc(var(--cut) * 0.707 - 0.5px), rgba(245,245,245,0.9) calc(var(--cut) * 0.707), transparent calc(var(--cut) * 0.707 + 0.75px)) top right / var(--cut) var(--cut) no-repeat,
    rgba(10, 10, 10, 0.28);
}
/* Light sweep */
.btn__face::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 176, 110, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn:focus-visible { filter: drop-shadow(0 0 14px rgba(255, 138, 0, 0.45)); }
.btn:focus-visible .btn__face::after { transform: translateX(120%); transition: transform 0.9s var(--ease); }
@media (hover: hover) {
  .btn:hover { filter: drop-shadow(0 0 14px rgba(255, 138, 0, 0.45)); }
  .btn:hover .btn__face::after { transform: translateX(120%); transition: transform 0.9s var(--ease); }
}
.btn:active .btn__face { transform: translateY(1px); }
.btn[aria-busy="true"] { pointer-events: none; opacity: 0.7; }
.btn[aria-busy="true"] .btn__face::after { animation: sweep 1s linear infinite; }
@keyframes sweep { from { transform: translateX(-120%); } to { transform: translateX(120%); } }

/* The ONE solid ember button (BOOK scene only) */
.btn--ember .btn__face { background: var(--ember); color: #0a0a0a; }
.btn--ember { filter: drop-shadow(0 0 22px rgba(255, 138, 0, 0.28)); }
.btn--ember:focus-visible { filter: drop-shadow(0 0 30px rgba(255, 138, 0, 0.55)); outline-color: var(--text); }
@media (hover: hover) { .btn--ember:hover { filter: drop-shadow(0 0 30px rgba(255, 138, 0, 0.55)); } }
.btn--ember .btn__face::after { background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%); }

.link {
  white-space: nowrap;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; text-decoration: none;
  font: 700 13.5px/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text);
}
.facts { margin-top: 26px; display: grid; gap: 8px; }
.facts li { position: relative; padding-left: 22px; font-weight: 600; color: var(--text); }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 12px; height: 1px; background: rgba(245,245,245,0.7); }
button.link { background: none; border: 0; padding: 0; cursor: pointer; }
.link::after { content: "→"; transition: transform 0.35s var(--ease); }
.link::before {
  content: ""; position: absolute; left: 0; right: 1.6em; bottom: 10px; height: 1px;
  background: rgba(245, 245, 245, 0.55);
  transition: background 0.35s, box-shadow 0.35s;
}
.link:focus-visible::after { transform: translateX(5px); }
.link:focus-visible::before { background: var(--glow); box-shadow: 0 0 10px rgba(255, 138, 0, 0.7); }
@media (hover: hover) {
  .link:hover::after { transform: translateX(5px); }
  .link:hover::before { background: var(--glow); box-shadow: 0 0 10px rgba(255, 138, 0, 0.7); }
}
.link:active { opacity: 0.75; }


.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 40px 18px 0; min-height: 44px;
  font-weight: 700; font-size: 16.5px; line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 14px;
  font: 400 26px/1 var(--body); color: var(--text-2); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: #cfcfcf; max-width: 60ch; }

.lead { display: grid; gap: 16px; }
.lead__note { font-size: 13px; color: var(--text-2); }
.lead label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; }
.lead input, .lead select, .lead textarea {
  font: 500 16px var(--body); color: var(--text);
  background: transparent; border: 0; border-bottom: 1px solid rgba(245,245,245,0.4); border-radius: 0;
  min-height: 46px; padding: 8px 0;
}
.lead select option { background: var(--surface); }
.lead textarea { resize: vertical; min-height: 132px; line-height: 1.55; border: 1px solid rgba(245,245,245,0.4); padding: 12px 14px; }
.lead textarea:focus-visible { outline: none; border-color: var(--glow); box-shadow: 0 0 0 1px var(--glow); }
.lead textarea[aria-invalid="true"] { border-color: #ff6b5a; }
.lead input:focus-visible, .lead select:focus-visible { outline: none; border-bottom-color: var(--glow); box-shadow: 0 1px 0 0 var(--glow); }
.lead__consent { display: flex !important; grid-template-columns: none; gap: 12px !important; align-items: flex-start; font-weight: 500 !important; letter-spacing: 0 !important; color: #cfcfcf; line-height: 1.5; }
.lead__consent input { min-height: 0; width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--ember); }
.lead .btn { justify-self: start; margin-top: 6px; }
.lead__status { font-size: 14px; color: var(--glow); min-height: 1.4em; }
.lead [aria-invalid="true"] { border-bottom-color: #ff6b5a; }
.lead__err { font-size: 13px; font-weight: 600; letter-spacing: 0; color: #ff9a8c; min-height: 0; }
.lead__err:empty { display: none; }
/* NB-2 form contract pieces: honeypot, character counter, Turnstile slot, privacy line, alternatives */
.lead__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead__count { justify-self: end; font-size: 12.5px; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; margin-top: -10px; }
.lead__count.is-near { color: var(--text); }
.lead__turnstile { display: grid; place-items: center; width: 100%; max-width: 300px; min-height: 65px; padding: 8px 12px; border: 1px dashed rgba(245,245,245,0.3); text-align: center; font-size: 12px; line-height: 1.4; letter-spacing: 0.04em; color: var(--text-2); }
.lead__privacy { font-size: 13px; line-height: 1.55; color: var(--text-2); }
.lead__privacy a, .lead__consent a { color: var(--text); text-underline-offset: 0.2em; }
.lead__alt { display: flex; flex-wrap: wrap; gap: 0 26px; align-items: center; border-top: 1px solid var(--line); padding-top: 8px; font-size: 13px; color: var(--text-2); }
.lead__alt .link { font-size: 12.5px; }
.lead__done { border-top: 1px solid var(--line); padding-top: 22px; }
.lead__done h3 { font-family: var(--display); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 2rem; line-height: 1; margin: 0 0 10px; }
.lead__done p { color: #cfcfcf; font-size: 15px; margin-bottom: 14px; }

.foot {
  display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 48px var(--gutter);
  padding: clamp(64px, 8vw, 104px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: #070707; color: var(--text-2); font-size: 14.5px;
}
.foot__brand { display: grid; gap: 18px; align-content: start; }
.foot__mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text);
  font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; min-height: 44px; }
.foot__line { font-family: var(--display); font-stretch: 62%; font-weight: 800; text-transform: uppercase; color: var(--text); font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 0.95; max-width: 12ch; }
.foot__brand .btn { justify-self: start; margin-top: 6px; }
.foot__col .label { color: var(--text-2); margin-bottom: 12px; }
.foot__col ul { list-style: none; margin: 0; padding: 0; }
.foot__col li a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px; line-height: 1.35; }
.foot__col li a:focus-visible { color: var(--glow); }
@media (hover: hover) { .foot__col li a:hover, .foot__legal a:hover { color: var(--glow); } }
.foot address { font-style: normal; color: var(--text); margin-bottom: 6px; line-height: 1.55; }
.foot__col p { margin-bottom: 6px; }
.foot__bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 32px; border-top: 1px solid var(--line); padding-top: 18px; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot__legal a { color: var(--text-2); text-decoration: none; font-size: 13.5px; min-height: 44px; display: inline-flex; align-items: center; }
.foot__fine { font-size: 12.5px; }
@media (min-width: 768px) and (max-width: 1100px) { .foot { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot__brand { grid-column: 1 / -1; } }

/* Mobile booking dock */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: none; grid-template-columns: 1.3fr 1fr;
  padding: 0 0 env(safe-area-inset-bottom);
  background: rgba(10, 10, 10, 0.94);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.45s var(--ease);
}
.dock.is-shown { transform: none; }
.dock a {
  display: flex; align-items: center; justify-content: center; min-height: 52px; text-decoration: none;
  font: 700 13px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase;
}
.dock__book { box-shadow: inset 0 -2px 0 0 var(--ember); }
.dock__ask { color: var(--text-2); border-left: 1px solid var(--line); }

.toast {
  position: fixed; left: 50%; bottom: 84px; z-index: 60; transform: translate(-50%, 20px);
  max-width: min(92vw, 460px); padding: 14px 18px;
  background: #161412; border: 1px solid rgba(255, 176, 110, 0.4); color: var(--text); font-size: 14px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Responsive — core
   ========================================================================== */
@media (max-width: 767px) {
  html { scroll-padding-bottom: 72px; }
  .dock { display: grid; }
  .nav__lang { display: none !important; }
  .poc-tag { top: 70px; max-width: 26ch; font-size: 9.5px; }
  .foot { grid-template-columns: 1fr 1fr; gap: 40px 20px; padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .foot__brand, .foot__col--clinic { grid-column: 1 / -1; }
}

/* ==========================================================================
   Motion — only when the viewer allows it. Content is fully visible by default.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Fallback reveal (IntersectionObserver adds .is-in) */
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
  .js .reveal--focus { filter: blur(10px); transform: translateY(8px) scale(1.015); }
  .js .reveal.is-in { opacity: 1; transform: none; filter: none; }
  .js .reveal:nth-child(2).is-in { transition-delay: 0.08s; }
  .js .reveal:nth-child(3).is-in { transition-delay: 0.16s; }
  .js .reveal:nth-child(4).is-in { transition-delay: 0.24s; }
  .js .reveal:nth-child(5).is-in { transition-delay: 0.32s; }
}
@media (prefers-reduced-motion: no-preference) {
  .menu[open] .menu__list li { animation: menu-in 0.6s var(--ease) both; }
  .menu[open] .menu__list li:nth-child(2) { animation-delay: 0.05s; }
  .menu[open] .menu__list li:nth-child(3) { animation-delay: 0.1s; }
  .menu[open] .menu__list li:nth-child(4) { animation-delay: 0.15s; }
  .menu[open] .menu__list li:nth-child(5) { animation-delay: 0.2s; }
  .menu[open] .menu__list li:nth-child(6) { animation-delay: 0.25s; }
  .menu[open] .menu__list li:nth-child(7) { animation-delay: 0.3s; }
  .menu[open] .menu__list li:nth-child(8) { animation-delay: 0.35s; }
  .menu[open] .menu__aside { animation: menu-in 0.8s 0.2s var(--ease) both; }
  @keyframes menu-in { from { opacity: 0; transform: translateY(14px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav { transition: none; }
}
/* NB-2: current page in the menu aside / legal row (white, the ember stays on the menu list) */
.menu__aside li a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
.foot__legal a[aria-current="page"] { color: var(--text); }
