/* 母花焕新 · 本地样式，无外链 */
:root {
  --indigo: #0b2744;
  --indigo-deep: #071c31;
  --indigo-mid: #163a5f;
  --paper: #f6f1e8;
  --paper-2: #ede4d4;
  --paper-3: #e4d8c4;
  --ink: #1c1915;
  --ink-muted: #5c564c;
  --ink-faint: #8a8276;
  --vermillion: #a32638;
  --gold: #c4a35a;
  --gold-soft: #e2c98a;
  --line: #d9cdb8;
  --line-strong: #c4b49a;
  --card: #faf7f2;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Zen Hei",
    "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, [role="button"] { font-family: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.4; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: 0.02em; margin: 0; }
p { margin: 0; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--indigo); color: var(--paper);
  border-bottom: 1px solid rgba(196, 163, 90, 0.25);
}
.header-inner, .wrap {
  max-width: 1440px; margin: 0 auto; padding: 0 1.5rem;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 64px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img {
  height: 36px; width: 135px; object-fit: contain; object-position: left center;
  max-width: none;
}
.nav { display: none; gap: 0.25rem; }
.nav a {
  position: relative; padding: 0.5rem 0.75rem; font-size: 0.875rem;
  color: rgba(246, 241, 232, 0.8);
}
.nav a:hover, .nav a.active { color: var(--paper); }
.nav a.active::after {
  content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: -1px;
  height: 1px; background: var(--gold);
}
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.menu-btn {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: none; border: 0; color: var(--paper); font-size: 1.25rem;
}
.mobile-nav {
  display: none; background: var(--indigo-deep); border-top: 1px solid rgba(196,163,90,0.2);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: flex; height: 48px; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(246,241,232,0.9); padding: 0 1.5rem;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  height: 44px; padding: 0 1.25rem; border-radius: 8px; border: 0;
  font-size: 0.875rem; font-weight: 500; white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--indigo-deep); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-primary { background: var(--indigo); color: var(--paper); }
.btn-primary:hover { background: var(--indigo-mid); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-outline:hover { border-color: var(--indigo); color: var(--indigo); }
.btn-inverse { background: var(--paper); color: var(--indigo); }
.btn-sm { height: 36px; padding: 0 0.85rem; font-size: 0.8125rem; }
.btn-xl { height: 56px; padding: 0 2rem; font-size: 1rem; border-radius: 12px; }

.hero {
  position: relative; min-height: 100svh; background: var(--indigo); color: var(--paper);
  overflow: hidden;
}
.hero-pin-wrap { height: 160svh; }
.hero-pin {
  position: sticky; top: 0; z-index: 0;
  min-height: 100svh; height: 100svh;
}
.hero-media {
  position: absolute; top: -14%; left: 0; width: 100%; height: 128%;
  will-change: transform;
}
.hero-media video,
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-media video {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
}
.hero-media video.on { opacity: 1; }
.hero .veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,28,49,0.92), rgba(11,39,68,0.7) 55%, rgba(11,39,68,0.25));
}
.hero-inner {
  position: relative; max-width: 1440px; margin: 0 auto;
  min-height: 100svh; padding: 7rem 1.5rem 4rem;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero h1 { font-size: clamp(3.2rem, 9vw, 8rem); line-height: 0.92; }
.kicker { font-size: 0.75rem; letter-spacing: 0.42em; color: var(--gold); }
.muted { color: var(--ink-muted); }
.faint { color: var(--ink-faint); }

.section { position: relative; z-index: 10; padding: 5rem 0; }
.section-head { margin-bottom: 2.5rem; }
.grid-3 { display: grid; gap: 1.25rem; }
.grid-2 { display: grid; gap: 1.25rem; }
.card-img { position: relative; display: block; overflow: hidden; background: var(--indigo); aspect-ratio: 4/5; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(to top, rgba(7,28,49,0.9), rgba(11,39,68,0.2) 45%, transparent 70%);
  transition: opacity 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.card-img .cap {
  position: absolute; inset: auto 0 0; padding: 1.5rem; color: var(--paper);
  z-index: 2;
}
.card-img img,
.product-grid .thumb img,
.pat-card .thumb img,
.g-card .thumb img {
  transform: scale(1);
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}
.card-img:hover img,
.product-grid a:hover .thumb img,
.pat-card:hover .thumb img,
.g-card:hover .thumb img {
  transform: scale(1.05);
}
.card-img:hover::after { opacity: 0.82; }
.pat-card { transition: box-shadow 250ms ease; }
.pat-card:hover {
  box-shadow: 0 0 0 1px rgba(28, 25, 21, 0.08),
    0 12px 32px -12px rgba(11, 39, 68, 0.28);
}

.flow-grid { display: grid; gap: 1px; background: var(--line); }
.flow-grid li { background: var(--paper); padding: 1.5rem; list-style: none; }
.product-row { margin-top: 2.5rem; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.product-grid .thumb { aspect-ratio: 3/4; overflow: hidden; background: var(--paper-2); }
.product-grid img { width: 100%; height: 100%; object-fit: cover; }

.quote { position: relative; z-index: 10; background: var(--indigo-deep); color: var(--paper); text-align: center; padding: 5rem 1.5rem; overflow: hidden; }
.quote-over { margin-top: -60svh; }
.quote-bg {
  position: absolute; top: -30%; left: 0; width: 100%; height: 160%;
  opacity: 0.25; pointer-events: none; will-change: transform;
}
.quote-bg img { width: 100%; height: 100%; object-fit: cover; }
.quote blockquote { position: relative; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.6; }
.quote .kicker, .quote p { position: relative; }

.page-hero {
  position: relative; overflow: hidden; background: var(--indigo); color: var(--paper);
  padding: 4.5rem 0;
}
.page-hero .bg-layer {
  position: absolute; top: -24%; left: 0; width: 100%; height: 148%;
  will-change: transform;
}
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.page-hero .bg-layer img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.page-hero .veil { position: absolute; inset: 0; background: rgba(11,39,68,0.7); }
.page-hero .wrap { position: relative; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.chip {
  height: 36px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--ink-muted); font-size: 0.875rem;
}
.chip.on { background: var(--indigo); color: var(--paper); border-color: var(--indigo); }

.pat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pat-card .thumb { aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.pat-card img { width: 100%; height: 100%; object-fit: cover; }

.studio { display: grid; gap: 2rem; padding: 2rem 0 4rem; }
.preview {
  position: relative; overflow: hidden; background: var(--paper-2); aspect-ratio: 3/4;
}
.preview > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.region-box {
  position: absolute; overflow: hidden; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(196,163,90,0.8);
}
.region-box .label {
  display: flex; height: 100%; align-items: center; justify-content: center;
  background: rgba(196,163,90,0.2); color: var(--indigo); font-size: 10px; letter-spacing: 0.2em;
}
.motif-wrap, .motif-tile { width: 100%; height: 100%; }
.motif-wrap svg { width: 100%; height: 100%; display: block; }
.region-box .motif-wrap,
.region-box .motif-tile,
.region-box img {
  mix-blend-mode: multiply;
  opacity: 0.9;
}
.steps { display: flex; overflow-x: auto; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.steps button {
  display: flex; height: 56px; align-items: center; gap: 0.5rem;
  padding: 0 0.85rem; background: none; border: 0; color: var(--ink-faint); white-space: nowrap;
}
.steps button.on { color: var(--indigo); }
.dot {
  display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center;
  border-radius: 999px; font-size: 11px; background: var(--paper-3);
}
.dot.on { background: var(--gold); color: var(--indigo-deep); }
.dot.done { background: var(--indigo); color: var(--paper); }

.choice {
  display: flex; flex-direction: column; align-items: flex-start;
  border: 1px solid var(--line); padding: 1rem; text-align: left; background: var(--card);
  width: 100%;
}
.choice.on { border-color: var(--gold); background: var(--paper-2); }
.g-card { text-align: left; background: none; border: 0; padding: 0; }
.g-card.on { box-shadow: 0 0 0 2px var(--gold); }
.g-card .thumb { aspect-ratio: 3/4; overflow: hidden; background: var(--paper-2); }
.g-card img { width: 100%; height: 100%; object-fit: cover; }

.field {
  width: 100%; height: 2.75rem; border: 1px solid var(--line-strong);
  background: var(--paper); padding: 0 0.85rem; color: var(--ink);
  font: inherit; border-radius: 8px;
}
textarea.field { height: auto; padding: 0.7rem 0.85rem; min-height: 6rem; }
.toast {
  position: fixed; top: 80px; left: 50%; transform: translateX(-50%);
  background: var(--indigo); color: var(--paper); padding: 0.6rem 1.2rem;
  border-radius: 8px; z-index: 80; font-size: 0.875rem; display: none;
}
.toast.show { display: block; }

.sheet { border: 1px solid var(--line); background: var(--card); }
.sheet header { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.sheet li { list-style: none; border-top: 1px solid var(--line); }
.sheet li:first-child { border-top: 0; }
.sheet button.item, .sheet .item {
  display: flex; width: 100%; gap: 0.75rem; padding: 0.75rem 1.25rem;
  text-align: left; background: none; border: 0;
}
.check {
  width: 20px; height: 20px; border: 1px solid var(--line-strong); border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.check.on { background: var(--indigo); border-color: var(--indigo); color: var(--paper); }

.status-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.status-row li { border: 1px solid var(--line); padding: 0.75rem; list-style: none; font-size: 0.875rem; }
.status-row li.on { border-color: var(--gold); background: var(--paper-2); }

.site-footer { position: relative; z-index: 10; background: var(--indigo); color: var(--paper); padding: 3.5rem 0 0; }
.site-footer .cols { display: grid; gap: 2rem; }
.site-footer .lockup {
  height: 56px; width: 166px; object-fit: contain; object-position: left;
  max-width: none;
}
.site-footer a { color: rgba(246,241,232,0.8); }
.site-footer .bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem; padding: 1.1rem 0; font-size: 0.75rem; color: rgba(246,241,232,0.5);
}

.swatch { display: flex; height: 48px; overflow: hidden; border: 1px solid var(--line); }
.swatch i { flex: 1; display: block; }

[data-parallax] { transform: translate3d(0, var(--py, 0px), 0); }
[data-parallax-fade] { opacity: var(--po, 1); transform: translate3d(0, var(--py, 0px), 0); }

@media (min-width: 640px) {
  .hide-sm { display: none; }
  .header-actions .btn { display: inline-flex; }
  .brand img { height: 40px; width: 150px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .pat-grid { grid-template-columns: repeat(3, 1fr); }
  .status-row { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .nav { display: flex; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .studio { grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); }
  .hero-inner { justify-content: center; }
  .status-row { grid-template-columns: repeat(7, 1fr); }
  .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; }
  .flow-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 639px) {
  .header-actions .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  [data-parallax], [data-parallax-fade] {
    transform: none !important;
    opacity: 1 !important;
  }
  .hero-pin-wrap { height: 100svh !important; }
  .hero-pin { position: relative !important; }
  .quote-over { margin-top: 0 !important; }
  .card-img img,
  .product-grid .thumb img,
  .pat-card .thumb img,
  .g-card .thumb img {
    transition: none;
    transform: none !important;
  }
}
