/* ==========================================================
   真钱抢庄牛牛 · 共享 Site Kit
   /assets/site.css
   顺序：令牌 → Reset → 排版 → 工具类 → 按钮标签
        → 头部 → 移动导航 → 页脚 → 内容组件 → 动效 → 响应式
   ========================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --ink-900: #0A1220;
  --ink-850: #0D1626;
  --ink-800: #121D2F;
  --ink-700: #1A2A42;

  --gold: #E8B65A;
  --gold-soft: #F7DCA6;
  --gold-deep: #C4933C;

  --teal: #2A9D8F;
  --red: #D1495B;
  --green: #6A994E;
  --yellow: #F2C14E;

  --paper: #F5EBDD;
  --paper-ink: #2A1E12;

  --white: #F4EFE6;
  --muted: rgba(244, 239, 230, 0.66);
  --faint: rgba(244, 239, 230, 0.42);
  --line: rgba(244, 239, 230, 0.13);
  --line-strong: rgba(244, 239, 230, 0.26);

  --shadow-lift: 0 24px 48px -32px rgba(0, 0, 0, 0.9);

  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --font-display: "Yuanti SC", "YuanTi SC", "Songti SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Menlo", "Consolas",
    "Liberation Mono", monospace;

  --shell: min(calc(100% - 2 * clamp(18px, 4vw, 48px)), 1240px);
  --header-h: 74px;
  --ease: cubic-bezier(0.22, 0.7, 0.3, 1);
}

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

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

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

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

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

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

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

address { font-style: normal; }

/* ---------- 3. 基础排版 ---------- */
body {
  background: var(--ink-900);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: 0.012em;
  color: var(--white);
}

h1 { font-size: clamp(34px, 5.4vw, 72px); line-height: 1.12; }
h2 { font-size: clamp(26px, 3.6vw, 42px); }
h3 { font-size: clamp(19px, 2.2vw, 25px); }

p { text-wrap: pretty; }

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

::selection {
  background: rgba(232, 182, 90, 0.32);
  color: var(--white);
}

/* ---------- 4. 工具类 ---------- */
.container {
  width: var(--shell);
  margin-inline: auto;
}

.page-top {
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px));
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  color: var(--gold);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.lede {
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.95;
  color: var(--muted);
  max-width: 36em;
}

.section-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(38px, 6vw, 74px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(232, 182, 90, 0.26);
}

.section-title { font-size: clamp(26px, 3.6vw, 42px); }

.divider {
  height: 1px;
  border: 0;
  background: var(--line);
  margin-block: clamp(24px, 4vw, 44px);
}

