/* stampedconcretes.com. Light slab and terracotta, sealer teal for links and focus.
   Tokens only. Class prefix stm (site-dna.json). */
:root {
  color-scheme: light;
  --paper: #fbf8f4;
  --panel: #ffffff;
  --stone: #efe9e1;
  --stone-2: #e6ded3;
  --ink: #221b16;
  --ink-2: #4f443c;
  --line: #ddd3c7;
  --clay: #b0502a;
  --clay-ink: #8a3a19;
  --clay-wash: #f6e6dc;
  --sealer: #1d5c68;
  --sealer-ink: #154651;
  --sealer-wash: #e3f0f1;
  --ok: #2f6b3f;
  --r: 14px;
  --r-lg: 20px;
  --wrap: 1180px;
  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* gmap.css tokens */
  --surface: var(--panel);
  --line-soft: #ebe4da;
  --line-bright: var(--line);
  --ink-soft: var(--ink-2);
  --ink-muted: var(--ink-2);
  --green-ink: var(--clay);
  --sc-green-dim: var(--clay-ink);
  --sc-green-glow: rgba(176, 80, 42, .14);
  --paper-2: var(--stone);
  interpolate-size: allow-keywords;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); overflow-x: hidden; }
figure, blockquote, dl, dd { margin: 0; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sealer); text-underline-offset: 3px; }
a:hover { color: var(--sealer-ink); }
:focus-visible { outline: 3px solid var(--sealer); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1em; }
.stm-wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.stm-skip { position: absolute; left: -9999px; }
.stm-skip:focus { left: 16px; top: 8px; z-index: 50; background: var(--panel); padding: 8px 12px; }

/* Header, flat top */
.stm-top { background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.stm-top .stm-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; min-height: 64px; padding-block: 8px; }
.stm-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; }
.stm-brand svg { flex: none; }
.stm-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-left: auto; align-items: center; }
.stm-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 8px 0; }
.stm-nav a:hover, .stm-nav a[aria-current] { color: var(--clay-ink); }
.stm-nav .stm-cta { background: var(--clay); color: #fff; padding: 9px 16px; border-radius: 999px; }
.stm-nav .stm-cta:hover { background: var(--clay-ink); color: #fff; }
@media (max-width: 640px) { .stm-nav { margin-left: 0; width: 100%; gap: 4px 16px; } .stm-nav .stm-cta { margin-left: auto; padding: 8px 14px; } .stm-top { position: static; } }
@media (max-width: 400px) { .stm-nav a.stm-hide-sm { display: none; } }

/* Crumbs */
.stm-crumbs { font-size: 15px; color: var(--ink-2); padding-top: 18px; }
.stm-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.stm-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.stm-crumbs a { color: var(--ink-2); }

/* Question lede hero */
.stm-lede { padding: 28px 0 36px; }
.stm-lede-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 980px) {
  .stm-lede-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 28px 44px; }
  .stm-lede-form { grid-column: 2; grid-row: 1 / span 2; }
  .stm-lede-media { grid-column: 1; grid-row: 2; }
}
.stm-ask { font-size: 15px; font-weight: 700; color: var(--clay-ink); text-transform: none; margin: 0 0 8px; }
.stm-answer { font-size: 18.5px; color: var(--ink-2); max-width: 62ch; }
.stm-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.stm-chips li { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; color: var(--ink); }
.stm-chips b { color: var(--clay-ink); font-weight: 700; }

/* Hero photo mosaic, a fixed three column grid */
.stm-mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; margin-top: 22px; }
.stm-mosaic figure { border-radius: 12px; overflow: hidden; background: var(--stone); position: relative; }
.stm-mosaic img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.stm-mosaic figcaption { position: absolute; left: 6px; right: 6px; bottom: 6px; background: rgba(255, 255, 255, .94); border-radius: 8px; padding: 4px 8px; font-size: 14.5px; line-height: 1.3; }
.stm-mosaic figcaption a { color: var(--ink); font-weight: 600; text-decoration: none; }
.stm-lede .stm-small { margin-top: 6px; }
@media (max-width: 560px) { .stm-mosaic { grid-template-columns: 1fr 1fr; } .stm-mosaic figure:first-child { grid-column: span 2; } .stm-mosaic figure:first-child img { aspect-ratio: 16 / 9; } }

