/* =====================================================================
   Around the Compound — design system (matches the modern flyer: paper, ink, lime)
   Palette, type scale and spacing scale are all CSS variables below.
   ===================================================================== */
@font-face { font-family: "ATH Inter Tight"; src: url("../fonts/inter-tight-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* Tokens pulled from the flyer (flyer-alt-1.html):
   --ink #0e0f0c · --paper #f6f5f0 · --lime #b6f23a · --limed #5c8f00 · --mute #6b6d66 · --rule #d9d8d0 */
:root {
  /* Brand palette */
  --black:     #0e0f0c;   /* ink — text, blocks, primary buttons */
  --black-2:   #2a2b27;   /* ink hover / body copy */
  --lime:      #b6f23a;   /* highlighter accent — use sparingly */
  --lime-600:  #9ed620;
  --lime-deep: #5c8f00;   /* lime that passes contrast on paper (numbers, small accents) */
  --lime-100:  #eefad6;
  --stone-100: #efeee8;
  --stone-200: #e6e5dd;
  --amber-600: #a35d06;   /* warm highlight (Quote sent status only) */
  --amber-100: #fbeed8;
  --red-600:   #b42318;
  --red-100:   #fdecea;

  /* Neutrals */
  --ink:     #0e0f0c;
  --ink-2:   #2a2b27;
  --muted:   #6b6d66;
  --line:    #d9d8d0;     /* thin rule */
  --line-2:  #c8c7be;
  --bg:      #f6f5f0;     /* paper */
  --bg-2:    #eeede6;
  --surface: #fbfbf8;

  /* Status colours (tracker) */
  --st-new: #2f5f9e;       --st-new-bg: #e6edf8;
  --st-quote: #a35d06;     --st-quote-bg: #fbeed8;
  --st-sched: #0d6e75;     --st-sched-bg: #dcf0f0;
  --st-done: #4b7a00;      --st-done-bg: #eaf7cf;
  --st-paid: #0e0f0c;      --st-paid-bg: #dff5a8;
  --st-lost: #6b6d66;      --st-lost-bg: #e9e8e2;

  /* Type — Inter Tight, same as the flyer */
  --font-sans: "ATH Inter Tight", "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: var(--font-sans);
  --fs-xs: .75rem; --fs-sm: .875rem; --fs-base: 1rem; --fs-md: 1.125rem; --fs-lg: 1.25rem;
  --fs-xl: 1.5rem; --fs-2xl: 2rem; --fs-3xl: 2.5rem; --fs-4xl: 4.5rem;

  /* Spacing scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  /* Shape */
  --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(14, 15, 12, .05);
  --shadow: 0 1px 2px rgba(14, 15, 12, .04), 0 6px 20px rgba(14, 15, 12, .05);
  --shadow-lg: 0 2px 6px rgba(14, 15, 12, .05), 0 18px 44px rgba(14, 15, 12, .10);
  --focus: 0 0 0 3px var(--bg), 0 0 0 5px var(--black);
  --header-h: 72px;
  --hl: linear-gradient(180deg, transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { margin: 0; }
body { font-family: var(--font-sans); font-size: var(--fs-base); line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--lime-deep); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 var(--s-3); font-weight: 900; }
h1 { font-size: clamp(2.4rem, 6vw, var(--fs-4xl)); line-height: .92; letter-spacing: -.05em; }
h2 { font-size: var(--fs-xl); letter-spacing: -.03em; }
h3 { font-size: var(--fs-md); font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 var(--s-4); }
strong { font-weight: 700; }
.hl { background: var(--hl); padding: 0 .08em; margin: 0 -.08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lime-text { color: var(--lime); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--s-5); }
.container.wide { max-width: 1560px; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--black); padding: 8px 14px; border-radius: var(--r-sm); z-index: 100; font-weight: 800; }
.skip-link:focus { left: 12px; }
.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; flex: none; }
.label-caps, .eyebrow { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s-3); }
.dot-lime { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px var(--black); flex: none; }
.sq-lime { display: inline-block; width: 8px; height: 8px; background: var(--lime); box-shadow: 0 0 0 1.2px var(--black); flex: none; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.rule-heavy { border: 0; border-top: 2px solid var(--black); margin: 0; }

/* ---------- Header (flyer top bar) ---------- */
#site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 245, 240, .92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); }
#site-header .container { border-bottom: 2px solid var(--black); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--s-4); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand-name { font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); text-decoration: none; padding: 8px 14px; border-radius: var(--r-pill); font-weight: 700; font-size: var(--fs-sm); letter-spacing: -.005em; transition: background .15s, color .15s; }
.nav a:hover { background: var(--bg-2); color: var(--ink); }
.nav a.active { background: var(--black); color: #fff; }
.nav a.active::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; background: transparent; border: 1.5px solid var(--black); color: var(--ink); border-radius: var(--r-md); cursor: pointer; }
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--bg); border-bottom: 2px solid var(--black); flex-direction: column; align-items: stretch; padding: var(--s-3) var(--s-5) var(--s-5); box-shadow: var(--shadow-lg); }
  .nav a { padding: 12px 14px; font-size: var(--fs-base); border-radius: var(--r-md); }
  #site-header.open .nav { display: flex; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 48px; border: 1.5px solid transparent; border-radius: var(--r-md); padding: 0 var(--s-5); font: 750 var(--fs-base)/1 var(--font-sans); letter-spacing: -.01em; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, box-shadow .15s, transform .05s, color .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--black); color: #fff; }
