/* Layout: spec-sheet site — hero with saw-cut slab + quote card, then plain bands; light concrete greys with an Oklahoma sky-blue accent */
:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --ink: #1c2b39;
  --muted: #556575;
  --line: #d5dde3;
  --slab: #e1e6e9;
  --joint: #bcc6cd;
  --accent: #1f6fb2;
  --accent-ink: #ffffff;
  --accent-soft: #e3eef8;
  --ok: #2f6b45;
  --err: #b42318;
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-data: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: clamp(2.2rem, 5vw, 3.4rem);
  --radius: 10px;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #142230; --surface: #1b2c3c; --ink: #e9eff4; --muted: #a7b6c3; --line: #2c3f51;
    --slab: #213345; --joint: #34495d; --accent: #6cb4ee; --accent-ink: #0d1b28; --accent-soft: #1d3850;
    --ok: #7cc49a; --err: #f4a39a; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #142230; --surface: #1b2c3c; --ink: #e9eff4; --muted: #a7b6c3; --line: #2c3f51;
    --slab: #213345; --joint: #34495d; --accent: #6cb4ee; --accent-ink: #0d1b28; --accent-soft: #1d3850;
    --ok: #7cc49a; --err: #f4a39a; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; text-wrap: balance; margin: 0; letter-spacing: 0.005em; }
h1 { font-size: var(--step-3); text-transform: uppercase; }
h2 { font-size: var(--step-2); text-transform: uppercase; }
h3 { font-size: var(--step-1); }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.eyebrow { font-family: var(--font-data); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lede { color: var(--muted); max-width: 60ch; }
.mono { font-family: var(--font-data); font-variant-numeric: tabular-nums; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.02em; text-transform: uppercase; }
.brand-name span { color: var(--accent); }
.nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: var(--step--1); }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1.05rem/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 8px;
  padding: 15px 22px; cursor: pointer; text-decoration: none;
}
.btn:hover { filter: brightness(1.07); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Hero */
.hero { padding-block: 44px 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: start; }
.hero-copy { display: grid; gap: 20px; min-width: 0; }
.hero-copy h1 em { font-style: normal; color: var(--accent); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: baseline; }
.checks li::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--accent); transform: translateY(1px); }

/* The slab: a driveway drawn as saw-cut panels, with joint spacing called out */
.slab {
  position: relative; border: 1px solid var(--joint); border-radius: 4px;
  background:
    linear-gradient(var(--joint), var(--joint)) 50% 0 / 2px 100% no-repeat,
    linear-gradient(var(--joint), var(--joint)) 0 50% / 100% 2px no-repeat,
    repeating-linear-gradient(115deg, transparent 0 3px, color-mix(in srgb, var(--joint) 35%, transparent) 3px 4px),
    var(--slab);
  aspect-ratio: 2.2 / 1; max-width: 100%;
}
.slab-label { position: absolute; font-family: var(--font-data); font-size: 0.72rem; color: var(--muted); background: var(--bg); padding: 2px 6px; border-radius: 3px; white-space: nowrap; }
.slab-label.a { top: 8px; left: 8px; }
.slab-label.b { bottom: 8px; right: 8px; }
.slab-label.c { top: calc(50% - 12px); left: calc(50% + 8px); }

/* Quote card: the one carded object on the page */
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; min-width: 0; box-shadow: 0 1px 0 var(--line), 0 12px 30px -18px rgba(0,0,0,.35); }
.quote-card h2 { font-size: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 5px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
label, .label { font-size: 0.85rem; font-weight: 600; }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 7px; padding: 11px 12px; width: 100%;
}
textarea { min-height: 80px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8rem; color: var(--muted); line-height: 1.45; }
.consent input { width: auto; margin-top: 3px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.8rem; color: var(--muted); }
.form-status { font-size: 0.9rem; font-weight: 600; }
.form-status.err { color: var(--err); }
.form-status.ok { color: var(--ok); }
.field-error { color: var(--err); font-size: 0.8rem; }

/* Photos */
.photo { margin: 0; display: grid; gap: 6px; min-width: 0; }
.photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; display: block; background: var(--slab); }
.photo.wide img { aspect-ratio: 21 / 9; }
.photo figcaption { font-size: 0.72rem; color: var(--muted); font-family: var(--font-data); }
.steps + .photo { margin-top: 32px; }
.feature { margin-top: 36px; align-items: center; }
.band-head + .slab { max-width: 520px; margin: 0 0 24px; }
.article .photo { max-width: 100%; }

/* Bands */
.band { padding-block: 56px; border-top: 1px solid var(--line); }
.band-head { display: grid; gap: 10px; margin-bottom: 28px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(step); font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--accent); }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.service { padding: 20px 20px 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; min-width: 0; }
.service:not(:nth-child(3n+1)) { padding-left: 20px; border-left: 1px solid var(--line); }
.service p { color: var(--muted); font-size: 0.95rem; }

/* Spec table */
.spec-wrap { overflow-x: auto; }
.spec { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.spec th, .spec td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-family: var(--font-data); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.spec td:first-child { font-weight: 600; white-space: nowrap; }
.spec td.num { font-family: var(--font-data); font-variant-numeric: tabular-nums; }
.fineprint { font-size: 0.82rem; color: var(--muted); margin-top: 14px; max-width: 75ch; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.cost-callout { border-left: 4px solid var(--accent); padding: 6px 0 6px 18px; display: grid; gap: 6px; }
.cost-callout .big { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; }

.areas { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.areas li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.92rem; background: var(--surface); }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 4px; }
.faq summary { cursor: pointer; padding-block: 14px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-data); color: var(--accent); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; color: var(--muted); max-width: 70ch; }

.cta-band { background: var(--accent); color: var(--accent-ink); padding-block: 44px; }
.cta-band .btn { background: var(--surface); color: var(--accent); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-band h2 { color: var(--accent-ink); }
.cta-band p { color: color-mix(in srgb, var(--accent-ink) 85%, var(--accent)); }

/* Article pages */
.article { padding-block: 44px 64px; }
.article .wrap { display: grid; gap: 22px; }
.prose { display: grid; gap: 16px; max-width: 72ch; }
.prose h2 { margin-top: 18px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.crumbs { font-size: 0.85rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 32px 40px; font-size: 0.88rem; color: var(--muted); }
.site-footer .wrap { display: grid; gap: 14px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }
.disclosure { max-width: 80ch; }

@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .steps, .services { grid-template-columns: 1fr; }
  .service, .service:not(:nth-child(3n+1)) { padding: 18px 0; border-left: 0; }
}
@media (max-width: 520px) {
  .form-grid { grid-template-columns: 1fr; }
  .hero { padding-block: 28px 40px; }
  .quote-card { padding: 18px; }
  .nav { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
