/* ==========================================================================
   Judson Garage Doors
   One stylesheet. No framework, no build step.

   Design thesis: the whole positioning is "a company you can verify" (REPORT.md
   principles 1, 3, 4, 6, 10). So the visual language is the language of a
   document that can be checked — a work order. Facts sit in ruled fields with a
   label on the left and a checkable value on the right, set in a technical
   mono. That ruled record is the signature element and it repeats at the hero,
   the pricing table, the promises, the service-area pages and the footer.
   A lead-generation site with no address cannot produce this page.

   Re-branding is three tokens: --signal, --ink, --paper.
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------
   Self-hosted latin subsets so the site has no third-party render-blocking
   request. Archivo carries a width axis — the headline register is wide,
   heavy, uppercase: the lettering on the side of a box truck.               */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-var.woff2') format('woff2-variations');
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('../fonts/publicsans-var.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/plexmono-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/plexmono-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

/* --- Tokens -------------------------------------------------------------- */

:root {
  /* Ground and brand, taken from the logo: its black field, its sky blue,
     and the grey of the sectional door. */
  --ink:        #0a0e12;
  --slab:       #121a21;
  --steel:      #1e2833;
  --paper:      #f5f7f9;
  --paper-2:    #e7ecef;
  --rule:       #d2dae0;
  --rule-dk:    #26333f;
  --door:       #c4cbd1;

  /* Three accents, each with exactly one job.
     Signal = act now (the brand blue). Verify = a checkable fact.
     Alert = stop, do not touch it — safety warnings only. */
  --signal:     #2ca6de;
  --signal-hi:  #4fc4f5;
  --signal-deep:#17739e;
  --verify:     #0f7a54;
  --verify-hi:  #2bbd88;
  --alert:      #d93a22;

  --text:       #101820;
  --muted:      #5d6b77;
  --text-inv:   #eef3f7;
  --muted-inv:  #93a6b4;

  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body:    'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1180px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --band-y: clamp(3.5rem, 8vw, 6.5rem);

  --h1: clamp(2.5rem, 6.6vw, 4.9rem);
  --h2: clamp(1.85rem, 4vw, 3rem);
  --h3: clamp(1.15rem, 1.9vw, 1.5rem);

  --r: 2px;
}

/* --- Reset --------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: clamp(1rem, 0.97rem + 0.18vw, 1.09rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
}

.skip {
  position: absolute; left: -9999px;
  background: var(--signal); color: #fff;
  padding: 0.75rem 1.25rem; z-index: 200;
  font-family: var(--mono); font-size: 0.8rem;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* --- Layout -------------------------------------------------------------- */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 760px; }

.band { padding-block: var(--band-y); }
.band--ink    { background: var(--ink);    color: var(--text-inv); }
.band--slab   { background: var(--slab);   color: var(--text-inv); }
.band--paper2 { background: var(--paper-2); }
.band--tight  { padding-block: clamp(2.25rem, 4.5vw, 3.5rem); }

