:root {
  --evergreen: #173E35;
  --evergreen-hover: #1f5246;
  --graphite: #292D30;
  --warm-white: #F5F3EE;
  --steel: #718594;
  --copper: #B87550;
  --white: #ffffff;
  --line: rgba(23, 62, 53, 0.12);
  --shadow: 0 16px 40px rgba(41, 45, 48, 0.08);
  --shadow-hover: 0 14px 32px rgba(41, 45, 48, 0.1);
  --radius: 4px;
  --max: 1120px;
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --measure: 38rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--graphite);
  background: var(--warm-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: var(--evergreen); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--copper); }
a:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}
.container { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--evergreen); color: white; padding: 0.5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 243, 238, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 4.75rem; gap: 1rem;
  padding-block: 0.35rem;
}
.logo { text-decoration: none; display: inline-flex; align-items: center; flex-shrink: 1; min-width: 0; }
.logo:focus-visible { outline-offset: 4px; border-radius: 2px; }
.logo-img {
  height: 3rem;
  width: auto;
  max-width: min(300px, 52vw);
  object-fit: contain;
  object-position: left center;
}
.nav { display: flex; align-items: center; gap: 1.35rem; flex-shrink: 0; }
.nav a {
  color: var(--evergreen); text-decoration: none; font-weight: 600; font-size: 0.92rem;
  border-bottom: 2px solid transparent; padding: 0.35rem 0.1rem;
  min-height: 2.75rem; display: inline-flex; align-items: center;
}
.nav a:hover { border-bottom-color: var(--copper); color: var(--evergreen); }
.nav a:focus-visible { outline-offset: 2px; }
.nav-cta {
  background: var(--evergreen); color: white !important; padding: 0.65rem 1.05rem !important;
  border-radius: var(--radius); border-bottom: none !important;
  min-height: 2.75rem;
}
.nav-cta:hover { background: var(--evergreen-hover); color: white !important; }
.nav-toggle {
  display: none; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line);
  background: transparent; border-radius: 4px; padding: 0.6rem; cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle:hover { border-color: var(--copper); }
.nav-toggle:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
.nav-toggle span { display: block; height: 2px; background: var(--evergreen); margin: 0.38rem 0; }
.mobile-nav {
  display: none; flex-direction: column; gap: 0.15rem; padding: 0.5rem 1.25rem 1.15rem;
  border-top: 1px solid var(--line); background: var(--warm-white);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav[hidden] { display: none !important; }
.mobile-nav a {
  color: var(--evergreen); text-decoration: none; font-weight: 600;
  padding: 0.85rem 0.35rem; min-height: 2.75rem; display: flex; align-items: center;
  border-radius: var(--radius);
}
.mobile-nav a:hover { background: rgba(23, 62, 53, 0.05); color: var(--evergreen); }
.mobile-nav a:focus-visible { outline: 2px solid var(--copper); outline-offset: 0; }

.hero { padding: 5.25rem 0 4rem; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem;
  color: var(--steel); font-weight: 600; margin: 0 0 1rem;
}
.hero h1 {
  font-weight: 700; font-size: clamp(2rem, 4vw, 3.05rem);
  line-height: 1.14; margin: 0 0 0.95rem; color: var(--evergreen); letter-spacing: -0.02em;
  max-width: 18ch;
}
.lede {
  font-size: 1.06rem; color: var(--steel); max-width: 36rem; margin: 0 0 1.6rem;
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.65rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  border-radius: var(--radius); padding: 0.85rem 1.2rem; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; font: inherit;
  min-height: 2.85rem; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.btn-primary { background: var(--evergreen); color: white; }
.btn-primary:hover { background: var(--evergreen-hover); color: white; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--evergreen); }
.btn-ghost:hover { border-color: var(--copper); color: var(--evergreen); }
.trust-row {
  list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.55rem 1.35rem;
  color: var(--steel); font-size: 0.9rem; font-weight: 500;
}
.trust-row li { position: relative; padding-left: 0.85rem; }
.trust-row li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 0.35rem; height: 0.35rem;
  border-radius: 50%; background: var(--copper);
}
.hero-panel {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--copper);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.hero-photo {
  overflow: hidden;
  background: var(--graphite);
  aspect-ratio: 4 / 3;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.hero-caption {
  margin: 0;
  padding: 0.7rem 1rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--steel);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.band {
  border-block: 1px solid var(--line);
  background: var(--white);
  padding: 1.05rem 0;
}
.band-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem 1.6rem;
  color: var(--steel); font-size: 0.88rem; font-weight: 600; letter-spacing: 0.02em;
  text-align: center;
}
.band-inner span { color: var(--copper); }

