/* ==========================================================================
   Eva Nativ (demo): main.css — built on templates/premium
   DESIGN PLAN (full notes: clients/eva-nativ/design.md)
   - "Ink and pigment": porcelain page like skin, one deep plum "ink" panel for
     tattoos, soft blush for permanent makeup. Arch frames as the recurring motif.
   - Type: Noto Serif Hebrew (light) for headings, Rubik for text.
   - One motion moment: "ink and pigment". On large screens the services section is
     pinned and the screen floods with ink (tattoos), then with pigment (PMU).

   CONTRAST (WCAG AA, checked): ink/porcelain 14.1, berry/porcelain 6.6,
   mauve/porcelain 7.0, freckle/porcelain 5.6, freckle/blush 4.9, berry/blush 5.7,
   white/berry 7.6, porcelain/ink 14.1, petal/ink 8.9, lilac/ink 8.3, error/porcelain 6.5.
   ========================================================================== */

:root {
  --porcelain: #F4EEEF;
  --blush: #EBDDE0;
  --blush-deep: #E3B7C3;
  --ink: #2B1B2E;
  --ink-line: #4A3450;
  --berry: #8E3552;
  --berry-deep: #722741;
  --freckle: #7B5646;
  --mauve: #5E4A5C;
  --petal: #E6B3C0;
  --lilac: #C9B3C4;
  --line: #D6C4CA;
  --white: #FBF8F8;
  --error: #A31F3A;
  --focus: var(--berry);

  --font-display: "Noto Serif Hebrew", "David", "Times New Roman", serif;
  --font-text: "Rubik", "Segoe UI", "Arial", sans-serif;

  --step--1: clamp(0.9rem, 0.87rem + 0.1vw, 0.975rem);
  --step-0: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.35rem + 1vw, 2.25rem);
  --step-3: clamp(2.6rem, 1.7rem + 3.6vw, 4.75rem);
  --step-4: clamp(3.2rem, 1.4rem + 6.2vw, 7.25rem);

  --gutter: clamp(1rem, 0.5rem + 3vw, 3rem);
  --header-h: 4.25rem;
  --radius-pill: 999px;
  --radius-field: 4px;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.7;
}

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

p { margin: 0 0 1em; }

a {
  color: var(--berry);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3, h4 { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }

[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

.container { width: min(100% - 2 * var(--gutter), 78rem); margin-inline: auto; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -10rem;
  inset-inline-start: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--porcelain);
  border-radius: var(--radius-field);
  text-decoration: none;
  font-weight: 600;
  --focus: var(--petal);
}
.skip-link:focus { top: 1rem; }

.ph-text {
  padding: 0.05em 0.4em;
  border: 1px dashed var(--mauve);
  border-radius: 3px;
  color: var(--mauve);
  font-size: var(--step--1);
  white-space: nowrap;
}

/* ---------- Demo banner ---------- */
.demo-banner {
  --focus: var(--petal);
  background: var(--ink);
  color: var(--porcelain);
  font-size: var(--step--1);
  line-height: 1.5;
  text-align: center;
  padding: 0.6rem var(--gutter);
}
.demo-banner p { margin: 0; }
.demo-banner strong { color: var(--petal); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.65rem 1.7rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font: 500 var(--step-0) / 1.2 var(--font-text);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--primary { background: var(--berry); color: var(--white); }
.btn--primary:hover { background: var(--berry-deep); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: currentColor; }
.btn--ghost:hover { background: var(--ink); color: var(--porcelain); border-color: var(--ink); }
.btn--petal { background: var(--petal); color: var(--ink); }
.btn--petal:hover { background: var(--porcelain); color: var(--ink); }
.btn--small { min-height: 2.5rem; padding: 0.4rem 1.15rem; font-size: var(--step--1); }

.text-link {
  font-weight: 600;
  color: var(--berry);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--porcelain);
  border-bottom: 1px solid var(--line);
}

.site-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  min-height: var(--header-h);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.85rem;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.site-nav { margin-inline-start: auto; }

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__list a:not(.btn) { color: var(--ink); text-decoration: none; padding-block: 0.5rem; }
.site-nav__list a:not(.btn):hover { text-decoration: underline; }

.nav-toggle,
.motion-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.4rem 0.9rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  font: 500 var(--step--1) / 1.2 var(--font-text);
  cursor: pointer;
}
.nav-toggle__icon { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.motion-toggle__icon { width: 1rem; height: 1rem; fill: currentColor; }

.js .motion-toggle { display: inline-flex; }
.motion-toggle[aria-pressed="true"] { background: var(--ink); color: var(--porcelain); }
.motion-toggle[aria-disabled="true"] { cursor: not-allowed; }

@media (max-width: 959.98px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav__list {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--porcelain);
    border-bottom: 1px solid var(--line);
  }
  .js .site-nav__list.is-open { display: flex; }
  .js .site-nav__list a:not(.btn) {
    display: block;
    padding-block: 0.85rem;
    border-bottom: 1px solid var(--line);
    font-size: var(--step-1);
  }
  .js .site-nav__cta { padding-top: 1rem; }
  .js .site-nav__cta .btn { width: 100%; min-height: 3rem; font-size: var(--step-0); }
}

