/* 金年会官方品牌站 · 共享样式 /assets/site.css */

/* ---------- 1. CSS 变量 ---------- */
:root {
  --c-deep: #0B1F3A;
  --c-deep-2: #1B3A6B;
  --c-gold: #E5C15A;
  --c-gold-deep: #C9A227;
  --c-paper: #F4F1EC;
  --c-card: #FAF8F4;
  --c-ink: #141414;
  --c-muted: #5A6577;
  --c-line: #D8D2C8;
  --c-alert: #B5493A;
  --font-display: "Roboto Condensed", "Arial Narrow", "PingFang SC", sans-serif;
  --font-body: "Source Serif Pro", Georgia, "PingFang SC", serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
  --w-container: 1200px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shadow-card: 0 2px 10px rgba(11, 31, 58, 0.07);
  --shadow-hover: 0 12px 26px rgba(11, 31, 58, 0.1);
}

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

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

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

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

body {
  min-height: 100vh;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-ink);
}

a {
  color: var(--c-deep-2);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

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

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

button {
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--c-gold);
  color: var(--c-deep);
}

#main-content {
  min-height: 60vh;
  scroll-margin-top: 24px;
}

:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 2px;
}

/* ---------- 3. 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--w-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

.section {
  margin-block: 5rem;
}

.section-head {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

.section-label::after {
  content: "";
  height: 1px;
  width: 90px;
  background: var(--c-line);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold-deep);
}

.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.8rem;
}

.lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--c-muted);
  max-width: 60ch;
}

.display-hero {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--c-deep);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.divider-line {
  height: 1px;
  background: var(--c-line);
  border: 0;
  margin: 2.5rem 0;
}

/* ---------- 4. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-solid {
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-deep));
  color: var(--c-deep);
}

.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(201, 162, 39, 0.28);
  color: #fff;
}

.btn-outline {
  border-color: var(--c-gold);
  color: var(--c-gold);
}

.btn-outline:hover {
  background: var(--c-gold);
  color: var(--c-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--c-line);
  color: var(--c-ink);
  background: var(--c-card);
}

.btn-ghost:hover {
  border-color: var(--c-deep-2);
  color: var(--c-deep-2);
}

/* ---------- 5. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.breadcrumb a {
  color: var(--c-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--c-gold-deep);
}

.breadcrumb .sep {
  color: var(--c-line);
}

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

/* ---------- 6. 页头 ---------- */
.site-header {
  position: relative;
  z-index: 300;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-deep));
  color: var(--c-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.skip-link:focus-visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--c-gold-deep), var(--c-gold));
  z-index: 600;
  pointer-events: none;
}

.header-notice {
  background: #091629;
  border-bottom: 1px solid rgba(229, 193, 90, 0.22);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.header-notice-inner {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-block: 0.5rem;
}

.notice-dot {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-gold);
  box-shadow: 0 0 10px rgba(229, 193, 90, 0.65);
}

.notice-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-meta {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
}

.header-main {
  background: linear-gradient(108deg, var(--c-deep) 0%, var(--c-deep) 72%, var(--c-deep-2) 72.2%, var(--c-deep-2) 100%);
  border-bottom: 3px solid var(--c-gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  padding-right: 1.75rem;
  margin-right: 1.25rem;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-deep));
  color: var(--c-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
}

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

.nav-text {
  font-family: var(--font-display);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-tagline {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
  margin-top: 0.2rem;
}

/* 桌面导航 */
.site-nav {
  margin-left: auto;
}

.nav-head,
.nav-foot {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
}

.nav-item a {
  display: flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.75rem 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--c-gold);
  opacity: 0.85;
}

.nav-item a::after {
  content: "";
  position: absolute;
  left: 1.05rem;
  right: 1.05rem;
  bottom: 0.32rem;
  height: 2px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s var(--ease);
}

.nav-item a:hover,
.nav-item a[aria-current="page"] {
  color: #fff;
}

.nav-item a[aria-current="page"] {
  background: rgba(229, 193, 90, 0.08);
}

.nav-item a[aria-current="page"] .nav-index {
  opacity: 1;
}

.nav-item a:hover::after,
.nav-item a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* 导航切换按钮（隐藏于桌面，显示于移动端） */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  font-family: var(--font-display);
}

/* 遮罩层 */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 58, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 190;
}

