/* Cochran Motor Company — Todd's identity, our bones.
   Palette, type and shape language measured off his live site 2026-07-20: white ground,
   the navy of his wordmark (#171f32 sampled from the logo PNG), charcoal #222 nav and
   #1e1e1e footer, Montserrat, square corners, photo-led hero. No second accent color —
   the navy carries every accent role his site leaves to it.

   The previous electric-blue/street-poster sheet lives in git history. Class names and
   layout geometry are unchanged from that build so no template churns; only the skin moved.

   LEGACY VAR NAMES: templates reference var(--blue), var(--white), var(--muted) etc. inline.
   Those names stay defined and alias into this palette — --blue IS the navy, --white is the
   FOREGROUND ink (the name is historical; on a light theme the foreground is dark). Do not
   remove an alias without grepping src/ for it first. */

/* Montserrat, self-hosted. Was a render-blocking stylesheet on fonts.googleapis.com, which put a
   third-party DNS lookup, TLS handshake and round trip ahead of first paint on every page, on a
   site whose entire CSS is 19KB. Latin subset only (U+0000-00FF plus the punctuation gate 21
   already restricts us to), four weights, 37KB each. Also stops leaking visitor IPs to Google.
   Files and licence: src/assets/fonts/ (SIL OFL 1.1, OFL.txt ships alongside).

   Paths are RELATIVE TO THIS STYLESHEET (../assets/...), not root-absolute. HtmlBasePlugin
   rewrites root-relative URLs in HTML for the demo's /client-cochran-motor-co/ path prefix, but it
   never touches CSS, so a root-absolute url() here resolves correctly in production and 404s on
   every demo build. Relative resolves right in both. */
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/montserrat-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/montserrat-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/montserrat-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/montserrat-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ffffff;
  --panel: #f4f4f4;
  --ink: #222222;
  --muted: #666666;
  --muted-2: #999999;
  --line: #e3e3e3;
  --line-lt: #d5d5d5;

  --navy: #171f32;
  --navy-hover: #232f4d;
  --navy-tint: rgba(23, 31, 50, .07);

  --bar: #222222;
  --foot: #1e1e1e;
  --foot-text: #868686;

  /* legacy aliases — see header comment */
  --blue: var(--navy);
  --blue-lt: var(--navy-hover);
  --blue-glow: var(--navy);
  --blue-deep: #0e1422;
  --white: var(--ink);
  --void: var(--bg);
  --ink-2: #ffffff;
  --ink-3: var(--panel);
  --verify: var(--navy);
  --hot: #ff5c39;

  --display: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --sans: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  --r: 0px;
  --wrap: 1260px;
  --shadow: 0 14px 34px -18px rgba(23, 31, 50, .35);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 68ch; }

h1, h2, h3, h4 { margin: 0; line-height: 1.12; color: var(--ink); }
h1, h2 { font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.8vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 2.7vw, 2.05rem); }
h3 { font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; }
h4 { font-weight: 600; }
p { margin: 0 0 1rem; }

.mark-under { position: relative; display: inline; box-shadow: inset 0 -0.32em 0 rgba(23, 31, 50, .14); }

.eyebrow {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600; color: var(--muted); margin: 0 0 .7rem;
}

.lede {
  font-size: clamp(1.06rem, 1.6vw, 1.26rem); line-height: 1.5; color: var(--ink);
  letter-spacing: -.01em; max-width: 42ch; margin: 16px 0 0; font-weight: 500;
}