.btn-primary:hover { background: var(--black-2); color: #fff; }
.btn-primary .icon { color: var(--lime); }
.btn-accent { background: var(--lime); color: var(--black); border-color: var(--lime); }
.btn-accent:hover { background: #c4f75c; color: var(--black); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--black); }
.btn-ghost:hover { background: var(--black); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: var(--lime); color: var(--lime); }
.btn-danger { background: transparent; color: var(--red-600); border-color: #e7b9b4; }
.btn-danger:hover { background: var(--red-100); color: var(--red-600); border-color: var(--red-600); }
.btn-sm { min-height: 38px; padding: 0 var(--s-3); font-size: var(--fs-sm); border-radius: var(--r-sm); }
.btn-xs { min-height: 30px; padding: 0 10px; font-size: var(--fs-xs); border-radius: var(--r-sm); border-width: 1px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }
.btn-accent:focus-visible, .btn-primary:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }

/* ---------- Home hero (flyer layout) ---------- */
.hero { padding: var(--s-7) 0 0; }
.hero h1 { margin: 0 0 var(--s-5); }
.lede-row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-6); flex-wrap: wrap; }
.lede-row .lead { font-size: 1.2rem; line-height: 1.5; color: var(--ink-2); max-width: 640px; margin: 0; }
.lede-row .lead strong { color: var(--ink); }
.est { text-align: right; font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.est span { display: block; font-size: 2.1rem; letter-spacing: -.04em; color: var(--ink); text-transform: none; font-weight: 900; line-height: 1.05; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.ba { position: relative; margin-top: var(--s-6); border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 750 / 260; background: #2f8f38; }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba .lab { position: absolute; top: 16px; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; padding: 7px 12px; }
.ba .lab.b { left: 16px; background: rgba(255,255,255,.9); color: #55523f; }
.ba .lab.a { right: 16px; background: var(--lime); color: var(--black); }
.ba .cap { position: absolute; bottom: 14px; font-size: var(--fs-sm); font-weight: 650; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.ba .cap.b { left: 18px; } .ba .cap.a { right: 18px; }
@media (max-width: 600px) { .ba { aspect-ratio: 4 / 3; } .est { text-align: left; } }

/* Numbered lists & serve list */
.split { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--s-7); margin-top: var(--s-7); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: var(--s-6); } }
.numlist, .serves { list-style: none; margin: 0; padding: 0; }
.numlist li, .serves li { display: flex; align-items: baseline; gap: var(--s-3); font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; padding: 10px 0; border-bottom: 1px solid var(--line); }
.numlist li:first-child, .serves li:first-child { border-top: 1px solid var(--line); }
.numlist li i { font-style: normal; font-size: var(--fs-xs); font-weight: 800; color: var(--lime-deep); width: 24px; flex: none; }
.numlist li small { margin-left: auto; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); letter-spacing: 0; }
.serves li { align-items: center; }

/* Price tiles (flyer) */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 2px solid var(--black); margin-top: var(--s-7); }
.prices > div { padding: var(--s-4) var(--s-5) 0 0; }
.prices > div + div { padding-left: var(--s-5); border-left: 1px solid var(--line); }
.pk { font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.pv { font-size: 2.6rem; font-weight: 900; letter-spacing: -.05em; line-height: 1.05; margin-top: 6px; font-variant-numeric: tabular-nums; }
.pd { font-size: var(--fs-sm); color: var(--ink-2); margin-top: 4px; }
.fine { font-size: var(--fs-xs); color: var(--muted); font-style: italic; margin-top: var(--s-3); }
@media (max-width: 700px) { .prices { grid-template-columns: 1fr; } .prices > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: var(--s-4); } }

/* Black CTA bar */
.cta-bar { background: var(--black); color: #e9e9e4; border-radius: var(--r-lg); padding: var(--s-7); margin-top: var(--s-8); display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; }
.cta-bar h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.045em; margin: 0 0 var(--s-2); line-height: 1; }
.cta-bar p { margin: 0; color: #b9bab2; }
.cta-bar .label-caps { color: var(--lime); }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: var(--s-7) 0 var(--s-6); }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: var(--s-3); }
.page-head .lead { color: var(--ink-2); font-size: var(--fs-md); max-width: 680px; margin: 0; }
.page-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-4); flex-wrap: wrap; }
.steps-bar { display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; margin-bottom: var(--s-5); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.steps-bar .step { display: inline-flex; align-items: center; gap: 8px; }
.steps-bar .step b { font-weight: 800; color: var(--muted); }
.steps-bar .step.on { color: var(--ink); }
.steps-bar .step.on b { color: var(--lime-deep); }
.steps-bar .step.done { color: var(--ink-2); }
.steps-bar .sep { width: 24px; height: 1px; background: var(--line-2); }

/* ---------- Layout ---------- */
main { padding-bottom: var(--s-8); }
.section { padding: var(--s-8) 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-5); padding-bottom: var(--s-3); border-bottom: 2px solid var(--black); }
.section-head h2 { font-size: var(--fs-2xl); margin: 0; }
.section-head p { color: var(--muted); margin: 0; max-width: 460px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--s-6); align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
@media (max-width: 960px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-3 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: var(--s-6); }
.card-dark { background: var(--black); color: #e9e9e4; border-color: var(--black); }
.form-section { padding-top: var(--s-5); margin-top: var(--s-5); border-top: 1px solid var(--line); }
.form-section:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.section-label { display: flex; align-items: baseline; gap: var(--s-3); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin: 0 0 var(--s-3); }
.section-label .num { color: var(--lime-deep); letter-spacing: 0; font-size: var(--fs-xs); }

/* Feature cards (home tools) */
.feature { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .2s, border-color .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--black); color: inherit; }
.feature .fnum { font-size: var(--fs-xs); font-weight: 800; color: var(--lime-deep); letter-spacing: .1em; }
.feature h3 { font-size: 1.5rem; font-weight: 900; letter-spacing: -.04em; margin: var(--s-4) 0 var(--s-2); }
.feature p { color: var(--muted); flex: 1; }
.feature .link { display: inline-flex; align-items: center; gap: 6px; font-weight: 750; font-size: var(--fs-sm); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.feature .link svg { transition: transform .15s; }
.feature:hover .link svg { transform: translateX(4px); }
.icon-tile { width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--black); color: var(--lime); }
.icon-tile svg { width: 22px; height: 22px; }
.icon-tile.light { background: var(--stone-100); color: var(--ink); border: 1px solid var(--line); }
.feature-top { display: flex; justify-content: space-between; align-items: flex-start; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--ink-2); }

