/* ============================================================
   Southern Custom Concrete
   Palette drawn from the compass-seal logo ("The Seal, Refined"):
     Navy   #16324F   (seal ring, compass rose, wordmark)
     Cream  #FAF6EE   (paper)
     Seal   #F5EFDF   (seal field — light tints)
     Sand   #F2EAD9   (alt sections)
     Brass  #BFA26B   (compass gold — CTAs & accents)
     Bronze #75592C   (deep brass — small text accents)
   ============================================================ */

:root {
  --navy: #16324f;
  --navy-600: #245078;
  --cream: #faf6ee;
  --seal-cream: #f5efdf;
  --sand: #f2ead9;
  --sand-deep: #e8dcc4;
  --brass: #bfa26b;
  --brass-deep: #a98c52;
  --bronze: #75592c;
  --gold: var(--brass);
  --ink: #33302a;
  --ink-soft: #5f594d;
  --line: #e6dcc8;
  --paper: var(--cream);
  --paper-alt: var(--sand);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 3px rgba(74, 56, 34, 0.1), 0 1px 2px rgba(74, 56, 34, 0.08);
  --shadow-md: 0 12px 32px -14px rgba(74, 56, 34, 0.3);
  --shadow-lg: 0 26px 60px -22px rgba(58, 42, 24, 0.4);
  --container: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Nunito Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --script: "Caveat", "Comic Sans MS", cursive;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
/* anchor targets land below the ~96px sticky header */
section[id] { scroll-margin-top: 6.5rem; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--navy-600); text-decoration: none; transition: color 0.18s var(--ease); }
a:hover { color: var(--bronze); }
/* Visible keyboard focus everywhere (form fields have their own ring below) */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--brass-deep); outline-offset: 2px; border-radius: 4px;
}
.hero a:focus-visible, .bid-section a:focus-visible, .site-footer a:focus-visible,
.why-aside a:focus-visible { outline-color: #fff; }
/* the cream form card sits inside the navy bid section — restore dark outline there */
.bid-form a:focus-visible { outline-color: var(--brass-deep); }
/* pill buttons keep their pill-shaped focus ring */
.btn:focus-visible, .nav-cta:focus-visible { border-radius: 999px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: 1.14; letter-spacing: -0.01em; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.sr-only, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto;
  clip: auto; background: var(--navy); color: #fff; padding: 10px 16px;
  border-radius: var(--radius-sm); z-index: 200;
}

/* ---------- Buttons (pill = friendly) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--sans); font-weight: 800; font-size: 0.98rem; letter-spacing: 0.01em;
  padding: 0.9em 1.8em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--brass); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy); color: var(--cream); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: rgba(0,0,0,0.12); color: #fff; border-color: rgba(255,255,255,0.55); backdrop-filter: blur(2px); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); color: #fff; transform: translateY(-2px); }
.btn-light { background: var(--cream); color: var(--navy); box-shadow: var(--shadow-md); }
.btn-light:hover { color: var(--navy-600); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-block { width: 100%; }

.eyebrow {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.78rem; font-weight: 800; color: var(--bronze); margin: 0 0 0.9rem;
}
.eyebrow-light { color: #dcc697; }
.hero .eyebrow-light { color: #ecdfc9; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: ""; display: block; height: 4px;
  background: linear-gradient(90deg, var(--brass) 0%, var(--navy-600) 55%, var(--navy) 100%);
}
/* the header needs a wider lane than the 1140px page container: the full-size
   wordmark + 7 nav items + CTA measure ~1230px */
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0.85rem 0; width: min(100% - 2.5rem, 1280px);
}
/* never let flex squeeze the brand — the nowrap wordmark would overpaint the nav */
.brand { display: flex; align-items: center; gap: 0.85rem; flex: none; }
.brand picture { flex: none; line-height: 0; }
.brand-mark { border-radius: 50%; width: 60px; height: 60px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.18; }
.brand-name { font-family: var(--serif); font-weight: 600; color: var(--navy); font-size: 1.18rem; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.brand-rule { display: block; height: 1.5px; background: var(--brass); margin: 0.22em 0 0.3em; }
.brand-tag { font-size: 0.7rem; font-weight: 700; color: var(--bronze); letter-spacing: 0.16em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; }
/* phone link lives in the mobile drawer only */
.nav-phone-item { display: none; }
.nav-list { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.nav-list a { font-size: 0.96rem; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.nav-list a:hover { color: var(--navy); }
.nav-cta {
  background: var(--brass); color: var(--navy) !important; padding: 0.55em 1.2em;
  border-radius: 999px; box-shadow: var(--shadow-sm);
}
.nav-cta:hover { background: var(--navy); color: var(--cream) !important; transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-bars, .nav-bars::before, .nav-bars::after {
  display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-bars::before, .nav-bars::after { content: ""; position: relative; }
.nav-bars::before { top: -7px; }
.nav-bars::after { top: 4.5px; }
.nav-toggle[aria-expanded="true"] .nav-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-bars::after { transform: translateY(-2px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy);
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  /* top-anchored so wide viewports crop the formwork foreground, never the crew */
  object-fit: cover; object-position: center top;
}
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(10, 23, 38, 0.93) 0%, rgba(22, 50, 79, 0.78) 48%, rgba(117, 89, 44, 0.45) 100%);
}
.hero-content { position: relative; padding: 6.5rem 0 5.5rem; max-width: 880px; }
.hero h1 {
  color: #fff; font-size: clamp(2.4rem, 5.4vw, 3.9rem); margin-bottom: 0.45em;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: #dcc697; }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.26rem); color: #ecdfc9; max-width: 640px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 3rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  list-style: none; border-top: 1px solid rgba(255,255,255,0.22); padding-top: 1.8rem; max-width: 720px;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--serif); font-size: 1.18rem; color: #fff; }
.hero-stats span { font-size: 0.88rem; color: #d9c9ac; }

/* ---------- Promise bar ---------- */
.trustbar { background: var(--sand-deep); border-bottom: 1px solid var(--line); }
.trustbar-inner { display: grid; grid-template-columns: auto repeat(4, 1fr); gap: 1.4rem; padding: 1.4rem 0; align-items: center; }
.trust-kicker {
  font-family: var(--script); font-size: 1.5rem; color: var(--bronze);
  white-space: nowrap; transform: rotate(-2deg);
}
.trust-item { display: flex; flex-direction: column; gap: 0.1rem; text-align: center; }
.trust-num { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; color: var(--navy); }
.trust-label { font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--paper-alt); }
.section-head { max-width: 740px; margin: 0 auto 3rem; text-align: center; }
.section-head h2, .section-head .eyebrow { text-align: center; }
.section h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.section-sub { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Story ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: center; }
.story-photos { position: relative; padding: 0 1.4rem 2.6rem 0; }
.story-photo-main {
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 10px solid #fff; transform: rotate(-1.6deg);
  width: 100%; object-fit: cover; aspect-ratio: 4 / 3;
}
.story-photo-small {
  position: absolute; right: -0.4rem; bottom: 0; width: 46%;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  border: 8px solid #fff; transform: rotate(2.4deg);
  object-fit: cover; aspect-ratio: 5 / 4;
}
.story-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.story-copy p { color: var(--ink-soft); }
.story-copy p strong { color: var(--navy); }
.story-sign {
  font-family: var(--script); font-size: 1.7rem; color: var(--bronze);
  margin: 1.4rem 0 0; transform: rotate(-1.5deg); display: inline-block;
}
.story-points { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.4rem 0 0.4rem; }
.story-points li {
  background: var(--sand); border: 1px solid var(--line); border-radius: 999px;
  padding: 0.4em 1.1em; font-weight: 700; font-size: 0.9rem; color: var(--navy);
}
.story-points li::before { content: "\2726"; color: var(--brass); margin-right: 0.5em; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
/* 7 cards: center the lone card in the last 3-column row */
@media (min-width: 961px) {
  .cards > .card:last-child:nth-child(3n + 1) { grid-column: 2; }
}
.card {
  background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  color: var(--navy-600); background: var(--seal-cream);
  border: 1px solid var(--line); margin-bottom: 1.1rem;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.28rem; margin-bottom: 0.45em; }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

/* ---------- Why grid ---------- */
.why-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3.5rem; align-items: start; }
.why-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.check-list { list-style: none; margin: 1.6rem 0 2rem; display: grid; gap: 1rem; }
.check-list li { position: relative; padding-left: 2rem; color: var(--ink-soft); }
.check-list li strong { color: var(--navy); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.4em; width: 18px; height: 18px;
  border-radius: 50%; background: var(--navy-600);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
.why-aside {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 2rem 1.9rem;
  box-shadow: var(--shadow-md); position: sticky; top: 96px;
}
.why-aside h3 { color: #fff; font-size: 1.4rem; margin-bottom: 1.2rem; }
.spec-list { display: grid; gap: 0.9rem; margin: 0 0 1.4rem; }
.spec-list > div { display: grid; gap: 0.1rem; padding-bottom: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.14); }
.spec-list dt { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); }
.spec-list dd { margin: 0; color: #f0e9dc; font-weight: 600; }
.spec-list a { color: #fff; text-decoration: underline; }
.spec-list a:hover { color: var(--gold); }
.aside-note { font-size: 0.9rem; color: #cfc4ad; margin: 0; }
.aside-note a { color: #fff; text-decoration: underline; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; counter-reset: step; }
.step {
  background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.3rem; position: relative; box-shadow: var(--shadow-sm);
}
.step-num {
  font-family: var(--serif); font-weight: 700; font-size: 1.05rem;
  color: var(--navy); background: var(--brass); width: 42px; height: 42px;
  display: grid; place-items: center; border-radius: 50%;
  margin-bottom: 0.8rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.4em; }
.step p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: 2.6rem; }
.gallery-item { display: grid; gap: 0.5rem; }
.gallery-item img {
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
  border: 8px solid #fff;
}
.gallery-item figcaption {
  font-family: var(--script); font-size: 1.25rem; color: var(--ink-soft);
  text-align: center;
}
.gallery-item:nth-child(1) img { transform: rotate(-1.2deg); }
.gallery-item:nth-child(2) img { transform: rotate(0.8deg); }
.gallery-item:nth-child(3) img { transform: rotate(-0.6deg); }

/* ---------- Projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.project {
  border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius-sm);
  padding: 1.6rem 1.5rem; background: #fffdf8; transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.project:hover { border-left-color: var(--navy-600); transform: translateX(3px); }
.project h3 { font-size: 1.2rem; margin-bottom: 0.35em; }
.project p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.projects-note { text-align: center; margin-top: 2.2rem; color: var(--ink-soft); }

/* ---------- Service area ---------- */
.area-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3.5rem; align-items: center; }
.area-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.area-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem 1rem; margin: 1.6rem 0 1.4rem; }
.area-list li { position: relative; padding-left: 1.4rem; font-weight: 700; color: var(--navy); }
.area-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px;
  border-radius: 50%; background: var(--brass);
}
.area-counties { color: var(--ink-soft); font-size: 0.98rem; }
.area-photo {
  border-radius: var(--radius); border: 8px solid #fff; box-shadow: var(--shadow-md);
  transform: rotate(1.4deg); margin: 1.6rem 0 0; max-width: min(420px, 98%);
  aspect-ratio: 16 / 9; object-fit: cover;
}
.area-card {
  aspect-ratio: 19 / 28;                 /* portrait, fits the narrower 1fr column */
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); position: relative;
  background: linear-gradient(160deg, #16324f 0%, #2a5578 100%);
}
.area-svg { display: block; width: 100%; height: 100%; }

.svc-pin { fill: var(--navy-600); stroke: #fff; stroke-width: 2; }
.svc-pulse {
  fill: none; stroke: var(--gold); stroke-width: 2; opacity: 0.55;
  transform-box: fill-box; transform-origin: center;
  animation: svc-pulse 2.6s var(--ease) infinite;
}
.svc .svc-pulse.d1 { animation-delay: 0.4s; }
.svc .svc-pulse.d2 { animation-delay: 0.8s; }
.svc-label {
  fill: var(--navy); font-family: var(--sans); font-size: 12px; font-weight: 700;
  dominant-baseline: middle;
}

.lm-dot { fill: none; stroke: #8aa3ad; stroke-width: 1.5; }
.lm-label {
  fill: var(--navy); font-family: var(--sans); font-size: 10.5px; font-weight: 400;
  font-style: italic; dominant-baseline: middle;
}
.lm-label.on-water { fill: #c8d6e4; }

.lead { stroke: #b8a988; stroke-width: 1; stroke-opacity: 0.55; }
.area-caption {
  fill: var(--cream); font-family: var(--script); font-size: 19px;
  letter-spacing: 0.02em; opacity: 0.95;
}

@keyframes svc-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(3.0); opacity: 0; }
  100% { transform: scale(3.0); opacity: 0; }
}

/* ---------- Bid / contact ---------- */
.bid-section {
  background:
    radial-gradient(110% 130% at 92% 4%, rgba(191, 162, 107, 0.34) 0%, rgba(22, 50, 79, 0) 55%),
    radial-gradient(80% 90% at 10% 100%, rgba(191, 162, 107, 0.14) 0%, rgba(22, 50, 79, 0) 55%),
    linear-gradient(155deg, #0d1e31 0%, var(--navy) 60%);
  color: #fff;
}
.bid-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: start; }
.bid-copy h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.bid-copy p { color: #ddd2bd; }
.bid-contact { list-style: none; display: grid; gap: 0.9rem; margin: 1.8rem 0; }
.bid-contact li { display: flex; flex-direction: column; gap: 0.1rem; padding-bottom: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.14); }
.bid-contact-label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.13em; color: var(--gold); }
.bid-contact a { color: #fff; font-size: 1.15rem; font-weight: 700; overflow-wrap: anywhere; }
.bid-contact a:hover { color: var(--gold); }
.bid-fineprint { color: #c9bda4; font-size: 0.9rem; }

.bid-form {
  background: var(--cream); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: 0.86rem; font-weight: 800; color: var(--navy); margin-bottom: 0.35rem; }
.req { color: var(--bronze); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 0.98rem; color: var(--ink);
  padding: 0.7em 0.85em; border: 1.5px solid var(--brass-deep); border-radius: var(--radius-sm);
  background: #fff; transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(191, 162, 107, 0.3); background: #fff;
}
.field textarea { resize: vertical; }
.field input[type="file"] { padding: 0.55em 0.85em; background: #fff; cursor: pointer; }
.field-hint { font-size: 0.78rem; color: var(--ink-soft); margin: 0.35rem 0 0; }
.form-promise { font-size: 0.88rem; font-weight: 700; color: var(--navy); margin: 0.2rem 0 0.7rem; }
/* Honeypot field — visually removed, still submitted; bots that fill it are dropped */
.hp-field { position: absolute; left: -9999px; margin: 0; }
.field input.invalid, .field select.invalid, .field textarea.invalid {
  border-color: #c0392b; border-width: 2.5px; box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
  /* warning glyph so the error state isn't color-only */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c0392b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.7em center; background-size: 16px;
}
.field textarea.invalid { background-position: right 0.7em top 0.7em; }
.bid-form .btn-primary { margin-top: 0.4rem; }
.form-status { font-size: 0.95rem; font-weight: 700; margin: 0.9rem 0 0; min-height: 1.2em; }
.form-status.ok { color: #1d7a46; }
.form-status.err { color: #c0392b; }
.form-note { font-size: 0.8rem; color: var(--ink-soft); margin: 0.8rem 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cfc4ad; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 3rem; padding: 4rem 0 3rem; }
.footer-lockup { display: flex; align-items: center; gap: 1.2rem; }
.footer-seal { width: 96px; height: 96px; flex: none; }
.footer-wordmark {
  margin: 0; font-family: var(--serif); color: #fff;
  text-transform: uppercase; line-height: 1.1;
  display: inline-flex; flex-direction: column;
}
.fw-top { font-size: 1.28rem; font-weight: 600; letter-spacing: 0.09em; white-space: nowrap; }
.fw-rule { height: 1.5px; background: var(--brass); margin: 0.32em 0; }
.fw-bottom { font-size: 1.28rem; font-weight: 600; letter-spacing: 0.62em; white-space: nowrap; margin-right: -0.62em; }
.fw-sub { font-family: var(--serif); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.4em; color: var(--brass); margin-top: 0.5em; }
.footer-tag { margin-top: 1.2rem; color: #cfc4ad; max-width: 320px; font-size: 0.95rem; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-nav h3 { color: var(--gold); font-family: var(--sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.13em; margin-bottom: 1rem; }
.footer-nav ul { list-style: none; display: grid; gap: 0.6rem; }
.footer-nav a, .footer-nav li { color: #c3b89f; font-size: 0.95rem; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; padding: 1.3rem 0; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { margin: 0; font-size: 0.85rem; color: #b3a88e; }
.footer-built {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--brass);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .svc-pulse { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards, .project-grid, .gallery { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .area-grid, .bid-grid, .story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-aside { position: static; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .trustbar-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-kicker { grid-column: 1 / -1; text-align: center; }
}
/* The uppercase serif wordmark + phone + 7 nav items need ~1280px, so tighten
   the nav as the viewport narrows, then hand over to the drawer below 1100px. */
@media (max-width: 1380px) {
  .nav-list { gap: 1.05rem; }
  .nav-list a { font-size: 0.9rem; }
  .brand-name { font-size: 1.05rem; }
}
@media (max-width: 1199.98px) {
  .nav-toggle { display: block; z-index: 110; }
  /* Dropdown under the header. The header's backdrop-filter makes it the
     containing block for positioned descendants, so a fixed slide-in drawer
     would anchor to the header and overflow the page — anchor to it instead. */
  .nav-list {
    position: absolute; top: 100%; right: 0; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; gap: 0.4rem;
    background: var(--cream); padding: 1rem 1.4rem 1.3rem; box-shadow: var(--shadow-lg);
    border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), visibility 0.25s;
  }
  .nav-list.open { opacity: 1; visibility: visible; transform: none; }
  .nav-list li { width: 100%; }
  .nav-phone-item { display: block; }
  .nav-phone-item a { font-weight: 800; color: var(--navy); }
  .nav-list a { display: block; padding: 0.6rem 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; border-bottom: 0 !important; margin-top: 0.6rem; }
}
@media (max-width: 760px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .hero-content { padding: 4rem 0 3.5rem; }
  .footer-nav a, .footer-nav li { overflow-wrap: anywhere; }
  .area-card { aspect-ratio: 4 / 5; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .cards, .project-grid, .steps, .field-row, .gallery, .trustbar-inner { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: 1fr; }
  .brand-tag, .brand-rule { display: none; }
  .brand-mark { width: 50px; height: 50px; }
  .brand-name { font-size: 0.95rem; white-space: normal; }
  .footer-lockup { gap: 0.9rem; }
  .footer-seal { width: 72px; height: 72px; }
  .fw-top, .fw-bottom { font-size: 0.98rem; }
  .footer-nav { grid-template-columns: 1fr; gap: 1.6rem; }
  .section { padding: 4rem 0; }
  .bid-form { padding: 1.5rem; }
  .story-photos { padding: 0 0 2.2rem 0; }
}
