/* ============================================================
   鸿运国际主站 · /assets/site.css
   共享层：reset / 变量 / 中文排版 / 头部 / 页脚 / 通用组件
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

body { margin: 0; }

img, svg, video { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }

/* ---------- 设计变量 ---------- */
:root {
  --hy-cinnabar: #C1272D;
  --hy-cinnabar-deep: #8C1C22;
  --hy-gold: #C9A227;
  --hy-gold-deep: #8A6D12;
  --hy-gold-light: #E8D48A;
  --hy-ink: #14100E;
  --hy-cloud: #FBF7F2;
  --hy-paper: #F3EADF;
  --hy-teal: #1F3A38;
  --hy-indigo: #2E2447;
  --hy-warmgray: #7A6F68;

  --hy-serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --hy-sans: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --hy-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --hy-rail: clamp(64px, 9vw, 160px);
  --hy-shell: 1180px;
  --hy-r-card: 24px;
  --hy-r-pill: 999px;
  --hy-r-sm: 14px;
  --hy-gutter: clamp(18px, 3vw, 34px);

  --hy-line: rgba(20, 16, 14, 0.12);
  --hy-line-strong: rgba(20, 16, 14, 0.22);
  --hy-ease: cubic-bezier(0.22, 0.7, 0.3, 1);

  --hy-shadow-1: 0 1px 2px rgba(20, 16, 14, 0.06), 0 10px 26px -18px rgba(20, 16, 14, 0.42);
  --hy-shadow-2: 0 2px 6px rgba(20, 16, 14, 0.08), 0 30px 60px -30px rgba(20, 16, 14, 0.55);
}

/* ---------- 基础排版 ---------- */
body {
  padding-left: var(--hy-rail);
  min-height: 100vh;
  background-color: var(--hy-cloud);
  background-image:
    linear-gradient(rgba(20, 16, 14, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 16, 14, 0.028) 1px, transparent 1px);
  background-size: 52px 52px;
  color: var(--hy-ink);
  font-family: var(--hy-sans);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.hy-h1 {
  font-family: var(--hy-serif);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.18;
  letter-spacing: 0.01em;
}

.hy-h2 {
  font-family: var(--hy-serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.hy-h3 {
  font-family: var(--hy-serif);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.45;
}

.hy-eyebrow {
  display: inline-block;
  font-family: var(--hy-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hy-cinnabar);
  margin-bottom: 14px;
}

.hy-mono {
  font-family: var(--hy-mono);
  font-size: 0.92em;
  letter-spacing: 0.02em;
}

.hy-prose { max-width: 68ch; }
.hy-prose p + p { margin-top: 1.2em; }
.hy-prose h2 { font-family: var(--hy-serif); font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.3; margin: 1.8em 0 0.55em; }
.hy-prose h3 { font-family: var(--hy-serif); font-size: 1.15rem; margin: 1.5em 0 0.4em; }
.hy-prose ul, .hy-prose ol { margin: 1em 0; padding-left: 1.2em; list-style: disc; }
.hy-prose li { margin: 0.4em 0; }
.hy-prose blockquote {
  border-left: 3px solid var(--hy-gold);
  padding-left: 18px;
  font-family: var(--hy-serif);
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--hy-cinnabar-deep);
}
.hy-prose a { color: var(--hy-cinnabar); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 工具类 ---------- */
.hy-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.hy-shell {
  width: 100%;
  max-width: var(--hy-shell);
  margin: 0 auto;
  padding-left: var(--hy-gutter);
  padding-right: var(--hy-gutter);
}

/* ---------- 焦点态 ---------- */
:where(a, button, input, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--hy-gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 跳转链接 ---------- */
.hy-skip {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 300;
  transform: translateX(-50%) translateY(-160%);
  padding: 12px 24px 14px;
  border-radius: 0 0 16px 16px;
  background: var(--hy-ink);
  color: var(--hy-cloud);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: transform 0.22s var(--hy-ease);
}
.hy-skip:focus-visible { transform: translateX(-50%) translateY(0); }

/* ============================================================
   头部
   ============================================================ */
.hy-header {
  position: sticky;
  top: 0;
  z-index: 80;
}

/* ---- 左侧品牌轨道 ---- */
.hy-rail {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--hy-rail);
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 20px 8px 22px;
  background: linear-gradient(180deg, var(--hy-cinnabar) 0%, var(--hy-cinnabar-deep) 55%, var(--hy-ink) 100%);
  overflow: hidden;
}
.hy-rail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 8%, rgba(232, 212, 138, 0.34), transparent 58%);
  pointer-events: none;
}

.hy-rail-mark {
  position: relative;
  z-index: 1;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--hy-serif);
  font-weight: 700;
  font-size: clamp(0.85rem, 1.12vw, 1.05rem);
  letter-spacing: 0.2em;
  color: #fff;
  text-decoration: none;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(232, 212, 138, 0.45);
  flex: none;
}

