/* NEXT Daily Prayer — styles
   Layout: one reading column, like a printed devotional sheet. A charcoal
   NEXT masthead, today's prayer on a single paper sheet with the booklet's
   one big rounded corner, and Bedrock orange used as a thread (chevrons,
   labels, the date arrows). Brand colors live in the tokens below. */

:root {
  /* Brand (from the NEXT logo and the NEXT booklet) */
  --next-charcoal: #424545;
  --next-orange: #FF9E40;
  --flame-a: #F79D0F;          /* Bedrock gradient, light end */
  --flame-b: #F14721;          /* Bedrock gradient, deep end */
  --brown: #46352C;            /* booklet panels */

  /* Theme tokens (light) */
  --ground: #F3EEEA;
  --paper: #FFFFFF;
  --ink: #231F20;
  --ink-2: #5E544D;
  --line: #E6DDD5;
  --masthead: var(--next-charcoal);
  --on-dark: #FFFFFF;
  --on-dark-2: #D9D2CC;
  --panel: var(--brown);
  --panel-accent: #FFB36B;
  --accent-ink: #B4410F;
  --peach: #FFF1E6;
  --btn-a: #F8A21B;
  --btn-b: #F2652A;
  --btn-ink: #231F20;
  --done-bg: #424545;
  --done-fg: #FFFFFF;
  --focus: #B4410F;
  --shadow: 0 1px 2px rgba(35, 31, 32, .06), 0 18px 40px -18px rgba(70, 53, 44, .35);

  /* Type */
  --font-display: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --step--1: .8125rem;
  --step-0: clamp(1.0625rem, 1.03rem + .15vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.18rem + .35vw, 1.45rem);
  --step-2: clamp(1.4rem, 1.3rem + .5vw, 1.7rem);
  --step-3: clamp(2.25rem, 1.85rem + 2vw, 3.4rem);

  /* Space */
  --gutter: 1.25rem;
  --measure: 40rem;
  --corner: 2.75rem;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #171412;
    --paper: #221D1A;
    --ink: #F4EDE7;
    --ink-2: #C9BDB3;
    --line: #3A322C;
    --masthead: #2E3131;
    --panel: #3B2C24;
    --panel-accent: #FFB36B;
    --accent-ink: #FFA66B;
    --peach: #33261E;
    --done-bg: #F4EDE7;
    --done-fg: #231F20;
    --focus: #FFA66B;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #171412;
  --paper: #221D1A;
  --ink: #F4EDE7;
  --ink-2: #C9BDB3;
  --line: #3A322C;
  --masthead: #2E3131;
  --panel: #3B2C24;
  --panel-accent: #FFB36B;
  --accent-ink: #FFA66B;
  --peach: #33261E;
  --done-bg: #F4EDE7;
  --done-fg: #231F20;
  --focus: #FFA66B;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.15; text-wrap: balance; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--paper); color: var(--ink); padding: .75rem 1rem; border-radius: .5rem;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + .75rem); }

.chev { width: 1.6em; height: .95em; fill: currentColor; flex: none; }
.lord { font-variant-caps: small-caps; font-variant: small-caps; letter-spacing: .02em; }

/* ---------- Masthead ---------- */
.masthead {
  position: relative;
  overflow: hidden;
  background-color: var(--masthead);
  color: var(--on-dark);
  padding: calc(env(safe-area-inset-top, 0px) + 1.25rem) var(--gutter) 5.25rem;
  isolation: isolate;
}
.masthead::before { /* Bedrock gradient strip */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, var(--flame-a), var(--flame-b));
}
.masthead__bg { /* oversized booklet chevrons */
  position: absolute; right: -3.5rem; top: 50%; width: 30rem; max-width: none;
  transform: translateY(-50%); fill: #FFFFFF; opacity: .045; z-index: -1; pointer-events: none;
}
.masthead__inner { max-width: var(--measure); margin: 0 auto; display: grid; gap: 1.25rem; }
.church-logo { display: inline-flex; width: max-content; color: var(--on-dark); border-radius: 6px; }
.church-logo svg { height: 1.9rem; width: auto; }
.masthead__title { margin-top: .75rem; }
.masthead__title svg { display: block; width: clamp(10.5rem, 42vw, 15rem); height: auto; color: var(--on-dark); }
.masthead__tag {
  font-weight: 300; font-size: var(--step-1); line-height: 1.35; color: var(--on-dark-2); max-width: 28ch;
}
.masthead__tag em { font-family: var(--font-display); font-style: italic; font-weight: 600; color: var(--on-dark); }

