/* ==========================================================================
   Paragon Fasteners & Supply Co.
   Deliberately period-correct: a regional industrial distributor site of the
   mid-2000s. Fixed-width centre column, gradient chrome, bevelled panels,
   1px borders on everything, dense product thumbnails, blue underlined links.
   ========================================================================== */

:root {
  /* Industrial navy + safety orange, the standard fastener-trade palette. */
  --navy-d:   #10294c;
  --navy:     #1b4079;
  --navy-l:   #3a6ea5;
  --navy-r:   #2f537f;  /* hairlines on navy */
  --orange:   #d1500f;
  --orange-l: #f26522;
  --gold:     #b8860b;
  --gold-l:   #d9a520;

  --ink:      #22262a;
  --ink-2:    #4a5055;
  --rule:     #9aa0a4;
  --rule-l:   #c6cbcf;
  --panel:    #f4f5f2;
  --panel-2:  #e7e9e4;
  --page:     #d8dad3;
  --white:    #ffffff;

  --link:     #0b3d91;
  --link-v:   #5a2d82;
  --link-h:   #cc3300;

  --sans:   Arial, Helvetica, sans-serif;
  --head:   "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
  --narrow: "Arial Narrow", Arial, Helvetica, sans-serif;
  --serif:  Georgia, "Times New Roman", Times, serif;

  --w: 100%;                /* full-width: the boxed column fills the viewport at any size */
  --gut: clamp(16px, 3vw, 72px);  /* fluid side gutter so content isn't glued to the edges */
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  /* Period sites sat a fixed white column on a flat coloured field. */
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
}

img, svg { display: block; }

a { color: var(--link); }
a:visited { color: var(--link-v); }
a:hover { color: var(--link-h); }

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

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 8px; top: 8px; z-index: 100;
  background: var(--navy-d); color: #fff; padding: 8px 14px; font-size: 12px;
}

/* The fixed centre column — the single most period-defining decision. The whole
   page, chrome included, is one boxed column sitting on the flat field. */
.wrap { width: var(--w); margin: 0 auto; }
.util, .mast, .nav {
  width: var(--w);
  margin: 0 auto;
  border-left: 1px solid #8f958a;
  border-right: 1px solid #8f958a;
}
/* Inside those already-fixed bands the inner .wrap must not re-assert --w, or it
   overruns the 2px the side borders cost. */