.hy-rail-dots {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  align-items: stretch;
}
.hy-rail-dots a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 6px;
  border-radius: var(--hy-r-pill);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(251, 247, 242, 0.72);
  text-decoration: none;
  transition: color 0.18s, background 0.18s;
}
.hy-rail-dots a::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.65;
  transition: transform 0.2s var(--hy-ease), box-shadow 0.2s;
}
.hy-rail-dots a:hover { color: #fff; background: rgba(251, 247, 242, 0.14); }
.hy-rail-dots a.is-current { color: var(--hy-gold-light); }
.hy-rail-dots a.is-current::before {
  opacity: 1;
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.32);
}
.hy-rail-label { display: none; }

.hy-rail-bottom {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hy-rail-top {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(232, 212, 138, 0.5);
  background: rgba(20, 16, 14, 0.34);
  color: var(--hy-gold-light);
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s var(--hy-ease), background 0.2s, color 0.2s;
}
.hy-rail-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.hy-rail-top:hover { background: var(--hy-gold); color: var(--hy-ink); }

.hy-rail-icp {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--hy-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(251, 247, 242, 0.55);
}

/* ---- 顶栏（朱砂） ---- */
.hy-topbar {
  position: relative;
  z-index: 2;
  background: var(--hy-cinnabar);
  color: var(--hy-cloud);
  border-bottom: 1px solid var(--hy-cinnabar-deep);
  overflow: hidden;
}
.hy-topbar::after {
  content: "";
  position: absolute;
  top: -280px;
  right: -60px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(232, 212, 138, 0.32) 0%, rgba(232, 212, 138, 0) 66%);
  pointer-events: none;
}

.hy-topbar-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
  padding-top: 14px;
  padding-bottom: 15px;
  transition: padding 0.28s var(--hy-ease);
}
.hy-header.is-condensed .hy-topbar-inner { padding-top: 8px; padding-bottom: 9px; }

.hy-brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.hy-brand-name {
  font-family: var(--hy-serif);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.7vw, 1.38rem);
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.hy-brand-name::after {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  margin-left: 10px;
  vertical-align: 0.28em;
  border-radius: 2px;
  background: var(--hy-gold);
  transition: width 0.28s var(--hy-ease);
}
.hy-brand-name:hover::after { width: 42px; }
.hy-brand-note {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--hy-gold-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hy-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* ---- 检索 ---- */
.hy-search {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 4px 4px 16px;
  border-radius: var(--hy-r-pill);
  background: rgba(251, 247, 242, 0.13);
  border: 1px solid rgba(232, 212, 138, 0.42);
  transition: border-color 0.2s, background 0.2s;
}
.hy-search:focus-within {
  background: rgba(251, 247, 242, 0.2);
  border-color: var(--hy-gold-light);
}
.hy-search-input {
  width: clamp(104px, 15vw, 196px);
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0.85rem;
  outline: none;
}
.hy-search-input::placeholder { color: rgba(251, 247, 242, 0.72); }
.hy-search-input::-webkit-search-cancel-button { filter: invert(1); opacity: 0.6; }

.hy-search-sorts { display: flex; gap: 2px; flex: none; }
.hy-sort {
  padding: 5px 10px;
  border: 0;
  border-radius: var(--hy-r-pill);
  background: transparent;
  color: rgba(251, 247, 242, 0.78);
  font-family: var(--hy-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.hy-sort:hover { background: rgba(251, 247, 242, 0.16); color: #fff; }
.hy-sort[aria-pressed="true"] {
  background: var(--hy-gold);
  color: var(--hy-ink);
  font-weight: 600;
}

/* ---- 登录入口 ---- */
.hy-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--hy-r-pill);
  border: 1px solid rgba(201, 162, 39, 0.72);
  background: var(--hy-cloud);
  color: var(--hy-cinnabar);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
  flex: none;
  box-shadow: 0 8px 20px -12px rgba(20, 16, 14, 0.7);
  transition: background 0.18s, color 0.18s, transform 0.18s var(--hy-ease);
}
.hy-login:hover { background: var(--hy-gold); color: var(--hy-ink); transform: translateY(-1px); }
.hy-login-seal {
  position: relative;
  flex: none;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 4px;
}
.hy-login-seal::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 2px;
  background: currentColor;
}

/* ---- 栏目条 ---- */
.hy-nav {
  position: relative;
  z-index: 1;
  background: rgba(243, 234, 223, 0.94);
  border-bottom: 1px solid var(--hy-line);
  box-shadow: 0 12px 28px -26px rgba(20, 16, 14, 0.85);
}
.hy-nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  padding: 5px 0;
}
.hy-nav-list a {
  position: relative;
  display: block;
  padding: 9px 16px 12px;
  border-radius: 10px;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--hy-ink);
  text-decoration: none;
  transition: color 0.18s, background 0.18s;
}
.hy-nav-list a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--hy-cinnabar);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s var(--hy-ease);
}
.hy-nav-list a:hover { background: rgba(193, 39, 45, 0.07); }
.hy-nav-list a:hover::after { transform: scaleX(1); }
.hy-nav-list a[aria-current="page"] { color: var(--hy-cinnabar); font-weight: 600; }
.hy-nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.hy-nav-login { display: none; }

