:root {
  --black: #060807;
  --deep: #0a1710;
  --forest: #143322;
  --forest-soft: #1f4a32;
  --cream: #f7f0df;
  --paper: #fbf6ea;
  --gold: #c8a15a;
  --gold-soft: #efd89a;
  --text: #132119;
  --muted: #6d665b;
  --line: rgba(19, 33, 25, 0.14);
  --line-dark: rgba(239, 216, 154, 0.18);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: var(--cream);
  background: rgba(5, 7, 6, 0.88);
  border-bottom: 1px solid rgba(239, 216, 154, 0.16);
  backdrop-filter: blur(18px);
  transition: min-height 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  min-height: 60px;
  background: rgba(5, 7, 6, 0.96);
}

.brand {
  min-width: 0;
}

.brand-logo {
  display: block;
  color: var(--gold-soft);
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  justify-content: center;
  color: rgba(247, 240, 223, 0.82);
  font-size: 14px;
  font-weight: 650;
}

.desktop-nav a {
  position: relative;
  padding: 24px 0;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

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

.nav-action,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-action {
  justify-self: end;
  color: var(--gold-soft);
  border-color: rgba(239, 216, 154, 0.4);
}

.nav-action:hover,
.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #17130b;
  background: linear-gradient(135deg, #f1d88e, #b88d43);
}

.button.ghost,
.button.outline {
  color: var(--cream);
  background: rgba(247, 240, 223, 0.06);
  border-color: rgba(239, 216, 154, 0.42);
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  color: var(--cream);
  background: rgba(247, 240, 223, 0.06);
  border: 1px solid rgba(239, 216, 154, 0.24);
  border-radius: 4px;
}

.mobile-panel {
  position: fixed;
  inset: 68px 14px auto;
  z-index: 35;
  display: grid;
  gap: 2px;
  padding: 8px;
  color: var(--cream);
  background: rgba(5, 7, 6, 0.96);
  border: 1px solid rgba(239, 216, 154, 0.24);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.mobile-panel[hidden] {
  display: none;
}

.mobile-panel a {
  padding: 14px;
  font-size: 15px;
  color: rgba(247, 240, 223, 0.88);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--cream);
  background: var(--black);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("./assets/full-lineup.jpg");
  background-position: center right;
  background-size: cover;
  transform: scale(1.005);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.62) 43%, rgba(0, 0, 0, 0.18) 78%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, transparent 32%, rgba(0, 0, 0, 0.62) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  min-height: 100vh;
  display: grid;
  align-content: center;
  padding: 96px clamp(20px, 5vw, 72px) 78px;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--gold-soft);
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: clamp(58px, 8vw, 112px);
  font-weight: 430;
  line-height: 1.05;
  letter-spacing: 0.04em;
}

.hero-subtitle {
  margin: 24px 0 0;
  color: #fff;
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 450;
  letter-spacing: 0.08em;
}

.hero-text {
  max-width: 600px;
  margin: 30px 0 0;
  color: rgba(247, 240, 223, 0.82);
  font-size: 18px;
  line-height: 1.9;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 42px;
}

.hero-points div {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 130px;
}

.hero-points svg {
  width: 42px;
  height: 42px;
  color: var(--gold-soft);
}

.hero-points span {
  color: rgba(247, 240, 223, 0.82);
  font-size: 15px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 44px;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 26px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  transform: translateX(-50%);
}

.scroll-cue svg {
  width: 30px;
  height: 30px;
}

.chapters {
  color: rgba(247, 240, 223, 0.78);
  background: #050706;
  border-top: 1px solid rgba(239, 216, 154, 0.18);
  border-bottom: 1px solid rgba(239, 216, 154, 0.14);
}

.chapters-inner {
  width: min(100%, var(--max));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
}

.chapters a {
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 132px;
  align-content: center;
  padding: 24px clamp(22px, 3vw, 38px);
  border-right: 1px solid rgba(239, 216, 154, 0.12);
  transition: background 180ms ease, color 180ms ease;
}

.chapters a:first-child {
  border-left: 1px solid rgba(239, 216, 154, 0.12);
}

.chapters a:hover {
  color: var(--cream);
  background: rgba(239, 216, 154, 0.06);
}

