/* ══════════════════════════════════════════════════════════════════════════
   سه تمدن — وب‌سایت معرفی  ·  «نسخهٔ مُذهّب»  (Illuminated Persian Manuscript)
   Warm parchment + lapis blue + antique gold, RTL.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --parchment: #f2e7cd;
  --parchment-2: #ecdfbf;
  --card: #fbf4e2;
  --card-2: #f7eed7;

  --ink: #2c2114;          /* primary text — high contrast on parchment   */
  --ink-soft: #5b4a30;     /* secondary text — meets 4.5:1                 */
  --ink-faint: #87775c;

  --gold: #b07f1e;         /* accent / large headings                      */
  --gold-bright: #d3a73f;  /* display gold gradient top                    */
  --gold-deep: #8a5f12;
  --lapis: #1c4e89;        /* primary action + links                       */
  --lapis-deep: #143a68;
  --pomegranate: #9e3326;
  --teal: #2a6e63;
  --night: #1d160c;        /* dark footer band                             */

  --line: rgba(44, 33, 20, .14);
  --line-2: rgba(44, 33, 20, .08);
  --line-gold: rgba(176, 127, 30, .42);
  --shadow-sm: 0 6px 18px rgba(83, 58, 20, .12);
  --shadow: 0 22px 50px rgba(83, 58, 20, .16);
  --shadow-lg: 0 34px 80px rgba(70, 46, 14, .22);

  --radius: 20px;
  --radius-sm: 13px;
  --maxw: 1180px;

  --font: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
  --display: 'Lalezar', 'Vazirmatn', Tahoma, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.85;
  font-size: 16px;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(28, 78, 137, .22); }

/* ── Background atmosphere ─────────────────────────────────────────────────── */