/* ---------- Today sheet ---------- */
main { display: block; }
.sheet > * { min-width: 0; }
.sheet {
  position: relative;
  max-width: var(--measure);
  margin: -3.5rem auto 0;
  background: var(--paper);
  border-radius: 0 var(--corner) 0 0;
  padding: 2rem var(--gutter) 1.75rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  animation: rise .7s cubic-bezier(.2, .7, .2, 1) both;
}
.sheet.is-entering { animation: enter .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { transform: translateY(14px); } }
@keyframes enter { from { opacity: .35; transform: translateY(10px); } }

.sheet__head { display: grid; gap: .35rem; }
.datebar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.datebar__label { display: grid; gap: .3rem; min-width: 0; }
.datebar__nav { display: flex; gap: .5rem; flex: none; }
.datebar__step {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  border: 2px solid var(--line); color: var(--ink); text-decoration: none;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.datebar__step .ico { width: 1.35rem; height: 1.35rem; fill: currentColor; }
a.datebar__step:hover { border-color: var(--accent-ink); color: var(--accent-ink); background: var(--peach); }
.datebar__step[data-off] { opacity: .3; }
.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-size: var(--step--1); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow .chev { width: 1.7rem; height: .95rem; }
.eyebrow .sep { opacity: .6; }
.sheet__date { color: var(--ink-2); font-weight: 500; }
.theme {
  margin-top: .6rem;
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: var(--step-3); line-height: 1.04; letter-spacing: -.01em;
}
.theme--long { font-size: clamp(1.9rem, 1.55rem + 1.6vw, 2.6rem); line-height: 1.12; }
.theme:focus { outline: none; }
.theme:focus-visible { outline: 3px solid var(--focus); }

.block { display: grid; gap: .85rem; }
.label {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-size: var(--step--1); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink);
}
.label .chev { width: 1.55rem; height: .9rem; }

/* Scripture: serif, larger, set apart from original writing */
.scripture { margin: 0; }
.scripture p {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--step-2); line-height: 1.5; color: var(--ink);
  hanging-punctuation: first;
}
.ref {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: baseline;
  font-size: .9375rem; font-weight: 600; color: var(--ink-2);
}
.ref cite { font-style: normal; color: var(--ink); }
.ref abbr { text-decoration: none; letter-spacing: .08em; font-size: .8125rem; }
.placeholder-tag {
  font-size: .875rem; font-weight: 600; color: var(--ink);
  background: var(--peach); border: 2px dashed var(--accent-ink); border-radius: .6rem; padding: .5rem .75rem;
}

.block--reflection p + p { margin-top: .9rem; }
.block--reflection { gap: .85rem; }
.block--reflection > p { max-width: 62ch; }

/* Prayer: booklet brown panel */
.block--prayer {
  background: var(--panel); color: var(--on-dark);
  border-radius: 0 2rem 0 0;
  padding: 1.5rem 1.35rem 1.6rem;
  margin-inline: calc(var(--gutter) * -.35);
}
.block--prayer .label { color: var(--panel-accent); }
.block--prayer p { font-size: calc(var(--step-0) * 1.03); line-height: 1.78; }
.points { margin: 0; padding-left: 1.15rem; display: grid; gap: .6rem; }
.points li::marker { color: var(--panel-accent); }