/* ---- 汉堡按钮 ---- */
.hy-nav-toggle {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(232, 212, 138, 0.5);
  border-radius: var(--hy-r-sm);
  background: rgba(251, 247, 242, 0.12);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background 0.18s, border-color 0.18s;
}
.hy-nav-toggle:hover { background: rgba(251, 247, 242, 0.22); }
.hy-nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--hy-cloud);
  transition: transform 0.24s var(--hy-ease), opacity 0.18s;
}
.hy-nav-toggle[aria-expanded="true"] .hy-nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hy-nav-toggle[aria-expanded="true"] .hy-nav-toggle-bar:nth-child(2) { opacity: 0; }
.hy-nav-toggle[aria-expanded="true"] .hy-nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   页脚
   ============================================================ */
.hy-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  padding: clamp(38px, 5vw, 68px) 0 26px;
  background: var(--hy-ink);
  color: var(--hy-cloud);
  overflow: hidden;
}
.hy-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 320px at 10% 0%, rgba(193, 39, 45, 0.42), transparent 70%),
    radial-gradient(620px 320px at 92% 104%, rgba(46, 36, 71, 0.62), transparent 74%);
  pointer-events: none;
}
.hy-footer > .hy-shell { position: relative; z-index: 1; }

.hy-footer-slogan {
  font-family: var(--hy-serif);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.35;
  letter-spacing: 0.06em;
  color: var(--hy-gold-light);
  max-width: 24ch;
}

.hy-footer-rule {
  height: 1px;
  margin: clamp(20px, 3vw, 32px) 0 clamp(28px, 4vw, 44px);
  background: linear-gradient(90deg,
    rgba(232, 212, 138, 0.62) 0%,
    rgba(232, 212, 138, 0.62) 62%,
    rgba(232, 212, 138, 0) 100%);
}

.hy-footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(130px, 1fr));
  gap: clamp(26px, 3vw, 48px);
  padding-bottom: clamp(28px, 4vw, 46px);
  border-bottom: 1px solid rgba(232, 212, 138, 0.2);
}

.hy-footer-name {
  font-family: var(--hy-serif);
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 10px;
}
.hy-footer-note {
  max-width: 34ch;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(251, 247, 242, 0.66);
  margin-bottom: 16px;
}
.hy-footer-contact {
  font-style: normal;
  font-size: 0.82rem;
  line-height: 1.95;
  color: rgba(251, 247, 242, 0.7);
}
.hy-footer-contact span { display: block; }
.hy-footer-contact .hy-mono { color: var(--hy-gold-light); }