/* ---------- header: white field, wordmark left, address + phone right ---------- */
.site-head { background: #fff; position: sticky; top: 0; z-index: 60; box-shadow: 0 1px 0 var(--line); }
.head-top { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-top: 16px; padding-bottom: 14px; }
.brand { text-decoration: none; display: block; line-height: 0; }
.emblem { width: 218px; height: auto; display: block; }

.head-info { text-align: right; line-height: 1.35; }
.head-addr { margin: 0 0 4px; font-size: .8rem; color: var(--muted); }
.head-phone { font-size: 1.32rem; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.head-phone:hover { color: var(--navy-hover); }

/* charcoal nav strip, uppercase — the signature of his current site */
.site-nav { background: var(--bar); }
.site-nav .wrap { display: flex; gap: 30px; align-items: center; overflow-x: auto; }
.site-nav a {
  color: #fff; text-decoration: none; font-size: .8rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em; padding: 13px 0; white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { border-bottom-color: #fff; }
.call-btn { font-weight: 700; }

/* ---------- hero: photo-led, navy scrim, white type ---------- */
.hero { position: relative; padding: 92px 0 100px; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(13, 18, 31, .84) 0%, rgba(13, 18, 31, .62) 46%, rgba(13, 18, 31, .30) 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02; max-width: 16ch; }
.hero .eyebrow { color: #c3ccdd; }
.swipe-word { display: inline-block; }
.hero .sub { color: #cdd4e0; max-width: 52ch; margin-top: 18px; font-size: clamp(1.02rem, 1.5vw, 1.15rem); }
.hero .sub strong { color: #fff; font-weight: 700; }
.hero .lede { color: #fff; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- buttons: square, solid, uppercase — his shape language ---------- */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: var(--r); text-decoration: none;
  font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em;
  cursor: pointer; border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-hover); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-lt); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-1px); }
.hero .btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

/* ---------- proof strip ---------- */
.proof { background: #fff; border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.proof-cell { background: #fff; padding: 30px 24px; }
.proof-cell b {
  display: flex; align-items: baseline; gap: .1em; white-space: nowrap;
  font-weight: 700; letter-spacing: -.03em; font-size: 2.4rem; line-height: 1.05; color: var(--navy);
}
.proof-cell b .star { font-style: normal; font-size: .42em; line-height: 1; margin-left: .12em; color: var(--navy); }
/* Star is an inline SVG (star.njk): Montserrat has no U+2605 glyph, a text star renders
   in the OS symbol font. Sized off the parent's font-size so the .42em scale still applies. */
.star svg, .stars svg { width: 1em; height: 1em; display: block; }
/* Direct child only — the b above holds nested spans (.gbp-rating) that must inherit its size */
.proof-cell > span { display: block; margin-top: 10px; font-size: .9rem; color: var(--muted); max-width: 30ch; line-height: 1.5; }
.proof-cell > span strong { color: var(--ink); font-weight: 600; }

/* ---------- sections ---------- */
section { padding: 58px 0; }
section.tight { padding: 40px 0; }
.panel { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { color: var(--muted); margin: 10px 0 0; max-width: 62ch; font-size: 1rem; }
.section-head h2 { position: relative; display: inline-block; }
.section-head h2::after { content: ""; position: absolute; left: 0; bottom: -9px; width: 52px; height: 3px; background: var(--navy); }
.link-more { color: var(--navy); font-weight: 600; text-decoration: none; font-size: .93rem; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }
.h-sm { font-size: clamp(1.3rem, 2.4vw, 1.7rem) !important; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; align-items: start; }

/* ---------- vehicle cards ---------- */
.veh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(298px, 1fr)); gap: 24px; }
.veh {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.veh:hover { transform: translateY(-4px); border-color: var(--navy); box-shadow: var(--shadow); }
.veh-img { aspect-ratio: 4 / 3; background: var(--panel); position: relative; overflow: hidden; }
.veh-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.veh:hover .veh-img img { transform: scale(1.04); }

/* Missing-photo plate: branded, not apologetic. */
.veh-plate {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px;
  background: var(--panel); color: var(--muted);
}
.veh-plate .mark {
  font-weight: 700; font-size: .72rem; letter-spacing: .14em; color: #fff;
  background: var(--navy); padding: 8px 13px;
}
.veh-plate small { font-size: .74rem; letter-spacing: .04em; }

.veh-body { padding: 16px 17px 18px; display: flex; flex-direction: column; flex: 1; }
.veh-title { font-weight: 600; letter-spacing: -.015em; font-size: 1.04rem; line-height: 1.25; color: var(--ink); }
.veh-trim { color: var(--muted); font-size: .86rem; margin-top: 4px; }
.veh-specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; font-size: .73rem; }
.veh-specs span { background: var(--panel); color: var(--muted); padding: 4px 9px; }
.veh-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.veh-price { font-weight: 700; letter-spacing: -.02em; font-size: 1.3rem; color: var(--navy); }
.veh-price.call { font-size: .93rem; color: var(--muted); font-weight: 600; }
.veh-stock { font-family: var(--mono); font-size: .71rem; color: var(--muted-2); }

/* ---------- trust chips ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: .69rem; font-weight: 600;
  letter-spacing: .05em; padding: 5px 10px; text-transform: uppercase;
  background: var(--navy-tint); color: var(--navy); border: 1px solid rgba(23, 31, 50, .14);
}
.badge.owner { background: rgba(23, 31, 50, .12); }
.badge svg { width: 12px; height: 12px; flex: none; }

/* ---------- vehicle detail ---------- */
.vdp { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 40px; align-items: start; }
.vdp-gallery { display: grid; gap: 10px; }
.vdp-hero-img { aspect-ratio: 4 / 3; background: var(--panel); overflow: hidden; border: 1px solid var(--line); }
.vdp-hero-img img, .vdp-hero-img .veh-plate { width: 100%; height: 100%; object-fit: cover; }
.vdp-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.vdp-thumbs img { aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.vdp-thumbs img:hover { border-color: var(--navy); }

/* NOTHING in this column is sticky, deliberately. Two attempts proved it is not worth it here.
 *
 * Sticking the whole aside pinned a 1205px block, taller than every viewport including 1080p, so
 * the page could not scroll until its full height had been passed. That is what "the form gets
 * stuck" was.
 *
 * Splitting it and sticking only the price card fixed the trap and introduced a worse one: the
 * pinned card stays put while the form below scrolls up underneath it, so the card covers the
 * form. Sticky pins an element visually but its siblings keep scrolling into that space.
 *
 * The column is prominent enough on its own. Do not reintroduce sticky here without solving the
 * overlap, which needs the sticky element to be the ONLY thing in its scroll column. */
.vdp-aside { position: static; }
.vdp-card { background: #fff; border: 1px solid var(--line); padding: 24px; box-shadow: 0 10px 30px -20px rgba(23, 31, 50, .3); }
.vdp-price { font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--navy); letter-spacing: -.03em; }
.vdp-price.call { font-size: 1.2rem; color: var(--muted); }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: .93rem; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 500; width: 44%; }
.spec-table td { font-weight: 600; color: var(--ink); }

.carfax-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-weight: 600; font-size: .9rem; color: var(--navy); text-decoration: none; }
.carfax-link:hover { text-decoration: underline; }

.equip { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 24px; margin-top: 18px; }
.equip-group h3 { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); margin: 0 0 10px; font-weight: 700; }
.equip-group ul { list-style: none; padding: 0; margin: 0; font-size: .87rem; line-height: 1.5; }
.equip-group li { padding: 4px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.equip-more { font-size: .79rem; color: var(--muted-2); margin: 9px 0 0; font-style: italic; }

/* ---------- forms ---------- */
.field { margin-bottom: 15px; }
.field label { display: block; font-size: .76rem; font-weight: 600; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .08em; color: #444; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 13px; border: 1px solid var(--line-lt); border-radius: var(--r);
  font: inherit; font-size: .95rem; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus { border-color: var(--navy); outline: none; }
/* Validation messages. Empty until forms.js fills one in, and display:none while empty so an
   unfilled slot adds no space. Not red-on-white alone: the invalid input also takes a heavier
   border, because colour by itself is not a signal for a colour-blind visitor. */
.field-error { display: none; color: #b3261e; font-size: .82rem; margin-top: 5px; }
.field-error.show { display: block; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; border-width: 2px; padding: 11px 12px; }
.field input[aria-invalid="true"]:focus, .field textarea[aria-invalid="true"]:focus { border-color: #b3261e; }

/* Consent checkbox. The generic .field rule stretches inputs to 100%, which would turn a checkbox
   into a full-width box, so it is overridden here rather than by weakening the shared rule. */
.field-consent { margin-top: 18px; }
.field-consent .consent { display: flex; gap: 10px; align-items: flex-start; cursor: pointer;
  text-transform: none; letter-spacing: normal; font-weight: 400; font-size: .82rem;
  line-height: 1.5; color: var(--muted); margin-bottom: 0; }
.field-consent .consent input[type="checkbox"] { width: 17px; height: 17px; flex: 0 0 17px;
  margin-top: 2px; padding: 0; accent-color: var(--navy); cursor: pointer; }
.field-consent .consent a { color: var(--ink); text-decoration: underline; }
.field-consent input[type="checkbox"][aria-invalid="true"] { outline: 2px solid #b3261e; outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .79rem; color: var(--muted-2); margin-top: 11px; }

/* ---------- content ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin: 2.4rem 0 .8rem; }
.prose h3 { margin: 1.8rem 0 .45rem; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1rem; }
.prose li { margin: .4rem 0; }
.prose strong { color: var(--ink); }
.prose a { color: var(--navy); }
/* Buttons keep their own ink everywhere. Without these, .prose a (0,1,1) outranks
   .btn-primary (0,1,0) and paints NAVY text on the navy button — black on black.
   Shipped that way once (about, contact, sell-your-car, two guides); never again. */
.prose a.btn-primary, a.btn-primary { color: #fff; }
.prose a.btn-ghost, a.btn-ghost { color: var(--ink); }

.faq-item { border-top: 1px solid var(--line); padding: 19px 0; }
.faq-item h3 { font-size: 1.02rem; margin: 0 0 .45rem; color: var(--ink); }
.faq-item p { margin: 0; color: var(--muted); }

.callout { background: #fafafa; border: 1px solid var(--line); border-left: 4px solid var(--navy); padding: 20px 22px; margin: 24px 0; }
.callout h3 { margin: 0 0 .35rem; font-size: 1.02rem; }
.callout p { margin: 0; color: var(--muted); }

/* ---------- hub links ---------- */
.hub-links { display: flex; flex-wrap: wrap; gap: 9px; }
.hub-links a {
  background: #fff; border: 1px solid var(--line-lt); padding: 8px 15px;
  font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--ink);
}
.hub-links a:hover { border-color: var(--navy); color: var(--navy); }

.crumbs { font-size: .8rem; color: var(--muted-2); padding: 16px 0 0; }
.crumbs a { color: var(--muted-2); text-decoration: none; }
.crumbs a:hover { color: var(--navy); }

/* ---------- the "why" band ---------- */
.why { position: relative; background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.why h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); line-height: 1.05; }
.why-list { list-style: none; padding: 0; margin: 0; }
.why-list li { display: flex; align-items: baseline; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line-lt); font-size: 1rem; }
.why-list li b { font-weight: 700; color: var(--navy); min-width: 3.6ch; font-size: 1.16rem; letter-spacing: -.02em; }
.why-list li span { color: var(--muted); }

.guide-card { padding: 28px; }
.guide-card h3 { font-size: 1.08rem; letter-spacing: -.015em; line-height: 1.25; }
.guide-card p { color: var(--muted); font-size: .93rem; margin: 10px 0 0; }
.guide-card:hover h3 { color: var(--navy); }

/* ---------- footer: the dark surface, carrying the white wordmark ---------- */
.site-foot { background: var(--foot); padding: 54px 0 36px; margin-top: 48px; font-size: .9rem; color: var(--foot-text); }
.foot-logo { width: 196px; height: auto; margin-bottom: 16px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px; }
/* h3 since the footer column headings moved off h4 to stop skipping a heading level. Selector kept
   on both so the rule survives if a stray h4 reappears anywhere in the footer. */
.site-foot h3, .site-foot h4 { color: #fff; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 13px; font-weight: 600; }
.site-foot a { color: var(--foot-text); text-decoration: none; }
.site-foot a:hover { color: #fff; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin: 7px 0; }
.foot-bar { border-top: 1px solid #333; margin-top: 34px; padding-top: 20px; font-size: .8rem; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: #6f6f6f; }
.rating-inline { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: #fff; }
.rating-inline .stars { color: #c9d2e2; }
.foot-hours { color: var(--foot-text); font-size: .86rem; line-height: 1.5; margin-top: 4px; }

.demo-banner { background: var(--hot); color: #fff; text-align: center; padding: 8px 14px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; }

/* The framed Wayne Reaves credit application (src/credit.njk).
   These heights are the FALLBACK: tall enough to swallow the whole framed document so no inner
   scrollbar appears (a cross-origin frame cannot be measured from out here). Once the page is
   served through cochran-inventory-proxy at cutover, a script injected there reports the real
   height via postMessage and credit.njk resizes the frame to fit exactly — at which point these
   numbers stop mattering. The frame's own scrollbar stays enabled as the backstop if the form
   ever outgrows the guess. */
.credit-frame { width: 100%; height: 3000px; border: 1px solid var(--line); background: #fff; display: block; }
@media (max-width: 880px) { .credit-frame { height: 3600px; } }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .vdp { grid-template-columns: 1fr; }
  .vdp-aside { position: static; }
  .head-top { flex-direction: column; align-items: center; gap: 10px; text-align: center; padding-top: 14px; }
  .head-info { text-align: center; }
  .emblem { width: 186px; }
  .site-nav .wrap { gap: 22px; justify-content: flex-start; }
  .hero { padding: 60px 0 68px; }
  .why-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 520px) { .emblem { width: 168px; } .head-phone { font-size: 1.18rem; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