.trust { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: var(--s-7); }
.trust-item { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-5) var(--s-4) var(--s-5) 0; }
.trust-item + .trust-item { padding-left: var(--s-4); border-left: 1px solid var(--line); }
.trust-item svg { color: var(--lime-deep); margin-top: 2px; }
.trust-item strong { display: block; font-size: var(--fs-base); font-weight: 800; letter-spacing: -.02em; }
.trust-item span { font-size: var(--fs-sm); color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, minmax(0,1fr)); } .trust-item:nth-child(3) { padding-left: 0; border-left: 0; } .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } .trust-item + .trust-item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s-6); }
.how li b { display: block; font-size: 2.6rem; font-weight: 900; letter-spacing: -.05em; line-height: 1; margin-bottom: var(--s-3); }
.how li b span { background: var(--hl); padding: 0 .1em; }
.how li strong { display: block; font-size: var(--fs-md); font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px; }
.how li p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
@media (max-width: 760px) { .how { grid-template-columns: 1fr; gap: var(--s-5); } }

/* ---------- Forms ---------- */
.field { margin-bottom: var(--s-4); }
.field > label, .field .label { display: block; font-weight: 700; font-size: var(--fs-sm); margin-bottom: 6px; color: var(--ink); }
.hint, .field .hint { font-size: var(--fs-xs); color: var(--muted); margin-top: 6px; line-height: 1.45; }
.opt { font-weight: 500; color: var(--muted); }
input[type=text], input[type=number], input[type=email], input[type=tel], input[type=date], input[type=search], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: var(--r-md); font: 500 var(--fs-base)/1.4 var(--font-sans); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230e0f0c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
textarea { min-height: 110px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #9d9f97; font-weight: 400; }
input:hover, select:hover, textarea:hover { border-color: #a9a89f; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(182, 242, 58, .55); }
.input-suffix { position: relative; }
.input-suffix input { padding-right: 64px; font-weight: 700; font-size: var(--fs-md); }
.input-suffix span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: var(--fs-sm); font-weight: 700; pointer-events: none; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; gap: 0; } }
.req { color: var(--red-600); }
.error-text { color: var(--red-600); font-size: var(--fs-sm); font-weight: 600; }
.error-text:not(:empty) { display: block; background: var(--red-100); border: 1px solid #f1c0ba; border-left: 3px solid var(--red-600); border-radius: var(--r-sm); padding: 10px 12px; margin-bottom: var(--s-4); }
input.invalid, select.invalid, textarea.invalid { border-color: var(--red-600); background: #fff8f7; }
input.invalid:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .18); }

