:root {
  --red: #ed1c24;
  --red-dark: #c4121a;
  --black: #111111;
  --ink: #1c1c1c;
  --muted: #5d5d5d;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--red-dark); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Accessibility */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--black); color: #fff; padding: 10px 16px; border-radius: 6px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 8px; padding-bottom: 8px;
}
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; }
.nav a:hover { color: var(--red-dark); }
.nav a.btn { color: #fff; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--red); color: #fff;
  padding: 13px 22px; border-radius: 6px;
  font-weight: 700; text-decoration: none;
  border: 2px solid var(--red);
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-small { padding: 9px 16px; font-size: 0.95rem; }
.btn-ghost { background: transparent; border-color: var(--black); color: var(--black); }
.btn-ghost:hover { background: var(--black); border-color: var(--black); color: #fff; }

/* Hero */
.hero {
  background: #fff;
  padding: 56px 0 72px;
  border-bottom: 6px solid var(--red);
  text-align: center;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: min(560px, 100%); height: auto; margin-bottom: 36px; }
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 4.2vw, 2.8rem);
  line-height: 1.15; max-width: 22ch;
}
.lead { font-size: 1.15rem; max-width: 52ch; color: var(--muted); margin: 0 0 12px; }
.place {
  margin: 0 0 28px;
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.85rem; font-weight: 700; color: var(--red-dark);
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 28px; line-height: 1.2; }
h2::after {
  content: ""; display: block; width: 56px; height: 4px;
  background: var(--red); margin-top: 12px;
}
h3 { margin: 0 0 8px; font-size: 1.15rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  border: 1px solid var(--line); border-top: 4px solid var(--red);
  border-radius: 6px; padding: 24px; background: #fff;
}
.card p { margin: 0; color: var(--muted); }
.card .icon { color: var(--red); margin-bottom: 12px; }

/* Markets we serve */
.markets { margin-top: 44px; }
.markets h3 { margin: 0 0 14px; font-size: 1.15rem; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-weight: 600;
}

.markets .more { margin: 22px 0 0; font-weight: 700; }

/* Services page */
.jump { margin-top: 22px; }
.jump li { padding: 0; }
.jump a { display: block; padding: 9px 18px; text-decoration: none; color: var(--ink); font-weight: 600; }
.jump li:hover { border-color: var(--red); }
.jump a:hover { color: var(--red-dark); }
.service { scroll-margin-top: 80px; }
.service-grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.service-head .icon-lg { color: var(--red); margin-bottom: 14px; }
.service-head h2 { margin: 0; }
.service-body p { margin: 0 0 14px; max-width: 62ch; font-size: 1.05rem; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; font-weight: 600; }
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 0.35em;
  width: 7px; height: 12px; border: solid var(--red); border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.markets-section + .trust { border-top: 1px solid var(--line); }