@media (max-width: 479.98px) {
  .wordmark { font-size: 1.75rem; }
  .nav-toggle span,
  .motion-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .nav-toggle,
  .motion-toggle { min-width: 2.75rem; min-height: 2.75rem; justify-content: center; padding: 0.4rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  overflow: clip;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}

.hero__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: var(--step-4);
  line-height: 1.02;
  color: var(--ink);
}
.hero__line { display: block; }

.hero__lead {
  max-width: 40ch;
  margin-bottom: 1.75rem;
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.6;
  color: var(--mauve);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero__art { justify-self: center; width: min(100%, 20rem); }
.door { width: 100%; height: auto; }
.door__outer { fill: var(--ink); }
.door__inner { fill: #3A2640; }
.door__line { fill: none; stroke: var(--petal); stroke-width: 1.2; }
.door__freckles { fill: var(--petal); }
.door__words { font-family: var(--font-display); font-weight: 300; font-size: 27px; fill: var(--petal); letter-spacing: 0.02em; }
.door__drop { fill: #B5566F; }

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    column-gap: clamp(2rem, 5vw, 5rem);
  }
  .hero__art { width: 100%; max-width: 27rem; justify-self: end; }
}

/* Only while the entrance animation is about to run (js/boot.js + js/motion.js). */
.intro-pending [data-intro] { visibility: hidden; }

/* ---------- Facts band ---------- */
.facts-band { border-block: 1px solid var(--line); }
.facts {
  display: grid;
  gap: 1rem 2rem;
  margin-block: 0;
  padding-block: 1.5rem;
}
.facts dt { font-size: var(--step--1); color: var(--freckle); }
.facts dd { margin: 0; font-weight: 600; }

@media (min-width: 560px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Generic sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }

.section-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--step-3);
  line-height: 1.05;
}

.section-intro { max-width: 56ch; color: var(--mauve); font-size: var(--step-1); font-weight: 300; line-height: 1.6; }

/* ---------- Ink & pigment: static (default, no JS, reduced motion, paused, phones) ---------- */
.flood { position: relative; }
.flood__base { padding-block: clamp(4rem, 9vw, 7rem) clamp(3rem, 6vw, 4.5rem); }
.flood__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: var(--step-4);
  line-height: 1;
}
.flood__drop { display: none; }

.flood__layer { padding-block: clamp(4rem, 8vw, 6.5rem); }
.flood__layer--ink { --focus: var(--petal); background: var(--ink); color: var(--porcelain); }
.flood__layer--pigment { background: var(--blush); }

.layer { display: grid; gap: 2.5rem 4rem; align-items: center; }
.layer__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 1.8rem + 5vw, 6.25rem);
  line-height: 1;
}
.layer__lead { max-width: 38ch; font-size: var(--step-1); font-weight: 300; line-height: 1.6; }
.flood__layer--ink .layer__lead { color: var(--lilac); }
.flood__layer--pigment .layer__lead { color: var(--mauve); }
.layer__ru { margin: 0 0 0.5rem; font-size: var(--step--1); color: var(--freckle); text-align: right; }
.layer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.flood__layer--ink .text-link { color: var(--petal); }

.layer__sub { margin: 0 0 0.5rem; font-size: var(--step--1); font-weight: 500; color: var(--petal); }
.layer__styles { margin: 0; padding: 0; list-style: none; }
.layer__styles li {
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--ink-line);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--step-2);
  line-height: 1.25;
}

.treatments { margin: 0; }
.treatment { padding-block: 1rem; border-top: 1px solid var(--line); }
.treatment:first-child { padding-top: 0; border-top: 0; }
.treatment dt { font-family: var(--font-display); font-weight: 300; font-size: var(--step-2); line-height: 1.25; }
.treatment dd { margin: 0.25rem 0 0; color: var(--mauve); }

