:root {
  --bg: #2a2e36;
  --ink: #f4f1eb;
  --muted: #a9a69f;
  --dim: #6f6d68;
  --line: rgba(244, 241, 235, 0.12);
  --warm: #e7a18c;
  --cold: #8ec7ea;
  --accent: #e7a18c;
  --display: "Songti SC", "STSong", "Noto Serif SC", "PMingLiU", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --num: "Avenir Next", "DIN Alternate", "Helvetica Neue", "PingFang SC", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}
img { max-width: 100%; display: block; }
button, a { font-family: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
::selection { background: rgba(231, 161, 140, 0.35); }

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 6vw;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(42, 46, 54, 0.86);
  backdrop-filter: blur(16px);
}
.logo {
  text-decoration: none;
  letter-spacing: 0.22em;
  font-size: 14px;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.08em;
}
.nav-links a:hover { color: var(--ink); }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  padding: 108px 6vw 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 48% 56% at 74% 52%, rgba(46, 68, 102, 0.45), transparent 68%),
    radial-gradient(ellipse 32% 24% at 78% 88%, rgba(180, 96, 72, 0.1), transparent 70%),
    var(--bg);
}
.watermark {
  position: absolute;
  right: -4vw;
  top: 12%;
  margin: 0;
  font-family: var(--display);
  font-size: 26vw;
  line-height: 0.8;
  color: rgba(244, 241, 235, 0.035);
  pointer-events: none;
  white-space: nowrap;
}
.hero-copy { position: relative; z-index: 1; max-width: 560px; padding-bottom: 24px; }
.pill {
  display: inline-flex;
  margin: 0 0 22px;
  padding: 6px 14px;
  border: 1px solid rgba(231, 161, 140, 0.5);
  border-radius: 999px;
  color: var(--warm);
  font-size: 12px;
  letter-spacing: 0.16em;
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(60px, 6.6vw, 104px);
  line-height: 1.06;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #f0c2b0 0%, #f4f1eb 42%, #b9d8ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  max-width: 440px;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 16px;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  background: #ebe6de;
  color: #171717;
  text-decoration: none;
  font-size: 15px;
}
.cta:hover { background: #fff; }
.look-block { margin-top: 36px; }
.look-label {
  margin: 0 0 10px;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.18em;
}
.looks { display: flex; gap: 22px; }
.looks button {
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: var(--dim);
  font-size: 15px;
}
.looks button.is-on {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.look-line {
  margin: 12px 0 0;
  min-height: 1.7em;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual { position: relative; z-index: 1; height: 100%; min-height: 520px; }
.stage {
  position: relative;
  height: min(72vh, 740px);
  margin-top: 24px;
}
.ground {
  position: absolute;
  left: 50%;
  bottom: 11%;
  width: 48%;
  height: 36px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.62), transparent 70%);
}
.hero-video {
  position: absolute;
  left: 0;
  right: 0;
  top: 46%;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: calc(100% - 12px);
  transform: translateY(-50%);
  border-radius: 16px;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.stage.is-video .hero-video { opacity: 1; }
.stage.is-video .stage-float,
.stage.is-video .ground,
.stage.is-video .faces { opacity: 0; visibility: hidden; }
.stage-float {
  position: absolute;
  inset: 0 0 46px;
  animation: float 7.5s ease-in-out infinite;
}
.coat {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  transition: opacity 0.55s ease, transform 0.6s ease;
  filter: drop-shadow(0 28px 28px rgba(0, 0, 0, 0.5));
  pointer-events: none;
}
.coat.is-show {
  opacity: 1;
  transform: none;
}
.faces {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(42, 46, 54, 0.72);
}
.faces button {
  border: 0;
  border-radius: 999px;
  padding: 6px 14px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
}
.faces button.is-on {
  background: rgba(244, 241, 235, 0.1);
  color: var(--ink);
}
.faces-inline {
  position: static;
  transform: none;
  margin-top: 14px;
}

.hero-specs {
  grid-column: 1 / -1;
  display: flex;
  gap: 28px;
  margin: 8px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.hero-specs li {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.14em;
}

.hero, .fabric, .pocket, .layers, .cuts, .close {
  scroll-margin-top: calc(68px + env(safe-area-inset-top));
}
.fabric, .pocket, .layers, .cuts, .close {
  position: relative;
  z-index: 1;
  padding: 108px 6vw 88px;
}
.fabric {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(340px, 1.22fr);
  gap: 48px;
  align-items: center;
  min-height: 100vh;
  background: var(--bg);
}
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.2em;
}
.kicker i {
  width: 28px;
  height: 1px;
  background: currentColor;
  display: block;
}
h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 1.12;
}
.prose {
  margin: 0;
  max-width: 460px;
  color: var(--muted);
}
.exp-block {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 18px;
  align-items: end;
  margin-top: 28px;
}
.exp-kicker {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.18em;
}
.exp-num {
  margin: 0;
  font-family: var(--num);
  font-size: clamp(84px, 8vw, 128px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.86;
  color: var(--accent);
}
.exp-num span {
  font-size: 0.38em;
  letter-spacing: 0;
  margin-left: 4px;
}
.exp-temp {
  margin: 0 0 10px;
  font-family: var(--num);
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.pocket {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(340px, 1.22fr);
  gap: 48px;
  align-items: center;
  min-height: 100vh;
}
.pocket-fade {
  display: flex;
  gap: 7px;
  height: 18px;
  margin: -6px 0 16px;
}
.pocket-fade i {
  width: 34px;
  height: 2px;
  margin-top: 8px;
  background: var(--ink);
  opacity: 0.85;
}
.pocket.is-quiet .pocket-fade i:nth-child(1) { animation: signal-stop 0.55s ease forwards; }
.pocket.is-quiet .pocket-fade i:nth-child(2) { animation: signal-stop 0.55s ease 0.22s forwards; }
.pocket.is-quiet .pocket-fade i:nth-child(3) { animation: signal-stop 0.55s ease 0.44s forwards; }
@keyframes signal-stop { to { opacity: 0; } }
.pocket-line {
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.35;
}
.pocket-note {
  margin: 16px 0 0;
  color: var(--dim);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.pocket-visual {
  display: grid;
  place-items: center;
}
.detach {
  position: relative;
  width: min(100%, 760px);
  perspective: 900px;
}
.detach img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.35));
}
.detach-slot,
.detach-pouch {
  position: absolute;
  left: 60%;
  top: 35%;
  width: 12%;
  aspect-ratio: 80 / 132;
}
.detach-slot {
  border: 1px dashed rgba(244, 241, 235, 0.55);
  border-radius: 12px;
  opacity: 0;
  animation: slot-show 7.6s ease-in-out infinite;
}
.detach-pouch {
  transform-origin: 50% 100%;
  animation: pouch-out 7.6s cubic-bezier(0.45, 0.05, 0.2, 1) infinite;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.35));
}
.detach-pouch svg { width: 100%; height: 100%; display: block; }
.detach-state {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-align: center;
  opacity: 0;
  animation: slot-show 7.6s ease-in-out infinite;
}
@keyframes pouch-out {
  0%, 18% { transform: translate3d(0, 0, 0) rotate(0); }
  28% { transform: translate3d(0, -8%, 16px) rotate(-6deg); }
  46%, 64% { transform: translate3d(92%, -42%, 28px) rotate(8deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0); }
}
@keyframes slot-show {
  0%, 22% { opacity: 0; }
  42%, 66% { opacity: 1; }
  86%, 100% { opacity: 0; }
}
.warmth {
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.35;
}

