/* Mudline Heavy Wash — palette and type pulled from the logo:
   black / white / royal blue, mud brown accent, heavy condensed italic headings. */

:root {
  --ink: #0b0c0e;
  --ink-2: #121418;
  --panel: #171a1f;
  --panel-2: #1e2229;
  --line: #2a2f37;
  --white: #f5f6f8;
  --text: #d9dde3;
  --muted: #9aa2ad;
  --blue: #1f5fe0;
  --blue-hi: #3b78ff;
  --blue-deep: #143f99;
  --mud: #8b6334;
  --mud-hi: #b5844a;
  --todo: #ffd23f;

  --radius: 6px;
  --wrap: 1180px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-hi); }
a:hover { color: var(--white); }
:focus-visible { outline: 3px solid var(--blue-hi); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 800;
  color: var(--white);
  line-height: 1.02;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-style: italic; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-style: italic; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--text); max-width: 60ch; }
.muted { color: var(--muted); }
.blue { color: var(--blue-hi); }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Placeholder content that must be replaced with real facts before launch */
.todo {
  background: rgba(255, 210, 63, .12);
  border: 1px dashed var(--todo);
  color: var(--todo);
  padding: 0 .35em;
  border-radius: 3px;
  font-style: normal;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 1.1rem/1 var(--head);
  text-transform: uppercase; letter-spacing: .06em;
  padding: 1em 1.6em;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .15s, color .15s, transform .15s, border-color .15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 95, 224, .8); }
.btn-blue:hover { background: var(--blue-hi); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); color: #fff; }
.btn-sm { padding: .7em 1.1em; font-size: 1rem; }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 12, 14, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }

/* Logo is used exactly as supplied; only its display size changes */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 72px; width: auto; }
.brand-lg img { height: 130px; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) {
  color: var(--text); text-decoration: none;
  font: 600 1.05rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--blue-hi); }
.nav .nav-phone { color: var(--white) !important; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; padding: 0 11px;
  }
  .nav-toggle span { height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute; top: 84px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 1.25rem; }
  .nav .btn { margin-top: 16px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(44px, 6vw, 76px) 0; position: relative; }
.section-alt { background: var(--ink-2); }
.section-head { max-width: 820px; margin-bottom: 30px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font: 700 .95rem/1 var(--head); text-transform: uppercase; letter-spacing: .18em;
  color: var(--blue-hi); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--blue); }
.eyebrow.mud { color: var(--mud-hi); }
.eyebrow.mud::before { background: var(--mud); }

/* Logo-style speed stripes */
.stripes { display: inline-flex; flex-direction: column; gap: 4px; width: 46px; }
.stripes span { height: 4px; background: var(--blue); border-radius: 1px; }
.stripes span:nth-child(2) { width: 80%; margin-left: auto; }
.stripes span:nth-child(3) { width: 60%; margin-left: auto; }

/* Mud splatter + grit texture used behind dark sections */
.grit {
  background-image:
    radial-gradient(circle at 12% 18%, rgba(139, 99, 52, .16) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 64%, rgba(139, 99, 52, .12) 0 3px, transparent 4px),
    radial-gradient(circle at 40% 85%, rgba(255, 255, 255, .03) 0 1px, transparent 2px);
  background-size: 140px 140px, 220px 220px, 60px 60px;
}

/* ---------- Photo slots ----------
   Each slot shows its shot brief until a real photo exists at the img src. */
.photo {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.025) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #1d2129, #121418);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.photo figcaption.shot {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 18px; gap: 8px;
  color: var(--muted); font-size: .88rem; line-height: 1.4;
}
.photo figcaption.shot::before {
  content: ""; width: 38px; height: 30px; opacity: .55;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20' fill='%239aa2ad'%3E%3Cpath d='M8 0 6.2 2H2a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-4.2L16 0H8zm4 5a6 6 0 1 1 0 12 6 6 0 0 1 0-12zm0 2.5a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7z'/%3E%3C/svg%3E");
}
.photo figcaption.shot b { color: var(--todo); font-weight: 600; font-family: ui-monospace, monospace; font-size: .8rem; }
.photo.tall { aspect-ratio: 3 / 4; }
.photo.wide { aspect-ratio: 16 / 9; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background-color: var(--ink);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 85% 30%, rgba(31,95,224,.28), transparent 55%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px);
  align-items: center; padding: clamp(36px, 6vw, 72px) 0;
}
.hero-inner { max-width: 640px; }
.hero-ba { max-width: 440px; width: 100%; justify-self: end; }
.hero-ba .ba { box-shadow: var(--shadow), 0 0 0 1px rgba(59,120,255,.35); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-ba { justify-self: center; }
}
.hero h1 .line-blue { color: var(--blue-hi); display: block; }
.hero .lead { font-size: 1.25rem; margin-bottom: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 8px; color: var(--white); font-weight: 600; }
.hero-points li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--blue) no-repeat center/11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E");
}

