/* ============================================================
   HIFI音响 — 样式表
   设计基准：1440 宽（视觉稿 1024×1536 ×1.40625 = 1440×2160）
   ============================================================ */



* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--on-gold);
  padding: 10px 16px;
  z-index: 99;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------------------------------------------- header */
.site-header {
  position: relative;
  z-index: 30;
  height: 84px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-4) 0%, var(--bg) 100%);
}
.header-inner {
  height: 84px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gold);
  flex: none;
}
.brand-mark { color: var(--gold); }
.brand-word {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold);
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}
.nav a {
  text-decoration: none;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav a:hover, .nav a:focus-visible { color: var(--ink); border-color: var(--line-strong); }
.nav .nav-cta {
  color: var(--gold);
  border-bottom-color: var(--gold);
  padding-bottom: 4px;
}
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-drop {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  min-width: 196px;
  max-height: 360px;
  overflow-y: auto;
  padding: 8px 0;
  background: var(--surface-4);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  z-index: 40;
}
.nav-item:hover .nav-drop { display: block; }
.nav-drop a {
  display: block;
  padding: 8px 18px;
  border-bottom: 0;
  font-size: 14px;
  white-space: nowrap;
}
.nav-drop a:hover, .nav-drop a:focus-visible {
  color: var(--gold);
  border-color: transparent;
  background: rgba(255, 255, 255, 0.05);
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  font: inherit;
  font-size: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px var(--gutter) 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-4);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: 11px 0;
  text-decoration: none;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}
.mobile-nav .mobile-sub {
  padding: 9px 0 9px 18px;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ---------------------------------------------- hero */
.hero {
  display: grid;
  grid-template-columns: 660px minmax(0, 1fr);
  height: 467px;
  max-width: var(--shell);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-copy {
  padding: 26px var(--gutter) 0 var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.eyebrow {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.2;
  color: var(--ink-cream-strong);
  letter-spacing: 0.01em;
}
.hero h1 {
  font-family: var(--serif);
  font-size: 92px;
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--gold);
  margin-top: 6px;
}
.h1-dot { color: var(--gold); }
.hero-lede {
  font-size: 17px;
  line-height: 1.78;
  color: var(--ink-2);
  max-width: 566px;
  margin-top: 14px;
}
.hero-lede + .hero-lede { margin-top: 0; }
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 26px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-solid {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--on-gold);
  box-shadow: var(--shadow-gold);
}
.btn-solid:hover { transform: translateY(-1px); box-shadow: var(--shadow-gold-hover); }
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink-cream-strong);
  background: var(--ghost-fill);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--on-dark); }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: auto;
  padding-bottom: 24px;
  font-size: 15px;
  color: var(--ink-3);
}
.hero-stats li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 26px 0 0;
  margin-right: 26px;
  border-right: 1px solid var(--line);
}
.hero-stats li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-stats strong { color: var(--on-dark); font-size: 16px; }
.stat-icon {
  width: 15px;
  height: 15px;
  flex: none;
  background-image: radial-gradient(var(--gold) 1.2px, transparent 1.3px);
  background-size: 5px 5px;
  background-position: 0 0;
  opacity: 0.9;
}
.hero-media { margin: 0; height: 467px; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 46%;
}

/* ---------------------------------------------- categories */
.categories {
  padding: 56px 0 48px;
  background: var(--bg);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}
.categories h2 { font-size: 28px; letter-spacing: 0.01em; }
.section-more {
  font-size: 15px;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}
.section-more:hover { color: var(--gold); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}
.cat-card {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  height: 124px;
  background: linear-gradient(135deg, var(--surface-hi) 0%, var(--surface-lo) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.cat-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.cat-thumb { display: block; height: 124px; overflow: hidden; }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-body { display: block; padding: 11px 12px 9px; }
.cat-no {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-right: 6px;
}
.cat-name { font-size: 17px; font-weight: 700; color: var(--ink-strong); }
.cat-desc {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-3);
}

/* ---------------------------------------------- featured */
.featured { padding: 62px 0 12px; background: var(--bg); }
.featured h2 { font-size: 28px; letter-spacing: 0.01em; }
.section-lede {
  margin-top: 8px;
  font-size: 15.5px;
  color: var(--ink-3);
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin-top: 20px;
}
.feat-card {
  display: flex;
  flex-direction: column;
  height: 281px;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.feat-media { display: block; height: 136px; overflow: hidden; }
.feat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 20px 14px;
  color: var(--cream-ink);
}
.feat-body h3 { font-size: 18px; line-height: 1.4; }
.feat-body h3 a { text-decoration: none; color: var(--cream-ink); }
.feat-body h3 a:hover { color: var(--gold-deep); }
.feat-body p {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--cream-ink-2);
}
.feat-meta {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--cream-ink-3);
}
.feat-meta a { text-decoration: none; color: var(--gold-deep); font-weight: 600; }

