:root {
  --bg: #0b0e13;
  --bg-elevated: #12171f;
  --bg-panel: #161c25;
  --border: rgba(168, 180, 196, 0.16);
  --text: #e8ecf0;
  --text-secondary: #9aa4b2;
  --text-muted: #6e7886;
  --copper: #c4a574;
  --copper-soft: #e0c89a;
  --on-copper: #12151a;
  --max: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 18px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    "PingFang SC",
    "Hiragino Sans GB",
    "Noto Sans SC",
    "Microsoft YaHei",
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(196, 165, 116, 0.12), transparent 55%),
    radial-gradient(900px 500px at 10% 20%, rgba(104, 120, 140, 0.12), transparent 50%),
    linear-gradient(180deg, #0d1218 0%, var(--bg) 40%, #090b0f 100%);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.shell {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(11, 14, 19, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(11, 14, 19, 0.88);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(196, 165, 116, 0.25);
}

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

.brand-cn {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.brand-en {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--copper);
}

.nav {
  display: none;
  gap: 28px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.nav a:hover {
  color: var(--copper-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--copper-soft), var(--copper));
  color: var(--on-copper);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 30px rgba(196, 165, 116, 0.22);
  transition: transform 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 12px;
}

.text-link {
  color: var(--copper-soft);
  font-size: 14px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(224, 200, 154, 0.35);
  padding-bottom: 2px;
}

.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
}

.hero-grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--copper);
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.08;
  font-weight: 560;
  letter-spacing: 0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--copper-soft);
}

.lede {
  margin: 24px 0 0;
  max-width: 34em;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 32px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.hero-meta dt {
  margin: 0;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-meta dd {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--text);
}

.hero-visual {
  margin: 0;
}

.frame {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.frame img {
  width: 100%;
  object-fit: cover;
}

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

figcaption {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pullquote {
  padding: 12px 0 48px;
}

.pullquote blockquote {
  margin: 0;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pullquote p {
  margin: 0;
  max-width: 18em;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.features,
.preview,
.download {
  padding: clamp(48px, 8vw, 96px) 0;
}

.section-head {
  max-width: 40em;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 560;
  letter-spacing: 0.02em;
}

.section-sub {
  margin: 14px 0 0;
  color: var(--text-secondary);
}

.chapter {
  display: grid;
  gap: 24px;
  padding: clamp(28px, 4vw, 40px) 0;
  border-top: 1px solid var(--border);
}

.chapter:last-child {
  border-bottom: 1px solid var(--border);
}

.chapter-index {
  color: var(--copper);
  font-size: 13px;
  letter-spacing: 0.28em;
}

.chapter-body h3 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 560;
}

.chapter-body p {
  margin: 0;
  color: var(--text-secondary);
}

.chapter-body ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text);
}

.chapter-body li {
  position: relative;
  padding-left: 18px;
  margin-top: 8px;
}

.chapter-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--copper);
}

.chapter-media .frame img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.lookbook {
  display: grid;
  gap: 18px;
}

.look {
  margin: 0;
}

.look img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-panel);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.look-a img {
  aspect-ratio: 9 / 16;
  max-height: 640px;
  margin-inline: auto;
}

.look-b img {
  aspect-ratio: 1;
  object-fit: contain;
  background:
    radial-gradient(circle at center, rgba(196, 165, 116, 0.16), transparent 60%),
    var(--bg-elevated);
  padding: 18%;
}

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

.download-panel {
  display: grid;
  gap: 28px;
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(160deg, rgba(196, 165, 116, 0.08), transparent 40%),
    rgba(18, 23, 31, 0.92);
  box-shadow: var(--shadow);
}

.download-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 560;
}

.download-copy > p {
  margin: 14px 0 0;
  color: var(--text-secondary);
  max-width: 38em;
}

.download-facts {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.download-facts li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.download-facts span {
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
}

.download-facts code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--copper-soft);
  font-size: 13px;
}

.download-note {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(11, 14, 19, 0.55);
  border: 1px solid var(--border);
}

.download-note h3 {
  margin: 0 0 12px;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
}

.download-note ol {
  margin: 0;
  padding-left: 1.2em;
  color: var(--text-secondary);
}

.download-note li + li {
  margin-top: 8px;
}

.fineprint {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
}

.site-footer {
  padding: 48px 0 64px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  gap: 24px;
}

.footer-meta {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-meta p {
  margin: 0 0 8px;
}

@media (min-width: 760px) {
  .nav {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .chapter {
    grid-template-columns: 64px 1.1fr 0.9fr;
    align-items: center;
  }

  .chapter-reverse {
    grid-template-columns: 64px 0.9fr 1.1fr;
  }

  .chapter-reverse .chapter-media {
    order: 2;
  }

  .chapter-reverse .chapter-body {
    order: 3;
  }

  .lookbook {
    grid-template-columns: 0.9fr 1fr 0.9fr;
    align-items: end;
  }

  .download-panel {
    grid-template-columns: 1.3fr 0.9fr;
    align-items: stretch;
  }

  .footer-inner {
    grid-template-columns: 1fr 1.4fr;
    align-items: end;
  }
}

@media (max-width: 759px) {
  .header-inner .btn-small {
    display: none;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