/* Choice pills */
.choices { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: #fff; cursor: pointer; font-weight: 700; font-size: var(--fs-sm); user-select: none; transition: all .15s; color: var(--ink); }
.choice span:hover { border-color: var(--black); }
.choice span small { font-weight: 700; color: var(--muted); font-size: var(--fs-xs); }
.choice input:checked + span { background: var(--black); border-color: var(--black); color: #fff; }
.choice input:checked + span small { color: var(--lime); }
.choice input:focus-visible + span { outline: 2px solid var(--black); outline-offset: 2px; }
.choice.check span::before { content: ""; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--line-2); background: #fff; flex: none; }
.choice.check input:checked + span::before { border-color: var(--lime); background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0f0c' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Option cards (service) */
.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-3); }
@media (max-width: 560px) { .option-grid { grid-template-columns: 1fr; } }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option .opt-body { display: block; height: 100%; padding: var(--s-4); border: 1px solid var(--line-2); border-radius: var(--r-md); background: #fff; transition: all .15s; }
.option .opt-body:hover { border-color: var(--black); }
.option .opt-top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-2); }
.option strong { font-size: var(--fs-base); font-weight: 800; letter-spacing: -.02em; }
.option .rate { font-size: var(--fs-xs); font-weight: 800; color: var(--lime-deep); white-space: nowrap; }
.option .desc { display: block; font-size: var(--fs-xs); color: var(--muted); margin-top: 4px; line-height: 1.45; }
.option input:checked + .opt-body { border-color: var(--black); box-shadow: inset 0 0 0 1px var(--black); background: #fff; }
.option input:checked + .opt-body .opt-top strong { background: var(--hl); }
.option input:checked + .opt-body::after { content: ""; position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0f0c' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; box-shadow: 0 0 0 1.5px var(--black), 0 0 0 4px var(--surface); }
.option input:focus-visible + .opt-body { outline: 2px solid var(--black); outline-offset: 2px; }

/* ---------- Quote summary ---------- */
.quote-panel { position: sticky; top: calc(var(--header-h) + var(--s-5)); overflow: hidden; padding: 0; box-shadow: var(--shadow-lg); }
.quote-head { background: var(--black); color: #fff; padding: var(--s-5) var(--s-6) var(--s-6); }
.quote-head .label { color: var(--lime); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .2em; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.quote-total { font-size: 3.6rem; font-weight: 900; letter-spacing: -.055em; line-height: 1; margin: var(--s-3) 0 var(--s-2); font-variant-numeric: tabular-nums; }
.quote-range { color: #c9cac2; font-weight: 600; font-size: var(--fs-sm); }
#q-annual:not(:empty) { display: inline-block; margin-top: var(--s-3); background: var(--lime); color: var(--black); font-weight: 800; font-size: var(--fs-xs); padding: 4px 10px; border-radius: var(--r-sm); }
.quote-body { padding: var(--s-5) var(--s-6) var(--s-6); }
.breakdown { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.breakdown td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.breakdown td.amt { text-align: right; white-space: nowrap; padding-left: var(--s-3); font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.breakdown tr.neg td.amt { color: var(--lime-deep); font-weight: 800; }
.breakdown tr.total td { border-bottom: 0; border-top: 2px solid var(--black); padding-top: var(--s-3); font-weight: 900; font-size: var(--fs-md); color: var(--ink); letter-spacing: -.02em; }
.breakdown .note { display: block; color: var(--muted); font-size: var(--fs-xs); }
.notice { display: flex; gap: 10px; align-items: flex-start; background: var(--amber-100); border: 1px solid #f0d6ab; color: #5f3703; border-radius: var(--r-md); padding: 10px 14px; font-size: var(--fs-sm); margin-top: var(--s-3); line-height: 1.5; }
.notice.green { background: var(--lime-100); border-color: #d6ef9f; color: #2f4a00; }
.notice.neutral { background: var(--bg-2); border-color: var(--line); color: var(--ink-2); }
.notice svg { flex: none; margin-top: 2px; }
.trust-row { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row svg { color: var(--lime-deep); }

/* ---------- Booking ---------- */
.quote-attached .quote-head { padding-bottom: var(--s-5); }
.aside-stack > * + * { margin-top: var(--s-4); }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 0; font-size: var(--fs-sm); margin: 0 0 var(--s-4); }
.kv dt, .kv dd { padding: 8px 0; border-bottom: 1px solid var(--line); margin: 0; }
.kv dt { color: var(--muted); } .kv dd { font-weight: 700; }
.checklist { list-style: none; padding: 0; margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
.checklist li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist li b { flex: none; font-size: var(--fs-xs); font-weight: 800; color: var(--lime-deep); width: 20px; padding-top: 2px; }
.confirm { max-width: 760px; margin: 0 auto; text-align: center; padding: var(--s-7) var(--s-6); }
.confirm .check { width: 76px; height: 76px; border-radius: 50%; background: var(--lime); color: var(--black); display: grid; place-items: center; margin: 0 auto var(--s-4); box-shadow: 0 0 0 2px var(--black); }
.confirm .check svg { width: 36px; height: 36px; }
.confirm h2 { font-size: var(--fs-3xl); letter-spacing: -.045em; }
.confirm .kv { text-align: left; max-width: 540px; margin: var(--s-5) auto; }
.confirm .notice { max-width: 540px; margin: 0 auto var(--s-5); text-align: left; }
.btn-row { display: flex; gap: var(--s-3); justify-content: center; flex-wrap: wrap; }

/* ---------- Tracker ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; margin-bottom: var(--s-4); }
.toolbar .search { position: relative; flex: 1 1 260px; }
.toolbar .search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.toolbar .search input { padding-left: 42px; }
.toolbar select { width: auto; min-width: 150px; }
.toolbar .count-label { font-size: var(--fs-xs); color: var(--muted); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 0 var(--s-2); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 2px solid var(--black); margin-bottom: var(--s-6); }
.stat { padding: var(--s-4) var(--s-5) 0 0; }
.stat + .stat { padding-left: var(--s-5); border-left: 1px solid var(--line); }
.stat .k { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .18em; }
.stat .v { font-size: 2.6rem; font-weight: 900; letter-spacing: -.05em; line-height: 1.05; margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.stat .small { font-size: var(--fs-sm); color: var(--ink-2); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } .stat:nth-child(3) { padding-left: 0; border-left: 0; } .stat:nth-child(n+3) { margin-top: var(--s-4); border-top: 1px solid var(--line); } }
.board { display: grid; grid-template-columns: repeat(6, minmax(190px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: var(--s-3); scroll-snap-type: x proximity; }
.col { background: var(--bg-2); border-radius: var(--r-lg); padding: var(--s-2); min-height: 340px; display: flex; flex-direction: column; scroll-snap-align: start; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.col.drag-over { background: var(--lime-100); border: 1.5px dashed var(--black); }
.col-head { display: flex; justify-content: space-between; align-items: flex-start; padding: var(--s-2) var(--s-2) var(--s-3); }
.col-head .sum { font-weight: 800; font-size: var(--fs-sm); color: var(--ink); display: block; margin-top: 6px; padding-left: 2px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.col-head .count { background: var(--black); color: #fff; border-radius: var(--r-pill); min-width: 24px; text-align: center; padding: 1px 8px; font-size: var(--fs-xs); font-weight: 800; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px 4px 8px; border-radius: var(--r-pill); white-space: nowrap; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-new   { color: var(--st-new);   background: var(--st-new-bg); }
.st-quote { color: var(--st-quote); background: var(--st-quote-bg); }
.st-sched { color: var(--st-sched); background: var(--st-sched-bg); }
.st-done  { color: var(--st-done);  background: var(--st-done-bg); }
.st-paid  { color: var(--st-paid);  background: var(--st-paid-bg); }
.st-paid .dot { background: var(--lime-deep); }
.st-lost  { color: var(--st-lost);  background: var(--st-lost-bg); }
.col-cards { display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.empty-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: var(--fs-xs); font-weight: 600; text-align: center; padding: var(--s-5) var(--s-3); border: 1.5px dashed var(--line-2); border-radius: var(--r-md); min-height: 130px; }
.empty-col svg { width: 24px; height: 24px; color: #b3b2a9; }
.board-empty { text-align: center; padding: var(--s-7) var(--s-5); border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); margin-bottom: var(--s-4); }
.board-empty h3 { font-size: var(--fs-xl); font-weight: 900; }
.board-empty p { color: var(--muted); max-width: 460px; margin: 0 auto var(--s-4); }
.job { position: relative; background: #fff; border-radius: var(--r-md); padding: var(--s-3); border: 1px solid var(--line); box-shadow: var(--shadow-sm); cursor: grab; font-size: var(--fs-sm); transition: box-shadow .15s, transform .1s, border-color .15s; }
.job:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.job.dragging { opacity: .45; transform: rotate(1deg); }
.job h4 { margin: 0 0 2px; font-size: var(--fs-base); font-weight: 800; line-height: 1.25; letter-spacing: -.025em; }
.job .addr { display: flex; gap: 4px; color: var(--muted); font-size: var(--fs-xs); margin-bottom: var(--s-2); line-height: 1.4; }
.job .addr svg { width: 12px; height: 12px; margin-top: 2px; flex: none; }
.job .meta { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: var(--s-2); }
.tag { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: var(--r-pill); background: var(--bg); color: var(--ink-2); border: 1px solid var(--line); }
.tag.sample { background: var(--black); color: var(--lime); border-color: var(--black); letter-spacing: .1em; font-weight: 800; }
.tag.owner-James { background: #e6edf8; color: #2a5390; border-color: #d0dcf0; }
.tag.owner-Morvell { background: #f1e8f6; color: #683789; border-color: #e1d2ec; }
.tag.owner-Unassigned { background: transparent; color: var(--muted); border-style: dashed; border-color: var(--line-2); }
.job .price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; flex-wrap: wrap; padding-top: var(--s-2); border-top: 1px solid var(--line); }
.job .price { font-weight: 900; font-size: 1.3rem; color: var(--ink); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.job .price.none { font-size: var(--fs-xs); color: var(--muted); font-weight: 700; letter-spacing: 0; }
.job .price small { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: 0; }
.job .date { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); color: var(--ink-2); font-weight: 600; }
.job .date svg { width: 12px; height: 12px; }
.job .svc { font-size: var(--fs-xs); color: var(--muted); margin-top: 2px; }
.job .notes { font-size: var(--fs-xs); color: var(--ink-2); background: var(--bg); border-left: 2px solid var(--lime); padding: 6px 8px; margin-top: var(--s-2); white-space: pre-wrap; max-height: 4.8em; overflow: hidden; line-height: 1.45; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.job .controls { display: grid; grid-template-columns: 1fr; gap: 6px; margin-top: var(--s-3); }
.job .controls select { min-height: 32px; padding: 4px 30px 4px 10px; font-size: var(--fs-xs); font-weight: 700; border-radius: var(--r-sm); background-position: right 8px center; background-size: 14px; }
.job .actions { display: flex; gap: 6px; margin-top: 6px; }
.job .actions .btn { flex: 1; }
dialog { border: 0; border-radius: var(--r-xl); padding: 0; width: min(620px, 94vw); box-shadow: 0 30px 80px rgba(0,0,0,.3); color: var(--ink); background: var(--surface); }
dialog::backdrop { background: rgba(14, 15, 12, .55); backdrop-filter: blur(2px); }
dialog .dlg-head { padding: var(--s-5) var(--s-6) var(--s-3); border-bottom: 2px solid var(--black); margin: 0 var(--s-6); padding-left: 0; padding-right: 0; }
dialog .dlg-head strong { font-size: var(--fs-xl); font-weight: 900; letter-spacing: -.035em; }
dialog .dlg-body { padding: var(--s-5) var(--s-6) var(--s-3); max-height: 68vh; overflow: auto; }
dialog .dlg-foot { padding: var(--s-4) var(--s-6) var(--s-5); display: flex; gap: var(--s-3); justify-content: flex-end; border-top: 1px solid var(--line); }
.storage-warning { background: var(--red-600); color: #fff; padding: 10px 20px; text-align: center; font-weight: 700; }

/* ---------- Footer (black bar) ---------- */
footer#site-footer { background: var(--black); color: #b9bab2; font-size: var(--fs-sm); padding: var(--s-7) 0 var(--s-5); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-6); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: var(--s-5); } }
footer .brand-name { color: #fff; }
footer h4 { color: var(--lime); font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .2em; margin-bottom: var(--s-3); }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { padding: 6px 0; border-bottom: 1px solid #2a2b27; }
footer a { color: #e9e9e4; text-decoration: none; }
footer a:hover { color: var(--lime); }
footer :focus-visible { outline-color: var(--lime); }
.footer-bottom { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid #2a2b27; display: flex; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; font-size: var(--fs-xs); color: #8c8d86; }

@media (max-width: 600px) {
  .container { padding: 0 var(--s-4); }
  .card { padding: var(--s-5); }
  .page-head { padding: var(--s-6) 0 var(--s-5); }
  .quote-head, .quote-body { padding-left: var(--s-5); padding-right: var(--s-5); }
  .cta-bar { padding: var(--s-6) var(--s-5); }
  .brand-name { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.breakdown td.empty-quote { border: 0; padding: var(--s-5) 0 var(--s-3); text-align: center; color: var(--muted); font-size: var(--fs-sm); }
.breakdown td.empty-quote svg { width: 36px; height: 36px; margin: 0 auto var(--s-2); color: var(--line-2); }
footer .brand img { border-radius: 7px; box-shadow: 0 0 0 1px #3a3b36; }