.band--ink a:not(.btn), .band--slab a:not(.btn) { color: #fff; }

/* Safety warning band — used where the advice is "stop, do not touch it".
   The only place the alert red appears on the site. */
.band--alert { background: var(--alert); color: #fff; }
.band--alert .h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.band--alert .eyebrow { color: rgba(255, 255, 255, 0.82); }
.band--alert .eyebrow::before { background: #fff; }
.band--alert p { line-height: 1.6; }

/* Grid children default to min-width:auto, which lets long words and wide
   display type push the whole page sideways. Never allow it. */
.grid > *, .hero__grid > *, .owner > *, .foot__grid > * { min-width: 0; }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* Two-column section: copy on the left, a record or figure on the right. */
.grid--split { gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.grid--mid { align-items: center; }

/* Vertical rhythm utilities. Deliberately few — if a spacing value is not on
   this list, it probably should not be a one-off. */
.mt-1 { margin-top: 0.9rem; }
.mt-2 { margin-top: 1.1rem; }
.mt-3 { margin-top: 1.25rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 1.75rem; }
.mt-6 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 1.1rem; }
.mb-6 { margin-bottom: 2rem; }
.actions--end { justify-content: flex-end; }
.w-nap { max-width: 24rem; }
.w-read { max-width: 62rem; }

.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: clamp(1.75rem, 3.5vw, 2.75rem); }

/* --- Type ---------------------------------------------------------------- */

.h1, .h2, .h3 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 115%;
  text-transform: uppercase;
  letter-spacing: -0.012em;
  line-height: 0.94;
  text-wrap: balance;
}
.h1 { font-size: var(--h1); line-height: 0.9; }
.h2 { font-size: var(--h2); }
.h3 { font-size: var(--h3); font-stretch: 108%; line-height: 1.08; letter-spacing: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: ""; width: 0.62rem; height: 0.62rem; flex: none;
  background: var(--signal);
}
.band--ink .eyebrow, .band--slab .eyebrow { color: var(--muted-inv); }

.lede {
  font-size: clamp(1.06rem, 1.4vw, 1.28rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
}
.band--ink .lede, .band--slab .lede { color: var(--muted-inv); }

.prose > * + * { margin-top: 1.05rem; }
.prose h2 { font-size: 1.45rem; font-family: var(--display); font-stretch: 110%; font-weight: 700; line-height: 1.15; margin-top: 2.25rem; }
.prose h3 { font-size: 1.1rem; font-weight: 700; margin-top: 1.75rem; }
.prose ul { display: grid; gap: 0.6rem; }
.prose ul li { padding-left: 1.5rem; position: relative; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 0.5rem; height: 2px; background: var(--signal);
}
.prose strong { font-weight: 700; }

.mono { font-family: var(--mono); }
.tnum { font-variant-numeric: tabular-nums; }

/* Unconfirmed client fact. Every starred value is listed in CLIENT-DATA.md.
   Delete this rule once the fill-in table is complete and the class is gone. */
.tbc { border-bottom: 1px dotted var(--signal); }
.tbc::after {
  content: "*"; color: var(--signal); font-size: 0.72em;
  vertical-align: super; line-height: 0; margin-left: 0.1em;
}

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  background: var(--signal); color: #fff;
  border: 2px solid var(--signal); border-radius: var(--r);
  padding: 0.85rem 1.5rem;
  font-family: var(--mono); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--signal-hi); border-color: var(--signal-hi); }
.btn:active { transform: translateY(1px); }

