:root {
  --navy: #102033;
  --ink: #1c2430;
  --cream: #f7f3ea;
  --card: #fffdf8;
  --gold: #b8893d;
  --gold-deep: #8c6424;
  --line: #e4dccb;
  --muted: #5c6570;
  --bad: #8d2b2b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
#design, #quote, #offer { scroll-margin-top: 200px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 18px/1.5 Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); }
button, input, textarea, select { font: 17px/1.4 system-ui, sans-serif; }
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: #0c1218;
  position: sticky;
  top: 0;
  z-index: 5;
}
.logo { width: min(280px, 58vw); height: auto; background: #0c1218; }
.call {
  color: #1a1408;
  background: var(--gold);
  text-decoration: none;
  border: 2px solid var(--gold);
  border-radius: 999px;
  padding: 14px 22px;
  font-family: system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: .01em;
}
.call:hover { background: var(--gold); color: #102033; }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 64px; }
.kicker {
  font-family: system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--gold-deep);
  margin: 0 0 8px;
}
h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; margin: 0 0 12px; font-weight: 500; }
h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; margin: 0 0 10px; font-weight: 500; }
h3 { margin: 0 0 8px; font-size: 22px; }
.lede { font-size: 21px; max-width: 42rem; }
.hero-photo { border-radius: 18px; margin: 18px 0; }
.caption, figcaption.caption { color: var(--muted); font-family: system-ui, sans-serif; font-size: 14px; margin: 18px 0 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 8px; }
.btn, button.btn {
  display: inline-block;
  background: var(--navy);
  color: #f7f3ea;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
}
.btn.gold, .call-cta { background: var(--gold); color: #1a1408; }
.call-cta { font-size: 22px; font-weight: 700; padding: 16px 22px; }
.panel, .card, form.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  margin: 22px 0;
}
.offer strong { color: var(--gold-deep); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
label { display: block; margin: 12px 0 4px; font-family: system-ui, sans-serif; font-size: 14px; }
input, textarea, select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.check { display: flex; gap: 10px; align-items: flex-start; font-family: system-ui, sans-serif; font-size: 15px; margin-top: 12px; }
.check input { width: auto; margin-top: 3px; }
.note, .minor { color: var(--muted); font-family: system-ui, sans-serif; font-size: 15px; }
.err { color: var(--bad); font-family: system-ui, sans-serif; }
.hidden { display: none; }
.range { font-size: 32px; color: var(--gold-deep); margin: 8px 0; }
details { border-top: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-size: 20px; }
footer.site {
  background: var(--navy);
  color: #f7f3ea;
  padding: 28px 20px 40px;
}
footer.site a { color: #f2d7a2; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
button.slot {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}
.stage { background: #182430; border-radius: 18px; overflow: hidden; color: #f7f3ea; }
.stagebar, .toolbar { padding: 12px 14px; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.toolbar { flex-wrap: wrap; border-top: 1px solid #314152; }
.canvaswrap { position: relative; background: #121a22; }
.canvaswrap canvas { width: 100%; height: auto; display: block; touch-action: none; cursor: crosshair; }
.hint {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(8, 12, 16, .82); color: #f7f3ea;
  border-radius: 8px; padding: 8px 10px; font-family: system-ui, sans-serif; font-size: 13px;
}
.tool, .upload {
  border: 1px solid #526272; background: #243140; color: #f7f3ea;
  border-radius: 9px; padding: 8px 12px; cursor: pointer;
  font-family: system-ui, sans-serif; font-size: 14px;
}
.tool.active, .tool.primary { background: var(--gold); color: #1a1408; border-color: var(--gold); }
.upload input { display: none; }
.viz-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.studio-fit { display: contents; }
.estimate-card { grid-column: 1; margin: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 12px; cursor: pointer; }
.choice button.active { background: var(--navy); color: #f7f3ea; }
.stage .choice { padding: 0 14px 14px; }
.stage .choice button { background: #243140; color: #f7f3ea; border-color: #526272; }
.stage .choice button.active { background: var(--gold); color: #1a1408; }
.offer-banner {
  background: var(--navy);
  color: #f7f3ea;
  border: 2px solid var(--gold);
  border-radius: 22px;
  padding: 28px 22px 22px;
  margin: 22px 0;
  text-align: center;
}
.offer-kicker {
  margin: 0;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #e2c48a;
  font-family: system-ui, sans-serif;
  font-size: 13px;
}
.offer-off {
  margin: 6px 0 0;
  font-size: clamp(64px, 12vw, 104px);
  line-height: .88;
  font-weight: 700;
  color: #f2d7a2;
}
.offer-name { margin: 8px 0 0; font-size: clamp(22px, 3vw, 34px); }
.offer-plus {
  margin: 12px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  color: #f2d7a2;
  letter-spacing: .03em;
}
.offer-fine {
  margin: 14px 0 0;
  font-family: system-ui, sans-serif;
  font-size: 17px;
  color: #e7dcc8;
}
.phone {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 280px;
  justify-self: center;
  background: #102033;
  color: #f7f3ea;
  border: 3px solid #c4a265;
  border-radius: 36px;
  padding: 16px 14px 18px;
}
.phone-toggle { display: none; }
.phone-title { margin: 2px 0 0; text-align: center; font-size: 28px; }
.phone-label {
  margin: 0 0 10px;
  text-align: center;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-family: system-ui, sans-serif;
  font-size: 11px;
  color: #e2c48a;
}
.phone-fine { margin: 8px 0 0; font-family: system-ui, sans-serif; font-size: 12px; color: #c9d0d6; }
.swatch-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.big-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #f7f3ea;
  border: 1px solid #3d5164;
  border-radius: 14px;
  padding: 8px 6px 10px;
  cursor: pointer;
  font-family: system-ui, sans-serif;
  font-size: 15px;
}
.swatch-chip { width: 100%; height: 52px; border-radius: 10px; border: 2px solid #fff; display: block; }
.phone .choice button { background: #1c2c3a; color: #f7f3ea; border-color: #3d5164; }
.phone .choice button.active { background: #c4a265; color: #1a1408; border-color: #c4a265; }
.phone label { color: #f7f3ea; }
.phone input[type="range"] { accent-color: #c4a265; }
.picker { text-align: center; }
.picker canvas { width: 100%; height: auto; touch-action: none; border-radius: 12px; margin: 6px 0; cursor: crosshair; }
@media (max-width: 800px) {
  .grid, .grid-3, .viz-grid { grid-template-columns: 1fr; }
  .bar { flex-wrap: wrap; align-items: center; padding: 10px 12px; }
  .logo { width: 148px; }
  .call {
    width: 100%;
    text-align: center;
    font-size: 20px;
    padding: 14px 12px;
    margin: 8px 0 0;
  }
  .viz-grid { display: block; }
  .studio-fit {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }
  .stage { flex: 0 0 auto; min-height: 0; overflow: visible; }
  .phone-title { display: none; }
  .phone {
    position: static;
    width: 100%;
    max-height: 210px;
    overflow: auto;
    grid-row: auto;
    grid-column: auto;
    border-radius: 22px 22px 0 0;
    margin-top: 8px;
    flex: 0 0 auto;
  }
  .estimate-card { margin-top: 12px; }
  .canvaswrap canvas {
    max-height: 18vh;
    min-height: 120px;
    object-fit: contain;
    background: #121a22;
  }
  .stage.roomy .canvaswrap canvas { max-height: 52vh; }
  .phone.is-collapsed { max-height: none; overflow: visible; }
  .toolbar { padding: 8px; }
  .tool, .upload { padding: 8px 10px; }
  .phone-toggle {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    color: #f2d7a2;
    border: 0;
    font-family: system-ui, sans-serif;
    font-size: 22px;
    font-weight: 700;
    padding: 2px 4px 8px;
    cursor: pointer;
  }
  .phone.is-collapsed .phone-body { display: none; }
  .phone .choice button, .big-swatch, #play, #picker-done { min-height: 48px; font-size: 16px; }
  .swatch-chip { height: 56px; }
}
