:root {
  --cream: #fbf7f0;
  --soft-cream: #fffaf4;
  --blush: #f2d9d2;
  --blush-deep: #d8a99e;
  --taupe: #7b675b;
  --ink: #51443d;
  --muted: #97877e;
  --line: rgba(123, 103, 91, 0.16);
  --shadow: 0 20px 50px rgba(103, 82, 70, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  letter-spacing: 0;
}

img,
picture {
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 244, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
  color: var(--taupe);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  white-space: nowrap;
}

.brand-mark small {
  font-size: 12px;
  letter-spacing: 0.18em;
}

.nav-links {
  display: flex;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 13px;
  color: var(--taupe);
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links {
  scrollbar-width: none;
}

.nav-links a {
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--blush-deep);
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 220ms ease, transform 220ms ease;
}

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

.language-toggle {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  height: 38px;
  padding: 0 14px;
  color: var(--taupe);
  font: 500 13px/1 "Songti SC", "STSong", serif;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(103, 82, 70, 0.08);
}

.language-toggle .lang-zh,
body.lang-en .language-toggle .lang-en {
  color: var(--ink);
}

body.lang-en .language-toggle .lang-zh,
.language-toggle .lang-en {
  color: var(--muted);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  place-items: center;
  background: #fbf4ec;
}

.hero-art {
  position: absolute;
  inset: 0;
  display: block;
  transform-origin: center top;
  transition: opacity 120ms linear, transform 120ms linear, filter 120ms linear;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section-shell,
.about,
.collections,
.visit {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
}

.section-kicker {
  margin: 0 0 16px;
  color: var(--blush-deep);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-family: Didot, "Bodoni 72", "Songti SC", serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 500;
  line-height: 1;
}

.section-lede,
.section-heading > p {
  max-width: 430px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.about {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms ease, transform 900ms ease;
}

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

.about-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(320px, 1.25fr);
  gap: clamp(36px, 8vw, 100px);
  align-items: start;
}

.about-copy {
  padding: clamp(28px, 4vw, 48px);
  background: rgba(255, 250, 244, 0.82);
  border: 1px solid rgba(216, 169, 158, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-copy p {
  margin: 0 0 22px;
  color: #6e5e56;
  font-size: 16px;
  line-height: 2.05;
}

.about-copy .signature {
  margin-bottom: 0;
  color: var(--blush-deep);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 24px;
  font-style: italic;
}

.section-heading {
  display: flex;
  gap: 28px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 42px;
}

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

.product-card,
.look-card,
.collection-card,
.visit-panel {
  background: rgba(255, 250, 244, 0.86);
  border: 1px solid rgba(216, 169, 158, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-card {
  display: block;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover,
.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 58px rgba(103, 82, 70, 0.16);
}

.product-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background-color: #f5e8df;
}

.card-body {
  padding: 22px;
}

.card-body span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--blush-deep);
  font-size: 13px;
}

.card-body h3,
.look-card h3,
.collection-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 500;
}

.card-body em {
  display: block;
  margin-top: 8px;
  color: var(--blush-deep);
  font-size: 15px;
  font-style: normal;
}

.card-body p,
.look-card p,
.collection-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.card-body small,
.collection-card small {
  display: inline-block;
  margin-top: 16px;
  color: var(--blush-deep);
  font-size: 13px;
}

.collections {
  padding-top: 60px;
}

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

.collection-card {
  display: block;
  min-height: 230px;
  padding: 26px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.collection-card span {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--blush-deep);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 28px;
}

.lookbook {
  padding-top: 50px;
}

.lookbook-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.look-card {
  padding: 18px;
}

.look-card.tall {
  grid-row: span 2;
}

.look-image {
  display: block;
  width: 100%;
  min-height: 280px;
  margin-bottom: 20px;
  object-fit: cover;
  border-radius: 6px;
}

.look-card.tall .look-image {
  min-height: 600px;
}

.visit {
  padding-top: 40px;
}

.visit-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(300px, 1.3fr);
  gap: 38px;
  align-items: center;
  padding: clamp(32px, 6vw, 62px);
}

.visit-panel .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -16px;
}

.visit-details p {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.8;
}

.visit-details strong,
.visit-details a {
  color: var(--ink);
  font-weight: 500;
}

.site-footer {
  padding: 44px 20px 54px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

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

.site-footer p:first-child {
  color: var(--ink);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 26px;
}

.site-footer small {
  display: block;
  margin-top: 18px;
}

.subpage {
  min-height: 70vh;
  padding-top: 86px;
}

.page-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 94px 0 30px;
}

.page-hero h1,
.product-detail h1 {
  margin: 0;
  color: var(--ink);
  font-family: Didot, "Bodoni 72", "Songti SC", serif;
  font-size: clamp(46px, 7vw, 88px);
  font-weight: 500;
  line-height: 1;
}

.page-hero > p:last-child {
  max-width: 580px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.products-list-section {
  padding-top: 34px;
}

.empty-state {
  color: var(--muted);
  font-size: 18px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 6vw, 76px);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0;
}

.detail-gallery {
  display: grid;
  gap: 18px;
}

.detail-gallery img {
  display: block;
  width: 100%;
  border: 1px solid rgba(216, 169, 158, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-copy {
  position: sticky;
  top: 110px;
  align-self: start;
}

.detail-zh-name {
  margin: 18px 0 0;
  color: var(--blush-deep);
  font-size: 22px;
}

.detail-price {
  margin: 26px 0;
  color: var(--ink);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 42px;
}

.detail-meta {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-meta span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

.detail-meta strong {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.7;
}

.detail-story {
  margin-top: 34px;
}

.detail-story h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.detail-story p {
  color: #6e5e56;
  font-size: 16px;
  line-height: 2;
}

.soft-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 24px;
  padding: 0 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(103, 82, 70, 0.08);
}

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

  .nav-links {
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .about-grid,
  .visit-panel,
  .lookbook-grid {
    grid-template-columns: 1fr;
  }

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

  .look-card.tall .look-image {
    min-height: 420px;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .detail-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 10px;
    padding: 12px 14px;
  }

  .brand-mark {
    font-size: 16px;
  }

  .language-toggle {
    min-width: 76px;
    height: 34px;
    padding: 0 10px;
  }

  .nav-links {
    gap: 14px;
    font-size: 12px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-image {
    object-fit: contain;
    object-position: center;
    background: #fbf4ec;
  }

  .section-shell,
  .about,
  .collections,
  .visit {
    width: min(100% - 28px, 1180px);
    padding: 74px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 28px;
  }

  .product-grid,
  .collection-grid {
    grid-template-columns: 1fr;
  }

  .subpage {
    padding-top: 116px;
  }

  .page-hero,
  .product-detail {
    width: min(100% - 28px, 1180px);
  }

  .page-hero {
    padding-top: 48px;
  }

  .visit-details p {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
