/* BAPPER — styles.css v2 — professional light: white ground, navy ink, one electric accent.
   NOTE: legacy token names kept so page markup needs no changes — values are the light theme:
   --navy-deep = page background (near-white), --white = ink (deep navy). */
:root {
  --navy-deep: #fafbfd;          /* page background */
  --navy: #f1f4fa;               /* soft panel */
  --navy-hi: #e6ecf7;            /* deeper panel */
  --electric: #0160fe;
  --electric-soft: #0a54d0;      /* darkened for contrast on white */
  --white: #0b1633;              /* ink */
  --dim: #46516e;                /* body gray-navy */
  --dimmer: #6b7690;             /* secondary gray */
  --line: rgba(11, 22, 51, 0.10);
  --line-strong: rgba(11, 22, 51, 0.22);
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(11,22,51,0.04), 0 8px 28px rgba(11,22,51,0.06);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--navy-deep);
  color: var(--white);
  font-family: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--electric-soft); text-decoration: none; }
a:hover { color: var(--electric); }
a:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; }
section, #machine, #offer, #work, #pillars, #contrast, #founder, #faq, #familiar { scroll-margin-top: 84px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---- the slash motif (from the logo's accent) ---- */
.slash { display: inline-block; width: 26px; height: 12px; background: var(--electric); transform: skewX(-30deg); border-radius: 1px; }
.slash.sm { width: 16px; height: 8px; }

/* ---- nav ---- */
header { position: sticky; top: 0; z-index: 50; background: rgba(250,251,253,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 28px; min-height: 68px; flex-wrap: wrap; padding: 10px 24px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { height: 34px; width: 34px; border-radius: 7px; }
.brand span { font-weight: 700; font-size: 17px; letter-spacing: 0.22em; color: var(--white); }
.nav a.item { color: var(--dim); font-size: 15px; font-weight: 500; }
.nav a.item:hover { color: var(--white); }
.btn { display: inline-block; background: var(--electric); color: #ffffff; font-weight: 700; font-size: 17px;
  padding: 13px 26px; border-radius: 8px; letter-spacing: 0.01em; transition: transform .12s ease, box-shadow .12s ease; }
/* a document's button presses; it does not lift and glow */
.btn:hover { color: #ffffff; box-shadow: inset 0 -2px 0 rgba(0,0,0,0.18); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: var(--card); border: 1px solid var(--line-strong); color: var(--white); font-weight: 500; }
.btn.ghost:hover { color: var(--white); border-color: var(--dim); box-shadow: inset 0 -2px 0 rgba(0,0,0,0.18); }
.nav .btn { padding: 10px 20px; font-size: 15px; }

/* ---- hero ---- */
.hero { padding: 96px 24px 64px; }
.hero .loc { display: inline-flex; align-items: center; gap: 10px; color: var(--dimmer); font-size: 15px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 22px; }
.hero .loc::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--electric); }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.hero h2 { font-size: clamp(21px, 3vw, 32px); font-weight: 500; color: var(--electric-soft); margin-top: 16px; }
.hero p.lead { max-width: 640px; color: var(--dim); font-size: 19px; margin-top: 26px; }
.hero p.lead b { color: var(--white); }
.hero .who-for { color: var(--dimmer); font-size: 15px; max-width: 46ch; margin: 16px 0 4px; }
.cta-row { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; align-items: center; }
.capacity { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; font-size: 15px; color: var(--dim);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; box-shadow: var(--shadow); }
.capacity i { width: 8px; height: 8px; border-radius: 50%; background: #14a44d; flex-shrink: 0; }
.capacity b { color: var(--white); }
.anti { margin-top: 58px; color: var(--dimmer); font-size: 15px; max-width: 640px; border-left: 3px solid var(--electric); padding-left: 16px; }

/* ---- sections ---- */
section { padding: 84px 0; border-top: 1px solid var(--line); }
/* rhythm by importance, and sections told apart by ground rather than a hairline */
#breaks-first, #offer { padding: 104px 0; }
#how, #faq { padding: 72px 0; }
#familiar, #nothing-to-learn, #how { background: rgba(11,22,51,0.018); border-top: none; }
.kicker { display: flex; align-items: center; gap: 12px; color: var(--dimmer); font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 18px; }
h3.title { font-size: clamp(28px, 4.2vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; }
.sub { color: var(--dim); margin-top: 14px; max-width: 620px; font-size: 19px; }
.sub b { color: var(--white); }

/* "sound familiar" empathy cards */
.gripes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 44px; }
.gripe { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--electric); border-radius: 12px;
  padding: 24px 26px; font-size: 17px; color: var(--white); font-weight: 500; box-shadow: var(--shadow); }
.gripe span { display: block; color: var(--dimmer); font-weight: 400; font-size: 15px; margin-top: 10px; }
.gripes-close { margin-top: 30px; color: var(--dim); font-size: 17px; max-width: 640px; }
.gripes-close b { color: var(--white); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 48px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 28px; box-shadow: var(--shadow); }
.step .n { font-size: 15px; font-weight: 700; color: var(--electric-soft); background: var(--navy); border-radius: 999px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; }
.step h4 { font-size: 20px; margin: 14px 0 10px; }
.step p { color: var(--dim); font-size: 15px; }
.step p b { color: var(--white); }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; margin-top: 48px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 34px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.pillar h4 { font-size: 25px; }
.pillar .tag { color: var(--electric-soft); font-style: italic; font-size: 17px; margin-bottom: 8px; }
.pillar ul { list-style: none; margin: 12px 0 18px; display: flex; flex-direction: column; gap: 12px; }
.pillar li { color: var(--dim); font-size: 15px; padding-left: 22px; position: relative; }
.pillar li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 6px; background: var(--electric); transform: skewX(-30deg); }
.pillar li b { color: var(--white); }
.pillar a.more { margin-top: auto; font-weight: 700; }

