: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; }
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: #f7f3ea;
  text-decoration: none;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 10px 16px;
  font-family: system-ui, sans-serif;
  font-size: 16px;
  white-space: nowrap;
}
.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 { color: var(--muted); font-family: system-ui, sans-serif; font-size: 14px; margin: -8px 0 18px; }
.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 { background: var(--gold); color: #1a1408; }
.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; }
.swatches { display: flex; gap: 8px; }
.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; }
@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 { padding: 8px 10px; font-size: 14px; margin-left: auto; }
}
