/* Alpha Energy Services — light contractor mockup */
:root {
  --bg: #f4f1ea;
  --white: #ffffff;
  --ink: #111111;
  --muted: #5c6570;
  --line: #e4e0d8;
  --blue: #305088;
  --blue-hover: #244070;
  --navy: #111111;
  --navy-muted: #9aa3ad;
  --header-h: 88px;
  --wrap: 1180px;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(17, 17, 17, 0.07);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Barlow", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }

h1, h2, h3, h4 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin: 0;
}

/* Blazor FocusOnNavigate focuses h1; hide the default focus ring around the headline. */
h1:focus,
h1:focus-visible {
  outline: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 8px;
}

.lede {
  color: var(--muted);
  font-size: 17px;
  max-width: 52ch;
  line-height: 1.55;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 8px 14px;
  z-index: 200;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
  padding: 10px 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.logo img {
  height: 60px;
  width: auto;
  max-width: none;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.nav {
  display: flex;
  gap: 26px;
}

.nav a {
  position: relative;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #2a3140;
  padding: 10px 0 8px;
}

.nav a:hover { color: var(--blue); }

.nav a.is-active { color: var(--ink); }

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--blue);
}

.header-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-phone {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.header-phone:hover { color: var(--blue); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

#nav-open {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-blue:hover { background: var(--blue-hover); border-color: var(--blue-hover); }

.btn-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-navy:hover { background: #000; border-color: #000; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: #cfc9be;
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(17, 17, 17, 0.03);
}

.btn-block { width: 100%; }

.hero-actions,
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  height: 328px;
  min-height: 328px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 241, 234, 0.42) 0%, rgba(244, 241, 234, 0.12) 34%, transparent 56%),
    url("/hero-tanks.jpg") 50% 42% / cover no-repeat;
  z-index: -1;
}

.hero-copy {
  max-width: 540px;
  margin: 18px 0;
  padding: 20px 24px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(32px, 3.6vw, 42px);
  max-width: 16em;
  margin-bottom: 8px;
}

.hero .lede {
  margin-bottom: 14px;
  font-size: 15.5px;
  color: var(--muted);
}

.hero-yards {
  margin-top: 12px;
  color: var(--muted);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
  padding: 36px 0 28px;
}

.page-hero h1 {
  font-size: clamp(36px, 4.2vw, 50px);
  max-width: 18ch;
  margin-bottom: 10px;
}

.page-hero .lede { color: var(--muted); }

.page-hero.band {
  min-height: 280px;
  background-color: #d8d2c6;
}

.page-hero.band .hero-wash {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero.band .wrap {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 22px 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
  max-width: 640px;
  width: min(640px, calc(100% - 48px));
  margin-left: max(24px, calc((100% - var(--wrap)) / 2));
}

.page-hero.plain {
  min-height: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.page-hero.plain .wrap { padding: 40px 0 32px; }

.contact-hero { min-height: 200px; }
.contact-hero .hero-wash {
  background-image: url("/aerial-facility.jpg");
  background-position: center 40%;
}
.services-hero { min-height: 240px; }
.services-hero .hero-wash {
  background-image: url("/pipeline-crew.jpg");
  background-position: center 45%;
}

/* ---------- Stats ---------- */
.stats {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  padding: 18px 28px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }

.stat-kicker {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-kicker span { color: var(--blue); }
.stat p { color: var(--muted); font-size: 14px; max-width: 32ch; }
.stat a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--blue); }

/* ---------- Sections ---------- */
.section { padding: 28px 0 36px; }
.page-hero + .section { padding: 32px 0 48px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 18px;
}

.section-head h2 { font-size: clamp(26px, 2.8vw, 32px); max-width: 18ch; }
.section-head .lede { margin: 0; font-size: 15px; }

.more-link {
  margin-top: 16px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
}
.more-link a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid var(--blue);
}
.more-link a:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Photo service cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card-grid.four { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

a.card:hover {
  border-color: #d3cdc2;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.1);
  transform: translateY(-1px);
}

.card-media {
  aspect-ratio: 11 / 5;
  overflow: hidden;
  background: #ddd8ce;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body { padding: 14px 16px 16px; }

.card h3 {
  font-size: 22px;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}

.card p { color: var(--muted); font-size: 14px; flex: 1; line-height: 1.4; }

.card-link {
  display: inline-block;
  margin-top: 10px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--blue);
}

/* Services page */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  scroll-margin-top: 108px;
}

.service-card .card-media { aspect-ratio: 16 / 9; }

.service-card .card-body { padding: 18px 20px 22px; }

.service-card .card-num {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--blue);
  margin-bottom: 6px;
}

.service-card h2 { font-size: 26px; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 15px; }

/* ---------- About split ---------- */
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 280px;
  background: var(--white);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.split-copy {
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-copy h2 { font-size: clamp(26px, 2.8vw, 34px); margin-bottom: 12px; }
.split-copy p { color: var(--muted); max-width: 50ch; font-size: 15px; }

.split-copy p + p { margin-top: 10px; }

.split-photo {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 40%;
  position: absolute;
  inset: 0;
}

.photo-cap {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  padding: 6px 10px;
  border-radius: 6px;
}

/* ---------- Quotes ---------- */
.quotes-section { padding-bottom: 40px; }
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 20px 18px;
  box-shadow: var(--shadow);
}
.quote blockquote {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}
.quote cite {
  font-style: normal;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 36px 0;
}