/* machine */
.machine { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; margin-top: 48px; }
.gear { border: 1px solid var(--line); border-radius: 12px; padding: 26px; background: var(--card); box-shadow: var(--shadow); }
.gear h5 { font-size: 19px; margin-bottom: 8px; }
.gear p { color: var(--dim); font-size: 15px; }
.machine-close { margin-top: 34px; color: var(--dim); max-width: 680px; font-size: 17px; }
.machine-close b { color: var(--white); }

/* terminal (real-tooling visual — stays dark on purpose) */
.term { margin-top: 44px; background: #0a1128; border: 1px solid rgba(11,22,51,0.4); border-radius: 12px; overflow: hidden; max-width: 760px; box-shadow: var(--shadow); }
.term .bar { display: flex; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(250,251,253,0.1); }
.term .bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(250,251,253,0.25); }
.term pre { padding: 20px 22px; font: 14px/1.7 ui-monospace, 'Cascadia Code', Consolas, monospace; color: #9aa6c8; overflow-x: auto; }
.term pre b { color: #fafbfd; font-weight: 500; }
.term pre .c { color: #3d84ff; }

/* contrast */
.contrast { background: var(--navy); border-radius: 16px; padding: 48px; margin-top: 8px; }
.contrast .punch { font-size: 21px; font-weight: 700; margin-top: 22px; color: var(--white); }
table.vs { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 15px; min-width: 560px; }
table.vs th, table.vs td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
table.vs th { color: var(--dim); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; }
table.vs td:first-child { color: var(--dim); }
table.vs td.us { color: var(--white); font-weight: 600; }
table.vs td.them { color: var(--dimmer); }
.vs-scroll { overflow-x: auto; }
.vs-hint { display: none; color: var(--dimmer); font-size: 12px; margin-top: 10px; }

/* founder */
/* square and large: this page is a document, and documents have photographs
   stapled in, not avatars. No photo yet? .no-photo ships the quote full-width. */
.founder { display: grid; grid-template-columns: 168px 1fr; gap: 28px; align-items: start; margin-top: 40px; }
.founder.no-photo { grid-template-columns: 1fr; }
.founder.no-photo .avatar { display: none; }
.founder .avatar { width: 168px; height: 168px; border-radius: 3px; background: var(--navy-hi); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.founder .avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder blockquote, .founder .note { color: var(--dim); font-size: 17px; }
.founder blockquote b, .founder .note b { color: var(--white); }
.founder .note p { margin-bottom: 18px; }
.founder .note h4 { color: var(--white); font-size: 19px; margin: 26px 0 10px; }
.founder .sig { margin-top: 16px; font-weight: 700; font-size: 15px; color: var(--white); letter-spacing: 0.2em; }

/* faq */
.faq { margin-top: 40px; display: flex; flex-direction: column; gap: 8px; }
details { border: 1px solid var(--line); border-radius: 10px; background: var(--card); box-shadow: var(--shadow); }
details summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--electric-soft); font-size: 22px; font-weight: 400; flex-shrink: 0; }
details[open] summary::after { content: "\2212"; }
details p { padding: 0 22px 20px; color: var(--dim); font-size: 15px; }

/* final cta */
.finale { text-align: center; padding: 100px 24px; }
.finale h3 { font-size: clamp(30px, 5vw, 52px); font-weight: 700; line-height: 1.15; }
.finale p { color: var(--dim); margin-top: 18px; }
.finale p .quiet { color: var(--dimmer); }
.finale .btn { margin-top: 30px; font-size: 19px; padding: 16px 36px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 60px; color: var(--dim); font-size: 15px; background: var(--navy); }
/* the footer is a drawing too: nameplate + links on one line, the contact
   record on its own row, the tagline set as a stamped caption. */
.foot { display: grid; grid-template-columns: auto auto auto 1fr; gap: 12px 20px; align-items: center; }
.foot .brandline { display: flex; align-items: center; gap: 10px; grid-column: 1; grid-row: 1; }
.foot .brandline span { font-weight: 700; letter-spacing: 0.24em; color: var(--dim); font-size: 12px; }
.foot a { grid-row: 1; }
.foot > span { grid-column: 1 / -1; grid-row: 2; font-size: 13px; color: var(--dim); }
.foot em { grid-column: 1 / -1; grid-row: 3; font-style: normal; font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.14em; color: var(--white); }

/* work grid */
.workgrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 48px; }
.workcard { aspect-ratio: 9/16; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--navy-hi), var(--navy)); position: relative; overflow: hidden; display: flex; align-items: flex-end; box-shadow: var(--shadow); }
.workcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.workcard .meta { position: relative; padding: 16px; width: 100%; background: linear-gradient(transparent, rgba(6,11,43,0.9)); font-size: 15px; color: #fafbfd; }
.workcard .servtag { position: absolute; top: 14px; left: 14px; background: rgba(6,11,43,0.85); color: #7fb0ff; font-weight: 700; font-size: 10.5px; letter-spacing: 0.16em; padding: 6px 10px; border-radius: 5px; z-index: 2; }
.workcard.empty { align-items: center; justify-content: center; }
.workcard.empty p { color: var(--dimmer); font-size: 15px; text-align: center; padding: 0 20px; }

/* stats */
.stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 44px; }
.stat .num { font-size: 38px; font-weight: 700; color: var(--white); }
.stat .lab { color: var(--dimmer); font-size: 15px; margin-top: 6px; }

/* pillar-page blocks */
.block { margin-top: 56px; }
.block h4 { font-size: 26px; margin-bottom: 10px; }
.block p.blurb { color: var(--dim); max-width: 680px; }
.funnel { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 44px; }
.funnel .stage { border: 1px solid var(--line); border-radius: 10px; padding: 20px; background: var(--card); box-shadow: var(--shadow); }
.funnel .stage .k { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; color: var(--electric-soft); }
.funnel .stage h4 { font-size: 17px; margin-top: 8px; }
.funnel .stage p { color: var(--dim); font-size: 15px; }
.outcomes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; margin-top: 44px; }
.outcome { border: 1px solid var(--line); border-radius: 12px; padding: 28px; background: var(--card); font-size: 19px; font-weight: 500; box-shadow: var(--shadow); }
.outcome span { display: block; color: var(--dimmer); font-size: 15px; font-weight: 400; margin-top: 10px; }
.shapes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 44px; }