.nav-backdrop[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

/* 紧凑桌面导航 */
@media (min-width: 1025px) and (max-width: 1320px) {
  .nav-item a {
    padding: 0.7rem 0.7rem;
    font-size: 0.875rem;
  }

  .nav-item a::after {
    left: 0.7rem;
    right: 0.7rem;
  }

  .brand {
    padding-right: 1.25rem;
    margin-right: 0.75rem;
  }
}

/* 移动端抽屉导航 */
@media (max-width: 1024px) {
  .header-main {
    background: var(--c-deep);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand {
    border-right: 0;
    padding-right: 0;
    margin-right: 0;
  }

  .brand-name {
    font-size: 1.12rem;
  }

  .brand-tagline {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.8rem;
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 2px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
  }

  .nav-toggle:hover,
  .nav-toggle[aria-expanded="true"] {
    border-color: var(--c-gold);
    background: rgba(229, 193, 90, 0.08);
  }

  .toggle-bars {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    width: 16px;
  }

  .toggle-bars span {
    display: block;
    height: 2px;
    background: var(--c-gold);
    transition: transform 0.25s var(--ease), opacity 0.2s ease;
  }

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

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

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

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(84vw, 400px);
    max-width: 400px;
    background: var(--c-deep);
    border-left: 1px solid rgba(229, 193, 90, 0.4);
    box-shadow: -16px 0 32px rgba(0, 0, 0, 0.28);
    z-index: 200;
    transform: translateX(102%);
    transition: transform 0.28s var(--ease);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: clamp(1.75rem, 6vw, 2.5rem);
  }

  .site-nav[data-open="true"] {
    transform: translateX(0);
  }

  .site-nav[data-open="true"]::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: var(--c-gold);
  }

  .nav-head {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-gold);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 1rem;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    margin-top: 1.5rem;
  }

  .nav-item a {
    padding: 1rem 0;
    font-size: 1.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    gap: 1rem;
  }

  .nav-item a::after {
    display: none;
  }

  .nav-item a[aria-current="page"] {
    background: transparent;
    color: var(--c-gold);
    padding-left: 0.85rem;
  }

  .nav-item a[aria-current="page"] .nav-index {
    opacity: 1;
  }

  .nav-foot {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.42);
    letter-spacing: 0.04em;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11, 31, 58, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 190;
  }

  .nav-backdrop[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (min-width: 1025px) {
  .nav-backdrop {
    display: none;
  }
}

@media (max-width: 640px) {
  .notice-meta {
    display: none;
  }

  .header-notice {
    font-size: 0.625rem;
  }
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--c-deep);
  color: rgba(255, 255, 255, 0.78);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 4px;
  background: var(--c-gold);
  z-index: 1;
}

.footer-top {
  padding-top: 3.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand .brand-mark {
  flex-basis: 3rem;
  width: 3rem;
  height: 3rem;
  font-size: 1.35rem;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.2rem;
}

.footer-statement {
  max-width: 62ch;
  margin-top: 1.3rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.62);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: 2.75rem;
  padding-top: 2.5rem;
  padding-bottom: 3.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-col-head {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1.1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-links {
  display: grid;
  gap: 0.62rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: var(--c-gold);
  padding-left: 4px;
}

.footer-contact {
  display: grid;
  gap: 1rem;
}

.footer-contact-item .k {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.footer-contact-item .v {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82);
}

.footer-bottom {
  background: #091629;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-icp {
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.05em;
}

@media (max-width: 864px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- 8. 共享基础组件 ---------- */
.card {
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--c-gold-deep);
  margin-bottom: 0.7rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--c-muted);
  font-size: 0.9375rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--c-card);
  border: 1px solid var(--c-line);
}

.data-table th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--c-line);
  background: rgba(244, 241, 236, 0.55);
}

.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-ink);
  font-size: 0.9375rem;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover td {
  background: rgba(229, 193, 90, 0.09);
}

.data-table .num {
  font-family: var(--font-mono);
  color: var(--c-deep-2);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--c-line);
  color: var(--c-muted);
  background: var(--c-card);
}

.tag-gold {
  border-color: rgba(201, 162, 39, 0.4);
  color: var(--c-gold-deep);
  background: rgba(229, 193, 90, 0.1);
}

.tag-alert {
  border-color: rgba(181, 73, 58, 0.45);
  color: var(--c-alert);
  background: rgba(181, 73, 58, 0.07);
}

.tag-ok {
  border-color: rgba(27, 58, 107, 0.3);
  color: var(--c-deep-2);
  background: rgba(27, 58, 107, 0.06);
}

.note {
  border-left: 3px solid var(--c-gold);
  background: var(--c-card);
  padding: 1.1rem 1.4rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--c-muted);
  border-radius: 0 4px 4px 0;
}

.img-box {
  position: relative;
  overflow: hidden;
  background: var(--c-deep-2);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(229, 193, 90, 0.16) 0%, transparent 46%);
  pointer-events: none;
  z-index: 1;
}

.img-box img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.img-box:hover img {
  transform: scale(1.03);
}

.img-ratio-16x9 {
  aspect-ratio: 16 / 9;
}

.img-ratio-4x3 {
  aspect-ratio: 4 / 3;
}

.img-ratio-1x1 {
  aspect-ratio: 1 / 1;
}

/* ---------- 9. 显现动画 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s var(--ease);
  will-change: opacity, transform;
}

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

[data-reveal][data-reveal-delay="1"] {
  transition-delay: 0.08s;
}

[data-reveal][data-reveal-delay="2"] {
  transition-delay: 0.16s;
}

[data-reveal][data-reveal-delay="3"] {
  transition-delay: 0.24s;
}

/* ---------- 10. 响应式网格 ---------- */
@media (max-width: 1024px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- 11. 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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