: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 { display: inline-flex; align-items: center; justify-self: start; min-width: 0; max-width: 100%; min-height: 44px; }
.brand-art { display: block; width: min(var(--brand-width), 100%); }
.brand-art-en { --brand-width: 228px; }
.brand-art-zh { --brand-width: 140px; }
.brand-art img { display: block; width: 100%; height: auto; }
.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-ask { padding: 8px 14px; border: 1px solid var(--moss); border-radius: 4px; color: var(--moss); font-size: .9rem; font-weight: 660; text-decoration: none; }
.header-ask::first-letter { text-transform: uppercase; }
.header-ask:hover { background: var(--moss); color: var(--white); }
.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; }

/* First screen: one sentence, three points and the six pieces */
.custom { background: #efe9dd; padding-block: clamp(20px, 3vh, 34px) clamp(24px, 3.4vh, 40px); }
.home-intro { display: flex; align-items: end; justify-content: space-between; gap: 14px 40px; margin-bottom: clamp(14px, 2.2vh, 24px); }
.home-intro h1 { font-size: clamp(2rem, 3.35vw, 3.2rem); line-height: 1.08; }
.home-intro h1 em { font-style: normal; color: var(--rust); }
.home-intro p { margin-top: 7px; max-width: 58ch; color: var(--muted); }
.home-points { display: grid; flex: none; gap: 3px; margin: 0; padding: 0; list-style: none; font-size: .92rem; }
.home-points li { display: grid; grid-template-columns: 17px auto; gap: 8px; align-items: center; }
.home-points li::before { content: ""; width: 15px; height: 8px; border: solid var(--moss); border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(.72); }

.how { background: var(--espresso); color: #f9eddd; }
.how-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4.4vw, 66px); padding-block: clamp(30px, 4vw, 56px); }
.how-layout:not(:has(.how-photo)), .workshop-lead:not(:has(.studio-photo)) { grid-template-columns: minmax(0, 1fr); }
.how-layout:not(:has(.how-photo)) { padding-block: clamp(30px, 4vw, 56px); }
.how-photo { position: relative; overflow: hidden; border-radius: 5px; }
.how-photo img { aspect-ratio: 1.5; height: auto; object-fit: cover; object-position: 50% 66%; }
.how-photo figcaption a {
  position: absolute; right: 12px; bottom: 12px; padding: 6px 11px;
  background: #241c17dc; color: #fff7e9; border: 1px solid #e9d8c46e; border-radius: 3px; font-size: .85rem; text-decoration: none;
}
.how-photo figcaption a:hover { text-decoration: underline; text-underline-offset: 4px; }
.how-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); margin-bottom: clamp(14px, 2vw, 24px); }
.how-steps { display: grid; gap: clamp(12px, 1.6vw, 20px); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.how-steps li { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; counter-increment: step; }
.how-steps li::before {
  content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid #a98a6c; border-radius: 50%; color: #f1dcc3; font: 500 1.1rem/1 var(--serif);
}
.how-steps h3 { font-size: 1.25rem; line-height: 1.3; }
.how-steps p { color: #f0ded0; font-size: .97rem; }
.how-steps a { color: inherit; text-underline-offset: .17em; }
.how :focus-visible { outline-color: #f7cead; }

.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(1.95rem, 3.2vw, 2.95rem); }
.section-head p { max-width: 42ch; color: var(--muted); }

.custom-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(11px, 1.25vw, 20px); }
.custom-empty { grid-column: 1 / -1; padding: 1rem; background: var(--white); border: 1px solid var(--line); }
.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 { height: clamp(130px, calc((100svh - 478px) / 2), 250px); object-fit: cover; background: #e0d4c2; }
.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:nth-child(5) > img { object-position: 50% 34%; }
.custom-option-body { display: flex; flex: 1; flex-direction: column; align-items: start; gap: 3px; padding: 10px 14px 11px; }
.custom-option-body h3 { font-size: clamp(1.08rem, 1.35vw, 1.34rem); line-height: 1.25; }
.custom-option-body p { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.custom-option-body .actions { padding-top: 7px; margin-top: auto; }
.small-batch { background: #efe9dd; padding-block: clamp(38px, 4.6vw, 68px); }
.small-batch-layout { display: grid; gap: clamp(18px, 2.2vw, 30px); }
.custom-copy h2 { font-size: clamp(1.8rem, 2.9vw, 2.7rem); text-wrap: balance; }
.custom-copy > div > p { margin-top: 10px; max-width: 46ch; color: var(--muted); }
.batch-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px clamp(18px, 3vw, 44px); margin: clamp(14px, 1.8vw, 24px) 0 0; padding: 0; list-style: none; }
.batch-list li { display: grid; gap: 5px; align-content: start; justify-items: start; padding-top: 13px; border-top: 1px solid #cdbfa9; }
.batch-list h3 { font-size: 1.2rem; line-height: 1.3; }
.batch-list p { color: var(--muted); max-width: 52ch; }
.inquiry { width: 100%; min-width: 0; }
.inquiry { border: 1px solid #cdbfa9; border-radius: 6px; background: #fbf8f0; }
.inquiry[open] { max-width: 900px; }
.inquiry[open] { padding: 0 18px 18px; }
.inquiry summary { cursor: pointer; padding: 10px 0 5px; font-weight: 680; }
.inquiry > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 18px; list-style: none; }
.inquiry[open] > summary { padding: 15px 0 5px; }
.inquiry > summary::-webkit-details-marker { display: none; }
.inquiry > summary span { padding: 9px 18px; border-radius: 4px; background: var(--moss); color: var(--white); font-size: .96rem; }
.inquiry > summary:hover span { background: #485e4b; }
.inquiry > summary small { color: var(--muted); font-size: .88rem; font-weight: 400; }
.inquiry[open] > summary span { padding: 0; background: none; color: var(--ink); font-size: 1.1rem; }
.inquiry[open] > summary small { display: none; }
.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-row { display: flex; align-items: flex-start; gap: 8px; }
.configuration-row[hidden] { display: none; }
.configuration-row > .configuration-attachment { flex: 1 1 auto; min-width: 0; }
.configuration-row > .button { flex: none; min-height: 41px; padding: 6px 12px; }
.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; }
.inquiry-sent { display: grid; gap: 8px; justify-items: start; padding: 10px 0 4px; outline: none; }
.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(5, minmax(0, 1fr)); gap: clamp(22px, 2.4vw, 34px) clamp(12px, 1.4vw, 20px); }
.card { position: relative; min-width: 0; display: flex; flex-direction: column; }
.card-media { position: relative; display: block; aspect-ratio: 1.18; 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.08rem, 1.3vw, 1.28rem); line-height: 1.25; }
.card-badge { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 3px; background: #fffdf8ee; color: var(--moss); font-size: .76rem; font-weight: 680; }
.card-meta { margin: 6px 0; color: var(--muted); font-size: .9rem; line-height: 1.42; }
.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(34px, 4.2vw, 60px); }
.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.72; 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 { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 26px clamp(20px, 3vw, 48px); padding-block: clamp(30px, 3.6vw, 50px) 24px; }
.footer-brand { display: grid; gap: 12px; align-content: start; justify-items: start; }
.footer-brand p { max-width: 34ch; color: #dfe7dc; }
.footer .brand-art img { filter: invert(98%) sepia(12%) saturate(195%) hue-rotate(352deg); }
.footer-ask { border-color: #dfe7dc; background: transparent; color: #f9f8ee; }
.footer-ask:hover { background: #f9f8ee; border-color: #f9f8ee; color: var(--moss); }
.footer nav { display: grid; gap: 2px; align-content: start; justify-items: start; font-size: .93rem; }
.footer nav h2 { margin-bottom: 7px; font: 680 .86rem/1.3 var(--sans); letter-spacing: .04em; color: #cfdccb; }
.footer nav a { padding-block: 3px; text-decoration: none; font-weight: 400; }
.footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer :focus-visible { outline-color: #f7cead; }
.footer-end { padding-block: 13px 18px; border-top: 1px solid #56705b; color: #cfdccb; font-size: .86rem; }

.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"] .home-intro h1 { font-size: clamp(1.75rem, 2.9vw, 2.75rem); line-height: 1.2; letter-spacing: 0; }

@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1040px) {
  .home-intro { flex-direction: column; align-items: start; }
  .home-points { grid-auto-flow: column; gap: 3px 20px; }
  .custom-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .custom-option > img { height: clamp(140px, 21vw, 220px); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-media { aspect-ratio: 1.45; }
  .search { flex: 1 1 100%; }
  .footer-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .header-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0; padding-block: 9px 7px; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; justify-content: start; gap: 6px 18px; padding-top: 5px; }
  html { scroll-padding-top: 102px; }
}
@media (max-width: 760px) {
  .header .brand-art-en { --brand-width: 190px; }
  .header .brand-art-zh { --brand-width: 124px; }
  .home-points { grid-auto-flow: row; }
  .batch-list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .how-layout, .workshop-lead { grid-template-columns: minmax(0, 1fr); }
  .how-layout { padding-top: 0; }
  .how-photo { margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
  .section-head { align-items: start; flex-direction: column; gap: 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: 620px) {
  .custom .wrap { width: calc(100% - 32px); }
  .custom-options { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .custom-option { display: grid; grid-template-columns: 38% minmax(0, 1fr); }
  .custom-option > img { height: 100%; min-height: 108px; }
  .custom-option-body { padding: 10px 12px; }
  .custom-option-body h3 { font-size: 1.02rem; }
  .portfolio { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .header-row { column-gap: 12px; }
  .main-nav { flex-wrap: nowrap; gap: 13px; overflow-x: auto; scrollbar-width: none; }
  .main-nav a { font-size: .84rem; white-space: nowrap; }
  .header-ask span, .card-meta { display: none; }
  .card-action { margin-top: 5px; }
  .header-tools .saved-label { display: none; }
  .header-ask { padding: 6px 10px; font-size: .84rem; }
  .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; }
  .card-badge { font-size: .7rem; padding: 2px 6px; }
  .footer-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

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; }
