@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3eee6;
  --paper-2: #e7e0d6;
  --card: #faf7f2;
  --ink: #1b1714;
  --muted: #6a615a;
  --line: rgba(27, 23, 20, 0.14);
  --copper: #7a4e32;
  --deep: #12100e;
  --deep-2: #1c1916;
  --cream: #f6f1ea;
  --blush: #e7d3bc;
  --serif: "Cormorant Garamond", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Outfit", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --header: 76px;
  --pad: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 0% 0%, #f8f3eb, transparent 55%),
    #e5ddd2;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: #e4d2c0; }

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  z-index: 50;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1180px, calc(100% - var(--pad) * 2));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  width: min(1180px, calc(100% - 28px));
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px 0 22px;
  background: rgba(250, 247, 242, 0.78);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(28, 20, 12, 0.18);
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 140px;
}
.brand strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 0.16em;
  line-height: 1;
}
.brand small {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--copper);
}
.nav {
  display: flex;
  gap: 26px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); }
.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.lang-pick select {
  height: 38px;
  max-width: 148px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  padding: 0 28px 0 12px;
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(28, 20, 12, 0.06);
}
.tool {
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.tool em {
  font-style: normal;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  background: var(--ink);
  color: var(--cream);
  font-size: 11px;
  display: grid;
  place-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}
.btn-dark { background: var(--cream); color: var(--deep); }
.btn-line {
  border: 1px solid rgba(246, 241, 234, 0.4);
  color: var(--cream);
}
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ghost { border: 1px solid var(--line); }
.menu-btn { display: none; white-space: nowrap; }

.hero {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 112px 0 72px;
  color: var(--ink);
}
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  height: 100dvh;
  pointer-events: none;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 16, 14, 0.28), transparent 24%),
    linear-gradient(90deg, rgba(18, 16, 14, 0.12), transparent 46%);
}
.hero-stage {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(420px, 560px);
  gap: 28px;
  align-items: end;
}
.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 34px 34px 28px;
  border-radius: 28px;
  background: rgba(247, 242, 234, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
}
.season .eyebrow,
.collection-copy small { color: var(--blush); }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.hero h1 span { display: block; }
.hero h1 span:last-child {
  font-style: italic;
  color: var(--copper);
}
.hero-copy p.lede {
  max-width: 42ch;
  color: var(--muted);
  font-size: 16px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-copy .btn-ghost {
  border-color: rgba(27, 23, 20, 0.28);
  color: var(--ink);
}
.hero-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 28px;
  overflow: hidden;
  background: #141210;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.slides { position: absolute; inset: 0; }
.slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.slides img.is-on { opacity: 1; }
.hero-index {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(18, 16, 14, 0.45);
  color: white;
  backdrop-filter: blur(10px);
  letter-spacing: 0.16em;
  font-size: 12px;
  text-transform: uppercase;
}
.hero-controls {
  position: absolute;
  bottom: 16px;
  inset-inline-end: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: rgba(27, 23, 20, 0.28);
}
.dot.is-on { width: 22px; background: var(--ink); }
.hero-controls .pause {
  margin-left: 4px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trust {
  position: relative;
  z-index: 4;
  width: min(1180px, calc(100% - 28px));
  margin: -28px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.trust article {
  padding: 24px 20px 26px;
  background: rgba(250, 247, 242, 0.94);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 40px rgba(40, 30, 20, 0.1);
}
.trust span {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--copper);
}
.trust h2 {
  margin: 8px 0 6px;
  font-size: 16px;
  font-weight: 500;
}
.trust p { color: var(--muted); font-size: 14px; }

.section,
.season,
.site-footer {
  position: relative;
  z-index: 1;
  background: transparent;
}
.section { padding: 84px 0; }
.section-head,
.sell-copy,
.split > div:first-child,
.houses .wrap,
.site-footer .footer-row {
  background: rgba(247, 242, 234, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(28, 20, 12, 0.12);
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
  align-items: end;
  padding: 28px 28px 24px;
}
.sell-copy,
.split > div:first-child,
.houses .wrap { padding: 28px 28px 24px; }
.site-footer .footer-row { padding: 22px 24px; }
.section h2,
.sell-copy h2,
.promise h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.section-head p,
.sell-copy .lede,
.promise p,
.guide-intro { color: var(--muted); max-width: 46ch; }

.collections {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.collection {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  color: white;
  text-align: left;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(40, 30, 20, 0.14);
}
.collection img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}
.collection:hover img { transform: scale(1.05); }
.collection .veil {
  position: absolute;
  inset: auto 0 0 0;
  height: 58%;
  background: linear-gradient(transparent, rgba(10, 8, 6, 0.8));
}
.collection-copy {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.collection-copy small {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--blush);
}
.collection-copy strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1;
}
.collection-copy em {
  font-style: normal;
  font-size: 12px;
  opacity: 0.8;
}

.season {
  color: var(--cream);
  padding: 8px 0 0;
}
.season .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
  background: var(--deep);
  border-radius: 24px;
  padding: 28px 32px;
  box-shadow: 0 22px 50px rgba(18, 16, 14, 0.18);
}
.season p { max-width: 62ch; color: rgba(246, 241, 234, 0.86); }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .toolbar select, .search {
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(27, 23, 20, 0.16);
  background: rgba(250, 247, 242, 0.94);
  color: var(--ink);
  padding: 0 14px;
  backdrop-filter: blur(12px);
}
.chip.is-on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.search { min-width: min(260px, 100%); }
.search::placeholder { color: #4e463f; opacity: 1; }
.toolbar select { padding-right: 28px; }
.count-line {
  margin-left: auto;
  color: var(--ink);
  font-size: 13px;
  background: rgba(250, 247, 242, 0.94);
  border: 1px solid rgba(27, 23, 20, 0.16);
  border-radius: 999px;
  padding: 8px 14px;
  backdrop-filter: blur(12px);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 18px;
}
.piece {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 10px 16px;
  background: rgba(250, 247, 242, 0.94);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 36px rgba(40, 30, 20, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.piece:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 54px rgba(40, 30, 20, 0.16);
}
.piece-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  overflow: hidden;
  border-radius: 16px;
}
.piece-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.piece:hover img { transform: scale(1.04); }
.ref-tag, .save {
  position: absolute;
  z-index: 1;
}
.ref-tag {
  left: 10px;
  bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(250, 247, 242, 0.9);
  padding: 4px 8px;
}
.save {
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 99px;
  background: rgba(250, 247, 242, 0.92);
  display: grid;
  place-items: center;
}
.save svg { width: 16px; height: 16px; }
.save[aria-pressed="true"] svg { fill: var(--ink); }
.house {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}
.piece h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}
.meta { color: var(--muted); font-size: 14px; }
.piece-row, .dialog-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.cond { font-size: 13px; }
.price { font-variant-numeric: tabular-nums; }
.price small, .dialog-price small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.empty {
  display: none;
  margin-top: 8px;
  padding: 22px 24px;
  color: var(--ink);
  background: rgba(250, 247, 242, 0.94);
  border-radius: 18px;
}
.empty.show { display: block; }

.sell {
  background: transparent;
  color: var(--ink);
}
.sell-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.steps { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.steps article { display: grid; grid-template-columns: 48px 1fr; gap: 12px; }
.steps span {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--copper);
}
.steps h3 { font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 14px; }
.sell .lede { margin-top: 16px; }

.form {
  background: var(--card);
  color: var(--ink);
  padding: 28px 28px 22px;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}
.field { display: flex; flex-direction: column; gap: 4px; padding-top: 8px; }
.field.wide { grid-column: 1 / -1; }
.field span { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 0;
  border-radius: 0;
}
.field textarea { min-height: 96px; resize: vertical; }
.form-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
}
.form-foot p, .status { color: var(--muted); font-size: 13px; }
.status { min-height: 1.3em; margin-top: 10px; }
.status.ok { color: #24543a; }
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}
.checks { margin-top: 28px; display: flex; flex-direction: column; gap: 22px; }
.checks article { display: grid; grid-template-columns: 42px 1fr; gap: 12px; }
.checks span {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--copper);
}
.checks h3 { font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.checks p { color: var(--muted); }
.promise {
  background: var(--card);
  padding: 36px 32px;
  align-self: start;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(40, 30, 20, 0.1);
}

.houses { padding-top: 10px; }
.house-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 22px;
}
.house-list li {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.15;
}

