/* Ironline Utility Contractors — site styles
   Layout concept: a section drawing of the ground. Dark "subsurface" sections,
   light "concrete" sections for contrast, hairline grid lines like a plan sheet.
   Colors come from the Ironline logo: brand orange #e4470a and logo black #141618.
   The orange also matches the APWA marking color for communications lines. */

:root {
  --ink: #0e1011;          /* page background, near black */
  --char: #141618;         /* charcoal sections = Ironline logo black */
  --steel: #23272a;        /* raised panels */
  --line: #33383c;         /* hairlines on dark */
  --muted: #a2a8ad;        /* secondary text on dark */
  --white: #f3f4f2;        /* primary text on dark */
  --concrete: #e4e5e1;     /* light contrast sections */
  --concrete-line: #c6c8c3;
  --concrete-ink: #15181a; /* text on concrete */
  --concrete-muted: #555b60;
  --accent: #e4470a;       /* Ironline brand orange (from the logo) */
  --accent-ink: #141618;   /* text on accent = logo black */
  --ok: #3fae6a;
  --err: #ff6b5e;

  /* APWA uniform color code, used in the cross-section */
  --apwa-comm: #e4470a;
  --apwa-elec: #e5322d;
  --apwa-water: #2f7fd8;
  --apwa-gas: #f2c418;
  --apwa-sewer: #2fa35a;

  --f-display: "Saira Condensed", "Arial Narrow", Impact, sans-serif;  /* squared forms, echo the logo lettering */
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; line-height: 0.98; letter-spacing: 0.01em; text-transform: uppercase; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6.6vw, 5.5rem); overflow-wrap: break-word; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.05; }
h4 { font-size: 1.2rem; line-height: 1.1; }
p { margin: 0; max-width: 65ch; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); }
.eyebrow {
  font-family: var(--f-mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 0.6em;
}
.eyebrow::before { content: ""; width: 1.6em; height: 2px; background: currentColor; }
.mono { font-family: var(--f-mono); }
.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.85em 1.5em 0.8em; border: 2px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; line-height: 1; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn svg { width: 1em; height: 1em; transition: transform .15s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #f5591a; }
.btn--ghost { border-color: var(--white); color: var(--white); background: transparent; }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.on-concrete .btn--ghost { border-color: var(--concrete-ink); color: var(--concrete-ink); }
.on-concrete .btn--ghost:hover { background: var(--concrete-ink); color: var(--concrete); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(13, 15, 16, 0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-display); font-weight: 900; font-size: 1.6rem; letter-spacing: 0.08em; }
.brand__sub { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.22em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.brand img { height: 40px; width: auto; }
.site-footer .brand img { height: 52px; }
@media (max-width: 420px) { .site-header .brand img { height: 32px; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.07em; text-transform: uppercase;
  text-decoration: none; padding: 10px 10px; color: var(--white); border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav .btn { margin-left: 12px; font-size: 1rem; padding: 0.75em 1.2em 0.7em; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--white); width: 46px; height: 46px; border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.25rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav .btn { margin: 16px 0 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--char { background: var(--char); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.on-concrete { background: var(--concrete); color: var(--concrete-ink); color-scheme: light; }
.on-concrete .lede, .on-concrete .muted { color: var(--concrete-muted); }
.on-concrete .eyebrow { color: #b8380a; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 24px 48px; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }
.muted { color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; gap: 28px; }
.hero__grid > * { min-width: 0; }
.page-hero .wrap > * { min-width: 0; }
.hero h1 { max-width: 14ch; }
.hero h1 .accent { display: block; }
.hero__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.hero__body p + p { margin-top: 14px; }
@media (max-width: 860px) { .hero__body { grid-template-columns: 1fr; } }

.xsection { margin-top: clamp(36px, 5vw, 56px); position: relative; }
.xsection svg { width: 100%; height: auto; display: block; }
.xsection__scroll { overflow-x: auto; }
.xsection__scroll svg { min-width: 720px; }
.xsection text { font-family: var(--f-mono); }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts > div { padding: 20px 20px 22px; border-left: 1px solid var(--line); min-width: 0; }
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; line-height: 1.1; letter-spacing: 0.02em; }
@media (max-width: 860px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); background:
  linear-gradient(180deg, transparent 0, transparent calc(100% - 10px), var(--ink) 100%),
  repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,0.035) 79px 80px); }
.page-hero .wrap { display: grid; gap: 22px; }
.page-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); max-width: 18ch; }
.crumbs { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.tag {
  display: inline-block; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 8px 3px; border: 1px solid var(--accent); color: var(--accent); border-radius: var(--radius); white-space: nowrap;
}
.tag--muted { border-color: var(--line); color: var(--muted); }

/* ---------- Service list ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 14px; min-width: 0;
  text-decoration: none; color: inherit; position: relative; transition: background .15s;
}
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.svc__code { font-family: var(--f-mono); font-size: 0.75rem; color: var(--muted); letter-spacing: 0.1em; }
.svc p { color: var(--muted); font-size: 0.98rem; }
.svc__more { margin-top: auto; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--accent); display: inline-flex; gap: 8px; align-items: center; }
.svc__more svg { width: 1em; height: 1em; flex: none; transition: transform .15s; }
a.svc:hover .svc__more svg { transform: translateX(3px); }
a.svc:hover { background: var(--steel); }
.svc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 0.93rem; }
.svc__list li { padding-left: 18px; position: relative; color: var(--white); }
.svc__list li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 9px; height: 2px; background: var(--accent); }
.svc--dev { border-style: dashed; background: transparent; }
.svc--dev .svc__list li::before { background: var(--muted); }
.svc--dev .svc__list li { color: var(--muted); }
a.svc:hover h3 { color: var(--accent); }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

.dev-strip { margin-top: 28px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 32px; align-items: start; padding: 24px; border: 1px dashed var(--line); }
.dev-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.dev-strip li { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.03em; }
@media (max-width: 700px) { .dev-strip { grid-template-columns: 1fr; } }

/* ---------- Clients (concrete) ---------- */
.client-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.client-list li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 12px; padding: 18px 0; border-top: 1px solid var(--concrete-line); font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.65rem); text-transform: uppercase; line-height: 1.1; align-items: baseline; }
.client-list li span { font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; color: var(--concrete-muted); letter-spacing: 0.08em; }
@media (max-width: 700px) { .client-list { grid-template-columns: 1fr; } }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 20px; align-content: start; }

