/* Great Lakes Pour — production styles */
:root {
  --bg: #0F1419;
  --surface: #1A2129;
  --card: #222A33;
  --text: #F4F1EA;
  --muted: #A8B0B8;
  --accent: #2B6E8A;
  --accent-hover: #3483A3;
  --hairline: #2C3540;
  --gold: #C4A574;
  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
  --radius: 6px;
  --focus: 0 0 0 3px rgba(43, 110, 138, 0.55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-hover);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover { color: var(--gold); }

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--accent);
  color: var(--text);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-link img {
  height: 44px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--text);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle-bars {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem 1.5rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--text);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--hairline);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--text);
}

.nav-cta {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75em;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 40rem;
}

.gold-rule {
  display: block;
  width: 3.5rem;
  height: 3px;
  background: var(--gold);
  border: 0;
  margin: 0 0 1.25rem;
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-tight {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-hover);
  margin-bottom: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  padding: clamp(3rem, 8vw, 6rem) 0;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 20, 25, 0.45) 0%, rgba(15, 20, 25, 0.88) 70%, var(--bg) 100%),
    linear-gradient(90deg, rgba(15, 20, 25, 0.75) 0%, rgba(15, 20, 25, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.hero-content .lead {
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Cards & grids */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}

.card-link:hover {
  border-color: var(--accent);
  color: inherit;
}

.card-link h3 {
  color: var(--text);
  margin-bottom: 0.5rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-hover);
}

.card-media {
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -1.5rem -1.5rem 1.25rem;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--hairline);
}

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

.why-grid .card {
  text-align: left;
}

/* Photo feature band */
.feature-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .feature-split {
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
  }
  .feature-split.reverse {
    grid-template-columns: 1fr 1.1fr;
  }
  .feature-split.reverse .feature-copy { order: -1; }
}

.feature-photo {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface);
}

.feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Service area strip */
.city-strip {
  background: var(--surface);
  border-block: 1px solid var(--hairline);
}

.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.city-list li {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--card);
}

/* Process steps */
.process-steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 700px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  position: relative;
  padding-top: 0.5rem;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Two-col services */
.services-cols {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .services-cols {
    grid-template-columns: 1fr 1fr;
  }
}

.services-cols ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.services-cols li { margin-bottom: 0.45rem; }

/* Areas */
.areas-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .areas-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.areas-grid .card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 1.5rem;
  max-width: 42rem;
}

/* CTA band */
.cta-band {
  background: var(--surface);
  border-block: 1px solid var(--hairline);
  text-align: center;
}

.cta-band .lead {
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

/* Form */
.estimate-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .estimate-layout {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
  }
}

.form-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.form-group .hint {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}

.form-group textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  border-color: var(--accent);
}

.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #c45c5c;
}

.field-error {
  display: none;
  color: #e8a0a0;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.form-group.has-error .field-error {
  display: block;
}

.form-success {
  display: none;
  padding: 1.25rem;
  border: 1px solid var(--accent);
  background: rgba(43, 110, 138, 0.15);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.form-success.is-visible {
  display: block;
}

.form-success p {
  margin: 0;
  color: var(--text);
}

.required-mark {
  color: var(--gold);
}

/* Page hero (inner) */
.page-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2rem);
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
}

.page-hero .lead {
  margin-bottom: 0;
}

/* 404 */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.error-page .container {
  max-width: 32rem;
}

.error-code {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--accent);
  line-height: 1;
  margin: 0 0 0.5rem;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 2.5rem 0;
  border-top: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand {
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
}

.footer-meta {
  margin: 0;
}

.footer-meta a {
  color: var(--accent-hover);
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--gold);
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Mobile nav */
@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--hairline);
    padding: 0.75rem 1rem 1.25rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0.5rem;
  }

  .site-nav .nav-cta {
    margin-top: 0.5rem;
    width: 100%;
  }
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.nav-phone {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--gold); }

.footer-nap {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.footer-nap a {
  color: var(--text);
  text-decoration: none;
}
.footer-nap a:hover { color: var(--gold); }

.hero-actions, .cta-band .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}
.cta-band .container { justify-content: center; }
.cta-band .lead { width: 100%; }
