/* =========================================================
   /assets/site.css — 共享外壳与基础组件
   ========================================================= */

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

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

body { margin: 0; }

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

button,
input,
select,
textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, p,
ul, ol, figure, blockquote { margin: 0; }

ul, ol { padding: 0; list-style: none; }

a { color: inherit; }

/* ---------- tokens ---------- */
:root {
  --red-deep: #5A0E14;
  --red-brand: #8E1621;
  --red-bright: #C8373F;
  --gold: #C9A24A;
  --gold-light: #E8CB88;
  --jade: #2F7D6D;
  --jade-deep: #246456;
  --cream: #FBF6EC;
  --paper: #F3E8D7;
  --ink: #1F0F0C;
  --stone: #4A4642;

  --rule: rgba(31, 15, 12, .14);
  --rule-gold: rgba(201, 162, 74, .38);

  --rail-w: 232px;

  --serif: "Noto Serif SC", "Songti SC", "Source Han Serif SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Heiti SC", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Courier New", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-hard: 6px 6px 0 rgba(31, 15, 12, .15);
  --shadow-ink: 4px 4px 0 var(--ink);
}

/* ---------- base typography ---------- */
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.85;
  color: var(--stone);
  background-color: var(--cream);
  background-image:
    radial-gradient(1100px 520px at 88% -10%, rgba(201, 162, 74, .17), transparent 70%),
    radial-gradient(820px 480px at 6% 8%, rgba(47, 125, 109, .10), transparent 72%);
  background-repeat: no-repeat;
  background-attachment: scroll;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.28;
  letter-spacing: .01em;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
h3 { font-size: clamp(1.12rem, 1.8vw, 1.34rem); }

strong { color: var(--ink); font-weight: 700; }

::selection {
  background: rgba(201, 162, 74, .34);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--jade-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

#main-content { display: block; scroll-margin-top: 5.5rem; }

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  left: .8rem;
  top: .8rem;
  z-index: 300;
  padding: .55rem 1rem;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 700;
  color: var(--red-deep);
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 3px;
  box-shadow: 4px 4px 0 rgba(31, 15, 12, .28);
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .22s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

/* =========================================================
   HEADER — 移动端：顶部叠加条；桌面端：左侧固定导航轨
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  font-family: var(--sans);
}

.rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 .7rem;
  padding: .58rem 1rem .58rem 1.05rem;
  background: rgba(90, 14, 20, .92);
  color: var(--cream);
  border-bottom: 3px solid var(--ink);
  box-shadow: 0 3px 0 rgba(201, 162, 74, .5);
  transition: background .35s var(--ease);
}

.rail__top { display: none; }

.rail__kicker {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .12em;
  color: var(--gold-light);
}

.rail__batch {
  font-size: .7rem;
  letter-spacing: .06em;
  color: rgba(251, 246, 236, .74);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-gold);
  padding-bottom: 1px;
}

.rail__batch:hover { color: var(--gold-light); }

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.brand__badge {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  background: linear-gradient(145deg, #F4E0AE, var(--gold) 56%, #9A7629);
  color: var(--ink);
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: -.06em;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .45);
}

.brand__words {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .07em;
  color: var(--cream);
  line-height: 1.2;
}

.brand__ver {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .15em;
  color: var(--gold-light);
  line-height: 1.5;
}

/* 移动导航按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .42rem .7rem;
  background: transparent;
  color: var(--gold-light);
  border: 2px solid rgba(232, 203, 136, .5);
  border-radius: 3px;
  font-size: .78rem;
  letter-spacing: .1em;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(201, 162, 74, .16);
  border-color: var(--gold);
  color: var(--cream);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: background .2s var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform .24s var(--ease), top .24s var(--ease);
}

.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* 导航 —— 移动端折叠 */
.site-nav {
  display: none;
  grid-column: 1 / -1;
  width: 100%;
}

.site-header[data-open] .site-nav { display: block; }

.site-nav__list {
  display: flex;
  flex-direction: column;
  margin: .55rem 0 .1rem;
}

.site-nav__item { border-top: 1px solid rgba(232, 203, 136, .16); }

.site-nav__link {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  padding: .6rem .1rem .6rem .55rem;
  border-left: 3px solid transparent;
  color: var(--gold-light);
  text-decoration: none;
  font-size: .92rem;
  letter-spacing: .04em;
  transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}

.site-nav__no {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: rgba(232, 203, 136, .66);
}

.site-nav__text { display: inline-block; }

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--cream);
  background: rgba(201, 162, 74, .12);
}

