/* ============================================================
   Mansfield Technologies — site styles
   Palette: Navy (brand) / Ink / Cloud / Steel / Hazard yellow
   Type: Barlow Condensed (display) + Barlow (body)
   ============================================================ */
:root {
  --navy: #1B3C65;
  --ink: #0E2140;
  --hazard: #F5B301;
  --hazard-deep: #C98F00;
  --bg: #F6F7F9;
  --surface: #FFFFFF;
  --band: #EEF1F4;
  --text: #14212F;
  --muted: #5F6F82;
  --line: #CBD3DC;
  --line-strong: #93A1B2;
  --on-navy: #F4F6F8;
  --on-navy-muted: #B7C4D3;
  --link: #1B3C65;
  --accent-text: #1B3C65;
  --radius: 4px;
  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1180px;
  --gutter: clamp(18px, 4vw, 36px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1526;
    --surface: #11213A;
    --band: #0E1B31;
    --text: #E6EBF1;
    --muted: #A2B2C4;
    --line: #2C4160;
    --line-strong: #4A6284;
    --link: #9FC3F5;
    --accent-text: #B9D4F5;
    --on-navy-muted: #C3CFDC;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1526;
  --surface: #11213A;
  --band: #0E1B31;
  --text: #E6EBF1;
  --muted: #A2B2C4;
  --line: #2C4160;
  --line-strong: #4A6284;
  --link: #9FC3F5;
  --accent-text: #B9D4F5;
  --on-navy-muted: #C3CFDC;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--hazard); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type scale (modular, ~1.25) ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5.2rem); line-height: .94; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lede { font-size: 1.2rem; max-width: 62ch; color: var(--muted); }
.measure { max-width: 68ch; }
.small { font-size: .92rem; }
.muted { color: var(--muted); }
strong { font-weight: 600; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: clamp(56px, 8vw, 104px) 0; }
.band-cloud { background: var(--band); }
.band-navy { background: var(--navy); color: var(--on-navy); }
.band-navy h1, .band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .muted, .band-navy .lede { color: var(--on-navy-muted); }
.band-navy a { color: #fff; }
.band-ink { background: var(--ink); color: var(--on-navy); }
.band-ink .muted, .band-ink .lede { color: var(--on-navy-muted); }
.band-ink a { color: #fff; }
.band-tight { padding: clamp(36px, 5vw, 64px) 0; }
.cols { display: grid; gap: clamp(24px, 4vw, 56px); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-2-1 { grid-template-columns: 2fr 1fr; }
.cols-1-2 { grid-template-columns: 1fr 2fr; }
@media (max-width: 860px) {
  .cols-2, .cols-3, .cols-4, .cols-2-1, .cols-1-2 { grid-template-columns: 1fr; }
}
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { font-size: 1.15rem; color: var(--muted); margin: 0; }
.band-navy .section-head p { color: var(--on-navy-muted); }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: clamp(28px, 4vw, 48px) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  letter-spacing: .01em; padding: 13px 22px 12px; border-radius: var(--radius);
  text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1;
}
.btn-primary { background: var(--hazard); color: var(--ink); border-color: var(--hazard); }
.btn-primary:hover { background: #FFC42A; border-color: #FFC42A; }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { background: transparent; color: var(--accent-text); border-color: var(--accent-text); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-plain { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }

/* ---------- Header / nav ---------- */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand img { height: 40px; width: auto; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a:not(.btn), .nav-btn { color: #fff; text-decoration: none; font-family: var(--font-display); font-size: 1.08rem; font-weight: 500; padding: 10px 10px; border-radius: var(--radius); white-space: nowrap; background: none; border: 0; cursor: pointer; line-height: 1.2; }
.nav > a:not(.btn):hover, .nav > a:not(.btn).active, .nav-btn:hover, .nav-group.open > .nav-btn, .nav-group.active > .nav-btn { background: rgba(255,255,255,.1); }
.nav-btn::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 8px; opacity: .8; }
.nav-group { position: relative; }
.nav-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--ink); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 8px; margin-top: 6px; box-shadow: 0 14px 34px rgba(0,0,0,.35); z-index: 60; }
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-group.open > .nav-menu { display: block; }
.nav-menu a { display: block; color: #fff; text-decoration: none; font-family: var(--font-body); font-size: 1rem; padding: 9px 12px; border-radius: var(--radius); }
.nav-menu a:hover, .nav-menu a.active { background: rgba(255,255,255,.1); }
.nav-menu a.nav-all { margin-top: 6px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 12px; color: var(--hazard); font-family: var(--font-display); font-size: 1.05rem; }
.nav .btn { margin-left: 10px; font-size: 1.05rem; padding: 10px 16px 9px; }
.nav-toggle { display: none; background: none; border: 2px solid rgba(255,255,255,.5); color: #fff; border-radius: var(--radius); font-family: var(--font-display); font-size: 1.05rem; padding: 8px 12px; cursor: pointer; }
@media (max-width: 1080px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; gap: 0; border-bottom: 1px solid rgba(255,255,255,.1); max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > a:not(.btn), .nav-btn { width: 100%; text-align: left; padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; font-size: 1.2rem; }
  .nav-btn { display: flex; justify-content: space-between; align-items: center; }
  .nav-btn::after { margin: 0 4px 0 0; }
  .nav-group.open > .nav-btn::after { transform: rotate(-135deg); margin-top: 4px; }
  .nav-menu { position: static; min-width: 0; border: 0; box-shadow: none; background: transparent; padding: 0 0 8px 12px; }
  .nav-menu a { padding: 10px 8px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-menu a.nav-all { border-top: 0; margin-top: 0; padding-top: 10px; }
  .nav .btn { margin: 14px 0 0; text-align: center; }
}
.topline { background: var(--ink); color: var(--on-navy-muted); font-size: .9rem; }
.topline .wrap { display: flex; justify-content: space-between; gap: 16px; min-height: 34px; align-items: center; }
.topline a { color: #fff; text-decoration: none; }
.topline a:hover { text-decoration: underline; }
@media (max-width: 640px) { .topline .left { display: none; } }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: var(--navy); color: var(--on-navy); }
.hero-copy { padding: clamp(48px, 7vw, 104px) var(--gutter) clamp(48px, 7vw, 96px) max(var(--gutter), calc((100vw - var(--maxw)) / 2)); }
.hero-copy-inner { max-width: 620px; margin-left: auto; padding-right: clamp(0px, 3vw, 40px); }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero .lede { color: var(--on-navy-muted); font-size: 1.22rem; margin-bottom: 30px; }
.hero a:not(.btn) { color: #fff; }
.hero-photo { position: relative; min-height: 420px; margin: 0; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px var(--gutter);
  background: linear-gradient(to top, rgba(14,33,64,.92), rgba(14,33,64,0));
  color: #fff; font-size: .95rem;
}
.hero-cred { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); color: var(--on-navy-muted); font-size: .98rem; }
.hero-cred strong { color: #fff; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy-inner { margin-left: 0; padding-right: 0; }
  .hero-photo { min-height: 320px; }
}

/* ---------- Proof strip (real photos of destroyed media) ---------- */
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.proof figure { margin: 0; border-right: 1px solid var(--line); display: grid; grid-template-rows: 260px auto; }
.proof figure:last-child { border-right: 0; }
.proof img { width: 100%; height: 100%; object-fit: cover; }
.proof .truck img { object-position: 42% 45%; }
.proof figcaption { padding: 20px var(--gutter) 26px; }
.proof .figure-stat { font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--accent-text); margin-bottom: 6px; }
.proof .figure-stat span { font-size: 1.4rem; font-weight: 500; color: var(--muted); margin-left: 4px; }
.proof figcaption p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) {
  .proof { grid-template-columns: 1fr; }
  .proof figure { border-right: 0; border-bottom: 1px solid var(--line); grid-template-rows: 220px auto; }
  .proof figure:last-child { border-bottom: 0; }
}

/* ---------- Steps (real sequences only) ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: clamp(20px, 3vw, 36px); }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { counter-increment: step; border-top: 3px solid var(--accent-text); padding-top: 16px; }
.band-navy .steps li { border-top-color: var(--hazard); }
.steps li::before { content: counter(step); display: block; font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--accent-text); margin-bottom: 8px; }
.band-navy .steps li::before { color: var(--hazard); }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .steps-3, .steps-4 { grid-template-columns: 1fr; } }

/* ---------- Two-way split (on-site vs ship) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--surface); }
.split > div { padding: clamp(28px, 4vw, 48px); }
.split > div:first-child { border-right: 1px solid var(--line); }
.split h3 { font-size: 1.9rem; }
.split .goat { width: 120px; float: right; margin: -10px 0 10px 16px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Definition-style lists (standards, industries) ---------- */
.deflist { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.deflist li { display: grid; grid-template-columns: 220px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.deflist dt, .deflist .term { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.15; }
.deflist .desc { color: var(--muted); }
.deflist .desc a { white-space: nowrap; }
.band-navy .deflist { border-top-color: rgba(255,255,255,.18); }
.band-navy .deflist li { border-bottom-color: rgba(255,255,255,.18); }
.band-navy .deflist .desc { color: var(--on-navy-muted); }
@media (max-width: 640px) { .deflist li { grid-template-columns: 1fr; gap: 4px; } }

.industries { columns: 2; column-gap: 48px; list-style: none; margin: 0; padding: 0; }
.industries li { break-inside: avoid; padding: 14px 0; border-bottom: 1px solid var(--line); }
.industries .term { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; display: block; margin-bottom: 2px; }
.industries .desc { color: var(--muted); font-size: .98rem; }
@media (max-width: 720px) { .industries { columns: 1; } }

/* ---------- Service area map ---------- */
.map-fig { margin: 0 0 40px; }
.map-fig figcaption { color: var(--on-navy-muted); font-size: .92rem; margin-top: 6px; }
.area-map { width: 100%; height: auto; display: block; max-width: 900px; }
.area-map .st { fill: rgba(255,255,255,.08); stroke: rgba(255,255,255,.55); stroke-width: 1.2; stroke-linejoin: round; }
.area-map .ring { fill: none; stroke: var(--hazard); stroke-opacity: .55; stroke-width: 1.2; stroke-dasharray: 5 5; }
.area-map .ring2 { stroke-opacity: .3; }
.area-map .lbl { fill: rgba(255,255,255,.7); font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: .05em; }
.area-map .dot { stroke: var(--ink); stroke-width: 1.2; cursor: pointer; }
.area-map .dot.core { fill: var(--hazard); }
.area-map .dot.extended { fill: #fff; }
.area-map .dot.exception { fill: #93A1B2; }
.area-map a:hover .dot { r: 8; stroke: #fff; }
.area-map .legend text { fill: var(--on-navy-muted); font-size: 12px; font-family: var(--font-body); }

/* ---------- Service area ---------- */
.radius-note { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-bottom: 36px; }
.radius-fig { font-family: var(--font-display); font-weight: 700; font-size: 4.2rem; line-height: 1; color: var(--hazard); }
.radius-fig small { display: block; font-size: 1rem; font-weight: 500; color: var(--on-navy-muted); letter-spacing: .02em; }
.metro-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px 40px; }
.metro-groups h3 { font-size: 1.2rem; color: var(--on-navy-muted); font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 8px; margin-bottom: 8px; }
.metro-groups h3 a { color: inherit; text-decoration: none; }
.metro-groups h3 a:hover { color: var(--hazard); }
.metro-groups ul { list-style: none; margin: 0; padding: 0; }
.metro-groups li a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; color: #fff; text-decoration: none; font-family: var(--font-display); font-size: 1.2rem; }
.metro-groups li a span { color: var(--on-navy-muted); font-family: var(--font-body); font-size: .9rem; }
.metro-groups li a:hover { color: var(--hazard); }

/* ---------- Video card ---------- */
.video-card { display: grid; grid-template-columns: 1.2fr 1fr; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.video-card .poster { position: relative; min-height: 300px; background: var(--ink); }
.video-card .poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.video-card .poster a { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; text-decoration: none; }
.play { width: 84px; height: 84px; border-radius: 50%; background: var(--hazard); display: grid; place-items: center; color: var(--ink); box-shadow: 0 0 0 10px rgba(245,179,1,.25); }
.play svg { width: 34px; height: 34px; margin-left: 5px; }
.video-card .copy { padding: clamp(28px, 4vw, 44px); }
@media (max-width: 860px) { .video-card { grid-template-columns: 1fr; } }

.video-list { display: grid; gap: 28px; }
.video-card.compact { grid-template-columns: 1fr 1.4fr; }
.video-card.compact .poster { min-height: 220px; }
.video-card.compact .copy { padding: clamp(20px, 3vw, 32px); }
.video-card.compact .copy h2 { font-size: 1.6rem; }
@media (max-width: 860px) { .video-card.compact { grid-template-columns: 1fr; } }

.pull-review { margin: 32px 0 0; padding: 20px 24px; border-left: 4px solid var(--hazard); background: var(--surface); max-width: 76ch; }
.pull-review p { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; line-height: 1.3; margin: 0 0 8px; color: var(--accent-text); }
.pull-review footer { font-size: .92rem; color: var(--muted); }
.band-cloud .pull-review { background: #fff; }

.who-serve { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.who-serve a { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--accent-text); border-radius: var(--radius); text-decoration: none; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.who-serve a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.rules.on-navy li { color: var(--on-navy); border-color: rgba(255,255,255,.15); }
.rules.on-navy li::before { color: var(--hazard); }
.rules.on-navy a { color: #fff; }

.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 8px 0 14px; }

.pay-choice label { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 8px; cursor: pointer; }
.pay-choice input { margin-right: 8px; }

/* ---------- About ---------- */
.pull { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 4rem); line-height: .98; color: var(--accent-text); margin: 0 0 24px; max-width: 12ch; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.stats div { font-family: var(--font-display); }
.stats b { display: block; font-size: 2.1rem; font-weight: 700; line-height: 1; color: var(--accent-text); white-space: nowrap; }
.stats span { color: var(--muted); font-size: 1rem; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 24px; background: #fff; border: 1px solid var(--line); padding: 16px 20px; }
.badges img { height: 60px; width: auto; }
.badges img.badge-sba { height: 108px; }
.tier { margin-top: 40px; }
.tier-title { font-size: 1.7rem; color: #fff; margin-bottom: 4px; }
.tier > p { color: var(--on-navy-muted); max-width: 66ch; margin-bottom: 20px; }
.badge { border: 1.5px solid var(--accent-text); color: var(--accent-text); font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; padding: 6px 12px 5px; border-radius: var(--radius); }
.about-photo { margin: 0; }
.about-photo img { width: 100%; }
.about-photo figcaption { font-size: .92rem; color: var(--muted); padding: 10px 0 0; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.founder-photo { margin: 0; }
.founder-photo img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.founder-photo figcaption { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.1; margin-top: 12px; }
.founder-photo figcaption span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .95rem; color: var(--muted); margin-top: 2px; }
.founder .link-plain { display: inline-block; margin-top: 6px; }
.quote { margin: 20px 0 22px; padding: 4px 0 4px 20px; border-left: 4px solid var(--hazard); }
.quote p { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; line-height: 1.15; margin: 0; color: var(--accent-text); }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .founder-photo { max-width: 280px; } }

/* ---------- Posts ---------- */
.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.posts li { border-top: 3px solid var(--accent-text); padding-top: 14px; }
.posts h3 { font-size: 1.45rem; margin-bottom: 8px; }
.posts h3 a { text-decoration: none; }
.posts h3 a:hover { text-decoration: underline; }
.posts p { color: var(--muted); margin: 0 0 10px; font-size: .98rem; }
.posts time { font-size: .88rem; color: var(--muted); }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 11px 12px;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--hazard); outline-offset: 0; border-color: var(--navy); }
.form-note { font-size: .9rem; color: var(--muted); }
.notice { border-left: 4px solid var(--hazard); background: var(--surface); padding: 14px 18px; margin: 20px 0; }
.notice.ok { border-left-color: #2E8B57; }
.contact-details { font-size: 1.1rem; }
.contact-details a.big { text-decoration: none; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.contact-details p { margin-bottom: 18px; }

/* ---------- Shred by Mail kit picker ---------- */
.kits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.kit { font-weight: 400; position: relative; border: 2px solid var(--line); background: var(--surface); padding: 22px 20px 20px; cursor: pointer; border-radius: var(--radius); }
.kit:hover { border-color: var(--line-strong); }
.kit input { position: absolute; opacity: 0; }
.kit.selected { border-color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--accent-text); }
.kit.selected::after { content: ""; position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--hazard); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2140' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); background-size: 14px; background-repeat: no-repeat; background-position: center; }
.kit .kit-name { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.1; margin-bottom: 4px; padding-right: 26px; }
.kit .kit-price { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--accent-text); margin: 8px 0 10px; }
.kit .kit-price small { display: block; font-size: .95rem; font-weight: 500; color: var(--muted); font-family: var(--font-body); margin-top: 4px; }
.kit p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 560px) { .kits { grid-template-columns: 1fr; } }
.addons { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.addons li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.addons input { width: 20px; height: 20px; accent-color: var(--navy); }
.addons .price { margin-left: auto; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; white-space: nowrap; }
.order-summary { border: 1px solid var(--line); background: var(--surface); padding: 24px; position: sticky; top: 92px; }
.order-summary h3 { margin-bottom: 14px; }
.order-summary .line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.order-summary .total { display: flex; justify-content: space-between; padding: 14px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.order-summary .btn { padding-left: 12px; padding-right: 12px; }
.qty { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; }
.qty input { width: 84px; }
.example-tag { display: inline-block; background: var(--hazard); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: .95rem; padding: 3px 8px 2px; border-radius: var(--radius); margin-left: 8px; vertical-align: middle; }

.counts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.counts li { display: grid; grid-template-columns: 1fr 100px; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.counts .term { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.15; }
.counts .hint { color: var(--muted); font-size: .92rem; }
.counts input { width: 100px; }
.counts li.group { display: block; padding: 22px 0 6px; border-bottom: 0; }
.counts li.group h4 { margin: 0; font-size: 1.25rem; color: var(--muted); font-weight: 500; }
.counts .unit { font-family: var(--font-body); font-weight: 500; font-size: .9rem; color: var(--accent-text); margin-left: 6px; white-space: nowrap; }
.rules { list-style: none; margin: 0; padding: 0; }
.rules li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px solid var(--line); }
.rules li::before { position: absolute; left: 0; top: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.rules.ok li::before { content: "\2713"; color: #1F7A4D; }
.rules.no li::before { content: "\2715"; color: #B3261E; }
.faq-figure { margin: 4px 0 14px; padding: 16px 12px 8px; background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.faq-figure svg { width: 100%; max-width: 560px; height: auto; display: block; margin: 0 auto; }
.attest { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.attest input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--navy); }
.notice.warn { border-left-color: #B3261E; }
.included { color: #1F7A4D; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .included { color: #6FCF97; } }
:root[data-theme="dark"] .included { color: #6FCF97; }

.goat-hero { margin: 0; justify-self: end; text-align: center; }
.goat-hero img { max-width: 200px; margin: 0 auto; }
.goat-hero figcaption { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--hazard); margin-top: 6px; }
@media (max-width: 860px) { .goat-hero { justify-self: start; } .goat-hero img { max-width: 150px; margin: 0; } .goat-hero figcaption { text-align: left; } }

/* ---------- Checkout / confirmation ---------- */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 14px; width: 20px; height: 20px; border: 2px solid var(--navy); border-radius: 3px; }
.address { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; border: 2px dashed var(--line-strong); padding: 20px 24px; background: var(--surface); }
.address small { display: block; font-family: var(--font-body); font-size: .9rem; color: var(--muted); margin-top: 8px; }

/* ---------- Service area map ---------- */
.map-fig { margin: 0 0 40px; }
.map-fig figcaption { color: var(--on-navy-muted); font-size: .92rem; margin-top: 6px; }
.area-map { width: 100%; height: auto; display: block; max-width: 900px; }
.area-map .st { fill: rgba(255,255,255,.08); stroke: rgba(255,255,255,.55); stroke-width: 1.2; stroke-linejoin: round; }
.area-map .ring { fill: none; stroke: var(--hazard); stroke-opacity: .55; stroke-width: 1.2; stroke-dasharray: 5 5; }
.area-map .ring2 { stroke-opacity: .3; }
.area-map .lbl { fill: rgba(255,255,255,.7); font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: .05em; }
.area-map .dot { stroke: var(--ink); stroke-width: 1.2; cursor: pointer; }
.area-map .dot.core { fill: var(--hazard); }
.area-map .dot.extended { fill: #fff; }
.area-map .dot.exception { fill: #93A1B2; }
.area-map a:hover .dot { r: 8; stroke: #fff; }
.area-map .legend text { fill: var(--on-navy-muted); font-size: 12px; font-family: var(--font-body); }

/* ---------- Service area ---------- */
.sa-intro { padding-bottom: clamp(24px, 4vw, 48px); }
.truck-fig { margin: 0; }
.truck-fig img, .truck-fig svg { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.truck-fig figcaption { font-size: .92rem; color: var(--on-navy-muted); margin-top: 10px; text-align: center; }
.trailer-card .poster { min-height: 360px; }
.trailer-card .poster img { opacity: 1; object-position: 38% center; }
.fact-list { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 10px; }
.fact-list li { display: flex; align-items: baseline; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--muted); }
.fact-list b { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--accent-text); min-width: 130px; }
@media (max-width: 860px) { .trailer-card .poster { min-height: 240px; } }

/* ---------- Flags ---------- */
.flag { display: block; height: 100%; width: auto; border: 1px solid rgba(0,0,0,.18); }
.flags { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flags li { display: grid; grid-template-rows: 64px auto; gap: 10px; align-items: end; }
.flags li .flag { height: 64px; }
.flags li span { font-size: .92rem; color: var(--muted); line-height: 1.35; }
.flags li b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--text); }
.flag-sm { display: inline-flex; gap: 6px; vertical-align: -3px; margin-right: 8px; }
.flag-sm .flag { height: 16px; }
@media (max-width: 720px) { .flags { grid-template-columns: repeat(2, 1fr); } }

.sources .term a { text-decoration-thickness: 1px; }
.reviews { list-style: none; margin: 0; padding: 0; }
.reviews li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.reviews .stars { color: var(--hazard); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 6px; }
.reviews blockquote { margin: 0 0 8px; padding-left: 18px; border-left: 4px solid var(--hazard); }
.reviews blockquote p { margin: 0; font-size: 1.05rem; }
.reviews .who { font-size: .95rem; }

/* ---------- Blog ---------- */
.blog-list { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.blog-list li { padding: 26px 0; border-bottom: 1px solid var(--line); }
.blog-list .meta { font-size: .92rem; color: var(--muted); margin-bottom: 6px; }
.blog-list h2 { font-size: 1.8rem; margin-bottom: 8px; }
.blog-list h2 a { text-decoration: none; }
.blog-list h2 a:hover { text-decoration: underline; }
.blog-list p { color: var(--muted); margin: 0 0 10px; max-width: 70ch; }
.tags span { display: inline-block; font-size: .82rem; font-family: var(--font-display); font-weight: 600; letter-spacing: .02em; color: var(--accent-text); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 2px 8px 1px; margin: 0 6px 6px 0; }
.byline { color: var(--on-navy-muted); font-size: .98rem; margin: 6px 0 0; }
.article { max-width: 72ch; font-size: 1.08rem; line-height: 1.65; }
.article h2 { font-size: 1.9rem; margin: 40px 0 12px; }
.article h3 { font-size: 1.45rem; margin: 32px 0 10px; }
.article p { margin: 0 0 18px; }
.article ul, .article ol { margin: 0 0 18px; padding-left: 26px; }
.article li { margin-bottom: 8px; }
.article table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: .95rem; display: block; overflow-x: auto; }
.article th, .article td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.article th { font-family: var(--font-display); font-size: 1.05rem; background: var(--band); }
.article blockquote { margin: 0 0 18px; padding-left: 18px; border-left: 4px solid var(--hazard); color: var(--muted); }
.article .deflist { margin: 8px 0 24px; }
.article .deflist li { grid-template-columns: 240px 1fr; }
.article .deflist .term { font-size: 1.15rem; }
@media (max-width: 640px) { .article .deflist li { grid-template-columns: 1fr; } }
.article-foot { max-width: 72ch; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }

/* ---------- Blog ---------- */
.blog-list { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.blog-list li { padding: 26px 0; border-bottom: 1px solid var(--line); }
.blog-list .meta { font-size: .92rem; color: var(--muted); margin-bottom: 6px; }
.blog-list h2 { font-size: 1.8rem; margin-bottom: 8px; }
.blog-list h2 a { text-decoration: none; }
.blog-list h2 a:hover { text-decoration: underline; }
.blog-list p { color: var(--muted); margin: 0 0 10px; max-width: 70ch; }
.tags span { display: inline-block; font-size: .82rem; font-family: var(--font-display); font-weight: 600; letter-spacing: .02em; color: var(--accent-text); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 2px 8px 1px; margin: 0 6px 6px 0; }
.byline { color: var(--on-navy-muted); font-size: .98rem; margin: 6px 0 0; }
.article { max-width: 72ch; font-size: 1.08rem; line-height: 1.65; }
.article h2 { font-size: 1.9rem; margin: 40px 0 12px; }
.article h3 { font-size: 1.45rem; margin: 32px 0 10px; }
.article p { margin: 0 0 18px; }
.article ul, .article ol { margin: 0 0 18px; padding-left: 26px; }
.article li { margin-bottom: 8px; }
.article table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: .95rem; display: block; overflow-x: auto; }
.article th, .article td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.article th { font-family: var(--font-display); font-size: 1.05rem; background: var(--band); }
.article blockquote { margin: 0 0 18px; padding-left: 18px; border-left: 4px solid var(--hazard); color: var(--muted); }
.article .deflist { margin: 8px 0 24px; }
.article .deflist li { grid-template-columns: 240px 1fr; }
.article .deflist .term { font-size: 1.15rem; }
@media (max-width: 640px) { .article .deflist li { grid-template-columns: 1fr; } }
.article-foot { max-width: 72ch; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }

.svc-photo { margin: 0; }
.svc-photo img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); }

.banner { margin: 0 0 32px; }
.banner img { width: 100%; border-radius: var(--radius); }

.cod-figure { margin: 0; }
.cod-figure img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cod-figure figcaption { font-size: .92rem; color: var(--muted); padding-top: 10px; }
.cod-table { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
.cod-table table { border-collapse: collapse; font-size: .84rem; min-width: 1500px; }
.cod-table th, .cod-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: top; }
.cod-table th { font-family: var(--font-display); font-size: .95rem; background: var(--band); position: sticky; top: 0; }

/* ---------- Metro page ---------- */
.crumbs { font-size: .95rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--link); }
.band-navy .crumbs, .band-ink .crumbs { color: var(--on-navy-muted); }
.band-navy .crumbs a, .band-ink .crumbs a { color: #fff; text-decoration-color: rgba(255,255,255,.6); }
.metro-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.7rem); }
.metro-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: end; }
.metro-facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.2); }
.metro-facts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.2); font-size: 1.05rem; }
.metro-facts li b { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; text-align: right; }
@media (max-width: 860px) { .metro-hero { grid-template-columns: 1fr; } }
.faq { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.faq li { border-bottom: 1px solid var(--line); }
.faq details summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary::after { content: "+"; font-weight: 500; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 18px; max-width: 70ch; }
.nearby { display: flex; flex-wrap: wrap; gap: 10px; }
.nearby a { border: 1.5px solid var(--accent-text); border-radius: var(--radius); padding: 7px 12px 6px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.nearby a:hover { background: var(--navy); color: #fff; }

.services-3 h3 { font-size: 1.35rem; margin-bottom: 8px; }
.services-3 p { color: var(--muted); margin: 0; }
.deflist .where { margin-top: 8px; font-size: .92rem; }
.deflist .where a { margin-right: 2px; }

/* ---------- Service cards (services page) ---------- */
.service-block { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 48px); padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-block h2 { font-size: 2.1rem; }
.service-block ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.service-block img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 860px) { .service-block { grid-template-columns: 1fr; } }

/* ---------- Page intro (interior pages) ---------- */
.page-intro { padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 56px); }
.page-intro h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--hazard); color: var(--ink); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 34px; padding-bottom: 34px; }
.cta-band h2 { margin: 0; font-size: 2rem; }
.cta-band .btn-navy { font-size: 1.15rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-navy-muted); padding: 56px 0 32px; font-size: .95rem; }
.site-footer .grid { display: grid; grid-template-columns: 1.5fr 1.1fr 1fr 1fr 1fr; gap: 28px; }
.site-footer .brand-col .btn { margin-top: 4px; font-size: 1rem; padding: 9px 14px 8px; }
.site-footer h4 { color: #fff; font-size: 1.2rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer img { height: 44px; width: auto; margin-bottom: 16px; }
.site-footer .verse { margin-left: 14px; color: var(--on-navy-muted); font-family: var(--font-display); font-size: 1rem; letter-spacing: .02em; }
.site-footer .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 1000px) { .site-footer .grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 860px) { .site-footer .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .grid { grid-template-columns: 1fr; } }

/* ---------- Preview ribbon ---------- */
.preview-note { background: #fff8e1; color: #5a4300; border-bottom: 1px solid #f1d98a; font-size: .9rem; }
.preview-note .wrap { padding-top: 8px; padding-bottom: 8px; }
:root[data-theme="dark"] .preview-note { background: #3a2f0a; color: #ffe8a3; border-color: #5a4a12; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .preview-note { background: #3a2f0a; color: #ffe8a3; border-color: #5a4a12; } }
