/* MGA Cooling, Version B "The Trade". Shared tokens and components.
   The page is a job card: sheets on hard grounds, field labels in mono, claims in
   heavy condensed Archivo. Engine tokens are themed here; the engine is untouched. */

:root {
  --navy: #001848;
  --navy-2: #0a2a62;
  --night: #000c24;
  --paper: #edf0f4;
  --paper-2: #e2e7ee;
  --paper-edge: #d3d9e2;
  --ink: #0a1533;
  --ink-soft: #3c4968;
  --bone: #f3f5f8;
  --bone-soft: #aeb9d1;
  --carbon: #23409a;
  --orange: #f04800;
  --orange-dk: #c43a00;
  --orange-lt: #ff6a2b;
  --red: #c00000;
  --steel: #cfd5dd;
  --steel-2: #bcc3cd;
  --plate: #eef1f5;
  --blue: #0060c0;

  --sc-canvas: var(--paper);
  --sc-surface: #ffffff;
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--orange-dk);
  --sc-accent-ink: #ffffff;
  --sc-font-display: "Archivo", system-ui, sans-serif;
  --sc-font-text: "Archivo", system-ui, sans-serif;
  --sc-font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --sc-shadow-color: 222 70% 8%;
  --sc-r-sm: 3px; --sc-r-md: 4px; --sc-r-lg: 6px;

  --gutter: clamp(1rem, 4.6vw, 4.5rem);
  --docket-w: 0px;
  --t-mast: clamp(2.6rem, 0.9rem + 6.2vw, 8.2rem);
  --t-h1: clamp(2.5rem, 1.2rem + 4.6vw, 6rem);
  --t-h2: clamp(2.1rem, 1.1rem + 3.4vw, 4.6rem);
  --t-h3: clamp(1.35rem, 1rem + 1.1vw, 2rem);
  --label: 0.74rem;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --perf: radial-gradient(circle at 7px 0, transparent 4.2px, currentColor 4.6px) 0 0 / 14px 8px repeat-x;
  color-scheme: light;
}
@media (min-width: 1100px) { :root { --docket-w: 300px; } }

html { scroll-padding-top: 1rem; }
body { background: var(--paper); color: var(--ink); font-stretch: 100%; }
body.is-dark { background: var(--navy); }

/* Display type: heavy condensed Archivo, sentence case. */
.d, h1, h2, .h2, .h3 {
  font-family: var(--sc-font-display);
  font-stretch: 64%;
  font-weight: 860;
  line-height: 0.9;
  letter-spacing: -0.006em;
  word-spacing: 0.06em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--t-h1); }
h2, .h2 { font-size: var(--t-h2); }
h3, .h3 { font-size: var(--t-h3); line-height: 0.98; font-family: var(--sc-font-display); font-stretch: 72%; font-weight: 800; letter-spacing: -0.005em; margin: 0; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(1.08rem, 0.98rem + 0.45vw, 1.35rem); line-height: 1.45; max-width: 52ch; }
.body { max-width: 62ch; color: var(--ink-soft); }
.on-dark .body, .on-dark .lede { color: var(--bone-soft); }
.lbl {
  font-family: var(--sc-font-mono);
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.35;
}
.mono { font-family: var(--sc-font-mono); }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--navy); color: var(--bone); padding: 0.75rem 1rem; text-decoration: none; }
.skip:focus { top: 1rem; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange-dk); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .is-dark :focus-visible { outline-color: var(--orange-lt); }
::selection { background: var(--orange); color: #fff; }

/* grounds */
.on-dark { color: var(--bone); --sc-ink: var(--bone); --sc-ink-soft: var(--bone-soft); }
.g-paper { background: var(--paper); color: var(--ink); }
.g-navy { background: var(--navy); color: var(--bone); }
.g-night { background: var(--night); color: var(--bone); }
.g-orange { background: var(--orange); color: var(--ink); }
.g-steel { background: var(--steel); color: var(--ink); }
.ruled { background-image: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(35, 64, 154, 0.09) 31px 32px); }
/* a perforated top edge: the sheet above is torn along it */
.perf { position: relative; }
.perf::before {
  content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 8px; pointer-events: none;
  background: var(--perf); color: inherit;
}
.perf.perf--paper::before { color: var(--paper); }
.perf.perf--navy::before { color: var(--navy); }
.perf.perf--night::before { color: var(--night); }
.perf.perf--steel::before { color: var(--steel); }
.perf.perf--orange::before { color: var(--orange); }