/* Carry this today */
.block--prompt {
  background: var(--peach); border-radius: 0 0 0 2rem;
  padding: 1.35rem 1.35rem 1.5rem;
  margin-inline: calc(var(--gutter) * -.35);
}
.prompt {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: var(--step-1); line-height: 1.4; color: var(--ink);
}

/* ---------- Actions ---------- */
.actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; padding-top: .25rem; }
.actions > * { min-width: 0; }
.btn {
  -webkit-appearance: none; appearance: none;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.5rem; width: 100%;
  padding: .75rem 1.25rem;
  border-radius: 1rem; border: 2px solid transparent;
  font: 600 1.0625rem/1.2 var(--font-body);
  cursor: pointer; text-decoration: none;
  transition: transform .15s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:active { transform: scale(.985); }
.btn .ico { width: 1.35rem; height: 1.35rem; fill: currentColor; flex: none; }

.btn--share { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--share:hover { background: var(--peach); }
.btn--small { width: auto; min-height: 3rem; padding: .5rem 1.1rem; background: var(--ink); color: var(--paper); }
.btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--ink); width: auto; padding-inline: 1.5rem; }

.status { min-height: 1.5em; font-weight: 500; color: var(--ink); }
.status:empty { min-height: 0; }
.share-fallback { display: grid; gap: .4rem; }
.share-fallback label { font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.share-fallback__row { display: flex; gap: .5rem; }
.share-fallback input {
  flex: 1 1 auto; width: 100%; min-width: 0; min-height: 3rem; padding: .5rem .75rem;
  font: 500 1rem var(--font-body); color: var(--ink); background: var(--ground);
  border: 1px solid var(--line); border-radius: .75rem;
}

.banner {
  font-size: .9375rem; line-height: 1.5; background: var(--peach); color: var(--ink);
  border-radius: .75rem; padding: .75rem 1rem;
}
.banner--preview { border: 2px dashed var(--accent-ink); }
.banner a { font-weight: 600; }

.daynav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem;
  border-top: 1px solid var(--line); padding-top: 1rem; margin-top: -.25rem;
  font-size: .9375rem; font-weight: 600;
}
.daynav a { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.75rem; text-decoration: none; color: var(--ink); }
.daynav a:hover { color: var(--accent-ink); text-decoration: underline; }
.daynav > :last-child { justify-self: end; }
.to-today {
  justify-self: start; display: inline-flex; align-items: center; gap: .35rem; min-height: 2.5rem;
  padding: .35rem .9rem; margin-bottom: .35rem; border-radius: 999px; background: var(--peach);
  color: var(--ink); font-size: .875rem; font-weight: 600; text-decoration: none;
}
.to-today:hover { text-decoration: underline; }
.daynav__today { color: var(--accent-ink) !important; text-align: center; justify-content: center; }
.sheet.is-past .eyebrow { color: var(--ink-2); }