/* ---------- 5. 按钮与标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn--gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #17110A;
  box-shadow: 0 14px 30px -18px rgba(232, 182, 90, 0.95);
}

.btn--gold:hover { box-shadow: 0 20px 38px -18px rgba(232, 182, 90, 1); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--white);
  background: transparent;
}

.btn--ghost:hover {
  border-color: rgba(232, 182, 90, 0.66);
  color: var(--gold-soft);
  background: rgba(232, 182, 90, 0.08);
}

.btn--dark {
  background: #241A10;
  color: var(--paper);
}

.btn--dark:hover { background: #3A2A18; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(232, 182, 90, 0.3);
  background: rgba(232, 182, 90, 0.14);
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.8;
  white-space: nowrap;
}

.tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.tag--teal {
  background: rgba(42, 157, 143, 0.18);
  border-color: rgba(42, 157, 143, 0.44);
  color: #8FE0D6;
}

.tag--red {
  background: rgba(209, 73, 91, 0.18);
  border-color: rgba(209, 73, 91, 0.44);
  color: #F3A2AC;
}

.tag--green {
  background: rgba(106, 153, 78, 0.2);
  border-color: rgba(106, 153, 78, 0.46);
  color: #B6D79E;
}

.tag--yellow {
  background: rgba(242, 193, 78, 0.18);
  border-color: rgba(242, 193, 78, 0.44);
  color: #F7DB9A;
}

/* ---------- 6. 头部 ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 400;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: #17110A;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  transform: translateY(-180%);
  transition: transform 0.28s var(--ease);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: transparent;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.site-header[data-scrolled] {
  background: rgba(10, 18, 32, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 20px 46px -34px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
}

.header-inner {
  width: var(--shell);
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--white);
  transition: opacity 0.25s var(--ease);
}

.brand:hover { opacity: 0.86; }

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  border: 1px solid rgba(232, 182, 90, 0.5);
  background:
    linear-gradient(var(--gold), var(--gold)) center / 1px 60% no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 60% 1px no-repeat,
    radial-gradient(circle at 50% 50%, rgba(232, 182, 90, 0.3), rgba(232, 182, 90, 0) 72%);
  box-shadow: inset 0 0 0 4px rgba(232, 182, 90, 0.09),
    0 8px 18px -12px rgba(232, 182, 90, 0.95);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
}

.brand-sub {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(232, 182, 90, 0.82);
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.1vw, 16px);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.6vw, 10px);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  font-size: clamp(13.5px, 1.05vw, 15px);
  line-height: 1.5;
  color: rgba(244, 239, 230, 0.78);
  white-space: nowrap;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(244, 239, 230, 0.07);
}

.nav-link[aria-current="page"] {
  color: var(--gold);
  background: rgba(232, 182, 90, 0.13);
  box-shadow: inset 0 0 0 1px rgba(232, 182, 90, 0.28);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #17110A;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 10px 24px -16px rgba(232, 182, 90, 0.9);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -16px rgba(232, 182, 90, 0.95);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.apple-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(244, 239, 230, 0.24);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(244, 239, 230, 0.86);
  white-space: nowrap;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.apple-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 182, 90, 0.16);
}

.apple-pill:hover {
  border-color: rgba(232, 182, 90, 0.6);
  color: var(--gold-soft);
  background: rgba(232, 182, 90, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  align-content: center;
  gap: 5px;
  border-radius: 14px;
  border: 1px solid rgba(244, 239, 230, 0.22);
  background: rgba(244, 239, 230, 0.04);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.nav-toggle:hover { border-color: rgba(232, 182, 90, 0.55); }

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft) 58%, var(--teal));
  will-change: transform;
}

/* ---------- 7. 移动导航 ---------- */
@media (max-width: 900px) {
  :root { --header-h: 66px; }

  .nav-toggle { display: inline-grid; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin-left: 0;
    display: block;
    padding: 18px clamp(18px, 4vw, 32px) 28px;
    background: var(--ink-800);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 34px 64px -34px rgba(0, 0, 0, 0.95);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease),
      visibility 0.28s var(--ease);
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    display: block;
    padding: 13px 14px;
    border-radius: 14px;
    font-size: 16px;
  }

  .nav-cta {
    margin-top: 14px;
    width: 100%;
    padding: 14px 20px;
  }

  body.is-nav-open { overflow: hidden; }
}

/* ---------- 8. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 7vw, 96px);
  padding-top: clamp(46px, 6vw, 82px);
  background:
    radial-gradient(90% 120% at 8% 0%, rgba(232, 182, 90, 0.1), transparent 62%),
    linear-gradient(180deg, var(--ink-850), var(--ink-900));
  border-top: 1px solid var(--line);
  color: var(--white);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--teal) 0 20%,
    var(--white) 20% 40%,
    var(--red) 40% 60%,
    var(--green) 60% 80%,
    var(--yellow) 80% 100%
  );
  opacity: 0.82;
}

.footer-inner {
  width: var(--shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}

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

.brand--footer .brand-mark {
  width: 42px;
  height: 42px;
}

.brand--footer .brand-name { font-size: 19px; }

.footer-tagline {
  margin-top: 20px;
  max-width: 20em;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.75;
  color: rgba(244, 239, 230, 0.9);
}

.footer-rule {
  display: block;
  width: 58px;
  height: 2px;
  margin-top: 22px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(232, 182, 90, 0));
}

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

.footer-heading {
  padding-bottom: 11px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232, 182, 90, 0.9);
}

.footer-list li { padding: 7px 0; }

.footer-list a {
  color: rgba(244, 239, 230, 0.72);
  transition: color 0.2s var(--ease);
}

.footer-list a:hover { color: var(--gold-soft); }

.footer-contact { margin-top: 2px; }

.footer-contact li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
}

.footer-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--faint);
}

.footer-value {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.88);
  word-break: break-word;
}

.footer-note {
  margin-top: 14px;
  max-width: 30em;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.footer-bottom {
  width: var(--shell);
  margin: clamp(36px, 5vw, 56px) auto 0;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  color: var(--faint);
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  line-height: 1.8;
}

.footer-icp { letter-spacing: 0.1em; }

/* ---------- 9. 内容组件 ---------- */
.section { padding-block: clamp(52px, 8vw, 104px); }

