/* R&A Construction Services — raconstruction.services
   Palette taken from the job itself: NYC shed green, fascia safety yellow,
   scaffold-frame blue, concrete and asphalt. */

:root {
  --shed: #173327;        /* sidewalk shed hunter green */
  --shed-2: #21473a;
  --shed-3: #2d5c4b;
  --yellow: #f5c518;      /* fascia stripe */
  --yellow-2: #ffd84d;
  --frame: #2346b5;       /* scaffold frame blue */
  --asphalt: #16191b;
  --ink: #1b1f1d;
  --concrete: #e8e8e4;
  --concrete-2: #d9dad4;
  --white: #ffffff;
  --text-2: #4a524e;
  --on-shed: #e9f0ec;
  --on-shed-2: #b4c7bd;
  --rule: rgba(27, 31, 29, .14);
  --rule-shed: rgba(233, 240, 236, .18);

  --display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --section: clamp(72px, 8vw, 112px);
  --radius: 10px;
  --radius-sm: 6px;
  --line: #cfd2cb;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; scrollbar-color: var(--shed-3) var(--concrete); }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--ink);
  background: var(--concrete); -webkit-font-smoothing: antialiased; overflow-x: hidden; caret-color: var(--frame);
}
::selection { background: var(--yellow); color: var(--asphalt); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--ink); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--asphalt); padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--frame); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1 var(--body); text-decoration: none;
  padding: 16px 24px; border: 1.5px solid transparent; border-radius: var(--radius-sm); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-yellow { background: var(--yellow); color: var(--asphalt); }
.btn-yellow:hover { background: var(--yellow-2); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--asphalt); }
.text-link { font-weight: 600; color: var(--shed); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.text-link:hover { text-decoration-color: var(--shed); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: baseline; gap: .28em; text-decoration: none; color: var(--asphalt); font-family: var(--display); font-stretch: 112%; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.logo-ra { font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; }
.logo-amp { color: var(--shed-3); padding: 0 .02em; }
.logo-name { font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; }
.logo-light { color: var(--white); }
.logo-light .logo-amp { color: var(--yellow); }

/* ---------- Utility bar + header ---------- */
.utility { background: var(--asphalt); color: #c9ceca; font-size: .82rem; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.utility p { margin: 0; }
.utility-phones { display: flex; gap: 22px; }
.utility a { color: var(--white); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.utility a:hover { color: var(--yellow); }

.site-header { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; gap: 40px; height: 78px; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font-weight: 500; font-size: .97rem; text-decoration: none; padding: 27px 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.nav a:hover { border-bottom-color: var(--yellow); }
.header-cta { padding: 13px 20px; }

.menu-btn { display: none; margin-left: auto; align-items: center; gap: 10px; background: none; border: 0; font: 600 .95rem var(--body); color: var(--asphalt); cursor: pointer; padding: 10px 0; }
.menu-bars { position: relative; width: 22px; height: 12px; }
.menu-bars i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .3s var(--ease-out), top .3s var(--ease-out); }
.menu-bars i:first-child { top: 0; }
.menu-bars i:last-child { top: 10px; }
.menu-btn[aria-expanded="true"] .menu-bars i:first-child { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars i:last-child { top: 5px; transform: rotate(-45deg); }
.mobile-nav { display: none; }

/* ---------- Fascia: the shed's striped edge ---------- */
.fascia {
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 12px, var(--shed) 12px 36px);
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); background: var(--asphalt); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(10,14,12,.9) 0%, rgba(10,14,12,.62) 38%, rgba(10,14,12,.1) 70%), linear-gradient(90deg, rgba(10,14,12,.55), transparent 65%);
}
.hero-inner { position: relative; z-index: 2; padding-top: 160px; padding-bottom: clamp(48px, 7vw, 88px); }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.6rem); font-weight: 700; max-width: 17ch; line-height: 1.03; letter-spacing: -.03em; }
.hero h1 span { display: block; color: var(--yellow); }
.hero-sub { max-width: 52ch; font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: #e4e8e5; margin: 22px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .fascia { position: relative; z-index: 2; }

/* ---------- Trust line ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--rule); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-top: 20px; padding-bottom: 20px; }
.trust p { margin: 0; font-size: .95rem; color: var(--text-2); }
.trust strong { color: var(--ink); font-weight: 700; }

/* ---------- Intro ---------- */
.intro { padding: var(--section) 0; }
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.intro-text h2 { max-width: 16ch; margin-bottom: 24px; }
.intro-text p:not(.lead) { color: var(--text-2); max-width: 60ch; }
.intro-text .lead { max-width: 52ch; margin-bottom: 1.2em; }
.intro-photo { margin: 0; position: relative; }
.intro-photo img { width: 100%; aspect-ratio: 4 / 5; max-height: 580px; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); box-shadow: 0 24px 48px -28px rgba(10,14,12,.45); }
figcaption { font-size: .85rem; color: var(--text-2); margin-top: 12px; }