.prices { width: 100%; margin-top: 1.25rem; border-collapse: collapse; }
.prices caption { padding-bottom: 0.4rem; font-weight: 500; text-align: start; }
.prices th,
.prices td { padding-block: 0.55rem; border-bottom: 1px dotted var(--mauve); text-align: start; font-weight: 400; }
.prices td { text-align: end; }

@media (min-width: 900px) {
  .layer { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}

/* ---------- Ink & pigment: staged (pinned + flooded, class added by js/motion.js) ---------- */
.flood.is-staged {
  height: calc(100vh - var(--hh, 4.25rem));
  height: calc(100svh - var(--hh, 4.25rem));
  overflow: hidden;
}
.flood.is-staged .flood__base,
.flood.is-staged .flood__layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-block: clamp(1.5rem, 5vh, 3rem);
}
.flood.is-staged .flood__layer { will-change: clip-path; }
.flood.is-staged .flood__intro { text-align: center; margin-top: -8vh; }
.flood.is-staged .flood__intro .section-intro { margin-inline: auto; }
/* The drop sits exactly where the flood starts (50% 82%, see js/motion.js). */
.flood.is-staged .flood__drop {
  display: block;
  position: absolute;
  left: 50%;
  top: 82%;
  width: 1.25rem;
  height: 1.25rem;
  margin: -0.625rem 0 0 -0.625rem;
  border-radius: 50%;
  background: var(--ink);
}
.flood.is-staged .flood__drop--pigment { background: var(--petal); }

/* ---------- Work (placeholders) ---------- */
.work__head { margin-bottom: clamp(2rem, 4vw, 3rem); }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "a b"
    "a d"
    "c e"
    "c e";
  grid-auto-rows: 10.5rem;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.frame--a { grid-area: a; }
.frame--b { grid-area: b; }
.frame--c { grid-area: c; }
.frame--d { grid-area: d; }
.frame--e { grid-area: e; }

.frame__ph {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.25rem;
  height: 100%;
  padding: 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.frame--a .frame__ph,
.frame--c .frame__ph { border-radius: 999px 999px 2px 2px; }

.frame__kind { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; }
.frame__note { font-size: var(--step--1); color: var(--mauve); line-height: 1.4; }

.frame__ph--ink { background: var(--ink); border-color: var(--ink); color: var(--porcelain); }
.frame__ph--ink .frame__note { color: var(--lilac); }
.frame__ph--blush { background: var(--blush); }
.frame__ph--freckles {
  background-color: var(--white);
  background-image: radial-gradient(circle, rgba(123, 86, 70, 0.28) 1.6px, transparent 2px);
  background-size: 22px 26px;
}
.frame__ph--freckles .frame__kind,
.frame__ph--freckles .frame__note { background: var(--white); align-self: flex-start; padding-inline: 0.3rem; }

.work__more { margin: 1.75rem 0 0; }

@media (min-width: 900px) {
  .gallery {
    grid-template-columns: 1.15fr 1fr 1fr 1.15fr;
    grid-template-areas:
      "a b b c"
      "a d e c";
    grid-auto-rows: 15rem;
    gap: 1rem;
  }
}

/* ---------- Reviews ---------- */
.reviews { background: var(--white); border-block: 1px solid var(--line); }
.reviews__grid { display: grid; gap: 2rem 4rem; align-items: start; }
.reviews__text p { max-width: 44ch; }
.reviews__ph { color: var(--mauve); font-size: var(--step--1); }

.ratings { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.rating {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "score what"
    "score stars"
    "score count";
  column-gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.rating:hover .rating__what { text-decoration: underline; }
.rating__score { grid-area: score; font-family: var(--font-display); font-size: var(--step-3); line-height: 1; color: var(--berry); }
.rating__what { grid-area: what; font-weight: 600; font-size: var(--step-1); }
.rating__stars { grid-area: stars; }
.rating__stars svg { width: 6.5rem; height: auto; fill: var(--berry); }
.rating__count { grid-area: count; font-size: var(--step--1); color: var(--mauve); }

.reviews__note { grid-column: 1 / -1; margin: 0; font-size: var(--step--1); color: var(--mauve); }

@media (min-width: 900px) {
  .reviews__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .ratings { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}

/* ---------- Studio ---------- */
.studio__grid { display: grid; gap: 3rem; align-items: start; }
.studio__text > p { max-width: 44ch; }

.studio__quote { margin: 0 0 1.5rem; }
.studio__quote blockquote { margin: 0; }
.studio__quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.2;
  color: var(--berry);
  text-align: right;
}
.studio__quote p::before { content: "\201C"; }
.studio__quote p::after { content: "\201D"; }
.studio__quote figcaption { font-size: var(--step--1); color: var(--mauve); }

.contact-list { margin: 2rem 0 0; }
.contact-list > div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 0.75rem;
  border-top: 1px solid var(--line);
}
.contact-list dt { color: var(--freckle); font-size: var(--step--1); padding-top: 0.15rem; }
.contact-list dd { margin: 0; }

.studio__map {
  overflow: hidden;
  border-radius: 999px 999px 2px 2px;
  border: 1px solid var(--line);
  background: var(--blush);
  aspect-ratio: 4 / 5;
  max-height: 40rem;
}
.studio__map iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (min-width: 900px) {
  .studio__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(3rem, 6vw, 6rem); }
}

/* ---------- Booking form ---------- */
.book { background: var(--blush); }
.book__grid { display: grid; gap: 2.5rem; }
.book__intro p { max-width: 40ch; }
.book__privacy-note { font-size: var(--step--1); color: var(--mauve); }

.book-form { display: grid; gap: 1.25rem 1.5rem; align-content: start; }

.field label { display: block; margin-bottom: 0.35rem; font-weight: 600; }
.req,
.opt { font-size: var(--step--1); font-weight: 400; color: var(--mauve); }

.book-form input[type="text"],
.book-form input[type="tel"],
.book-form select,
.book-form textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--mauve);
  border-radius: var(--radius-field);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: var(--step-0);
  line-height: 1.4;
}
.book-form input[dir="ltr"] { text-align: right; }
.book-form textarea { min-height: 8rem; resize: vertical; }
.book-form .field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }

