/* Midwest Contracting Inc. — site styles */
:root {
  /* Colors match the SubSuite app */
  --ink: #172b4d;          /* Midwest navy (logo) */
  --ink-2: #0f1e38;        /* deep navy */
  --ink-3: #2c4066;        /* lines on navy */
  --steel: #78716c;
  --line: #e7e5e4;         /* stone-200 */
  --paper: #ffffff;
  --paper-2: #f5f5f4;      /* stone-100 */
  --accent: #004ec6;       /* SubSuite blue: buttons and accents */
  --accent-hover: #003a9e;
  --accent-light: #c3cddd; /* soft gray-blue for small text on navy */
  --accent-dark: #172b4d;  /* navy: icons, labels */
  --blue: #004ec6;
  --blue-dark: #003a9e;
  --text: #1c1917;         /* stone-900 */
  --muted: #57534e;        /* stone-600 */
  --radius: 6px;
  --max: 1180px;
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: #faf9f7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1.1em; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: .6rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 3px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 10px;
  transform: translateY(-2px);
}
.on-dark .eyebrow { color: var(--accent-light); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .8em 1.5em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: var(--accent); color: #fff; }
.btn-dark:hover { background: var(--accent-hover); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 3px solid var(--accent);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark {
  width: 44px; height: 44px; flex: none;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  display: grid; place-items: center;
  font-family: var(--head); font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em;
}
.brand-text { font-family: var(--head); line-height: 1; text-transform: uppercase; }
.brand-text strong { display: block; font-size: 1.45rem; font-weight: 700; letter-spacing: .03em; }
.brand-text span { display: block; font-size: .8rem; font-weight: 500; letter-spacing: .22em; color: #aab2bb; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--head); font-weight: 600; font-size: 1.1rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: #d9dde1; text-decoration: none;
  padding: 10px 14px; border-radius: var(--radius);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
.nav-links .nav-phone { color: var(--accent-light); }
.nav-links .btn { padding: .55em 1.1em; font-size: 1.05rem; margin-left: 8px; color: #fff; }
.nav-links .btn:hover { color: #fff; }

.menu-toggle {
  display: none;
  background: none; border: 0; padding: 10px; cursor: pointer; color: #fff;
}
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 79px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px 20px 20px;
    border-bottom: 3px solid var(--accent);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--ink-3); }
  .nav-links a[aria-current="page"] { box-shadow: none; color: var(--accent-light); }
  .nav-links .btn { margin: 14px 0 0; justify-content: center; border-bottom: 0; }
}

/* Hero */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  /* site-plan grid */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(100deg, transparent 20%, #000 75%);
  -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 75%);
}
.hero-pipes {
  position: absolute; right: -40px; top: 0; bottom: 0;
  width: 52%; height: 100%;
  opacity: .9;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
}
@media (max-width: 900px) {
  .hero-pipes { width: 100%; opacity: .25; }
}
.hero-inner { position: relative; padding: clamp(80px, 12vw, 150px) 0 clamp(80px, 10vw, 130px); max-width: 720px; }
.hero h1 { margin-bottom: .25em; }
.hero h1 em { font-style: normal; color: var(--accent-light); }
.hero .lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: #c8ced4; max-width: 34em; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.page-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(100deg, transparent 30%, #000 90%);
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 90%);
}
.page-hero .container { position: relative; padding: 80px 0 70px; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: .2em; }
.page-hero p { color: #c8ced4; font-size: 1.15rem; max-width: 40em; margin: 0; }

/* Stats band */
.stats { background: var(--blue); color: #fff; }
.stats .container {
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.stat { padding: 28px 20px; border-left: 1px solid rgba(255,255,255,.22); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-family: var(--head); font-size: 2.4rem; font-weight: 800; line-height: 1; text-transform: uppercase; }
.stat span { display: block; font-weight: 600; font-size: .92rem; margin-top: 6px; }
@media (max-width: 800px) {
  .stats .container { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; padding: 22px 0; }
  .stat:nth-child(even) { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.22); }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.22); }
}

/* Sections */
.section { padding: clamp(70px, 9vw, 110px) 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink-2); color: #e6e9ec; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head p { color: #aab2bb; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.split .big { font-size: 1.2rem; color: var(--text); }
.split p { color: var(--muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 32px 30px 30px;
  display: flex; flex-direction: column;
}
.card-icon { width: 52px; height: 52px; color: var(--accent-dark); margin-bottom: 18px; }
.card p { color: var(--muted); }
.card ul { list-style: none; padding: 0; margin: 0 0 24px; }
.card li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .97rem; }
.card li:last-child { border-bottom: 0; }
.card .more {
  margin-top: auto;
  font-family: var(--head); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-dark); text-decoration: none;
}
.card .more:hover { color: var(--ink); }