/* reveal animation — JS opts IN; without JS everything is visible */
@media (prefers-reduced-motion: no-preference) {
  html.js .up { opacity: 0; transform: translateY(10px); transition: opacity .36s ease, transform .36s ease; }
  html.js .up.in { opacity: 1; transform: none; }
  /* small repeated cards never animate: six identical tiles arriving at once
     is the scroll signature of a generated page. */
  html.js .svc.up, html.js .gear.up, html.js .step.up { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 980px) {
  .workgrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gripes { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .steps, .pillars, .machine, .outcomes, .shapes { grid-template-columns: 1fr; }
  .funnel { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .founder { grid-template-columns: 1fr; }
  .contrast { padding: 30px 22px; }
  .hero { padding: 64px 24px 48px; }
  .nav { gap: 14px; }
  .nav a.item { font-size: 13px; }
  .brand span { font-size: 15px; letter-spacing: 0.16em; }
  .vs-hint { display: block; }
}
@media (max-width: 620px) {
  .workgrid { grid-template-columns: 1fr; }
  .workcard { max-width: 340px; margin: 0 auto; width: 100%; }
  /* the title block wrapped ragged and left dangling vertical rules: rule the rows instead */
  .titleblock { display: grid; grid-template-columns: 1fr 1fr; }
  .titleblock .tb { border-right: none; border-bottom: 1px solid var(--line); }
  .titleblock .tb:nth-last-child(-n+2) { border-bottom: none; }
  /* footer stacks: nameplate, links, contact record, tagline */
  .foot { grid-template-columns: 1fr; gap: 10px; }
  .foot .brandline { grid-row: 1; }
  .foot a:nth-of-type(1) { grid-row: 2; }
  .foot a:nth-of-type(2) { grid-row: 3; }
  .foot a:nth-of-type(3) { grid-row: 4; }
  .foot > span { grid-row: 5; }
  .foot em { grid-row: 6; }
}


/* ============ v3 "WORK ORDER" layer — blueprint paper, annotations, line items ============ */
:root { --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace; --stamp: #1e5f3a; /* inspection green */ }
body {
  /* drawing grid in ink, with real major/minor structure (major painted on top) */
  background-image:
    linear-gradient(rgba(11,22,51,0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,22,51,0.085) 1px, transparent 1px),
    linear-gradient(rgba(11,22,51,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,22,51,0.05) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
}
header { background: rgba(250,251,253,0.92); }

/* annotation label (drawing callouts) */
.ann { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; color: var(--electric-soft); text-transform: uppercase; }

/* dimension line under hero headline */
.dim-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; max-width: 560px; color: var(--dimmer); }
@media (max-width: 620px) { .dim-line .rail { display: none; } .dim-line { gap: 6px 14px; } }
body { overflow-x: hidden; }
.dim-line .rail { flex: 1; height: 1px; background: var(--dimmer); position: relative; opacity: .65; }
.dim-line .rail::before, .dim-line .rail::after { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: var(--dimmer); }
.dim-line .rail::before { left: 0; } .dim-line .rail::after { right: 0; }
.dim-line span { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; white-space: nowrap; }

/* inspection stamp */
/* a real stamp is square-ish, inked, and sits IN the paper - multiply is the trick */
.stamp { display: inline-block; transform: rotate(-3.5deg); border: 2.5px solid var(--stamp); color: var(--stamp);
  font-family: var(--mono); font-weight: 700; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 9px 16px 8px; border-radius: 2px; opacity: .86;
  box-shadow: inset 0 0 0 1px rgba(30,95,58,0.35); mix-blend-mode: multiply; }

/* estimate / work-order document */
.workorder { margin-top: 48px; background: #fff; border: 1px solid var(--line-strong); border-radius: 4px;
  box-shadow: 0 2px 6px rgba(11,22,51,0.06), 0 24px 60px rgba(11,22,51,0.08); max-width: 780px; overflow: hidden; }
.workorder .wo-head { display: flex; justify-content: space-between; gap: 16px; padding: 20px 28px; border-bottom: 2px solid var(--white); flex-wrap: wrap; }
.workorder .wo-head .who { font-weight: 700; font-size: 17px; }
.workorder .wo-head .who small { display: block; font-weight: 400; color: var(--dimmer); font-size: 13px; margin-top: 2px; }
.workorder .wo-head .meta { font-family: var(--mono); font-size: 12px; color: var(--dimmer); text-align: right; line-height: 1.8; }
.wo-rows { width: 100%; border-collapse: collapse; }
.wo-rows td { padding: 17px 28px; border-bottom: 1px solid var(--line); vertical-align: top; }
.wo-rows tr:last-child td { border-bottom: none; }
.wo-rows .item b { display: block; font-size: 17px; }
.wo-rows .item span { color: var(--dim); font-size: 15px; }
.wo-rows .price { text-align: right; font-family: var(--mono); font-size: 15px; white-space: nowrap; color: var(--dim); width: 1%; }
.wo-total td { background: var(--navy); font-weight: 700; border-top: 3px double var(--line-strong); }
.wo-total .price { font-size: 17px; color: var(--white); }
.wo-foot { padding: 18px 28px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--navy); border-top: 1px solid var(--line); }
.wo-foot .fine { color: var(--dimmer); font-size: 13px; max-width: 400px; }

/* services grid */
.services { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 48px; }
.svc { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 26px; box-shadow: var(--shadow); position: relative; }
.svc .num { font-family: var(--mono); font-size: 12px; color: var(--dimmer); letter-spacing: 0.1em; }
.svc h4 { font-size: 19px; margin: 10px 0 8px; }
.svc p { color: var(--dim); font-size: 15px; }
.svc .free-tag { position: absolute; top: 20px; right: 20px; font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; color: var(--electric); border: 1.5px solid var(--electric); border-radius: 4px; padding: 3px 8px; }

/* title block footer strip */
.titleblock { border: 1px solid var(--line-strong); border-radius: 4px; display: flex; flex-wrap: wrap; margin: 0 24px 40px; max-width: 1120px; background: #fff; }
@media (min-width: 1168px) { .titleblock { margin: 0 auto 40px; } }
.titleblock .tb { padding: 12px 20px; border-right: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--dimmer); text-transform: uppercase; }
.titleblock .tb b { display: block; color: var(--white); font-size: 13px; margin-top: 3px; letter-spacing: 0.04em; }
.titleblock .tb:last-child { border-right: none; }

@media (max-width: 860px) {
  .services { grid-template-columns: 1fr; }
  .workorder .wo-head .meta { text-align: left; }
}

/* work order stacks into a receipt on phones (the money block is the worst-rendering
   thing on the page at 375px, and stacked reads MORE like a real work order) */
@media (max-width: 560px) {
  .wo-rows, .wo-rows tbody, .wo-rows tr, .wo-rows td { display: block; width: auto; }
  /* the whitespace between the two <td> blocks was rendering as a bare line inside
     the row - that is the "gap" that split the navy total into two bands. */
  .wo-rows tr { line-height: 0; }
  .wo-rows td { padding: 16px 20px 6px; border-bottom: none; line-height: 1.65; }
  .wo-rows .price { text-align: left; padding: 0 20px 16px; border-bottom: 1px solid var(--line); width: auto; font-size: 16px; white-space: normal; }
  .wo-rows .price::before { content: "AMOUNT "; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--dimmer); }
  .wo-rows tr:last-child .price { border-bottom: none; }
  .wo-total { background: var(--navy); }
  .wo-total .price { font-size: 17px; border-top: none; }
  .wo-total .price::before { content: none; }
  .workorder .wo-head, .wo-foot { padding-left: 20px; padding-right: 20px; }
}


/* ============ hero: the empty sheet (v3.3 - the CGI office render is retired) ============
   An honest sheet of paper beats a stock office. The hero gets its own, denser
   grid plus a 1px inset drawing border so it reads as a sheet, not a slab. */
.hero-bg {
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(rgba(11,22,51,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,22,51,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  box-shadow: inset 0 0 0 1px var(--line);
  border-bottom: 1px solid var(--line);
}
.brand img.lockup { height: 36px; width: auto; border-radius: 0; display: block; }


/* ============ v5 "INSPECTION" layer — what breaks first + where it lands ============ */
/* ---------- #breaks-first : the inspection card ---------- */
#breaks-first { scroll-margin-top: 84px; }

#breaks-first .bf-panel {
  margin-top: 34px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(11,22,51,0.06), 0 24px 60px rgba(11,22,51,0.08);
  overflow: hidden;
  max-width: 820px;
}

/* audience toggle — hidden when JS is off, because there is nothing to switch to */
#breaks-first .bf-audience { display: none; }
html.js #breaks-first .bf-audience {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 16px 18px;
  background: var(--navy);
  border-bottom: 1px solid var(--line-strong);
}
#breaks-first .bf-aud {
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  width: 100%;
  text-align: left;
  color: var(--dim);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 16px;
  cursor: pointer;
}
#breaks-first .bf-aud:hover { color: var(--white); border-color: var(--dim); }
#breaks-first .bf-aud:focus-visible { outline: 2px solid var(--electric); outline-offset: 2px; }
#breaks-first .bf-aud[aria-pressed="true"] {
  /* the chosen one is the only white card on the navy tray */
  background: var(--card);
  color: var(--white);
  font-weight: 700;
  border-color: var(--electric);
  box-shadow: inset 3px 0 0 var(--electric);
}

