/* ============================================================
   Modern4U LLC — Commercial Solar Construction
   Design: "The Build Log" — premium dark, oxford blue, survey mono
   ============================================================ */

:root {
  --night: #060b16;
  --carbon: #0b1526;
  --panel: #10203c;
  --steel: #26364f;
  --steel-soft: #16233a;
  --bone: #e9edf5;
  --muted: #93a3b8;
  --accent: #4a9eff;
  --accent-deep: #1e63c4;
  --error: #e5484d;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", monospace;

  --fs-hero: clamp(3rem, 9vw, 7rem);
  --fs-h2: clamp(2.25rem, 5.5vw, 4.25rem);
  --fs-h3: clamp(1.5rem, 2.8vw, 2.125rem);
  --fs-body: 1.0625rem;
  --fs-mono: 0.8125rem;

  --space-section: clamp(4.5rem, 10vw, 8.5rem);
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--night);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
a { color: inherit; }
ul, ol { padding: 0; }

::selection { background: var(--accent); color: var(--night); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: var(--night);
  padding: 0.6rem 1.2rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- Utilities ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  flex: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  background: var(--accent);
  color: var(--night);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: 2px;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}
.btn:hover { background: #74b6ff; border-color: #74b6ff; }
.btn:active { transform: translateY(1px); }

.btn-ghost {
  background: transparent;
  color: var(--bone);
  border-color: rgba(233, 237, 245, 0.45);
}
.btn-ghost:hover {
  background: rgba(233, 237, 245, 0.08);
  border-color: var(--bone);
  color: var(--bone);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 200ms ease;
}
.link-arrow:hover { border-color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 300ms ease, border-color 300ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6, 11, 22, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--steel-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand svg { width: 42px; height: auto; flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1;
}
.brand-name span { color: var(--accent); }
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
}
.site-nav a:not(.btn) {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}
.site-nav a:not(.btn):hover { color: var(--bone); }
.site-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.btn-call { padding: 0.55rem 1.1rem; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 2400ms cubic-bezier(0.22, 1, 0.36, 1);
}
body.loaded .hero-media img { transform: scale(1); }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 11, 22, 0.6) 0%, rgba(6, 11, 22, 0.35) 35%, rgba(6, 11, 22, 0.93) 100%);
}
.hero-meta {
  position: absolute;
  top: 5.5rem;
  right: var(--gutter);
  text-align: right;
  color: rgba(233, 237, 245, 0.75);
}
.hero-content {
  width: 100%;
  padding-bottom: clamp(3rem, 8vh, 5.5rem);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
}
.hero h1 .line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
body.loaded .hero h1 .line:nth-child(1) > span { transform: translateY(0); transition-delay: 100ms; }
body.loaded .hero h1 .line:nth-child(2) > span { transform: translateY(0); transition-delay: 240ms; }
.hero h1 .accent { color: var(--accent); }
.hero-sub {
  max-width: 34rem;
  color: rgba(233, 237, 245, 0.88);
  margin-bottom: 2.25rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms ease 500ms, transform 700ms ease 500ms;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms ease 650ms, transform 700ms ease 650ms;
}
body.loaded .hero-sub,
body.loaded .hero-actions { opacity: 1; transform: none; }
.hero-eyebrow {
  opacity: 0;
  transition: opacity 700ms ease 50ms;
  text-shadow: 0 1px 10px rgba(6, 11, 22, 0.9), 0 0 2px rgba(6, 11, 22, 0.8);
}
.hero-meta { text-shadow: 0 1px 8px rgba(6, 11, 22, 0.9); }
body.loaded .hero-eyebrow { opacity: 1; }
.hero-caption {
  position: absolute;
  bottom: 1.4rem;
  right: var(--gutter);
  color: rgba(233, 237, 245, 0.55);
  display: none;
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-section); }
.section-tight { padding-block: calc(var(--space-section) * 0.6); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

/* Mission */
.mission-statement {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.06;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  max-width: 20ch;
}
.mission-statement em {
  font-style: normal;
  color: var(--accent);
}
.mission-copy {
  display: grid;
  gap: 1.25rem;
  color: var(--muted);
  max-width: 38rem;
  align-content: start;
}
.mission-copy strong { color: var(--bone); font-weight: 500; }
.mission-tagline {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 0.5rem;
}

/* Figures — the survey-log treatment.
   Images size by aspect-ratio (height auto) so captions always stay
   inside their grid cell; stretched cells leave whitespace, never overlap. */
.figure { position: relative; }
.figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.04);
  border-radius: 2px;
}
.figure figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.figure figcaption::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--accent);
  flex: none;
}