.adv { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; counter-reset: adv; }
.adv li { padding: 18px 0 20px; border-top: 1px solid var(--line); display: grid; gap: 6px; min-width: 0; }
.adv strong { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.1; }
.adv span { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 600px) { .adv { grid-template-columns: 1fr; } }

/* ---------- Photo slots ---------- */
.photo {
  position: relative; margin: 0; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; border-radius: var(--radius);
  background-color: #1d2124;
  background-image:
    var(--src, none),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, #262b2f 0%, #1a1d20 100%);
  background-size: cover, auto, auto; background-position: center;
  border: 1px solid var(--line);
}
.photo--wide { aspect-ratio: 16 / 9; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo__tag {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted);
  display: flex; gap: 8px; align-items: flex-start;
}
.photo__tag::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 3px; border: 1.5px solid var(--accent); border-radius: 50%; }
.photo.has-img { border-color: transparent; }
.photo.has-img .photo__tag { display: none; }
.photo::after { /* registration marks, like a plan sheet */
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  background:
    linear-gradient(var(--line), var(--line)) top left / 14px 1px no-repeat,
    linear-gradient(var(--line), var(--line)) top left / 1px 14px no-repeat,
    linear-gradient(var(--line), var(--line)) top right / 14px 1px no-repeat,
    linear-gradient(var(--line), var(--line)) top right / 1px 14px no-repeat;
}
.photo.has-img::after { display: none; }