.hy-footer-col-title {
  font-family: var(--hy-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--hy-gold);
  margin-bottom: 14px;
}
.hy-footer-col-list li + li { margin-top: 9px; }
.hy-footer-col-list a {
  font-size: 0.9rem;
  color: rgba(251, 247, 242, 0.78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.hy-footer-col-list a:hover {
  color: var(--hy-gold-light);
  border-bottom-color: rgba(232, 212, 138, 0.6);
}

.hy-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  justify-content: space-between;
  padding-top: 20px;
  font-family: var(--hy-mono);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: rgba(251, 247, 242, 0.54);
}

/* ============================================================
   通用组件
   ============================================================ */

/* ---- 主体容器 ---- */
.hy-main { display: block; }

/* ---- 区块 ---- */
.hy-section {
  position: relative;
  padding: clamp(48px, 7vw, 92px) 0;
}
.hy-section--paper { background: var(--hy-paper); }
.hy-section--cloud { background: var(--hy-cloud); }
.hy-section--ink { background: var(--hy-ink); color: var(--hy-cloud); }
.hy-section--teal { background: var(--hy-teal); color: var(--hy-cloud); }
.hy-section--indigo { background: var(--hy-indigo); color: var(--hy-cloud); }

.hy-section--ink .hy-eyebrow,
.hy-section--teal .hy-eyebrow,
.hy-section--indigo .hy-eyebrow { color: var(--hy-gold); }

.hy-section--ink .hy-prose blockquote,
.hy-section--teal .hy-prose blockquote,
.hy-section--indigo .hy-prose blockquote {
  border-left-color: var(--hy-gold);
  color: var(--hy-gold-light);
}

.hy-section--ink .hy-prose a,
.hy-section--teal .hy-prose a,
.hy-section--indigo .hy-prose a { color: var(--hy-gold-light); }

/* ---- 短分隔线 ---- */
.hy-rule {
  height: 1px;
  border: 0;
  margin: clamp(24px, 3vw, 40px) 0;
  background: linear-gradient(90deg, var(--hy-line-strong) 0%, rgba(20, 16, 14, 0) 78%);
}
.hy-section--ink .hy-rule,
.hy-section--teal .hy-rule,
.hy-section--indigo .hy-rule {
  background: linear-gradient(90deg, rgba(232, 212, 138, 0.45) 0%, rgba(232, 212, 138, 0) 78%);
}

/* ---- 按钮 ---- */
.hy-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: var(--hy-r-pill);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--hy-ease), background 0.18s, color 0.18s, border-color 0.18s;
}
.hy-btn--primary { background: var(--hy-cinnabar); color: #fff; }
.hy-btn--primary:hover { background: var(--hy-cinnabar-deep); transform: translateY(-2px); }
.hy-btn--gold { background: var(--hy-gold); color: var(--hy-ink); }
.hy-btn--gold:hover { background: var(--hy-gold-light); transform: translateY(-2px); }
.hy-btn--ghost { background: transparent; color: var(--hy-ink); border-color: var(--hy-line-strong); }
.hy-btn--ghost:hover { border-color: var(--hy-cinnabar); color: var(--hy-cinnabar); transform: translateY(-2px); }
.hy-btn--onDark {
  background: rgba(251, 247, 242, 0.09);
  color: var(--hy-cloud);
  border-color: rgba(232, 212, 138, 0.45);
}
.hy-btn--onDark:hover { background: rgba(232, 212, 138, 0.18); transform: translateY(-2px); }

/* ---- 胶囊标签 ---- */
.hy-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--hy-r-pill);
  border: 1px solid rgba(201, 162, 39, 0.42);
  background: rgba(201, 162, 39, 0.14);
  color: var(--hy-gold-deep);
  font-family: var(--hy-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.hy-pill--cinnabar {
  border-color: rgba(193, 39, 45, 0.34);
  background: rgba(193, 39, 45, 0.1);
  color: var(--hy-cinnabar);
}
.hy-pill--onDark {
  border-color: rgba(232, 212, 138, 0.42);
  background: rgba(232, 212, 138, 0.12);
  color: var(--hy-gold-light);
}

/* ---- 卡片 ---- */
.hy-card {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--hy-line);
  border-radius: var(--hy-r-card);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--hy-shadow-1);
  transition: transform 0.22s var(--hy-ease), box-shadow 0.22s, border-color 0.22s;
}
.hy-card:hover { transform: translateY(-3px); box-shadow: var(--hy-shadow-2); border-color: rgba(201, 162, 39, 0.5); }
.hy-card--ink { background: var(--hy-ink); color: var(--hy-cloud); border-color: rgba(232, 212, 138, 0.22); }
.hy-card--teal { background: var(--hy-teal); color: var(--hy-cloud); border-color: rgba(232, 212, 138, 0.22); }
.hy-card--indigo { background: var(--hy-indigo); color: var(--hy-cloud); border-color: rgba(232, 212, 138, 0.22); }