/* The Build — phase sequence with survey line */
.build { position: relative; }
.phases-wrap { position: relative; }
.build-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
  width: 1px;
  background: var(--steel-soft);
}
.build-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform-origin: top;
  transform: scaleY(0);
}
.phases {
  list-style: none;
  display: grid;
  gap: clamp(3.5rem, 8vw, 6rem);
  padding-top: 3rem;
}
.phase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding-left: 2rem;
  position: relative;
}
.phase::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--night);
  border: 2px solid var(--accent);
}
.phase-num {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.phase h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}
.phase p { color: var(--muted); max-width: 30rem; }
.phase .figure img { aspect-ratio: 16 / 10; }

/* Full-bleed band */
.band {
  position: relative;
  isolation: isolate;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.band-media { position: absolute; inset: 0; z-index: -2; }
.band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(6, 11, 22, 0.85) 0%, rgba(6, 11, 22, 0.45) 60%, rgba(6, 11, 22, 0.25) 100%);
}
.band h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  max-width: 14ch;
  margin-bottom: 1.25rem;
}
.band p { color: rgba(233, 237, 245, 0.85); max-width: 32rem; }
.band .mono-tag {
  position: absolute;
  bottom: 1.2rem;
  right: var(--gutter);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(233, 237, 245, 0.55);
}

/* Ground + roof: capability spec sheet */
.duo-figures {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.duo-figures .figure img { aspect-ratio: 16 / 10; }
.spec-list {
  list-style: none;
  border-top: 1px solid var(--steel-soft);
  margin-top: 2.5rem;
}
.spec-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0.25rem;
  border-bottom: 1px solid var(--steel-soft);
}
.spec-list .spec-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.spec-list .spec-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

/* Selected work trio */
.trio {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.trio .figure img { aspect-ratio: 4 / 3; }
.trio .figure.tall img { aspect-ratio: 3 / 4; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

/* Final CTA */
.cta-final {
  position: relative;
  isolation: isolate;
  padding-block: var(--space-section);
  overflow: hidden;
}
.cta-final .band-media img { filter: saturate(0.85) contrast(1.05) brightness(0.9); }
.cta-final::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(6, 11, 22, 0.82);
}
.cta-final h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  max-width: 16ch;
  margin-bottom: 1rem;
}
.cta-final .cta-tagline {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 56rem;
}
.contact-card {
  border: 1px solid var(--steel);
  background: rgba(11, 21, 38, 0.7);
  border-radius: 2px;
  padding: 1.4rem 1.5rem;
  text-decoration: none;
  transition: border-color 200ms ease, background 200ms ease;
}
.contact-card:hover { border-color: var(--accent); background: rgba(16, 32, 60, 0.85); }
.contact-card .cc-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.contact-card .cc-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}
.contact-card .cc-value {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--steel-soft);
  background: var(--carbon);
  padding-block: 3.5rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand svg { width: 52px; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); max-width: 24rem; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: grid; gap: 0.6rem; }