.site-footer {
  padding: 8px 0 40px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}
.site-footer p { color: var(--muted); font-size: 13px; max-width: 68ch; }
.site-footer strong {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
}
.to-top { letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; }

dialog {
  border: 0;
  padding: 0;
  background: var(--card);
  color: var(--ink);
  width: min(920px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  overflow: auto;
}
dialog::backdrop { background: rgba(18, 16, 14, 0.62); }
.dialog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.dialog-grid img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.dialog-copy { padding: 28px; position: relative; }
.dialog-copy h3 {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 500;
  line-height: 0.95;
  margin: 8px 0;
}
.close-x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 99px;
  border: 1px solid var(--line);
}
#shortlist { width: min(480px, calc(100vw - 24px)); }
.short-list { padding: 22px 22px 8px; }
.short-list h3 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 12px;
}
.short-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.short-item img { width: 64px; height: 80px; object-fit: cover; }
.short-item button { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.short-empty { color: var(--muted); padding-bottom: 18px; }

.dock { display: none; }

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-tools .btn-ink { display: none; }
  .site-header { padding: 0 10px 0 14px; gap: 8px; }
  .brand { min-width: 0; }
  .header-tools { gap: 6px; }
  .lang-pick select { max-width: 96px; padding: 0 22px 0 10px; }
  #open-shortlist, .menu-btn { padding: 0 10px; }
  .hero {
    min-height: auto;
    align-items: stretch;
    padding: 96px 0 28px;
  }
  .hero-stage { grid-template-columns: 1fr; gap: 14px; }
  .hero-visual { order: -1; aspect-ratio: 4 / 3; }
  .hero-copy { padding: 22px 20px 18px; }
  .trust, .collections, .grid, .sell-grid, .split, .form-grid, .dialog-grid {
    grid-template-columns: 1fr;
  }
  .trust { margin-top: 18px; }
  .collections {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(27, 23, 20, 0.38) transparent;
  }
  .collections::-webkit-scrollbar { height: 4px; }
  .collections::-webkit-scrollbar-track { background: transparent; }
  .collections::-webkit-scrollbar-thumb {
    background: rgba(27, 23, 20, 0.38);
    border-radius: 99px;
  }
  .collection { min-width: 74%; scroll-snap-align: start; min-height: 280px; }
  .section-head, .season .wrap, .footer-row, .form-foot { display: block; }
  .section-head p, .form-foot .btn { margin-top: 16px; }
  .count-line { margin: 0; width: 100%; }
  .grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
  .sell { padding-bottom: 88px; }
  body { padding-bottom: 64px; }
  .dock {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 30;
    background: rgba(250, 247, 242, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(28, 20, 12, 0.18);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  }
  .dock a, .dock button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 11px;
    color: var(--muted);
  }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(250, 247, 242, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(28, 20, 12, 0.16);
    padding: 16px 22px 20px;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  :root { --pad: 16px; }
  .grid { grid-template-columns: 1fr; }
  .brand strong { letter-spacing: 0.12em; font-size: 24px; }
  .tool span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hero h1 { font-size: 42px; }
  .lang-pick select { max-width: 108px; }
}

html[lang="zh"] h1,
html[lang="zh"] h2,
html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ko"] h1,
html[lang="ko"] h2,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="zh"] .piece h3,
html[lang="ja"] .piece h3,
html[lang="ko"] .piece h3,
html[lang="ar"] .piece h3,
html[lang="zh"] .dialog-copy h3,
html[lang="zh"] .house-list li {
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.25;
}
html[lang="zh"] .hero h1 span:last-child,
html[lang="ja"] .hero h1 span:last-child,
html[lang="ko"] .hero h1 span:last-child,
html[lang="ar"] .hero h1 span:last-child { font-style: normal; }
html[lang="zh"] .nav,
html[lang="zh"] .btn,
html[lang="zh"] .eyebrow,
html[lang="zh"] .brand small,
html[lang="ja"] .nav,
html[lang="ko"] .nav,
html[lang="ar"] .nav {
  letter-spacing: 0.04em;
  text-transform: none;
}
html[lang="zh"] body { font-family: "PingFang SC", "Microsoft YaHei", "Outfit", sans-serif; }
html[lang="ja"] body { font-family: "Yu Gothic", "Hiragino Sans", "PingFang SC", sans-serif; }
html[lang="ko"] body { font-family: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; }
html[lang="ar"] body { font-family: "Segoe UI", Tahoma, sans-serif; }
html[dir="rtl"] .hero-copy { text-align: right; }
html[dir="rtl"] .count-line { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .save { right: auto; left: 10px; }
html[dir="rtl"] .ref-tag { left: auto; right: 10px; }
html[dir="rtl"] .close-x { right: auto; left: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slides img, .piece-media img, .collection img { transition: none; }
}