/* ---------- Service area ---------- */
.states { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.state { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 20px 24px; min-width: 0; display: grid; gap: 4px; align-content: start; }
.state__code { font-family: var(--f-display); font-weight: 900; font-size: clamp(3rem, 6vw, 5rem); line-height: 0.9; letter-spacing: 0.02em; }
.state__name { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.state--hq { background: var(--accent); color: var(--accent-ink); }
.state--hq .state__name { color: var(--accent-ink); }
.state--more .state__code { color: var(--muted); }
@media (max-width: 860px) { .states { grid-template-columns: repeat(2, minmax(0, 1fr)); } .state--hq { grid-column: 1 / -1; } }

/* ---------- Project types ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.proj { display: grid; gap: 14px; align-content: start; min-width: 0; }
.proj h3 { font-size: 1.5rem; }
.proj p { color: var(--muted); font-size: 0.97rem; }
.proj__meta { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 960px) { .proj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .proj-grid { grid-template-columns: 1fr; } }

.notice { border: 1px solid var(--line); border-left: 3px solid var(--accent); padding: 18px 20px; display: grid; gap: 6px; background: var(--char); }
.notice strong { font-family: var(--f-display); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.04em; }
.notice p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Process steps (real sequences) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); border-top: 2px solid var(--accent); counter-reset: step; }
.steps li { padding: 22px 20px 4px 0; display: grid; gap: 8px; align-content: start; counter-increment: step; min-width: 0; position: relative; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--f-mono); font-size: 0.78rem; color: var(--accent); letter-spacing: 0.1em; }
.steps li::after { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--accent); border-radius: 50%; }
.steps strong { font-family: var(--f-display); font-size: 1.35rem; text-transform: uppercase; line-height: 1.05; }
.steps span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--accent); } .steps li { padding: 0 0 26px 26px; } .steps li::after { top: 4px; left: -7px; } }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.checklist li { padding: 14px 0 14px 32px; border-top: 1px solid var(--line); position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 21px; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.on-concrete .checklist li { border-color: var(--concrete-line); }
.on-concrete .checklist li::before { border-color: #b8380a; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: var(--accent-ink); padding-block: clamp(56px, 7vw, 88px); position: relative; overflow: hidden; }
.cta-band::before { /* locate-mark dashes, like paint on the pavement */
  content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 6px;
  background: repeating-linear-gradient(90deg, rgba(20,22,24,0.85) 0 46px, transparent 46px 72px);
  opacity: 0.18;
}
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: center; }
.cta-band h2 { max-width: 16ch; }
.cta-band p { color: rgba(20,22,24,0.82); margin-top: 14px; }
.cta-band .btn--dark { background: var(--accent-ink); color: var(--white); }
.cta-band .btn--dark:hover { background: #000; }
.cta-band__mark { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: min(46vw, 560px); opacity: 0.09; pointer-events: none; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band .btn--line { border-color: var(--accent-ink); color: var(--accent-ink); }
.cta-band .btn--line:hover { background: var(--accent-ink); color: var(--accent); }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Careers ---------- */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.role { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 24px 28px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.role p { color: var(--muted); font-size: 0.96rem; }
.role button { justify-self: start; background: none; border: 0; padding: 0; color: var(--accent); font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.07em; text-transform: uppercase; cursor: pointer; }
.role button:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 960px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .roles { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-shell { background: var(--char); border: 1px solid var(--line); padding: clamp(22px, 4vw, 44px); display: grid; gap: 28px; }
.form-shell__head { display: grid; gap: 10px; }
form { display: grid; gap: 22px; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.fgrid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fgrid { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; min-width: 0; }
legend { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); padding: 0 0 6px; border-bottom: 1px solid var(--line); width: 100%; margin-bottom: 4px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: 0.92rem; }
.field label .req { color: var(--accent); margin-left: 2px; }
.field .hint { font-size: 0.82rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--white); background: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; min-height: 48px;
}
textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(228,71,10,0.25); }
.field.invalid input, .field.invalid select, .field.invalid textarea, .field.invalid .drop { border-color: var(--err); }
.field .err { color: var(--err); font-size: 0.85rem; display: none; }
.field.invalid .err { display: block; }

.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 10px 14px; border-radius: var(--radius); cursor: pointer; font-weight: 500; }
.radio-row input { accent-color: var(--accent); }
.radio-row label:has(input:checked) { border-color: var(--accent); }

.drop { position: relative; border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 6px; justify-items: start; background: var(--ink); transition: border-color .15s, background .15s; }
.drop.is-over { border-color: var(--accent); background: #1c130e; }
.drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop strong { font-family: var(--f-display); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.04em; }
.drop strong span { color: var(--accent); }
.drop small { color: var(--muted); }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 0.82rem; padding: 8px 12px; background: var(--steel); border-radius: var(--radius); min-width: 0; }
.file-list li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.file-list li span:last-child { color: var(--muted); flex: none; }

.form-foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.form-foot small { color: var(--muted); max-width: 46ch; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { border: 1px solid var(--line); border-left: 3px solid var(--ok); padding: 22px; display: grid; gap: 10px; background: var(--ink); }
.form-status h3 { font-size: 1.7rem; }
.form-status p { color: var(--muted); }
.form-status--error { border-left-color: var(--err); }
.form-status .preview-note { font-family: var(--f-mono); font-size: 0.78rem; color: var(--accent); }

/* ---------- Contact aside ---------- */
.info-list { display: grid; gap: 0; margin: 0; }
.info-list > div { padding: 16px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.info-list dt { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.info-list dd { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; line-height: 1.15; }
.info-list dd a { text-decoration: none; }
.info-list dd a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding-block: 64px 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-grid h4 { font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; color: var(--white); }
.footer-grid a:hover { color: var(--accent); }
.footer-grid p { color: var(--muted); font-size: 0.95rem; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-family: var(--f-mono); font-size: 0.75rem; color: var(--muted); letter-spacing: 0.06em; }
.apwa { display: flex; gap: 4px; align-items: center; }
.apwa i { width: 18px; height: 6px; display: block; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* utilities */
.mt-s { margin-top: 14px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 48px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }

/* phone headline cap (kept last so it wins) */
@media (max-width: 480px) { h1, .page-hero h1 { font-size: 2.15rem; } }

@media (max-width: 600px) { .checklist[style*="columns"] { columns: 1 !important; } }
.nav .btn { white-space: nowrap; }
@media (min-width: 1101px) and (max-width: 1280px) { .nav a:not(.btn) { padding-inline: 8px; font-size: 0.98rem; } .nav .btn { margin-left: 6px; } }
.checklist[style*="columns"] { display: block; }
.checklist[style*="columns"] li { break-inside: avoid; }