.site-nav__link[aria-current="page"] {
  color: #FFF7E6;
  border-left-color: var(--gold);
  background: linear-gradient(90deg, rgba(201, 162, 74, .3), rgba(201, 162, 74, 0));
}

.site-nav__link[aria-current="page"] .site-nav__no { color: var(--gold-light); }

/* 左轨底部 —— 移动端隐藏 */
.rail__foot { display: none; }

.rail__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .72rem .8rem;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 58%, #A8813A);
  border: 2px solid var(--ink);
  border-radius: 3px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}

.rail__cta:hover,
.rail__cta:focus-visible {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--ink);
}

.rail__note {
  margin-top: .8rem;
  font-family: var(--mono);
  font-size: .67rem;
  line-height: 1.7;
  letter-spacing: .08em;
  color: rgba(251, 246, 236, .6);
}

/* ---------- 桌面端导航轨 ---------- */
@media (min-width: 960px) {
  body { padding-left: var(--rail-w); }

  .site-header {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail-w);
  }

  .rail {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 0;
    padding: 0;
    border-bottom: 0;
    border-right: 3px solid var(--ink);
    background: rgba(90, 14, 20, .86);
    box-shadow: inset -1px 0 0 rgba(201, 162, 74, .3);
    overflow-y: auto;
    overscroll-behavior: contain;
    transition: background .4s var(--ease);
  }

  .site-header[data-scrolled] .rail { background: var(--red-deep); }

  .rail__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .85rem 1rem;
    border-bottom: 1px solid rgba(232, 203, 136, .22);
  }

  .brand {
    padding: 1.15rem 1rem 1rem;
    gap: .68rem;
    border-bottom: 1px solid rgba(232, 203, 136, .22);
  }

  .brand__badge { width: 44px; height: 44px; font-size: .84rem; }
  .brand__name { font-size: 1.12rem; }

  .nav-toggle { display: none; }

  .site-nav { display: block; padding: 0; width: 100%; }

  .site-nav__list { margin: .7rem 0 0; }

  .site-nav__item { border-top: 0; }

  .site-nav__link {
    display: grid;
    grid-template-columns: 1.85rem minmax(0, 1fr);
    align-items: center;
    gap: .5rem;
    padding: .62rem 1rem;
    border-left: 4px solid transparent;
    font-size: .94rem;
  }

  .site-nav__no { font-size: .65rem; }

  .site-nav__link[aria-current="page"] { border-left-color: var(--gold); }

  .rail__foot {
    display: block;
    margin-top: auto;
    padding: 1.1rem 1rem 1.5rem;
    border-top: 1px solid rgba(232, 203, 136, .22);
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--ink);
  color: rgba(251, 246, 236, .78);
  border-top: 4px solid var(--gold);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem 1.6rem;
  max-width: 1120px;
  margin-inline: auto;
  padding: 2.7rem 1.15rem 1.9rem;
}

.footer__col { min-width: 0; }

.footer__brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: inherit;
}