/* ---- 网格 ---- */
.hy-grid { display: grid; gap: clamp(18px, 2.5vw, 32px); }
.hy-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hy-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---- 面包屑 ---- */
.hy-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--hy-warmgray);
  margin-bottom: 20px;
}
.hy-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hy-breadcrumb li { display: flex; align-items: center; gap: 8px; }
.hy-breadcrumb li + li::before { content: "›"; color: var(--hy-gold); }
.hy-breadcrumb a { text-decoration: none; transition: color 0.18s; }
.hy-breadcrumb a:hover { color: var(--hy-cinnabar); }
.hy-section--ink .hy-breadcrumb,
.hy-section--teal .hy-breadcrumb,
.hy-section--indigo .hy-breadcrumb { color: rgba(251, 247, 242, 0.66); }

/* ---- 图片容器基础（页面阶段放置资源） ---- */
.hy-media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--hy-line);
  border-radius: var(--hy-r-card);
  background: linear-gradient(140deg, var(--hy-paper) 0%, #ffffff 100%);
  isolation: isolate;
}
.hy-media > img,
.hy-media > svg,
.hy-media > picture,
.hy-media > picture > img,
.hy-media > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hy-media--wide { aspect-ratio: 16 / 9; }
.hy-media--soft { aspect-ratio: 3 / 2; }
.hy-media--tall { aspect-ratio: 4 / 5; }
.hy-media--square { aspect-ratio: 1 / 1; }

.hy-media__caption {
  margin-top: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--hy-warmgray);
}
.hy-section--ink .hy-media__caption,
.hy-section--teal .hy-media__caption,
.hy-section--indigo .hy-media__caption { color: rgba(251, 247, 242, 0.6); }

/* ---- 滚动显现（JS 存在时才生效） ---- */
html.hy-js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.42s var(--hy-ease), transform 0.42s var(--hy-ease);
  transition-delay: var(--hy-delay, 0ms);
}
html.hy-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   响应式
   ============================================================ */
@media (min-width: 1180px) {
  .hy-rail-dots a { justify-content: flex-start; padding-left: 15px; }
  .hy-rail-label { display: inline; }
}

@media (max-width: 1080px) {
  .hy-brand-note { display: none; }
}

@media (max-width: 900px) {
  body { padding-left: 0; background-size: 40px 40px; }
  :root { --hy-rail: 0px; }

  .hy-rail { display: none; }

  .hy-nav-toggle { display: flex; }
  .hy-tools > .hy-login { display: none; }

  .hy-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    z-index: 1;
    width: min(330px, 86vw);
    padding: 104px 18px 40px;
    background: var(--hy-paper);
    border-left: 1px solid var(--hy-line);
    box-shadow: -28px 0 56px -34px rgba(20, 16, 14, 0.85);
    overflow-y: auto;
    transform: translateX(103%);
    transition: transform 0.3s var(--hy-ease);
  }
  .hy-nav[data-open] { transform: translateX(0); }
  .hy-nav .hy-shell { max-width: none; padding: 0; }
  .hy-nav-list { flex-direction: column; align-items: stretch; gap: 2px; padding: 0; }
  .hy-nav-list a {
    padding: 14px 16px;
    border-radius: var(--hy-r-sm);
    font-size: 1rem;
  }
  .hy-nav-list a::after { display: none; }
  .hy-nav-list a:hover { background: rgba(193, 39, 45, 0.08); }
  .hy-nav-list a[aria-current="page"] {
    background: rgba(193, 39, 45, 0.1);
    box-shadow: inset 3px 0 0 var(--hy-cinnabar);
  }
  .hy-nav-login {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
  }

  .hy-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hy-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 120px; }
  .hy-grid--2, .hy-grid--3 { grid-template-columns: 1fr; }
  .hy-search-sorts { display: none; }
  .hy-search { padding-left: 14px; }
  .hy-search-input { width: 124px; }
  .hy-footer-legal { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .hy-search { display: none; }
  .hy-brand-name { font-size: 1.08rem; letter-spacing: 0.06em; }
  .hy-brand-name::after { display: none; }
  .hy-footer-grid { grid-template-columns: 1fr; }
  .hy-media--tall { aspect-ratio: 1 / 1; }
}

/* ============================================================
   动效降级
   ============================================================ */
@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;
  }

  html.hy-js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: opacity 0.3s linear;
    transition-delay: 0ms;
  }
}