.section--paper {
  background: var(--paper);
  color: var(--paper-ink);
}

.section--paper h2,
.section--paper h3,
.section--paper h4 { color: #241A10; }

.section--paper .lede { color: rgba(42, 30, 18, 0.74); }
.section--paper .eyebrow { color: #8A6320; }
.section--paper .section-num { color: rgba(42, 30, 18, 0.13); }
.section--paper .divider { background: rgba(42, 30, 18, 0.14); }
.section--paper .btn--ghost {
  border-color: rgba(42, 30, 18, 0.28);
  color: #2A1E12;
}
.section--paper .btn--ghost:hover {
  border-color: rgba(138, 99, 32, 0.7);
  color: #8A6320;
  background: rgba(138, 99, 32, 0.08);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--faint);
}

.breadcrumbs li { display: inline-flex; align-items: center; }

.breadcrumbs li + li::before {
  content: "/";
  margin: 0 10px;
  color: rgba(244, 239, 230, 0.28);
}

.breadcrumbs a { transition: color 0.2s var(--ease); }
.breadcrumbs a:hover { color: var(--gold-soft); }

.prose {
  max-width: 38em;
  font-size: 16.5px;
  line-height: 1.95;
  color: rgba(244, 239, 230, 0.82);
}

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

.prose h2 {
  margin-top: 1.9em;
  margin-bottom: 0.6em;
  font-size: clamp(22px, 2.6vw, 30px);
}

.prose h3 {
  margin-top: 1.6em;
  margin-bottom: 0.5em;
  font-size: clamp(18px, 2vw, 22px);
}

.prose ul,
.prose ol {
  margin: 1em 0;
  padding-left: 1.4em;
}

.prose li {
  margin: 0.45em 0;
  list-style: disc;
}

.prose a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose--paper { color: rgba(42, 30, 18, 0.84); }
.prose--paper h2,
.prose--paper h3 { color: #241A10; }
.prose--paper a { color: #8A6320; }

.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 26px);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr));
}

.card {
  position: relative;
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--ink-800);
  color: var(--white);
  transition: transform 0.32s var(--ease), border-color 0.32s var(--ease),
    box-shadow 0.32s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 182, 90, 0.4);
  box-shadow: var(--shadow-lift);
}

.card--paper {
  background: #FFFBF4;
  border-color: rgba(42, 30, 18, 0.12);
  color: var(--paper-ink);
}

.card--paper:hover {
  border-color: rgba(138, 99, 32, 0.42);
  box-shadow: 0 22px 44px -32px rgba(42, 30, 18, 0.6);
}

.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(110% 90% at 18% 6%, rgba(232, 182, 90, 0.18), transparent 58%),
    radial-gradient(90% 80% at 88% 96%, rgba(42, 157, 143, 0.16), transparent 60%),
    linear-gradient(160deg, var(--ink-700), var(--ink-900));
  isolation: isolate;
}

.media-frame > picture { display: contents; }

.media-frame > img,
.media-frame > video,
.media-frame > picture > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(244, 239, 230, 0.06),
    inset 0 -80px 90px -70px rgba(10, 18, 32, 0.95);
}

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

.media-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  line-height: 1.8;
  color: var(--faint);
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 150;
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(232, 182, 90, 0.4);
  background: rgba(18, 29, 47, 0.9);
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: 16px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.to-top:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 182, 90, 0.85);
}

/* ---------- 10. 动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ---------- 11. 响应式 ---------- */
@media (max-width: 1080px) {
  .brand-sub { display: none; }
  .header-inner { gap: 18px; }
}

@media (max-width: 980px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .header-inner { gap: 12px; }
  .apple-pill { padding: 8px 13px; font-size: 11px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 34px;
  }
  .media-frame { aspect-ratio: 4 / 3; }
}

@media (max-width: 420px) {
  .apple-pill { display: 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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .card:hover,
  .nav-cta:hover,
  .to-top:hover { transform: none; }
}