.footer__badge {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 2px solid var(--gold);
  border-radius: 3px;
  background: linear-gradient(145deg, #F4E0AE, var(--gold) 58%, #8E6C22);
  color: var(--ink);
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: -.06em;
}

.footer__brand-text { display: flex; flex-direction: column; }

.footer__name {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: .07em;
  color: var(--cream);
  line-height: 1.25;
}

.footer__ver {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .15em;
  color: var(--gold-light);
}

.footer__desc {
  margin-top: 1rem;
  font-size: .9rem;
  line-height: 1.8;
  color: rgba(251, 246, 236, .66);
  max-width: 34ch;
}

.footer__seal {
  display: inline-block;
  margin-top: .95rem;
  padding: .3rem .7rem;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .13em;
  color: var(--gold-light);
  border: 1.5px solid rgba(201, 162, 74, .55);
  border-radius: 2px;
  transform: rotate(-1.2deg);
}

.footer__title {
  margin-bottom: .9rem;
  padding-bottom: .5rem;
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(201, 162, 74, .34);
}

.footer__list {
  display: grid;
  gap: .5rem;
  font-size: .9rem;
}

.footer__list a {
  color: rgba(251, 246, 236, .78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.footer__list a:hover,
.footer__list a:focus-visible {
  color: var(--gold-light);
  border-bottom-color: rgba(201, 162, 74, .6);
}

.footer__list--plain {
  font-family: var(--mono);
  font-size: .78rem;
  line-height: 1.8;
  color: rgba(251, 246, 236, .76);
  word-break: break-word;
}

.footer__label {
  display: block;
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .16em;
  color: rgba(232, 203, 136, .68);
  margin-bottom: .1rem;
}

.footer__note {
  margin-top: .9rem;
  font-size: .76rem;
  line-height: 1.75;
  color: rgba(251, 246, 236, .55);
}

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.6rem;
  max-width: 1120px;
  margin-inline: auto;
  padding: 1rem 1.15rem 2rem;
  border-top: 1px solid rgba(201, 162, 74, .26);
  font-size: .78rem;
  color: rgba(251, 246, 236, .58);
}

.footer__copy { font-family: var(--mono); letter-spacing: .02em; }
.footer__meta { display: flex; align-items: center; gap: .5rem; }

.footer__meta a {
  color: rgba(251, 246, 236, .72);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 162, 74, .45);
}

.footer__meta a:hover { color: var(--gold-light); }

@media (min-width: 720px) {
  .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__bar { justify-content: space-between; }
}

@media (min-width: 1200px) {
  .footer__inner {
    grid-template-columns: 1.5fr .9fr 1.15fr .95fr;
    gap: 2.4rem 2rem;
  }
}

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */
.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.15rem;
}

@media (min-width: 960px) {
  .wrap { padding-inline: 2rem; }
}

.section { padding-block: clamp(2.2rem, 5vw, 3.8rem); }
.section--tight { padding-block: clamp(1.4rem, 3vw, 2.4rem); }

.grid { display: grid; gap: 1.15rem; grid-template-columns: minmax(0, 1fr); }

@media (min-width: 760px) {
  .grid--2,
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1180px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* =========================================================
   COMPONENTS
   ========================================================= */

/* 面包屑 */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  margin-bottom: 1.4rem;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .05em;
  color: var(--stone);
}

.crumbs li { display: flex; align-items: center; gap: .35rem; }

.crumbs li + li::before {
  content: "/";
  color: var(--gold);
  opacity: .9;
}

.crumbs a {
  color: var(--red-brand);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 162, 74, .55);
}

.crumbs a:hover { color: var(--red-deep); }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .74rem 1.3rem;
  font-family: var(--sans);
  font-size: .93rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 3px;
  cursor: pointer;
  background: transparent;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .2s var(--ease);
}

.btn--solid {
  color: var(--cream);
  background: linear-gradient(135deg, var(--red-brand), var(--red-deep));
  box-shadow: var(--shadow-ink);
}

.btn--solid:hover,
.btn--solid:focus-visible {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn--gold {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 58%, #A8813A);
  box-shadow: var(--shadow-ink);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn--ghost {
  color: var(--red-deep);
  background: var(--cream);
}

.btn--ghost:hover,
.btn--ghost:focus-visible { background: var(--paper); }

/* 编号章节头 */
.sec-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: .55rem 1rem;
  margin-bottom: 1.5rem;
}

.sec-head__num {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  line-height: .95;
  letter-spacing: -.05em;
  color: var(--gold);
}

.sec-head__body { min-width: 0; }

.sec-head__title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--ink);
}

