/* =========================================================================
   The Short List — shared stylesheet
   -------------------------------------------------------------------------
   1. Tokens          6. Cards & grids
   2. Base            7. Recipe page
   3. Layout          8. Article page
   4. Header / footer 9. Forms, auth, comments
   5. Hero           10. Utilities & responsive
   ========================================================================= */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --paper:      #fbfaf7;
  --card:       #ffffff;
  --dark:       #1c211b;
  --ink:        #1a1c19;
  --ink-soft:   #4a4f47;
  --muted:      #7c8078;
  --muted-dark: #9aa094;
  --rule:       #e4e1d8;
  --rule-soft:  #f0eee8;

  --accent:      #5c7a4a;
  --accent-dark: #3f5732;
  --accent-soft: #eef2e9;
  --warn:        #96603c;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  --page:   1180px;
  --gutter: 2rem;
  --radius: 2px;

  --shadow:    0 1px 2px rgba(28,33,27,.04);
  --shadow-up: 0 10px 30px rgba(28,33,27,.09);
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
/* The hidden attribute must always win, even over classes like .grid that set display. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

/* Small caps label — the recurring editorial device across the site. */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .5rem;
}
.eyebrow--muted { color: var(--muted); }

.meta {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
}

/* 3. Layout ------------------------------------------------------------- */
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 720px; }

/* Vertical only — .section is often on the same element as .wrap, and a
   padding shorthand here would wipe out .wrap's horizontal gutter. */
.section { padding-top: 4rem; padding-bottom: 4rem; }
.section + .section { padding-top: 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-top: 2px solid var(--ink);
  padding-top: .9rem;
  margin-bottom: 2rem;
}
.section-head h2 { font-size: 1.6rem; }
.section-head a {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.section-head a:hover { color: var(--accent-dark); text-decoration: underline; }

.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* 4. Header / footer ---------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 60px;
}
.brand {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.brand span { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a {
  font-size: 12.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

.nav__account {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--rule);
}
.nav__user {
  font-size: 12.5px;
  color: var(--muted);
  max-width: 14ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-footer {
  margin-top: 5rem;
  background: var(--dark);
  color: var(--muted-dark);
  padding: 3rem 0 2.5rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: .4rem;
}
.site-footer p { margin: 0; font-size: 13px; line-height: 1.9; max-width: 42ch; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer a {
  color: var(--muted-dark);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-footer a:hover { color: #fff; }
.site-footer__legal {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #32382f;
  font-size: 12px;
  color: #6d7369;
}

/* 5. Hero --------------------------------------------------------------- */
.hero { padding: 3.5rem 0 1rem; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--rule-soft);
  border-radius: var(--radius);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__title {
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  margin-bottom: 1rem;
}
.hero__title a { text-decoration: none; }
.hero__title a:hover { color: var(--accent-dark); }
.hero__desc {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  margin-bottom: 1.75rem;
}

/* Welcome blurb ---------------------------------------------------------- */
.welcome {
  background: var(--accent-soft);
  border-top: 1px solid #dfe6d7;
  border-bottom: 1px solid #dfe6d7;
  padding: 3rem 0;
  margin-top: 3.5rem;
}
.welcome__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 2.5rem;
  align-items: start;
}
.welcome h2 { font-size: 1.85rem; }
.welcome p {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.7;
  color: #35402f;
  margin: 0 0 1rem;
}
.welcome p:last-of-type { margin-bottom: 0; }

/* 6. Cards & grids ------------------------------------------------------ */
.grid { display: grid; gap: 2.25rem 1.75rem; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.layout-split {
  display: grid;
  grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}
/* A third child (the comment thread) drops under the main column, not the aside. */
.layout-split > #comments { grid-column: 1; margin-top: -1.5rem; }

.card { display: flex; flex-direction: column; }
.card__link { text-decoration: none; color: inherit; display: block; }
.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--rule-soft);
  border-radius: var(--radius);
  margin-bottom: .9rem;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.card__link:hover .card__media img { transform: scale(1.035); }
.card__title {
  font-size: 1.22rem;
  margin-bottom: .4rem;
  line-height: 1.25;
}
.card__link:hover .card__title { color: var(--accent-dark); }
.card__desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 .7rem;
}
.card__meta {
  display: flex;
  gap: 1rem;
  font-size: 12.5px;
  color: var(--muted);
  padding-top: .6rem;
  border-top: 1px solid var(--rule-soft);
}
.card__actions { margin-top: .75rem; }

/* Sidebar list of articles */
.sidebar { position: sticky; top: 84px; }
.stack { display: flex; flex-direction: column; }
.stack-item {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
}
.stack-item:first-child { padding-top: 0; }
.stack-item:hover h3 { color: var(--accent-dark); }
.stack-item h3 { font-size: 1.08rem; margin-bottom: .35rem; line-height: 1.3; }
.stack-item p { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 .5rem; line-height: 1.55; }

/* Tags & chips ----------------------------------------------------------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 10.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-dark);
  white-space: nowrap;
}
.tag--plain { background: #f2efe8; color: #6b5b3c; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1rem; }
.chip {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 7px 15px;
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: var(--card);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.chip:hover { border-color: var(--accent); color: var(--accent-dark); }
.chip[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: #fff; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.count { font-size: 13px; color: var(--muted); }

/* 7. Recipe page -------------------------------------------------------- */
/* Vertical only — .wrap owns the horizontal padding on the same element. */
.recipe-head { padding-top: 3rem; padding-bottom: 2rem; }
.recipe-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .75rem; }
.lede {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
  max-width: 62ch;
}
.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.hero-figure {
  margin: 0 0 2.5rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--rule-soft);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }

.spec {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2.5rem;
}
.spec dt {
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .35rem;
}
.spec dd { margin: 0; font-family: var(--serif); font-size: 1.05rem; }

.block { margin-bottom: 2.75rem; }
.block > h2 {
  font-size: 11px;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.prose { font-family: var(--serif); font-size: 1.05rem; line-height: 1.75; color: var(--ink-soft); }
.prose p { margin: 0 0 1.1rem; }

.ingredients { list-style: none; margin: 0; padding: 0; }
.ingredients li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 14.5px;
  color: var(--ink-soft);
}
.ingredients .amount { color: var(--muted); text-align: right; flex-shrink: 0; }
.ingredients__group { margin-bottom: 1.5rem; }
.ingredients__group h3 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink);
  margin-bottom: .5rem;
}

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li {
  counter-increment: step;
  display: flex;
  gap: 1.15rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.steps li::before {
  content: counter(step);
  flex: 0 0 30px;
  height: 30px;
  background: var(--dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  margin-top: 2px;
}

.callout {
  background: #f4f6f0;
  border-left: 3px solid var(--accent);
  padding: 1.1rem 1.35rem;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.callout strong { color: var(--ink); }

.swap-list { list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--ink-soft); }
.swap-list li { position: relative; padding: .3rem 0 .3rem 16px; line-height: 1.6; }
.swap-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--warn);
}

