:root {
  --paper: #ffffff;
  --panel: #f8f5ef;
  --panel-warm: #f3efe7;
  --ink: #151515;
  --muted: #6f6b63;
  --soft: #9c978d;
  --line: #e7e2d9;
  --button: #ffffff;
  --shadow: 0 16px 44px rgba(35, 28, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 13px;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid rgba(20, 20, 20, 0.38);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: 76px;
  padding: 0 clamp(22px, 4vw, 70px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.site-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 34px);
}

.site-nav a,
.header-actions a,
.header-actions button {
  color: var(--ink);
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
}

.header-actions {
  justify-content: flex-end;
}

.header-actions .button {
  min-height: auto;
  border: 0;
  padding: 0;
  background: transparent;
}

.brand-mark {
  color: var(--ink);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

main {
  overflow: hidden;
}

.hero-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.64fr) minmax(0, 1fr);
  min-height: min(760px, calc(100vh - 76px));
  border-bottom: 1px solid var(--line);
  background: #f2eee8;
}

.hero-panel {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: var(--panel);
}

.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-panel-large img {
  object-position: center;
}

.hero-copy {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(38px, 5vw, 80px) clamp(24px, 3vw, 48px);
  text-align: center;
  background: #f8f6f1;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.hero-title {
  display: grid;
  justify-items: center;
  gap: 2px;
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(58px, 6.2vw, 104px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
}

.hero-title-line {
  display: block;
  width: 2.2em;
  text-align: center;
}

.hero-text {
  max-width: 380px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 13px 26px;
  color: var(--ink);
  background: var(--button);
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.button:hover {
  color: #fff;
  background: var(--ink);
  transform: translateY(-1px);
}

.button-primary {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--button);
}

.button-secondary {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.collections-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.collections-strip a {
  min-height: 92px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 1.8vw, 24px);
  text-decoration: none;
}

.collections-strip a:last-child {
  border-right: 0;
}

.works-section {
  padding: clamp(56px, 7vw, 96px) clamp(18px, 3vw, 52px) clamp(70px, 8vw, 120px);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 400;
  line-height: 1.05;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.product-heading {
  margin-bottom: 28px;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 28px;
  padding: 17px 0;
  border-block: 1px solid var(--line);
  color: var(--soft);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 58px);
  row-gap: clamp(42px, 5vw, 72px);
}

.work-card {
  min-width: 0;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.work-card:hover img {
  transform: scale(1.025);
}

.work-image-wrap {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--panel);
}

.work-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.work-image-wrap.image-missing::after {
  content: "图片暂不可用";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--panel);
}

.work-image-wrap.image-missing img {
  opacity: 0;
}

.work-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 5px 8px;
  color: var(--muted);
  background: rgba(239, 235, 226, 0.88);
  font-size: 10px;
  line-height: 1;
}

.work-meta {
  display: grid;
  gap: 4px;
  padding: 15px 0 0;
}

.work-kicker {
  color: var(--soft);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work-title {
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.work-price,
.work-material {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.work-material {
  color: var(--ink);
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(44px, 5vw, 70px);
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  min-height: 520px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f8f6f1;
}

.story-image {
  min-height: 520px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-copy {
  display: grid;
  align-content: center;
  padding: clamp(44px, 7vw, 100px);
}

.story-copy h2 {
  max-width: 520px;
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(34px, 4.2vw, 62px);
  font-weight: 400;
  line-height: 1.05;
}

.story-copy p:last-child {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-section {
  padding: clamp(64px, 8vw, 110px) clamp(18px, 3vw, 52px);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.status-message {
  min-height: 26px;
  margin: 18px 0 0;
  color: var(--muted);
  text-align: center;
}

.work-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.work-modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.56);
}

.modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.4fr);
  width: min(100%, 1040px);
  max-width: 1040px;
  max-height: min(88vh, 840px);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: contain;
  background: var(--panel);
}

.modal-copy {
  padding: clamp(26px, 4vw, 44px);
}

.modal-copy h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 30px;
  font-weight: 400;
}

.modal-copy p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 16px;
  }

  .site-nav,
  .header-actions {
    justify-content: center;
  }

  .brand-mark {
    grid-row: 1;
  }

  .hero-editorial,
  .story-section {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 360px;
  }

  .hero-copy {
    min-height: 360px;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }

  .modal-panel {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow: auto;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 12px;
  }

  .site-nav,
  .header-actions {
    gap: 14px;
  }

  .header-actions {
    flex-wrap: wrap;
  }

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

  .hero-title {
    font-size: 52px;
  }

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

  .collections-strip a {
    min-height: 74px;
    border-bottom: 1px solid var(--line);
  }

  .works-section {
    padding-inline: 14px;
  }

  .shop-toolbar {
    font-size: 10px;
  }

  .work-grid {
    column-gap: 14px;
    row-gap: 36px;
  }

  .work-title {
    font-size: 12px;
  }

  .work-price,
  .work-material {
    font-size: 11px;
  }

  .button {
    width: 100%;
  }

  .contact-actions,
  .section-actions {
    display: grid;
  }
}
