/* bidrtech.com homepage: the government-contractor standard, built to the approved comp (.impeccable/mocks/comp-1.png). */
:root {
  --navy-950: #05192d;
  --navy-900: #0a2248;
  --navy-700: #1f3a5f;
  --ink-600: #42526a;
  --gold-500: #d6ac4e;
  --gold-400: #e0bb68;
  --gold-text: #8c5f10;
  --mist-100: #f2f4f7;
  --mist-200: #dadee5;
  --rule: #c8ced6;
  --paper: #ffffff;
  --focus: #f0c45a;
  --on-navy: #e1e9f5;
  --on-navy-muted: #aebbd0;
  --navy-850: #0b2440;
  --icon: #13355b;
  --gold-numeral: #a8761a;
  --field-border: #768296;
  --placeholder: #66748a;
  --error: #a3261b;
  --rule-strong: #5d6b80;
  --scrollbar: #8f9bb0;

  --font: 'Assistant', 'Assistant Fallback', 'Segoe UI', system-ui, -apple-system, sans-serif;
  /* Type roles. Assistant carries every one; pick from these before adding a size (DESIGN.md, Typography). */
  --text-number: clamp(2.6rem, 6.2vw, 5.75rem);     /* contract numbers in the contracts band */
  --text-display: clamp(2.125rem, 3.39vw, 3.5rem);  /* hero h1 */
  --text-page: clamp(2rem, 3.3vw, 3.125rem);        /* page-head h1 */
  --text-record: clamp(2.1rem, 3.6vw, 3.4rem);      /* contract number in a contract page's record */
  --text-headline: clamp(1.75rem, 2.6vw, 2.25rem);  /* section h2 */
  --text-title-lg: 1.5rem;    /* offer titles, prose h2, guide groups */
  --text-title: 1.25rem;      /* steps, ruled items, people, forms, table titles, prose h3 */
  --text-title-sm: 1.125rem;  /* questions, guide links */
  --text-lede: 1.0625rem;     /* section intros, reading text, the term line */
  --text-body: 1rem;
  --text-ui: .9375rem;        /* buttons, secondary lines, footer */
  --text-small: .875rem;      /* labels (700), metadata and fine print (400) */
  --text-micro: .8125rem;     /* year labels on the term line */
  --measure: 31em;            /* about 75 characters of Assistant at any size */
  --wrap: 100rem;
  --gutter: clamp(1rem, 4.76vw, 6rem);
  --hero-h: clamp(30rem, 37.9vw, 40rem);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-600);
  font: 400 var(--text-body)/1.55 var(--font);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--navy-900); text-wrap: balance; }
p { margin: 0; }
/* Running text avoids one-word last lines where the browser can */
p, li, dd { text-wrap-style: pretty; }
::selection { background: var(--gold-500); color: var(--navy-950); }
:focus-visible { outline: 3px solid var(--navy-900); outline-offset: 3px; border-radius: 2px; }
.site-header :focus-visible, .hero :focus-visible, .section--navy :focus-visible, .site-footer :focus-visible, .skip-link:focus-visible { outline-color: var(--focus); }
.quote-form :focus-visible { outline-color: var(--navy-900); }
.print-head { display: none; }
html { scrollbar-color: var(--scrollbar) var(--mist-100); }
.nowrap { white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 20; padding: .75rem 1rem; background: var(--gold-500); color: var(--navy-950); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 1rem; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.3125rem; padding: .5rem 1.5rem;
  border: 2px solid transparent; border-radius: 3px; background-color: transparent; cursor: pointer;
  font: 700 var(--text-ui)/1.1 var(--font); text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold-500); color: var(--navy-950); }
.btn--gold:hover { background: var(--gold-400); }
.btn--outline { border-color: #fff; color: #fff; }
.btn--outline:hover { background: #fff; color: var(--navy-950); }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-950); }
.text-link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--gold-text); font-weight: 700; text-decoration: none;
}
.text-link svg { width: 1.1em; height: 1.1em; flex: none; transition: transform .2s var(--ease-out); }
.text-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header: transparent over the hero photo (the approved comp) ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; }
.site-header__bar { display: flex; align-items: center; gap: 2rem; height: clamp(5.5rem, 7.44vw, 7.25rem); }
/* The header stays on screen once scripts run. After the first scroll it condenses to a solid navy bar,
   so the menu, the quote button and the phone stay in reach on long contract pages. Without scripts it scrolls away as before. */