.bg-layer { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bg-paper {
  position: absolute; inset: 0;
  background:
    radial-gradient(130% 90% at 85% -10%, #f8efd9 0%, transparent 55%),
    radial-gradient(120% 90% at 5% 105%, #ecdcb6 0%, transparent 55%),
    linear-gradient(180deg, #f5ecd4 0%, var(--parchment) 45%, #ecdfbe 100%);
}
/* faint eight-point star (خاتم) lattice in gold */
.bg-khatam {
  position: absolute; inset: 0; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='110' viewBox='0 0 110 110'%3E%3Cg fill='none' stroke='%23b07f1e' stroke-width='1.1'%3E%3Cpath d='M55 20 L64 46 L90 55 L64 64 L55 90 L46 64 L20 55 L46 46 Z'/%3E%3Crect x='42' y='42' width='26' height='26' transform='rotate(45 55 55)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 110px 110px;
}
.bg-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 30%, transparent 60%, rgba(60, 40, 12, .10) 100%);
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1;
  padding: 13px 22px; min-height: 46px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn .ico { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary {
  background: linear-gradient(165deg, var(--lapis) 0%, var(--lapis-deep) 100%);
  color: #fdf7e8; box-shadow: 0 10px 24px rgba(20, 58, 104, .32);
  border-color: rgba(255, 255, 255, .14);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(20, 58, 104, .42); }

.btn-gold {
  background: linear-gradient(165deg, var(--gold-bright), var(--gold-deep));
  color: #2a1d08; box-shadow: 0 10px 24px rgba(140, 95, 18, .3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(140, 95, 18, .4); }

.btn-ghost {
  background: rgba(255, 255, 255, .35); color: var(--ink);
  border-color: var(--line-gold); backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .6); transform: translateY(-2px); }

.btn-sm { padding: 9px 16px; min-height: 40px; font-size: 14px; }
.btn-lg { padding: 16px 28px; min-height: 56px; font-size: 16.5px; }
.btn-lg .ico { width: 21px; height: 21px; }

/* download button can carry a label + meta line */
.btn .btn-label { display: inline-block; }
.btn .btn-meta { font-size: 11.5px; font-weight: 500; opacity: .85; margin-inline-start: 4px; }
.btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; filter: grayscale(.3); }
.btn[aria-disabled="true"]:hover { transform: none; box-shadow: 0 10px 24px rgba(20, 58, 104, .2); }

:focus-visible { outline: 3px solid var(--lapis); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em;
  color: var(--gold-deep); text-transform: none;
  padding: 5px 13px; border-radius: 999px; margin-bottom: 16px;
  background: rgba(176, 127, 30, .12); border: 1px solid var(--line-gold);
}

/* ── Header / nav ──────────────────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 235, 213, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.nav.scrolled { box-shadow: 0 10px 30px rgba(80, 55, 18, .12); background: rgba(244, 235, 213, .94); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 22px;
  display: flex; align-items: center; gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-crest { display: inline-grid; place-items: center; filter: drop-shadow(0 3px 6px rgba(176, 127, 30, .3)); }
.brand-name { font-family: var(--display); font-size: 26px; color: var(--gold-deep); line-height: 1; padding-top: 4px; }

.nav-links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav-links a {
  padding: 9px 15px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink-soft);
  transition: color .18s ease, background .18s ease;
}
.nav-links a:hover { color: var(--lapis); background: rgba(28, 78, 137, .08); }

.nav-side { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: none; border: 1px solid var(--line);
  border-radius: 11px; cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Layout helpers ────────────────────────────────────────────────────────── */

.section { max-width: var(--maxw); margin: 0 auto; padding: 88px 22px; }
.section-alt {
  max-width: none; margin: 0; padding-inline: max(22px, calc((100vw - var(--maxw)) / 2 + 22px));
  background:
    linear-gradient(180deg, rgba(255, 251, 240, .55), rgba(247, 238, 215, .55)),
    var(--parchment-2);
  border-block: 1px solid var(--line-2);
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2,
.build h2, .download h2 { font-family: var(--display); font-weight: 400; line-height: 1.18; color: var(--ink); }
.section-head h2 { font-size: clamp(28px, 5vw, 44px); }
.section-lead { color: var(--ink-soft); font-size: 17px; margin-top: 10px; }

.card {
  background: linear-gradient(160deg, var(--card), var(--card-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700;
  padding: 6px 13px; border-radius: 999px;
}
.chip-gold { background: rgba(176, 127, 30, .14); color: var(--gold-deep); border: 1px solid var(--line-gold); }

/* ── Hero ──────────────────────────────────────────────────────────────────── */

.hero {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 7vw, 84px) 22px clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.hero-title {
  font-family: var(--display); font-weight: 400; line-height: 1; letter-spacing: .01em;
  font-size: clamp(58px, 12vw, 120px);
  background: linear-gradient(175deg, var(--gold-bright) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 4px 30px rgba(176, 127, 30, .18);
  margin: 4px 0 6px;
}
.hero-tag { font-size: clamp(18px, 2.6vw, 23px); font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.hero-sub { font-size: 16.5px; color: var(--ink-soft); max-width: 540px; }
.hero-sub strong { color: var(--gold-deep); font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-cta .btn-lg { flex-direction: column; gap: 3px; padding-block: 12px; }
.hero-cta .btn-ghost { flex-direction: row; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--ink-faint); }

.hero-art { position: relative; display: grid; place-items: center; }
.hero-frame {
  position: relative; width: min(86%, 420px); aspect-ratio: 1; border-radius: 220px 220px 26px 26px;
  padding: 14px; background: linear-gradient(160deg, #fff8e9, #f3e6c6);
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-lg), inset 0 0 0 6px rgba(176, 127, 30, .14);
}
.hero-frame::before {
  content: ''; position: absolute; inset: -22% -16% -10%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 167, 63, .4) 0%, rgba(211, 167, 63, .12) 42%, transparent 70%);
  filter: blur(4px);
}
.hero-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%;
  border-radius: 210px 210px 16px 16px;
  -webkit-mask-image: radial-gradient(125% 115% at 50% 38%, #000 66%, transparent 100%);
          mask-image: radial-gradient(125% 115% at 50% 38%, #000 66%, transparent 100%);
}
.hero-badge {
  position: absolute; bottom: 6%; inset-inline: 0; margin: 0 auto; width: max-content;
  font-family: var(--display); font-size: 19px; color: #fdf6e6;
  padding: 7px 22px; border-radius: 999px;
  background: linear-gradient(160deg, var(--lapis), var(--lapis-deep));
  box-shadow: 0 12px 26px rgba(20, 58, 104, .4); border: 1px solid rgba(255, 255, 255, .18);
}

/* ── Highlights strip ──────────────────────────────────────────────────────── */

.strip {
  max-width: var(--maxw); margin: 8px auto 0; padding: 22px;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 26px;
  background: linear-gradient(160deg, var(--card), var(--card-2));
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.strip-item { display: flex; flex-direction: column; align-items: center; min-width: 110px; }
.strip-num { font-family: var(--display); font-size: 30px; color: var(--gold-deep); line-height: 1.1; }
.strip-lbl { font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
.strip-sep { width: 1px; height: 38px; background: var(--line-gold); }

/* ── Tribes ────────────────────────────────────────────────────────────────── */

.tribes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tribe-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.tribe-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tribe-portrait {
  position: relative; padding: 26px 26px 0; display: grid; place-items: center;
  background: radial-gradient(70% 60% at 50% 30%, rgba(176, 127, 30, .12), transparent 70%);
}
.tribe-portrait img {
  width: 190px; height: 190px; object-fit: cover; object-position: 50% 16%;
  border-radius: 50%; border: 3px solid rgba(176, 127, 30, .5);
  box-shadow: 0 14px 30px rgba(83, 58, 20, .22);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 64%, transparent 75%);
          mask-image: radial-gradient(circle at 50% 45%, #000 64%, transparent 75%);
}
.tribe-body { padding: 18px 24px 26px; text-align: center; }
.tribe-body h3 { font-family: var(--display); font-weight: 400; font-size: 32px; color: var(--gold-deep); line-height: 1.1; }
.tribe-kicker { color: var(--lapis); font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }
.tribe-body p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 14px; }

/* ── Features ──────────────────────────────────────────────────────────────── */

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 28px 24px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-gold); }
.feature-ico {
  display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 16px;
  background: linear-gradient(160deg, rgba(28, 78, 137, .12), rgba(28, 78, 137, .04));
  border: 1px solid rgba(28, 78, 137, .2);
}
.feature-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--lapis); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 19px; font-weight: 700; margin-bottom: 7px; color: var(--ink); }
.feature p { color: var(--ink-soft); font-size: 14.5px; }

/* ── Build band ────────────────────────────────────────────────────────────── */

.build-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.build-text h2 { font-size: clamp(26px, 4.4vw, 40px); margin-bottom: 14px; }
.build-text p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 24px; max-width: 480px; }
.build-art { position: relative; min-height: 280px; }
.build-art .bld { position: absolute; filter: drop-shadow(0 16px 24px rgba(83, 58, 20, .26)); }
.bld-1 { width: 56%; top: 8%; inset-inline-end: 2%; z-index: 2; }
.bld-2 { width: 50%; top: 0; inset-inline-start: 4%; z-index: 3; }
.bld-3 { width: 52%; bottom: 0; inset-inline-end: 18%; z-index: 1; }

/* ── Units gallery ─────────────────────────────────────────────────────────── */

.units { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.unit {
  background: linear-gradient(160deg, var(--card), var(--card-2));
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 12px 14px;
  text-align: center; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.unit:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-gold); }
.unit-coin {
  width: 104px; height: 104px; margin: 0 auto 12px; border-radius: 50%;
  background: radial-gradient(60% 60% at 50% 35%, rgba(176, 127, 30, .14), transparent 72%);
  display: grid; place-items: center;
}
.unit-coin img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; border-radius: 50%;
  border: 2.5px solid rgba(176, 127, 30, .45); box-shadow: 0 8px 18px rgba(83, 58, 20, .2);
  -webkit-mask-image: radial-gradient(circle at 50% 46%, #000 63%, transparent 74%);
          mask-image: radial-gradient(circle at 50% 46%, #000 63%, transparent 74%);
}
.unit-name { font-weight: 700; font-size: 15px; color: var(--ink); }
.unit-tribe { font-size: 12.5px; color: var(--gold-deep); font-weight: 600; margin-top: 2px; }

/* ── Steps ─────────────────────────────────────────────────────────────────── */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; counter-reset: s; }
.step { padding: 26px 22px; text-align: center; position: relative; overflow: hidden; }
.step-no {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 12px;
  font-family: var(--display); font-size: 26px; color: #fdf6e6; border-radius: 50%;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold-deep));
  box-shadow: 0 10px 22px rgba(140, 95, 18, .32);
}
.step h3 { font-size: 19px; margin-bottom: 5px; }
.step p { color: var(--ink-soft); font-size: 14px; }

/* ── Download ──────────────────────────────────────────────────────────────── */

.download { display: grid; place-items: center; }
.download-card {
  position: relative; overflow: hidden; max-width: 680px; width: 100%;
  padding: clamp(36px, 6vw, 60px) 28px; text-align: center;
  border: 1px solid var(--line-gold);
  background: linear-gradient(165deg, #fff9ec, #f4e7c8);
  box-shadow: var(--shadow-lg);
}
.download-glow { position: absolute; inset: -40% 20% auto; height: 60%; z-index: 0;
  background: radial-gradient(circle, rgba(211, 167, 63, .4), transparent 68%); }
.download-card > * { position: relative; z-index: 1; }
.download-ico { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 18px; border-radius: 22px;
  background: linear-gradient(160deg, var(--lapis), var(--lapis-deep)); box-shadow: 0 16px 32px rgba(20, 58, 104, .36); }
.download-ico svg { width: 36px; height: 36px; fill: none; stroke: #fdf6e6; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.download-card h2 { font-size: clamp(26px, 4.6vw, 40px); margin-bottom: 10px; }
.download-card > p { color: var(--ink-soft); font-size: 17px; margin-bottom: 26px; }
.download-card .btn-lg { flex-direction: column; gap: 3px; }
.download-meta { list-style: none; margin: 26px auto 0; max-width: 440px; text-align: start; display: grid; gap: 11px; }
.download-meta li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); font-size: 14.5px; }
.download-meta svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ── Footer ────────────────────────────────────────────────────────────────── */

.footer { background: var(--night); color: #e9ddc4; padding: 44px 22px 30px; margin-top: 20px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-name { display: block; font-family: var(--display); font-size: 23px; color: var(--gold-bright); line-height: 1.15; }
.footer-tag { display: block; font-size: 13px; color: #b9a988; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { color: #cdbf9f; font-size: 14.5px; font-weight: 600; padding: 6px 4px; }
.footer-links a:hover { color: var(--gold-bright); }
.footer-copy { max-width: var(--maxw); margin: 26px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); color: #a4977a; font-size: 13px; text-align: center; }

/* ── Reveal on scroll ──────────────────────────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.tribes .reveal.in:nth-child(2) { transition-delay: .08s; }
.tribes .reveal.in:nth-child(3) { transition-delay: .16s; }
.features .reveal.in:nth-child(2), .steps .reveal.in:nth-child(2) { transition-delay: .06s; }
.features .reveal.in:nth-child(3), .steps .reveal.in:nth-child(3) { transition-delay: .12s; }
.features .reveal.in:nth-child(4), .steps .reveal.in:nth-child(4) { transition-delay: .18s; }
.features .reveal.in:nth-child(5) { transition-delay: .24s; }
.features .reveal.in:nth-child(6) { transition-delay: .3s; }

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 40px; }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-art { order: -1; }
  .hero-frame { width: min(70%, 320px); }
  .build-grid { grid-template-columns: 1fr; }
  .build-text { text-align: center; }
  .build-text p { margin-inline: auto; }
  .build-art { max-width: 420px; margin: 0 auto; }
  .tribes, .features, .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-links {
    position: absolute; top: 100%; inset-inline: 0; flex-direction: column; gap: 2px;
    background: rgba(244, 235, 213, .98); border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px; box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .22s ease, transform .22s ease;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 14px; font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav-side .btn[data-download] { display: none; }
  .section { padding: 60px 20px; }
}

@media (max-width: 540px) {
  .tribes, .features, .steps { grid-template-columns: 1fr; }
  .units { grid-template-columns: repeat(2, 1fr); }
  .strip-sep { display: none; }
  .strip { gap: 16px 24px; }
  .hero-cta .btn { width: 100%; }
}

/* ── Reduced motion ────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .12s !important; }
}
