/* Hallmark · shape: Letter (swap: a call sheet, the job is a phone call) · genre: editorial · theme: Brutal (deal 1/3, seed bold-trade-utility-pipes-2be0·774bf50b·2026-10-30·r0) · job: book · draw: 5e8ab7
 * hero: Index · nav: slab under a banner · footer: colophon block · imagery: none, the logo and type carry it · signature: the phone number set at poster size
 * axes: light/grotesk-heavy/brand-red · posture: committed, navy ink and red fill from the owner's logo, blue stays in the logo, red runs as the banner and the phone call bar because both dial · contrast: pass · fold: pass · brand: KB Pipes (spec 2026-10-30) · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R5 V4 · weakest: S, no job photographs yet; used KB's own tagline, his name and the breakdowns customers call about instead of stock pictures */
/* Hallmark · hero-review: skipped · finish-review: subagent · 6 findings · 6 resolved · gap: render tier unavailable, checked by screenshots at 1440 and 360 */
/* Hallmark · answered F14 · the help line appears only after a press, so it holds no space at rest */
/* Hallmark · dismissed 23 · the banner is one 40px line that dials the phone, about four percent of the screen */
:root {
  color-scheme: light;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-sm: 0.875rem; --text-md: 1.0625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display: clamp(2.75rem, 7.4vw, 7rem); --text-section: clamp(2.25rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --text-number: 10.9rem;
  --container: 1440px; --gutter: 64px; --section-gap-s: 120px; --section-gap: 144px;
  --hero-height: max(640px, calc(100dvh - 123px)); --nav-height: 80px;
  --color-paper: #F6F7FA; --color-paper-2: #ECEEF4; --color-ink: #181E3C; --color-ink-2: #252C52; --color-muted: #4A5170; --color-rule: #181E3C;
  --color-accent: #D6252B; --color-accent-ink: #FCFCFD; --color-blue: #005AAE; --color-focus: #005AAE; --color-focus-dark: #66AEFF;
  --font-display: "Libre Franklin", ui-sans-serif, system-ui, sans-serif; --font-body: var(--font-display);
  --rule-hair: 1px; --rule-bar: 3px; --tracking-display: -0.03em; --display-weight: 900;
  --z-sticky-nav: 300;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-padding-top: var(--nav-height); scrollbar-color: var(--color-muted) var(--color-paper); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.5; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: var(--color-accent); color: var(--color-accent-ink); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
h1, h2 { font-family: var(--font-display); font-weight: var(--display-weight); font-synthesis: none; text-transform: uppercase; letter-spacing: var(--tracking-display); line-height: 1.02; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { font-size: var(--text-display); }
h2 { font-size: var(--text-section); }
h3 { font-size: var(--text-title); font-weight: 700; line-height: 1.2; overflow-wrap: break-word; min-width: 0; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; color: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-sticky-nav); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }
.lead { font-size: var(--text-lead); line-height: 1.4; max-width: 44ch; }
.small { font-size: var(--text-sm); color: var(--color-muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border: var(--rule-bar) solid var(--color-rule); background: var(--color-paper); color: var(--color-ink); font-weight: 700; white-space: nowrap; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--color-ink); color: var(--color-paper); }
.btn:active { background: var(--color-ink-2); color: var(--color-paper); }
.btn--ink { background: var(--color-ink); color: var(--color-paper); }
.btn--ink:hover { background: var(--color-paper); color: var(--color-ink); }
.btn--ink:active { background: var(--color-paper-2); color: var(--color-ink); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.banner { background: var(--color-accent); color: var(--color-accent-ink); font-weight: 700; }
.banner__in { display: flex; align-items: center; justify-content: center; min-height: 40px; text-decoration: none; }
.banner__in:hover { background: var(--color-ink); color: var(--color-paper); }
.banner__in:active { background: var(--color-ink-2); color: var(--color-paper); }
.banner :focus-visible { outline-color: var(--color-ink); outline-offset: -4px; }
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-bar) solid var(--color-rule); }
.nav__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); height: var(--nav-height); border-inline: var(--rule-bar) solid var(--color-rule); }
.brand { padding-inline: var(--space-xl); display: flex; align-items: center; gap: var(--space-sm); font-weight: 900; font-size: var(--text-title); text-transform: uppercase; letter-spacing: var(--tracking-display); text-decoration: none; white-space: nowrap; }
.brand img { width: 58px; height: 58px; }
.nav__links { display: flex; align-items: stretch; }
.nav__links a { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; padding: 0 var(--space-md); border-left: var(--rule-bar) solid var(--color-rule); font-weight: 700; white-space: nowrap; text-decoration: none; }
.nav__links a:hover { background: var(--color-ink); color: var(--color-paper); }
.nav__links a:active { background: var(--color-ink-2); color: var(--color-paper); }
.nav__links .nav__call { background: var(--color-ink); color: var(--color-paper); }
.nav__links .nav__call:hover { background: var(--color-accent); color: var(--color-accent-ink); }

.hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: var(--hero-height); border-inline: var(--rule-bar) solid var(--color-rule); border-bottom: var(--rule-bar) solid var(--color-rule); }
.hero__text { display: flex; flex-direction: column; justify-content: center; gap: var(--space-lg); padding: var(--space-xl); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xs); }
.jobs { display: grid; grid-template-rows: auto repeat(5, minmax(0, 1fr)); border-left: var(--rule-bar) solid var(--color-rule); }
.jobs__head { display: flex; align-items: center; min-height: 56px; padding: 0 var(--space-lg); background: var(--color-ink); color: var(--color-paper); font-weight: 700; }
.jobs a { display: flex; align-items: center; padding: 0 var(--space-lg); border-top: var(--rule-bar) solid var(--color-rule); font-size: min(var(--text-3xl), 3.6vw); font-weight: 900; text-transform: uppercase; letter-spacing: var(--tracking-display); line-height: 1; text-decoration: none; overflow-wrap: break-word; min-width: 0; }
.jobs li { display: grid; }
.jobs li:first-child a { border-top: 0; }
.jobs a:hover { background: var(--color-accent); color: var(--color-accent-ink); }
.jobs a:active { background: var(--color-ink); color: var(--color-paper); }

.callband { background: var(--color-ink); color: var(--color-paper); padding-block: var(--section-gap-s); }
.callband :focus-visible { outline-color: var(--color-focus-dark); }
.callband__top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-lg); margin-bottom: var(--space-xl); }
.callband .container { container-type: inline-size; }
.bignum { display: block; font-size: min(13.4cqw, var(--text-number)); font-weight: 900; line-height: 1; letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; white-space: nowrap; text-decoration: none; }
.bignum:hover { background: var(--color-accent); color: var(--color-accent-ink); }
.bignum:active { background: var(--color-paper); color: var(--color-ink); }

.fix { padding-block: var(--section-gap); }
.fix__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-lg); margin-bottom: var(--space-xl); }
.fix__title { display: grid; gap: var(--space-sm); }
.seg { display: flex; border: var(--rule-bar) solid var(--color-rule); }
.seg button { min-height: 52px; padding: 0 var(--space-lg); border: 0; background: var(--color-paper); font-weight: 700; white-space: nowrap; cursor: pointer; }
.seg button + button { border-left: var(--rule-bar) solid var(--color-rule); }
.seg button:hover { background: var(--color-paper-2); }
.seg button.is-on { background: var(--color-ink); color: var(--color-paper); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 240px; gap: var(--rule-bar); padding: var(--rule-bar); background: var(--color-rule); }
.bento a { grid-column: span 3; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--space-lg); background: var(--color-paper); text-decoration: none; }
.bento a.is-lead { grid-column: span 6; grid-row: span 2; background: var(--color-ink); color: var(--color-paper); }
.bento a:hover, .bento a.is-lead:hover { background: var(--color-accent); color: var(--color-accent-ink); }
.bento a:active { background: var(--color-ink-2); color: var(--color-paper); }
.bento b { display: block; font-size: var(--text-2xl); font-weight: 900; line-height: 1.02; text-transform: uppercase; letter-spacing: var(--tracking-display); overflow-wrap: break-word; }
.bento a.is-lead b { font-size: clamp(2.75rem, 6vw, 6rem); }

.kb { border-block: var(--rule-bar) solid var(--color-rule); }
.kb__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.kb__logo { display: flex; align-items: center; justify-content: center; padding: var(--space-xl); border-inline: var(--rule-bar) solid var(--color-rule); }
.kb__logo img { width: min(100%, 420px); }
.kb__body { padding: var(--space-2xl) var(--space-xl); border-right: var(--rule-bar) solid var(--color-rule); }
.kb__list { margin-top: var(--space-xl); border-top: var(--rule-bar) solid var(--color-rule); }
.kb__list li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-lg); align-items: baseline; padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.kb__list li:last-child { border-bottom: 0; padding-bottom: 0; }