/* Trust band */
.trust { background: #fff; padding: 40px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: flex-start; gap: 12px; }
.trust-item svg { color: var(--red); flex: none; margin-top: 2px; }
.trust-item p { margin: 0; font-weight: 700; line-height: 1.35; }

/* Quote call-to-action */
.cta { background: var(--black); color: #fff; padding: 44px 0; border-top: 6px solid var(--red); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.cta h2::after { display: none; }
.cta p { margin: 0; color: #d6d6d6; }

.about { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.about p { margin: 0 0 14px; max-width: 60ch; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.facts li {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 6px;
  padding: 16px 20px; display: flex; flex-direction: column;
}
.facts strong { font-size: 1.8rem; color: var(--red); line-height: 1.1; }
.facts span { color: var(--muted); font-size: 0.95rem; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px; }
.contact-grid p, address { margin: 0 0 10px; font-style: normal; }
.big-link { font-size: 1.7rem; font-weight: 800; text-decoration: none; }

/* Credentials: three evenly spaced columns above the footer */
.credentials { background: #fff; padding: 44px 0; border-top: 1px solid var(--line); }
.credentials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; align-items: start;
}
.cred { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.cred-mark { height: 72px; display: flex; align-items: center; justify-content: center; }
.cred-mark img { height: 72px; width: auto; }
.cred p { margin: 0; font-weight: 600; font-size: 0.95rem; line-height: 1.35; max-width: 24ch; }
.eeo-badge {
  display: inline-flex; align-items: center; justify-content: center;
  height: 72px; min-width: 72px; padding: 0 16px;
  border: 3px solid var(--red); border-radius: 8px;
  font-weight: 900; font-size: 1.6rem; letter-spacing: 0.05em; color: var(--black);
}

/* Subpages */
.nav a.active { color: var(--red-dark); }
.page-hero {
  background: var(--bg-alt);
  padding: 52px 0 48px;
  border-bottom: 6px solid var(--red);
}
.page-hero h1 { margin: 0 0 10px; font-size: clamp(1.9rem, 4.5vw, 2.8rem); line-height: 1.15; }
.page-hero .lead { margin: 0; max-width: 60ch; }

/* People */
.founder {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--red);
  border-radius: 6px; padding: 28px;
}
.founder h3 { font-size: 1.6rem; margin: 0 0 2px; }
.founder .role { margin: 0 0 12px; color: var(--red-dark); font-weight: 700; }
.founder p { margin: 0 0 10px; max-width: 60ch; }
.avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--black); color: #fff; border: 3px solid var(--red);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.6rem; letter-spacing: 0.04em;
}
.avatar-lg { width: 150px; height: 150px; border-radius: 12px; font-size: 2.3rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.person {
  border: 1px solid var(--line); border-radius: 6px; padding: 26px 20px;
  background: #fff; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.person h3 { margin: 14px 0 4px; font-size: 1.1rem; }
.person .role { margin: 0; color: var(--muted); font-size: 0.95rem; }
.person .email { margin: auto 0 0; padding-top: 12px; font-size: 0.85rem; font-weight: 600; overflow-wrap: anywhere; }
.person .email a { text-decoration: none; }
.person .email a:hover { text-decoration: underline; }

/* Contact page */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red);
  border-radius: 6px; padding: 24px;
}
.info-card .label {
  margin: 0 0 6px; text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.8rem; font-weight: 700; color: var(--muted);
}
.info-card .value { margin: 0 0 8px; font-size: 1.3rem; font-weight: 800; overflow-wrap: anywhere; }
.info-card .value a[href^="mailto:"] { font-size: 1.05rem; overflow-wrap: normal; white-space: nowrap; }
.info-card .value a { text-decoration: none; }
.info-card .value a:hover { text-decoration: underline; }
.info-card p.note { margin: 0; color: var(--muted); }
.info-card address { font-size: 1.1rem; font-weight: 600; line-height: 1.5; }
.contact-intro { max-width: 62ch; margin: 0 0 28px; }
.info-card .value.coming { color: var(--muted); font-size: 1.15rem; }

/* Projects page */
.coming-soon {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: var(--bg-alt); border: 1px solid var(--line); border-top: 4px solid var(--red);
  border-radius: 6px; padding: 48px 32px;
  display: flex; flex-direction: column; align-items: center;
}
.coming-soon .icon-lg { color: var(--red); margin-bottom: 14px; }
.coming-soon h2 { margin: 0 0 16px; }
.coming-soon h2::after { margin-left: auto; margin-right: auto; }
.coming-soon p { margin: 0 0 24px; max-width: 46ch; font-size: 1.05rem; color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.project img { width: 100%; height: auto; }
.project h3, .project p { margin-left: 20px; margin-right: 20px; }
.project h3 { margin-top: 16px; margin-bottom: 4px; }
.project .meta { margin-top: 0; margin-bottom: 8px; color: var(--muted); font-size: 0.9rem; font-weight: 600; }

/* Footer */
.site-footer { background: var(--black); color: #cfcfcf; padding: 26px 0; font-size: 0.9rem; }
.site-footer a { color: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* Tablet */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 220px 1fr; gap: 28px; }
}

/* Mobile */
@media (max-width: 720px) {
  .brand img { height: 44px; }
  /* Two-row header: mark + call button on top, page links underneath */
  .header-inner { flex-wrap: wrap; row-gap: 2px; column-gap: 0; padding-bottom: 4px; }
  .brand { order: 0; }
  .nav { display: contents; }
  .nav .btn { order: 1; margin-left: auto; }
  .header-inner::after { content: ""; order: 1; flex-basis: 100%; height: 0; }
  .nav a:not(.btn) {
    order: 2; flex: 1 1 0; text-align: center;
    padding: 8px 4px; font-size: 0.95rem;
  }
  html { scroll-padding-top: 120px; }
  .hero { padding: 36px 0 52px; }
  .hero-logo { margin-bottom: 26px; }
  .section { padding: 52px 0; }
  .cards { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-grid { grid-template-columns: 1fr; gap: 14px; }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .credentials-grid { grid-template-columns: 1fr; gap: 28px; }
  .founder { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .page-hero { padding: 36px 0 32px; }
}