.license-strip {
  background: var(--evergreen);
  color: #e8efeb;
  padding: 1.15rem 0;
}
.license-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.55rem 1.5rem;
  text-align: center;
}
.license-label {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  opacity: 0.85;
}
.license-states {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.license-states .dot { color: var(--copper); font-weight: 600; opacity: 0.95; }

.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.serve-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.4rem 1.25rem;
  box-shadow: 0 8px 20px rgba(41,45,48,0.04);
  border-top: 2px solid var(--copper);
}
.serve-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
  color: var(--evergreen);
  line-height: 1.35;
}
.serve-card p {
  margin: 0;
  color: var(--steel);
  font-size: 0.94rem;
  line-height: 1.55;
}

.deliverables {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 52rem;
  display: grid;
  gap: 0.75rem;
}
.deliverables li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.05rem 1.2rem;
}
.deliv-mark {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--copper);
  flex-shrink: 0;
}
.deliverables strong {
  display: block;
  color: var(--evergreen);
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}
.deliverables p {
  margin: 0;
  color: var(--steel);
  font-size: 0.92rem;
  line-height: 1.5;
}

.principal-note {
  margin: 1rem auto 0;
  max-width: 36rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--evergreen);
  line-height: 1.5;
}
.section-head.left .principal-note,
.about-principal {
  margin-left: 0;
  margin-right: 0;
  max-width: 40rem;
}
.eng-only {
  margin: 1.15rem 0 0;
  max-width: 40rem;
  padding: 0.85rem 1rem;
  background: rgba(23, 62, 53, 0.06);
  border-left: 2px solid var(--copper);
  color: var(--graphite);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
}
.eng-only-footer {
  margin: 0.55rem 0 0 !important;
  font-size: 0.86rem !important;
  color: var(--graphite) !important;
  font-weight: 500;
}
.footer-licenses {
  color: var(--evergreen);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.section { padding: 4.75rem 0; }
.section-alt { background: #efece6; }
.section-head { max-width: var(--measure); margin: 0 auto 2.5rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  color: var(--evergreen); margin: 0 0 0.65rem; letter-spacing: -0.01em;
}
.section-head p { margin: 0; color: var(--steel); max-width: 36rem; margin-inline: auto; line-height: 1.6; }
.section-head.left p { margin-inline: 0; }
.rule {
  width: 2.5rem; height: 2px; background: var(--copper); margin: 0 auto 1rem; border: 0;
}
.section-head.left .rule { margin-left: 0; }

.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  padding: 1.4rem 1.25rem; box-shadow: 0 8px 20px rgba(41,45,48,0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover {
  border-color: rgba(184, 117, 80, 0.35);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.card:focus-within {
  border-color: rgba(184, 117, 80, 0.45);
  box-shadow: var(--shadow-hover);
}
.card-icon {
  width: 2.5rem; height: 2.5rem; margin-bottom: 0.9rem; color: var(--evergreen);
}
.card-icon svg { width: 100%; height: 100%; }
.card h3 { margin: 0 0 0.45rem; font-size: 1.02rem; color: var(--evergreen); }
.card p { margin: 0; color: var(--steel); font-size: 0.94rem; line-height: 1.55; }
.card-top { height: 2px; background: var(--copper); margin: -1.4rem -1.25rem 1.05rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; max-width: 48rem; margin-inline: auto; }
.steps li {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  background: var(--white); border-radius: 6px; padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.steps li:hover {
  border-color: rgba(184, 117, 80, 0.3);
  box-shadow: 0 6px 18px rgba(41,45,48,0.05);
}
.step-num {
  font-weight: 700; color: var(--copper); letter-spacing: 0.08em; font-size: 0.8rem; padding-top: 0.3rem;
}
.steps h3 { margin: 0 0 0.3rem; font-size: 1.02rem; color: var(--evergreen); }
.steps p { margin: 0; color: var(--steel); line-height: 1.55; }

.about-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 2.25rem; align-items: start; }
.about-lead { font-size: 1.08rem; color: var(--graphite); max-width: 40rem; line-height: 1.6; }
.about-grid > div > p { max-width: 40rem; }
.facts { margin: 1.65rem 0 0; }
.facts > div { padding: 0.85rem 0; border-top: 1px solid var(--line); }
.facts dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--steel); }
.facts dd { margin: 0.25rem 0 0; font-weight: 600; color: var(--graphite); line-height: 1.45; }
.about-card {
  background: var(--evergreen); color: #e8efeb; border-radius: 6px; padding: 1.55rem 1.5rem;
}
.about-card h3 { margin: 0 0 0.85rem; font-size: 1.05rem; }
.about-card ul { margin: 0; padding-left: 1.15rem; }
.about-card li { margin-bottom: 0.5rem; line-height: 1.5; }
.about-note { margin: 1.2rem 0 0; font-size: 0.86rem; opacity: 0.85; line-height: 1.45; }

.section-contact { background: linear-gradient(180deg, var(--warm-white), #ebe7df); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.25rem; }
.contact-meta { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-meta li { display: grid; gap: 0.2rem; margin-bottom: 1.05rem; }
.contact-meta span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--steel); }
.contact-meta a { font-weight: 600; word-break: break-word; }
.placeholder { color: var(--steel); font-style: italic; font-weight: 500; }
.contact-form {
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  padding: 1.5rem; display: grid; gap: 0.95rem; box-shadow: var(--shadow);
}
.contact-form label { display: grid; gap: 0.4rem; font-weight: 600; font-size: 0.9rem; color: var(--evergreen); }
.contact-form input, .contact-form textarea {
  font: inherit; border: 1px solid var(--line); border-radius: 4px; padding: 0.8rem 0.85rem;
  background: #fcfbf8; color: var(--graphite); width: 100%;
  min-height: 2.85rem; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form textarea { min-height: 8rem; resize: vertical; }
.contact-form input:hover, .contact-form textarea:hover { border-color: rgba(23, 62, 53, 0.28); }
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid rgba(184, 117, 80, 0.4); outline-offset: 0; border-color: var(--copper);
  background: var(--white);
}
.contact-form .btn { width: 100%; margin-top: 0.15rem; }
.form-note { margin: 0; font-size: 0.8rem; color: var(--steel); line-height: 1.45; }

.site-footer { border-top: 1px solid var(--line); padding: 2.15rem 0 2.5rem; background: #efece6; }
.footer-inner { display: grid; gap: 0.75rem; }
.footer-inner p { margin: 0.25rem 0 0; color: var(--steel); }
.fineprint { font-size: 0.8rem; color: #7a8680 !important; max-width: 52rem; line-height: 1.5; }

#services, #serve, #deliverables, #how, #about, #contact, #top { scroll-margin-top: 5.75rem; }

@media (max-width: 900px) {
  .container { width: min(var(--max), calc(100% - 2rem)); }
  .hero-grid, .about-grid, .contact-grid, .card-grid, .serve-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-inner { min-height: 4rem; padding-block: 0.25rem; }
  .logo-img { height: 2.35rem; max-width: min(200px, 58vw); }
  .hero { padding: 3rem 0 3.25rem; }
  .hero h1 { max-width: none; }
  .hero-grid { gap: 2rem; }
  .section { padding: 3.75rem 0; }
  .section-head { margin-bottom: 2rem; }
  .card:hover { transform: none; }
  .steps { max-width: none; }
}

@media (max-width: 480px) {
  .container { width: min(var(--max), calc(100% - 1.5rem)); }
  .logo-img { height: 2.1rem; max-width: min(175px, 62vw); }
  .hero { padding: 2.5rem 0 2.75rem; }
  .hero h1 { font-size: clamp(1.75rem, 7.5vw, 2.15rem); }
  .lede { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 3.25rem 0; }
  .band-inner { font-size: 0.82rem; gap: 0.5rem 1.1rem; }
  .contact-form { padding: 1.2rem; }
  .trust-row { gap: 0.45rem 1rem; font-size: 0.85rem; }
}


/* Text-only hero (no graphic) */
.hero-grid-solo {
  grid-template-columns: 1fr;
  max-width: 42rem;
}
.hero-grid-solo .lede { max-width: 38rem; }
