@font-face { font-family: 'Inter'; src: url('/assets/fonts/Inter-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/Inter-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/assets/fonts/CormorantGaramond-300.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/assets/fonts/CormorantGaramond-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root,
:root[data-theme="dark"] {
  --bg: #05050D; --bg-elev: #0E0712; --bg-elev-2: #181020;
  --gold: #C9A84C; --gold-light: #E8C96E; --gold-dim: #8B7A3B;
  --vermilion: #D4342A;
  --text: #EEEEFF; --text-dim: #A8A8C0; --text-mute: #6c6c8a;
  --border: rgba(201, 168, 76, 0.18); --border-strong: rgba(201, 168, 76, 0.55);
  --serif: 'Cormorant Garamond', Georgia, 'Songti SC', 'STSong', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 40px; --s-5: 64px; --s-6: 96px;
  --max-w: 1440px; --content-w: 760px; --radius: 4px;
}

/* Light theme · 米白 + 深棕 + 金色 · 宣纸质感 */
:root[data-theme="light"] {
  --bg: #faf6ec;
  --bg-elev: #ffffff;
  --bg-elev-2: #f2ece0;
  --gold: #b8860b;
  --gold-light: #d4a017;
  --gold-dim: #8b6a09;
  --vermilion: #c0392b;
  --text: #2c1a0e;
  --text-dim: #6b4c2a;
  --text-mute: #8b6a3e;
  --border: rgba(184, 134, 11, 0.25);
  --border-strong: rgba(184, 134, 11, 0.65);
}

/* 跟随系统：无显式 data-theme 时按 prefers-color-scheme */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]):not([data-theme="light"]) {
    --bg: #faf6ec;
    --bg-elev: #ffffff;
    --bg-elev-2: #f2ece0;
    --gold: #b8860b;
    --gold-light: #d4a017;
    --gold-dim: #8b6a09;
    --vermilion: #c0392b;
    --text: #2c1a0e;
    --text-dim: #6b4c2a;
    --text-mute: #8b6a3e;
    --border: rgba(184, 134, 11, 0.25);
    --border-strong: rgba(184, 134, 11, 0.65);
  }
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; background: radial-gradient(ellipse 90% 50% at 50% 0%, rgba(201,168,76,0.10) 0%, transparent 50%), radial-gradient(ellipse 60% 30% at 80% 100%, rgba(212,52,42,0.06) 0%, transparent 60%), var(--bg); background-attachment: fixed; }
/* Light mode body gradient · 暖金宣纸调 */
:root[data-theme="light"] body,
:root:not([data-theme="dark"]) body {
  background: radial-gradient(ellipse 90% 50% at 50% 0%, rgba(184,134,11,0.08) 0%, transparent 50%), radial-gradient(ellipse 60% 30% at 80% 100%, rgba(44,26,14,0.04) 0%, transparent 60%), var(--bg);
  background-attachment: fixed;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 500; }