/* Feature list (why us) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; gap: 32px; } }
.feature { border-top: 1px solid var(--ink-3); padding-top: 24px; }
.feature .num { font-family: var(--head); font-weight: 800; font-size: 1.1rem; color: var(--accent-light); letter-spacing: .1em; }
.feature h3 { color: #fff; margin-top: 6px; }
.feature p { color: #aab2bb; margin: 0; }

/* CTA band */
.cta {
  background: var(--blue);
  color: #fff;
}
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 56px 0; flex-wrap: wrap; }
.cta h2 { margin: 0 0 .15em; }
.cta p { margin: 0; font-weight: 500; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-outline { border-color: #fff; color: #fff; }
.cta .btn-outline:hover { background: rgba(255,255,255,.12); }

/* Services page */
.svc-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.svc-nav a {
  font-family: var(--head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; text-decoration: none; font-size: 1.05rem;
  padding: 8px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
}
.svc-nav a:hover { border-color: var(--accent-light); color: var(--accent-light); }

.svc-block { display: grid; grid-template-columns: 340px 1fr; gap: clamp(30px, 5vw, 70px); scroll-margin-top: 100px; }
.svc-block + .svc-block { margin-top: 80px; padding-top: 80px; border-top: 1px solid var(--line); }
.svc-block .card-icon { width: 60px; height: 60px; }
.svc-block > div:first-child p { color: var(--muted); }
@media (max-width: 900px) { .svc-block { grid-template-columns: 1fr; } }

.util-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .util-grid { grid-template-columns: 1fr; } }
.util {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 22px 24px;
  border-left: 4px solid var(--accent);
}
.util h3 { font-size: 1.35rem; margin-bottom: .4em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tags li {
  font-size: .85rem; font-weight: 500;
  background: #fff; border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 4px;
}
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
@media (max-width: 640px) { .checklist { grid-template-columns: 1fr; } }
.checklist li {
  padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line);
  position: relative; font-weight: 500;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 16px; height: 16px; margin-top: -8px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.field label, .field legend {
  display: block;
  font-weight: 600; font-size: .92rem;
  margin-bottom: 6px;
}
.field .req { color: var(--accent-dark); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid #c9cdd2;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid #c9cdd2; border-radius: 999px;
  font-size: .95rem; font-weight: 500;
  cursor: pointer; user-select: none;
}
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }

.info-card {
  background: var(--ink-2); color: #e6e9ec;
  border-radius: var(--radius);
  padding: 34px 32px;
  border-top: 4px solid var(--accent);
}
.info-card h2 { font-size: 2rem; color: #fff; }
.info-row { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--ink-3); }
.info-row svg { width: 22px; height: 22px; color: var(--accent-light); flex: none; margin-top: 3px; }
.info-row small { display: block; color: #8e98a2; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.info-row a, .info-row span { color: #fff; text-decoration: none; font-weight: 500; font-size: 1.05rem; }
.info-row a:hover { color: var(--accent-light); }
.info-big a { font-family: var(--head); font-size: 2rem; font-weight: 700; letter-spacing: .02em; }

.notice { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 24px; font-weight: 500; }
.notice-error { background: #fdecea; color: #8a1c12; border: 1px solid #f3b9b2; }

/* Footer */
.site-footer { background: var(--ink); color: #9aa3ac; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 64px 0 48px; }
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr; gap: 30px; } }
.site-footer h4 {
  font-family: var(--head); text-transform: uppercase; letter-spacing: .12em;
  color: #fff; font-size: 1.05rem; margin: 0 0 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #c8ced4; text-decoration: none; }
.site-footer a:hover { color: var(--accent-light); }
.footer-tag { max-width: 30em; margin-top: 16px; }
.footer-bottom {
  border-top: 1px solid var(--ink-3);
  padding: 22px 0;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: .85rem;
}

/* Logo */
.brand-logo { height: 54px; width: auto; }
.site-footer .brand-logo { height: 92px; }
@media (max-width: 900px) { .brand-logo { height: 46px; } }

/* Four-up service cards */
.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1060px) { .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .cards-4 { grid-template-columns: 1fr; } }

/* Buttons on the blue banner: white so they stand out */
.cta .btn-dark { background: #fff; color: var(--ink); }
.cta .btn-dark:hover { background: #e8eefb; }

/* Home page photo background (img/hero.jpg). Navy shading on the left keeps the headline readable. */
.hero {
  background:
    linear-gradient(90deg, rgba(15,30,56,.94) 0%, rgba(15,30,56,.82) 40%, rgba(15,30,56,.30) 100%),
    url("../img/hero.jpg") center 65% / cover no-repeat,
    var(--ink);
}
.hero::before { display: none; }
.hero-inner { min-height: min(78vh, 720px); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 900px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(15,30,56,.62) 0%, rgba(15,30,56,.82) 100%),
      url("../img/hero.jpg") 70% center / cover no-repeat,
      var(--ink);
  }
}

/* ---- Less blue: blue is reserved for buttons and links ---- */
.site-header { border-bottom: 1px solid var(--ink-3); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 #fff; }
.nav-links .nav-phone { color: #fff; }
.eyebrow { color: var(--steel); }
.eyebrow::before { background: var(--ink); }
.on-dark .eyebrow { color: var(--accent-light); }
.on-dark .eyebrow::before { background: var(--accent-light); }
.hero h1 em { color: #fff; }

/* Quick-facts strip: white instead of blue */
.stats { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.stat, .stat:nth-child(even) { border-color: var(--line); }
.stat span { color: var(--muted); }

/* Cards and lists: navy details */
.card { border-top-color: var(--ink); }
.card .more { color: var(--blue); }
.util { border-left-color: var(--ink); }
.checklist li::before { background: var(--ink); }
.info-card { border-top: 0; }
.feature .num { color: var(--accent-light); }

/* Closing banner: light gray instead of blue */
.cta { background: var(--paper-2); color: var(--ink); border-top: 1px solid var(--line); }
.cta .btn-dark { background: var(--blue); color: #fff; }
.cta .btn-dark:hover { background: var(--blue-dark); }
.cta .btn-outline { border-color: var(--ink); color: var(--ink); }
.cta .btn-outline:hover { background: rgba(23,43,77,.06); }
@media (max-width: 800px) {
  .stats .container { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(even) { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
}

/* Careers */
.careers { background: #fff; border-top: 1px solid var(--line); }
.careers-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.careers-inner p { color: var(--muted); font-size: 1.1rem; max-width: 34em; margin: 0; }
.careers-action { border-left: 1px solid var(--line); padding-left: clamp(24px, 4vw, 56px); }
.careers-action p { font-size: .98rem; margin-top: 16px; }
.careers-action a:not(.btn) { color: var(--blue); font-weight: 600; text-decoration: none; }
.careers-action a:not(.btn):hover { text-decoration: underline; }
@media (max-width: 800px) {
  .careers-inner { grid-template-columns: 1fr; }
  .careers-action { border-left: 0; padding-left: 0; }
}

/* ---- Home page: neutral (not blue) photo shading ---- */
.home .hero {
  background:
    linear-gradient(90deg, rgba(0,0,0,.60) 0%, rgba(0,0,0,.38) 40%, rgba(0,0,0,.04) 100%),
    url("../img/hero.jpg") center 65% / cover no-repeat,
    #1b1b1b;
}
@media (max-width: 900px) {
  .home .hero {
    background:
      linear-gradient(180deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.60) 100%),
      url("../img/hero.jpg") 70% center / cover no-repeat,
      #1b1b1b;
  }
}

/* License line under the quick facts */
.license-line {
  border-top: 1px solid var(--line);
  padding: 12px 0 14px;
  font-size: .85rem; font-weight: 600; letter-spacing: .04em;
  color: var(--muted);
}

/* Photo beside the company story */
.split-photo { align-items: center; }
.story-photo { margin: 0; }
.story-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* Recent work strip */
.work { background: #fff; }
.work .section-head { margin-bottom: 32px; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 800px) { .work-grid { grid-template-columns: 1fr; } }

/* Services page: written explanations instead of bullet lists */
.svc-text { max-width: 44em; }
.svc-text p { color: var(--muted); font-size: 1.06rem; }
.svc-text p.big { color: var(--text); font-size: 1.22rem; line-height: 1.55; }
.svc-text p:last-child { margin-bottom: 0; }
.card-icon { display: block; }

/* Services page: compact cards with material tags */
.svc-cards .card { scroll-margin-top: 100px; }
.svc-cards .card p { margin-bottom: 18px; }
.svc-cards .tags { margin-top: auto; }
.svc-cards .tags li { background: var(--paper-2); border-color: var(--line); }

/* Careers: photo beside the text */
.careers-photo { margin: 0; }
.careers-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 75% center; border-radius: var(--radius); }
.careers-inner { grid-template-columns: 1fr 1fr; }
.careers-action { border-left: 0; padding-left: 0; margin-top: 26px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.careers-action p { margin: 0; }
@media (max-width: 800px) { .careers-inner { grid-template-columns: 1fr; } }

/* Services page: photo behind the page title */
.page-hero-photo {
  background:
    linear-gradient(90deg, rgba(0,0,0,.74) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.2) 100%),
    url("../img/services-hero.jpg") center 55% / cover no-repeat,
    #1b1b1b;
}
.page-hero-photo::before { display: none; }
.page-hero-photo .container { padding: 110px 0 100px; }
@media (max-width: 900px) {
  .page-hero-photo { background: linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.72)), url("../img/services-hero.jpg") center / cover no-repeat, #1b1b1b; }
}

/* Service cards: photo across the top instead of an icon */
.card { overflow: hidden; }
.card-photo {
  display: block;
  width: calc(100% + 60px); max-width: none;
  margin: -32px -30px 22px;
  aspect-ratio: 16 / 10; object-fit: cover;
}
.card:has(.card-photo) { border-top: 0; }

/* "Why Midwest": dark photo background */
.section-photo {
  background:
    linear-gradient(rgba(10,12,16,.58), rgba(10,12,16,.70)),
    url("../img/why-bg.jpg") 30% 45% / cover no-repeat,
    var(--ink-2);
}
.section-photo .feature { border-top-color: rgba(255,255,255,.18); }
.section-photo .feature p { color: #c4c9d0; }

/* Contact page: loader photo behind the title */
.contact-hero {
  background:
    linear-gradient(90deg, rgba(0,0,0,.76) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.25) 100%),
    url("../img/contact-hero.jpg") center 60% / cover no-repeat,
    #1b1b1b;
}
@media (max-width: 900px) {
  .contact-hero { background: linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.72)), url("../img/contact-hero.jpg") center / cover no-repeat, #1b1b1b; }
}
.card-photo { height: auto; }
.section-photo h2, .section-photo .feature h3 { text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.section-photo .feature p { color: #e1e4e8; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.home .hero h1, .home .hero .lead, .home .hero .eyebrow { text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.home .hero .lead { color: #eef0f2; }

/* License row under the stats (quiet) */
.license-band { background: #fff; border-top: 1px solid var(--line); }
.license-band .license-line {
  border-top: 0; padding: 12px 0 14px;
  display: flex; align-items: baseline; gap: 6px 22px; flex-wrap: wrap;
  font-size: .82rem; font-weight: 400; letter-spacing: .02em; color: var(--muted);
}
.lic-label { font-weight: 500; }
.lic-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 22px; flex-wrap: wrap; }
.lic-list li { position: relative; }
.lic-list li + li::before {
  content: ""; position: absolute; left: -12px; top: 50%; width: 1px; height: 11px;
  margin-top: -6px; background: var(--line);
}
.lic-list b { font-weight: 600; color: var(--ink-3); margin-right: 5px; }
.careers-photo img { aspect-ratio: 3 / 2; object-position: center; }

/* Phone polish */
h1, h2, h3 { text-wrap: balance; }
@media (max-width: 600px) {
  .site-footer li { padding: 0; }
  .site-footer li a { display: inline-block; padding: 11px 0; }
  .careers-action p a { display: inline-block; padding: 8px 0; }
  .hero .eyebrow { font-size: .72rem; letter-spacing: .12em; white-space: nowrap; }
}
@media (max-width: 900px) {
  .nav-links a { display: block; padding: 15px 4px; font-size: 1.2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav-links a[aria-current="page"] { box-shadow: none; color: #fff; }
  .nav-links .btn { display: flex; padding: 14px; }
}
@media (max-width: 600px) {
  /* Stats as one compact row of three */
  .stats .container { grid-template-columns: repeat(3, 1fr); }
  .stat, .stat:nth-child(even) { padding: 20px 8px; border-bottom: 0; border-left: 1px solid var(--line); text-align: center; }
  .stat:first-child { border-left: 0; padding-left: 0; }
  .stat:last-child { padding-right: 0; }
  .stat strong { font-size: 1.55rem; }
  .stat span { font-size: .78rem; line-height: 1.3; }
}
@media (max-width: 600px) {
  .stat strong { font-size: 1.4rem; white-space: nowrap; }
  .stat .hide-sm { display: none; }
}
a[href^="tel:"] { white-space: nowrap; }
