@font-face {
  font-family: Cormorant;
  src: url('assets/cormorant-garamond-latin-500-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url('assets/cormorant-garamond-latin-400-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
}
:root {
  --paper: #f4f0e8;
  --ink: #271f1c;
  --muted: #716961;
  --wine: #61232f;
  --hair: rgba(52, 39, 31, 0.22);
  --cream: #f7efdd;
  --gutter: clamp(24px, 5.5vw, 108px);
  --pad: max(var(--gutter), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --mast-bar: 83px;
  --mast-height: calc(var(--mast-bar) + env(safe-area-inset-top, 0px));
  --serif: Cormorant, 'Times New Roman', 'Songti SC', 'STSong', serif;
  --cn:
    'Songti SC', 'STSong', 'Noto Serif CJK SC', 'Noto Serif SC', 'Source Han Serif SC', SimSun, serif;
  --sans: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
  --latin: Arial, 'Helvetica Neue', sans-serif;
  --ease: cubic-bezier(0.2, 0.72, 0.22, 1);
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--mast-height);
  background: var(--paper);
}
body {
  margin: 0;
  color: var(--ink);
  font: 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) {
  overflow: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
canvas:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #b86742;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
fieldset,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.symbols,
.sr-only {
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 8px 16px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
.mast {
  position: sticky;
  top: 0;
  margin-bottom: calc(-1 * var(--mast-height));
  z-index: 8;
  height: var(--mast-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: env(safe-area-inset-top, 0px) var(--pad) 0;
  color: var(--cream);
  border-bottom: 1px solid rgba(246, 234, 214, 0.23);
  background: linear-gradient(180deg, rgba(14, 5, 6, 0.36), transparent);
}
.brand {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-self: start;
  line-height: 1;
}
.brand-needle {
  width: 40px;
  height: 44px;
}
.brand-words {
  display: grid;
  gap: 5px;
}
.brand-name,
.footer-logo {
  font: 500 30px/0.88 var(--serif);
  letter-spacing: -1.65px;
  white-space: nowrap;
}
.brand-name i,
.footer-logo i {
  font-weight: 400;
}
.brand-cn {
  font: 10px/1.1 var(--sans);
  letter-spacing: 0.29em;
  margin-left: 2px;
  opacity: 0.88;
}
.main-nav,
.mast-actions,
.hero-actions,
.hero-arrows,
.look-indicator,
.drag-hint,
.closing-actions,
.under-link,
.text-link,
.button,
.header-order,
.sample-foot span,
.sample-foot button,
.mobile-gallery-controls,
.color-options {
  display: flex;
  align-items: center;
}
.main-nav {
  gap: clamp(28px, 3.5vw, 62px);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.main-nav a,
.main-nav button,
.text-link,
.under-link,
.footer a {
  position: relative;
}
.main-nav a:after,
.main-nav button:after,
.text-link:after,
.under-link:after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease);
}
.nav-count {
  margin-left: 4px;
  font: 10px/1 var(--latin);
  vertical-align: super;
}
.mast-actions {
  justify-self: end;
  gap: 14px;
}
.header-order {
  gap: 22px;
  border: 1px solid rgba(250, 239, 223, 0.55);
  padding: 8px 15px;
  font-size: 12px;
  letter-spacing: 0.08em;
  min-height: 37px;
  transition:
    background 0.25s,
    color 0.25s;
}
.header-order .icon {
  width: 14px;
  height: 14px;
}
.menu-button,
.mobile-nav {
  display: none;
}
.hero {
  isolation: isolate;
  position: relative;
  color: var(--cream);
  overflow: hidden;
  background: #260e11;
  height: clamp(675px, 84svh, 930px);
  min-height: 0;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}
.hero-art,
.hero-shade,
.hero-photo,
.atmosphere {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-art {
  z-index: -4;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.023);
  transition: transform 0.72s var(--ease);
}
.hero-photo {
  object-fit: cover;
  object-position: 50% 37%;
  opacity: 0;
  transition: opacity 0.72s ease;
  max-width: none;
}
.hero-photo.is-active {
  opacity: 1;
}
.hero-shade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(17, 4, 6, 0.71) 0%, rgba(23, 5, 7, 0.34) 34%, transparent 61%),
    linear-gradient(0deg, rgba(24, 7, 10, 0.82), rgba(19, 6, 7, 0.22) 15%, transparent 37%),
    linear-gradient(180deg, rgba(22, 8, 8, 0.15), transparent 24%);
}
.atmosphere {
  z-index: -2;
  opacity: 0.58;
}
.hero-body {
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  padding: 89px var(--pad) 80px;
  pointer-events: none;
}
.hero-copy {
  pointer-events: auto;
  max-width: 49%;
  padding-top: 4px;
}
.issue,
.eyebrow,
.minor-label,
.card-no,
.sample-caption,
.draft-top,
.draft-bottom small,
.mobile-gallery-controls > span {
  font: 600 10px/1.3 var(--latin);
  letter-spacing: 0.21em;
}
.issue,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
.issue {
  color: #eddfca;
  letter-spacing: 0.23em;
}
.issue-line,
.eyebrow > span {
  display: inline-block;
  flex: none;
  width: 32px;
  height: 1px;
  background: currentColor;
}
.issue-slash {
  font-weight: 400;
  color: #b89d8c;
  margin: 0 1px;
}
h1 {
  font: 500 clamp(93px, 8.7vw, 160px) / 0.77 var(--serif);
  letter-spacing: -0.055em;
  margin: clamp(29px, 3.7vh, 47px) 0 26px;
  white-space: nowrap;
}
h1 span,
h1 em {
  display: block;
}
h1 em {
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.062em;
  margin-left: 0.065em;
}
.look-cn {
  font: 500 clamp(19px, 1.6vw, 30px) / 1.5 var(--cn);
  letter-spacing: 0.13em;
}
.look-cn span {
  margin: 0 2px;
  color: #d8bfac;
}
.hero-statement {
  text-wrap: balance;
  margin-top: 9px;
  color: #e4d8ca;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.055em;
}
.hero-actions {
  gap: 29px;
  margin-top: 28px;
}
.button {
  min-height: 47px;
  justify-content: center;
  gap: 28px;
  padding: 11px 21px;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.055em;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.button .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}
.light {
  background: var(--cream);
  color: #302026;
}
.dark {
  background: #42212a;
  color: #fff4e6;
}
.text-link,
.under-link {
  gap: 9px;
  font-size: 13px;
  letter-spacing: 0.055em;
}
.text-link .icon {
  width: 14px;
  height: 14px;
}
.hotspot {
  --spot-x: 0.77;
  --spot-y: 0.54;
  position: absolute;
  z-index: 2;
  top: calc(100% * var(--spot-y));
  left: calc(100% * var(--spot-x));
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #fff9e9;
  text-shadow: 0 1px 5px #321b15;
}
.hotspot-dot {
  width: 33px;
  height: 33px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 248, 228, 0.87);
  outline: 1px solid rgba(255, 249, 235, 0.32);
  outline-offset: 4px;
  background: rgba(45, 24, 22, 0.34);
  transition:
    transform 0.3s,
    background 0.3s;
}
.hotspot-dot .icon {
  width: 14px;
  height: 14px;
}
.hotspot-line {
  width: 26px;
  height: 1px;
  background: rgba(255, 244, 220, 0.75);
  box-shadow: 0 1px 2px #6f55444f;
}
.hotspot-label {
  background: var(--ft-photo-label);
  padding: 4px 8px;
  font-size: 10px;
  letter-spacing: 0.13em;
}
.hero-rail {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 0;
  height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid rgba(248, 231, 210, 0.31);
}
.look-indicator {
  gap: 14px;
}
.minor-label {
  font-size: 9px;
}
.folio {
  font: 500 30px/0.9 var(--serif);
}
.folio-line {
  width: 42px;
  height: 1px;
  background: rgba(251, 239, 216, 0.62);
}
.folio-total {
  font: 16px/1 var(--serif);
  opacity: 0.8;
}
.drag-hint {
  font-size: 10px;
  letter-spacing: 0.16em;
  gap: 9px;
  color: #e5d9cb;
}
.drag-hint .icon {
  width: 25px;
  height: 20px;
}
.hero-arrows {
  justify-self: end;
  gap: 9px;
}
.round,
.card-open,
.dialog-close {
  display: inline-grid;
  place-content: center;
  width: 39px;
  height: 39px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}