/* list header, styled like the work-order head */
#breaks-first .bf-head {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 18px 14px;
  border-bottom: 2px solid var(--white);
}
#breaks-first .bf-head-title { font-weight: 700; font-size: 17px; }
#breaks-first .bf-head-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dimmer);
}

/* rows */
#breaks-first .bf-rows { display: block; }
#breaks-first .bf-item { border-bottom: 1px solid var(--line); }
#breaks-first .bf-item:last-child { border-bottom: none; }

#breaks-first .bf-choice {
  font: inherit;
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: transparent;
  border: none;
  border-left: 3px solid transparent;
  color: var(--white);
  cursor: default;
}
html.js #breaks-first .bf-choice { cursor: pointer; }
html.js #breaks-first .bf-choice:hover { background: var(--navy); }
#breaks-first .bf-choice:focus-visible { outline: 2px solid var(--electric); outline-offset: -3px; }
#breaks-first .bf-n {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--dimmer);
}
#breaks-first .bf-choice-text { font-size: 17px; font-weight: 500; line-height: 1.4; }

/* radio mark — the logo slash inside a square, drawn only when chosen */
#breaks-first .bf-mark { display: none; }
html.js #breaks-first .bf-mark {
  display: block;
  width: 17px; height: 17px;
  border: 1.5px solid var(--line-strong);
  border-radius: 3px;
  position: relative;
  flex-shrink: 0;
}
#breaks-first .bf-item.is-open .bf-mark { border-color: var(--electric); }
#breaks-first .bf-item.is-open .bf-mark::after {
  content: "";
  position: absolute;
  left: 3px; top: 5px;
  width: 9px; height: 5px;
  background: var(--electric);
  transform: skewX(-30deg);
  border-radius: 1px;
}
#breaks-first .bf-item.is-open .bf-choice {
  background: var(--navy);
  border-left-color: var(--electric);
}
#breaks-first .bf-item.is-open .bf-n { color: var(--electric-soft); }