/* Interior page hero */
.page-hero { padding: clamp(36px, 5vw, 60px) 0 clamp(32px, 4vw, 52px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.page-hero .lead { margin-bottom: 22px; max-width: 60ch; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--white); }

/* ---------- Trust strip ---------- */
.trust { background: var(--blue-deep); border-bottom: 1px solid var(--blue); }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust li { display: flex; align-items: center; gap: 12px; color: #fff; font: 700 1.1rem/1.15 var(--head); text-transform: uppercase; letter-spacing: .04em; }
.trust svg { width: 30px; height: 30px; flex: none; fill: #fff; opacity: .9; }
@media (max-width: 860px) { .trust ul { grid-template-columns: 1fr 1fr; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: relative;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.service-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
.service-card:hover { border-color: var(--blue); transform: translateY(-3px); color: var(--text); }
.service-card .photo { border: 0; border-radius: 0; aspect-ratio: 16 / 10; }
.service-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card .more { margin-top: auto; padding-top: 14px; font: 700 1rem/1 var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--blue-hi); }
.service-card:hover .more { color: #fff; }

.industry-card { border-top: 4px solid var(--blue); }
.industry-card.mud { border-top-color: var(--mud); }
.icon {
  width: 52px; height: 52px; border-radius: var(--radius); display: grid; place-items: center;
  background: rgba(31, 95, 224, .14); margin-bottom: 18px;
}
.icon svg { width: 28px; height: 28px; fill: var(--blue-hi); }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; width: 22px; height: 22px; margin-top: 2px; flex: none; border-radius: 4px;
  background: var(--blue) no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='white' stroke-width='2.2' fill='none'/%3E%3C/svg%3E");
}
.checklist strong { color: var(--white); }

/* ---------- Before / after slider ---------- */
.ba {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); user-select: none; touch-action: pan-y; --pos: 50%;
}
/* Explicit layers: clip-path makes .ba-after its own stacking context, so without these the
   before photo's img (z-index 1) would paint over the whole after layer */
.ba .photo { position: absolute; inset: 0; aspect-ratio: auto; border: 0; border-radius: 0; z-index: 1; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos)); z-index: 2; }
.ba .photo:not(.ba-after) .shot { right: 50%; }
.ba .ba-after .shot { left: 50%; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; z-index: 3; pointer-events: none;
}
.ba-handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: var(--blue); border: 3px solid #fff;
  color: #fff; display: grid; place-items: center; font: 800 1.2rem/1 var(--head); letter-spacing: .1em;
}
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.ba-label {
  position: absolute; top: 14px; z-index: 3; padding: 6px 12px; border-radius: 3px;
  font: 700 .9rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; pointer-events: none;
}
.ba-label.before { left: 14px; background: var(--mud); color: #fff; }
.ba-label.after { right: 14px; background: var(--blue); color: #fff; }
.ba-caption { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.ba.portrait { aspect-ratio: 4 / 5; }
.prose-ba { max-width: 480px; margin: 24px 0; }
/* Side-by-side before/after, for pairs not shot from the exact same spot (a slider needs aligned photos) */
.compare { margin: 0; }
.compare-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--line);
}
.compare-side { position: relative; aspect-ratio: 4 / 5; }
.compare-side img { width: 100%; height: 100%; object-fit: cover; }
.compare-side .ba-label { left: 12px; right: auto; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font: 800 italic 2.8rem/1 var(--head); color: var(--blue); margin-bottom: 12px;
}
.steps h3 { font-size: 1.35rem; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Fleet band ---------- */
.band {
  background: linear-gradient(120deg, var(--blue-deep), var(--blue) 70%);
  border-radius: 10px; padding: clamp(32px, 5vw, 56px); position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center;
}
.band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px;
  background: repeating-linear-gradient(-60deg, rgba(255,255,255,.08) 0 10px, transparent 10px 22px);
  border-radius: 50%;
}
.band h2, .band p { color: #fff; position: relative; z-index: 1; }
.band .checklist li::before { background-color: rgba(255,255,255,.2); }
.band .checklist { color: #fff; position: relative; z-index: 1; }
.band .btn-row { position: relative; z-index: 1; }
.band .btn-blue { background: #fff; color: var(--blue-deep); }
.band .btn-blue:hover { background: var(--ink); color: #fff; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.review { display: flex; flex-direction: column; gap: 14px; }
.stars { color: var(--todo); letter-spacing: 3px; font-size: 1.1rem; }
.review blockquote { margin: 0; color: var(--white); font-size: 1.05rem; }
.review cite { font-style: normal; color: var(--muted); font-size: .95rem; }
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; max-width: none; }
.rating { margin: 0; color: var(--text); font-size: 1.1rem; }
.rating strong { color: var(--white); }

/* Endless review strip: JS clones the cards so the loop is seamless */
.marquee {
  overflow: hidden; padding: 4px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; gap: 20px; width: max-content; padding-left: 20px; }
.marquee.running .marquee-track { animation: marquee var(--marquee-time, 40s) linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee .review { width: 360px; flex: none; }
@keyframes marquee { to { transform: translateX(calc(-1 * var(--marquee-shift, 50%))); } }
@media (max-width: 560px) { .marquee .review { width: 290px; } }
/* Reduced motion: no scrolling, just the real reviews in a neat row */
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; padding: 0 16px; }
}

/* ---------- Area map / chips ---------- */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .areas { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 24px; }
.chips a, .chips span {
  display: inline-block; padding: 10px 16px; border-radius: 40px; border: 1px solid var(--line);
  background: var(--panel); color: var(--white); text-decoration: none; font-weight: 600;
}
.chips a:hover { border-color: var(--blue); background: rgba(31,95,224,.15); }
.map {
  border-radius: 10px; border: 1px solid var(--line); background: var(--panel); padding: 10px;
}
.map svg { width: 100%; height: auto; display: block; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font: 700 1.25rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .02em; color: var(--white);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font: 700 1.8rem/1 var(--head); color: var(--blue-hi); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details[open] { border-color: var(--blue); }
.faq .answer { padding: 0 22px 20px; }
.faq .answer p:last-child { margin: 0; }

/* ---------- CTA block ---------- */
.cta {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(31,95,224,.25), transparent 60%),
    var(--ink-2);
}
.cta-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.cta-actions { display: grid; gap: 12px; }
.cta-actions .btn { width: 100%; justify-content: flex-start; font-size: 1.2rem; }
.cta-actions small { color: var(--muted); }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font: 700 .95rem/1 var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--white); }
.field label .opt { color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: none; font-family: var(--body); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1.05rem/1.4 var(--body); color: var(--white);
  background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(31,95,224,.3); }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 600px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: block; text-align: center; padding: 12px 8px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ink); cursor: pointer; font-weight: 600; color: var(--text); font-size: .95rem;
}
.choice input:checked + span { border-color: var(--blue); background: rgba(31,95,224,.18); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--blue-hi); outline-offset: 2px; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-status { display: none; padding: 16px; border-radius: var(--radius); background: rgba(31,95,224,.15); border: 1px solid var(--blue); color: #fff; }
.form-status.show { display: block; }

.contact-side { display: grid; gap: 16px; align-content: start; }
.contact-tile { display: flex; gap: 16px; align-items: center; text-decoration: none; color: var(--text); }
.contact-tile:hover { border-color: var(--blue); color: var(--text); }
.contact-tile strong { display: block; color: var(--white); font: 700 1.3rem/1.1 var(--head); text-transform: uppercase; letter-spacing: .03em; }

/* ---------- Prose (long-form text on interior pages) ---------- */
.prose { max-width: 78ch; }
.prose h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.aside-card { position: sticky; top: 108px; }
.with-aside { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
@media (max-width: 960px) { .with-aside { grid-template-columns: 1fr; } .aside-card { position: static; } }

/* ---------- Footer ---------- */
.site-footer { background: #08090b; border-top: 4px solid var(--blue); padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h3 { font-size: 1.15rem; letter-spacing: .1em; color: var(--blue-hi); font-style: normal; }
.footer-grid ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-grid .btn { color: #fff; }
.footer-brand p { color: var(--muted); margin: 18px 0; max-width: 34ch; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.social a:hover { background: var(--blue); border-color: var(--blue); }
.social svg { width: 20px; height: 20px; fill: #fff; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); margin-top: 48px; padding: 22px 0 28px; color: var(--muted); font-size: .92rem; }
.footer-base a { color: var(--muted); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile quick-contact bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--ink-2); border-top: 1px solid var(--line);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: var(--radius);
    background: var(--panel-2); color: #fff; text-decoration: none;
    font: 700 1.1rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em;
  }
  .mobile-bar svg { width: 20px; height: 20px; fill: currentColor; }
  .mobile-bar .mb-quote { background: var(--blue); }
  /* Netlify's free-plan badge is fixed to the bottom corner; lift it above the
     call/text/quote bar so it doesn't cover the buttons */
  #nl-badge-frame { bottom: calc(66px + env(safe-area-inset-bottom)) !important; }
}

/* ---------- Reveal on scroll (only when JS has run, so content is never hidden without it) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