.round {
  border-color: rgba(255, 245, 222, 0.49);
}
.section {
  padding: clamp(52px, 6.2vw, 100px) var(--pad);
  scroll-margin-top: 0;
}
.paper,
.closing {
  background: var(--paper);
}
.collection {
  padding-top: clamp(45px, 4.3vw, 74px);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.eyebrow {
  color: var(--wine);
  font-size: 10px;
}
.eyebrow > span {
  width: 25px;
}
.section h2,
.dialog h2 {
  font: 500 clamp(34px, 3.35vw, 71px) / 1.23 var(--cn);
  letter-spacing: 0.025em;
}
.section-head h2,
.fabric h2,
.closing h2 {
  margin-top: 13px;
}
.cn-italic {
  font-style: normal;
}
.section-aside {
  text-align: right;
  color: var(--muted);
  padding-bottom: 2px;
}
.edition,
.piece-english {
  font: italic 400 31px/1.15 var(--serif);
  letter-spacing: -0.028em;
}
.section-aside p,
.fabric-sub {
  font-size: 13px;
  line-height: 1.85;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2.2vw, 40px);
  align-items: start;
}
.look-card {
  display: block;
  width: 100%;
  text-align: left;
}
.card-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #dfd7ca;
  aspect-ratio: 4/4.7;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.card-no {
  position: absolute;
  left: 17px;
  top: 17px;
  color: #fff8e7;
  font-size: 9px;
  background: var(--ft-photo-label);
  padding: 3px 6px;
  border-radius: 4px;
}
.card-open {
  position: absolute;
  right: 15px;
  bottom: 15px;
  border-color: #f2e8d6a6;
  background: var(--ft-photo-label);
  color: var(--cream);
  width: 34px;
  height: 34px;
}
.card-open .icon {
  width: 14px;
}
.card-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 9px;
  padding: 17px 0 15px;
  border-bottom: 1px solid var(--hair);
}
.card-info strong {
  display: block;
  font: 500 clamp(20px, 1.7vw, 31px) / 1.35 var(--cn);
  letter-spacing: 0.04em;
}
.card-info em {
  display: block;
  color: var(--muted);
  font: italic 400 21px/1.15 var(--serif);
  margin-top: 4px;
}
.card-info small {
  font-size: 11px;
  color: #695f58;
}
.mobile-gallery-controls {
  display: none;
}
.fabric {
  background: #212320;
  color: #f2ecdf;
  display: grid;
  grid-template-columns: minmax(225px, 0.72fr) minmax(0, 1.55fr);
  gap: clamp(35px, 7vw, 140px);
  align-items: center;
}
.fabric .eyebrow {
  color: #d8c5a2;
}
.fabric-sub {
  margin: 11px 0 28px;
  color: #c5c0b4;
}
.material-list {
  border-top: 1px solid #f1e5d32e;
}
.material-list button {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border-bottom: 1px solid #f1e5d32e;
  width: 100%;
  padding: 10px 5px;
  color: #c5c2b7;
  transition: color 0.2s;
}
.material-list button[aria-pressed='true'] {
  color: #fff9e8;
}
.swatch {
  width: 30px;
  height: 32px;
  display: inline-block;
  box-shadow: inset 0 0 0 1px #ffffff28;
  flex: none;
}
.cashmere {
  background-color: #d6c5a6;
  background-image: repeating-linear-gradient(53deg, #ccbea5 0 1px, #e6d7ba 1px 2px, #d7c8b0 2px 4px);
}
.tweed {
  background-color: #555b42;
  background-image: repeating-conic-gradient(from 45deg, #424632 0 25%, #9b9873 0 50%);
  background-size: 5px 9px;
}
.faille {
  background-color: #b58087;
  background-image: repeating-linear-gradient(0deg, #ac777e 0 1px, #d09ca0 1px 2px, #b58188 2px 3px);
}
.material-list [aria-pressed='true'] .swatch {
  outline: 1px solid #ead8ac;
  outline-offset: 3px;
}
.material-list button > span:nth-child(2) {
  line-height: 1.4;
  font-size: 14px;
  letter-spacing: 0.06em;
}
.material-list small {
  display: block;
  font: italic 17px/1.1 var(--serif);
  color: #c1baaa;
  letter-spacing: 0;
}
.sample-index {
  margin-left: auto;
  font: 12px var(--latin);
  color: #a8a797;
}
.material-list [aria-pressed='true'] .sample-index:before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: #d4c39f;
  vertical-align: middle;
  margin-right: 8px;
}
.fabric .under-link {
  margin-top: 22px;
}
.specimen {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  aspect-ratio: 1.53;
  border: 1px solid #ded6bc3b;
  background: radial-gradient(ellipse at 47% 43%, #4b4840, #35352f 46%, #252722 85%);
}
.specimen:before,
.specimen:after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 2;
  width: 12px;
  height: 12px;
  border-color: #c8bda881;
  border-style: solid;
}
.specimen:before {
  top: 13px;
  left: 13px;
  border-width: 1px 0 0 1px;
}
.specimen:after {
  bottom: 13px;
  right: 13px;
  border-width: 0 1px 1px 0;
}
#cloth,
.fabric-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
#cloth {
  touch-action: none;
  cursor: grab;
}
#cloth:active {
  cursor: grabbing;
}
.fabric-fallback {
  overflow: hidden;
}
.fabric-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 50%;
}
.sample-caption,
.sample-foot {
  position: absolute;
  left: 24px;
  right: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  color: #ece7d8;
}
.sample-caption {
  top: 20px;
  font-size: 9px;
}
.sample-caption span:last-child {
  font: 12px var(--cn);
  letter-spacing: 0.12em;
}
.sample-foot {
  bottom: 18px;
  font-size: 11px;
  letter-spacing: 0.05em;
}
.sample-foot span,
.sample-foot button {
  gap: 7px;
}
.sample-foot span .icon {
  width: 22px;
}
.sample-foot button {
  pointer-events: auto;
  padding: 5px;
}
.sample-foot button .icon {
  width: 13px;
}
.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.closing h2 {
  font-size: clamp(32px, 3.1vw, 55px);
}
.closing-actions {
  gap: 26px;
}
.footer {
  padding: 25px var(--pad);
  background: #e9e3d8;
  border-top: 1px solid #d6cbbd;
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #61564d;
}
.footer-logo {
  font-size: 27px;
  color: inherit;
  letter-spacing: -0.055em;
}
.footer > a:last-child {
  margin-left: auto;
}
.dialog {
  --dialog-pad: clamp(27px, 3.3vw, 66px);
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  max-width: calc(100vw - 38px);
  max-height: 90svh;
  overflow: auto;
  overscroll-behavior: contain;
}
.dialog[open] {
  animation: open-dialog 0.3s var(--ease);
}
.dialog::backdrop {
  background: rgba(20, 10, 13, 0.76);
}
@keyframes open-dialog {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dialog-close {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  color: #46332c;
  border-color: #5d493544;
  background: #f4f0e8f2;
  width: 36px;
  height: 36px;
}
.dialog-close .icon {
  width: 15px;
}
.dialog h2 {
  font-size: clamp(30px, 2.9vw, 48px);
  margin: 10px 0 4px;
}
.piece-dialog {
  width: min(940px, 90vw);
}
.piece-layout,
.studio-layout {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: stretch;
}
.piece-visual {
  position: relative;
  min-height: 490px;
  isolation: isolate;
  background: #e2dacd;
}
.piece-image-area,
.piece-image-area > img,
.piece-image-area > .flat {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.piece-image-area > img {
  object-fit: cover;
  object-position: 50% 48%;
}
.piece-image-area.detail > img {
  object-position: var(--detail-x, 75%) var(--detail-y, 70%);
  transform: scale(1.12);
  transform-origin: var(--detail-x, 75%) var(--detail-y, 70%);
}
.view-buttons {
  display: flex;
  gap: 1px;
  position: absolute;
  z-index: 1;
  bottom: 19px;
  left: 50%;
  transform: translateX(-50%);
  background: #eee6d8ed;
  padding: 3px;
}
.view-buttons button {
  font-size: 12px;
  letter-spacing: 0.08em;
  min-height: 32px;
  padding: 5px 13px;
  color: #322923;
}
.view-buttons button[aria-pressed='true'] {
  background: #43232b;
  color: var(--cream);
}
.piece-copy {
  padding: var(--dialog-pad);
  align-self: center;
}
.piece-english {
  color: #816758;
  font-size: 29px;
}
#piece-description {
  margin: 22px 0;
  color: #60544b;
  font-size: 14px;
  line-height: 1.85;
}
.spec-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  margin: 0;
  font-size: 12px;
}
.spec-list dt,
.spec-list dd {
  padding: 8px 0;
  border-top: 1px solid var(--hair);
  margin: 0;
}
.spec-list dt {
  padding-right: 22px;
  color: var(--muted);
}
.quote {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 18px 0;
}
.quote span {
  color: var(--muted);
  font-size: 11px;
}
.quote strong {
  font: 500 29px/1 var(--serif);
}
.studio-dialog {
  width: min(960px, 93vw);
}
.studio-layout {
  grid-template-columns: 0.85fr 1fr;
}
.draft-pane {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #e7dece;
  min-width: 0;
}
.draft-top,
.draft-bottom {
  padding: 20px 23px;
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
  color: #65584e;
}
.draft-top {
  font-size: 9px;
}
.draft-bottom span {
  font: 500 19px var(--cn);
}
.draft-bottom small {
  letter-spacing: 0.1em;
  font-size: 9px;
}
.flat {
  display: grid;
  place-items: center;
  min-height: 0;
  background-color: #ede5d8;
  background-image:
    linear-gradient(#7966410a 1px, transparent 1px),
    linear-gradient(90deg, #7966410a 1px, transparent 1px);
  background-size: 19px 19px;
}
.flat > svg {
  display: block;
  width: 100%;
  max-height: 100%;
  height: auto;
  color: #45372d;
}
.draft-pane .flat {
  flex: 1;
}
.studio-form,
.library-body {
  padding: 32px var(--dialog-pad);
}
.studio-form h2,
.library-body h2 {
  margin-top: 8px;
}
.mode-switch {
  display: flex;
  margin: 17px 0 15px;
  background: #e9e2d7;
  padding: 3px;
}
.mode-switch button {
  flex: 1;
  font-size: 12px;
  min-height: 33px;
}
.mode-switch [aria-pressed='true'] {
  background: #fffaf0;
  box-shadow: 0 1px 3px #483e3020;
  color: var(--wine);
}
.form-label,
.color-field,
.measure,
.upload-label {
  font-size: 12px;
  letter-spacing: 0.045em;
}
.form-label {
  display: block;
  margin: 12px 0;
}
.form-label input,
.form-label select,
.form-label textarea,
.measure input {
  display: block;
  width: 100%;
  outline-offset: 1px;
  border: 1px solid #bfb4a5;
  border-radius: var(--field-radius, 12px);
  color: var(--ink);
  background: #faf6ef;
  padding: 7px 9px;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.5;
}
.form-label textarea {
  resize: vertical;
  min-height: 51px;
}
.color-field {
  padding: 0;
  border: 0;
  margin: 10px 0;
}
.color-field legend {
  padding: 0;
}
.color-field legend span {
  font-size: 11px;
  color: var(--muted);
  margin-left: 4px;
}
.color-options {
  gap: 10px;
  margin: 7px 0 2px;
}
.color-chip {
  padding: 4px;
  display: grid;
  place-items: center;
  min-width: 33px;
  height: 33px;
  border: 1px solid transparent;
  border-radius: 50%;
}
.color-chip span {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--chip);
  box-shadow: inset 0 0 0 1px #36291936;
}
.color-chip[aria-pressed='true'] {
  border-color: #4b352f;
}
.measure {
  border-block: 1px solid var(--hair);
  padding: 8px 0;
  margin: 13px 0;
}
.measure summary {
  cursor: pointer;
}
.measure small {
  color: var(--muted);
}
.measure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px 0 4px;
}
.measure-grid label {
  font-size: 11px;
  color: var(--muted);
}
.save-design {
  width: 100%;
}
.field-help,
.form-message {
  font-size: 11px;
  color: #73685e;
  line-height: 1.6;
  margin-top: 5px;
}
.form-message:not(:empty) {
  color: var(--wine);
  margin: 8px 0;
}
.upload-label {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed #b19b8b;
  padding: 10px;
  cursor: pointer;
  background: #f9f3e9;
}
.reference-wrap:focus-within .upload-label {
  outline: 2px solid #b86742;
}
.reference-wrap {
  position: relative;
  margin-bottom: 11px;
}
.reference-wrap input {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
#reference-thumb {
  width: 33px;
  height: 33px;
  object-fit: cover;
  margin-left: auto;
}
.library-dialog {
  width: min(680px, 91vw);
}
.library-body {
  padding-top: 40px;
  padding-bottom: 34px;
}
.library-sub {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 16px;
}
.draft-record {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--hair);
  padding: 13px 0;
}
.draft-record .flat {
  height: 66px;
}
.draft-record h3 {
  font: 500 18px/1.4 var(--cn);
  overflow-wrap: anywhere;
}
.draft-record p {
  font-size: 11px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.record-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.record-actions button {
  font-size: 12px;
  color: var(--wine);
  min-height: 36px;
}
.library-body > .under-link {
  margin-top: 14px;
}
.no-js {
  padding: 20px;
  background: var(--paper);
  text-align: center;
}
@media (hover: hover) and (pointer: fine) {
  .main-nav :is(a, button):hover:after,
  .text-link:hover:after,
  .under-link:hover:after {
    transform: scaleX(1);
  }
  .button:hover .icon,
  .header-order:hover .icon,
  .under-link:hover .icon {
    transform: translate(2px, -2px);
  }
  .header-order:hover,
  .round:not(:disabled):hover {
    background: var(--cream);
    color: var(--ink);
  }
  .round:not(:disabled):hover {
    transform: translateY(-1px);
  }
  .light:hover {
    background: #fffaf1;
  }
  .dark:hover {
    background: var(--salon-dark);
  }
  .hotspot:hover .hotspot-dot {
    transform: scale(1.12);
    background: #4c2730;
  }
  .look-card:hover .card-media img {
    transform: scale(1.034);
  }
  .look-card:hover .card-open {
    background: var(--paper);
    color: var(--ink);
  }
  .material-list button:hover {
    color: #fff9e8;
  }
  .dialog-close:hover {
    background: white;
  }
}
@media (min-width: 701px) {
  .mast {
    background: #201115;
  }
}
@media (min-width: 1650px) {
  :root {
    --mast-bar: 94px;
  }
  .hero-rail {
    height: 82px;
  }
  .hero-actions {
    margin-top: 36px;
  }
  .look-cn {
    font-size: 27px;
  }
}
@media (max-width: 950px) {
  .hero {
    height: clamp(655px, 84svh, 830px);
  }
  .hero-copy {
    max-width: 52%;
  }
  .hero-statement {
    max-width: 320px;
  }
  .main-nav {
    gap: 23px;
  }
  .fabric {
    gap: 32px;
    grid-template-columns: minmax(200px, 0.82fr) 1.4fr;
  }
  .specimen {
    aspect-ratio: 1.22;
  }
  .studio-dialog {
    width: 94vw;
  }
  .studio-form {
    padding-left: 22px;
    padding-right: 22px;
  }
  .section-aside .edition {
    font-size: 27px;
  }
}
@media (max-width: 700px) {
  :root {
    --gutter: clamp(16px, 5vw, 24px);
    --mast-bar: 60px;
  }
  .mast {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding-right: max(12px, env(safe-area-inset-right, 0px));
  }
  .brand {
    gap: 5px;
  }
  .brand-needle {
    width: 31px;
    height: 35px;
  }
  .brand-name {
    font-size: 24px;
    letter-spacing: -1.3px;
  }
  .brand-cn {
    font-size: 8px;
    letter-spacing: 0.2em;
  }
  .brand-words {
    gap: 4px;
  }
  .main-nav {
    display: none;
  }
  .mast-actions {
    gap: 8px;
  }
  .header-order {
    font-size: 11px;
    min-height: 33px;
    padding: 5px 10px;
    gap: 9px;
  }
  .header-order .icon {
    width: 12px;
  }
  .menu-button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 40px;
  }
  .mobile-nav:not([hidden]) {
    display: grid;
    position: absolute;
    left: 0;
    top: 100%;
    right: 0;
    padding: 10px var(--pad) 15px;
    background: var(--salon-dark);
    border-bottom: 1px solid #f1e5d32e;
  }
  .mobile-nav > * {
    text-align: left;
    padding: 10px 0;
  }
  .hero {
    height: clamp(662px, 90svh, 890px);
  }
  .hero-art {
    height: 76%;
    transform: none;
  }
  .hero-photo {
    object-position: 70% 30%;
  }
  .hero-shade {
    background:
      linear-gradient(
        0deg,
        #200d11 5%,
        #240f13 19%,
        rgba(32, 12, 17, 0.95) 28%,
        rgba(31, 12, 16, 0.57) 43%,
        transparent 63%
      ),
      linear-gradient(90deg, rgba(22, 6, 9, 0.45), transparent 53%);
  }
  .hero[data-look='1'] .hero-shade {
    background: linear-gradient(
      0deg,
      #151a13 5%,
      #161b14 19%,
      #161b14f0 28%,
      #171b1594 43%,
      transparent 63%
    );
  }
  .hero[data-look='2'] .hero-shade {
    background: linear-gradient(
      0deg,
      #342126 5%,
      #342126 19%,
      #342126f0 28%,
      #34212694 43%,
      transparent 63%
    );
  }
  .hero-body {
    align-items: end;
    padding: 0 var(--pad) 83px;
  }
  .hero-copy {
    padding: 0;
    max-width: 100%;
    width: 100%;
  }
  .issue {
    font-size: 8px;
    gap: 8px;
    letter-spacing: 0.2em;
  }
  .issue-line {
    width: 20px;
  }
  h1 {
    font-size: clamp(71px, 16vw, 108px);
    margin: 16px 0 10px;
    line-height: 0.76;
  }
  h1 em {
    line-height: 0.95;
    margin-left: 0.13em;
  }
  .look-cn {
    font-size: 17px;
    letter-spacing: 0.08em;
  }
  .hero-statement {
    font-size: 11px;
    line-height: 1.65;
    max-width: 100%;
    margin-top: 5px;
  }
  .hero-actions {
    margin-top: 17px;
    gap: 21px;
  }
  .button {
    min-height: 43px;
    padding: 10px 16px;
    font-size: 12px;
    gap: 19px;
  }
  .text-link {
    font-size: 12px;
  }
  .hotspot {
    left: 72%;
    top: 32%;
  }
  .hotspot-dot {
    width: 25px;
    height: 25px;
  }
  .hotspot-dot .icon {
    width: 12px;
  }
  .hotspot-line {
    width: 12px;
  }
  .hotspot-label {
    font-size: 9px;
    letter-spacing: 0;
    padding: 3px 5px;
  }
  .hero-rail {
    height: 57px;
    grid-template-columns: 1fr auto auto;
    gap: 16px;
  }
  .look-indicator {
    gap: 8px;
  }
  .folio {
    font-size: 25px;
  }
  .folio-line {
    width: 21px;
  }
  .folio-total {
    font-size: 14px;
  }
  .minor-label {
    font-size: 8px;
  }
  .drag-hint {
    font-size: 9px;
    letter-spacing: 0.02em;
    gap: 4px;
  }
  .drag-hint .icon {
    width: 20px;
  }
  .hero-arrows {
    gap: 5px;
  }
  .round {
    width: 34px;
    height: 34px;
  }
  .round .icon {
    width: 15px;
  }
  .section {
    padding-top: 46px;
    padding-bottom: 46px;
  }
  .section-head {
    margin-bottom: 22px;
  }
  .eyebrow {
    font-size: 8px;
    gap: 7px;
  }
  .eyebrow > span {
    width: 17px;
  }
  .section h2 {
    font-size: 34px;
  }
  .section-head h2,
  .fabric h2,
  .closing h2 {
    margin-top: 8px;
  }
  .section-aside .edition {
    font-size: 21px;
  }
  .section-aside p {
    font-size: 10px;
  }
  .collection-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-columns: min(88%, 27rem);
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    margin-right: calc(-1 * var(--pad));
    padding-right: var(--pad);
    gap: 13px;
  }
  .collection-grid::-webkit-scrollbar {
    display: none;
  }
  .look-card {
    scroll-snap-align: start;
  }
  .card-media {
    aspect-ratio: 4/4.7;
  }
  .card-info {
    padding: 12px 0;
  }
  .card-info strong {
    font-size: 21px;
  }
  .card-info em {
    font-size: 18px;
  }
  .mobile-gallery-controls {
    display: flex;
    gap: 3px;
  }
  .mobile-gallery-controls > span {
    margin-right: 5px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.08em;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }
  .mobile-gallery-controls .round {
    border-color: var(--hair);
  }
  .fabric {
    grid-template-columns: 1fr;
    gap: 21px;
  }
  .fabric-sub {
    margin: 7px 0 15px;
    font-size: 12px;
  }
  .material-list {
    display: flex;
    border-bottom: 1px solid #f1e5d32e;
  }
  .material-list button {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 10px 3px;
    gap: 7px;
  }
  .material-list button > span:nth-child(2) {
    font-size: 12px;
  }
  .material-list small {
    display: none;
  }
  .sample-index {
    display: none;
  }
  .swatch {
    width: 21px;
    height: 23px;
  }
  .fabric .under-link {
    margin-top: 14px;
    font-size: 12px;
  }
  .specimen {
    aspect-ratio: 1.24;
  }
  .sample-caption,
  .sample-foot {
    left: 17px;
    right: 17px;
  }
  .sample-caption {
    top: 15px;
  }
  .sample-foot {
    bottom: 10px;
    font-size: 10px;
  }
  .closing {
    display: block;
  }
  .closing-actions {
    margin-top: 21px;
    gap: 23px;
  }
  .footer {
    padding: 17px var(--pad);
    gap: 8px;
    font-size: 9px;
  }
  .footer-logo {
    font-size: 22px;
  }
  .dialog {
    max-width: calc(100vw - 18px);
    max-height: 92svh;
  }
  .piece-dialog,
  .studio-dialog {
    width: 460px;
  }
  .piece-layout,
  .studio-layout {
    display: flex;
    flex-direction: column;
  }
  .piece-visual {
    min-height: 0;
    height: clamp(245px, 40svh, 390px);
  }
  .piece-image-area > img {
    object-position: 50% 39%;
  }
  .view-buttons {
    bottom: 12px;
  }
  .piece-copy {
    padding: 23px;
    width: 100%;
  }
  .piece-copy h2 {
    margin-top: 7px;
  }
  .piece-english {
    font-size: 24px;
  }
  #piece-description {
    margin: 12px 0;
    font-size: 12px;
  }
  .spec-list dt,
  .spec-list dd {
    padding: 5px 0;
  }
  .quote {
    margin: 13px 0;
  }
  .studio-form,
  .library-body {
    padding: 23px;
  }
  .draft-pane {
    height: 167px;
    display: block;
    overflow: hidden;
  }
  .draft-top,
  .draft-bottom {
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    padding: 9px 14px;
    pointer-events: none;
  }
  .draft-top {
    top: 0;
    padding-right: 58px;
  }
  .draft-bottom {
    bottom: 0;
  }
  .draft-bottom span {
    font-size: 14px;
  }
  .draft-pane .flat {
    height: 100%;
    width: 100%;
  }
  .draft-pane .flat svg {
    height: 142px;
    width: auto;
    max-width: 100%;
  }
  .mode-switch {
    margin: 12px 0;
  }
  .dialog-close {
    top: 9px;
    right: 9px;
  }
  .library-dialog {
    width: 94vw;
  }
  .library-body {
    padding-top: 30px;
  }
  .draft-record {
    grid-template-columns: 45px 1fr;
    gap: 7px 10px;
  }
  .draft-record .flat {
    height: 54px;
  }
  .record-actions {
    grid-column: 2;
  }
  .library-body > .under-link {
    margin-top: 8px;
  }
}
@media (max-width: 355px) {
  :root {
    --gutter: 16px;
  }
  .hotspot-line,
  .hotspot-label {
    display: none;
  }
  .drag-hint {
    display: none;
  }
  .hero-rail {
    grid-template-columns: 1fr auto;
  }
  .hero {
    height: 660px;
  }
  .hero-statement {
    letter-spacing: 0;
  }
  .section-aside p {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .atmosphere {
    display: none;
  }
  .hero-art {
    transform: none;
  }
}
.mobile-gallery-controls button:disabled {
  opacity: 0.32;
  cursor: default;
}
.detail-tip {
  position: absolute;
  top: 17px;
  left: 16px;
  background: var(--ft-photo-label);
  color: #fff8e8;
  padding: 4px 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
  pointer-events: none;
}
.piece-image-area.detail {
  cursor: crosshair;
  touch-action: pan-y pinch-zoom;
}
.undo {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dialog-tools {
  position: sticky;
  top: 0;
  height: 0;
  z-index: 5;
}
.hero-rail {
  grid-template-columns: auto 1fr auto 1fr;
  column-gap: 25px;
}
.rail-budget {
  display: flex;
  align-items: baseline;
  gap: 9px;
  border-left: 1px solid #f4e7d64a;
  padding-left: 23px;
}
.rail-budget span {
  font-size: 10px;
  color: #e4d4c6;
  letter-spacing: 0.07em;
}
.rail-budget strong {
  font: 500 22px/1 var(--serif);
  white-space: nowrap;
  font-variant-numeric: lining-nums;
}
@media (max-width: 700px) {
  .mast {
    background: #211217;
  }
  .hero-art {
    top: 62px;
    height: 68%;
  }
  .hero-rail {
    grid-template-columns: auto 1fr auto;
    column-gap: 12px;
  }
  .drag-hint {
    display: none;
  }
  .rail-budget {
    padding-left: 12px;
    gap: 5px;
  }
  .rail-budget span {
    font-size: 8px;
  }
  .rail-budget strong {
    font-size: 17px;
  }
}
@media (max-width: 355px) {
  .hero-rail {
    column-gap: 7px;
  }
  .rail-budget {
    padding-left: 7px;
  }
  .rail-budget span {
    max-width: 26px;
    line-height: 1.1;
  }
}
.loupe {
  position: absolute;
  z-index: 6;
  width: clamp(138px, 12.5vw, 212px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background-repeat: no-repeat;
  border: 2px solid #e0d0a9;
  box-shadow:
    0 0 0 2px #392723,
    0 0 0 3px #e0c7979c,
    0 7px 23px #150a08a6,
    inset 0 0 11px #22140d8c;
  overflow: hidden;
}
.loupe:after {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid #ffedcba1;
  border-radius: inherit;
  background: linear-gradient(135deg, #fff8e717, transparent 36%, transparent 71%, #f8e3bf1f);
}
.loupe span {
  position: absolute;
  z-index: 1;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #302422ca;
  color: #fff1d6;
  padding: 2px 7px;
  font: 9px var(--latin);
  letter-spacing: 0.1em;
}
.hero.inspecting {
  cursor: none;
}
.swatch-shadow {
  position: absolute;
  pointer-events: none;
  bottom: 11%;
  left: 23%;
  width: 49%;
  height: 8%;
  transform: rotate(-6deg);
  background: radial-gradient(ellipse, #16171073, transparent 66%);
  filter: blur(7px);
}
.reference-pick {
  color: var(--wine);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 5px 0;
}
#pick-panel {
  margin: 4px 0 8px;
}
#pick-panel label {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 4px;
}
.pick-photo {
  position: relative;
  display: table;
  max-width: 100%;
}
#sample-photo {
  display: block;
  cursor: crosshair;
  max-width: 100%;
  max-height: 140px;
  width: auto;
  height: auto;
}
#pick-mark {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #332a26;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@media (min-width: 701px) and (max-width: 950px) {
  .hero-rail {
    grid-template-columns: auto auto 1fr auto;
    column-gap: 14px;
  }
  .rail-budget {
    padding-left: 14px;
  }
  .rail-budget span {
    white-space: nowrap;
  }
  .drag-hint {
    justify-self: center;
  }
}