/* the clog card — open by default, collapsed only once JS is running */
#breaks-first .bf-card {
  padding: 4px 18px 24px;
  border-top: 1px solid var(--line);
  background: var(--navy);
}
html.js #breaks-first .bf-card { display: none; }
html.js #breaks-first .bf-item.is-open .bf-card { display: block; }

#breaks-first .bf-symptom {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 500;
  color: var(--white);
  border-left: 3px solid var(--electric);
  padding-left: 14px;
}
#breaks-first .bf-headline {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 20px;
}
#breaks-first .bf-install { color: var(--dim); font-size: 15px; margin-top: 10px; max-width: 62ch; }

#breaks-first .bf-facts { margin-top: 18px; display: grid; gap: 14px; }
#breaks-first .bf-fact {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
}
#breaks-first .bf-fact dt {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dimmer);
}
#breaks-first .bf-fact dd { margin-top: 6px; color: var(--dim); font-size: 15px; }
#breaks-first .bf-assume {
  font-family: var(--mono);
  font-size: .82em;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--dimmer);
  background: var(--navy-hi);
  border-radius: 3px;
  padding: 1px 5px;
  white-space: normal;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

#breaks-first .bf-cta-note { color: var(--dimmer); font-size: 15px; max-width: 46ch; }
#breaks-first .bf-stats {
  margin-top: 22px;
  color: var(--dimmer);
  font-size: 13px;
  max-width: 620px;
}
#breaks-first .bf-stats sup { font-family: var(--mono); font-size: 10px; }

