/* ============================================================
   金宝搏中心 · /assets/site.css
   共享外壳：reset / tokens / 排版 / 头部刊头导航 / 页脚 / 通用组件
   ============================================================ */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

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

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

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #0B0C0D;
  --ink-soft: #141518;
  --ink-line: rgba(201, 162, 75, 0.24);
  --paper: #F4EFE6;
  --paper-soft: #EAE2D3;
  --gold: #C9A24B;
  --gold-light: #E7CA82;
  --gold-deep: #8A6B32;
  --stone: #6E6A63;
  --moss: #5E6B57;
  --clay: #B06A4A;
  --cinnabar: #C14B36;

  --gold-sheen: linear-gradient(100deg, #8A6B32 0%, #C9A24B 30%, #E7CA82 50%, #C9A24B 70%, #8A6B32 100%);

  --shell: 1320px;
  --gutter: clamp(20px, 4.6vw, 56px);
  --radius: 24px;
  --radius-pill: 999px;
  --angle: 14deg;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-narrow: "Barlow Condensed", "Oswald", "Arial Narrow", var(--font-sans);
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- 3. Base typography ---------- */
body {
  min-height: 100vh;
  background-color: var(--paper);
  background-image: radial-gradient(120% 70% at 50% -20%, rgba(201, 162, 75, 0.14), transparent 62%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--ink);
}

strong { font-weight: 700; }

::selection {
  background: rgba(201, 162, 75, 0.34);
  color: var(--ink);
}

#main-content { display: block; }
#main-content:focus { outline: none; }

/* ---------- 4. Focus & accessibility ---------- */
:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

.site-header :focus-visible,
.site-footer :focus-visible,
.band--ink :focus-visible {
  outline-color: var(--gold-light);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 200;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: var(--gold-light);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.9);
  transform: translateY(-180%);
  transition: transform 0.24s var(--ease);
}

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

/* ---------- 5. Layout primitives ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(56px, 7vw, 112px);
}

.band {
  position: relative;
  padding-block: clamp(56px, 7vw, 108px);
  background: var(--paper-soft);
}

.band--ink {
  background:
    radial-gradient(90% 120% at 8% 0%, rgba(201, 162, 75, 0.16), transparent 58%),
    linear-gradient(180deg, #0B0C0D, #121316 70%, #0B0C0D);
  color: rgba(244, 239, 230, 0.82);
}

.band--ink h1,
.band--ink h2,
.band--ink h3,
.band--ink h4 { color: var(--paper); }

.band--ink .eyebrow { color: rgba(231, 202, 130, 0.72); }

.band--ink .lede,
.band--ink .prose { color: rgba(244, 239, 230, 0.78); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* ---------- 6. Type components ---------- */
.display {
  font-size: clamp(2.4rem, 6.6vw, 5.2rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.band--ink .display { color: var(--paper); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.lede {
  max-width: 58ch;
  margin-top: 18px;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.9;
  color: #3a3b38;
}

.prose {
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.85;
  color: #2c2d2b;
}

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

.stat__value {
  display: block;
  font-family: var(--font-narrow);
  font-weight: 300;
  font-size: clamp(3rem, 6.4vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: var(--gold-deep);
}

.band--ink .stat__value { color: var(--gold-light); }

.stat__label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
}

.band--ink .stat__label { color: rgba(244, 239, 230, 0.6); }

.ruler {
  height: 8px;
  border-radius: 2px;
  background-image: repeating-linear-gradient(90deg, rgba(201, 162, 75, 0.55) 0 1px, transparent 1px 14px);
  background-repeat: repeat-x;
}

/* ---------- 7. Buttons & chips ---------- */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--gold-sheen);
  background-size: 220% 100%;
  color: #14110a;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  box-shadow: 0 12px 30px -16px rgba(138, 107, 50, 0.95);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), background-position 0.9s var(--ease), color 0.24s var(--ease);
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 32%, rgba(255, 255, 255, 0.5) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.9s var(--ease);
  pointer-events: none;
}

.button:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
}

.button:hover::after { transform: translateX(130%); }
.button:active { transform: translateY(0); }

.button--ghost {
  background: transparent;
  color: var(--gold-light);
  border-color: rgba(201, 162, 75, 0.5);
  box-shadow: none;
}

.button--ghost:hover {
  background: rgba(201, 162, 75, 0.12);
  color: #fffdf7;
}

.button--accent {
  background: var(--cinnabar);
  color: #fff4ef;
  box-shadow: 0 12px 30px -18px rgba(193, 75, 54, 0.95);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(94, 107, 87, 0.3);
  border-radius: var(--radius-pill);
  background: rgba(94, 107, 87, 0.14);
  color: #3f4a3a;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
}

.chip--moss {
  border-color: rgba(94, 107, 87, 0.42);
  background: rgba(94, 107, 87, 0.18);
  color: #39422f;
}

.chip--clay {
  border-color: rgba(176, 106, 74, 0.42);
  background: rgba(176, 106, 74, 0.16);
  color: #6f3a24;
}