html.js .site-header { position: fixed; top: 0; left: 0; right: 0; transition: background-color .22s var(--ease-out), box-shadow .22s var(--ease-out); }
html.js .site-header__bar { transition: height .26s var(--ease-out), min-height .26s var(--ease-out), padding .26s var(--ease-out); }
html.js .site-header .brand img { transition: width .26s var(--ease-out); }
html.js .site-header.is-condensed { background: var(--navy-950); box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .75); }
html.js .site-header.is-condensed .site-header__bar { height: 4.25rem; min-height: 0; padding-block: 0; }
html.js .site-header.is-condensed .brand img { width: clamp(11rem, 14vw, 13rem); }
html.js .site-header.is-condensed .primary-nav a { text-shadow: none; }
html.js .site-header.is-measuring, html.js .site-header.is-measuring * { transition: none !important; }
html.js .page main { padding-top: var(--header-h, 6rem); }
/* Header logo: the 3D horizontal lockup on wider screens, the 3D stacked logo on tablets and phones (one <picture>) */
.brand { flex: none; display: block; align-self: center; }
.brand img { width: clamp(15rem, 21vw, 20.5rem); height: auto; }
@media (max-width: 900px) {
  .brand img { width: 8.5rem; }
  html.js .site-header.is-condensed .site-header__bar { height: 4rem; }
  html.js .site-header.is-condensed .brand img { width: 6.25rem; }
}
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 1.9rem); margin: 0; padding: 0; list-style: none; }
.primary-nav a { color: #fff; font-size: clamp(.875rem, 1.13vw, 1.125rem); font-weight: 600; text-decoration: none; padding-block: .5rem; text-shadow: 0 1px 2px rgba(5, 25, 45, .45); }
/* Desktop: the gold underline draws in from the left (the site's motion motif is a ruled line drawing); the menu panel keeps a plain underline */
@media (min-width: 901px) {
  .primary-nav a:not(.btn) { background: linear-gradient(var(--gold-500), var(--gold-500)) no-repeat 0 calc(100% - .2rem) / 0 2px; }
  .primary-nav a:not(.btn):hover, .primary-nav a[aria-current]:not(.btn) { background-size: 100% 2px; }
}
@media (max-width: 900px) {
  .primary-nav a:hover, .primary-nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--gold-500); text-decoration-thickness: 2px; text-underline-offset: .45em; }
}
.site-header .btn { min-height: 2.5rem; padding-inline: 1.25rem; font-size: var(--text-ui); }
.site-header .btn--gold:focus-visible, .hero .btn--gold:focus-visible { outline-color: #fff; }
.menu-toggle, .call-link { display: none; }
/* The menu button shows a close mark while the menu is open */
.menu-toggle .icon-close { display: none; }
.site-header.is-open .menu-toggle .icon-menu { display: none; }
.site-header.is-open .menu-toggle .icon-close { display: block; }
.primary-nav .nav-cta { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: var(--hero-h); background: var(--navy-950); color: #fff; isolation: isolate; overflow: hidden; }
.hero__photo { position: absolute; inset: 0; z-index: -1; }
.hero__photo img, .hero__photo video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero__photo video { opacity: 0; transition: opacity .6s var(--ease-out); }
.hero__photo video.is-playing { opacity: 1; }
/* Header legibility: the top of the photo dims to navy behind the menu so the links hold 4.5:1 against the sunset sky */
.hero__photo::after { content: ""; position: absolute; inset: 0 0 auto; height: clamp(9rem, 12vw, 12rem); background: linear-gradient(to bottom, rgba(5, 25, 45, .9) 0%, rgba(5, 25, 45, .72) 45%, rgba(5, 25, 45, 0) 100%); }
.hero__inner { padding-top: clamp(7.5rem, 10.2vw, 10.5rem); padding-bottom: clamp(1.75rem, 2.6vw, 3.25rem); }
.hero h1 {
  max-width: 13.6em;
  color: #fff; font-size: var(--text-display); font-weight: 700; line-height: 1; letter-spacing: -.012em;
}
/* Play/pause control for the film (WCAG 2.2.2). Shown once scripts run: Pause while it plays, Play when it is held back
   (reduced motion, data saver, very slow connection, blocked autoplay). Its right edge lines up with the content column. */
.hero__pause { position: absolute; right: max(var(--gutter), env(safe-area-inset-right), calc((100% - var(--wrap)) / 2)); bottom: 1.1rem; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid rgba(255, 255, 255, .55); border-radius: 3px; background: rgba(5, 25, 45, .55); color: #fff; cursor: pointer; transition: background-color .2s var(--ease-out); }
.hero__pause:hover { background: rgba(5, 25, 45, .85); }
.hero__pause[hidden] { display: none; }
.hero__pause svg { width: 1.05rem; height: 1.05rem; }
.hero__pause .icon-pause, .hero__pause[data-state="playing"] .icon-play { display: none; }
.hero__pause[data-state="playing"] .icon-pause { display: block; }
.hero__lede { margin-top: clamp(.9rem, 1.25vw, 1.4rem); line-height: 1.3; color: #fff; font-size: clamp(1rem, 1.37vw, 1.25rem); font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: clamp(1.25rem, 1.9vw, 2.1rem); }
.hero__actions .btn { min-width: 9.5rem; min-height: clamp(2.5rem, 3.1vw, 3rem); padding-inline: 1.6rem; font-size: clamp(.9375rem, 1.05vw, 1.0625rem); }
.awards { display: flex; flex-wrap: wrap; gap: clamp(1rem, 2.85vw, 2.5rem); margin: clamp(1.75rem, 2.6vw, 2.75rem) 0 0; padding: 0; list-style: none; }
.awards a { display: block; color: #fff; text-decoration: none; }
.awards img { width: clamp(8.5rem, 12.5vw, 11.75rem); height: auto; border-radius: 4px; }
.awards span { display: block; margin-top: .6rem; font-size: clamp(.8125rem, .95vw, .9375rem); font-weight: 700; }
.awards a:hover span { text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Credentials strip ---------- */
.credentials { background: var(--mist-200); color: var(--navy-900); }
.credentials p { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .9rem; padding-block: .4rem; font-size: var(--text-small); font-weight: 500; }
.credentials strong { font-weight: 700; }
.credentials .sep { color: var(--rule-strong); }

/* ---------- Offer columns ---------- */
.offers { padding-block: 1.6rem 3rem; }
.offers__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offer { display: grid; grid-template-columns: 4.1rem 1fr; column-gap: 1.6rem; align-content: start; padding-right: 2rem; }
.offer + .offer { padding-left: 2.9rem; border-left: 1px solid var(--rule); }
.offer__icon { grid-row: 1 / span 2; width: 4.1rem; height: 4rem; color: var(--icon); }
.offer h3 { align-self: end; font-size: var(--text-title-lg); font-weight: 700; line-height: 1.15; }
.offer__meta { color: var(--navy-700); font-size: var(--text-body); line-height: 1.4; margin-top: .2rem; max-width: 13em; }
.offer__rule { grid-column: 1 / -1; width: 3.15rem; height: 3px; margin: .75rem 0 0; background: var(--gold-500); border: 0; }
.offer__body { grid-column: 1 / -1; margin-top: .55rem; color: var(--ink-600); font-size: var(--text-body); line-height: 1.5; max-width: 21em; }
.offer .text-link { grid-column: 1 / -1; justify-self: start; margin-top: .8rem; font-size: var(--text-body); }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section--mist { background: var(--mist-100); }
.section--navy { background: var(--navy-950); color: var(--on-navy); }
#contact.section--navy { background: var(--navy-900); }
.section--navy h2 { color: #fff; }
/* Light text on navy reads a little tighter than dark text on white: a touch more tracking and leading.
   :where() keeps this at zero specificity, so the contract numbers and labels keep their own settings. */
:where(.section--navy, .page-head, .site-footer) :where(p, li, dd) { letter-spacing: .01em; line-height: 1.6; }
.section__head { max-width: 46rem; margin-bottom: 2.25rem; }
.section__head h2, .contact__intro h2 { font-size: var(--text-headline); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.section__head h2::after, .contact__intro h2::after { content: ""; display: block; width: 3.15rem; height: 3px; margin-top: .9rem; background: var(--gold-500); }
.section__head p { margin-top: .9rem; font-size: var(--text-lede); max-width: var(--measure); }
.section a:not(.btn):not(.text-link) { color: var(--navy-900); text-decoration-color: rgba(10, 34, 72, .35); text-underline-offset: .18em; }
.section a:not(.btn):not(.text-link):hover { text-decoration-color: var(--gold-500); }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* Contracts band: the peak of the page */
.contracts { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.contracts .section__head { margin-bottom: clamp(2.5rem, 4vw, 3.75rem); }
.section--navy .text-link { color: var(--gold-500); }
.contract-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contract { display: flex; flex-direction: column; padding-right: clamp(1.5rem, 4vw, 4.5rem); }
.contract + .contract { padding-right: 0; padding-left: clamp(1.5rem, 4vw, 4.5rem); border-left: 1px solid rgba(255, 255, 255, .18); }
.contract__name { color: #fff; font-size: clamp(1.125rem, 1.5vw, 1.5rem); font-weight: 700; }
.contract__no { margin-top: .3rem; color: #fff; font-size: var(--text-number); font-weight: 800; line-height: .95; letter-spacing: -.025em; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.contract__no-label { display: block; margin-bottom: .5rem; color: var(--on-navy-muted); font-size: var(--text-small); font-weight: 700; line-height: 1.3; letter-spacing: .01em; }
.term { margin-top: clamp(1.25rem, 2vw, 1.75rem); }
.term__label { color: #fff; font-size: var(--text-lede); }
.term__label strong { color: var(--gold-500); font-weight: 800; }
.term__left { color: var(--on-navy-muted); }
.term__label time { white-space: nowrap; }
.term__line { position: relative; height: 2.4rem; margin-top: 1rem; border-top: 2px solid rgba(255, 255, 255, .55); }
.term__today, .term__tick span { position: absolute; top: .55rem; color: var(--on-navy-muted); font-size: var(--text-micro); font-weight: 600; font-variant-numeric: tabular-nums; }
.term__today { left: 0; }
.term__tick { position: absolute; top: -2px; left: calc(var(--pos) * 100%); width: 1px; height: .5rem; background: rgba(255, 255, 255, .55); }
.term__tick span { left: 0; transform: translateX(-50%); }
.term__end { position: absolute; right: 0; top: -.6rem; width: 3px; height: 1.15rem; background: var(--gold-500); }
.contract__facts { margin: 1.5rem 0 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.contract__facts div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding-block: .8rem; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.contract__facts dt { color: var(--on-navy-muted); font-size: var(--text-small); font-weight: 700; }
.contract__facts dd { margin: 0; color: #fff; font-weight: 600; }
.contract__scope { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.contract__scope li { position: relative; padding: .45rem 0 .45rem 1.4rem; color: var(--on-navy); }
.contract__scope li::before { content: ""; position: absolute; left: 0; top: 1.02rem; width: .55rem; height: 3px; background: var(--gold-500); }
.contract__links { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; margin-top: auto; padding-top: 1.75rem; }
.contract__links p { margin-top: .15rem; color: var(--on-navy-muted); font-size: var(--text-ui); }

/* Steps */
/* One ruled line runs through the three steps, like the contract term line: a gold tick where each step starts, a gold bar at the end */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--navy-900); }
.steps::after { content: ""; position: absolute; right: 0; top: -.55rem; width: 3px; height: 1.15rem; background: var(--gold-500); }
.steps li { position: relative; counter-increment: step; padding-top: 1.6rem; }
.steps li::after { content: ""; position: absolute; left: 0; top: -.4rem; width: 3px; height: .85rem; background: var(--gold-500); }
.steps li::before { content: counter(step); display: block; margin-bottom: .75rem; color: var(--gold-numeral); font-size: 3.25rem; font-weight: 800; line-height: 1; }
.steps h3 { font-size: var(--text-title); font-weight: 700; line-height: 1.25; }
.steps p { margin-top: .6rem; }
.steps__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2.5rem; }
/* "Talk it through": the one line that offers a person by name and number, set the same on the homepage steps,
   the pole contract guide and Bidr Utilities' buying card */
.section .talk-line { color: var(--navy-900); font-size: var(--text-lede); }
.section--navy .talk-line { color: #fff; }
.talk-line a { font-weight: 700; }
.steps + .talk-line { margin-top: 2.5rem; }
.talk-line + .steps__actions { margin-top: 1.25rem; }
.contract__links .talk-line { margin-top: .5rem; }
/* Vendor facts */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 0 3rem; margin: 0; border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding-block: .9rem; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--navy-700); font-size: var(--text-small); font-weight: 700; }
.facts dd { margin: 0; color: var(--navy-900); font-weight: 600; }
.facts dd .text-link { margin-top: .35rem; font-weight: 700; }
/* Vendor facts set as an official record: a navy title bar over ruled rows on a white sheet */
.record-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
.record-card__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 2rem; padding: .95rem 1.5rem; background: var(--navy-900); color: var(--on-navy); }
.record-card__head h3 { color: #fff; font-size: var(--text-title); line-height: 1.2; }
.record-card__links { font-size: var(--text-ui); letter-spacing: .01em; }
.section .record-card__head a:not(.btn):not(.text-link) { color: #fff; text-decoration-color: var(--gold-500); text-underline-offset: .18em; }
.record-card__head :focus-visible { outline-color: var(--focus); }
.record-card .facts { padding: .2rem 1.5rem .4rem; border-top: 0; }
.record-card .facts > :last-child { border-bottom: 0; }
@media (min-width: 721px) { .record-card .facts > :nth-last-child(2):nth-child(odd) { border-bottom: 0; } }  /* two columns: the whole last row ends unruled */

/* Guides */
.guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.guide-list li { border-bottom: 1px solid var(--rule); }
.section .guide-list a { display: block; padding: .85rem 0; color: var(--navy-900); font-weight: 600; text-decoration: none; }
.section .guide-list a:hover { color: var(--gold-text); text-decoration: underline; }
.guides__all { margin-top: 1.5rem; }
/* One column of guides per contract, headed by the contract number */
.guide-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 2.5rem 3rem; }
.guide-col__title { margin-bottom: .85rem; color: var(--navy-900); font-size: var(--text-title); font-weight: 700; line-height: 1.25; }
.guide-col__no { color: var(--navy-700); font-weight: 600; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.guide-list--stack { grid-template-columns: minmax(0, 1fr); }

/* Contact and quote form */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); }
.contact__intro p { margin-top: .9rem; font-size: var(--text-lede); max-width: var(--measure); }
.contact__lines { margin: 1.75rem 0 2rem; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .18); }
.contact__lines li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding-block: .7rem; border-bottom: 1px solid rgba(255, 255, 255, .18); color: #fff; }
.contact__lines > li > span:first-child { color: var(--on-navy-muted); font-size: var(--text-small); font-weight: 600; }
.section--navy a:not(.btn):not(.text-link) { color: #fff; text-decoration-color: var(--gold-500); }
.quote-form { display: grid; gap: 1.1rem; align-content: start; padding: clamp(1.25rem, 3vw, 2rem); background: var(--paper); border-radius: 4px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; align-items: start; }
.field { display: grid; gap: .35rem; color: var(--navy-900); font-size: var(--text-small); font-weight: 700; }
.field abbr { color: var(--error); text-decoration: none; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 2.75rem; padding: .6rem .75rem;
  border: 1px solid var(--field-border); border-radius: 3px; background: #fff;
  color: var(--navy-950); font: 400 var(--text-body)/1.4 var(--font);
}
.field textarea { resize: vertical; }
.field input, .field select, .field textarea { transition: border-color .15s var(--ease-out), box-shadow .15s var(--ease-out); }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--navy-900); outline-offset: 1px; border-color: var(--navy-900); }
.field input, .field textarea { caret-color: var(--navy-900); }
.quote-form { accent-color: var(--navy-900); }
.form-required { color: var(--navy-700); font-size: var(--text-small); }
.form-required abbr { color: var(--error); text-decoration: none; }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.quote-form .btn { justify-self: start; min-height: 2.9rem; padding-inline: 1.75rem; font-size: var(--text-body); }
/* Gold on white needs an edge: a Numeral Gold border keeps the button's outline at 3:1 against the white form panel */
.quote-form .btn--gold, .form .btn--gold, .form-confirm .btn--gold { border-color: var(--gold-numeral); }
.contact__intro .btn { white-space: normal; text-align: center; }
.quote-form .btn:disabled { opacity: .6; cursor: progress; }
.form__check { min-height: 71px; color: var(--ink-600); font-size: var(--text-small); }
.form__check:empty { display: none; }
.form-status { min-height: 1.5em; color: var(--navy-900); font-weight: 600; }
.form-status[data-state="error"] { color: var(--error); }
/* Error summary above the fields (role=alert) and a message under each field: same pattern on every form */
.quote-form[hidden], .form[hidden], .form__errors[hidden] { display: none; }
.form__errors { padding: .75rem 1rem; border: 1px solid var(--error); border-radius: 3px; background: #fff; color: var(--error); font-weight: 700; }
.field-error { color: var(--error); font-size: var(--text-small); font-weight: 600; }
.form-status.is-new { animation: status-in .25s var(--ease-out); }
@keyframes status-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
@keyframes confirm-in { from { opacity: 0; transform: translateY(.5rem); } to { opacity: 1; transform: none; } }

/* Continuity between pages: the header holds still while the page under it fades across (cross-document view transitions;
   browsers without them simply load the next page) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .14s ease-in both; }
::view-transition-new(root) { animation: vt-in .32s var(--ease-out) both; }
::view-transition-group(site-header) { animation-duration: .32s; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(.4rem); } }

/* Other work index */
.other-work { padding-block: 2.25rem; border-top: 1px solid var(--rule); }
.other-work h2 { font-size: var(--text-body); font-weight: 700; }
.other-work ul { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin: .75rem 0 0; padding: 0; list-style: none; }
.other-work a { color: var(--ink-600); font-size: var(--text-ui); text-decoration-color: rgba(66, 82, 106, .35); text-underline-offset: .2em; }
.other-work a:hover { color: var(--navy-900); text-decoration-color: var(--gold-500); }

/* Cookie choices: a plain notice fixed to the bottom of the page until the visitor chooses */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--navy-950); color: var(--on-navy); border-top: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 -10px 24px -16px rgba(0, 0, 0, .6); }
.consent[hidden] { display: none; }
.consent__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; padding-block: .7rem max(.7rem, env(safe-area-inset-bottom)); }
.consent p { font-size: var(--text-ui); line-height: 1.45; letter-spacing: .01em; color: #fff; }
.consent p a { margin-left: .35rem; }
.consent strong { color: #fff; }
.consent a { color: #fff; text-decoration-color: var(--gold-500); text-underline-offset: .18em; }
.consent__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.consent :focus-visible { outline-color: var(--focus); }
.consent .btn--gold:focus-visible { outline-color: #fff; }
.footer-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: .2em; cursor: pointer; }
.footer-link:hover { color: #fff; text-decoration-color: var(--gold-500); }
.site-footer__legal .sep { margin-inline: .35rem; }
html:not(.js) [data-consent-open], html:not(.js) .site-footer__legal .sep { display: none; }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--on-navy-muted); font-size: var(--text-ui); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(5, minmax(0, 1fr)); gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
.site-footer__brand img { width: 9.5rem; }
.site-footer__brand p { margin-top: 1rem; max-width: 22em; }
.site-footer__brand .tagline { margin-top: 1.1rem; color: #fff; font-size: var(--text-lede); font-weight: 700; }
.site-footer__brand .tagline + p { margin-top: .4rem; }
.site-footer h2 { color: #fff; font-size: var(--text-ui); font-weight: 700; }
.site-footer ul { margin: .9rem 0 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold-500); }
.site-footer__legal { padding-block: 1.25rem max(2rem, env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .14); font-size: var(--text-small); }

/* ---------- Motion ----------
   One authored moment: each contract's term line draws from today to its end date when the band scrolls in.
   Everything else is feedback: the menu panel, field states, the form status line.
   Without JS, or with reduced motion, every element is simply present. */
@media (prefers-reduced-motion: no-preference) {
  .term-ready .term__line { clip-path: inset(-2rem 100% -2rem 0); }
  .term-ready .term__tick { opacity: 0; }
  .term-ready .term__end { opacity: 0; transform: scaleY(.2); }
  .term-ready .term.is-drawn .term__line { clip-path: inset(-2rem 0 -2rem 0); transition: clip-path 1.1s var(--ease-out); }
  .term-ready .contract + .contract .term.is-drawn .term__line { transition-delay: .12s; }
  .term-ready .term.is-drawn .term__tick { opacity: 1; transition: opacity .3s var(--ease-out) calc(var(--pos) * .85s); }
  .term-ready .term.is-drawn .term__end { opacity: 1; transform: none; transition: opacity .2s .9s, transform .45s var(--ease-out) .9s; }
  .steps-ready.steps::before { clip-path: inset(0 100% 0 0); }
  .steps-ready.steps::after, .steps-ready.steps li::after { opacity: 0; }
  .steps-ready.steps.is-drawn::before { clip-path: inset(0); transition: clip-path 1.1s var(--ease-out); }
  .steps-ready.steps.is-drawn li::after { opacity: 1; transition: opacity .3s var(--ease-out); }
  .steps-ready.steps.is-drawn li:nth-child(2)::after { transition-delay: .35s; }
  .steps-ready.steps.is-drawn li:nth-child(3)::after { transition-delay: .7s; }
  .steps-ready.steps.is-drawn::after { opacity: 1; transition: opacity .2s .95s; }
  /* Contract pages: the record is already on screen at load, so its line starts a beat after the page paints */
  .record.term-ready .term.is-drawn .term__line { transition-delay: .25s; }
  .record.term-ready .term.is-drawn .term__tick { transition-delay: calc(.25s + var(--pos) * .85s); }
  .record.term-ready .term.is-drawn .term__end { transition: opacity .2s 1.15s, transform .45s var(--ease-out) 1.15s; }
  /* Feedback: the nav underline draws; form errors and the sent confirmation ease in instead of popping */
  .primary-nav a:not(.btn) { transition: background-size .28s var(--ease-out); }
  .consent { transform: translateY(100%); transition: transform .32s var(--ease-out); }
  .consent.is-shown { transform: none; }
  .form__errors:not([hidden]), .field-error { animation: status-in .25s var(--ease-out); }
  .form-confirm { animation: confirm-in .35s var(--ease-out); }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html.js .site-header, html.js .site-header__bar, html.js .site-header .brand img { transition: none; }
  .form__errors:not([hidden]), .form-confirm { animation: status-fade .2s ease-out; }
  .form-status.is-new { animation-name: status-fade; }
  @keyframes status-fade { from { opacity: 0; } to { opacity: 1; } }
}

/* ---------- Responsive: desktop, tablet (721-900), phone (720 and below) ---------- */
@media (max-width: 1100px) {
  .primary-nav ul { gap: 1.1rem; }
  .offer { grid-template-columns: 3.4rem 1fr; column-gap: 1rem; padding-right: 1.25rem; }
  .offer + .offer { padding-left: 1.5rem; }
  .offer__icon { width: 3.4rem; height: 3.4rem; }
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .site-header__bar { position: relative; gap: .6rem; }
  .header-cta { display: none; }
  .call-link, .js .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid rgba(255, 255, 255, .5); border-radius: 3px; background: rgba(5, 25, 45, .55); color: #fff; }
  .call-link { margin-left: auto; }
  .js .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: .5rem var(--gutter) 1.25rem;
    background: var(--navy-850); border-top: 1px solid rgba(255, 255, 255, .14); border-bottom: 3px solid var(--gold-500); box-shadow: 0 18px 32px -8px rgba(0, 0, 0, .55);
    visibility: hidden; opacity: 0; transform: translateY(-.5rem);
    transition: opacity .15s ease-in, transform .15s ease-in, visibility 0s linear .15s;
  }
  .js .site-header.is-open .primary-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .22s var(--ease-out), transform .22s var(--ease-out), visibility 0s; }
  .js .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .primary-nav a { display: block; padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .js .primary-nav .nav-cta { display: block; padding-top: 1rem; }
  .js .primary-nav .nav-cta a { display: flex; border: 0; padding: .7rem 1rem; color: var(--navy-950); }
  .js .primary-nav .nav-cta a:hover { text-decoration: none; }
  html:not(.js) .site-header { position: relative; background: var(--navy-950); }
  html:not(.js) .site-header__bar { height: auto; flex-wrap: wrap; padding-block: .75rem; }
  html:not(.js) .primary-nav { order: 3; flex-basis: 100%; margin: 0; }
  html:not(.js) .primary-nav ul { flex-wrap: wrap; gap: .25rem 1.25rem; }
  html:not(.js) .hero__inner { padding-top: 2.5rem; }

  /* Tablet: the three offers stay side by side with icons on top */
  .offer, .offer + .offer { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
  .offer { padding-right: 1.25rem; }
  .offer__icon { grid-row: auto; width: 3rem; height: 3rem; margin-bottom: .75rem; }
  .offer h3 { align-self: start; font-size: var(--text-title); }
  /* Steps read as numbered rows */
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 1.75rem; }
  .steps::before { right: auto; bottom: 0; width: 2px; height: auto; }
  .steps::after { right: auto; top: auto; bottom: 0; left: -.5rem; width: 1.15rem; height: 3px; }
  .steps li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: 1rem; padding-block: 1.4rem; border-top: 1px solid var(--rule); }
  .steps li::after { left: -2.15rem; top: calc(1.4rem + 1.625rem - 1.5px); width: .85rem; height: 3px; }
  .steps li::before { grid-row: 1 / span 2; margin: 0; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contract__facts div, .facts div { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .steps-ready.steps::before { clip-path: inset(0 0 100% 0); }
}
@media (min-width: 721px) and (max-width: 1023px) {
  .hero__photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(5, 25, 45, .9) 0%, rgba(5, 25, 45, .78) 48%, rgba(5, 25, 45, .3) 76%, rgba(5, 25, 45, 0) 100%); }
}
/* Desktop: the navy fade the approved photo had baked into its left side, now laid over the film so the headline holds its contrast on every scene */
@media (min-width: 1024px) {
  .hero__photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(5, 25, 45, .97) 0%, rgba(5, 25, 45, .94) 26%, rgba(5, 25, 45, .74) 40%, rgba(5, 25, 45, .34) 54%, rgba(5, 25, 45, 0) 68%); }
}
/* Phones: the third-party chat launcher steps aside while a quote form is on screen (home.js sets the class) */
@media (max-width: 720px) {
  .form-in-view chat-widget { visibility: hidden !important; }
  .consent__actions { width: 100%; }
  .consent .btn { min-height: 2.5rem; }
  .consent__actions .btn { flex: 1 1 0; }
  /* Phones: a quote link lands on the form, so it comes right after the intro; the contact lines follow */
  .contact { row-gap: 0; }
  .contact__intro { display: contents; }
  .contact .quote-form { order: 1; margin-top: 1.5rem; }
  .contact .contact__lines { order: 2; margin: 2rem 0 1.5rem; }
}
@media (max-width: 720px) {
  .hero { display: flex; flex-direction: column; height: auto; min-height: 0; }
  .hero__photo { position: relative; order: 2; height: 58vw; max-height: 22rem; }
  .hero__photo::after { display: none; }
  .hero__photo img, .hero__photo video { object-position: 50% 50%; }
  .hero__inner { order: 1; padding-top: 7.5rem; padding-bottom: 2rem; }
  .hero h1 { font-size: clamp(2rem, 8.6vw, 2.5rem); line-height: 1.02; }
  .awards { gap: 1rem; }
  .awards img { width: 8.5rem; }
  .offers__grid, .contract-split, .facts, .guide-list, .guide-cols, .field-row { grid-template-columns: minmax(0, 1fr); }
  .offers { padding-block: .5rem 2rem; }
  .offer, .offer + .offer { grid-template-columns: 3.4rem minmax(0, 1fr); column-gap: 1rem; padding: 1.5rem 0; }
  .offer + .offer { border-left: 0; border-top: 1px solid var(--rule); }
  .offer__icon { grid-row: 1 / span 2; width: 3.4rem; height: 3.4rem; margin: 0; }
  .offer h3 { align-self: end; }
  .contract, .contract + .contract { padding-inline: 0; }
  .contract + .contract { margin-top: 2.75rem; padding-top: 2.75rem; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
  .contract__facts div, .facts div { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .contact__lines li { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .steps__actions .btn { width: 100%; }
}
@media (max-width: 420px) {
  .brand img { width: 8rem; }
  main .btn { white-space: normal; text-align: center; }
  .hero__actions .btn { flex: 1 1 100%; }
  .steps li { grid-template-columns: 3.25rem minmax(0, 1fr); }
  .steps li::before { font-size: 2.6rem; }
  .steps li::after { top: calc(1.4rem + 1.3rem - 1.5px); }
  .record-card__head { padding: .85rem 1rem; }
  .record-card .facts { padding-inline: 1rem; }
}
@media (max-width: 350px) {
  .contract__no { font-size: 2.3rem; }
  .awards img { width: 7.5rem; }
}

/* ---------- Touch: 44px targets without shifting layout ---------- */
@media (pointer: coarse) {
  .btn, .hero__actions .btn, .site-header .btn { min-height: 2.75rem; }
  .text-link, .contract__facts a, .facts dd a, .contact__lines a, .talk-line a, .section__head p a { position: relative; }
  .text-link::after, .contract__facts a::after, .facts dd a::after, .contact__lines a::after, .talk-line a::after, .section__head p a::after { content: ""; position: absolute; inset: -.7rem -.3rem; }
  .site-footer ul { gap: 0; }
  .site-footer a, .other-work a { display: inline-block; padding-block: .65rem; }
  .other-work ul { row-gap: 0; }
}

/* ---------- Print: the page a buyer files in a council packet ---------- */
@media print {
  @page { margin: 16mm 14mm; }
  html { font-size: 10.5pt; }
  body { background: #fff; color: #000; }
  .consent, .footer-link, .site-footer__legal .sep, .skip-link, .site-header, .hero__photo, .hero__pause, .hero__actions, .awards img, .offers, .quote-form, .contact__intro .btn,
  #guides, .other-work, .site-footer__grid, .term__line, .steps__actions, chat-widget, iframe { display: none !important; }
  .print-head { display: block; margin: 0 0 12pt; padding-bottom: 6pt; border-bottom: 1.5pt solid #000; font-size: 8.5pt; }
  .hero, .section, .contracts, .site-footer, .credentials { background: none !important; color: #000 !important; min-height: 0; height: auto; padding-block: 8pt; }
  .hero__inner { padding: 0; }
  .credentials { border-block: .75pt solid #888; }
  .credentials p { justify-content: flex-start; padding: 4pt 0; }
  .hero h1 { color: #000; font-size: 20pt; max-width: none; }
  .hero__lede, .awards a, .awards span { color: #000; }
  .awards { margin-top: 6pt; gap: 18pt; }
  h2, h3, .contract__name, .contract__no, .term__label, .contract__facts dd, .contract__scope li, .contact__lines li, .section--navy h2 { color: #000 !important; }
  .facts dt, .facts dd, .data-table th, .data-table td, .ruled-item p, .qa__item p, .steps p { color: #000 !important; }
  .print-date { white-space: nowrap; }
  /* A contract may continue onto the next page, but its name, number, term and facts stay together */
  .contract__name, .contract__no, .term { break-after: avoid; }
  .contract__facts, .contract__scope li { break-inside: avoid; }
  .contract__scope li { padding-block: 1pt; }
  .contract__facts div { padding-block: 3pt; }
  .term__label strong, .text-link { color: #000 !important; }
  .term__left, .contract__no-label, .contract__facts dt, .contract__links p, .contact__lines > li > span:first-child { color: #333 !important; }
  .contract-split { grid-template-columns: 1fr 1fr; }
  .contract + .contract { border-left: .75pt solid #888; }
  .contract__no { font-size: 20pt; }
  .contract__facts, .contract__facts div, .contact__lines, .contact__lines li { border-color: #888 !important; }
  .steps li, .facts div, .contact__lines li, #vendor .wrap { break-inside: avoid; }
  .contract__scope li::before, .ticks li::before { background: #000 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .steps li::before { color: #000 !important; }
  .steps::before { background: #000; }
  .record-card { border-color: #888; }
  .record-card__head { padding: 4pt 0; background: none !important; border-bottom: .75pt solid #000; }
  .record-card__head h3, .record-card__head, .section .record-card__head a:not(.btn):not(.text-link) { color: #000 !important; }
  .record-card .facts { padding: 0; }
  h2, h3 { break-after: avoid; }
  .section__head h2::after, .contact__intro h2::after { background: #000; }
  .wrap { padding-inline: 0; }
  a { color: #000 !important; text-decoration: none !important; }
  a[href^="http"]:not(.btn)::after { content: " (" attr(href) ")"; font-weight: 400; font-size: 8pt; color: #333; word-break: break-all; }
  a[href^="/"]:not(.btn):not(.brand)::after { content: " (bidrtech.com" attr(href) ")"; font-weight: 400; font-size: 8pt; color: #333; }
  .text-link svg { display: none; }
  .text-link { display: inline; }
  .contact { grid-template-columns: 1fr; }
  .site-footer__legal { border: 0; padding: 6pt 0 0; color: #000; }
}