.wrap { width: 100%; max-width: 88rem; margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 1100px) { .wrap--docket { padding-right: calc(var(--docket-w) + var(--gutter) + 1rem); max-width: none; } }

/* the sheet folio: a printed running head on each sheet, not an eyebrow */
.folio { display: flex; gap: 1.25rem; align-items: baseline; padding-block: 1.1rem 0; border-top: 1px solid currentColor; opacity: 0.86; }
.folio .lbl:last-child { margin-left: auto; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0.7rem 1.25rem;
  font: 700 1rem/1 var(--sc-font-text); font-stretch: 88%; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap; border-radius: 3px; border: 2px solid transparent;
  cursor: pointer; transition: transform 120ms var(--ease), background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--orange { background: var(--orange-dk); color: #fff; }
.btn--navy { background: var(--navy); color: var(--bone); }
.btn--line { border-color: currentColor; background: transparent; }
.btn--bone { background: var(--bone); color: var(--navy); }
@media (hover: hover) and (pointer: fine) {
  .btn--orange:hover { background: #a93200; }
  .btn--navy:hover { background: #00256b; }
  .btn--line:hover { background: color-mix(in oklab, currentColor 10%, transparent); }
}
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.lnk { font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }

/* ticks: a hand-drawn check that strokes in */
.tick { display: inline-grid; place-items: center; width: 1.15em; height: 1.15em; border: 1.5px solid currentColor; border-radius: 2px; flex: none; }
.tick svg { width: 100%; height: 100%; overflow: visible; }
.tick path { fill: none; stroke: var(--orange-dk); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset 420ms var(--ease); }
.is-ticked .tick path, .tick.is-on path { stroke-dashoffset: 0; }
.on-dark .tick path { stroke: var(--orange-lt); }

/* ---------------------------------------------------------------- letterhead */
.lh { position: relative; z-index: 40; }
.lh__in { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; padding-block: 0.6rem; }
.lh__logo { display: block; flex: none; }
.lh__logo img { width: 112px; height: auto; }
.lh__nav { display: flex; gap: 1.35rem; margin-left: auto; }
.lh__nav a { text-decoration: none; font-weight: 650; font-size: 0.98rem; padding-block: 0.6rem; border-bottom: 2px solid transparent; }
.lh__nav a[aria-current="page"], .lh__nav a:hover { border-bottom-color: var(--orange-dk); }
.lh__act { display: flex; gap: 0.6rem; align-items: center; }
.lh__tel { font-family: var(--sc-font-mono); font-weight: 600; font-size: 0.95rem; text-decoration: none; padding: 0.6rem 0.2rem; white-space: nowrap; }
.lh__menu { display: none; }
@media (max-width: 1099px) {
  .lh__nav, .lh__tel, .lh__act .btn--line { display: none; }
  .lh__in { min-height: 64px; gap: 0.75rem; }
  .lh__logo img { width: 92px; }
  .lh__act { margin-left: auto; }
  .lh__menu { display: inline-flex; }
}
@media (max-width: 420px) { .lh__act .btn--orange { display: none; } }

/* ---------------------------------------------------------------- the docket */
.docket { --slip: #f4f6f9; color: var(--ink); }
.docket__slip {
  position: fixed; z-index: 70; right: 16px; top: 50%; width: calc(var(--docket-w) - 16px);
  transform: translate3d(0, -50%, 0); background: var(--slip);
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, rgba(35, 64, 154, 0.08) 27px 28px);
  box-shadow: 0 2px 3px hsl(222 70% 8% / 0.22), 0 14px 34px -10px hsl(222 70% 8% / 0.45);
  border-radius: 2px; padding: 0.95rem 1rem 1rem;
  transition: transform 520ms var(--ease), opacity 360ms var(--ease);
}
.docket__slip::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 8px; background: var(--perf); color: var(--slip); }
.docket__head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; padding-bottom: 0.55rem; border-bottom: 2px solid var(--ink); }
.docket__title { font-family: var(--sc-font-display); font-stretch: 68%; font-weight: 850; font-size: 1.35rem; line-height: 1; }
.docket__no { font-family: var(--sc-font-mono); font-size: 0.72rem; color: var(--red); letter-spacing: 0.06em; }
.docket__lines { list-style: none; margin: 0.35rem 0 0; padding: 0; }
.docket__lines a { display: grid; grid-template-columns: auto 6.2rem 1fr; gap: 0.55rem; align-items: start; text-decoration: none; padding: 0.42rem 0; border-bottom: 1px dashed rgba(10, 21, 51, 0.22); min-height: 44px; }
.docket__lines a:hover .dk-k, .docket__lines a[aria-current="true"] .dk-k { color: var(--orange-dk); }
.docket__lines a[aria-current="true"] { box-shadow: inset 3px 0 0 var(--orange-dk); padding-left: 0.45rem; margin-left: -0.45rem; }
.dk-k { font-family: var(--sc-font-mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; padding-top: 0.12rem; }
.dk-v { font-family: var(--sc-font-mono); font-size: 0.76rem; line-height: 1.35; color: var(--carbon); min-height: 1.1em; border-bottom: 1px solid transparent; }
.dk-v:empty { border-bottom: 1px dotted rgba(10, 21, 51, 0.35); }
.dk-v.is-pre { color: #4f5a75; }
.dk-v .caret { display: inline-block; width: 0.5em; height: 1em; vertical-align: -0.15em; background: var(--carbon); margin-left: 1px; animation: caret 0.8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.docket__lines .tick { width: 1rem; height: 1rem; margin-top: 0.08rem; }
.docket__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.85rem; }
.docket__acts .btn { min-height: 44px; padding: 0.5rem 0.6rem; font-size: 0.9rem; }
.docket__acts .btn--orange { grid-column: 1 / -1; }
.docket__menu { display: none; }
.docket__bar { display: none; }
.docket.is-handed .docket__slip { transform: translate3d(calc(100% + 40px), -50%, 0); opacity: 0; pointer-events: none; }
.docket.is-handed .docket__bar { transform: translateY(110%); }

@media (max-width: 1099px) {
  .docket__bar {
    position: fixed; z-index: 75; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr auto auto; gap: 0.5rem; align-items: center;
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom)); background: var(--slip); color: var(--ink);
    box-shadow: 0 -10px 30px -12px hsl(222 70% 8% / 0.5); transition: transform 360ms var(--ease);
  }
  .docket__bar::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 8px; background: var(--perf); color: var(--slip); }
  .docket__toggle { display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem; min-height: 48px; padding: 0.35rem 0.5rem; background: none; border: 0; text-align: left; cursor: pointer; min-width: 0; }
  .docket__toggle .docket__title { font-size: 1.15rem; display: flex; align-items: center; gap: 0.4rem; }
  .docket__toggle .docket__title svg { width: 0.9rem; height: 0.9rem; transition: transform 200ms var(--ease); }
  .docket__toggle[aria-expanded="true"] .docket__title svg { transform: rotate(180deg); }
  .docket__latest { font-family: var(--sc-font-mono); font-size: 0.7rem; color: var(--carbon); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .docket__bar .btn { min-height: 48px; padding: 0.5rem 0.85rem; }
  .docket__slip {
    left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 82svh; overflow: auto; border-radius: 0;
    padding: 1.1rem var(--gutter) calc(6.5rem + env(safe-area-inset-bottom));
    transform: translate3d(0, 105%, 0); visibility: hidden; z-index: 74;
    transition: transform 380ms var(--ease), visibility 0s linear 380ms;
  }
  .docket.is-open .docket__slip { transform: none; visibility: visible; transition: transform 380ms var(--ease); }
  .docket.is-handed .docket__slip { transform: translate3d(0, 105%, 0); }
  .docket__menu { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; margin-top: 1rem; padding-top: 0.75rem; border-top: 2px solid var(--ink); }
  .docket__menu a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; font-size: 1.05rem; border-bottom: 1px solid rgba(10, 21, 51, 0.14); }
  .docket__scrim { position: fixed; inset: 0; z-index: 73; background: rgba(0, 12, 36, 0.45); opacity: 0; visibility: hidden; transition: opacity 260ms var(--ease), visibility 0s linear 260ms; }
  .docket.is-open .docket__scrim { opacity: 1; visibility: visible; transition: opacity 260ms var(--ease); }
  .ft { padding-bottom: calc(2rem + 68px + env(safe-area-inset-bottom)) !important; }
}
@media (min-width: 1100px) { .docket__scrim { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .docket__slip, .docket__bar, .docket__scrim { transition: none !important; }
  .dk-v .caret { animation: none; }
}

/* ---------------------------------------------------------------- plates (credentials) */
.plate {
  position: relative; background: linear-gradient(180deg, #f6f8fa, var(--plate) 60%, #e3e7ed);
  border: 1px solid #b7bec9; border-radius: 3px; padding: 1.25rem 1.35rem 1.2rem;
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px hsl(222 40% 10% / 0.18), 0 8px 16px -10px hsl(222 40% 10% / 0.35);
}
.plate::before, .plate::after {
  content: ""; position: absolute; top: 9px; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #9aa3b0 60%, #6f7885); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}
.plate::before { left: 9px; } .plate::after { right: 9px; }
.plate .lbl { color: var(--ink-soft); }

/* spec rows */
.spec { display: grid; grid-template-columns: minmax(8rem, 0.42fr) 1fr; margin: 0; border-top: 2px solid currentColor; }
.spec > div { display: contents; }
.spec dt, .spec dd { margin: 0; padding: 0.55rem 0; border-bottom: 1px solid color-mix(in oklab, currentColor 18%, transparent); }
.spec dt { font-family: var(--sc-font-mono); font-size: var(--label); letter-spacing: 0.08em; text-transform: uppercase; padding-right: 1rem; padding-top: 0.7rem; }
.spec dd { font-weight: 600; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.ticks li { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; }
.ticks .tick { margin-top: 0.18rem; }
.ticks .tick path { stroke-dashoffset: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.tags li { font-family: var(--sc-font-mono); font-size: 0.72rem; letter-spacing: 0.04em; padding: 0.3rem 0.55rem; border: 1px solid currentColor; border-radius: 2px; }

/* stamp */
.stamp {
  display: inline-block; font-family: var(--sc-font-display); font-stretch: 70%; font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--red); border: 3px solid currentColor; border-radius: 4px; padding: 0.2rem 0.6rem 0.12rem; line-height: 1; transform: rotate(-4deg);
  mix-blend-mode: multiply;
}

/* ---------------------------------------------------------------- forms */
.fld { display: grid; gap: 0.35rem; }
.fld > label, .fld > .fld__l, fieldset > legend { font-family: var(--sc-font-mono); font-size: var(--label); font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; }
.fld__req { color: var(--red); }
.inp {
  width: 100%; min-height: 48px; padding: 0.7rem 0.8rem; background: #fff; color: var(--ink);
  border: 0; border-bottom: 2px solid var(--ink); border-radius: 2px 2px 0 0; font-size: 1.02rem;
  box-shadow: inset 0 0 0 1px rgba(10, 21, 51, 0.18);
}
textarea.inp { min-height: 7.5rem; resize: vertical; line-height: 1.5; }
select.inp { appearance: none; padding-right: 2.4rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230a1533' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 0.85rem center / 12px; }
.inp:focus-visible { outline: 3px solid var(--orange-dk); outline-offset: 2px; }
.inp[aria-invalid="true"] { border-bottom-color: var(--red); box-shadow: inset 0 0 0 2px var(--red); }
.fld__err { color: var(--red); font-weight: 700; font-size: 0.92rem; }
.fld__err:empty { display: none; }
.fld__hint { font-size: 0.85rem; color: var(--ink-soft); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.4rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.55rem 0.85rem; background: #fff; border: 1.5px solid rgba(10, 21, 51, 0.45); border-radius: 2px; font-weight: 650; font-size: 0.95rem; }
.chip span::before { content: ""; width: 0.9rem; height: 0.9rem; border: 1.5px solid currentColor; border-radius: 2px; flex: none; }
.chip input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.chip input:checked + span::before { background: var(--orange-dk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.5l2.3 2.3L9.5 3.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center / 100%; border-color: var(--orange-dk); }
.chip input:focus-visible + span { outline: 3px solid var(--orange-dk); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { font-size: 0.88rem; color: var(--ink-soft); }
.notice a { font-weight: 700; }
.form-msg { display: none; padding: 0.9rem 1rem; border-left: 4px solid var(--red); background: #fff; font-weight: 600; }
.form-msg.is-on { display: block; }
.form-msg.is-ok { border-left-color: var(--blue); }
.form-msg a { white-space: nowrap; }
.form-grid { display: grid; gap: 1.1rem 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* carbon copy (success state shared by all forms) */
.carbon { background: #f2f4f8; color: var(--carbon); padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: 2px; position: relative; }
.carbon::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 8px; background: var(--perf); color: #f2f4f8; }
.carbon h2, .carbon h3 { color: var(--carbon); }
.carbon .ref { font-family: var(--sc-font-mono); font-weight: 600; font-size: clamp(1.4rem, 1rem + 2vw, 2.2rem); color: var(--red); letter-spacing: 0.04em; }
.carbon .spec { border-top-color: var(--carbon); }
.carbon .spec dd { font-family: var(--sc-font-mono); font-weight: 500; }

/* ---------------------------------------------------------------- footer */
.ft { background: var(--night); color: var(--bone); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.ft a { text-decoration: none; }
.ft a:hover { text-decoration: underline; }
.ft__grid { display: grid; gap: 2rem 2.5rem; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; }
.ft h2 { font-size: 1.05rem; font-stretch: 80%; font-weight: 800; letter-spacing: 0.02em; margin-bottom: 0.75rem; color: #fff; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.ft li a { display: inline-flex; align-items: center; min-height: 32px; color: var(--bone-soft); }
.ft__brand img.logo { width: 150px; height: auto; margin-bottom: 1rem; }
.ft__brand p { color: var(--bone-soft); max-width: 34ch; }
.ft__contact a { color: var(--bone); font-weight: 650; }
.ft__hours { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 1rem; margin: 0.6rem 0 0; font-size: 0.92rem; color: var(--bone-soft); }
.ft__hours dt { color: var(--bone); }
.ft__hours dd { margin: 0; }
.ft__base { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(174, 185, 209, 0.25); font-size: 0.88rem; color: var(--bone-soft); }
.ft__base .bpc { background: #fff; padding: 0.35rem 0.5rem; border-radius: 2px; }
.ft__base .bpc img { width: 78px; height: auto; }
@media (max-width: 1000px) { .ft__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ft__grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- subpages */
.pg-head { padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(2rem, 4vw, 3.5rem); }
.pg-head h1 { max-width: 16ch; }
.pg-head .lede { margin-top: 1.25rem; }
.pg-head__row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
@media (max-width: 900px) { .pg-head__row { grid-template-columns: 1fr; } }
.pg-photo { position: relative; overflow: hidden; border-radius: 2px; }
.pg-photo img { width: 100%; height: 100%; object-fit: cover; }
.pg-sec { padding-block: clamp(3rem, 7vw, 6rem); }
.pg-sec > .wrap > h2 { max-width: 18ch; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.index { display: flex; flex-wrap: wrap; gap: 0.4rem 0.4rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.index a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 40px; padding: 0.35rem 0.75rem; border: 1.5px solid currentColor; border-radius: 2px; text-decoration: none; font-weight: 650; font-size: 0.92rem; }
.index a:hover { background: color-mix(in oklab, currentColor 10%, transparent); }

/* a spec sheet: one consistent schema for every service / project / sector */
.sheet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.5rem, 5vw, 4.5rem); border-top: 2px solid currentColor; scroll-margin-top: 1rem; }
.sheet__media { position: relative; align-self: start; }
.sheet__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.sheet__media figcaption { margin-top: 0.5rem; }
.sheet__body { display: grid; gap: 1.2rem; align-content: start; }
.sheet__kicker { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: baseline; }
.sheet__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }
.sheet__cols h3 { font-family: var(--sc-font-mono); font-size: var(--label); font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 0.55rem; font-stretch: 100%; }
.sheet__acts { display: flex; flex-wrap: wrap; gap: 0.6rem; }
@media (max-width: 860px) { .sheet { grid-template-columns: 1fr; } .sheet__media { order: -1; } .sheet__cols { grid-template-columns: 1fr; } }

.cta-band { padding-block: clamp(3rem, 6vw, 5rem); }
.cta-band__in { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 1.5rem 3rem; align-items: end; }
.cta-band__acts { display: flex; flex-wrap: wrap; gap: 0.6rem; }
@media (max-width: 800px) { .cta-band__in { grid-template-columns: 1fr; } }

/* reveal on entry for subpages (site.js adds .in) */
.rv { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity 620ms var(--ease), transform 620ms var(--ease); }
.rv.in, .no-js .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { transform: none; transition-duration: 200ms; } }

details.qa { border-top: 2px solid currentColor; }
details.qa:last-of-type { border-bottom: 2px solid currentColor; }
details.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1.15rem 0; min-height: 56px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary .h3 { font-size: clamp(1.2rem, 1rem + 0.8vw, 1.65rem); }
details.qa summary .pm { width: 1.4rem; height: 1.4rem; position: relative; }
details.qa summary .pm::before, details.qa summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2.5px; background: currentColor; transition: transform 200ms var(--ease); }
details.qa summary .pm::after { transform: rotate(90deg); }
details.qa[open] summary .pm::after { transform: rotate(0deg); }
details.qa .qa__a { padding: 0 0 1.4rem 2.4rem; max-width: 64ch; }

/* services overview: two ruled line-item columns */
.svc-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); }
.svc-list { list-style: none; margin: 0.25rem 0 0; padding: 0; }
.svc-list a { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(10, 21, 51, 0.2); text-decoration: none; }
.svc-list a:hover .svc-n { color: var(--orange-dk); }
.svc-n { font-family: var(--sc-font-display); font-stretch: 68%; font-weight: 840; font-size: clamp(1.3rem, 1rem + 0.9vw, 1.8rem); line-height: 1; }
.svc-k { color: var(--ink-soft); align-self: center; text-align: right; }
.svc-d { grid-column: 1 / -1; color: var(--ink-soft); font-size: 0.97rem; }
@media (max-width: 860px) { .svc-split { grid-template-columns: 1fr; } .svc-k { display: none; } }
.size-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.size-table th, .size-table td { text-align: left; padding: 0.85rem 0.75rem 0.85rem 0; border-bottom: 1px solid rgba(174, 185, 209, 0.35); vertical-align: top; }
.size-table thead th { font-family: var(--sc-font-mono); font-size: var(--label); letter-spacing: 0.09em; text-transform: uppercase; color: var(--bone-soft); border-bottom: 2px solid var(--bone); }
.size-table tbody th { font-family: var(--sc-font-display); font-stretch: 66%; font-weight: 860; font-size: 1.5rem; color: #fff; white-space: nowrap; }
.size-table td:nth-child(2) { font-family: var(--sc-font-mono); white-space: nowrap; color: #fff; }
.size-table td:last-child { color: var(--bone-soft); }
@media (max-width: 560px) { .size-table td:last-child { display: none; } }
.about-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem 2rem; }
.about-steps li { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; padding-top: 1rem; border-top: 2px solid currentColor; }
.about-steps .tick { margin-top: 0.25rem; }
.form-page { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 0.9fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.form-card { background: #fbfcfd; padding: clamp(1.1rem, 3vw, 2.25rem); border-radius: 2px; box-shadow: 0 2px 3px hsl(222 40% 10% / 0.12), 0 24px 44px -26px hsl(222 40% 10% / 0.4); position: relative; }
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 8px; background: var(--perf); color: #fbfcfd; }
.form-steps { display: grid; gap: 0; }
.form-step { display: grid; gap: 0.6rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(10, 21, 51, 0.16); }
.form-step:first-child { padding-top: 0; }
.step-k { color: var(--orange-dk); }
.form-foot { display: grid; gap: 0.8rem; justify-items: start; margin-top: 1.4rem; }
.form-foot .btn { min-height: 54px; font-size: 1.08rem; }
.form-aside { display: grid; gap: 2rem; }
.form-aside .h3 { margin-bottom: 0.6rem; }
.form-result { margin-bottom: 1.25rem; }
@media (max-width: 960px) { .form-page { grid-template-columns: 1fr; } }
.direct-list { display: grid; gap: 0; border-top: 2px solid currentColor; }
.direct-list a { display: grid; gap: 0.15rem; padding: 1rem 0; border-bottom: 1px solid rgba(10, 21, 51, 0.2); text-decoration: none; }
.direct-list b { font-family: var(--sc-font-mono); font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); font-weight: 600; }
.direct-list a:hover b { color: var(--orange-dk); }
.direct-list span:last-child { color: var(--ink-soft); font-size: 0.95rem; }
.prose { max-width: 46rem; display: grid; gap: 0.6rem; }
.prose h2 { margin-top: 1.6rem; }
.prose p { max-width: 62ch; }
.ind .sheet__body:first-child { gap: 0.9rem; }
.on-dark .index a[aria-current] { background: var(--bone) !important; color: var(--navy) !important; }
@media (min-width: 1100px) { .docket--mini { display: none; } }

/* ------------------------------------------------------------ CREDENTIALS (shared: home + about + commercial) */
.creds { position: relative; z-index: 2; padding-block: clamp(3rem, 6vw, 5rem); background: var(--steel);
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 5px), linear-gradient(180deg, #d7dce3, #c9cfd8); }
.creds__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 1.5rem 3rem; align-items: end; margin-top: clamp(2rem, 5vw, 4rem); }
.creds__head h2 { max-width: 12ch; }
.wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.85rem; margin-top: clamp(2rem, 4vw, 3rem); }
.wall .plate { display: grid; gap: 0.4rem; align-content: start; }
.wall .plate h3 { font-size: clamp(1.3rem, 1rem + 0.9vw, 1.8rem); }
.wall .plate p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.45; }
.pl-year { grid-column: span 2; grid-row: span 2; align-content: space-between !important; background: linear-gradient(180deg, #0d2f6b, var(--navy)) !important; color: var(--bone); border-color: #001236 !important; }
.pl-year .lbl, .pl-year p { color: var(--bone-soft) !important; }
.pl-year .yr { font-family: var(--sc-font-display); font-stretch: 62%; font-weight: 900; font-size: clamp(5rem, 2rem + 9vw, 10rem); line-height: 0.8; color: #fff; letter-spacing: -0.02em; }
.pl-war { grid-column: span 4; background: linear-gradient(180deg, #fff1e9, #ffe2d1) !important; border-color: #e7b49a !important; }
.pl-war h3 { font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem) !important; color: var(--orange-dk); }
.pl-2 { grid-column: span 2; }
.pl-bpc img { width: 96px; height: auto; margin-top: 0.3rem; }
.creds__sub { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 3.75rem); padding-bottom: 0.55rem; border-bottom: 2px solid var(--ink); }
.creds__sub h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); }
.brandrow { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0.6rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.brandrow li { background: #fff; border: 1px solid #b7bec9; border-radius: 3px; display: grid; place-items: center; padding: 0.9rem 0.8rem; min-height: 88px; box-shadow: inset 0 -3px 0 #e3e7ed; }
.brandrow img { width: 100%; max-height: 52px; object-fit: contain; height: auto; }
.partnerrow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.5rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.partnerrow li { background: #fff; border: 1px solid #c3c9d2; border-radius: 3px; display: grid; place-items: center; padding: 0.7rem; min-height: 76px; }
.partnerrow img { width: 100%; max-height: 52px; object-fit: contain; height: auto; }
.record { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.rec { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); background: #fff; border: 1px solid #b7bec9; border-radius: 3px; overflow: hidden; }
.rec img { width: 100%; height: 100%; object-fit: cover; min-height: 100%; }
.rec__b { padding: 1.1rem 1.2rem 1.2rem; display: grid; gap: 0.6rem; align-content: start; }
.rec__b .lbl { color: var(--orange-dk); }
.rec__b h4 { margin: 0; font-family: var(--sc-font-display); font-stretch: 70%; font-weight: 820; font-size: 1.35rem; line-height: 1; }
.rec__b .spec { font-size: 0.9rem; }
.rec__b .spec dt { font-size: 0.64rem; }
@media (max-width: 1100px) {
  .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pl-year { grid-column: span 2; grid-row: span 1; } .pl-war { grid-column: span 4; }
  .brandrow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .partnerrow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .record { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .creds__head { grid-template-columns: 1fr; }
  .wall { grid-template-columns: 1fr 1fr; }
  .pl-year, .pl-war { grid-column: 1 / -1; }
  .pl-2 { grid-column: span 1; }
  .brandrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partnerrow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rec { grid-template-columns: 1fr; }
  .rec img { aspect-ratio: 4 / 3; height: auto; }
}


.ft__contact { margin-top: 1rem; display: grid; gap: 0.25rem; }
.ft__soft { color: var(--bone-soft); }
.ft__note { margin-top: 1rem; font-size: 0.92rem; }
.ft__h2b { margin-top: 1.5rem; }
/* home: the footer is printed on the bottom of the orange lodge sheet */
.ft--sheet { background: var(--orange); color: var(--ink); padding-block: clamp(2rem, 4vw, 3rem) calc(1.5rem + env(safe-area-inset-bottom)); }
.ft--sheet > .wrap { border-top: 3px solid var(--ink); padding-top: clamp(2rem, 4vw, 3rem); }
.ft--sheet h2, .ft--sheet .ft__contact a, .ft--sheet .ft__hours dt { color: var(--ink); }
.ft--sheet li a, .ft--sheet .ft__brand p, .ft--sheet .ft__soft, .ft--sheet .ft__hours, .ft--sheet .ft__base { color: var(--ink); }
.ft--sheet .ft__base { border-top-color: rgba(10, 21, 51, 0.35); }
.ft--sheet a:hover { text-decoration: underline; }
.ft--sheet :focus-visible { outline-color: var(--navy); }
@media (min-width: 1100px) { .partnerrow { grid-template-columns: repeat(12, minmax(0, 1fr)); } .partnerrow li { min-height: 64px; padding: 0.5rem; } }