/* ---------- 8. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

.breadcrumb__link {
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(138, 107, 50, 0.4);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.breadcrumb__link:hover {
  color: var(--gold-deep);
  border-color: var(--gold);
}

.breadcrumb__sep {
  color: var(--gold-deep);
  opacity: 0.8;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- 9. Media frames ---------- */
.media-frame {
  position: relative;
  isolation: isolate;
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(140deg, #24262b 0%, #0B0C0D 58%, #3a2f1e 100%);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.3);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(231, 202, 130, 0.24), transparent 46%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.media-frame img,
.media-frame__plate {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-frame__plate {
  display: grid;
  place-items: center;
  padding: 20px;
  background-image: repeating-linear-gradient(115deg, rgba(201, 162, 75, 0.12) 0 2px, transparent 2px 20px);
  color: rgba(244, 239, 230, 0.6);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
}

.media-frame--wide { aspect-ratio: 21 / 9; }

.media-frame--device {
  aspect-ratio: 9 / 16;
  max-width: 320px;
  border-radius: 32px;
}

.media-frame--shear {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%);
  border-radius: calc(var(--radius) - 6px);
}

/* ============================================================
   10. Header · 鎏金刻度刊头
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, #0B0C0D 0%, #121316 84%, #0B0C0D 100%);
  color: var(--paper);
  border-bottom: 1px solid rgba(201, 162, 75, 0.3);
  box-shadow: 0 22px 48px -36px rgba(0, 0, 0, 0.95);
}

.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold-sheen);
  transform-origin: left center;
  transform: scaleX(var(--read-progress, 0));
  opacity: 0.85;
  transition: transform 0.1s linear;
  pointer-events: none;
}

.masthead {
  position: relative;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.masthead__ruler {
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 6px;
  background-image: repeating-linear-gradient(90deg, rgba(201, 162, 75, 0.5) 0 1px, transparent 1px 14px);
  background-repeat: repeat-x;
  opacity: 0.5;
  pointer-events: none;
}

.masthead__rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-height: 88px;
  margin-top: 6px;
  padding: 16px 0 12px;
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 162, 75, 0.18);
  transition: max-height 0.32s var(--ease), opacity 0.28s var(--ease), padding 0.32s var(--ease), border-color 0.28s var(--ease);
}

.masthead__stamp {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.5);
  white-space: nowrap;
}

.masthead__utility {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.utility-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  border: 1px solid rgba(201, 162, 75, 0.4);
  border-radius: var(--radius-pill);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.3;
  transition: background 0.24s var(--ease), color 0.24s var(--ease), border-color 0.24s var(--ease);
}

.utility-link:hover {
  background: rgba(201, 162, 75, 0.14);
  border-color: var(--gold);
  color: #fffdf7;
}

.utility-link--accent {
  border-color: rgba(193, 75, 54, 0.62);
  background: rgba(193, 75, 54, 0.16);
  color: #f6c9bd;
}

.utility-link--accent:hover {
  background: rgba(193, 75, 54, 0.28);
  border-color: var(--cinnabar);
  color: #fff2ee;
}

.masthead__brand {
  position: relative;
  display: flex;
  justify-content: center;
  padding: clamp(16px, 2.6vw, 28px) 0 clamp(10px, 1.8vw, 16px);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.brand__name {
  display: block;
  font-size: clamp(1.7rem, 4.2vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
  background: var(--gold-sheen);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  transition: font-size 0.32s var(--ease), background-position 0.9s var(--ease);
}

.brand:hover .brand__name { background-position: 100% 0; }

.brand__tagline {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(231, 202, 130, 0.72);
}

/* nav toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid rgba(201, 162, 75, 0.42);
  border-radius: var(--radius-pill);
  background: rgba(201, 162, 75, 0.08);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  transition: background 0.24s var(--ease), border-color 0.24s var(--ease);
}

.nav-toggle:hover {
  background: rgba(201, 162, 75, 0.16);
  border-color: var(--gold);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.26s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle__label { display: block; }

.site-header[data-open] .nav-toggle__bars span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* primary nav */
.primary-nav {
  padding-bottom: clamp(10px, 1.6vw, 18px);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 6px;
  counter-reset: nav;
  transition: background 0.28s var(--ease), border-color 0.28s var(--ease), padding 0.28s var(--ease);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
}

.nav-item { display: block; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.5;
  transition: color 0.24s var(--ease), background 0.24s var(--ease);
}

.nav-link::before {
  counter-increment: nav;
  content: counter(nav, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  transition: color 0.24s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 1px;
  background: var(--gold-sheen);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.26s var(--ease);
}

.nav-link:hover {
  color: #fffdf7;
  background: rgba(244, 239, 230, 0.06);
}

.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] {
  color: var(--gold-light);
  background: rgba(201, 162, 75, 0.14);
}

.nav-link[aria-current="page"]::before { color: var(--gold-light); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* stuck state · 收为胶囊索引 */
.site-header[data-stuck] .masthead__rail {
  max-height: 0;
  padding-block: 0;
  opacity: 0;
  border-bottom-color: transparent;
  pointer-events: none;
}

.site-header[data-stuck] .masthead__brand {
  padding: 10px 0 8px;
}

.site-header[data-stuck] .brand {
  flex-direction: row;
  align-items: baseline;
  gap: 14px;
}

.site-header[data-stuck] .brand__name {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
}

.site-header[data-stuck] .brand__tagline {
  font-size: 9px;
  letter-spacing: 0.34em;
}

.site-header[data-stuck] .nav-list {
  padding: 6px 10px;
  background: rgba(244, 239, 230, 0.05);
  border-color: rgba(201, 162, 75, 0.26);
}

.site-header[data-stuck] .primary-nav {
  padding-bottom: 10px;
}

/* ============================================================
   11. Footer · 跑道收束段
   ============================================================ */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(48px, 7vw, 96px);
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(201, 162, 75, 0.14), transparent 60%),
    linear-gradient(180deg, #0B0C0D 0%, #101114 62%, #0B0C0D 100%);
  color: rgba(244, 239, 230, 0.78);
}

.footer__edge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-sheen);
  opacity: 0.85;
  pointer-events: none;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.75fr) minmax(0, 0.75fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.footer__brand { min-width: 0; }

.footer__name {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--paper);
}