.util .wrap, .mast .wrap { width: auto; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* --- product imagery ---------------------------------------------------- */
/* Every fastener render is an inline <svg><use>. `.fx` is the bare part;
   `.thumb` wraps it in the bevelled catalogue tile the era used everywhere. */

.fx { width: 100%; height: auto; }

.thumb {
  background: linear-gradient(#ffffff, #dfe3e5);
  border: 1px solid var(--rule);
  padding: 6px;
  box-shadow: inset 0 0 0 1px #fff, 1px 1px 3px rgba(0,0,0,.22);
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.thumb-grid li { margin: 0; }
.thumb-cap {
  font-family: var(--narrow);
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--ink-2);
  text-align: center;
  margin: 4px 0 0;
  letter-spacing: .02em;
}

/* Scatter band: loose fasteners strewn across a strip, as on every one of
   these sites' mastheads. Markup generated by tools/build.mjs. */
.scatter { position: relative; overflow: hidden; }
.scatter .fx {
  position: absolute;
  width: auto;
  opacity: .92;
  filter: drop-shadow(1px 2px 2px rgba(0,0,0,.35));
}

/* --- utility bar -------------------------------------------------------- */

.util {
  background: linear-gradient(#ffffff, #e4e6e1);
  border-bottom: 1px solid var(--rule);
  font-size: 11px;
}
.util-in { display: flex; align-items: center; gap: 10px; height: 30px; }
.util a { text-decoration: none; font-weight: bold; }
.util a:hover { text-decoration: underline; }
.util-sep { color: var(--rule); }
.util-push { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.util-phone { font-weight: bold; color: var(--navy); font-size: 13px; }

.search { display: flex; }
.search input {
  width: 168px;
  font-family: var(--sans);
  font-size: 11px;
  padding: 3px 5px;
  border: 1px solid #8d9398;
  border-right: 0;
  background: #fff;
}
.search button {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: bold;
  color: #fff;
  padding: 3px 10px;
  border: 1px solid var(--navy-d);
  background: linear-gradient(var(--navy-l), var(--navy));
  cursor: pointer;
}
.search button:hover { background: linear-gradient(var(--orange-l), var(--orange)); }

/* --- masthead ----------------------------------------------------------- */

.mast { background: var(--navy-d); border-bottom: 3px solid var(--orange); }
.mast-in {
  position: relative;
  display: flex;
  align-items: center;
  height: 96px;
  padding: 0 14px;
  overflow: hidden;
}
/* Fasteners strewn behind the wordmark, dimmed so the type stays readable. */
.mast .scatter { position: absolute; inset: 0; opacity: .5; }

.mark { text-decoration: none; display: block; position: relative; z-index: 2; }
.mark-name {
  font-family: var(--head);
  font-size: 34px;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-shadow: 2px 2px 0 rgba(0,0,0,.55);
}
.mark-name span { color: var(--gold-l); }
.mark-sub {
  font-family: var(--narrow);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #b9c6d8;
  margin-top: 5px;
}

/* ISO badge at the top right of the masthead — a fixture of this vertical. */
.badge {
  position: relative;
  z-index: 2;
  margin-left: auto;
  text-align: center;
  border: 2px solid #fff;
  padding: 6px 12px;
  color: #fff;
  background: rgba(0,0,0,.32);
}
.badge b {
  display: block;
  font-family: var(--head);
  font-size: 19px;
  line-height: 1;
  letter-spacing: .04em;
}
.badge span {
  display: block;
  font-family: var(--narrow);
  font-size: 10px;
  font-weight: bold;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-top: 3px;
  color: var(--gold-l);
}

/* --- nav bar ------------------------------------------------------------ */

.nav {
  display: flex;
  background: linear-gradient(#f6f7f4, #d3d7d1);
  border-bottom: 1px solid #8d9398;
}
.nav a {
  flex: 1;
  text-align: center;
  font-family: var(--narrow);
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-decoration: none;
  color: var(--navy-d);
  padding: 9px 4px;
  border-right: 1px solid #b3b8b3;
  border-left: 1px solid #fff;
}
.nav a:visited { color: var(--navy-d); }
.nav a:first-child { border-left: 0; }
.nav a:last-child { border-right: 0; }
.nav a:hover { background: linear-gradient(var(--navy-l), var(--navy)); color: #fff; }
.nav a[aria-current="page"] {
  background: linear-gradient(var(--orange-l), var(--orange));
  color: #fff;
}

/* --- page shell --------------------------------------------------------- */

main {
  width: var(--w);
  margin: 0 auto;
  background: var(--white);
  border-left: 1px solid #8f958a;
  border-right: 1px solid #8f958a;
}
main .wrap { width: auto; }

.sec { padding: 20px 14px; border-bottom: 1px solid var(--rule-l); }
.sec-white { background: var(--white); }
.sec-dark { background: var(--navy-d); color: #ccd6e4; border-bottom: 3px solid var(--orange); }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-dark a { color: var(--gold-l); }
/* Buttons keep their own colour on navy — the link rule above would otherwise
   paint gold text onto an orange button. */
.sec-dark a.btn { color: #fff; }
.sec-dark a.btn-ghost { color: var(--navy-d); }
.sec-dark a.btn-ghost:hover { color: #fff; }
/* Thumbnail captions are ink-coloured by default and vanish on a dark band. */
.sec-dark .thumb-cap { color: #b8c4d4; }
.sec-line { border-top: 1px solid var(--rule-l); }

/* Full-width layout: fluid side gutter on every top-level content block + the
   chrome bands, so section backgrounds bleed edge-to-edge while their content
   keeps a consistent, screen-adaptive margin. padding-inline only touches L/R, so
   each block's own vertical padding is preserved. */
.sec, .cta, .foot, .hexrow, .proof-grid, .util-in, .mast-in {
  padding-inline: var(--gut);
}

/* --- headings ----------------------------------------------------------- */
/* Big, bold, uppercase, coloured — the era's whole typographic idea. */

h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: normal; }

h1 { font-size: 28px; line-height: 1.1; text-transform: uppercase; color: var(--navy); }
h2 { font-size: 21px; line-height: 1.15; text-transform: uppercase; color: var(--navy); }
h3 { font-family: var(--sans); font-size: 13px; font-weight: bold; color: var(--navy-d); }
h4 { font-family: var(--sans); font-size: 12px; font-weight: bold; }

.sec-head { margin-bottom: 14px; }
.sec-head h2 { border-bottom: 2px solid var(--orange); padding-bottom: 5px; margin-bottom: 8px; }
.sec-dark .sec-head h2 { border-bottom-color: var(--gold); }

.eyebrow {
  font-family: var(--narrow);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 4px;
}
.eyebrow-dk { color: var(--gold-l); }

.lede { font-size: 12px; line-height: 1.55; margin: 0; color: var(--ink-2); }
.sec-dark .lede { color: #b8c4d4; }

p { margin: 0 0 9px; }

/* --- hero banner -------------------------------------------------------- */

.hero { padding: 0; border-bottom: 1px solid var(--rule); }

/* The rotating-banner slot: collage left, boxed promotion right. */
.banner { display: grid; grid-template-columns: 1fr 300px; border-bottom: 1px solid var(--rule); }
.banner-main {
  position: relative;
  min-height: 208px;
  background: linear-gradient(#6b7885, #39434e);
  overflow: hidden;
  padding: 24px 22px;
}
.banner-main .scatter { position: absolute; inset: 0; opacity: .95; }
/* Keeps the strewn parts from fighting the headline they sit behind. */
.banner-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(16,22,28,.86) 34%, rgba(16,22,28,.10) 72%);
}
.banner-copy { position: relative; z-index: 2; max-width: 430px; }
.banner-copy h1 {
  font-size: 36px;
  color: #fff;
  line-height: 1.02;
  text-shadow: 2px 2px 0 rgba(0,0,0,.6);
  margin-bottom: 10px;
}
.banner-copy h1 em { font-style: normal; color: var(--gold-l); }
.banner-copy p {
  color: #e6ebf0;
  font-size: 12.5px;
  text-shadow: 1px 1px 2px rgba(0,0,0,.8);
  margin-bottom: 12px;
}

/* Boxed promotion, black and gold, straight off the era's homepages. */
.promo { background: #fff; border-left: 1px solid var(--rule); padding: 14px; text-align: center; }
.promo-k {
  font-family: var(--head);
  font-size: 21px;
  line-height: 1.05;
  text-transform: uppercase;
  color: #111;
}
.promo-k em { font-style: normal; color: var(--gold); }
.promo-band {
  background: #111;
  color: #fff;
  font-size: 11.5px;
  line-height: 1.4;
  padding: 8px 9px;
  margin: 9px 0;
  text-align: left;
}
.promo-band b { color: var(--gold-l); }

/* --- buttons ------------------------------------------------------------ */

.btn {
  display: inline-block;
  font-family: var(--narrow);
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  color: #fff;
  padding: 7px 16px;
  border: 1px solid var(--navy-d);
  background: linear-gradient(var(--orange-l), var(--orange));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
}
.btn:visited { color: #fff; }
.btn:hover { background: linear-gradient(#ff7c3c, #b8440c); color: #fff; }
.btn-ghost { background: linear-gradient(#fbfbf9, #d7dbd6); color: var(--navy-d); }
.btn-ghost:visited { color: var(--navy-d); }
.btn-ghost:hover { background: linear-gradient(var(--navy-l), var(--navy)); color: #fff; }
.btn-blk { background: linear-gradient(#3d3d3d, #111); border-color: #000; }
.btn-blk:hover { background: linear-gradient(#555, #000); }

.hero-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.block-action { margin: 12px 0 0; }

/* --- hexagon quick links ------------------------------------------------ */
/* Both Stelfast and Lindstrom use a hex motif for category shortcuts. */

.hexrow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--panel);
  border-bottom: 1px solid var(--rule);
}
.hexlink {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 10px;
  text-decoration: none;
  border-right: 1px solid var(--rule-l);
}
.hexlink:last-child { border-right: 0; }
.hexlink:hover { background: #fff; }
.hexmark {
  flex: 0 0 40px;
  height: 44px;
  background: var(--navy);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hexlink:hover .hexmark { background: var(--orange); }
.hexmark .fx { width: 30px; }
.hexlink b {
  font-family: var(--narrow);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--orange);
}
.hexlink:hover b { color: var(--navy-d); }
.hexlink span { display: block; font-size: 10.5px; color: var(--ink-2); }

/* --- proof strip -------------------------------------------------------- */

.proof { background: linear-gradient(#26456f, #10294c); border-bottom: 3px solid var(--orange); }
.proof-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.proof-item { padding: 11px 8px; text-align: center; border-left: 1px solid var(--navy-r); }
.proof-item:first-child { border-left: 0; }
.proof-val {
  font-family: var(--head);
  font-size: 22px;
  line-height: 1;
  color: var(--gold-l);
  text-shadow: 1px 1px 0 rgba(0,0,0,.5);
}
.proof-key {
  font-family: var(--narrow);
  font-size: 10.5px;
  font-weight: bold;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #a8bcd4;
  margin-top: 4px;
}

/* --- catalogue cards ---------------------------------------------------- */

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cat { border: 1px solid var(--rule); background: var(--white); box-shadow: 1px 1px 0 rgba(0,0,0,.09); }
.cat h3 {
  background: linear-gradient(#f6f7f4, #dfe3dd);
  border-bottom: 1px solid var(--rule);
  padding: 6px 9px;
  font-size: 12.5px;
  text-transform: uppercase;
  color: var(--navy-d);
}
.cat-in { display: flex; gap: 9px; padding: 9px; }
.cat-shot { flex: 0 0 76px; }
.cat-body { font-size: 11.5px; line-height: 1.45; margin: 0; color: var(--ink-2); }
.cat-mat {
  font-family: var(--narrow);
  font-size: 11px;
  font-weight: bold;
  color: var(--navy);
  background: var(--panel);
  border-top: 1px solid var(--rule-l);
  padding: 5px 9px;
  margin: 0;
}
.cat-mat span { color: var(--ink-2); font-weight: normal; }

/* --- panels ------------------------------------------------------------- */

.panel { border: 1px solid var(--rule); background: var(--white); margin-bottom: 14px; }
.panel-head {
  background: linear-gradient(var(--navy-l), var(--navy));
  color: #fff;
  font-family: var(--narrow);
  font-size: 13px;
  font-weight: bold;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-bottom: 1px solid var(--navy-d);
}
.panel-in { padding: 10px; }

/* --- tables ------------------------------------------------------------- */
/* Bordered, filled header row, zebra striping — the era's default data look. */

.tbl { width: 100%; border-collapse: collapse; font-size: 11.5px; border: 1px solid var(--rule); }
.tbl caption {
  text-align: left;
  font-family: var(--narrow);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-bottom: 5px;
}
.tbl th, .tbl td { text-align: left; padding: 5px 8px; border: 1px solid var(--rule-l); vertical-align: top; }
.tbl thead th {
  background: linear-gradient(var(--navy-l), var(--navy));
  color: #fff;
  font-family: var(--narrow);
  font-size: 11.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-color: var(--navy-d);
}
.tbl tbody tr:nth-child(odd) { background: var(--panel); }
.tbl tbody th { background: var(--panel-2); font-weight: bold; color: var(--navy-d); }
.tbl td.mono { font-family: "Courier New", Courier, monospace; }
.tbl-scroll { overflow-x: auto; }

.tbl-dark { border-color: var(--navy-r); }
.tbl-dark th, .tbl-dark td { border-color: var(--navy-r); color: #ccd6e4; }
.tbl-dark thead th { color: #fff; }
.tbl-dark tbody tr:nth-child(odd) { background: rgba(255,255,255,.05); }
.tbl-dark tbody th { background: rgba(255,255,255,.09); color: #fff; }
.tbl-dark caption { color: #a8bcd4; }

/* --- feature rows ------------------------------------------------------- */

.rows { display: grid; gap: 8px; }
.row-item {
  display: grid;
  grid-template-columns: 60px 150px 1fr;
  gap: 12px;
  align-items: start;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--navy-r);
  padding: 10px;
}
.row-label {
  font-family: var(--narrow);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-l);
}
.row-item h3 { font-size: 12.5px; margin-bottom: 4px; }
.row-item p { margin: 0; font-size: 11.5px; color: #b8c4d4; }

/* --- columns & lists ---------------------------------------------------- */

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.col-block h3 { font-size: 13px; margin-bottom: 5px; }
.col-block p { font-size: 11.5px; color: var(--ink-2); }
.sec-h2-inline { font-size: 18px; margin-bottom: 7px; }

.list { list-style: none; margin: 0; padding: 0; }
.list li {
  font-size: 11.5px;
  padding: 5px 0 5px 16px;
  border-bottom: 1px dotted var(--rule);
  position: relative;
}
.list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 10px;
  width: 6px; height: 6px;
  background: var(--orange);
}
.sec-dark .list li { border-bottom-color: var(--navy-r); color: #ccd6e4; }
.sec-dark .list li::before { background: var(--gold-l); }

.note {
  font-size: 11.5px;
  background: #fffbe8;
  border: 1px solid #e0cf8a;
  border-left: 4px solid var(--gold);
  padding: 7px 10px;
  margin: 12px 0 0;
}
.stack-gap { margin-top: 10px; }
.contact-dim { color: var(--ink-2); }

/* --- interior page head ------------------------------------------------- */

.page-head {
  background: linear-gradient(#eef0ec, #fff);
  border-bottom: 2px solid var(--orange);
  padding: 16px 14px;
}
.page-head h1 { margin-bottom: 6px; }
.crumb { font-size: 11px; color: var(--ink-2); margin-bottom: 7px; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* --- hero spec strip ---------------------------------------------------- */

.spec { border-top: 1px solid var(--rule-l); padding: 10px 14px; background: var(--panel); }
.spec-cap {
  font-family: var(--narrow);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 7px;
}
.spec-row { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.spec-seg { flex: 0 0 auto; text-align: center; }
.spec-val { font-family: var(--head); font-size: 19px; color: var(--navy); line-height: 1; white-space: nowrap; }
.spec-brk { height: 5px; margin-top: 4px; border: 1px solid var(--orange); border-top: 0; }
.spec-key {
  font-family: var(--narrow);
  font-size: 10px;
  font-weight: bold;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 3px;
}
.spec-x { font-family: var(--head); font-size: 19px; color: var(--rule); }

/* --- technical drawing (carried over from the original build) ----------- */

.draw { margin: 0; }
.draw svg { width: 100%; height: auto; overflow: visible; }
.d-part { fill: #e9edef; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.d-thin { stroke: var(--ink); stroke-width: 1; }
.d-thread { stroke: #8b949a; stroke-width: 1; }
.d-centre { stroke: #8b949a; stroke-width: 1; stroke-dasharray: 22 4 3 4; }
.d-dim { stroke: var(--orange); stroke-width: 1; fill: var(--orange); }
.d-dim .d-ext { stroke: var(--orange); opacity: .45; }
.d-dim text { font-family: var(--sans); font-size: 13px; fill: var(--orange); stroke: none; }
.draw figcaption {
  font-family: var(--narrow);
  font-size: 10.5px;
  font-weight: bold;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 6px;
  text-align: center;
}

/* --- contact ------------------------------------------------------------ */

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.contact-card { border: 1px solid var(--rule); background: var(--white); }
.contact-card h3 {
  background: linear-gradient(#f6f7f4, #dfe3dd);
  border-bottom: 1px solid var(--rule);
  padding: 6px 9px;
  text-transform: uppercase;
}
.contact-card > :not(h3) { margin-left: 9px; margin-right: 9px; }
.contact-card > :last-child { margin-bottom: 9px; }
.contact-line { font-size: 12px; margin: 7px 0 0; font-weight: bold; color: var(--navy-d); }
.contact-note { font-size: 11px; color: var(--ink-2); margin: 6px 0 0; }

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

.cta { background: linear-gradient(#f6f7f4, #dfe3dd); border-top: 2px solid var(--orange); padding: 14px; }
.cta-in { display: flex; align-items: center; gap: 20px; }
.cta h2 { font-size: 18px; margin-bottom: 5px; }
.cta p { margin: 0; font-size: 11.5px; color: var(--ink-2); }
.cta-side { margin-left: auto; text-align: right; }
.cta-phone { font-family: var(--head); font-size: 27px; color: var(--orange); text-decoration: none; white-space: nowrap; }
.cta-phone:visited { color: var(--orange); }
.cta-hours {
  font-family: var(--narrow);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 2px;
}

/* --- footer ------------------------------------------------------------- */

.foot {
  width: var(--w);
  margin: 0 auto;
  background: linear-gradient(#26456f, #10294c);
  border-top: 3px solid var(--orange);
  color: #b8c4d4;
  padding: 16px 14px 12px;
}
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 18px; }
.foot h4 {
  font-family: var(--narrow);
  font-size: 12px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold-l);
  border-bottom: 1px solid var(--navy-r);
  padding-bottom: 4px;
  margin-bottom: 7px;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 3px; }
.foot a { color: #cdd8e6; text-decoration: none; font-size: 11.5px; }
.foot a:visited { color: #cdd8e6; }
.foot a:hover { color: var(--gold-l); text-decoration: underline; }
.foot p { font-size: 11.5px; margin: 0 0 5px; }
.foot-mono { line-height: 1.6; }
.foot-gap { margin-top: 7px; }
.foot-base {
  margin-top: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--navy-r);
  display: flex;
  gap: 14px;
  font-size: 10.5px;
  color: #8fa3bd;
}
.foot-base .util-push { margin-left: auto; }

/* --- narrow screens ----------------------------------------------------- */
/* Period sites were fixed-width only. A minimal collapse keeps the page from
   scrolling sideways on a phone without pretending to be a responsive build. */

@media (max-width: 1000px) {
  :root { --w: 100%; }
  main, .foot { width: auto; }
  .util, .mast, .nav { width: auto; border-left: 0; border-right: 0; }
  .banner { grid-template-columns: 1fr; }
  .promo { border-left: 0; border-top: 1px solid var(--rule); }
  .thumb-grid { grid-template-columns: repeat(4, 1fr); }
  .hexrow { grid-template-columns: repeat(2, 1fr); }
  .cat-grid, .contact-grid, .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
  .util-in { height: auto; flex-wrap: wrap; padding: 5px 0; }
  .search input { width: 120px; }
  .mast-in { height: auto; padding: 12px 14px; flex-wrap: wrap; gap: 10px; }
  .mark-name { font-size: 25px; }
  .badge { margin-left: 0; }
  .nav { flex-wrap: wrap; }
  .nav a { flex: 1 0 33%; }
  .banner-copy h1 { font-size: 26px; }
  .cat-grid, .contact-grid, .cols, .cols-3 { grid-template-columns: 1fr; }
  .thumb-grid { grid-template-columns: repeat(3, 1fr); }
  .hexrow { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .row-item { grid-template-columns: 50px 1fr; }
  .row-item > :last-child { grid-column: 1 / -1; }
  .cta-in { flex-wrap: wrap; }
  .cta-side { margin-left: 0; text-align: left; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