@media (prefers-reduced-motion: no-preference) {
  html.js #breaks-first .bf-item.is-open .bf-card { animation: bfOpen .28s ease both; }
  #breaks-first .bf-aud, #breaks-first .bf-choice { transition: background .14s ease, border-color .14s ease, color .14s ease; }
}
@keyframes bfOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (min-width: 560px) {
  html.js #breaks-first .bf-audience { grid-template-columns: 1fr 1fr; }
  #breaks-first .bf-choice, #breaks-first .bf-head, #breaks-first .bf-card { padding-left: 26px; padding-right: 26px; }
  #breaks-first .bf-card { padding-bottom: 28px; }
  #breaks-first .bf-facts { grid-template-columns: 1fr 1fr; }
  #breaks-first .bf-headline { font-size: 24px; }
}

/* ---------- #nothing-to-learn : the "where it lands" strip ---------- */
#nothing-to-learn { scroll-margin-top: 84px; }
#nothing-to-learn .ntl-body { color: var(--dim); margin-top: 14px; max-width: 620px; font-size: 19px; }
#nothing-to-learn .ntl-places {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 36px;
}
#nothing-to-learn .ntl-place {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
#nothing-to-learn .ntl-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dimmer);
}
#nothing-to-learn .ntl-n {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
  color: var(--dimmer);
}
#nothing-to-learn .ntl-rail {
  flex: 1;
  height: 1px;
  background: var(--dimmer);
  opacity: .55;
  position: relative;
}
#nothing-to-learn .ntl-rail::before,
#nothing-to-learn .ntl-rail::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 1px; height: 9px;
  background: var(--dimmer);
}
#nothing-to-learn .ntl-rail::before { left: 0; }
#nothing-to-learn .ntl-rail::after { right: 0; }
#nothing-to-learn .ntl-text { margin-top: 12px; font-size: 17px; font-weight: 500; color: var(--white); }

@media (min-width: 860px) {
  #nothing-to-learn .ntl-places { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

/* phone header: brand + CTA only; section links live in the footer.
   The CTA is now a phone number, which is long — the lockup shrinks and the
   button is allowed to wrap so nothing gets clipped in a 327px content box. */
@media (max-width: 620px) {
  .nav { flex-wrap: nowrap; justify-content: space-between; gap: 12px; }
  .nav a.item { display: none; }
  .nav .btn { padding: 13px 16px; font-size: 15px; white-space: normal; line-height: 1.25; text-align: center; }
  .brand img.lockup, .lp-header .lockup { height: 28px; max-width: 100%; }
  .lp-header .wrap { gap: 12px; }
}


/* ============ v6 layer — the proof note, /missed-calls, /start ============ */

/* ---------- the proof note (replaces the terminal prop) ---------- */
.proofnote {
  margin-top: 44px;
  max-width: 760px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 28px 26px;
  box-shadow: 0 2px 6px rgba(11,22,51,0.06), 0 24px 60px rgba(11,22,51,0.08);
}
.proofnote .proofnote-lead { color: var(--dim); font-size: 17px; }
.proofnote blockquote {
  margin-top: 20px;
  color: var(--white);
  font-size: 17px;
  font-weight: 500;
  border-left: 3px solid var(--electric);
  padding-left: 16px;
}
.proofnote .proofnote-close { margin-top: 22px; color: var(--dim); font-size: 15px; }

/* ---------- shared: the cell-number microcopy under a tel: CTA ---------- */
.bf-cta-note, .cta-note { color: var(--dimmer); font-size: 15px; max-width: 46ch; }
p.bf-cta-note, p.cta-note { margin-top: 16px; }

/* ---------- /missed-calls : the cold landing page ---------- */
/* Not sticky: the phone CTA wraps to two lines at 375px and a 120px bar would
   eat a sixth of the screen. The tel: CTA repeats three times down the page. */
.lp-header { position: static; border-bottom: 1px solid var(--line); background: rgba(250,251,253,0.92); }
.lp-header .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
.lp-header .lockup { height: 34px; width: auto; display: block; }
.lp-header .btn { margin-left: auto; }

.lp { max-width: 760px; }
.lp h1 { font-size: clamp(32px, 6vw, 54px); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
.lp .lp-sub { color: var(--dim); font-size: 19px; margin-top: 20px; }
.lp .lp-seg { color: var(--dimmer); font-size: 15px; margin-top: 14px; max-width: 52ch; }
.lp h2.lp-h { font-size: clamp(24px, 4vw, 34px); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; margin-top: 8px; }
.lp p { color: var(--dim); }
.lp p + p { margin-top: 14px; }
.lp section { padding: 56px 0; border-top: 1px solid var(--line); }
.lp section:first-of-type { border-top: none; }

/* the two Tuesdays */
.tuesdays { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 30px; }
@media (min-width: 720px) { .tuesdays { grid-template-columns: 1fr 1fr; } }
.tuesday { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 24px 22px; box-shadow: var(--shadow); }
.tuesday.now { border-left: 3px solid var(--line-strong); }
.tuesday.after { border-left: 3px solid var(--electric); }
.tuesday h4 { font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dimmer); }
.tuesday.after h4 { color: var(--electric-soft); }
.tuesday ol { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.tuesday li { display: grid; grid-template-columns: 62px 1fr; gap: 12px; align-items: baseline; color: var(--dim); font-size: 15px; }
.tuesday li b { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--white); font-weight: 700; }
.tuesday .out { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--white); }