.footer-col a {
  color: var(--muted);
  text-decoration: none;
  transition: color 200ms ease;
}
.footer-col a:hover { color: var(--bone); }
.footer-bottom {
  border-top: 1px solid var(--steel-soft);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Page hero (gallery / contact) ---------- */
.page-hero {
  padding-top: clamp(8rem, 18vh, 11rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.page-hero .lede { color: var(--muted); max-width: 40rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.9rem, 2vw, 1.5rem);
  padding-bottom: var(--space-section);
}
.g-item { grid-column: span 12; }
.g-item a {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: zoom-in;
}
.g-item .figure { overflow: hidden; border-radius: 2px; }
.g-item .figure img {
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
  aspect-ratio: 16 / 10;
}
.g-item.g-tall .figure img { aspect-ratio: 4 / 5; }
.g-item a:hover .figure img { transform: scale(1.025); }
.g-item figcaption { padding: 0.8rem 0.1rem 0; }

@media (min-width: 720px) {
  .g-w12 { grid-column: span 12; }
  .g-w8 { grid-column: span 8; }
  .g-w7 { grid-column: span 7; }
  .g-w6 { grid-column: span 6; }
  .g-w5 { grid-column: span 5; }
  .g-w4 { grid-column: span 4; }
  .g-w12 .figure img { aspect-ratio: 21 / 9; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(3, 6, 12, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: calc(100dvh - 9rem);
  object-fit: contain;
  border-radius: 2px;
}
.lightbox-caption {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  width: max-content;
  max-width: 90vw;
}
.lightbox button {
  position: absolute;
  background: rgba(11, 21, 38, 0.8);
  border: 1px solid var(--steel);
  color: var(--bone);
  width: 46px;
  height: 46px;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 200ms ease;
}
.lightbox button:hover { border-color: var(--accent); }
.lightbox .lb-close { top: 1.2rem; right: 1.2rem; }
.lightbox .lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ---------- Contact page ---------- */
.people {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}
.person-card {
  border: 1px solid var(--steel-soft);
  background: var(--carbon);
  border-radius: 2px;
  padding: clamp(1.25rem, 3vw, 2rem);
}
.portrait-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--steel-soft);
  margin-bottom: 1.5rem;
}
.portrait {
  aspect-ratio: 4 / 5;
  border: 1px dashed var(--steel);
  border-radius: 2px;
  background:
    radial-gradient(circle at 50% 38%, rgba(74, 158, 255, 0.10), transparent 55%),
    var(--panel);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
}
.portrait svg { width: 56px; opacity: 0.5; }
.portrait .mono { font-size: 0.72rem; }
.person-card h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.05;
}
.person-role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0.5rem 0 1.25rem;
}
.person-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid var(--steel);
  padding-bottom: 0.2rem;
  transition: border-color 200ms ease, color 200ms ease;
}
.person-phone:hover { color: var(--accent); border-color: var(--accent); }

.email-strip {
  margin-top: clamp(2rem, 5vw, 3rem);
  border: 1px solid var(--steel-soft);
  background: var(--carbon);
  border-radius: 2px;
  padding: 1.5rem clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.email-strip .es-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.email-strip a {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
  overflow-wrap: anywhere;
}
.email-strip a:hover { border-color: var(--accent); }

/* Form */
.inquiry {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
}
.inquiry-intro h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 1rem;
  max-width: 12ch;
}
.inquiry-intro p { color: var(--muted); max-width: 30rem; }
.form-grid { display: grid; gap: 1.4rem; }
.form-row { display: grid; gap: 1.4rem; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.field label .req { color: var(--accent); }
.field input,
.field textarea {
  width: 100%;
  background: var(--carbon);
  border: 1px solid var(--steel);
  border-radius: 2px;
  color: var(--bone);
  padding: 0.85rem 1rem;
  transition: border-color 200ms ease;
}
.field input:hover, .field textarea:hover { border-color: #3b4d6b; }
.field input:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field .field-error {
  display: none;
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 0.45rem;
}
.field.invalid input, .field.invalid textarea { border-color: var(--error); }
.field.invalid .field-error { display: block; }
.form-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.75rem;
}
.form-note a { color: var(--accent); }

/* ---------- Reveal on scroll ---------- */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.rv.in { opacity: 1; transform: none; }

/* ---------- Breakpoints ---------- */
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .phase {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 5vw, 4rem);
  }
  .phase:nth-child(even) .phase-text { order: 2; }
  .phase:nth-child(even) .figure { order: 1; }
  .duo-figures { grid-template-columns: 1fr 1fr; }
  .trio { grid-template-columns: 1fr 1fr; }
  .trio .figure.tall { grid-row: span 2; }
  .contact-cards { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .people { grid-template-columns: 1fr 1fr; }
  .inquiry { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .hero-caption { display: block; }
}

@media (min-width: 1000px) {
  .trio { grid-template-columns: 1fr 1fr 1fr; }
  .trio .figure.tall { grid-row: auto; }
}

@media (max-width: 600px) {
  .brand-name { display: none; }
  .brand svg { width: 48px; }
  .site-nav { gap: 1.1rem; }
}
@media (max-width: 480px) {
  .btn-call { display: none; }
  .hero-meta { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero h1 .line > span { transform: none; }
  .hero-sub, .hero-actions, .hero-eyebrow { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
  .rv { opacity: 1; transform: none; }
  .build-line { transform: none; }
}