/* ---------- Previous prayers ---------- */
.archive { max-width: var(--measure); margin: 2.75rem auto 0; padding-inline: var(--gutter); }
.section-title {
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: var(--step-2); display: flex; align-items: center; gap: .6rem;
}
.section-title .chev { color: var(--accent-ink); width: 1.6rem; height: .9rem; }
.archive__list { list-style: none; margin: 1rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.archive__list a {
  display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) 1.25rem; align-items: center; gap: .75rem;
  min-height: 3.5rem; padding: .55rem .25rem; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
}
.archive__list a:hover { background: var(--paper); }
.archive__list a[aria-current="page"] { background: var(--paper); box-shadow: inset 3px 0 0 var(--accent-ink); }
.arc__date { font-size: .875rem; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.arc__theme { min-width: 0; font-weight: 500; line-height: 1.35; }
.arc__go { color: var(--ink-2); display: grid; place-items: center; }
.arc__go .ico { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.archive__list a:hover .arc__go { color: var(--accent-ink); }
.archive__more {
  margin-top: .75rem; background: none; border: 0; padding: .5rem 0; min-height: 2.75rem;
  font: 600 .9375rem var(--font-body); color: var(--accent-ink); cursor: pointer; text-decoration: underline;
  text-underline-offset: .2em;
}
.archive__intro { margin-top: .5rem; color: var(--ink-2); font-size: .9375rem; line-height: 1.55; }
.jump { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.jump label { font-weight: 600; font-size: .9375rem; }
.jump input, .review input[type="date"] {
  min-height: 3rem; padding: .4rem .75rem; border-radius: .75rem; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font: 500 1rem var(--font-body);
}

/* ---------- Stay connected ---------- */
.connect { max-width: var(--measure); margin: 2.75rem auto 0; padding-inline: var(--gutter); display: grid; gap: 1rem; }
.connect__app { display: grid; gap: 1rem; }
.connect__buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .75rem; }
.btn--store { justify-content: flex-start; background: var(--ink); color: var(--paper); text-align: left; }
.btn--store:hover { background: var(--next-charcoal); color: #FFFFFF; }
.btn--store span { display: grid; line-height: 1.15; font-size: 1.0625rem; }
.btn--store small { font-size: .75rem; font-weight: 500; opacity: .85; }
.connect__site a { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.75rem; font-weight: 600; color: var(--accent-ink); }

/* ---------- About NEXT ---------- */
.about {
  margin-top: 3.5rem;
  background: linear-gradient(160deg, var(--flame-a) 0%, var(--flame-b) 100%);
  padding-block: 3rem 3.25rem;
  padding-inline: var(--gutter);
}
.about__inner { max-width: var(--measure); margin: 0 auto; display: grid; gap: 1.75rem; }
.about__panel {
  background: var(--panel); color: var(--on-dark);
  border-radius: 0 var(--corner) 0 0;
  padding: 2rem 1.35rem 2.25rem;
  display: grid; gap: 1.5rem;
}
.about .eyebrow { color: var(--panel-accent); }
.about__title {
  font-family: var(--font-body); font-weight: 500; font-size: clamp(1.75rem, 1.45rem + 1.4vw, 2.4rem); line-height: 1.15;
}
.about__title em { font-family: var(--font-display); font-style: italic; font-weight: 700; }
.about__panel p { color: var(--on-dark); }
.about__panel .muted { color: var(--on-dark-2); }
.verse-card { margin: 0; display: grid; gap: .5rem; padding-left: 1rem; border-left: 2px solid var(--panel-accent); }
.verse-card blockquote { margin: 0; font-family: var(--font-display); font-size: var(--step-1); line-height: 1.5; }
.verse-card figcaption { font-size: .875rem; font-weight: 600; color: var(--on-dark-2); letter-spacing: .04em; }
.pull {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: var(--step-2); line-height: 1.3;
}
.about h3 {
  font-size: var(--step--1); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--panel-accent); display: flex; align-items: center; gap: .55rem;
}
.about h3 .chev { width: 1.55rem; height: .9rem; }
.reasons { list-style: none; margin: .25rem 0 0; padding: 0; display: grid; gap: 1rem; }
.reasons li { display: grid; gap: .15rem; }
.reasons strong { font-weight: 600; }
.reasons span { color: var(--on-dark-2); line-height: 1.6; }
.future { font-size: .9375rem; color: var(--on-dark-2); }
.future strong { color: var(--on-dark); font-weight: 600; }

.story { list-style: none; margin: .25rem 0 0; padding: 0; display: grid; gap: 0; }
.story li {
  position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: 1.75rem;
  padding: 0 0 1rem; line-height: 1.45;
}
.story li::before { /* timeline rail */
  content: ""; position: absolute; left: calc(3.85rem - 1px); top: .55rem; bottom: -.3rem; width: 2px;
  background: var(--panel-accent); opacity: .55;
}
.story li:last-child::before { display: none; }
.story li::after {
  content: ""; position: absolute; left: 3.55rem; top: .35rem; width: .6rem; height: .6rem; border-radius: 50%;
  background: var(--on-dark);
}
.story b {
  font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.05rem;
  color: var(--panel-accent); font-variant-numeric: lining-nums;
}
.story span { color: var(--on-dark); }

.steps { list-style: none; margin: .25rem 0 0; padding: 0; display: grid; gap: 1.1rem; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 2.25rem 1fr; gap: .75rem; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--on-dark); color: #231F20; font-weight: 700; font-size: .95rem;
}
.steps b { display: block; font-weight: 600; }
.steps p { color: var(--on-dark-2); line-height: 1.6; }

.photos { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 0; }
.photos figure { margin: 0; min-width: 0; }
.photos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; border-radius: .9rem; background: rgba(255, 255, 255, .15); }
.photos .wide { grid-column: 1 / -1; }
.photos .wide img { aspect-ratio: 16 / 9; border-radius: 0 var(--corner) 0 0; }

