/* Sheng Zhao — original quiet furniture layout.
   Type: Source Serif 4 and Source Sans 3, SIL Open Font License, self-hosted. */
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
}
:root {
  --ink: #1d1c1a;
  --muted: #7d766f;
  --line: #e6e1da;
  --paper: #f6f4f1;
  --white: #fffcf9;
  --sage: #8d9a86;
  --clay: #c4a394;
  --blush: #e4d2cb;
  --serif: "Source Serif 4", serif;
  --sans: "Source Sans 3", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 360;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; }

.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow {
  margin: 0 0 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--clay);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 460; letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1.05; margin: 0 0 16px; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; margin: 0 0 12px; }
h3 { font-size: 22px; margin: 0 0 8px; }
.lede { color: var(--muted); max-width: 460px; margin: 0; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; padding: 0 28px;
  background: rgba(255,252,249,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; border: 1px solid var(--ink);
  display: grid; place-items: center;
  font-size: 12px; letter-spacing: 0.08em;
}
.brand-name { font-family: var(--serif); font-size: 22px; }
.nav { display: flex; gap: 26px; font-size: 14px; color: #3a3835; }
.nav a:hover { color: var(--sage); }
.menu-btn {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: transparent; cursor: pointer;
}
.menu-btn span { display: block; height: 1px; margin: 5px 10px; background: var(--ink); }

.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  min-height: 640px; background: var(--paper); align-items: center;
}
.hero-photo { padding: 48px 24px 48px 6vw; }
.hero-photo img { width: min(520px, 100%); margin: 0 auto; }
.hero-copy { padding: 40px 6vw 40px 20px; }
.hero-copy h1 { color: #8d6f66; }
.price-note { margin-top: 22px; color: #8d6f66; font-size: 18px; }
.swatches { display: flex; gap: 10px; margin-top: 28px; }
.swatches i { width: 18px; height: 18px; border-radius: 50%; display: block; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 148px; height: 44px; padding: 0 22px; margin-top: 28px;
  border: 1px solid #cfc8c0; border-radius: 999px; background: transparent;
  font-size: 13px; letter-spacing: 0.12em;
}
.btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.solid:hover { background: #3d3a36; }

.section { padding: 84px 0; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin: 0 auto; max-width: 520px; }

.mosaic {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px;
}
.tile {
  background: var(--paper); min-height: 280px;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  padding: 28px; gap: 12px;
}
.tile.wide { grid-column: 1 / -1; grid-template-columns: 0.8fr 1.2fr; }
.tile img { width: 100%; height: 240px; object-fit: contain; }
.tile.wide img { height: 360px; }
.tile h3 { font-size: 28px; color: #8d6f66; }
.tile p { color: var(--muted); margin: 0; font-size: 14px; }

.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px;
}
.card { background: #fff; }
.card-photo {
  background: var(--paper); aspect-ratio: 1; display: grid; place-items: center; padding: 18px;
}
.card-photo img { width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 16px 4px 0; }
.card-body span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.stars { color: #c4b8a8; letter-spacing: 2px; font-size: 12px; margin-bottom: 6px; }

.band {
  background: var(--ink); color: #f3efe9; padding: 72px 0; text-align: center;
}
.band p { color: #c9c2b8; max-width: 560px; margin: 0 auto; }
.band .btn { color: #fff; border-color: #8d8680; }

.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.note { border-top: 1px solid var(--line); padding-top: 18px; }
.note time { color: var(--clay); font-size: 13px; }
.note p { color: var(--muted); }

.page-hero { padding: 54px 0 10px; text-align: center; }
.filters { display: flex; justify-content: center; gap: 18px; margin: 18px 0 8px; font-size: 14px; }
.filters a { color: var(--muted); padding-bottom: 4px; border-bottom: 1px solid transparent; }
.filters a.is-on { color: var(--ink); border-color: var(--ink); }

.detail {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px;
  padding: 36px 0 70px; align-items: start;
}
.detail-photo { background: var(--paper); padding: 28px; }
.detail-photo img { width: 100%; object-fit: contain; max-height: 640px; margin: 0 auto; }
.kicker { letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; color: var(--sage); }
.story { color: #4e4a45; }
.meta { color: var(--muted); font-size: 14px; }

.article { width: min(760px, calc(100% - 48px)); margin: 0 auto 80px; }
.article p { font-size: 17px; color: #3f3c38; }

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; padding-bottom: 80px; }
.contact-grid form { display: grid; gap: 12px; }
.contact-grid input, .contact-grid textarea {
  width: 100%; border: 1px solid var(--line); background: var(--paper);
  padding: 14px 16px; font-size: 15px;
}
.contact-grid textarea { min-height: 140px; resize: vertical; }
.captcha-row { display: flex; gap: 12px; align-items: center; }
.captcha-row img { height: 42px; cursor: pointer; background: #fff; }
.hp { position: absolute; left: -9999px; }

.site-footer { border-top: 1px solid var(--line); padding: 42px 0 28px; background: var(--paper); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.site-footer h4 { margin: 0 0 10px; font-family: var(--sans); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer p, .site-footer a { color: var(--muted); font-size: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.copy { margin-top: 28px; color: #a39c94; font-size: 12px; }

body.nav-open .nav {
  display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 78px;
  background: var(--white); padding: 18px 28px 24px; border-bottom: 1px solid var(--line); gap: 14px;
}

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; }
  .hero, .mosaic, .tile, .tile.wide, .grid, .notes, .detail, .contact-grid, .foot-grid {
    grid-template-columns: 1fr;
  }
  .tile.wide { grid-column: auto; }
  .hero-photo, .hero-copy { padding: 28px 22px; }
  .wrap { width: min(1180px, calc(100% - 32px)); }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
}