.fabric-stage { position: relative; }
.specimen-glow {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 8%;
  height: 62%;
  background: radial-gradient(circle, rgba(231, 161, 140, 0.2), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}
#specimen { position: relative; width: 100%; height: auto; display: block; }
.specimen-cap, .slider-label {
  margin: 0;
  color: var(--dim);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.specimen-cap { text-align: center; margin-top: -12px; }
.slider-label { margin: 22px 0 8px; }
.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.slider::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, #e7a18c, #e6c07a 38%, #8fbfb0 68%, #8ec7ea);
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -7px;
  border: 0;
  border-radius: 50%;
  background: #f4f1eb;
  box-shadow: 0 0 0 6px rgba(244, 241, 235, 0.08);
  cursor: grab;
}
.slider::-moz-range-track {
  height: 2px;
  border: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #e7a18c, #e6c07a 38%, #8fbfb0 68%, #8ec7ea);
}
.slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: #f4f1eb;
  cursor: grab;
}
.ticks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 6px;
}
.ticks button {
  border: 0;
  background: none;
  padding: 8px 0 0;
  text-align: center;
  color: var(--dim);
}
.ticks b {
  display: block;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.ticks span {
  display: block;
  margin-top: 2px;
  font-family: var(--num);
  font-size: 12px;
}
.ticks button.is-on { color: var(--ink); }
.ticks button.is-on b { color: var(--accent); }

.layers {
  display: grid;
  grid-template-columns: 44px minmax(240px, 0.9fr) minmax(280px, 1.1fr) 44px;
  gap: 28px 36px;
  align-items: center;
  min-height: 100vh;
  padding-left: 28px;
  padding-right: 28px;
}
.look-nav {
  width: 44px;
  height: 44px;
  justify-self: center;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(42, 46, 54, 0.72);
  color: var(--ink);
}
.look-nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.look-nav:hover { border-color: rgba(244, 241, 235, 0.4); }
.layer-list { display: flex; flex-direction: column; margin-top: 8px; }
.layer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  text-align: left;
  color: var(--dim);
}
.layer:last-child { border-bottom: 1px solid var(--line); }
.layer .idx {
  font-family: var(--num);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding-top: 4px;
  color: var(--dim);
}
.layer strong {
  display: block;
  font-weight: 500;
  font-size: 20px;
  color: var(--muted);
}
.layer.is-on .idx,
.layer.is-on strong { color: var(--ink); }
.layer:hover strong { color: var(--ink); }
.layers-visual:not(.is-shell) .faces {
  visibility: hidden;
  pointer-events: none;
}
.layers-visual.is-pocket img {
  border-radius: 16px;
  filter: none;
}
.layer-desc { display: block; margin-top: 8px; }
.layer-desc > span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.coat:not([src]),
#layerCoat:not([src]),
.cut-photo img:not([src]) {
  visibility: hidden;
}
.layers-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  justify-items: center;
  background: radial-gradient(ellipse 52% 46% at 50% 58%, rgba(62, 84, 118, 0.34), transparent 72%);
}
.layers-visual img {
  width: min(100%, 640px);
  height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.45));
  opacity: 0;
  transition: opacity 0.5s ease;
}
.layers-visual img.is-ready { opacity: 1; }
.layer-tag {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.cuts-head { max-width: 640px; margin-bottom: 36px; }
.cut-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cut { border-top: 1px solid var(--line); padding-top: 18px; }
.cut-photo {
  width: 100%;
  height: 420px;
  padding: 0;
  border: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 78%, rgba(46, 68, 102, 0.35), transparent 70%);
  cursor: pointer;
}
.cut-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease, opacity 0.4s ease;
  opacity: 0;
}
.cut-photo img.is-ready { opacity: 1; }
.cut-photo:hover img { transform: translateY(-8px); }
.cut-meta { padding-top: 8px; }
.cut-name {
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
}
.cut-name:hover { color: var(--warm); }
.cut-meta p {
  margin: 6px 0;
  color: var(--muted);
  font-size: 14px;
}
.cut-face {
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.close { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; }
.close h2 { font-size: clamp(52px, 6vw, 92px); max-width: 760px; }
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 48px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.facts b {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
}
.facts li { color: var(--muted); font-size: 14px; }

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 6vw 32px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s ease forwards;
}
.fabric .reveal { animation-delay: 0.05s; }
.layers .reveal:nth-child(2),
.cuts .reveal { animation-delay: 0.08s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero, .fabric, .pocket {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .layers {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    grid-template-areas:
      "prev copy next"
      "prev visual next";
    min-height: auto;
    gap: 18px 12px;
  }
  .look-prev { grid-area: prev; }
  .look-next { grid-area: next; }
  .layers-copy { grid-area: copy; }
  .layers-visual { grid-area: visual; }
  .hero { padding-top: 96px; }
  .hero-visual { min-height: 0; }
  .stage { height: 54vh; min-height: 320px; }
  .hero-specs { flex-wrap: wrap; gap: 12px 22px; }
  .watermark { font-size: 42vw; top: 8%; }
  .cut-grid, .facts { grid-template-columns: 1fr; }
  .cut-photo, .layers-visual, .layers-visual img { height: 360px; }
  .layers-visual { min-height: 0; }
  .detach { width: min(100%, 520px); }
  .fabric, .pocket, .layers, .cuts, .close, .footer, .nav { padding-left: 20px; padding-right: 20px; }
  .nav-links { gap: 16px; }
  .close { min-height: auto; }
}

@media (max-width: 720px) {
  .nav {
    padding-top: max(14px, env(safe-area-inset-top));
    padding-bottom: 10px;
  }
  .nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .hero { padding-top: calc(84px + env(safe-area-inset-top)); }
  .nav, .hero, .fabric, .pocket, .layers, .cuts, .close, .footer {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  .stage.is-video {
    height: auto;
    min-height: 0;
    margin-top: 8px;
  }
  .stage.is-video .hero-video {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    height: auto;
    max-height: none;
    transform: none;
  }
  .layers {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "copy copy"
      "visual visual"
      "prev next";
    gap: 12px 20px;
    align-items: center;
  }
  .layers-copy { grid-area: copy; }
  .layers-visual {
    grid-area: visual;
    height: auto;
    min-height: 0;
  }
  .layers-visual img {
    width: 100%;
    height: auto;
    max-height: 68vh;
  }
  .look-prev { grid-area: prev; justify-self: end; }
  .look-next { grid-area: next; justify-self: start; }
  .fabric, .pocket, .layers, .cuts, .close {
    padding-top: 72px;
    padding-bottom: 48px;
  }
  .looks button { padding: 12px 0 10px; }
  .ticks button { min-height: 44px; }
  .faces button { padding: 10px 16px; }
  .slider { height: 44px; }
  .slider::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
    margin-top: -10px;
  }
  .slider::-moz-range-thumb { width: 22px; height: 22px; }
  .footer {
    flex-wrap: wrap;
    row-gap: 8px;
    padding-bottom: max(28px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage-float { animation: none; }
  .pocket-fade i { opacity: 0; }
  .detach-pouch { animation: none; transform: translate3d(92%, -42%, 0) rotate(8deg); }
  .detach-slot, .detach-state { animation: none; opacity: 1; }
  .reveal { opacity: 1; transform: none; animation: none; }
  .coat, .cut-photo img { transition: none; }
}