/* four moving parts */
.parts { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 28px; counter-reset: part; }
@media (min-width: 720px) { .parts { grid-template-columns: 1fr 1fr; } }
.part { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 18px 20px; box-shadow: var(--shadow); }
.part .k { font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--electric-soft); }
.part p { margin-top: 8px; font-size: 15px; }

/* the demo slot */
.demo { margin-top: 28px; max-width: 560px; }
/* The background carries the same card as the poster, so the slot still reads
   as "recording coming" while assets/callback_demo.mp4 does not exist yet.
   Drop the file in and the video paints over it — no CSS change needed. */
.demo video {
  width: 100%; height: auto; min-height: 176px; display: block;
  border: 1px solid var(--line-strong); border-radius: 6px;
  background: #0a1128 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 360'%3E%3Crect width='640' height='360' fill='%230a1128'/%3E%3Ctext x='320' y='172' font-family='monospace' font-size='26' letter-spacing='2' fill='%239aa6c8' text-anchor='middle'%3E40-SECOND RECORDING%3C/text%3E%3Ctext x='320' y='208' font-family='monospace' font-size='17' fill='%233d84ff' text-anchor='middle'%3Enot made yet%3C/text%3E%3C/svg%3E") center / contain no-repeat;
}
.demo .demo-note { color: var(--dimmer); font-size: 15px; margin-top: 10px; }

/* acceptance criterion */
.criterion { margin-top: 26px; background: var(--navy); border: 1px solid var(--line-strong); border-left: 3px solid var(--electric); border-radius: 4px; padding: 22px 24px; }
.criterion .k { font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--electric-soft); }
.criterion p { margin-top: 10px; color: var(--white); font-size: 17px; font-weight: 500; }

/* who it is / the face */
.whois { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 28px; align-items: start; }
@media (min-width: 620px) { .whois { grid-template-columns: 96px 1fr; gap: 26px; } }
.whois .avatar { width: 96px; height: 96px; border-radius: 12px; background: var(--navy-hi); overflow: hidden; }
.whois .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* the CAN-SPAM / contact footer on a page with no nav */
.lp-foot { border-top: 1px solid var(--line); background: var(--navy); padding: 34px 0 54px; }
.lp-foot .wrap { max-width: 760px; }
.lp-foot p { color: var(--dimmer); font-size: 13px; }
.lp-foot p + p { margin-top: 8px; }
.lp-foot b { color: var(--dim); }

/* ---------- /start : the written-it-down form ---------- */
.frm { margin-top: 34px; max-width: 620px; background: var(--card); border: 1px solid var(--line-strong); border-radius: 4px;
  box-shadow: 0 2px 6px rgba(11,22,51,0.06), 0 24px 60px rgba(11,22,51,0.08); padding: 26px 24px 28px; }
.frm .field { display: block; margin-bottom: 20px; }
.frm .field > span { display: block; font-weight: 700; font-size: 15px; margin-bottom: 7px; }
.frm .field small { display: block; font-weight: 400; color: var(--dimmer); font-size: 13px; margin-top: 3px; }
.frm input[type="text"], .frm input[type="tel"], .frm textarea, .frm select {
  font: inherit; font-size: 17px; width: 100%; max-width: 100%; color: var(--white); background: var(--navy-deep);
  border: 1px solid var(--line-strong); border-radius: 6px; padding: 12px 14px; }