.tagline {
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2.1rem); line-height: 1.2; color: #231F20; text-align: left;
}

/* ---------- Optional: giving + updates ---------- */
.extra { max-width: var(--measure); margin: 2.75rem auto 0; padding-inline: var(--gutter); display: grid; gap: 1rem; }
.extra .btn { justify-self: start; }
.updates__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.update { background: var(--paper); border-radius: 0 1.5rem 0 0; padding: 1.1rem 1.25rem; display: grid; gap: .3rem; }
.update h3 { font-size: 1.05rem; }
.update__date { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }

/* ---------- Draft notes (review mode only) ---------- */
.draft { display: none; }
.show-drafts .draft {
  display: block;
  font: 500 .9rem/1.5 var(--font-body); color: var(--ink);
  background: var(--peach); border: 2px dashed var(--accent-ink); border-radius: .75rem; padding: .75rem 1rem;
}
.show-drafts .about__panel .draft { color: #231F20; background: #FFF1E6; border-color: #B4410F; }
.draft::before {
  content: "Draft"; display: inline-block; margin-right: .5rem; padding: .05rem .5rem; border-radius: 999px;
  background: var(--accent-ink); color: var(--paper); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.show-drafts .about__panel .draft::before { background: #B4410F; color: #FFFFFF; }
.review { max-width: var(--measure); margin: 2.75rem auto 0; padding-inline: var(--gutter); }
.review ul { margin: .75rem 0 0; padding-left: 1.2rem; display: grid; gap: .5rem; }
.review code { font-size: .85em; background: var(--ground); padding: .05rem .3rem; border-radius: .3rem; }

/* ---------- Footer ---------- */
.site-footer {
  max-width: var(--measure); margin: 3rem auto 0;
  padding: 2rem var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 2.5rem);
  border-top: 1px solid var(--line);
  display: grid; gap: 1rem; font-size: .875rem; line-height: 1.6; color: var(--ink-2);
}
.site-footer .church-logo { color: var(--ink); }
.site-footer .church-logo svg { height: 1.7rem; }
.site-footer a { font-weight: 600; color: var(--ink); }
.copyright { font-size: .8125rem; }

/* ---------- Larger screens ---------- */
@media (min-width: 40rem) {
  :root { --gutter: 2rem; }
  .masthead { padding-bottom: 6rem; }
  .sheet { padding: 2.75rem 3rem 2.25rem; margin-top: -4rem; }
  .block--prayer, .block--prompt { margin-inline: -1rem; padding-inline: 2rem; }
  .actions .btn { min-height: 3.75rem; }
  .archive, .extra, .review { padding-inline: 0; }
  .about__panel { padding: 2.75rem 3rem 3rem; }
  .photos { grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; }
  .photos .wide { grid-column: 1; grid-row: 1 / span 2; }
  .photos .wide img { aspect-ratio: auto; height: 100%; }
  .site-footer { padding-inline: 0; }
}
@media (min-width: 64rem) {
  .masthead__bg { right: 4%; width: 38rem; opacity: .06; }
}

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