.footer__tagline {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer__note {
  max-width: 34ch;
  margin-top: 18px;
  font-size: 0.94rem;
  line-height: 1.85;
  color: rgba(244, 239, 230, 0.66);
}

.footer__cta { margin-top: 24px; }

.footer-col { min-width: 0; }

.footer-col__title {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 162, 75, 0.24);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-col__list {
  display: grid;
  gap: 10px;
}

.footer-link {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  color: rgba(244, 239, 230, 0.74);
  font-size: 0.95rem;
  line-height: 1.7;
  transition: color 0.24s var(--ease);
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.26s var(--ease);
}

.footer-link:hover { color: var(--gold-light); }
.footer-link:hover::after { transform: scaleX(1); }

.footer-link--small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.58);
}

.footer__contact { min-width: 0; }

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list__item {
  display: grid;
  gap: 3px;
}

.contact-list__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(231, 202, 130, 0.68);
}

.contact-list__value {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(244, 239, 230, 0.84);
  overflow-wrap: anywhere;
}

.contact-note {
  margin-top: 18px;
  padding-left: 12px;
  border-left: 2px solid rgba(201, 162, 75, 0.42);
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(244, 239, 230, 0.52);
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 20px 28px;
  border-top: 1px solid rgba(201, 162, 75, 0.18);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.5);
}

.footer__copy { margin: 0; }
.footer__icp { margin: 0; }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

/* ============================================================
   12. Reveal & motion
   ============================================================ */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@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-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button:hover { transform: none; }
  .button:hover::after { transform: translateX(-130%); }
}

/* ============================================================
   13. Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .footer__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  }
  .footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .masthead__brand { padding-right: 96px; padding-left: 96px; }
  .brand { align-items: center; }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 90;
    max-height: 0;
    padding: 0 var(--gutter);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    background: linear-gradient(180deg, #131417 0%, #0B0C0D 100%);
    border-top: 1px solid rgba(201, 162, 75, 0.2);
    box-shadow: 0 30px 50px -34px rgba(0, 0, 0, 0.95);
    transition: max-height 0.34s var(--ease), opacity 0.24s var(--ease), padding 0.34s var(--ease), visibility 0.34s var(--ease);
  }

  .site-header[data-open] .primary-nav {
    max-height: min(78vh, 560px);
    padding: 8px var(--gutter) 22px;
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
  }

  .nav-list,
  .site-header[data-stuck] .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: none;
    border-color: transparent;
    border-radius: 0;
  }

  .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 2px;
    border-bottom: 1px solid rgba(244, 239, 230, 0.08);
    border-radius: 0;
    font-size: 1rem;
  }

  .nav-link::after {
    left: 2px;
    right: 2px;
    bottom: 0;
  }

  .nav-link:hover { background: transparent; }

  .site-header[data-stuck] .brand {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .site-header[data-stuck] .brand__name { font-size: clamp(1.4rem, 5vw, 2rem); }
  .site-header[data-stuck] .brand__tagline { font-size: 9px; }

  .masthead__stamp { font-size: 9px; letter-spacing: 0.22em; }

  .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: span 12; }
  .grid-12 { gap: 18px; }
  .media-frame--device { max-width: 100%; }
  .media-frame--shear { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 0 100%); }
}

@media (max-width: 620px) {
  .masthead__rail {
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 14px;
  }

  .masthead__utility { width: 100%; justify-content: flex-start; }

  .masthead__brand {
    padding-right: 0;
    padding-left: 0;
    flex-direction: column;
    gap: 12px;
  }

  .nav-toggle {
    position: static;
    transform: none;
    align-self: center;
  }

  .brand__tagline { letter-spacing: 0.3em; }

  .footer__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer__base { justify-content: flex-start; }
  .footer__legal { gap: 10px 16px; }
}