.btn--ghost { background: transparent; color: var(--text); border-color: currentColor; }
.btn--ghost:hover { background: var(--text); color: var(--paper); border-color: var(--text); }
.band--ink .btn--ghost, .band--slab .btn--ghost, .hero .btn--ghost, .phead .btn--ghost { color: #fff; }
.band--ink .btn--ghost:hover, .band--slab .btn--ghost:hover,
.hero .btn--ghost:hover, .phead .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--lg { padding: 1.05rem 1.9rem; font-size: 0.88rem; }
.btn--block { width: 100%; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.textlink {
  font-family: var(--mono); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  text-decoration: none; border-bottom: 2px solid var(--signal);
  padding-bottom: 2px; display: inline-block;
}
.textlink:hover { border-bottom-color: currentColor; }

/* --- Emergency bar ------------------------------------------------------- */
/* A broken spring is an emergency search. Phone, text and booking never scroll
   out of reach. (SITE-PLAN homepage section 1.) */

.bar {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink); color: var(--text-inv);
  border-bottom: 1px solid var(--rule-dk);
}
.bar__in {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.35rem;
  padding-block: 0.55rem;
  font-family: var(--mono); font-size: 0.775rem; letter-spacing: 0.02em;
}
.bar__urgent {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: #fff; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.09em; font-size: 0.72rem;
}
.bar__dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--verify-hi); flex: none;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.bar__spacer { flex: 1 1 auto; }
.bar__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.1rem; }
.bar a { color: #fff; text-decoration: none; white-space: nowrap; }
.bar a:hover { color: var(--signal-hi); }
.bar__phone { font-weight: 600; font-size: 0.88rem; }
.bar__book {
  background: var(--signal); padding: 0.34rem 0.85rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.7rem; border-radius: var(--r);
}
.bar__book:hover { background: var(--signal-hi); color: #fff !important; }

/* --- Masthead ------------------------------------------------------------ */

.nav { background: var(--paper); border-bottom: 1px solid var(--rule); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.9rem; }

.wordmark { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
/* The mark carries a white roof, so it needs the logo's black field behind it
   to read on the light masthead. */
.wordmark__mark {
  width: 2.6rem; height: 2.6rem; flex: none;
  background: var(--ink); border-radius: 3px; padding: 0.28rem;
}
.wordmark__mark img, .wordmark__mark svg { width: 100%; height: 100%; display: block; }
.wordmark__name {
  display: block;
  font-family: var(--display); font-weight: 800; font-stretch: 118%;
  text-transform: uppercase; font-size: 1.24rem; line-height: 0.95;
  letter-spacing: -0.01em;
}
.wordmark__sub {
  display: block;
  font-family: var(--mono); font-size: 0.575rem; font-weight: 600;
  letter-spacing: 0.17em; text-transform: uppercase; color: var(--muted);
  margin-top: 3px;
}

.nav__toggle {
  display: none; background: none; border: 1px solid var(--rule);
  border-radius: var(--r); padding: 0.5rem 0.8rem; cursor: pointer;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.nav__list { display: flex; align-items: center; gap: clamp(0.9rem, 1.8vw, 1.6rem); }
.nav__link {
  text-decoration: none; font-size: 0.86rem; font-weight: 600;
  padding-block: 0.35rem; border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav__link:hover { border-bottom-color: var(--signal); }
.nav__link[aria-current="page"] { border-bottom-color: var(--signal); }

@media (max-width: 940px) {
  .nav__toggle { display: block; }
  .nav__list {
    display: none; position: absolute; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem; z-index: 90;
  }
  .nav__list.is-open { display: flex; }
  .nav__list li { border-top: 1px solid var(--rule); }
  .nav__link { display: block; padding: 0.85rem 0; border-bottom: none; }
  .nav__link[aria-current="page"] { color: var(--signal); }
  .nav { position: relative; }
}

/* --- The record: the signature element ----------------------------------- */
/* A ruled field of labelled, checkable facts. Used for the hero verification
   block, pricing rows, promises, service-area detail and the footer NAP. */

.record {
  border: 1px solid var(--rule);
  background: var(--paper);
  border-radius: var(--r);
}
.record--dark { border-color: var(--rule-dk); background: var(--slab); }

.record__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 1rem;
  background: var(--ink); color: #fff;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
}
.record__head span:last-child { color: var(--muted-inv); letter-spacing: 0.08em; }

.record__row {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.35rem 1rem;
  padding: 0.72rem 1rem;
  border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 0.86rem;
}
.record--dark .record__row { border-top-color: var(--rule-dk); }
.record__row:first-of-type { border-top: none; }

.record__k {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--muted);
  align-self: center;
}
.record--dark .record__k { color: var(--muted-inv); }
/* Long unbroken strings (email addresses, URLs) must break rather than push
   the row out of the grid column. */
.record__v { font-weight: 500; line-height: 1.45; overflow-wrap: break-word; }
.record__v a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.record__v a:hover { border-bottom-color: var(--signal); }
.record__v small { display: block; font-size: 0.74rem; color: var(--muted); letter-spacing: 0; }
/* Rows carrying a sentence rather than a value drop out of the mono register. */
.record__v--prose { font-family: var(--body); font-size: 1rem; }
.record__v--prose small { font-family: var(--body); font-size: 0.92rem; line-height: 1.5; margin-top: 0.2rem; }
.record--dark .record__v small { color: var(--muted-inv); }

.record__foot {
  padding: 0.7rem 1rem; border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em;
  color: var(--muted); background: var(--paper-2);
}
.record--dark .record__foot { border-top-color: var(--rule-dk); background: var(--ink); color: var(--muted-inv); }

/* The tick: green means a third party can confirm this line. */
.tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.15rem; height: 1.15rem; flex: none;
  border: 1.5px solid var(--verify); border-radius: 50%;
  color: var(--verify); font-size: 0.68rem; font-weight: 700;
  align-self: center;
}
.record--dark .tick { border-color: var(--verify-hi); color: var(--verify-hi); }

/* Page-load stamp: the facts check themselves in, once. */
/* Rows are divs and .record__head is div 1, so the first row is nth-of-type(2). */
.record--stamp .tick { opacity: 0; transform: scale(0.55); animation: stamp 0.38s cubic-bezier(0.2, 1.5, 0.4, 1) 0.9s forwards; }
.record--stamp .record__row:nth-of-type(2) .tick { animation-delay: 0.30s; }
.record--stamp .record__row:nth-of-type(3) .tick { animation-delay: 0.42s; }
.record--stamp .record__row:nth-of-type(4) .tick { animation-delay: 0.54s; }
.record--stamp .record__row:nth-of-type(5) .tick { animation-delay: 0.66s; }
.record--stamp .record__row:nth-of-type(6) .tick { animation-delay: 0.78s; }
.record--stamp .record__row:nth-of-type(7) .tick { animation-delay: 0.90s; }
.record--stamp .record__row:nth-of-type(8) .tick { animation-delay: 1.02s; }
@keyframes stamp { to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .record--stamp .tick { opacity: 1; transform: none; }
}

@media (max-width: 520px) {
  .record__row { grid-template-columns: 1fr auto; }
  .record__k { grid-column: 1 / -1; }
}

/* --- Hero ---------------------------------------------------------------- */

.hero { background: var(--ink); color: var(--text-inv); padding-block: clamp(2.75rem, 6vw, 5rem); }
.hero__grid {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

/* Sized to the hero's own column, not the page — the display face is wide and
   the verification card sits alongside it from 900px up. */
.hero .h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
.hero .h1 em { font-style: normal; color: var(--signal-hi); }
.hero__sub { margin-top: 1.4rem; font-size: clamp(1.05rem, 1.5vw, 1.24rem); color: var(--muted-inv); max-width: 44ch; line-height: 1.5; }

.hero__bullets {
  display: flex; flex-wrap: wrap; gap: 0.45rem 0.5rem; margin-top: 1.6rem;
}
.hero__bullets li {
  font-family: var(--mono); font-size: 0.71rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--rule-dk); border-radius: var(--r);
  padding: 0.4rem 0.7rem; color: var(--text-inv);
}
.hero__actions { margin-top: 1.9rem; }

/* --- Offer cards --------------------------------------------------------- */
/* Exact dollar figures, no "call for pricing". No competitor in the Merrimack
   Valley publishes a number — this is the wedge. */

.offer {
  border: 1px solid var(--rule); border-radius: var(--r);
  background: var(--paper); padding: 1.5rem 1.4rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  border-top: 3px solid var(--signal);
}
.offer__amt {
  font-family: var(--display); font-weight: 800; font-stretch: 112%;
  font-size: clamp(2.3rem, 4.5vw, 3.1rem); line-height: 0.88;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.offer__amt sup { font-size: 0.42em; top: -0.85em; position: relative; }
.offer__name { font-weight: 700; font-size: 1.02rem; }
.offer__fine { font-size: 0.87rem; color: var(--muted); line-height: 1.5; }
.offer__note {
  margin-top: auto; padding-top: 0.85rem;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--verify);
  display: flex; align-items: center; gap: 0.4rem;
}

/* --- Checklist (the anti-scam section) ----------------------------------- */

.checklist { display: grid; gap: 0.85rem; }
.check {
  display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.85rem;
  align-items: start; line-height: 1.5;
}
.check__mark {
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  display: grid; place-items: center; flex: none; margin-top: 0.1rem;
  font-size: 0.8rem; font-weight: 700;
  border: 1.5px solid var(--verify-hi); color: var(--verify-hi);
}
.check--bad .check__mark { border-color: var(--signal-hi); color: var(--signal-hi); }
.check strong { display: block; font-weight: 700; }
.check span { color: var(--muted-inv); font-size: 0.94rem; }
.band--paper2 .check span, .band:not(.band--ink):not(.band--slab) .check span { color: var(--muted); }

/* --- Photo plates -------------------------------------------------------- */
/* Principle 5: show your own work, never stock. The client's photography has
   not been shot yet, so every image slot ships as a labelled frame naming the
   exact shot required. Replace each .plate with an <img>; the shot list is
   assets/README.md. */

.plate {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 4 / 3; overflow: hidden;
  background:
    repeating-linear-gradient(180deg, transparent 0 22px, rgba(255,255,255,0.035) 22px 23px),
    var(--steel);
  border: 1px solid var(--rule-dk); border-radius: var(--r);
  color: var(--muted-inv); text-align: center; padding: 1.5rem 1.25rem;
}
.plate--wide { aspect-ratio: 16 / 10; }
/* Fills a comparison pane rather than setting its own box. */
.plate--fill { position: absolute; inset: 0; aspect-ratio: auto; border: none; border-radius: 0; }
.plate--fill.plate--alt { background: var(--slab); }
.plate--tall { aspect-ratio: 3 / 4; }
.plate--portrait { aspect-ratio: 1 / 1; }
.plate::before {
  content: ""; position: absolute; inset: 0.5rem;
  border: 1px dashed rgba(255, 255, 255, 0.16); pointer-events: none;
}
.plate__code {
  position: absolute; top: 0.9rem; left: 0.95rem;
  font-family: var(--mono); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal-hi);
}
.plate__cross { font-size: 1.25rem; color: rgba(255,255,255,0.3); margin-bottom: 0.6rem; }
.plate__cap {
  font-family: var(--mono); font-size: 0.74rem; line-height: 1.5;
  letter-spacing: 0.02em; max-width: 30ch;
}
.plate__cap b { display: block; color: #fff; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; font-size: 0.66rem; margin-bottom: 0.35rem; }

/* --- Owner block --------------------------------------------------------- */

.owner { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: center; }
@media (max-width: 780px) { .owner { grid-template-columns: 1fr; } }
.sig {
  margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--rule-dk);
  font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.06em; color: var(--muted-inv);
}
.sig strong { display: block; color: #fff; font-size: 0.9rem; letter-spacing: 0.02em; margin-bottom: 0.15rem; }

/* --- Cards --------------------------------------------------------------- */

.card {
  display: flex; flex-direction: column; gap: 0.55rem;
  border: 1px solid var(--rule); border-radius: var(--r);
  background: var(--paper); padding: 1.4rem 1.35rem;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.card:hover { border-color: var(--ink); transform: translateY(-2px); }
.band--ink .card, .band--slab .card { background: var(--slab); border-color: var(--rule-dk); }
.band--ink a.card:hover, .band--slab a.card:hover { border-color: var(--signal); }

.card__k {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--signal);
}
.card__h { font-family: var(--display); font-weight: 700; font-stretch: 110%; font-size: 1.16rem; line-height: 1.12; }
.card__p { font-size: 0.93rem; color: var(--muted); line-height: 1.55; }
.band--ink .card__p, .band--slab .card__p { color: var(--muted-inv); }
.card__go {
  margin-top: auto; padding-top: 0.85rem;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  display: flex; align-items: center; gap: 0.4rem;
}
.card__price {
  font-family: var(--mono); font-size: 0.8rem; font-weight: 600;
  color: var(--text); padding-top: 0.15rem;
}
.band--ink .card__price, .band--slab .card__price { color: #fff; }

/* --- Steps (the trust funnel — a real sequence, so it is numbered) ------- */

.steps { counter-reset: s; display: grid; gap: 0; }
.step {
  counter-increment: s;
  display: grid; grid-template-columns: 3.25rem 1fr; gap: 1.15rem;
  padding: 1.15rem 0; border-top: 1px solid var(--rule);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--rule); }
.band--ink .step, .band--slab .step { border-color: var(--rule-dk); }
.step::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--display); font-weight: 800; font-stretch: 118%;
  font-size: 1.8rem; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px var(--signal);
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.04rem; font-weight: 700; margin-bottom: 0.2rem; }
.step p { color: var(--muted); font-size: 0.95rem; }
.band--ink .step p, .band--slab .step p { color: var(--muted-inv); }