/* Sections */
.stm-sec { padding: 40px 0; }
.stm-sec-stone { background: var(--stone); }
.stm-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 18px; }
.stm-sec-head p { margin: 0; color: var(--ink-2); }
.stm-eyebrow, .section-eyebrow { font-size: 15px; font-weight: 700; color: var(--clay-ink); }
.stm-prose { max-width: 72ch; }
.stm-prose h2 { margin-top: 1.4em; }
.stm-muted { color: var(--ink-2); }
.stm-small { font-size: 15px; color: var(--ink-2); }

/* Quote chooser */
.stm-quote { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: 0 18px 40px -28px rgba(34, 27, 22, .45); }
.stm-quote h2 { font-size: 1.35rem; margin-bottom: 4px; }
.stm-quote > p { color: var(--ink-2); font-size: 16px; margin-bottom: 14px; }
.stm-step { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.stm-step legend { font-weight: 700; font-size: 16.5px; padding: 0; margin-bottom: 10px; }
.stm-step legend span { color: var(--clay-ink); margin-right: 6px; }
.stm-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stm-tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 420px) { .stm-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stm-tile { position: relative; display: block; cursor: pointer; }
.stm-tile input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.stm-tile span { display: flex; flex-direction: column; gap: 6px; height: 100%; border: 2px solid var(--line); border-radius: 12px; padding: 6px 6px 8px; font-size: 15px; font-weight: 600; line-height: 1.25; background: var(--panel); }
.stm-tile svg { width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: 8px; display: block; }
.stm-tile.stm-plain span { padding: 12px 10px; justify-content: center; min-height: 52px; }
.stm-tile input:checked + span { border-color: var(--clay); background: var(--clay-wash); }
.stm-tile input:focus-visible + span { outline: 3px solid var(--sealer); outline-offset: 2px; }
.stm-field { display: grid; gap: 4px; margin-bottom: 12px; }
.stm-field label { font-weight: 600; font-size: 15.5px; }
.stm-field input, .stm-field textarea, .stm-field select { font: inherit; font-size: 17px; padding: 11px 12px; border: 1.5px solid #b9ad9f; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; min-height: 48px; }
.stm-field textarea { field-sizing: content; min-block-size: 3lh; max-block-size: 10lh; }
.stm-field input:focus, .stm-field textarea:focus { border-color: var(--sealer); outline: none; box-shadow: 0 0 0 3px var(--sealer-wash); }
.stm-row2 { display: grid; gap: 0 12px; }
@media (min-width: 520px) { .stm-row2 { grid-template-columns: 1fr 1fr; } }
.stm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.stm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--clay); color: #fff; font: 700 17px/1 var(--font); cursor: pointer; text-decoration: none; }
.stm-btn:hover { background: var(--clay-ink); color: #fff; }
.stm-btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.stm-btn-ghost:hover { background: var(--stone); color: var(--ink); }
.stm-nav-row { display: flex; gap: 10px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.stm-progress { font-size: 15px; color: var(--ink-2); font-weight: 600; }
.stm-consent { font-size: 15px; color: var(--ink-2); margin: 12px 0 0; line-height: 1.5; }
.stm-reply { font-size: 15.5px; color: var(--ink-2); margin: 10px 0 0; }
.stm-errors { color: #9b1c1c; font-weight: 600; font-size: 15.5px; margin: 0 0 10px; }
.js-steps .stm-step:not(.is-on) { display: none; }
.js-steps .stm-submit-row:not(.is-on) { display: none; }

/* Split rail cards */
.stm-rails { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.stm-rail { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; content-visibility: auto; contain-intrinsic-size: auto 150px; }
.stm-rail-img { background: var(--stone); }
.stm-rail-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.stm-rail-body { padding: 14px 16px; min-width: 0; }
.stm-rail h3 { margin: 0 0 4px; font-size: 1.1rem; }
.stm-rail h3 a { color: var(--ink); text-decoration: none; }
.stm-rail h3 a:hover { color: var(--clay-ink); text-decoration: underline; }
.stm-rail p { margin: 0 0 6px; font-size: 15.5px; color: var(--ink-2); }
.stm-rail .stm-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; color: var(--ink-2); }
.stm-rail .stm-meta b { color: var(--ink); }
.stm-dist { font-weight: 700; color: var(--sealer-ink); }
@media (min-width: 900px) { .stm-rails-2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .stm-rail { grid-template-columns: 96px minmax(0, 1fr); } }

/* Gallery, a wrapping grid only */
.stm-gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); list-style: none; margin: 0; padding: 0; }
.stm-gallery figure { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; height: 100%; content-visibility: auto; contain-intrinsic-size: auto 260px; }
.stm-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--stone); }
.stm-gallery figcaption { padding: 8px 10px 10px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.stm-gallery figcaption a { color: var(--ink); font-weight: 600; }

/* Pattern cards */
.stm-patterns { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); list-style: none; margin: 0; padding: 0; }
.stm-pcard { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--ink); text-decoration: none; height: 100%; }
.stm-pcard svg { width: 100%; height: auto; aspect-ratio: 2 / 1; display: block; }
.stm-pcard div { padding: 12px 14px 14px; }
.stm-pcard h3 { margin: 0 0 4px; }
.stm-pcard p { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.stm-pcard:hover h3 { color: var(--clay-ink); text-decoration: underline; }

/* Region and city lists */
.stm-cities { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); list-style: none; margin: 0; padding: 0; }
.stm-cities a { display: flex; justify-content: space-between; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.stm-cities a:hover { border-color: var(--clay); color: var(--clay-ink); }
.stm-cities a span { color: var(--ink-2); font-weight: 400; }
.stm-regions { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); list-style: none; padding: 0; margin: 0; }
.stm-region { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stm-region img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--stone); }
.stm-region div { padding: 12px 14px 14px; }
.stm-region h3 { margin: 0 0 4px; }
.stm-region h3 a { color: var(--ink); }
.stm-region p { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.stm-filter { margin: 0 0 14px; max-width: 420px; }

/* Listing page */
.stm-profile { display: grid; gap: 28px; }
@media (min-width: 980px) { .stm-profile { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); } }
.stm-hero-photo { border-radius: var(--r-lg); overflow: hidden; background: var(--stone); border: 1px solid var(--line); }
.stm-hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stm-hero-photo figcaption { padding: 8px 12px; font-size: 15px; color: var(--ink-2); background: var(--panel); }
.stm-facts { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 18px; }
.stm-facts div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.stm-facts dt { color: var(--ink-2); font-size: 15.5px; }
.stm-facts dd { font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 460px) { .stm-facts div { grid-template-columns: 1fr; gap: 2px; } }
.stm-quote-block { border-left: 4px solid var(--clay); background: var(--panel); padding: 14px 16px; border-radius: 0 12px 12px 0; margin: 0 0 12px; }
.stm-quote-block p { margin: 0 0 6px; font-size: 17px; color: var(--ink); }
.stm-quote-block cite { font-style: normal; font-size: 15px; color: var(--ink-2); }
.stm-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.stm-check li { padding-left: 26px; position: relative; font-size: 16px; }
.stm-check li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.stm-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.stm-tags a, .stm-tags span { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--sealer-wash); color: var(--sealer-ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.stm-hours { border-collapse: collapse; font-size: 15.5px; }
.stm-hours td { padding: 3px 14px 3px 0; }

/* Cost table */
.stm-costs { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: 16px; }
.stm-costs caption { text-align: left; font-weight: 700; padding: 0 0 8px; }
.stm-costs th, .stm-costs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.stm-costs th { background: var(--stone); font-size: 15px; }
@media (max-width: 600px) {
  .stm-costs thead { position: absolute; clip: rect(0 0 0 0); }
  .stm-costs tr { display: grid; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .stm-costs td { border: 0; padding: 4px 12px; }
  .stm-costs td::before { content: attr(data-label) " "; color: var(--ink-2); font-size: 15px; display: block; }
}
.stm-cite { font-size: 15px; color: var(--ink-2); }
.stm-sources { font-size: 15.5px; padding-left: 20px; }

/* Infographic: price bars */
.stm-bars { display: grid; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.stm-bars li { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 10px; align-items: center; font-size: 15.5px; }
.stm-bar { position: relative; height: 30px; background: var(--stone); border-radius: 8px; }
.stm-bar i { position: absolute; top: 0; bottom: 0; background: linear-gradient(90deg, var(--clay), #c9714a); border-radius: 8px; }
.stm-bars em { display: block; font-style: normal; font-weight: 700; font-size: 15px; color: var(--ink); margin-top: 2px; }
@media (max-width: 520px) { .stm-bars li { grid-template-columns: 1fr; gap: 4px; } }

/* FAQ */
.stm-faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
.stm-faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; }
.stm-faq details > *:not(summary) { padding: 0 16px; }
details::details-content { block-size: 0; overflow: clip; transition: block-size .25s, content-visibility .25s allow-discrete; }
details[open]::details-content { block-size: auto; }

/* Footer */
.stm-foot { background: #2b221c; color: #f3ece4; padding: 36px 0 28px; margin-top: 40px; font-size: 15.5px; }
.stm-foot a { color: #f3ece4; }
.stm-foot-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.stm-foot h2 { font-size: 16px; color: #fff; margin-bottom: 8px; }
.stm-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.stm-foot p { color: #e6dbcf; }

/* gmap (from TodaysDavid/_shared/gmap, colors only) */
.gmap { padding: 32px 0; }
.gmap-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 1px 2px rgba(34,27,22,.05), 0 12px 32px -18px rgba(34,27,22,.25); }
.gmap-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; padding: 22px 24px 18px; border-bottom: 1px solid var(--line-soft); }
.gmap-head h2 { margin: 4px 0 0; }
.gmap-line { display: flex; align-items: flex-start; gap: 6px; margin: 8px 0 0; color: var(--ink-soft); font-size: 16px; }
.gmap-line svg { flex: none; margin-top: 3px; color: var(--green-ink); }
.gmap-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gmap-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-bright); border-radius: 999px; color: var(--ink); background: var(--surface); font-size: 15px; font-weight: 600; text-decoration: none; }
.gmap-btn:hover { border-color: var(--ink); background: var(--paper); color: var(--ink); }
.gmap-btn-primary { background: var(--sealer); border-color: var(--sealer); color: #fff; }
.gmap-btn-primary:hover { background: var(--sealer-ink); border-color: var(--sealer-ink); color: #fff; }
.gmap-frame { position: relative; aspect-ratio: 16 / 7; background-color: var(--paper-2); background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 40px 40px; }
.gmap-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .4s ease; }
.gmap-frame.is-loaded iframe, .gmap-frame noscript iframe { opacity: 1; }
.gmap-facade { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; border: 0; background: transparent; color: var(--ink-muted); font: inherit; font-size: 15px; cursor: pointer; }
.gmap-facade-pin { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); color: var(--green-ink); box-shadow: 0 0 0 8px var(--sc-green-glow); }
.gmap-facade-pin svg { width: 24px; height: 24px; }
.gmap-frame.is-loaded .gmap-facade { display: none; }
@media (max-width: 700px) { .gmap-head { padding: 18px 16px 14px; } .gmap-frame { aspect-ratio: 4 / 3; } .gmap-actions { width: 100%; } .gmap-btn { flex: 1 1 auto; justify-content: center; } }

@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } @view-transition { navigation: none; } }