h4 { font-size: 1.2rem; font-weight: 500; }
p { color: var(--text-dim); margin: 0 0 1em 0; }
.lead { font-size: 1.15rem; line-height: 1.75; max-width: 60ch; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

.brand { color: var(--gold); letter-spacing: 0.4em; font-size: 11px; text-transform: uppercase; font-weight: 600; }
.eyebrow { color: var(--gold); letter-spacing: 0.3em; font-size: 11px; text-transform: uppercase; font-weight: 600; margin-bottom: var(--s-2); }

.btn { display: inline-block; padding: 14px 32px; font-family: var(--sans); font-size: 13px; letter-spacing: 0.18em; font-weight: 600; text-transform: uppercase; text-decoration: none; border: none; cursor: pointer; transition: all 0.25s; text-align: center; }
.btn-primary { background: var(--gold); color: var(--bg); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-ghost:hover { background: var(--gold); color: var(--bg); }
.btn-block { display: block; width: 100%; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--s-3); }
.narrow { max-width: var(--content-w); margin: 0 auto; }
section { padding: var(--s-6) 0; }

.divider { width: 40px; height: 1px; background: var(--gold); margin: var(--s-3) 0; border: none; }
.divider-center { margin: var(--s-3) auto; }

header.site { position: fixed; top: 0; left: 0; right: 0; background: rgba(5,5,13,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 100; padding: 14px 0; border-bottom: 1px solid var(--border); }
:root[data-theme="light"] header.site,
:root:not([data-theme="dark"]) header.site {
  background: rgba(252,250,245,0.96);
}
header.site nav { display: flex; justify-content: space-between; align-items: center; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--s-3); }
header.site .logo { color: var(--text); font-family: var(--serif); font-size: 20px; font-weight: 500; text-decoration: none; }
header.site .logo small { color: var(--gold); font-size: 9px; letter-spacing: 0.4em; font-family: var(--sans); display: block; margin-top: -4px; text-transform: uppercase; }
.nav-links { display: flex; gap: var(--s-4); list-style: none; }
.nav-links a { color: var(--text-dim); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; }
.nav-links a:hover { color: var(--gold); }

.hero { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding-top: 80px; }
.hero h1 { margin-bottom: var(--s-3); }
.hero .lead { color: var(--text-dim); max-width: 580px; margin: 0 auto var(--s-4); font-size: 1.2rem; }
.cta-row { display: flex; gap: var(--s-2); justify-content: center; margin-top: var(--s-4); flex-wrap: wrap; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--s-3); margin-top: var(--s-4); }
.product-card { background: var(--bg-elev); border: 1px solid var(--border); padding: var(--s-4) var(--s-3); display: flex; flex-direction: column; transition: all 0.3s; text-decoration: none; }
.product-card:hover { border-color: var(--border-strong); transform: translateY(-2px); background: var(--bg-elev-2); }
.product-card.flagship { border-color: var(--vermilion); }
.product-card.flagship:hover { border-color: rgba(212,52,42,0.8); }
.product-tag { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: var(--s-2); }
.product-card.flagship .product-tag { color: var(--vermilion); }
.product-name { font-family: var(--serif); font-size: 1.6rem; color: var(--text); margin-bottom: var(--s-1); font-weight: 500; }
.product-tagline { color: var(--text-dim); font-size: 0.95rem; margin-bottom: var(--s-3); flex-grow: 1; }
.product-price { font-family: var(--serif); font-size: 1.8rem; color: var(--gold); margin-bottom: var(--s-3); }
.product-cta { color: var(--gold); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }
.product-cta::after { content: ' →'; }
.product-card.coming { opacity: 0.55; pointer-events: none; }
.product-card.coming .product-cta::after { content: ' (Coming Soon)'; }

.three-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s-4); margin-top: var(--s-4); }
.three-col .col { padding: var(--s-3); }
.three-col h3 { color: var(--gold); margin-bottom: var(--s-2); font-family: var(--sans); font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; }
.three-col h4 { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; color: var(--text); margin-bottom: var(--s-2); }

.field { margin-bottom: var(--s-3); }
.field label { display: block; color: var(--gold); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 8px; font-weight: 600; }
.field input, .field select { width: 100%; padding: 12px 16px; background: var(--bg-elev-2); border: 1px solid var(--border); color: var(--text); font-family: var(--sans); font-size: 15px; border-radius: var(--radius); transition: border-color 0.2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.field-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--s-2); }
.field-help { color: var(--text-mute); font-size: 12px; margin-top: 6px; }
.form-error { color: var(--vermilion); font-size: 13px; margin-top: var(--s-2); }
.form-success { color: var(--gold); font-size: 13px; margin-top: var(--s-2); }

.order-status { text-align: center; padding: var(--s-6) 0; }
.order-status .status-icon { font-size: 64px; margin-bottom: var(--s-3); color: var(--gold); }
.order-status h1 { margin-bottom: var(--s-3); }
@keyframes pulse-line { 0%, 100% { width: 40px; opacity: 0.3; } 50% { width: 80px; opacity: 1; } }
.pulse-divider { height: 2px; background: var(--gold); margin: var(--s-4) auto; animation: pulse-line 1.5s ease-in-out infinite; border: none; max-width: 80px; }

.faq-item { border-bottom: 1px solid var(--border); padding: var(--s-3) 0; }
.faq-item summary { cursor: pointer; font-family: var(--serif); font-size: 1.3rem; color: var(--text); font-weight: 500; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--gold); font-size: 1.5rem; transition: transform 0.2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: var(--s-2); }

footer.site { padding: var(--s-5) 0 var(--s-3); border-top: 1px solid var(--border); margin-top: var(--s-6); }
footer.site .row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s-2); }
footer.site .copyright { color: var(--text-mute); font-size: 12px; }
footer.site .links { display: flex; gap: var(--s-3); }
footer.site .links a { color: var(--text-dim); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }

.section-head { text-align: center; margin-bottom: var(--s-4); }
.section-head h2 { margin-top: var(--s-1); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  section { padding: var(--s-5) 0; }
  .hero { min-height: 80vh; padding-top: 100px; }
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  footer.site .row { justify-content: center; }
}

::selection { background: var(--gold); color: var(--bg); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-elev-2); border-radius: 6px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dim); }