.frm textarea { min-height: 92px; resize: vertical; }
.frm input:focus-visible, .frm textarea:focus-visible, .frm select:focus-visible { outline: 2px solid var(--electric); outline-offset: 1px; }
.frm .radios { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.frm .radios label { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--dim);
  border: 1px solid var(--line); border-radius: 6px; padding: 11px 13px; cursor: pointer; background: var(--navy-deep); }
.frm .radios input { margin-top: 4px; flex-shrink: 0; accent-color: var(--electric); }
.frm .radios label:hover { border-color: var(--dim); color: var(--white); }
.frm button.btn { font: inherit; font-weight: 700; font-size: 17px; border: none; cursor: pointer; width: 100%; }
.frm .frm-fine { color: var(--dimmer); font-size: 13px; margin-top: 14px; }
.frm .frm-err { color: #b3261e; font-size: 15px; margin-top: 12px; }
.frm-done { margin-top: 34px; max-width: 620px; background: var(--card); border: 1px solid var(--electric); border-left: 3px solid var(--electric);
  border-radius: 4px; padding: 26px 24px; box-shadow: var(--shadow); }
.frm-done h4 { font-size: 22px; }
.frm-done p { color: var(--dim); font-size: 17px; margin-top: 12px; }

/* ============ Council 3 (2026-09-14): the clog rows open, they are not a survey ============ */
/* The FAQ 400px below teaches "+" as the open affordance; the rows now speak the same grammar.
   The logo slash still marks the chosen row. */
html.js #breaks-first .bf-mark { border: none; border-radius: 0; width: 18px; height: 18px; }
html.js #breaks-first .bf-mark::before {
  content: "+";
  position: absolute; left: 0; top: 0; width: 18px; height: 18px;
  line-height: 18px; text-align: center;
  font-family: var(--mono); font-size: 19px; font-weight: 400; color: var(--electric-soft);
}
#breaks-first .bf-item.is-open .bf-mark::before { content: "\2212"; }
#breaks-first .bf-item.is-open .bf-mark::after { display: none; }
#breaks-first .bf-aud-label {
  grid-column: 1 / -1;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--dimmer);
}
/* the tel/written pair swaps order for the online deck; keep the row tidy when it does */
#bf-cta-row .btn { white-space: nowrap; }

/* ============ 2026-09-19: the offer as a spec card, not a receipt (research/34) ============ */
.wo-spec { padding: 6px 28px 4px; }
.wo-spec .spec { padding: 18px 0; border-bottom: 1px solid var(--line); }
.wo-spec .spec:last-child { border-bottom: none; }
.wo-spec .spec > b { display: block; font-size: 17px; color: var(--white); }
.wo-spec .spec p { color: var(--dim); font-size: 15px; margin-top: 6px; max-width: 64ch; }
.wo-spec .spec p b { color: var(--white); font-weight: 600; }
.wo-link { padding: 0 28px 20px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; }
@media (max-width: 560px) { .wo-spec { padding: 4px 20px 2px; } .wo-link { padding: 0 20px 18px; } }

/* offer card v6 + proof strip + tuesday on home (Council 5, 2026-09-21) */
.wo-price { padding: 26px 28px 8px; }
.wo-price .wo-num { font-family: var(--mono); font-weight: 700; font-size: 30px; letter-spacing: -0.01em; color: var(--white); line-height: 1.15; }
.wo-price p { color: var(--dim); font-size: 15px; margin-top: 12px; max-width: 64ch; }
.wo-price p b { color: var(--white); font-weight: 600; }
.wo-ticks { list-style: none; margin: 0; padding: 10px 28px 22px; display: grid; grid-template-columns: 1fr; gap: 9px; }
@media (min-width: 720px) { .wo-ticks { grid-template-columns: 1fr 1fr; } }
.wo-ticks li { position: relative; padding-left: 24px; color: var(--dim); font-size: 15px; }
.wo-ticks li::before { content: "\2713"; position: absolute; left: 2px; top: 0; color: var(--electric); font-weight: 700; }
.wo-guarantee .fine { font-size: 15px; max-width: 560px; color: var(--dim); }
.proof-strip { margin-top: 34px; max-width: 720px; }
.proof-strip .proofnote-lead { color: var(--dim); font-size: 17px; }
.proof-strip blockquote { margin-top: 12px; color: var(--white); font-size: 17px; border-left: 3px solid var(--electric); padding-left: 16px; }
.proof-strip .sig { margin-top: 14px; font-weight: 700; font-size: 13px; letter-spacing: 0.2em; color: var(--white); }
@media (max-width: 719px) { .wo-price .wo-num { font-size: 24px; } }