.sec-head__sub {
  margin-top: .4rem;
  font-size: .94rem;
  line-height: 1.8;
  max-width: 62ch;
  color: var(--stone);
}

.sec-head--rule {
  padding-bottom: .95rem;
  border-bottom: 2px solid var(--rule);
}

/* 卡片 */
.card {
  position: relative;
  padding: 1.35rem 1.35rem 1.5rem;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: var(--shadow-hard);
}

.card--paper { background: var(--paper); }

.card--deep {
  background: var(--red-deep);
  border-color: var(--ink);
  color: rgba(251, 246, 236, .84);
}

.card--deep .card__title,
.card--deep h2,
.card--deep h3 { color: var(--gold-light); }

.card__eyebrow {
  margin-bottom: .5rem;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--red-brand);
}

.card--deep .card__eyebrow { color: var(--gold-light); }

.card__title {
  margin-bottom: .5rem;
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--ink);
}

.card__text { font-size: .94rem; line-height: 1.8; }

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .2rem .62rem;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .09em;
  line-height: 1.6;
}

.tag--gold { color: #6E5413; background: rgba(201, 162, 74, .18); }
.tag--jade { color: var(--jade-deep); background: rgba(47, 125, 109, .12); }
.tag--red { color: #7E1119; background: rgba(200, 55, 63, .13); }

/* 分隔线 */
.rule {
  height: 2px;
  border: 0;
  margin: 2rem 0;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 74, 0));
}

/* 要点列表 */
.tick-list {
  display: grid;
  gap: .55rem;
  font-size: .94rem;
  line-height: 1.8;
}

.tick-list li {
  position: relative;
  padding-left: 1.35rem;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .5rem;
  height: .5rem;
  background: var(--gold);
  border: 1.5px solid var(--ink);
  border-radius: 1px;
  transform: rotate(45deg);
}

/* 图片容器 */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, var(--paper), #E9DAC2);
  border: 2px solid var(--ink);
  border-radius: 4px;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--square { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 3 / 4; }
.media--wide { aspect-ratio: 21 / 9; }

.media__frame {
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(31, 15, 12, .26);
  border-radius: 2px;
  pointer-events: none;
}

.media__cap {
  margin-top: .6rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--stone);
}

/* 文本块 */
.lede {
  max-width: 64ch;
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.85;
  color: var(--stone);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .8rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--red-brand);
}

.eyebrow::before {
  content: "";
  width: .5rem;
  height: .5rem;
  background: var(--gold);
  border: 1.5px solid var(--ink);
  transform: rotate(45deg);
}

.prose {
  max-width: 70ch;
  font-size: 1.01rem;
  line-height: 1.9;
}

.prose h2 {
  margin: 2.1rem 0 .8rem;
  font-size: clamp(1.32rem, 2.2vw, 1.66rem);
}

.prose h3 { margin: 1.6rem 0 .55rem; }

.prose p + p { margin-top: 1rem; }

.prose a {
  color: var(--red-brand);
  text-decoration: underline;
  text-decoration-color: rgba(201, 162, 74, .7);
  text-underline-offset: 3px;
}

.prose ul,
.prose ol {
  display: grid;
  gap: .4rem;
  margin: 1rem 0;
  padding-left: 1.4em;
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose blockquote {
  margin: 1.5rem 0;
  padding: .9rem 1.2rem;
  border-left: 4px solid var(--gold);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
}

/* 数字排版 */
.mono { font-family: var(--mono); letter-spacing: .02em; }

.num-hero {
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: .92;
  color: var(--red-deep);
}

/* =========================================================
   MOTION — 滚动显现（配合 [data-reveal]）
   ========================================================= */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .js [data-reveal],
  .js [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
