: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; }
body { padding-top: 64px; }
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; min-height: 64px;
  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: 8px;
  background: url("/img/brand/lbc-mark-256.png") center / contain no-repeat;
}
.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-deep); }
.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: #4b5563;
}
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: 32px 0 20px; border-top: 1px solid var(--line);
  color: #4b5563; font-size: 14px; background: #fff;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 24px; }
.footer-grid h2 { font-family: var(--font); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: 0 0 10px; }
.footer-grid nav a, .footer-grid > div > a:not(.btn):not(.brand) { display: block; padding: 4px 0; }
.footer-grid .brand { margin-bottom: 8px; }
.site-footer .legal { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.linkish { background: none; border: 0; padding: 0; color: var(--pink-deep); font: inherit; cursor: pointer; }
.linkish:hover { text-decoration: underline; }

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

/* units */
.units-toggle{display:inline-flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;vertical-align:middle}
.units-toggle button{border:0;background:transparent;padding:6px 14px;font:inherit;font-weight:700;cursor:pointer;color:var(--steel)}
.units-toggle button.on{background:#111;color:#fff}
.file-units{margin-top:14px;padding:12px;border:1px solid var(--line);border-radius:10px}
.file-units select{max-width:220px}
.units-warn{margin-top:10px;padding:10px 12px;border-radius:8px;background:#fff4d6;border:1px solid #e8b931;color:#5a4300;font-size:14px}
.units-warn .btn{padding:6px 12px;margin:8px 8px 0 0;font-size:13px}
.units-ok{margin-top:8px;color:#1d7a3a;font-size:13px;font-weight:600}
.geo-stats{font-size:13px;color:var(--steel);margin-top:6px}

/* Brand imagery */
.hero-art { display: flex; justify-content: center; align-items: center; }
.hero-art img { width: 100%; max-width: 420px; height: auto; filter: drop-shadow(0 18px 30px rgba(33,28,78,.18)); }
.split-art { display: flex; justify-content: center; }
.split-art img { width: 100%; max-width: 320px; height: auto; }
.mat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.mat-grid .card h3 { font-size: 16px; margin-bottom: 4px; }
@media (max-width: 900px) { .mat-grid { grid-template-columns: repeat(2, 1fr); } }

/* Stock placeholder photography (swap for real shop photos; see /img/stock/CREDITS.md) */
.hero-photo { position: relative; }
.hero-photo .hero-main { max-width: 100%; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px; filter: none; box-shadow: 0 18px 40px rgba(33,28,78,.25); }
.hero-photo .hero-mascot { position: absolute; left: -52px; bottom: -48px; width: 200px; max-width: 200px; z-index: 2; --rot: -8deg; transform: rotate(var(--rot)); filter: drop-shadow(0 6px 10px rgba(33,28,78,.28)); transition: transform .25s ease; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; }
.photo-grid figure { margin: 0; }
.photo-grid figure img { width: 100%; max-width: none; aspect-ratio: 3/2; object-fit: cover; border-radius: 12px; display: block; }
.photo-grid figcaption { font-size: 13px; color: #4b5563; margin-top: 4px; }
.photo-grid .badge-mascot { position: absolute; right: -40px; top: -58px; width: 128px; max-width: 128px; z-index: 2; --rot: 6deg; transform: rotate(var(--rot)); filter: drop-shadow(0 5px 8px rgba(33,28,78,.28)); transition: transform .25s ease; }
@keyframes lbc-wiggle { 0%,100% { transform: rotate(var(--rot)) scale(1.04); } 33% { transform: rotate(calc(var(--rot) - 4deg)) scale(1.04); } 66% { transform: rotate(calc(var(--rot) + 4deg)) scale(1.04); } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .hero-photo .hero-mascot:hover, .photo-grid .badge-mascot:hover { animation: lbc-wiggle .5s ease-in-out; transform: rotate(var(--rot)) scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .hero-photo .hero-mascot, .photo-grid .badge-mascot { transition: none; animation: none; } }
.mat-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 20px; }
.mat-banner img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; display: block; }
@media (max-width: 860px) { .hero-photo .hero-mascot { width: 120px; max-width: 120px; left: -6px; bottom: -26px; } .photo-grid .badge-mascot { width: 92px; max-width: 92px; right: -4px; top: -40px; } .mat-banner { grid-template-columns: 1fr; } }

/* ---------- accessibility basics ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 10px; text-decoration: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.btn:focus-visible, .mat:focus-visible, .thick:focus-visible, .chip:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--pink-deep); outline-offset: 1px; }
.lede, .card p, .panel p { color: #4b5563; } /* AA contrast on cream */
.kicker { color: var(--pink-deep); }
.btn-pink { background: var(--pink-deep); }
main:focus, section:focus { outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- header / hamburger ---------- */
.nav a { padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav a.on { border-bottom-color: var(--pink); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; align-items: center; justify-content: center; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; content: ""; transition: transform .2s; }
.nav-toggle .bars::before { position: absolute; top: -6px; } .nav-toggle .bars::after { position: absolute; top: 6px; }
.site-header.open .nav-toggle .bars { background: transparent; }
.site-header.open .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.site-header.open .nav-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }
.cart-link .count { background: var(--pink-deep); color: #fff; border-radius: 999px; padding: 0 7px; font-size: 12px; }
@media (max-width: 1020px) {
  .site-header .inner { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; order: 3; }
  .header-actions { order: 2; margin-left: auto; }
  .nav { display: none; order: 4; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 12px; }
  .site-header.open .nav { display: flex; }
  .nav a { padding: 12px 8px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav a.on { border-bottom-color: var(--line); background: color-mix(in srgb, var(--pink) 8%, white); }
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .brand span:last-child { font-size: 13px; }
  .header-actions .cart-link { padding: 8px 10px; }
  .header-actions .cta { padding: 9px 12px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- flow progress (quote > cart > checkout > done) ---------- */
.flow { display: block; min-height: 38px; }
.flow ol { list-style: none; display: flex; gap: 6px; padding: 14px 0 0; margin: 0; flex-wrap: wrap; }
.flow li { display: flex; align-items: center; font-size: 14px; font-weight: 700; color: #4b5563; }
.flow li + li::before { content: "›"; margin: 0 8px 0 2px; color: var(--steel); }
.flow li a, .flow li > span:first-child { display: inline-flex; align-items: center; gap: 6px; color: inherit; }
.flow .n { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; background: #fff; border: 1px solid var(--line); font-size: 12px; }
.flow li.on { color: var(--pink-deep); } .flow li.on .n { background: var(--pink-deep); color: #fff; border-color: var(--pink-deep); }
.flow li.done { color: var(--ok); } .flow li.done .n { background: var(--ok); color: #fff; border-color: var(--ok); }

/* ---------- chat ---------- */
.chat-launcher { position: fixed; right: 18px; bottom: 18px; z-index: 60; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 12px 18px; font-weight: 700; box-shadow: 0 10px 30px rgba(26,31,54,.3); min-height: 48px; }
.chat-panel { position: fixed; right: 18px; bottom: 80px; z-index: 61; width: min(380px, calc(100vw - 24px)); max-height: min(620px, calc(100vh - 110px)); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 60px rgba(26,31,54,.25); overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 14px 16px; background: var(--ink); color: #fff; }
.chat-head span { display: block; font-size: 12px; opacity: .85; }
.chat-close { background: transparent; border: 0; color: #fff; font-size: 26px; line-height: 1; width: 40px; height: 40px; border-radius: 8px; }
.chat-log { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-height: 160px; }
.msg { max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.msg.bot { background: var(--alt); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.you { background: var(--pink-deep); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.msg-links a { font-weight: 700; font-size: 13px; background: #fff; border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px; }
.chat-quick { padding: 0 12px 6px; }
.chat-quick .chip { cursor: pointer; color: var(--ink); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chat-lead { padding: 4px 12px 10px; border-top: 1px solid var(--line); max-height: 60%; overflow-y: auto; }
.chat-lead label { margin: 8px 0 4px; }
.form-err { color: #b42318; font-weight: 600; font-size: 14px; margin: 8px 0 0; }
.form-ok { color: #0f6e5f; font-weight: 700; }
.row-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
@media (max-width: 520px) { .chat-panel { right: 8px; left: 8px; width: auto; bottom: 74px; } .chat-launcher { right: 12px; bottom: 12px; } }
@media print { .chat-launcher, .chat-panel, .site-header, .site-footer { display: none; } body { padding-top: 0; } }

/* ---------- DFM / lead time / upload ---------- */
.dfm { margin-top: 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.dfm h3, .dfm h2.dfm-h { font-family: var(--font); font-size: 15px; margin: 0; padding: 10px 12px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.dfm ul { list-style: none; margin: 0; padding: 0; }
.dfm li { padding: 10px 12px 10px 40px; border-bottom: 1px solid var(--line); position: relative; font-size: 14px; }
.dfm li:last-child { border-bottom: 0; }
.dfm li::before { position: absolute; left: 12px; top: 9px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; }
.dfm li.error::before { content: "!"; background: #b42318; } .dfm li.warn::before { content: "!"; background: #b54708; } .dfm li.info::before { content: "i"; background: #175cd3; }
.dfm li.ok::before { content: "✓"; background: var(--ok); }
.dfm li b { display: block; } .dfm li .fix { color: #4b5563; font-size: 13px; margin-top: 2px; }
.dfm.has-error { border-color: #f04438; }
.accept { font-size: 13px; color: #4b5563; margin-top: 8px; }
.accept code { font-weight: 700; }
.drop.drag { border-color: var(--pink-deep); background: color-mix(in srgb, var(--pink) 10%, white); }
.preview svg { width: 100%; height: auto; max-height: 260px; }
.preview path { fill: color-mix(in srgb, var(--steel) 22%, white); stroke: var(--ink); stroke-width: 2; fill-rule: evenodd; vector-effect: non-scaling-stroke; }
.preview .open { fill: none; stroke: #b42318; stroke-dasharray: 6 4; }
.lead-opts { display: grid; gap: 8px; margin-top: 8px; }
.lead-opt { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-size: 14px; margin: 0; font-weight: 600; }
.lead-opt input { width: auto; margin: 0; }
.lead-opt small { display: block; color: #4b5563; font-weight: 400; }
.lead-opt:has(input:checked) { border-color: var(--pink-deep); background: color-mix(in srgb, var(--pink) 7%, white); }

/* ---------- order tracker ---------- */
.tracker { list-style: none; display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; padding: 0; margin: 16px 0 8px; counter-reset: st; }
.tracker li { position: relative; text-align: center; font-size: 12px; font-weight: 600; color: #4b5563; padding-top: 30px; }
.tracker li::before { counter-increment: st; content: counter(st); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; font-size: 11px; z-index: 1; }
.tracker li::after { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.tracker li:first-child::after { display: none; }
.tracker li.done::before { content: "✓"; background: var(--ok); border-color: var(--ok); color: #fff; }
.tracker li.done::after, .tracker li.now::after { background: var(--ok); }
.tracker li.now { color: var(--pink-deep); }
.tracker li.now::before { background: var(--pink-deep); border-color: var(--pink-deep); color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--pink) 25%, white); }
.tracker li.na { opacity: .45; } .tracker li.na::before { content: "–"; }
.tracker time { display: block; font-weight: 400; font-size: 11px; }
@media (max-width: 760px) {
  .tracker { grid-template-columns: 1fr; gap: 0; }
  .tracker li { text-align: left; padding: 6px 0 14px 36px; }
  .tracker li::before { left: 12px; top: 4px; }
  .tracker li::after { left: 11px; top: -14px; width: 3px; height: 100%; }
}
.order-card { margin-top: 18px; }
.order-card header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.timeline { font-size: 13px; color: #4b5563; margin: 8px 0 0; padding-left: 18px; }

/* ---------- content pages ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.prose table { font-size: 14px; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin: 8px 0; }
details.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style-position: outside; }
details.faq[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; }
.next-step { margin-top: 32px; padding: 20px; border-radius: var(--radius); background: var(--alt); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.next-step p { margin: 0; font-weight: 600; }
.error-hero { text-align: center; padding: 64px 0; }
.error-hero .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.field-err { color: #b42318; font-size: 13px; margin-top: 4px; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #b42318; }

.kanban.floor { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .kanban.floor { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .kanban.floor { grid-template-columns: 1fr; } }
.side-steps .step-btn { color: inherit; font-weight: inherit; width: 100%; text-align: left; text-decoration: none; }
.mobile-pricebar { display: none; }
@media (max-width: 960px) {
  .mobile-pricebar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(26,31,54,.12); }
  .mobile-pricebar b { font-size: 20px; color: var(--pink-deep); }
  .mobile-pricebar span { font-size: 13px; color: #4b5563; }
  body:has(.mobile-pricebar) .chat-launcher { bottom: 78px; }
  body:has(.mobile-pricebar) .site-footer { padding-bottom: 90px; }
  .side-steps ol { display: flex; gap: 6px; overflow-x: auto; }
  .side-steps li { white-space: nowrap; margin: 0; }
  .quote-layout > .pricebox { order: 2; }
  .quote-layout > div { order: 1; }
  .side-steps { order: 0; }
}

/* ---- tax / checkout address ---- */
.sum-row{display:flex;justify-content:space-between;gap:8px;margin:6px 0}
.sum-row small{color:#4b5563;font-weight:400}
.sum-total{font-size:20px}
.sum-note{font-size:13px;color:#4b5563;margin:6px 0}
.est-badge{display:inline-block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;background:#fff4e5;color:#8a4b00;border-radius:999px;padding:1px 7px;vertical-align:middle}
.row3{display:grid;grid-template-columns:2fr 1.4fr 1fr;gap:10px}
@media (max-width:640px){.row3{grid-template-columns:1fr 1fr}.row3>:first-child{grid-column:1/-1}}
.tax-est{display:flex;gap:6px;flex-wrap:wrap;align-items:flex-end;margin-top:8px}
.tax-est select,.tax-est input{width:auto;min-width:0;flex:1 1 90px}
.tax-est label{margin:0;font-size:13px;flex-basis:100%}
fieldset.co-group{border:0;padding:0;margin:18px 0 0}
fieldset.co-group legend{font-weight:700;font-size:14px}
.inco-opt{display:flex;gap:8px;align-items:flex-start;border:1px solid var(--line);border-radius:10px;padding:10px;margin-top:6px;cursor:pointer}
.inco-opt input{width:auto;margin-top:4px}
.inco-opt small{display:block;color:#4b5563;font-weight:400}
.status-pill{display:inline-block;border-radius:999px;padding:2px 9px;font-size:12px;font-weight:700;background:#eef2f7}
.status-pill.approved,.status-pill.Registered{background:#e3f6ef;color:#0f6e5f}
.status-pill.pending,.status-pill.Monitoring{background:#fff4e5;color:#8a4b00}
.status-pill.rejected,.status-pill.Action{background:#fde8e8;color:#9b1c1c}
.data-table{width:100%;border-collapse:collapse;font-size:14px}
.data-table th,.data-table td{text-align:left;padding:6px 8px;border-bottom:1px solid var(--line);vertical-align:top}
.data-table td.num,.data-table th.num{text-align:right;font-variant-numeric:tabular-nums}
@media print{.site-header,.site-footer,nav.flow,.chat-launcher,#lbc-chat-launcher,.no-print,.skip-link{display:none!important}body{background:#fff}.panel{box-shadow:none;border:0}}

/* a11y: links inside running text are underlined, not colour-only */
.panel p a, .sum-note a, #taxLine a { text-decoration: underline; }

@media (max-width: 640px) {
  .flow ol { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; gap: 4px; padding-top: 12px; scrollbar-width: none; }
  .flow li { font-size: 12px; }
  .flow li + li::before { margin: 0 4px 0 0; }
  .flow .n { width: 20px; height: 20px; font-size: 11px; }
}

/* Small-phone fixes (320–400px): no horizontal scrolling */
.quote-layout > * { min-width: 0; }
.footer-grid > * { min-width: 0; overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 520px) {
  .btn { white-space: normal; text-align: center; }
  .header-actions .btn { white-space: nowrap; }
}
@media (max-width: 380px) {
  .header-actions .cta { padding: 8px 10px; font-size: 13px; }
}
.card .btn, article .btn { white-space: normal; max-width: 100%; text-align: center; }
@media (max-width: 400px) {
  .brand { gap: 6px; }
  .brand span:last-child { font-size: 11px; line-height: 1.1; max-width: 64px; white-space: normal; letter-spacing: .02em; }
  .header-actions { gap: 6px; }
  .header-actions .cart-link { padding: 7px 9px; }
}
@media (max-width: 400px) { .site-header .inner { gap: 8px; } }
@media (max-width: 340px) { .brand span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media (max-width: 400px) { .flow ol { gap: 2px; } .flow li + li::before { margin: 0 3px 0 0; } .flow li a, .flow li > span:first-child { gap: 4px; } }
@media (min-width: 1021px) { .quote-layout { min-height: 1100px; } } /* reserve space so the footer does not jump while the quote UI renders (CLS) */
.flow li.done { color: #0f766e; } .flow li.done .n { background: #0f766e; border-color: #0f766e; }
.lede a, main p a:not(.btn) { text-decoration: underline; }
/* ---- nav fits 9 links on one row (Parts Builder + Tube added) ---- */
@media (min-width: 1021px) { .nav { gap: 14px; flex-wrap: nowrap; } .nav a { white-space: nowrap; } .brand { white-space: nowrap; flex-shrink: 0; } }
@media (min-width: 1021px) and (max-width: 1240px) { .nav { gap: 11px; } .nav a { font-size: 13px; } .site-header .inner { gap: 10px; } }
[hidden] { display: none !important; }
@media (min-width: 1021px) and (max-width: 1160px) { .nav a[href="/"] { display: none; } .nav { gap: 10px; } }