/* ---------- Services ---------- */
.services { background: var(--shed); color: var(--on-shed); padding: var(--section) 0; }
.services h2 { color: var(--white); margin-bottom: 44px; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-shed); }
.service { border-bottom: 1px solid var(--rule-shed); }
.service-btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 20px;
  background: none; border: 0; color: var(--on-shed); cursor: pointer; padding: 22px 0; text-align: left;
}
.service-name { font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 1.9vw, 1.55rem); letter-spacing: -.015em; line-height: 1.2; transition: color .2s; }
.service-btn::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); opacity: .4; transition: opacity .2s, transform .3s var(--ease-out); }
.service.is-active .service-name, .service-btn:hover .service-name { color: var(--yellow); }
.service.is-active .service-btn::after { opacity: 1; color: var(--yellow); transform: rotate(135deg); }
.service-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.service-inner { overflow: hidden; min-height: 0; }
.service.is-active .service-body { grid-template-rows: 1fr; }
.service-body p { margin: 0; padding-bottom: 22px; max-width: 52ch; color: var(--on-shed-2); }
.service-img-m { display: none; }
.service-stage { position: sticky; top: 110px; margin: 0; aspect-ratio: 4 / 5; max-height: 640px; overflow: hidden; border-radius: var(--radius); background: var(--shed-2); }
.stage-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-img.is-entering { animation: stageIn .7s var(--ease-out) both; }
@keyframes stageIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Yard: the one scroll moment ---------- */
.yard { position: relative; height: 260vh; background: var(--asphalt); color: var(--white); }
.yard-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.yard-sticky > img {
  height: 100%; width: auto; max-width: none;
  transform: translate3d(var(--pan, 0px), 0, 0); will-change: transform;
}
.yard-sticky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,14,12,.88) 0%, rgba(10,14,12,.25) 42%, transparent 65%); pointer-events: none; }
.yard-inner { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-bottom: clamp(40px, 7vw, 90px); }
.yard-inner h2 { color: var(--white); max-width: 18ch; }
.yard-inner p { max-width: 46ch; font-size: 1.1rem; color: #dfe4e0; margin-top: 18px; }

/* ---------- Projects ---------- */
.projects { background: var(--white); padding: var(--section) 0; }
.projects-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 60px; flex-wrap: wrap; margin-bottom: 40px; }
.projects-head h2 { max-width: 18ch; }
.projects-head p { max-width: 42ch; color: var(--text-2); margin: 0; }
.table-wrap { overflow-x: auto; }
.project-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.project-table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); font-weight: 700; text-align: left; padding: 0 16px 14px 0; border-bottom: 2px solid var(--ink); }
.project-table td, .project-table tbody th { padding: 24px 16px 24px 0; border-bottom: 1px solid var(--rule); vertical-align: top; text-align: left; font-weight: 400; }
.project-table tbody tr { transition: background .2s; }
.project-table tbody tr:hover { background: #f4f5f1; }
.p-name { display: block; font-family: var(--display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; line-height: 1.25; }
.p-loc { display: block; color: var(--text-2); font-size: .92rem; margin-top: 4px; }
.project-table td:last-child { white-space: nowrap; color: var(--text-2); font-variant-numeric: tabular-nums; }

/* ---------- Gallery ---------- */
.gallery { padding: var(--section) 0; }
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 60px; flex-wrap: wrap; margin-bottom: 40px; }
.gallery-head p { color: var(--text-2); margin: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 10px; }
.g-item { position: relative; padding: 0; border: 0; border-radius: var(--radius); background: var(--concrete-2); cursor: zoom-in; overflow: hidden; }
.g-wide { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.g-item:hover img { transform: scale(1.04); }
.g-item span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; text-align: left;
  font: 600 .85rem/1.3 var(--body); color: var(--white);
  background: linear-gradient(0deg, rgba(10,14,12,.8), transparent);
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease-out);
}
.g-item:hover span, .g-item:focus-visible span { opacity: 1; transform: none; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10,14,12,.94); }
.lightbox img { position: absolute; inset: 60px 80px 70px; width: calc(100% - 160px); height: calc(100% - 130px); object-fit: contain; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; color: #dfe4e0; margin: 0; font-size: .95rem; }
.lb-btn { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--white); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: var(--yellow); color: var(--asphalt); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 14px; top: 50%; translate: 0 -50%; }
.lb-next { right: 14px; top: 50%; translate: 0 -50%; }

