:root {
  --pink: #e83e8c;
  --pink-deep: #c2185b;
  --gold: #d4a017;
  --gold-soft: #f0d78c;
  --ink: #1a1f36;
  --steel: #6b7280;
  --paper: #fffaf5;
  --panel: #ffffff;
  --line: #eadfce;
  --alt: #fff3e8;
  --ok: #0d9488;
  --shadow: 0 12px 40px rgba(26, 31, 54, 0.08);
  --radius: 16px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  min-height: 100vh;
}
a { color: var(--pink-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 650;
  line-height: 1.15;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.5vw, 36px); }
p { margin: 0 0 0.8em; }
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 12px 0 6px;
  color: var(--ink);
}
input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--pink) 40%, white);
  border-color: var(--pink);
}
button { font: inherit; cursor: pointer; }
code {
  font-size: 0.92em;
  background: var(--alt);
  padding: 1px 6px;
  border-radius: 6px;
}

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--paper) 88%, white);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: 0.02em; color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background:
    linear-gradient(135deg, var(--ink) 0 33%, transparent 33%),
    linear-gradient(225deg, var(--pink) 0 40%, transparent 40%),
    linear-gradient(45deg, var(--gold) 0 45%, #fff 45%);
}
.nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.nav a {
  color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none;
}
.nav a.on, .nav a:hover { color: var(--pink); }
.header-actions { display: flex; gap: 8px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; filter: brightness(0.97); }
.btn-pink { background: var(--pink); color: #fff; }
.btn-gold { background: var(--gold); color: #1a1f36; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ghost {
  background: transparent; border-color: var(--line); color: var(--ink);
}
.btn-ghost:hover { border-color: var(--pink); color: var(--pink-deep); }

.kicker {
  font-size: 12px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--pink);
  margin-bottom: 8px;
}
.lede { font-size: 18px; color: var(--steel); max-width: 52ch; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; color: var(--steel);
  margin: 0 6px 6px 0;
}
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--pink) 12%, white);
  color: var(--pink-deep); font-size: 12px; font-weight: 700;
  text-transform: capitalize;
}

.hero {
  padding: 48px 0 28px;
  background:
    radial-gradient(ellipse at 10% 0%, color-mix(in srgb, var(--gold-soft) 55%, transparent), transparent 50%),
    radial-gradient(ellipse at 90% 10%, color-mix(in srgb, var(--pink) 18%, transparent), transparent 45%),
    var(--paper);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start;
}
.section { padding: 48px 0; }
.section.alt { background: var(--alt); }
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px;
}
.card, .panel {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card p, .panel p { color: var(--steel); }
.split {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 22px; align-items: start;
}
.drop {
  margin-top: 14px; padding: 28px 18px; text-align: center;
  border: 2px dashed color-mix(in srgb, var(--gold) 55%, var(--line));
  border-radius: 14px; background: color-mix(in srgb, var(--gold-soft) 28%, white);
}
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px;
}
.step {
  background: var(--alt); border-radius: 12px; padding: 10px;
  font-size: 13px; font-weight: 600;
}
.step b { display: block; color: var(--pink); font-size: 11px; letter-spacing: 0.08em; }

.quote-layout {
  display: grid; grid-template-columns: 200px 1fr 280px; gap: 16px; margin-top: 22px;
}
.side-steps {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow);
}
.side-steps ol { list-style: none; padding: 0; margin: 0; }
.side-steps li {
  padding: 10px 12px; border-radius: 10px; margin-bottom: 6px;
  font-weight: 600; font-size: 14px; color: var(--steel);
}
.side-steps li.on { background: color-mix(in srgb, var(--pink) 12%, white); color: var(--pink-deep); }
.side-steps li.done { color: var(--ok); }
.canvas {
  min-height: 220px; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(180deg, #fff, #f7f1e8);
  display: grid; place-items: center; padding: 16px;
  box-shadow: var(--shadow);
}
.canvas svg { max-width: 100%; height: auto; }
.pricebox .price {
  font-family: var(--display); font-size: 40px; font-weight: 650; margin: 4px 0;
  color: var(--pink-deep);
}
.pricebox .price span { font-size: 16px; color: var(--steel); font-family: var(--font); }
.breaks { margin: 12px 0; font-size: 13px; }
.breaks div {
  display: flex; justify-content: space-between; padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.materials {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px;
}
.mat {
  text-align: left; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 10px; cursor: pointer;
}
.mat.on { border-color: var(--pink); box-shadow: 0 0 0 2px color-mix(in srgb, var(--pink) 25%, white); }
.mat .swatch {
  width: 100%; height: 28px; border-radius: 8px; margin-bottom: 8px;
  border: 1px solid rgba(0,0,0,0.06);
}
.thicks { display: grid; gap: 8px; margin-top: 8px; }
.thick {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; cursor: pointer;
}
.thick.on { border-color: var(--pink); background: color-mix(in srgb, var(--pink) 8%, white); }

table {
  width: 100%; border-collapse: collapse; margin-top: 18px;
  background: var(--panel); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
th, td {
  text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line);
  vertical-align: top; font-size: 14px;
}
th {
  background: var(--alt); font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--steel);
}
tr:last-child td { border-bottom: 0; }

.kanban {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px;
}
.kanban h3 { font-size: 15px; margin-bottom: 10px; }
.stage-col {
  display: grid; gap: 10px; min-height: 160px;
  background: var(--alt); border: 1px solid var(--line);
  border-radius: 14px; padding: 10px;
}
.job {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px; font-size: 13px; box-shadow: var(--shadow);
}
.job b { display: block; margin-bottom: 4px; }

.site-footer {
  margin-top: 40px; padding: 28px 0; border-top: 1px solid var(--line);
  color: var(--steel); font-size: 13px;
}
.site-footer .inner {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

@media (max-width: 960px) {
  .hero-grid, .split, .quote-layout, .cards, .kanban { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
