:root {
  --ink: #0b0d0f;
  --ink-soft: #101317;
  --panel: #151719;
  --panel-lit: #1b1d20;
  --copper: #b87333;
  --copper-lit: #dda36d;
  --ivory: #f4eee2;
  --parchment: #cdbda9;
  --muted: rgba(205, 189, 169, .56);
  --line: rgba(221, 163, 109, .18);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { background: var(--ink); color-scheme: dark; }
body {
  min-width: 320px;
  background:
    radial-gradient(circle at 10% 7%, rgba(184, 115, 51, .09), transparent 28rem),
    linear-gradient(145deg, #0b0d0f 0%, #0d0e10 58%, #090a0c 100%);
  color: var(--parchment);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button { border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 50;
  padding: .75rem 1rem;
  background: var(--copper);
  color: var(--ink);
}
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--copper-lit); outline-offset: 3px; border-radius: 4px; }

.design-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 88px;
  padding: 1.1rem clamp(1.25rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(221, 163, 109, .14);
  background: rgba(11, 13, 15, .86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.design-brand img { width: auto; height: 40px; }
.back-link,
.design-progress {
  color: rgba(205, 189, 169, .68);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.back-link { transition: color .25s ease, transform .25s var(--ease); }
.back-link:hover { color: var(--ivory); transform: translateX(-3px); }
.back-link span { margin-right: .45rem; color: var(--copper); font-size: 1rem; }
.design-progress { justify-self: end; color: rgba(205, 189, 169, .42); }
.design-progress span { color: var(--copper); }
.design-progress i { margin-left: .65rem; color: rgba(205, 189, 169, .72); font-style: normal; }

.designer {
  width: min(1500px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(2.8rem, 4.5vw, 4.5rem) 0 5rem;
}
.designer-heading { max-width: 900px; }
.eyebrow {
  margin-bottom: 1rem;
  color: var(--copper-lit);
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.designer-heading h1 {
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: .95;
}
.designer-heading h1 em { color: var(--copper-lit); font-style: italic; }
.designer-lede {
  max-width: 44rem;
  margin-top: 1.8rem;
  color: rgba(205, 189, 169, .76);
  font-size: clamp(.95rem, 1.3vw, 1.05rem);
  line-height: 1.85;
}

.designer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(390px, .68fr);
  align-items: start;
  gap: clamp(1.25rem, 3vw, 3.5rem);
  margin-top: clamp(2.75rem, 4.5vw, 4.5rem);
}
.preview-card,
.controls-card {
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: linear-gradient(155deg, rgba(25, 27, 30, .96), rgba(17, 19, 21, .94));
  box-shadow: 0 36px 100px -58px rgba(0, 0, 0, .98);
}
.preview-card { position: sticky; top: 1.5rem; overflow: hidden; }
.headless-capture .preview-card { position: relative; top: auto; }
.preview-card-head,
.preview-card-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.7rem clamp(1.2rem, 3vw, 2.3rem);
}
.preview-card-head { border-bottom: 1px solid rgba(221, 163, 109, .11); }
.preview-card-head .eyebrow,
.controls-head .eyebrow { margin-bottom: .4rem; }
.preview-card h2,
.controls-head h2 {
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  font-weight: 400;
  line-height: 1;
}
.preview-model {
  padding-top: .25rem;
  color: var(--copper-lit);
  font-size: .59rem;
  font-weight: 500;
  letter-spacing: .22em;
  line-height: 1.7;
  text-align: right;
  text-transform: uppercase;
}

.preview-stage {
  position: relative;
  min-height: clamp(290px, 35vw, 525px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(119, 136, 157, .14), transparent 45%),
    radial-gradient(ellipse at 50% 88%, rgba(221, 163, 109, .08), transparent 43%),
    linear-gradient(180deg, #11151a 0%, #0c0f13 100%);
}
.preview-stage::before {
  position: absolute;
  right: 7%;
  bottom: 13%;
  left: 7%;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .13), transparent);
  content: '';
}
.stage-glow {
  position: absolute;
  top: 13%;
  left: 50%;
  width: 78%;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(107, 134, 164, .1), transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}
.iem-showroom {
  position: absolute;
  inset: 1.4rem .35rem 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 0;
}
.iem-object {
  position: relative;
  display: grid;
  align-content: end;
  min-width: 0;
  padding: 0;
  background: transparent;
  color: var(--parchment);
  opacity: .84;
  transform: translateY(0) scale(.985);
  transform-origin: 50% 92%;
  transition:
    transform .5s var(--ease),
    opacity .4s ease,
    filter .4s ease;
}
.iem-object:hover { opacity: 1; transform: translateY(-5px) scale(1); }
.iem-visual {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 680 / 640;
}
.iem-visual canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 24px 23px rgba(0, 0, 0, .27));
  transition: filter .4s ease;
}
.preview-stage[data-active-side="pair"] .iem-object {
  opacity: 1;
  transform: translateY(-5px) scale(1);
}
.preview-stage[data-active-side="left"] .iem-object[data-preview-side="left"],
.preview-stage[data-active-side="right"] .iem-object[data-preview-side="right"] {
  z-index: 2;
  opacity: 1;
  transform: translateY(-15px) scale(1.015);
}
.preview-stage[data-active-side="left"] .iem-object[data-preview-side="left"] canvas,
.preview-stage[data-active-side="right"] .iem-object[data-preview-side="right"] canvas {
  filter: drop-shadow(0 30px 27px rgba(0, 0, 0, .38));
}
.iem-caption {
  position: absolute;
  right: 12%;
  bottom: .05rem;
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  opacity: .62;
  font-size: .55rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: opacity .3s ease;
}
.iem-object:first-child .iem-caption { right: auto; left: 12%; }
.iem-caption b {
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border: 1px solid rgba(221, 163, 109, .35);
  border-radius: 50%;
  color: var(--copper-lit);
  font-size: .58rem;
}
.iem-object.is-selected .iem-caption { opacity: 1; }
.preview-loading {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  background: rgba(12, 15, 19, .92);
  color: rgba(205, 189, 169, .62);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  transition: opacity .35s ease, visibility .35s ease;
}
.preview-stage.is-ready .preview-loading { visibility: hidden; opacity: 0; }
.preview-loading span {
  width: .55rem;
  height: .55rem;
  border: 1px solid rgba(221, 163, 109, .35);
  border-top-color: var(--copper-lit);
  border-radius: 50%;
  animation: loading-spin .75s linear infinite;
}
.preview-loading.is-error span { border: 0; background: #9c3845; animation: none; }
@keyframes loading-spin { to { transform: rotate(360deg); } }
.preview-lock {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .38rem .65rem;
  border: 1px solid rgba(221, 163, 109, .18);
  border-radius: 999px;
  background: rgba(10, 12, 15, .62);
  color: rgba(205, 189, 169, .64);
  font-size: .52rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.lock-dot {
  width: .36rem;
  height: .36rem;
  border-radius: 50%;
  background: var(--copper-lit);
  box-shadow: 0 0 0 .2rem rgba(221, 163, 109, .12);
}
.preview-card-foot {
  align-items: end;
  border-top: 1px solid rgba(221, 163, 109, .11);
}
.mini-label {
  color: rgba(205, 189, 169, .44);
  font-size: .57rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.build-line {
  margin-top: .45rem;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.build-line span { color: var(--copper-lit); }
#activeSideLabel { color: var(--copper-lit); text-align: right; }
.reference-note {
  padding: 0 clamp(1.2rem, 3vw, 2.3rem) 1.5rem;
  color: rgba(205, 189, 169, .48);
  font-size: .68rem;
  line-height: 1.65;
}

.controls-card { padding: clamp(1.2rem, 3vw, 2rem); }
.controls-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.model-picker { display: grid; gap: .45rem; min-width: 11rem; }
.model-picker span {
  color: rgba(205, 189, 169, .48);
  font-size: .56rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.model-picker select {
  max-width: 100%;
  padding: .65rem .72rem;
  border: 1px solid rgba(221, 163, 109, .28);
  border-radius: .45rem;
  outline: none;
  background: var(--ink-soft);
  color: var(--parchment);
  font-size: .7rem;
  cursor: pointer;
}
.model-picker select:focus { border-color: var(--copper-lit); }

.side-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .3rem;
  margin-top: 1.65rem;
  padding: .28rem;
  border: 1px solid rgba(221, 163, 109, .14);
  border-radius: .6rem;
  background: rgba(7, 9, 11, .4);
}
.side-button {
  padding: .65rem .35rem;
  border-radius: .38rem;
  background: transparent;
  color: rgba(205, 189, 169, .54);
  font-size: .68rem;
  transition: background .25s ease, color .25s ease;
}
.side-button:hover { color: var(--ivory); }
.side-button.is-active {
  background: rgba(184, 115, 51, .18);
  color: var(--ivory);
  box-shadow: inset 0 0 0 1px rgba(221, 163, 109, .25);
}
.side-helper {
  min-height: 1.3rem;
  margin-top: .6rem;
  color: rgba(205, 189, 169, .46);
  font-size: .65rem;
  line-height: 1.5;
}

.control-section {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(221, 163, 109, .13);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
}
.section-heading h3 {
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
}
.section-heading p {
  margin-top: .3rem;
  color: rgba(205, 189, 169, .48);
  font-size: .58rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.selected-value { color: var(--copper-lit); font-family: var(--font-display); font-size: 1.05rem; }
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(32px, 1fr));
  gap: .65rem;
}
.swatch {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(244, 238, 226, .12);
  border-radius: 50%;
  background: transparent;
  transition: transform .25s var(--ease), border-color .25s ease;
}
.swatch span {
  width: 76%;
  height: 76%;
  border-radius: inherit;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .38), transparent 42%),
    var(--swatch);
  box-shadow: inset 0 -5px 8px rgba(0, 0, 0, .28);
}
.swatch:hover { border-color: rgba(221, 163, 109, .55); transform: translateY(-2px); }
.swatch.is-selected {
  border-color: var(--copper-lit);
  box-shadow: 0 0 0 3px rgba(221, 163, 109, .1);
  transform: translateY(-2px);
}
.swatch.is-selected::after {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--panel);
  border-radius: 50%;
  background: var(--copper-lit);
  content: '';
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}
.material-button {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  align-items: center;
  gap: .65rem;
  min-width: 0;
  padding: .45rem;
  border: 1px solid rgba(221, 163, 109, .14);
  border-radius: .6rem;
  background: rgba(7, 9, 11, .3);
  color: var(--parchment);
  text-align: left;
  transition: border-color .25s ease, background .25s ease, transform .25s var(--ease);
}
.material-button:hover { border-color: rgba(221, 163, 109, .5); transform: translateY(-2px); }
.material-button.is-selected {
  border-color: var(--copper-lit);
  background: rgba(184, 115, 51, .1);
}
.material-swatch {
  display: block;
  aspect-ratio: 1;
  border-radius: .38rem;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .08)), var(--material-image);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
}
.material-swatch--clear {
  background:
    linear-gradient(38deg, transparent 42%, rgba(196, 219, 228, .72) 43% 45%, transparent 46%),
    linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(181, 207, 218, .22) 43%, rgba(255, 255, 255, .72));
  box-shadow:
    inset 0 0 0 1px rgba(220, 241, 247, .64),
    inset 0 0 1rem rgba(255, 255, 255, .28);
}
.material-swatch--pearl {
  background:
    radial-gradient(circle at 24% 24%, rgba(255, 255, 255, .82), transparent 28%),
    linear-gradient(135deg, #eee7de 0%, #c9e4eb 24%, #ead4e6 47%, #cfe8df 69%, #f5e8cf 100%);
}
.material-swatch--glitter {
  background-color: #151824;
  background-image:
    radial-gradient(circle at 17% 24%, #f5dfb8 0 1px, transparent 1.8px),
    radial-gradient(circle at 74% 19%, #b9e8f2 0 1.4px, transparent 2.1px),
    radial-gradient(circle at 51% 66%, #dec4f4 0 1.2px, transparent 2px),
    radial-gradient(circle at 83% 79%, #fff 0 .8px, transparent 1.6px),
    radial-gradient(circle at 28% 85%, #df9f61 0 1.1px, transparent 1.9px),
    linear-gradient(145deg, #25202d, #090f17);
  background-size: 19px 21px, 27px 24px, 31px 29px, 23px 32px, 35px 30px, cover;
}
.material-swatch--copper {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, rgba(46,17,10,.06) 1px 2px),
    linear-gradient(90deg, #642d1b, #d78a58 23%, #8d4125 45%, #e1a06e 67%, #6f311d);
}
.material-button > span:last-child {
  display: block;
  min-width: 0;
  font-size: .72rem;
  line-height: 1.35;
}
.material-button small {
  display: block;
  margin-top: .15rem;
  color: rgba(205, 189, 169, .42);
  font-size: .52rem;
}
.material-button small [data-material-price] { color: rgba(221, 163, 109, .78); }

.engraving-toggle {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(205, 189, 169, .76);
  font-size: .72rem;
  cursor: pointer;
}
.engraving-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-ui {
  position: relative;
  flex: 0 0 auto;
  width: 2.1rem;
  height: 1.15rem;
  border-radius: 999px;
  background: rgba(205, 189, 169, .2);
  transition: background .25s ease;
}
.toggle-ui::after {
  position: absolute;
  top: .15rem;
  left: .15rem;
  width: .85rem;
  height: .85rem;
  border-radius: 50%;
  background: var(--parchment);
  content: '';
  transition: transform .25s var(--ease), background .25s ease;
}
.engraving-toggle input:checked + .toggle-ui { background: var(--copper); }
.engraving-toggle input:checked + .toggle-ui::after { background: var(--ivory); transform: translateX(.95rem); }
.engraving-input-wrap { position: relative; margin-top: .8rem; }
.engraving-input-wrap input {
  width: 100%;
  padding: .8rem .8rem 1.6rem;
  border: 1px solid rgba(221, 163, 109, .17);
  border-radius: .45rem;
  outline: none;
  background: rgba(7, 9, 11, .38);
  color: var(--ivory);
  font-size: .8rem;
}
.engraving-input-wrap input::placeholder { color: rgba(205, 189, 169, .32); }
.engraving-input-wrap input:focus { border-color: var(--copper-lit); }
.engraving-input-wrap input:disabled { cursor: not-allowed; opacity: .42; }
.character-count {
  position: absolute;
  right: .7rem;
  bottom: .5rem;
  color: rgba(205, 189, 169, .36);
  font-size: .55rem;
}
.field-note { margin-top: .5rem; color: rgba(205, 189, 169, .4); font-size: .62rem; }
.field-note span { color: rgba(221, 163, 109, .68); }

.cable-grid {
  display: grid;
  gap: .55rem;
}
.cable-button {
  display: grid;
  grid-template-columns: 2.65rem minmax(0, 1fr);
  align-items: center;
  gap: .7rem;
  width: 100%;
  padding: .58rem;
  border: 1px solid rgba(221, 163, 109, .14);
  border-radius: .6rem;
  background: rgba(7, 9, 11, .3);
  color: var(--parchment);
  text-align: left;
  transition: border-color .25s ease, background .25s ease, transform .25s var(--ease);
}
.cable-button:hover { border-color: rgba(221, 163, 109, .5); transform: translateY(-2px); }
.cable-button.is-selected {
  border-color: var(--copper-lit);
  background: rgba(184, 115, 51, .1);
}
.cable-termination {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid rgba(221, 163, 109, .24);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(184,115,51,.08));
  color: var(--copper-lit);
  font-family: var(--font-display);
  font-size: .88rem;
}
.cable-button > span:last-child {
  display: block;
  min-width: 0;
  font-size: .72rem;
  line-height: 1.35;
}
.cable-button small {
  display: block;
  margin-top: .16rem;
  color: rgba(205, 189, 169, .42);
  font-size: .52rem;
}
.cable-button small [data-cable-price] { color: rgba(221, 163, 109, .78); }

.copy-design {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  margin-top: 1.6rem;
  padding: .75rem 0;
  border-top: 1px solid rgba(221, 163, 109, .13);
  border-bottom: 1px solid rgba(221, 163, 109, .13);
  background: transparent;
  color: var(--copper-lit);
  font-size: .65rem;
  letter-spacing: .12em;
  text-align: left;
  text-transform: uppercase;
}
.copy-design:hover { color: var(--ivory); }
.copy-design:disabled { cursor: not-allowed; opacity: .3; }
.copy-design span { font-size: 1rem; }

.pricing-panel {
  margin-top: 1.6rem;
  padding: 1.05rem;
  border: 1px solid rgba(221, 163, 109, .16);
  border-radius: .75rem;
  background:
    linear-gradient(145deg, rgba(184, 115, 51, .065), transparent 42%),
    rgba(7, 9, 11, .32);
}
.pricing-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}
.pricing-heading .mini-label { margin-bottom: .28rem; }
.pricing-heading h3 {
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 400;
  line-height: 1;
}
.range-badge {
  flex: 0 0 auto;
  padding: .33rem .55rem;
  border: 1px solid rgba(221, 163, 109, .27);
  border-radius: 999px;
  color: rgba(221, 163, 109, .84);
  font-size: .48rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.range-badge.is-inclusive {
  border-color: rgba(164, 209, 190, .32);
  color: #add5c4;
  background: rgba(79, 137, 112, .09);
}
.pricing-policy {
  margin-top: .8rem;
  padding-bottom: .78rem;
  border-bottom: 1px solid rgba(221, 163, 109, .1);
  color: rgba(205, 189, 169, .55);
  font-size: .61rem;
  line-height: 1.6;
}
.price-breakdown { display: grid; }
.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(221, 163, 109, .075);
}
.price-row:last-child { border-bottom: 0; padding-bottom: 0; }
.price-row dt,
.price-row dd { font-size: .66rem; font-weight: 400; }
.price-row dt { color: rgba(244, 238, 226, .8); }
.price-row dt small {
  display: block;
  margin-top: .08rem;
  color: rgba(205, 189, 169, .38);
  font-size: .51rem;
  font-weight: 300;
  line-height: 1.45;
}
.price-row dd {
  color: var(--copper-lit);
  white-space: nowrap;
}
.price-row dd.is-included { color: #9bcab5; }

.commission-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.6rem;
}
.total-price {
  margin-top: .2rem;
  color: var(--copper-lit);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}
.commission-note { margin-top: .35rem; color: rgba(205, 189, 169, .4); font-size: .59rem; }
.commission-button {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #e3ad78, var(--copper));
  color: #15100b;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .07em;
  white-space: nowrap;
  transition: transform .25s var(--ease), filter .25s ease;
}
.commission-button:hover { filter: brightness(1.08); transform: translateY(-2px); }
.commission-button span { font-size: 1rem; }
.commission-button:disabled { cursor: wait; filter: grayscale(.4) brightness(.8); transform: none; }

.material-subhead { margin: 1.05rem 0 .55rem; color: rgba(221, 163, 109, .62); }
.material-subhead:first-of-type { margin-top: 0; }

.finish-section { margin-top: 1.6rem; }
.scan-drop {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  align-items: center;
  gap: .7rem;
  padding: .85rem;
  border: 1px dashed rgba(221, 163, 109, .35);
  border-radius: .6rem;
  background: rgba(7, 9, 11, .3);
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease;
}
.scan-drop:hover { border-color: var(--copper-lit); background: rgba(184, 115, 51, .08); }
.scan-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.scan-drop:focus-within { border-color: var(--copper-lit); }
.scan-drop-icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(221, 163, 109, .24);
  border-radius: 50%;
  color: var(--copper-lit);
  font-size: 1rem;
}
.scan-drop-text {
  min-width: 0;
  overflow: hidden;
  color: var(--parchment);
  font-size: .72rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.scan-drop-text small {
  display: block;
  margin-top: .15rem;
  color: rgba(205, 189, 169, .42);
  font-size: .52rem;
}
.order-email { display: block; margin-top: .8rem; }
.order-email > span {
  display: block;
  margin-bottom: .35rem;
  color: rgba(205, 189, 169, .48);
  font-size: .55rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.order-email input {
  width: 100%;
  padding: .8rem;
  border: 1px solid rgba(221, 163, 109, .17);
  border-radius: .45rem;
  outline: none;
  background: rgba(7, 9, 11, .38);
  color: var(--ivory);
  font-size: .8rem;
}
.order-email input::placeholder { color: rgba(205, 189, 169, .32); }
.order-email input:focus { border-color: var(--copper-lit); }
.order-status {
  margin-top: .85rem;
  color: rgba(205, 189, 169, .62);
  font-size: .64rem;
  line-height: 1.55;
}
.order-status:empty { display: none; }
.order-status.is-success { color: #9bcab5; }
.order-status.is-error { color: #d99a8a; }

@media (max-width: 1050px) {
  .designer-grid { grid-template-columns: 1fr; }
  .preview-card { position: relative; top: auto; }
  .controls-card { max-width: 780px; }
  .preview-stage { min-height: clamp(340px, 58vw, 560px); }
}

@media (max-width: 600px) {
  .design-topbar { min-height: 72px; }
  .design-brand img { height: 32px; }
  .design-progress i { display: none; }
  .back-link,
  .design-progress { font-size: .58rem; letter-spacing: .1em; }
  .designer { width: min(100% - 1.25rem, 1500px); padding-top: 3rem; }
  .designer-heading h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .designer-grid { margin-top: 3.25rem; }
  .preview-card-head,
  .preview-card-foot { padding: 1.25rem; }
  .preview-stage { min-height: 280px; }
  .iem-showroom { inset: 1.25rem -.35rem .7rem; }
  .preview-stage[data-active-side="left"] .iem-object[data-preview-side="left"],
  .preview-stage[data-active-side="right"] .iem-object[data-preview-side="right"] {
    transform: translateY(-10px) scale(1.02);
  }
  .iem-caption span { display: none; }
  .preview-lock { top: .6rem; left: .6rem; right: auto; bottom: auto; font-size: .45rem; letter-spacing: .1em; }
  .reference-note { padding-inline: 1.25rem; }
  .controls-head { display: grid; }
  .model-picker,
  .model-picker select { width: 100%; }
  .swatch-grid { gap: .42rem; }
  .material-grid { grid-template-columns: 1fr; }
  .commission-bar { align-items: stretch; flex-direction: column; }
  .commission-button { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}