/* Recipe sidebar */
.aside-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.4rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}
.aside-card h2 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .9rem;
}

/* 8. Article page ------------------------------------------------------- */
.article-body { font-family: var(--serif); font-size: 1.13rem; line-height: 1.8; color: var(--ink-soft); }
.article-body p { margin: 0 0 1.4rem; }
.article-body h2 {
  font-size: 1.5rem;
  color: var(--ink);
  margin: 2.5rem 0 .9rem;
}
.article-body ul { margin: 0 0 1.4rem; padding-left: 1.1rem; }
.article-body ul, .article-body ol { margin: 0 0 1.4rem; padding-left: 1.1rem; }
.article-body ol { padding-left: 1.4rem; }
.article-body li { margin-bottom: .5rem; }
.article-figure { margin: 2.2rem 0; }
.article-figure img { width: 100%; height: auto; border-radius: var(--radius); background: var(--rule-soft); }
.article-figure figcaption {
  margin-top: .6rem;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.article-body blockquote {
  margin: 2rem 0;
  padding: .25rem 0 .25rem 1.5rem;
  border-left: 3px solid var(--accent);
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--ink);
}

/* 9. Forms, auth, comments ---------------------------------------------- */
.btn {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 11px 22px;
  border: 1px solid var(--dark);
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: #000; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn--accent { background: var(--accent); border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--ghost { background: transparent; color: var(--ink-soft); border-color: var(--rule); }
.btn--ghost:hover { background: transparent; border-color: var(--accent); color: var(--accent-dark); }
.btn--small { padding: 8px 14px; font-size: 11.5px; }
.btn--full { width: 100%; }
.btn--saved { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dark); }
.btn--saved:hover { background: var(--accent-soft); }