.chapters small {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chapters strong {
  color: var(--gold-soft);
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 28px;
  font-weight: 520;
  letter-spacing: 0.08em;
}

.chapters span {
  font-size: 14px;
}

.section {
  padding: clamp(76px, 9vw, 128px) clamp(20px, 5vw, 72px);
  scroll-margin-top: 78px;
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-label {
  display: block;
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.section-copy h2,
.section-heading h2,
.products-intro h2 {
  margin: 0;
  color: var(--text);
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 430;
  line-height: 1.18;
  letter-spacing: 0.08em;
}

.section-copy p,
.section-heading p,
.products-intro p {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.origin {
  background:
    radial-gradient(circle at 6% 12%, rgba(200, 161, 90, 0.1), transparent 25%),
    var(--paper);
}

.origin-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.52fr) minmax(420px, 0.72fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}

.origin-photo {
  overflow: hidden;
  min-height: 410px;
  border-radius: 18px 18px 18px 48px;
  box-shadow: 0 28px 74px rgba(22, 32, 22, 0.16);
}

.origin-photo img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  object-position: 42% center;
}

.dark {
  color: var(--cream);
  background:
    radial-gradient(circle at 84% 12%, rgba(200, 161, 90, 0.14), transparent 30%),
    linear-gradient(135deg, #050706, #101512 48%, #06100b);
}

.products-layout {
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: stretch;
}

.products-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.products-intro h2,
.dark .section-copy h2,
.dark .section-heading h2 {
  color: var(--gold-soft);
}

.products-intro p,
.dark .section-copy p,
.dark .section-heading p {
  color: rgba(247, 240, 223, 0.76);
}

.products-intro .button {
  align-self: flex-start;
  margin-top: 48px;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(239, 216, 154, 0.18);
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.product-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  opacity: 0.92;
  transform: scale(1.02);
  transition: transform 500ms var(--ease), opacity 500ms ease;
}

.product-card:nth-child(1) img {
  object-position: 36% center;
}

.product-card:nth-child(2) img {
  object-position: 51% center;
}

.product-card:nth-child(3) img {
  object-position: 34% center;
}

.product-card:nth-child(4) img {
  object-position: 69% center;
}

.product-card::after {
  position: absolute;
  inset: 42% 0 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.86));
}

.product-card div {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 24px;
  left: 22px;
}

.product-card h3 {
  margin: 0;
  color: var(--gold-soft);
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 30px;
  font-weight: 520;
  letter-spacing: 0.08em;
}

.product-card p {
  margin: 10px 0 0;
  color: rgba(247, 240, 223, 0.86);
  font-size: 14px;
}

.product-card:hover img {
  opacity: 1;
  transform: scale(1.07);
}

.quality {
  background: var(--paper);
}

.section-heading {
  max-width: 880px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading p {
  margin-right: auto;
  margin-left: auto;
}

.trace-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: start;
}

.trace-card {
  position: relative;
  text-align: center;
}

.trace-card:not(:last-child)::after {
  position: absolute;
  top: 82px;
  right: -22px;
  width: 20px;
  height: 20px;
  content: "";
  border-top: 2px solid rgba(19, 33, 25, 0.34);
  border-right: 2px solid rgba(19, 33, 25, 0.34);
  transform: rotate(45deg);
}

.trace-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(21, 28, 19, 0.12);
}

.trace-card:nth-child(1) img {
  object-position: 35% center;
}

.trace-card strong {
  display: block;
  margin-top: 20px;
  color: var(--forest);
  font-size: 18px;
}

.trace-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.dark-panel {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background: #060807;
}

.about-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.95) 0%, rgba(5, 7, 6, 0.8) 40%, rgba(5, 7, 6, 0.38)),
    url("./assets/full-lineup.jpg") right center / cover no-repeat;
  opacity: 0.88;
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.48fr) minmax(380px, 0.52fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}

.about .section-copy h2 {
  color: var(--gold-soft);
}

.about .section-copy p {
  color: rgba(247, 240, 223, 0.78);
}

.about .button {
  margin-top: 32px;
}

.about-photo {
  overflow: hidden;
  border: 1px solid rgba(239, 216, 154, 0.18);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.site-footer {
  color: rgba(247, 240, 223, 0.78);
  background:
    radial-gradient(circle at 76% 100%, rgba(200, 161, 90, 0.14), transparent 30%),
    linear-gradient(135deg, #0b2317, #06100b);
}

.footer-inner {
  width: min(100%, var(--max));
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 52px;
  margin: 0 auto;
  padding: 48px clamp(20px, 5vw, 72px);
}

.footer-contact {
  display: flex;
  gap: 18px;
  align-items: center;
}

.footer-contact img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  background: var(--paper);
  border-radius: 50%;
}

.footer-contact strong {
  display: block;
  color: var(--gold-soft);
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: 28px;
  font-weight: 520;
}

.footer-contact p {
  margin: 8px 0 0;
  color: rgba(247, 240, 223, 0.68);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-links h3 {
  margin: 0 0 18px;
  color: var(--gold-soft);
  font-size: 15px;
}

.footer-links a {
  display: block;
  margin-top: 12px;
  color: rgba(247, 240, 223, 0.72);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 18px 20px 24px;
  color: rgba(247, 240, 223, 0.48);
  font-size: 13px;
  border-top: 1px solid rgba(239, 216, 154, 0.12);
}

.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .desktop-nav,
  .nav-action {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .origin-grid,
  .products-layout,
  .about-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .product-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trace-line {
    grid-template-columns: repeat(2, 1fr);
  }

  .trace-card:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 62px;
    padding: 0 18px;
  }

  .brand-logo {
    font-size: 19px;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.48)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.48), transparent 28%, rgba(0, 0, 0, 0.72));
  }

  .hero-content {
    padding: 92px 20px 76px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 46px;
    letter-spacing: 0.02em;
  }

  .hero-subtitle {
    max-width: 340px;
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: 0.04em;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .hero-points div {
    min-width: 0;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .section {
    padding: 68px 20px;
  }

  .chapters-inner {
    grid-template-columns: 1fr;
  }

  .chapters a,
  .chapters a:first-child {
    min-height: 112px;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(239, 216, 154, 0.12);
  }

  .section-copy h2,
  .section-heading h2,
  .products-intro h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .origin-photo,
  .origin-photo img {
    min-height: 320px;
  }

  .product-cards,
  .trace-line,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .product-card,
  .product-card img {
    min-height: 340px;
  }

  .footer-inner {
    padding: 40px 20px;
  }

  .footer-contact {
    align-items: flex-start;
  }
}
