/* Commercial snow plowing site. Mobile-first, no frameworks. Independent brand — not tied to an auto shop. */

:root {
  --ink: #0e1a2b;
  --ink-soft: #16324f;
  --orange: #1c6ea8;
  --orange-deep: #155888;
  --cream: #eef3f8;
  --paper: #ffffff;
  --muted: #4d5b6e;
  --line: #c5d0dc;
  --radius: 8px;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html, body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
  padding-bottom: var(--callbar-h);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); text-underline-offset: 0.15em; }
a:hover { color: var(--orange-deep); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.15rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.visually-hidden,
.skip-link:not(:focus):not(:focus-visible) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link:focus,
.skip-link:focus-visible {
  position: absolute;
  z-index: 10000;
  top: 0.5rem;
  left: 0.5rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.6rem 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.wrap { width: min(100% - 2rem, var(--content)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2rem, 46rem); margin-inline: auto; }

.topline { display: none; background: var(--ink); color: #efeae1; font-size: 0.875rem; }
.topline .wrap {
  display: flex; justify-content: space-between; gap: 1rem;
  align-items: center; padding: 0.4rem 0; flex-wrap: wrap;
}
.topline a { color: #efeae1; text-decoration: none; }
.topline a:hover { color: var(--orange); }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; min-height: var(--header-h); padding-block: 0.4rem;
}
.logo-link { display: flex; flex-direction: row; align-items: center; min-width: 0; text-decoration: none; color: var(--ink); gap: 0.7rem; }
.logo-flake { flex: 0 0 auto; width: 2.5rem; height: 2.5rem; display: block; border-radius: 8px; }
.logo-text { display: flex; flex-direction: column; min-width: 0; gap: 0.1rem; }
.logo-mark {
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem;
  line-height: 1.15; color: var(--ink); letter-spacing: 0.01em;
}
.logo-tag {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--royal); margin-top: 0.1rem;
}

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.menu-btn {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 2.75rem; height: 2.75rem; padding: 0.65rem 0.6rem;
  border: 2px solid var(--ink); background: var(--paper);
  border-radius: var(--radius); cursor: pointer;
}
.menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 1px; }
.site-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 3px solid var(--ink);
  padding: 0.75rem 1rem 1.1rem;
}
.nav-toggle:checked ~ .site-nav,
.site-nav:focus-within { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 0.55rem 0.2rem; color: var(--ink);
  text-decoration: none; font-weight: 650; border-bottom: 1px solid var(--line);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--orange-deep); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; padding: 0.7rem 1.05rem; border-radius: var(--radius);
  font-weight: 700; text-decoration: none; border: 2px solid var(--ink);
  line-height: 1.2; cursor: pointer; font-family: inherit;
}
.btn-orange { background: var(--orange); color: #fff; border-color: var(--orange-deep); }
.btn-orange:hover { background: var(--orange-deep); color: #fff; }
.btn-navy { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-navy:hover { background: var(--ink-soft); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ice); color: var(--ink); }
.btn-text-us { background: #1483c8; color: #fff; border-color: #0d6aa3; }
.btn-text-us:hover { background: #0d6aa3; color: #fff; }
.btn-lg { padding: 0.85rem 1.2rem; font-size: 1.05rem; }
.sms-note { margin: 0.75rem 0 0; font-size: 0.95rem; max-width: 42rem; }
.hero .sms-note, .cta-band .sms-note { color: #d8d2c6; }
.header-call { display: none; }

.hero {
  background: var(--ink);
  color: #f4efe6;
  padding: 2.2rem 0 2.5rem;
  border-bottom: 6px solid var(--orange);
}
.hero h1 { color: #fff; margin-bottom: 0.45em; }
.hero .lede { font-size: 1.15rem; max-width: 42rem; color: #efeae1; }
.hero .eyebrow {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.82rem; color: var(--orange);
  margin: 0 0 0.7rem; font-weight: 600;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.3rem; }
.kicker {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
  margin: 1.1rem 0 0; padding: 0; list-style: none; color: #d8d2c6; font-size: 0.95rem;
}
.kicker li { position: relative; padding-left: 0; }
.kicker li::before { content: "■"; color: var(--orange); margin-right: 0.45rem; font-size: 0.65em; }

.section { padding: 2.6rem 0; }
.section-alt { background: var(--paper); }
.section h2 { margin-bottom: 0.45em; }
.lede, .intro { max-width: 46rem; }

.cards {
  display: grid; gap: 1rem; list-style: none; margin: 1.3rem 0 0; padding: 0;
  grid-template-columns: 1fr;
}
.card {
  background: var(--paper); border: 2px solid var(--ink);
  border-top: 5px solid var(--orange); border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.25rem;
}
.card h3 { margin: 0 0 0.4rem; font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0 0 0.8rem; }
.card a.more { font-weight: 700; text-decoration: none; }
.card a.more:hover { text-decoration: underline; }

.split { display: grid; gap: 1.25rem; }
.panel {
  background: var(--paper); border: 2px solid var(--ink);
  border-radius: var(--radius); padding: 1.2rem 1.2rem 1.35rem;
}
.panel h3 { margin-top: 0; }
.chip-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.8rem 0 0; padding: 0; list-style: none; }
.chip-list a, .chip {
  display: inline-block; padding: 0.28rem 0.65rem; border: 1px solid var(--line-strong);
  border-radius: 99px; text-decoration: none; color: var(--ink); font-size: 0.92rem;
  background: var(--cream);
}
.chip-list a:hover { border-color: var(--orange); color: var(--orange-deep); }

.steps { counter-reset: step; list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.steps li {
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 1rem 1rem 1rem 3.4rem; position: relative;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0.85rem; top: 0.95rem;
  font-family: var(--font-display); font-weight: 700; color: var(--orange);
  font-size: 1.25rem;
}

.rules { background: var(--paper); border-left: 6px solid var(--royal); padding: 1.1rem 1.2rem; margin: 1.2rem 0; }
.rules h3 { margin: 0 0 0.5rem; }
.rules ol, .rules ul { margin: 0.3rem 0 0; padding-left: 1.2rem; }
.source { font-size: 0.92rem; color: var(--muted); }

.faq details {
  border: 2px solid var(--ink); border-radius: var(--radius);
  background: var(--paper); margin: 0.55rem 0; padding: 0.7rem 1rem;
}
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 0.6rem 0 0.2rem; }

form.quote { display: grid; gap: 0.75rem; margin-top: 1rem; }
form.quote label { font-weight: 700; display: grid; gap: 0.3rem; }
form.quote input, form.quote select, form.quote textarea {
  font: inherit; padding: 0.65rem 0.7rem; border: 2px solid var(--ink);
  border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%;
}
form.quote textarea { min-height: 8rem; resize: vertical; }
.form-note { font-size: 0.95rem; color: var(--muted); }

.cta-band {
  background: var(--ink); color: #efeae1; padding: 2.2rem 0;
  border-top: 6px solid var(--orange);
}
.cta-band h2 { color: #fff; }
.cta-band .hero-actions { margin-top: 1rem; }

.breadcrumbs { font-size: 0.92rem; margin: 0 0 1rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; color: var(--line-strong); }
.breadcrumbs a { color: var(--royal); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.2rem; }
.prose li { margin: 0.25rem 0; }

.site-footer {
  background: var(--ink); color: #d8d2c6; padding: 2.2rem 0 6.5rem;
  font-size: 0.95rem;
}
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1.05rem; }
.footer-grid { display: grid; gap: 1.4rem; }
.site-footer a { color: #efeae1; }
.site-footer a:hover { color: var(--orange); }
.footer-fine { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #2a3358; color: #9aa0b8; font-size: 0.88rem; }

.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--ink); border-top: 3px solid var(--orange);
  min-height: var(--callbar-h);
}
.callbar a, .callbar .btn {
  display: flex; flex-direction: row; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; font-weight: 700; padding: 0.7rem 0.4rem;
  font-size: 1rem; line-height: 1.2; border: 0; border-radius: 0; width: 100%;
}
.callbar a.btn-text-us { background: #1483c8; }
.callbar a.btn-text-us:hover { background: #0d6aa3; color: #fff; }
.callbar a.btn-call { background: var(--orange); }
.callbar a.btn-call:hover { background: var(--orange-deep); color: #fff; }

@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 880px) {
  .topline { display: block; }
  .menu-btn { display: none; }
  .site-nav {
    display: block; position: static; border: 0; padding: 0; background: transparent;
  }
  .site-nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.15rem 0.9rem; }
  .site-nav a { border: 0; padding: 0.2rem 0; font-size: 0.95rem; }
  .header-call { display: inline-flex; }
  .cards { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .site-footer { padding-bottom: 2.4rem; }
  body { padding-bottom: 0; }
  .callbar { display: none; }
}
@media (min-width: 1100px) {
  .cards.cards-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 880px) {
  .header-actions .header-call { font-size: 0.92rem; padding: 0.55rem 0.8rem; white-space: nowrap; }
}

.btn-navy { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-navy:hover { background: var(--ink-soft); color: #fff; }
.hero-with-photo { position: relative; overflow: hidden; min-height: 28rem; display: grid; align-items: end; }
.hero-with-photo .hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 0;
}
.hero-with-photo .hero-overlay {
  position: relative; z-index: 1; width: 100%;
  background: linear-gradient(180deg, rgba(14,26,43,0.35) 0%, rgba(14,26,43,0.82) 55%, rgba(14,26,43,0.92) 100%);
  padding: 4.5rem 0 3rem;
}
.hero-with-photo .wrap { position: relative; z-index: 1; }
.photo-grid {
  display: grid; grid-template-columns: 1fr; gap: 0.85rem; margin: 1.2rem 0 0;
}
@media (min-width: 640px) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .photo-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.photo-grid .grid-photo, .photo-figure, .credit-item {
  margin: 0 0 1.2rem; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
}
.photo-grid .grid-photo { margin: 0; }
.photo-grid img, .photo-figure img, .credit-item img {
  width: 100%; height: 14rem; object-fit: cover;
}
.photo-figure img { height: 18rem; }
.photo-grid figcaption, .photo-figure figcaption, .credit-item figcaption {
  padding: 0.65rem 0.8rem 0.8rem; font-size: 0.9rem; color: var(--muted);
}
.credit-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
@media (min-width: 800px) {
  .credit-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 880px) {
  .header-actions .header-call { font-size: 0.82rem; padding: 0.5rem 0.65rem; white-space: nowrap; }
  .logo-mark { font-size: 1.15rem; }
}