.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .4rem;
}
.field input, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  padding: 11px 13px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  outline: none;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.6; }

.search {
  flex: 1 1 260px;
  max-width: 340px;
  font-family: var(--sans);
  font-size: 14px;
  padding: 10px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--card);
  outline: none;
}
.search:focus { border-color: var(--accent); }

.notice {
  font-size: 13.5px;
  line-height: 1.6;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: var(--card);
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.notice--error { border-color: #dcb6a6; background: #fdf3ef; color: #8a3c1e; }
.notice--ok { border-color: #c3d4b4; background: var(--accent-soft); color: var(--accent-dark); }
.notice--setup { border-color: #e0d3a8; background: #fdf8e8; color: #6d5a20; }
.notice code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  background: rgba(0,0,0,.05);
  padding: 1px 5px;
  border-radius: 2px;
}

.auth-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 420px;
  box-shadow: var(--shadow);
}
.auth-card h2 { font-size: 1.5rem; margin-bottom: .35rem; }
.auth-card > p { font-size: 14px; color: var(--muted); margin: 0 0 1.5rem; }
.auth-switch {
  margin-top: 1.25rem;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
}
.auth-switch button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--accent-dark);
  text-decoration: underline;
  cursor: pointer;
}

.comments { margin-top: 3.5rem; padding-top: 2rem; border-top: 2px solid var(--ink); }
.comments h2 { font-size: 1.4rem; margin-bottom: 1.25rem; }
.comment {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
.comment__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .6rem;
  margin-bottom: .4rem;
}
.comment__name { font-weight: 600; font-size: 14px; color: var(--ink); }
.comment__time { font-size: 12px; color: var(--muted); }
.comment__body { font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin: 0; white-space: pre-wrap; }
.comment__delete {
  margin-left: auto;
  background: none;
  border: 0;
  font: inherit;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
}
.comment__delete:hover { color: var(--warn); }
.comment__where { font-size: 12.5px; color: var(--muted); margin-bottom: .3rem; }
.comment__where a { color: var(--accent-dark); }

.empty {
  padding: 2.5rem 0;
  color: var(--muted);
  font-size: 14.5px;
  text-align: center;
}
.empty--boxed {
  border: 1px dashed var(--rule);
  border-radius: var(--radius);
  padding: 3rem 1.5rem;
  background: var(--card);
}

/* Placeholder marker for copy the owner still needs to write. */
.placeholder {
  border: 1px dashed var(--accent);
  background: repeating-linear-gradient(45deg, #f7f9f4, #f7f9f4 10px, #eef2e9 10px, #eef2e9 20px);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 2rem 0;
}
.placeholder__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: .6rem;
}
.placeholder p { margin: 0 0 .8rem; font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; }
.placeholder p:last-child { margin-bottom: 0; }

/* Tabs (user page) */
.tabs { display: flex; gap: 1.75rem; border-bottom: 1px solid var(--rule); margin-bottom: 2rem; }
.tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 0 .75rem;
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }

/* 10. Utilities & responsive -------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--dark);
  color: #fff;
  padding: .75rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.is-loading { color: var(--muted); font-size: 14px; padding: 2rem 0; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .layout-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .layout-split > #comments { grid-column: auto; margin-top: 0; }
  .welcome__inner { grid-template-columns: 1fr; gap: 1rem; }
  .sidebar { position: static; }
}
@media (max-width: 640px) {
  :root { --gutter: 1.25rem; }
  .section { padding-top: 2.5rem; padding-bottom: 2.5rem; }

  /* Brand on its own line, links underneath — otherwise the account corner
     runs off the right edge on a phone. */
  .site-header__inner { height: auto; flex-wrap: wrap; gap: .5rem; padding-top: .7rem; padding-bottom: .7rem; }
  .nav { flex: 1 1 100%; flex-wrap: wrap; justify-content: space-between; gap: .5rem .9rem; }
  .nav a { font-size: 11.5px; letter-spacing: .06em; }
  .nav__account { padding-left: .9rem; gap: .6rem; }
  .nav__user { display: none; }

  .hero { padding-top: 2rem; }
  .grid { gap: 2rem 1.25rem; }
  .grid--3 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