/* ---------- Safety ---------- */
.safety { background: var(--white); padding: var(--section) 0; border-top: 1px solid var(--rule); }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.safety h2 { max-width: 16ch; margin-bottom: 24px; }
.safety-text > p { color: var(--text-2); max-width: 56ch; }
.creds { margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; }
.creds div { border-top: 2px solid var(--shed); padding-top: 12px; }
.creds dt { font-weight: 700; line-height: 1.3; }
.creds dd { margin: 4px 0 0; color: var(--text-2); font-size: .92rem; line-height: 1.45; }

.emr { margin: 0; background: var(--concrete); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); }
.emr figcaption { font-weight: 700; color: var(--ink); font-size: 1rem; margin: 0 0 24px; }
.emr-rows { position: relative; display: grid; gap: 12px; --lo: .8; --hi: 1.02; }
.emr-row { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 12px; font-variant-numeric: tabular-nums; }
.emr-y { font-size: .88rem; color: var(--text-2); }
.emr-v { font-weight: 700; text-align: right; }
.emr-bar { height: 24px; background: var(--concrete-2); position: relative; border-radius: 4px; overflow: hidden; }
.emr-bar::before { content: ""; position: absolute; inset: 0 auto 0 0; border-radius: 4px; width: calc((var(--v) - var(--lo)) / (var(--hi) - var(--lo)) * 100%); background: var(--shed-3); }
.emr-row.is-now .emr-bar::before { background: var(--shed); }
.emr-row.is-now .emr-v { color: var(--shed); }
.emr-base { position: absolute; top: -8px; bottom: -8px; left: calc(56px + (100% - 112px) * (1 - .8) / (1.02 - .8)); border-left: 2px dashed var(--ink); }
.emr-base span { position: absolute; top: -26px; left: -40px; font-size: .75rem; white-space: nowrap; color: var(--ink); font-weight: 600; }
.emr-src { font-size: .8rem; color: var(--text-2); margin: 22px 0 0; }

