:root {
  --paper: #f9f6ef;
  --white: #fffdf8;
  --ink: #2b2b22;
  --muted: #5b5a4f;
  --line: #ded8ca;
  --moss: #344536;
  --fern: #edf0e7;
  --rust: #84462e;
  --espresso: #2a221c;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, "Segoe UI", sans-serif;
  --width: 1320px;
  --gutter: clamp(20px, 4.3vw, 64px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.09; letter-spacing: -.035em; }
img { display: block; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: absolute; left: 12px; top: 8px; z-index: 5; background: var(--white); padding: 8px 12px; }
.wrap { width: min(var(--width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: clamp(53px, 6vw, 86px); }
.eyebrow { color: var(--rust); font-size: .79rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 20px; }
.button {
  min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--moss); border-radius: 4px; padding: 8px 16px;
  background: var(--moss); color: var(--white); text-decoration: none; font-size: .92rem; font-weight: 660;
}
.button:hover { background: #485e4b; border-color: #485e4b; }
.button.outline { background: transparent; color: var(--moss); }
.button.outline:hover { background: var(--fern); border-color: var(--moss); }
.text-link { text-underline-offset: 4px; font-weight: 650; }
.text-link:hover { color: var(--rust); }

.header { position: sticky; top: 0; background: var(--paper); border-bottom: 1px solid var(--line); z-index: 3; }
.header-row { min-height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { text-decoration: none; display: inline-flex; justify-self: start; flex: 0 0 auto; align-items: center; gap: 11px; white-space: nowrap; }
.brand img { width: 34px; height: 34px; }
.brand-word { display: grid; font: 1.78rem/.92 var(--serif); letter-spacing: -.035em; }
.brand-word span { margin-top: 6px; color: var(--muted); font: 650 .66rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(12px, 3vw, 42px); }
.main-nav a, .header-save { font-size: .92rem; font-weight: 570; text-decoration: none; }
.main-nav a[href="#custom"] { font-weight: 750; color: var(--moss); }
.main-nav a:hover, .header-save:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-tools { display:flex; align-items:center; justify-self:end; gap:clamp(8px,1.4vw,18px); white-space:nowrap; }
.language-link { font-weight:660; text-decoration:none; font-size:.91rem; }
.language-link:hover { text-decoration:underline; text-underline-offset:4px; }
.header-save { display: inline-flex; justify-self: end; align-items: center; gap: 7px; min-height: 44px; }
.icon-heart { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.save-count { min-width: 1.35em; padding-inline: .2em; border-radius: 99px; background: var(--fern); text-align: center; font-size: .78rem; }

.hero {
  position: relative; isolation: isolate; display: grid; align-items: center;
  min-height: clamp(450px, 38vw, 600px); background: var(--espresso); color: #fff6e9;
}
.hero-media { position: absolute; inset: 0 0 0 24%; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 69%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, #2a221c 0%, #2a221c 23%, #2a221cf7 29%, #2a221cb3 37%, #2a221c20 54%, #2a221c00 63%);
}
.hero-content { padding-block: 56px; pointer-events: none; }
.hero-copy { display: grid; justify-items: start; gap: 25px; max-width: clamp(420px, 45vw, 642px); pointer-events: auto; }
.hero h1 { font-size: clamp(4.05rem, 7.2vw, 7.15rem); line-height: .97; }
.hero h1 em { color: #e6b593; font-weight: 500; }
.hero-copy p { max-width: 33ch; color: #f0e1d4; font-size: clamp(1.05rem, 1.3vw, 1.23rem); }
.hero-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; max-width: 38rem; }
.hero-shortcut {
  display: inline-flex; align-items: center; min-height: 43px; padding: 7px 13px;
  border: 1px solid #f1dcc3; border-radius: 4px; background: #302218a6;
  color: #fff6e9; font-size: .91rem; font-weight: 650; text-decoration: none;
}
.hero-shortcut:nth-child(-n+2) { background: #f1dcc3; color: #302218; }
.hero-shortcut:hover { background: #fff0dc; color: #33271d; }
.hero :focus-visible { outline-color: #f7cead; }
.hero-credit {
  position: absolute; right: var(--gutter); bottom: 20px; padding: 8px 12px; max-width: 82%;
  background: #241c17dc; color: #fff7e9; border: 1px solid #e9d8c46e; border-radius: 3px;
  font-size: .87rem; text-decoration: none;
}
.hero-credit:hover { text-decoration: underline; text-underline-offset: 4px; }

.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 13px 34px; margin-bottom: 25px;
}
.section-head h2, .workshop h2 { font-size: clamp(2.35rem, 4.5vw, 4.1rem); }
.section-head p { max-width: 42ch; color: var(--muted); }

.custom { background: #efe9dd; padding-top: clamp(40px, 4.3vw, 61px); }
.custom-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(13px, 2vw, 27px); }
.custom-option { display: flex; flex-direction: column; min-width: 0; background: var(--white); border: 1px solid #d7cebd; border-radius: 5px; overflow: hidden; }
.custom-option > img { aspect-ratio: 1.62; object-fit: cover; background: #e0d4c2; }
.custom-option:nth-child(-n+2) { grid-column:span 2; }
.custom-option:nth-child(-n+2) > img { aspect-ratio:2.1; }
.custom-option:nth-child(2) > img { object-position: 50% 52%; }
.custom-option:nth-child(3) > img { object-position: 50% 58%; }
.custom-option:nth-child(4) > img { object-position: 50% 63%; }
.custom-option-body { display: flex; flex: 1; flex-direction: column; align-items: start; gap: 8px; padding: clamp(15px, 1.7vw, 24px); }
.custom-option-body h3, .custom-copy h3 { font-size: clamp(1.35rem, 2.1vw, 2rem); }
.custom-option-body p, .custom-copy p { color: var(--muted); }
.custom-option-body .actions { padding-top: 7px; margin-top: auto; }
.custom-brief {
  display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); gap: 14px clamp(20px, 4vw, 55px);
  align-items: start; margin-top: 28px; padding-top: 21px; border-top: 1px solid #d0c4b3;
}
.custom-copy p { margin-top: 7px; max-width: 46ch; }
.inquiry { width: 100%; min-width: 0; }
.inquiry[open] { padding: 2px 15px 15px; border: 1px solid #d0c4b3; border-radius: 5px; background: #f8f4e9; }
.inquiry summary { cursor: pointer; padding: 10px 0 5px; font-weight: 680; }
.inquiry-form { padding-top: 10px; display: grid; gap: 12px; }
.inquiry-layout { display: grid; grid-template-columns: 1.35fr .55fr 1fr; gap: 10px; }
.inquiry-form label, .request-summary label { display: grid; min-width: 0; gap: 3px; font-size: .9rem; font-weight: 640; }
.inquiry input, .inquiry textarea, .inquiry select {
  width: 100%; min-height: 41px; padding: 7px 9px; border: 1px solid #beb2a0; border-radius: 4px;
  background: var(--white); font-size: .94rem; font-weight: 400;
}
.inquiry select {
  appearance: none; padding-inline-end: 23px;
  background: linear-gradient(45deg, transparent 47%, var(--moss) 49% 64%, transparent 67%) right 11px center / 5px 5px no-repeat,
              linear-gradient(135deg, transparent 47%, var(--moss) 49% 64%, transparent 67%) right 6px center / 5px 5px no-repeat var(--white);
}
.inquiry textarea { min-height: 82px; resize: vertical; }
.inquiry .form-note { color: var(--muted); font-size: .9rem; }
.form-action { justify-self: start; }
.configuration-attachment { border: 1px solid #c9bfac; background: var(--white); border-radius: 5px; padding: 0 10px 8px; }
.configuration-attachment summary { padding: 8px 0 0; }
.configuration-attachment pre { max-height: 14rem; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0; font: .87rem/1.5 var(--sans); }
.configuration-attachment .button { min-height: 37px; padding: 5px 10px; }
.request-summary { margin-top: 9px; }
.request-summary .actions { margin-top: 8px; }

.catalogue-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 17px; margin-bottom: 23px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter {
  padding: 6px 13px; min-height: 40px; border: 1px solid #d0c8b9; border-radius: 4px;
  background: transparent; color: var(--moss); font-size: .91rem; font-weight: 580;
}
.filter:hover { background: #f0eadf; }
.filter[aria-pressed="true"] { background: var(--moss); color: var(--white); border-color: var(--moss); }
.search input { width: min(236px, 100%); min-height: 40px; padding: 6px 12px; border: 1px solid #d0c8b9; border-radius: 4px; background: var(--white); font-size: .93rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3.25vw, 44px) clamp(14px, 1.9vw, 26px); }
.card { position: relative; min-width: 0; display: flex; flex-direction: column; }
.card-media { display: block; aspect-ratio: 1.52; border-radius: 5px; overflow: hidden; background: #ece2d2; }
.card-media img { height: 100%; object-fit: cover; }
.card-media:hover img { transform: scale(1.045); }
.card-media img, .button, .filter { transition: transform .27s ease, background-color .16s ease; }
.card-body { padding: 12px 2px 0; display: flex; flex: 1; flex-direction: column; align-items: start; }
.card h3 { font-size: clamp(1.18rem, 1.85vw, 1.71rem); }
.card-meta { margin: 6px 0; color: var(--muted); font-size: .94rem; line-height: 1.45; }
.card-action { display: inline-flex; margin-top: auto; padding: 4px 0; color: var(--moss); font-weight: 660; font-size: .9rem; text-decoration: underline; text-underline-offset: .2em; }
.card-action:hover { color: var(--rust); }
.fav {
  position: absolute; top: 9px; right: 9px; display: grid; place-items: center; width: 39px; height: 39px;
  border: 1px solid transparent; border-radius: 50%; background: var(--white); color: var(--moss);
}
.fav:hover { border-color: var(--rust); }
.fav[aria-pressed="true"] { color: var(--rust); }
.fav[aria-pressed="true"] .icon-heart { fill: currentColor; }
.empty { padding: 21px; background: var(--white); border: 1px solid var(--line); }
.empty p { margin-bottom: 8px; }

.workshop-feature { background: var(--espresso); color: #f9eddd; padding-block: clamp(38px, 5.7vw, 80px); }
.workshop-lead {
  display: grid; grid-template-columns: minmax(0, 1.23fr) minmax(0, .77fr);
  align-items: center; gap: clamp(22px, 4.8vw, 66px);
}
.studio-photo { overflow: hidden; border-radius: 5px; }
.studio-photo img { aspect-ratio: 1.3; height: auto; object-fit: cover; object-position: 54% 42%; }
.workshop-copy { display: grid; justify-items: start; gap: 15px; }
.workshop-copy h2 { text-wrap: balance; }
.workshop-copy .eyebrow { color: #e5b28e; }
.workshop-copy p:not(.eyebrow) { color: #f0ded0; max-width: 42ch; }
.workshop-feature :focus-visible { outline-color: #f7cead; }
.studio-link {
  display: grid; grid-template-columns: minmax(85px, 128px) minmax(0, 1fr); align-items: center; gap: 13px;
  margin-top: 5px; border: 1px solid #786450; border-radius: 4px; padding: 6px 13px 6px 6px; text-underline-offset: 4px;
}
.studio-link:hover { border-color: #e5b28e; }
.studio-link img { aspect-ratio: 1.5; object-fit: cover; border-radius: 2px; }
.studio-portfolio { padding-block: clamp(46px, 5vw, 72px); }
.studio-portfolio h3 { font-size: clamp(1.73rem, 3vw, 2.6rem); }
.portfolio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 26px); }
.portfolio img { aspect-ratio: 1.47; object-fit: cover; border-radius: 5px; background: #ebe3d4; }
.portfolio figcaption { margin-top: 6px; color: var(--muted); font-size: .93rem; }
.footer { background: var(--moss); color: #f9f8ee; }
.footer-layout { min-height: 103px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; padding-block: 18px; }
.footer .brand-word span { color: #e6ede3; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 25px; font-size: .94rem; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.piece-dialog {
  padding: 0; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--white);
  width: min(1010px, calc(100% - 30px)); max-height: min(92vh, 900px);
}
.piece-dialog::backdrop { background: #261f19c4; }
body:has(.piece-dialog[open]) { overflow: hidden; }
.dialog-inner { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, .88fr); align-items: center; }
.dialog-close {
  position: absolute; z-index: 2; top: 10px; right: 10px; width: 39px; height: 39px;
  line-height: 1; font-size: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: 50%;
}
.dialog-close:hover { background: var(--fern); }
.dialog-gallery { padding: 14px; background: #f2ecdf; min-width: 0; }
.dialog-hero { aspect-ratio: 4 / 3; width: 100%; object-fit: contain; background: #eae1d0; border-radius: 4px; }
.dialog-caption { font-size: .91rem; color: var(--muted); margin: 5px 0 8px; }
.thumbnails { display: flex; flex-wrap: wrap; gap: 7px; }
.thumbnails button { background: transparent; border-radius: 5px; border: 1px solid transparent; padding: 2px; }
.thumbnails button[aria-pressed="true"] { border-color: var(--moss); }
.thumbnails img { width: 75px; height: 53px; object-fit: cover; border-radius: 3px; }
.dialog-copy { padding: 36px clamp(19px, 3vw, 43px); display: grid; justify-items: start; gap: 12px; }
.dialog-copy h2 { font-size: clamp(1.9rem, 3.45vw, 2.9rem); }
.dialog-copy p:not(.eyebrow) { color: var(--muted); }
.piece-spec { border-top: 1px solid var(--line); padding-top: 10px; font-size: .94rem; }
.piece-actions { gap: 8px 10px; }
[lang="zh-CN"] .hero h1 { font-size: clamp(2.52rem, 5.25vw, 5.55rem); line-height: 1.18; }
[lang="zh-CN"] .workshop h2 { font-size: clamp(2.1rem, 3.9vw, 3.5rem); }
[lang="zh-CN"] .hero h1 em { font-style: normal; }
[lang="zh-CN"] .brand-word { font-size: 1.42rem; }

@media (max-width: 1040px) {
  .hero-copy { gap: 21px; }
  .custom-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .custom-option:nth-child(-n+2) { grid-column:auto; }
  .search { flex: 1 1 100%; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 78px; }
  .header-row { min-height: 61px; gap: 12px; }
  .main-nav { gap: 8px 13px; justify-content: start; }
  .brand-word { font-size: 1.42rem; }
  .brand-word span { font-size: .61rem; }
  .brand img { width: 29px; height: 29px; }
  .hero { min-height: 0; display: flex; flex-direction: column; align-items: stretch; }
  .hero-media { position: relative; inset: auto; z-index: 0; order: 2; }
  .hero-media img { aspect-ratio: 1.53; object-position: 50% 63%; }
  .hero::before { display: none; }
  .hero-content { padding-block: 37px 32px; }
  .hero-copy { max-width: 32rem; gap: 16px; }
  .hero h1 { font-size: clamp(3.2rem, 11vw, 5rem); }
  .hero-credit { bottom: 10px; right: 10px; font-size: .81rem; padding: 5px 8px; }
  .section-head { align-items: start; flex-direction: column; gap: 8px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .custom-options, .custom-brief, .workshop-lead { grid-template-columns: minmax(0, 1fr); }
  .custom-option { display: grid; grid-template-columns: minmax(115px, .72fr) minmax(0, 1.28fr); }
  .custom-options .custom-option > img { width: 100%; height: 100%; aspect-ratio: auto; min-height: 133px; }
  .custom-option-body { gap: 6px; }
  .custom-option-body .actions { gap: 5px 11px; }
  .custom-option-body .button { min-height: 38px; padding-inline: 8px; }
  .studio-photo img { aspect-ratio: 1.6; }
  .dialog-inner { grid-template-columns: minmax(0, 1fr); }
  .dialog-hero { max-height: 39vh; }
  .dialog-copy { padding-top: 18px; }
}
@media (max-width: 480px) {
  html { scroll-padding-top: 97px; }
  .header-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0; padding-block: 9px 6px; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; padding-top: 4px; }
  .header-tools .saved-label { display:none; }
  .hero-shortcut { min-height: 39px; padding-inline: 9px; }
  .inquiry-layout { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .inquiry-layout > :first-child { grid-column: 1 / -1; }
  .fav { width: 34px; height: 34px; top: 6px; right: 6px; }
  .portfolio { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Homepage custom selector: full-viewport first screen, supporting content below. */
#custom.custom {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: calc(100svh - 72px);
  margin: 0;
  padding: clamp(22px, 2.6vh, 34px) 0;
  background: #efe9dd;
}
#custom.custom > .wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: clamp(20px, 4vw, 72px);
}
#custom .section-head {
  align-items: end;
  margin-bottom: clamp(16px, 2.2vh, 26px);
}
#custom .section-head h2 { font-size: clamp(1.9rem, 3.4vw, 3.1rem); }
#custom .custom-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.35vw, 22px);
}
#custom .custom-option:nth-child(-n+2) { grid-column: auto; }
#custom .custom-option:nth-child(-n+2) > img { aspect-ratio: 1.8; }
#custom .custom-option > img { aspect-ratio: 1.8; }
#custom .custom-option-body { gap: 5px; padding: clamp(11px, 1.15vw, 17px); }
#custom .custom-option-body h3 { font-size: clamp(1.05rem, 1.35vw, 1.4rem); }
#custom .custom-option-body p { font-size: clamp(.88rem, .95vw, 1rem); line-height: 1.4; }
#custom .custom-option-body .actions { padding-top: 2px; }
.custom-inquiry { padding-block: clamp(38px, 5vw, 70px); }
@media (max-width: 900px) {
  #custom.custom { min-height: calc(100svh - 72px); align-items: flex-start; }
  #custom .custom-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  #custom.custom { min-height: calc(100svh - 97px); padding-block: 18px 24px; }
  #custom.custom > .wrap { padding-inline: 16px; }
  #custom .section-head { margin-bottom: 13px; }
  #custom .custom-options { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  #custom .custom-option { display: grid; grid-template-columns: 38% minmax(0, 1fr); }
  #custom .custom-option > img { min-height: 112px; height: 100%; aspect-ratio: auto; }
  #custom .custom-option-body { padding: 10px; }
  #custom .custom-option-body h3 { font-size: 1rem; }
}

a.custom-option, .card-body h3 a { color: inherit; text-decoration: none; }
a.custom-option:is(:hover,:focus-visible) { border-color: var(--moss); }
a.custom-option:is(:hover,:focus-visible) h3, .card-body h3 a:is(:hover,:focus-visible) { text-decoration: underline; text-underline-offset: .18em; }
.custom-link-hint { margin-top: auto; padding-top: .35rem; color: var(--moss); font-size: .88rem; font-weight: 650; }