.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.cta-band h2 { font-size: clamp(26px, 3vw, 34px); max-width: 18ch; margin-bottom: 8px; }
.cta-band p { color: var(--muted); }

.cta-band a.inline {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--blue);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #c5cbd6;
  padding: 22px 0 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.footer-brand img {
  height: 52px;
  width: auto;
  max-width: none;
  margin-bottom: 10px;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.footer-brand p,
.footer-col p,
.footer-col a {
  color: var(--navy-muted);
  font-size: 14px;
  text-decoration: none;
}

.footer-col a:hover { color: #fff; }

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #d5dbe3;
  margin-bottom: 10px;
}

.footer-col .tel {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 6px;
}

.legal {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #2a2a2a;
  color: #7e8793;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.legal a { color: #7e8793; text-decoration: none; }
.legal a:hover { color: #fff; }

/* ---------- Locations ---------- */
.loc-photo {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 280px;
  background: #ddd8ce;
  margin-bottom: 18px;
}

.loc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  min-height: 280px;
  max-height: 360px;
}

.loc-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.loc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.loc-card.hq { border-top: 3px solid var(--blue); }

.loc-badge {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}

.loc-card h2 { font-size: 28px; margin-bottom: 8px; }

.loc-card address {
  font-style: normal;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.loc-card .tel {
  display: inline-block;
  margin-top: 10px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.loc-card .tel:hover { color: var(--blue); }
.loc-note { margin-top: 6px; color: var(--muted); font-size: 13px; }

.loc-card a.inline,
.sister-note a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--blue);
}

.dispatch-once {
  margin-top: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow);
}

.dispatch-once h2 { font-size: 26px; margin-bottom: 6px; }
.dispatch-once p { color: var(--muted); font-size: 15px; }
.dispatch-once .tel {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.dispatch-once .tel:hover { color: var(--blue); }

.sister-note {
  margin-top: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  color: var(--muted);
  font-size: 15px;
  box-shadow: var(--shadow);
}

.sister-note strong {
  display: block;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.form-card,
.dir-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.form-card h2,
.dir-card h2 { font-size: 28px; margin-bottom: 8px; }

.form-card .hint,
.dir-card .hint { color: var(--muted); margin-bottom: 18px; font-size: 15px; }

.form-row { margin-bottom: 12px; }

.form-row label {
  display: block;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: "Barlow", sans-serif;
  font-size: 15px;
  padding: 11px 12px;
  border-radius: 8px;
}

.form-row textarea { min-height: 96px; resize: vertical; }

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}

.form-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.dispatch-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.dispatch {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 14px 16px 12px;
  border-radius: 10px;
}

.dispatch span {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--blue);
  margin-bottom: 6px;
}

.dispatch a {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 22px;
  text-decoration: none;
  color: var(--ink);
  word-break: break-word;
}
.dispatch a:hover { color: var(--blue); }

.hq-line {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.dir { display: flex; flex-direction: column; }

.dir-row {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.dir-row:last-child { border-bottom: 0; }

.dir-name {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.dir-name em {
  font-style: normal;
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
  display: block;
  font-family: "Barlow", sans-serif;
  letter-spacing: 0;
}

.dir-row address {
  font-style: normal;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.dir-head {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--blue);
  margin: 8px 0 4px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .card-grid.four { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .card-grid, .service-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .split-photo { min-height: 280px; }
  .split-copy { padding: 32px 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid, .quote-grid { grid-template-columns: 1fr; }
  .dir-row { grid-template-columns: 1fr; gap: 2px; }
  .loc-cards { grid-template-columns: 1fr 1fr; }
  .loc-photo, .loc-photo img { min-height: 240px; }
}

@media (max-width: 860px) {
  .nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .btn { height: 40px; padding: 0 14px; font-size: 13px; }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 12px 24px 20px;
    gap: 0;
  }

  #nav-open:checked + .header-inner .nav { display: flex; }

  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { color: var(--blue); }

  .stats-inner { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }

  .card-grid, .card-grid.four, .service-grid, .loc-cards { grid-template-columns: 1fr; }
  .cta-band .wrap, .dispatch-once { flex-direction: column; align-items: flex-start; }
  .dispatch-block { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { min-height: 0; height: auto; }
  .hero-copy { padding: 24px; margin: 24px 0; }
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .page-hero.band .wrap { margin-left: 16px; width: calc(100% - 32px); }
  .section-head { flex-direction: column; align-items: start; }
}


/* Blazor form validation / mock confirm */
.valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; }
.invalid { outline: 1px solid #e50000; }
.validation-message { color: #e50000; font-size: 13px; margin-top: 4px; }

.confirm {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 16px;
}
.confirm h3 { font-size: 24px; margin-bottom: 8px; }
.confirm p { color: var(--muted); font-size: 15px; }