/* ---------------------------------------------- path */
.path {
  padding: 46px 0 40px;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.path-inner {
  position: relative;
}
.path-copy { max-width: 100%; }
.path h2 { font-size: 26px; letter-spacing: 0.01em; }
.path-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin-top: 30px;
  max-width: 1120px;
  position: relative;
  z-index: 2;
}
.path-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.path-steps li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -26px;
  top: 10px;
  color: var(--arrow);
  font-size: 18px;
}
.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.path-steps h3 { font-size: 16px; margin-bottom: 4px; color: var(--ink-strong); }
.path-steps p { font-size: 13px; line-height: 1.6; color: var(--ink-3); }
.path-media {
  margin: 0;
  position: absolute;
  right: 0;
  top: -8px;
  width: 690px;
  height: 234px;
  border-radius: var(--radius);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, var(--bg-deep) 26%);
  mask-image: linear-gradient(90deg, transparent 0%, var(--bg-deep) 26%);
  z-index: 1;
}
.path-media img { width: 100%; height: 100%; object-fit: cover; }
.path-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--scrim-strong) 0%, var(--scrim) 34%, var(--scrim) 70%, var(--scrim-clear) 100%);
}

/* ---------------------------------------------- notes */
.notes { padding: 38px 0 17px; background: var(--bg); }
.notes-box {
  display: grid;
  grid-template-columns: 45% minmax(0, 1fr);
  gap: 42px;
  padding: 12px 26px;
  min-height: 114px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(120deg, var(--surface-hi) 0%, var(--surface-5) 100%);
}
.notes-intro h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  color: var(--ink-strong);
}
.notes-icon { color: var(--gold); font-size: 18px; }
.notes-intro p {
  margin-top: 7px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-3);
}
.notes-list { display: grid; gap: 4px; align-content: center; }
.notes-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-2);
}
.notes-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-soft);
  font-size: 13px;
}
.notes-list strong { color: var(--ink-strong); font-weight: 600; }

/* ---------------------------------------------- footer */
.site-footer {
  padding: 57px 0 49px;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}
.footer-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 24px;
  align-items: center;
}
.footer-brand .brand { grid-row: 1 / span 2; }
.footer-tagline { font-size: 17px; font-weight: 600; color: var(--ink-strong); }
.footer-desc { font-size: 13.5px; color: var(--ink-4); }
.footer-rule {
  margin: 26px 0 24px;
  border: 0;
  border-top: 1px solid var(--line);
}
.footer-bottom {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 56px;
}
.footer-links { display: flex; align-items: flex-start; gap: 26px; }
.footer-links h3, .footer-note h3 {
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 600;
  margin: 0 0 10px;
  white-space: nowrap;
}
.footer-links h3 { margin-bottom: 0; padding-top: 1px; }
.footer-link-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 8px 30px;
  font-size: 14px;
}
.footer-link-grid a { text-decoration: none; color: var(--ink-2); }
.footer-link-grid a:hover { color: var(--gold); }
.footer-note { max-width: 330px; text-align: right; }
.footer-note p { font-size: 12.5px; line-height: 1.75; color: var(--ink-4); }
.footer-copy { margin-top: 8px; color: var(--ink-4); }

/* ---------------------------------------------- responsive */
@media (max-width: 1200px) {
  :root { --gutter: 28px; }
  .nav { gap: 14px; font-size: 14px; }
  .hero { grid-template-columns: 560px minmax(0, 1fr); }
  .hero h1 { font-size: 76px; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .path-inner { grid-template-columns: minmax(0, 1fr) 420px; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav:not([hidden]) { display: flex; }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }
  .hero-media { height: 340px; order: -1; }
  .hero-copy { padding: 28px var(--gutter) 32px; }
  .hero h1 { font-size: 64px; }
  .hero-stats { margin-top: 26px; padding-bottom: 0; flex-wrap: wrap; gap: 10px 0; }
  .hero-stats li { padding-right: 18px; margin-right: 18px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-card { height: auto; min-height: 124px; }
  .cat-thumb { height: auto; aspect-ratio: 1 / 1; }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-card { height: auto; }
  .feat-media { height: 170px; }
  .feat-body { padding-bottom: 18px; }
  .path-inner { grid-template-columns: minmax(0, 1fr); }
  .path-media {
    position: static;
    width: 100%;
    height: 220px;
    margin-bottom: 20px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .path-media::after { background: linear-gradient(0deg, var(--scrim) 0%, var(--scrim-clear) 60%); }
  .path-steps { margin-top: 8px; }
  .path-steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .path-steps li:not(:last-child)::after { content: none; }
  .notes-box { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .footer-bottom { flex-direction: column; gap: 26px; }
  .footer-note { text-align: left; max-width: none; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .site-header, .header-inner { height: 68px; }
  .brand-word { font-size: 20px; }
  .hero-media { height: 240px; }
  .hero h1 { font-size: 46px; }
  .eyebrow { font-size: 18px; }
  .hero-lede { font-size: 15.5px; }
  .hero-actions { width: 100%; }
  .btn { height: 46px; padding: 0 22px; font-size: 15px; flex: 1; }
  .hero-stats { font-size: 13.5px; }
  .categories { padding: 36px 0 32px; }
  .categories h2, .featured h2, .path h2 { font-size: 21px; }
  .cat-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cat-card { grid-template-columns: 104px minmax(0, 1fr); height: auto; min-height: 104px; }
  .cat-thumb { height: auto; aspect-ratio: 1 / 1; }
  .feat-grid { grid-template-columns: minmax(0, 1fr); }
  .feat-media { height: 190px; }
  .feat-card { height: auto; }
  .notes-box { padding: 18px; }
  .notes-intro h2 { font-size: 17px; }
  .notes-list li { font-size: 13.5px; }
  .footer-brand { grid-template-columns: minmax(0, 1fr); }
  .footer-brand .brand { grid-row: auto; margin-bottom: 10px; }
  .footer-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