/* --- Reviews ------------------------------------------------------------- */

.quote {
  border: 1px solid var(--rule); border-radius: var(--r);
  background: var(--paper); padding: 1.4rem 1.35rem;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.quote--low { border-left: 3px solid var(--signal); }
.quote__stars { color: var(--signal); font-size: 0.95rem; letter-spacing: 0.15em; }
.quote__body { font-size: 0.97rem; line-height: 1.6; }
.quote__who {
  margin-top: auto; padding-top: 0.7rem; border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.07em;
  color: var(--muted); text-transform: uppercase;
}
.quote__who b { color: var(--text); }

.reviewbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem;
  border: 1px solid var(--rule-dk); border-radius: var(--r);
  background: var(--slab); padding: 1.15rem 1.35rem;
}
.reviewbar__score { font-family: var(--display); font-weight: 800; font-stretch: 115%; font-size: 2.4rem; line-height: 1; color: #fff; }
.reviewbar__meta { font-family: var(--mono); font-size: 0.76rem; color: var(--muted-inv); line-height: 1.6; }

/* --- Pricing table ------------------------------------------------------- */

.ptable { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.ptable caption { text-align: left; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); padding-bottom: 0.75rem; }
.ptable th, .ptable td { text-align: left; padding: 0.95rem 0.9rem; border-top: 1px solid var(--rule); vertical-align: top; }
.ptable thead th {
  border-top: none; border-bottom: 2px solid var(--ink);
  font-family: var(--mono); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.ptable tbody th { font-weight: 700; }
.ptable td.num { font-family: var(--mono); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ptable tbody tr:hover { background: var(--paper-2); }
.tablewrap { overflow-x: auto; }

/* --- FAQ ----------------------------------------------------------------- */

.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 2.5rem 1.05rem 0;
  position: relative; font-weight: 700; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 1.3rem; color: var(--signal); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 0 1.25rem; color: var(--muted); max-width: 72ch; }
.faq details > div > * + * { margin-top: 0.8rem; }

/* --- Form fields --------------------------------------------------------- */

.fields { padding: 1.15rem 1rem; display: grid; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field input, .field select, .field textarea {
  font: inherit; width: 100%;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--rule); border-radius: var(--r);
  background: #fff; color: var(--text);
}
.field textarea { resize: vertical; }
.formnote { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* --- Callout ------------------------------------------------------------- */

.callout {
  border-left: 3px solid var(--signal);
  background: var(--paper-2);
  padding: 1.15rem 1.35rem;
  font-size: 0.97rem;
}
.band--ink .callout, .band--slab .callout { background: var(--steel); }

/* --- Breadcrumbs --------------------------------------------------------- */

.crumbs {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--muted);
  padding-block: 1rem; border-bottom: 1px solid var(--rule);
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--signal); }
.crumbs span { color: var(--rule); margin-inline: 0.4rem; }

/* --- Page head ----------------------------------------------------------- */

.phead { background: var(--ink); color: var(--text-inv); padding-block: clamp(2.5rem, 5vw, 4rem); }
.phead .h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); }
.phead .lede { margin-top: 1.1rem; }