.est { background: var(--color-paper-2); padding-block: var(--section-gap-s); }
.est__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); }
.est__side { display: flex; flex-direction: column; gap: var(--space-lg); }
.est__side a { font-weight: 700; color: var(--color-blue); }
.est__side a:hover { background: var(--color-accent); color: var(--color-accent-ink); }
.est__side a:active { color: var(--color-ink); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--rule-bar); padding: var(--rule-bar); background: var(--color-rule); }
.field { display: grid; gap: var(--space-2xs); padding: var(--space-sm) var(--space-md); background: var(--color-paper); }
.field--wide { grid-column: 1 / -1; }
.field label, .field legend { padding: 0; font-size: var(--text-sm); color: var(--color-muted); }
.field input, .field textarea { width: 100%; min-height: 44px; padding: 0; border: 0; background: transparent; outline: 2px solid transparent; outline-offset: 2px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline-color: var(--color-focus); }
.choices { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 0; border: 0; background: var(--color-paper); }
.choices legend { float: left; width: 100%; padding: var(--space-sm) var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.choices__grid { clear: both; }
.choices__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rule-bar); margin-top: var(--space-xs); padding-top: var(--rule-bar); background: var(--color-rule); }
.choices button { min-height: 52px; padding: 0 var(--space-xs); border: 0; background: var(--color-paper); font-weight: 700; cursor: pointer; }
.choices button:hover { background: var(--color-paper-2); }
.choices button.is-on { background: var(--color-accent); color: var(--color-accent-ink); }
.form__send { grid-column: 1 / -1; display: grid; }
.form__send .btn { width: 100%; border: 0; }
.form__help { grid-column: 1 / -1; min-height: 1lh; padding: var(--space-xs) var(--space-md); background: var(--color-paper); font-size: var(--text-sm); color: var(--color-muted); }
.form__help:empty { display: none; }

.foot { padding-block: var(--space-2xl); background: var(--color-ink); color: var(--color-paper); }
.foot :focus-visible { outline-color: var(--color-focus-dark); }
.foot__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: end; }
.foot__name { font-size: var(--text-section); font-weight: 900; line-height: 1; text-transform: uppercase; letter-spacing: var(--tracking-display); }
.foot__text { display: grid; gap: var(--space-sm); }
.foot__text a:hover { background: var(--color-accent); color: var(--color-accent-ink); }
.foot__text a:active { background: var(--color-paper); color: var(--color-ink); }
.fill { padding: 0 var(--space-2xs); border: var(--rule-hair) dashed var(--color-paper); }
.callbar { display: none; }
.jobs__list { display: contents; }
.js .choices { display: block; }
html:not(.js) .seg { display: none; }
html:not(.js) .bento + .bento { margin-top: var(--space-lg); }
html:not(.js) .choices { display: none; }

@media (max-width: 60rem) {
  :root { --gutter: 24px; --section-gap-s: 72px; --section-gap: 88px; --hero-height: 0px; }
  .nav__in { grid-template-columns: minmax(0, 1fr); border-inline: 0; }
  .brand { padding-inline: 0; }
  .nav__links { display: none; }
  .hero, .kb__in, .est__in, .foot__in { grid-template-columns: minmax(0, 1fr); }
  .hero__text { border-bottom: var(--rule-bar) solid var(--color-rule); padding: var(--space-xl) var(--space-lg); }
  .jobs { border-left: 0; }
  .jobs a { min-height: 72px; font-size: var(--text-3xl); }
  .kb__logo { border-right: var(--rule-bar) solid var(--color-rule); border-bottom: var(--rule-bar) solid var(--color-rule); }
  .kb__body { border-left: var(--rule-bar) solid var(--color-rule); padding: var(--space-xl) var(--space-lg); }
  .bento { grid-auto-rows: minmax(180px, auto); }
  .bento a { grid-column: span 6; }
  .bento a.is-lead { grid-column: 1 / -1; grid-row: span 1; }
  .callbar { position: fixed; inset: auto 0 0 0; z-index: var(--z-sticky-nav); display: flex; align-items: center; justify-content: center; min-height: 60px; background: var(--color-accent); color: var(--color-accent-ink); font-weight: 900; font-size: var(--text-title); text-decoration: none; }
  .foot { padding-bottom: calc(var(--space-2xl) + 60px); }
}
@media (max-width: 40rem) {
  :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 64px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .kb__list li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .jobs a { font-size: var(--text-2xl); }
  .bento a { padding: var(--space-md); }
  .bento b { font-size: 1.375rem; overflow-wrap: normal; }
  .choices__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
[hidden] { display: none !important; }
