/* ==========================================================================
   澳门新葡萄新京 · 共享站点套件  /assets/site.css
   1 reset  2 tokens  3 base  4 utilities  5 components  6 header  7 footer  8 motion
   ========================================================================== */

/* ---------- 1. reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
a { color: inherit; }

/* ---------- 2. tokens ---------- */
:root {
  --plum-900: #2E1745;
  --plum-700: #5B2E8C;
  --plum-400: #8C63C4;
  --plum-100: #E7DEF4;
  --jade: #0F6B4F;
  --jade-bright: #17A377;
  --gold: #C8A24A;
  --paper: #FAF7F2;
  --mist: #E4E0DB;
  --ink: #1B1720;
  --grey: #6B6572;

  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-script: "Segoe Script", "Bradley Hand", "Snell Roundhand", cursive;

  --cut: 18px;
  --cut-shape: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  --maxw: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-offset: 96px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-panel: 0 20px 34px -26px rgba(46, 23, 69, 0.55);
}
@media (max-width: 1100px) { :root { --header-offset: 82px; } }

/* ---------- 3. base ---------- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background-color: var(--paper);
  padding-top: var(--header-offset);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: repeating-linear-gradient(0deg, rgba(46, 23, 69, 0.035) 0 1px, transparent 1px 3px);
}
#main-content { display: block; scroll-margin-top: calc(var(--header-offset) + 12px); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--plum-900);
  text-wrap: balance;
}
p { text-wrap: pretty; }
strong { font-weight: 700; }
::selection { background: var(--plum-700); color: var(--paper); }

/* ---------- 4. utilities ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(32px, 5vw, 64px); }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(20px, 3vw, 32px); max-width: 68ch; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  line-height: 1.4;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--plum-400); flex: 0 0 auto; }
.eyebrow--light { color: rgba(250, 247, 242, 0.66); }
.eyebrow--light::before { background: var(--gold); }

.display-xl { font-size: clamp(38px, 5.6vw, 64px); }
.display-lg { font-size: clamp(30px, 3.6vw, 44px); }
.display-md { font-size: clamp(24px, 2.6vw, 32px); }
.display-sm { font-size: clamp(20px, 2vw, 24px); }
.lede { font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.85; color: #3a3340; max-width: 62ch; }

.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.col-12 { grid-column: span 12; }
.col-8 { grid-column: span 8; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }
@media (max-width: 900px) {
  .col-8, .col-6, .col-4, .col-3 { grid-column: span 12; }
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--plum-900);
  color: var(--paper);
  font-size: 14px;
  text-decoration: none;
  pointer-events: auto;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 5. components ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  background: rgba(91, 46, 140, 0.18);
  color: inherit;
  clip-path: var(--cut-shape);
  filter: drop-shadow(var(--shadow-panel));
}
.panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  background: var(--paper);
  clip-path: var(--cut-shape);
}
.panel > * { position: relative; z-index: 1; }
.panel--tint { background: rgba(91, 46, 140, 0.24); }
.panel--tint::before { background: var(--plum-100); }
.panel--deep { background: rgba(140, 99, 196, 0.6); color: rgba(250, 247, 242, 0.88); }
.panel--deep::before { background: var(--plum-900); }
.panel--deep h1, .panel--deep h2, .panel--deep h3, .panel--deep h4 { color: var(--paper); }

.panel-stack { display: grid; gap: clamp(14px, 1.8vw, 22px); }
.panel-stack > *:nth-child(even) { margin-left: clamp(8px, 1.6vw, 26px); }

.index-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(160px, 32%);
  gap: clamp(12px, 2vw, 24px);
  align-items: baseline;
  padding: 18px 6px;
  border-top: 1px solid var(--mist);
  text-decoration: none;
  transition: background 0.18s var(--ease), padding-left 0.18s var(--ease);
}
.index-row:last-child { border-bottom: 1px solid var(--mist); }
.index-row:hover { background: var(--plum-100); padding-left: 14px; }
.index-row__num { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--plum-400); }
.index-row__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(18px, 2vw, 24px); line-height: 1.35; color: var(--plum-900); }
.index-row__note { font-size: 14px; line-height: 1.7; color: var(--grey); }
@media (max-width: 720px) {
  .index-row { grid-template-columns: 48px minmax(0, 1fr); }
  .index-row__note { grid-column: 2; }
}

.table-scroll { width: 100%; overflow-x: auto; }
.compare-table { min-width: 560px; font-size: 15px; }
.compare-table caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}
.compare-table th {
  background: var(--plum-900);
  color: var(--paper);
  font-weight: 500;
  text-align: left;
  padding: 14px 16px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
}
.compare-table td {
  padding: 14px 16px;
  height: 56px;
  vertical-align: top;
  border-bottom: 1px solid var(--mist);
}
.compare-table tbody tr:nth-child(even) { background: var(--plum-100); }
.compare-table .compare-table__mono {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--plum-700);
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--plum-100), #f1ebf8 55%, var(--mist));
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(45deg, rgba(91, 46, 140, 0.07) 0 1px, transparent 1px 12px);
}
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--cut { clip-path: var(--cut-shape); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--grey);
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "／"; color: var(--plum-400); }
.breadcrumb a { text-decoration: none; border-bottom: 1px solid transparent; }
.breadcrumb a:hover { color: var(--plum-700); border-bottom-color: var(--jade-bright); }

.note {
  border-left: 2px solid var(--plum-400);
  padding: 4px 0 4px 16px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--grey);
}
.note--jade { border-left-color: var(--jade); }

.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  background: var(--plum-100);
  color: var(--plum-700);
}
.tag--jade { background: rgba(15, 107, 79, 0.12); color: var(--jade); }
.tag--gold { background: rgba(200, 162, 74, 0.18); color: #7d6118; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn--jade { background: var(--jade); color: var(--paper); }
.btn--jade:hover { background: var(--jade-bright); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(91, 46, 140, 0.32); color: var(--plum-700); background: transparent; }
.btn--ghost:hover { background: var(--plum-100); }
.btn--deep { background: var(--plum-900); color: var(--paper); }
.btn--deep:hover { background: var(--plum-700); }

.chip-set { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  appearance: none;
  padding: 7px 16px;
  border: 1px solid rgba(91, 46, 140, 0.28);
  border-radius: 999px;
  background: transparent;
  color: var(--plum-700);
  font-size: 13.5px;
  line-height: 1.5;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.filter-btn:hover { background: var(--plum-100); }
.filter-btn[aria-pressed="true"] { background: var(--plum-700); border-color: var(--plum-700); color: var(--paper); }

/* ---------- 6. header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px clamp(12px, 3vw, 32px) 0;
  pointer-events: none;
}
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 120;
  background: rgba(46, 23, 69, 0.08);
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--plum-700), var(--jade-bright) 62%, var(--gold));
  transition: width 0.1s linear;
}
.header-shell {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(91, 46, 140, 0.18);
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.93);
  box-shadow: 0 20px 44px -32px rgba(46, 23, 69, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  transition: padding 0.24s var(--ease), box-shadow 0.24s var(--ease), background 0.24s var(--ease);
}
.site-header[data-scrolled] .header-shell {
  padding-block: 5px;
  background: rgba(250, 247, 242, 0.97);
  box-shadow: 0 18px 36px -30px rgba(46, 23, 69, 0.85);
}

.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; text-decoration: none; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  line-height: 1;
  color: var(--gold);
  background: linear-gradient(148deg, var(--plum-700), #1d0e30);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  flex: 0 0 auto;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__cn { font-family: var(--font-display); font-weight: 900; font-size: 17px; letter-spacing: -0.01em; color: var(--plum-900); }
.brand__en { font-family: var(--font-script); font-style: italic; font-size: 11px; letter-spacing: 0.07em; color: var(--grey); }

.site-nav { flex: 1 1 auto; min-width: 0; }
.site-nav__list { display: flex; align-items: center; justify-content: center; gap: 2px; flex-wrap: nowrap; }
.site-nav__item { display: flex; }
.site-nav__link {
  display: inline-block;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--plum-900);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.site-nav__link:hover { background: var(--plum-100); color: var(--plum-700); }
.site-nav__link[aria-current="page"] {
  background: var(--plum-700);
  color: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(200, 162, 74, 0.45);
}

.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13.5px;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.pill--ghost { color: var(--plum-700); border-color: rgba(91, 46, 140, 0.28); background: rgba(231, 222, 244, 0.45); }
.pill--ghost:hover { background: var(--plum-100); }
.pill--jade { background: var(--jade); color: var(--paper); box-shadow: 0 12px 22px -16px rgba(15, 107, 79, 0.95); }
.pill--jade:hover { background: var(--jade-bright); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(91, 46, 140, 0.28);
  border-radius: 999px;
  background: rgba(231, 222, 244, 0.5);
  color: var(--plum-700);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}
.nav-toggle__box { display: flex; flex-direction: column; gap: 5px; width: 16px; }
.nav-toggle__bar { display: block; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.2s var(--ease); }
.nav-toggle__label { letter-spacing: 0.04em; }
.site-header[data-open] .nav-toggle { background: var(--plum-700); border-color: var(--plum-700); color: var(--paper); }
.site-header[data-open] .nav-toggle__bar:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bar:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 1100px) {
  .site-header { padding: 10px 12px 0; }
  .header-shell { border-radius: 22px; padding: 8px 10px 8px 12px; gap: 10px; }
  .header-actions { margin-left: auto; }
  .pill--ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand__en { display: none; }

  .site-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 14px;
    top: auto;
    z-index: 110;
    padding: 8px;
    border-radius: 999px;
    background: rgba(46, 23, 69, 0.97);
    box-shadow: 0 24px 44px -22px rgba(27, 23, 32, 0.75);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s var(--ease);
  }
  .site-header[data-open] .site-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav__list {
    justify-content: flex-start;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav__list::-webkit-scrollbar { display: none; }
  .site-nav__link { color: var(--paper); background: rgba(250, 247, 242, 0.08); padding: 9px 14px; }
  .site-nav__link:hover { background: rgba(250, 247, 242, 0.18); color: var(--paper); }
  .site-nav__link[aria-current="page"] { background: var(--jade); color: #fff; box-shadow: none; }
}
@media (max-width: 420px) {
  .brand__cn { font-size: 15px; }
  .pill--jade { padding: 8px 12px; font-size: 12.5px; }
  .nav-toggle__label { display: none; }
}

/* ---------- 7. footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 110px);
  padding-top: clamp(36px, 5vw, 60px);
  background: var(--plum-900);
  color: rgba(250, 247, 242, 0.82);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.55;
}
.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  right: -12%;
  width: 54%;
  height: 100%;
  pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(140, 99, 196, 0.1) 0 2px, transparent 2px 26px);
}
.footer-inner { position: relative; z-index: 1; }

.footer-index {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 0.9fr;
  gap: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(28px, 4vw, 48px);
}
.footer-brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  color: var(--gold);
  background: linear-gradient(150deg, var(--plum-700), #1a0c2b);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.footer-brand__cn { font-family: var(--font-display); font-weight: 900; font-size: 22px; letter-spacing: -0.01em; color: var(--paper); line-height: 1.3; }
.footer-brand__en { margin-top: 2px; font-family: var(--font-script); font-style: italic; font-size: 13px; letter-spacing: 0.06em; color: var(--gold); }
.footer-tagline { margin-top: 14px; max-width: 30ch; font-size: 13.5px; line-height: 1.75; color: rgba(250, 247, 242, 0.6); }

.footer-col__title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--plum-400);
  line-height: 1.6;
}
.footer-links { display: grid; gap: 8px; }
.footer-link {
  width: fit-content;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(250, 247, 242, 0.82);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.footer-link:hover { color: var(--gold); border-bottom-color: rgba(200, 162, 74, 0.5); }
.footer-col__note { margin-top: 14px; font-size: 12.5px; line-height: 1.7; color: rgba(250, 247, 242, 0.5); }

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  padding-block: clamp(24px, 3.4vw, 36px);
  border-top: 1px solid rgba(250, 247, 242, 0.14);
  border-bottom: 1px solid rgba(250, 247, 242, 0.14);
}
.contact-item { display: grid; gap: 6px; align-content: start; }
.contact-item__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--plum-400); }
.contact-item__value { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14.5px; line-height: 1.6; color: var(--paper); }
.contact-item__mono { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.03em; word-break: break-word; }
.copy-btn {
  appearance: none;
  padding: 3px 10px;
  border: 1px solid rgba(250, 247, 242, 0.3);
  border-radius: 999px;
  background: transparent;
  color: rgba(250, 247, 242, 0.8);
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.copy-btn:hover { border-color: var(--jade-bright); background: rgba(23, 163, 119, 0.22); color: #fff; }
.copy-btn[data-copied] { border-color: var(--jade-bright); background: var(--jade); color: #fff; }
.footer-contact__note { grid-column: 1 / -1; font-size: 12.5px; line-height: 1.75; color: rgba(250, 247, 242, 0.5); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  padding-block: clamp(20px, 3vw, 28px);
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(250, 247, 242, 0.55);
}
.footer-legal__meta { font-family: var(--font-mono); letter-spacing: 0.04em; margin-right: auto; }
.footer-legal__list { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal__link { text-decoration: none; color: rgba(250, 247, 242, 0.72); border-bottom: 1px solid rgba(250, 247, 242, 0.2); transition: color 0.18s var(--ease), border-color 0.18s var(--ease); }
.footer-legal__link:hover { color: var(--gold); border-bottom-color: var(--gold); }
.footer-legal__icp { font-family: var(--font-mono); letter-spacing: 0.04em; }

@media (max-width: 900px) {
  .footer-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-index { grid-template-columns: minmax(0, 1fr); }
  .footer-legal__meta { margin-right: 0; }
}

/* ---------- 8. motion & focus ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}
.js [data-reveal][data-revealed] { opacity: 1; transform: none; }

:focus-visible {
  outline: 3px solid var(--jade-bright);
  outline-offset: 3px;
  border-radius: 6px;
}
.site-nav__link:focus-visible, .pill:focus-visible, .copy-btn:focus-visible { outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