/* --- CTA band ------------------------------------------------------------ */

.cta-band { background: var(--signal); color: #fff; }
.cta-band .h2 { color: #fff; }
.cta-band .lede { color: rgba(255, 255, 255, 0.88); }
.cta-band .btn { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cta-band .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.cta-band .btn--ghost:hover { background: #fff; color: var(--signal); border-color: #fff; }

/* --- Footer -------------------------------------------------------------- */

.foot { background: var(--ink); color: var(--text-inv); padding-block: clamp(2.75rem, 5vw, 4rem); }
.foot__grid { display: grid; gap: clamp(1.75rem, 3.5vw, 3rem); grid-template-columns: minmax(0, 1.1fr) repeat(auto-fit, minmax(160px, 1fr)); }
@media (max-width: 780px) { .foot__grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.foot h4 {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-inv);
  margin-bottom: 0.9rem;
}
.foot ul { display: grid; gap: 0.55rem; }
.foot a { text-decoration: none; font-size: 0.92rem; }
.foot a:hover { color: var(--signal-hi); }
.foot__legal {
  margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.25rem;
  border-top: 1px solid var(--rule-dk);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  font-family: var(--mono); font-size: 0.7rem; color: var(--muted-inv); letter-spacing: 0.03em;
}
.foot address { font-style: normal; }
.foot .wordmark { margin-bottom: 1.1rem; }
.foot .wordmark__name { color: #fff; }

/* --- Before / after comparison ------------------------------------------- */
/* Jeff's entire proof library is before-and-after pairs, and the strongest
   review on the page literally says "the before and after photos". So the
   comparison itself is the signature element: the visitor drags the old door
   off the house. Built on a range input so it is keyboard-operable and
   announced properly; JS only mirrors the value into --pos. */

.compare {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--r);
  border: 1px solid var(--rule-dk);
  background: var(--steel);
  --pos: 50%;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.compare__pane { position: absolute; inset: 0; }
.compare__pane img { width: 100%; height: 100%; object-fit: cover; }
/* "Before" sits on top, clipped to the left of the handle — drag left and the
   old door comes off. */
.compare__pane--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 2; }

.compare__range {
  position: absolute; inset: 0; z-index: 5;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize;
}
.compare__bar {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 2px; margin-left: -1px; z-index: 3;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 0 22px 2px rgba(44, 166, 222, 0.75);
  pointer-events: none;
}
.compare__grip {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--signal); color: #fff;
  border: 2px solid #fff;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 0.9rem; letter-spacing: -0.08em;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}
.compare__range:focus-visible ~ .compare__bar .compare__grip {
  outline: 3px solid #fff; outline-offset: 3px;
}
.compare__tag {
  position: absolute; top: 0.85rem; z-index: 4;
  font-family: var(--mono); font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.34rem 0.7rem; border-radius: 100px;
  background: rgba(10, 14, 18, 0.72); color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.compare__tag--before { left: 0.85rem; }
.compare__tag--after  { right: 0.85rem; background: var(--signal); }

.compare__cap {
  margin-top: 0.8rem;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.03em;
  color: var(--muted-inv); line-height: 1.55;
}
.compare__cap b { display: block; color: #fff; font-weight: 600; margin-bottom: 0.25rem; }

/* Until the photographs land, each pane holds a labelled plate. Push the two
   captions to opposite edges so they do not collide across the divider. */
.compare__pane--before .plate--fill { align-items: center; justify-items: start; text-align: left; }
.compare__pane--after  .plate--fill { align-items: center; justify-items: end;   text-align: right; }
.compare__pane .plate--fill .plate__cap { max-width: 17ch; }
.plate--fill.plate--alt {
  background:
    repeating-linear-gradient(180deg, transparent 0 22px, rgba(255,255,255,0.04) 22px 23px),
    linear-gradient(160deg, #24313d, #17222c);
}
.band:not(.band--ink):not(.band--slab) .compare__cap { color: var(--muted); }
.band:not(.band--ink):not(.band--slab) .compare__cap b { color: var(--text); }

/* --- Recommendation cards ------------------------------------------------ */
/* Facebook recommendations, not star ratings — so no stars are drawn. The
   owner's reply is threaded underneath, because on the real page it is. */

.rec {
  display: flex; flex-direction: column; gap: 0.85rem;
  background: #fff; border: 1px solid var(--rule); border-radius: var(--r);
  padding: 1.35rem 1.3rem;
}
.band--ink .rec, .band--slab .rec { background: var(--slab); border-color: var(--rule-dk); }
.rec__head { display: flex; align-items: center; gap: 0.7rem; }
.rec__av {
  width: 2.5rem; height: 2.5rem; flex: none; border-radius: 50%;
  background: var(--signal); color: #fff;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 0.95rem;
}
.rec__who { font-weight: 700; line-height: 1.25; }
.rec__meta {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-top: 2px;
}
.band--ink .rec__meta, .band--slab .rec__meta { color: var(--muted-inv); }
.rec__flag {
  display: inline-flex; align-items: center; gap: 0.3rem;
  color: var(--verify); font-weight: 600;
}
.band--ink .rec__flag, .band--slab .rec__flag { color: var(--verify-hi); }
.rec__body { line-height: 1.6; font-size: 0.97rem; }
.rec__reply {
  margin-top: auto;
  border-left: 2px solid var(--signal);
  background: var(--paper); border-radius: 0 var(--r) var(--r) 0;
  padding: 0.8rem 0.95rem; font-size: 0.9rem; line-height: 1.55;
}
.band--ink .rec__reply, .band--slab .rec__reply { background: var(--steel); }
.rec__reply b {
  display: block; font-family: var(--mono); font-size: 0.64rem;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 0.35rem;
}
.band--ink .rec__reply b, .band--slab .rec__reply b { color: var(--muted-inv); }

/* --- Stat strip ---------------------------------------------------------- */

.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border: 1px solid var(--rule-dk); border-radius: var(--r); overflow: hidden;
}
.stat { padding: 1.35rem 1.3rem; border-left: 1px solid var(--rule-dk); }
.stat:first-child { border-left: none; }
.stat__n {
  font-family: var(--display); font-weight: 800; font-stretch: 112%;
  font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1; color: #fff;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.stat__l {
  margin-top: 0.5rem;
  font-family: var(--mono); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-inv);
  line-height: 1.5;
}

/* --- Scroll reveal ------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
}

/* --- Draft chip ---------------------------------------------------------- */
/* Pre-launch only. Delete this block and the markup in every page once
   CLIENT-DATA.md is filled in. */

.draftchip {
  position: fixed; left: 0.85rem; bottom: 0.85rem; z-index: 150;
  background: var(--ink); color: #fff; border: 1px solid var(--signal);
  border-radius: var(--r); padding: 0.55rem 0.8rem; max-width: 19rem;
  font-family: var(--mono); font-size: 0.66rem; line-height: 1.5; letter-spacing: 0.02em;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.draftchip b { color: var(--signal-hi); letter-spacing: 0.12em; }
.draftchip button {
  background: none; border: none; color: var(--muted-inv); cursor: pointer;
  position: absolute; top: 0.15rem; right: 0.3rem; font-size: 0.9rem; padding: 0.2rem;
}
.draftchip button:hover { color: #fff; }
@media (max-width: 640px) { .draftchip { display: none; } }