/* ---------- Contact ---------- */
.contact { background: var(--shed); color: var(--on-shed); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); padding-top: var(--section); padding-bottom: var(--section); }
.contact h2 { color: var(--white); }
.contact .lead { color: var(--on-shed); margin: 20px 0 36px; max-width: 36ch; }
.contact-list { margin: 0; display: grid; gap: 22px; }
.contact-list div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; border-top: 1px solid var(--rule-shed); padding-top: 14px; }
.contact-list dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--on-shed-2); padding-top: 4px; }
.contact-list dd { margin: 0; font-size: 1.08rem; font-weight: 600; line-height: 1.45; }
.contact-list a { color: var(--white); text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-list a:hover { color: var(--yellow); }

.urgent { margin-top: 36px; padding: 22px; background: var(--shed-2); border-radius: var(--radius); }
.urgent p { margin: 0 0 16px; color: var(--on-shed); }
.urgent strong { color: var(--white); }

.form-shell { position: relative; }
.quote-form, .form-done { background: var(--white); color: var(--ink); padding: clamp(24px, 4vw, 44px); border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.quote-form { display: grid; gap: 30px; }
.step { border: 0; margin: 0; padding: 0; display: grid; gap: 18px; min-width: 0; }
.step legend { font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.015em; line-height: 1.2; padding: 0 0 14px; width: 100%; border-bottom: 1px solid var(--rule); margin-bottom: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-row-addr { grid-template-columns: 1.6fr 1fr; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; min-width: 0; }
.field > span, .field .label { font-size: .9rem; font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--text-2); margin-left: 4px; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); width: 100%;
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #9aa09a; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--frame); box-shadow: 0 0 0 3px rgba(35,70,181,.15); }
.field.invalid input { border-color: #b3261e; background: #fdf4f3; }
.field ::placeholder { color: #6b726e; }
.err { color: #b3261e; font-size: .85rem; font-weight: 600; min-height: 0; }
.err:empty { display: none; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; font-weight: 500; transition: border-color .15s, background .15s, color .15s; }
.pills label:hover span { border-color: #9aa09a; }
.pills input:checked + span { background: var(--shed); border-color: var(--shed); color: var(--white); }
.pills input:focus-visible + span { outline: 3px solid var(--frame); outline-offset: 2px; }

.toggle { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 500; }
.toggle input { appearance: none; flex: none; width: 22px; height: 22px; border: 1.5px solid #9aa09a; border-radius: 5px; background: var(--white); margin: 0; display: grid; place-items: center; cursor: pointer; }
.toggle input:checked { background: var(--shed); border-color: var(--shed); }
.toggle input:checked::after { content: ""; width: 6px; height: 11px; border: solid var(--white); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.violation-fields { padding: 18px; background: #fffaeb; border: 1px solid #f1dc8f; border-radius: var(--radius); }
.violation-fields input { background: var(--white); }

.drop { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px; border: 1.5px dashed #b9bcb5; border-radius: var(--radius); background: #f7f7f4; cursor: pointer; transition: border-color .2s, background .2s; font-size: .95rem; color: var(--text-2); }
.drop strong { color: var(--ink); }
.drop:hover, .drop.is-over { border-color: var(--shed); background: #eef3ef; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop:focus-within { outline: 3px solid var(--frame); outline-offset: 2px; }
.drop svg { flex: none; width: 32px; height: 32px; fill: none; stroke: var(--shed); stroke-width: 2; }
.thumbs { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs:empty { display: none; }
.thumbs li { position: relative; width: 84px; height: 84px; border-radius: var(--radius-sm); background: var(--concrete-2); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.thumbs .file-doc { display: grid; place-items: center; height: 100%; font-size: .75rem; font-weight: 700; padding: 6px; text-align: center; word-break: break-all; }
.thumbs button { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--asphalt); color: var(--white); cursor: pointer; font: 700 15px/1 var(--body); }
.thumbs button:hover { background: #b3261e; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 4px; }
.form-note { margin: 0; font-size: .88rem; color: var(--text-2); }
.form-banner { margin: 0; padding: 14px 16px; background: #fdf4f3; color: #8c1d18; font-weight: 600; border: 1px solid #f1c4c0; border-radius: var(--radius-sm); }
#submit-btn[aria-busy="true"] { pointer-events: none; opacity: .75; }
#submit-btn[aria-busy="true"] .btn-label::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-done { text-align: left; }
.form-done:focus { outline: none; }
.form-done svg { width: 56px; height: 56px; fill: none; stroke: var(--white); stroke-width: 4; background: var(--shed); padding: 12px; border-radius: 50%; margin-bottom: 20px; }
.form-done h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 12px; }
.form-done p { color: var(--text-2); max-width: 44ch; }
.done-ref strong { color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.done-alt a { color: var(--shed); font-weight: 700; }
.form-done .text-link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 700; }

.callbar { display: none; }

/* ---------- M/WBE band (home) ---------- */
.mwbe-band { background: var(--shed); color: var(--on-shed); }
.mwbe-band-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.mwbe-seal { width: 104px; height: 104px; border: 2px solid var(--yellow); border-radius: 50%; display: grid; place-items: center; text-align: center; font-family: var(--display); font-weight: 700; line-height: 1.1; color: var(--white); }
.mwbe-seal b { display: block; font-size: 1.7rem; font-weight: 800; font-stretch: 112%; color: var(--yellow); letter-spacing: -.01em; }
.mwbe-seal small { font-size: .74rem; letter-spacing: .02em; }
.mwbe-band h2 { color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 10px; }
.mwbe-band p { margin: 0; max-width: 60ch; color: var(--on-shed-2); }

/* ---------- M/WBE page ---------- */
.m-hero { min-height: min(72vh, 700px); }
.m-hero .hero-img { object-position: 50% 40%; }
.m-hero h1 { max-width: 16ch; }
.cert { background: var(--white); padding: var(--section) 0; }
.cert-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.cert-intro p { color: var(--text-2); margin-top: 20px; max-width: 40ch; }
.cert-card { margin: 0; background: var(--concrete); border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 4px 0 var(--shed); }
.cert-card div { display: grid; grid-template-columns: 190px 1fr; gap: 20px; padding: 16px 24px; border-bottom: 1px solid var(--rule); }
.cert-card div:last-child { border-bottom: 0; }
.cert-card dt { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); font-weight: 700; padding-top: 3px; }
.cert-card dd { margin: 0; font-weight: 600; }
.cert-status dd { display: flex; align-items: center; gap: 10px; color: var(--shed); font-weight: 700; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #2e9e5b; box-shadow: 0 0 0 4px rgba(46,158,91,.18); }
.m-explain { padding: var(--section) 0; }
.m-explain-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.m-explain h2 { max-width: 14ch; }
.prose p { max-width: 64ch; color: var(--text-2); }
.prose .lead { color: var(--ink); }
.prose strong { color: var(--ink); }
.why { background: var(--asphalt); color: #d5dbd7; padding: var(--section) 0; }
.why h2 { color: var(--white); margin-bottom: 44px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--yellow); }
.why-grid article { padding: 30px 32px 10px 0; }
.why-grid article + article { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.12); }
.why-grid h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 12px; }
.why-grid p { margin: 0; }
.why-grid strong { color: var(--yellow); }
.how { padding: var(--section) 0; background: var(--white); }
.how-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.how-photo { margin: 0; }
.how-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; max-height: 600px; border-radius: var(--radius); }
.how h2 { margin-bottom: 28px; max-width: 16ch; }
.how-steps { list-style: none; counter-reset: step; margin: 0 0 28px; padding: 0; }
.how-steps li { counter-increment: step; position: relative; padding: 18px 0 18px 64px; border-top: 1px solid var(--rule); color: var(--text-2); }
.how-steps li::before { content: counter(step); position: absolute; left: 0; top: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--asphalt); font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.how-steps strong { display: block; color: var(--ink); font-size: 1.05rem; }
.how-proof { color: var(--text-2); border-left: 2px solid var(--shed); padding-left: 16px; margin-bottom: 28px; max-width: 58ch; }
.m-cta { background: var(--shed); color: var(--on-shed); }
.m-cta-inner { padding-top: var(--section); padding-bottom: clamp(48px, 6vw, 72px); }
.m-cta h2 { color: var(--white); }
.m-cta-inner > p { max-width: 50ch; margin: 16px 0 28px; }
.sources { font-size: .8rem; color: var(--on-shed-2); margin-top: 48px !important; max-width: none !important; }
.sources a { color: var(--on-shed); }
.nav a[aria-current="page"] { border-bottom-color: var(--shed); }

/* ---------- Footer ---------- */
.site-footer { background: var(--asphalt); color: #b9bfbb; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer p { margin: 0; line-height: 1.7; }
.site-footer a { color: var(--white); text-decoration: none; font-variant-numeric: tabular-nums; }
.site-footer a:hover { color: var(--yellow); }
.site-footer nav { display: flex; flex-direction: column; gap: 6px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .header-inner { gap: 28px; }
}
@media (max-width: 960px) {
  .utility-inner > p:first-child { display: none; }
  .utility-phones { width: 100%; justify-content: space-between; }
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 24px;
    visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease-out), visibility .2s;
  }
  .mobile-nav.open { visibility: visible; opacity: 1; transform: none; }
  .mobile-nav a { font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.015em; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .mobile-nav .mobile-call { margin-top: 16px; border: 0; border-radius: var(--radius-sm); background: var(--yellow); font-family: var(--body); font-size: 1rem; font-weight: 600; padding: 16px; text-align: center; }

  .intro-grid, .safety-grid, .contact-grid { grid-template-columns: 1fr; }
  .intro-photo { max-width: 560px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-stage { display: none; }
  .service-img-m { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 24px; border-radius: var(--radius); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .g-wide { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mwbe-band-inner { grid-template-columns: auto 1fr; }
  .mwbe-band-inner .btn { grid-column: 1 / -1; justify-self: start; }
  .cert-grid, .m-explain-grid, .how-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid article, .why-grid article + article { padding: 26px 0; border-left: 0; }
  .why-grid article + article { border-top: 1px solid rgba(255,255,255,.12); }
  .how-photo { max-width: 520px; }
  .footer-grid .logo { grid-column: 1 / -1; }

  .project-table thead { display: none; }
  .project-table, .project-table tbody, .project-table tr, .project-table td, .project-table tbody th { display: block; }
  .project-table tbody tr { padding: 22px 0; border-bottom: 1px solid var(--rule); }
  .project-table td, .project-table tbody th { border: 0; padding: 4px 0; }
  .project-table tbody th { margin-bottom: 10px; }
  .project-table td { display: grid; grid-template-columns: 90px 1fr; gap: 12px; text-align: left !important; white-space: normal !important; }
  .project-table td::before { content: attr(data-label); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); padding-top: 3px; font-weight: 700; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .logo-ra, .logo-name { font-size: 1.2rem; }
  .utility-phones { gap: 10px; font-size: .8rem; }
  .hero { min-height: 82svh; }
  .hero-img { object-position: 38% 50%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .trust-inner { flex-direction: column; gap: 6px; }
  .field-row { grid-template-columns: 1fr; }
  .creds { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-rows: 150px; gap: 6px; }
  .g-item span { opacity: 1; transform: none; font-size: .78rem; padding: 20px 10px 8px; }
  .yard { height: 200vh; }
  .lightbox img { inset: 60px 8px 70px; width: calc(100% - 16px); }
  .lb-prev, .lb-next { top: auto; bottom: 8px; translate: none; }
  .contact-list div { grid-template-columns: 70px 1fr; }
  .field-row-addr { grid-template-columns: 1fr; }
  .cert-card div { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
  .mwbe-band-inner { grid-template-columns: 1fr; }
  .mwbe-seal { width: 88px; height: 88px; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    box-shadow: 0 -6px 20px rgba(0,0,0,.18); transform: translateY(100%); transition: transform .3s var(--ease-out);
  }
  .callbar.is-on { transform: none; }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; font: 600 1rem var(--body); text-decoration: none; background: var(--asphalt); color: var(--white); padding-bottom: env(safe-area-inset-bottom); }
  .callbar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
  .callbar .callbar-quote { background: var(--yellow); color: var(--asphalt); }
  .site-footer { padding-bottom: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .yard { height: auto; }
  .yard-sticky { position: relative; height: min(80vh, 720px); }
  .yard-sticky > img { width: 100%; height: 100%; object-fit: cover; transform: none; }
}
.trust a { color: inherit; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