.field__hint { margin: 0.35rem 0 0; font-size: var(--step--1); color: var(--mauve); }
.field__error { margin: 0.4rem 0 0; font-size: var(--step--1); font-weight: 600; color: var(--error); }

.field--check { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 0.75rem; }
.field--check input { width: 1.375rem; height: 1.375rem; margin: 0.25rem 0 0; accent-color: var(--berry); }
.field--check label { margin: 0; font-weight: 400; }
.field--check .field__error { grid-column: 1 / -1; }

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--berry);
  border-radius: var(--radius-field);
  background: var(--white);
  color: var(--ink);
}
.form-status[data-state="error"] { border-color: var(--error); }
.form-status p { margin: 0; }
.form-status p + p { margin-top: 0.4rem; }

.form-noscript { margin: 0; font-weight: 600; }

@media (min-width: 640px) {
  .book-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--wide { grid-column: 1 / -1; }
}

@media (min-width: 960px) {
  .book__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 6rem); }
}

/* ---------- Footer ---------- */
.site-footer {
  --focus: var(--petal);
  background: var(--ink);
  color: var(--porcelain);
  padding-block: 3.5rem 2.5rem;
}
.site-footer a { color: var(--porcelain); }
.site-footer__grid { display: grid; gap: 2rem; }
.wordmark--footer { margin: 0 0 0.75rem; font-size: 2.75rem; color: var(--porcelain); }
.site-footer__links { display: flex; flex-direction: column; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.site-footer__demo {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink-line);
  font-size: var(--step--1);
  color: var(--lilac);
}

@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr) auto; }
}

/* ---------- Legal pages ---------- */
.page-header .site-header__bar { justify-content: space-between; }
.legal { padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 6rem); }
.legal__body { max-width: 68ch; }
.legal h1 { margin: 0 0 1rem; font-family: var(--font-display); font-weight: 300; font-size: var(--step-3); line-height: 1.05; }
.legal h2 { margin: 2.5rem 0 0.75rem; font-size: var(--step-2); line-height: 1.25; font-weight: 600; }
.legal ul { padding-inline-start: 1.25rem; }
.legal li { margin-bottom: 0.4rem; }
.legal .updated { color: var(--mauve); }
.ph { padding: 0 0.2em; border-radius: 3px; background: var(--blush-deep); color: var(--ink); }

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

.motion-off *,
.motion-off *::before,
.motion-off *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

/* ---------- Windows high contrast / forced colors ---------- */
@media (forced-colors: active) {
  .btn,
  .motion-toggle,
  .nav-toggle { border: 1.5px solid ButtonText; }
  .motion-toggle[aria-pressed="true"] { outline: 2px solid Highlight; }
}
