:root {
  --navy: #141416;
  --navy-mid: #1c1c1f;
  --navy-deep: #101012;
  --black: #221e1f;
  --red: #a01626;
  --red-dark: #7e101c;
  --blue: var(--red);
  --blue-bright: var(--red);
  --blue-text: #ececec;
  --ink: #221e1f;
  --muted: #4e4a4b;
  --line: #e4e1e1;
  --paper: #f6f6f6;
  --white: #ffffff;
  --focus: #a01626;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1080px;
  --header-offset: 15rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f3f3f4;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

img,
svg {
  max-width: 100%;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #ffffff;
}

::selection {
  background: #f3d0d4;
  color: var(--black);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 40;
  transform: translateY(-200%);
  background: var(--focus);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.7rem, 8vw, 5.15rem);
}

h1 span {
  display: block;
}

h2 {
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 2.7rem);
}

h3 {
  margin: 0.85rem 0 0.4rem;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1.2rem;
  letter-spacing: 0;
}

p {
  margin: 0;
}

a {
  color: var(--blue);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--navy);
  border-bottom: 3px solid var(--red);
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.25rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  line-height: 0;
}

.brand img,
.footer-brand img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 250px;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #ececec;
  text-decoration: none;
  font-weight: 600;
}

.nav a:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 0.28rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.05rem;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  line-height: 1.2;
  border: 2px solid var(--red);
}

.button:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.button svg {
  flex: 0 0 auto;
}

.header-call {
  flex: 0 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 42% 70% at 92% 18%, rgba(160, 22, 38, 0.38), transparent 62%),
    var(--navy-mid);
  color: var(--white);
  padding: 1.6rem 0 1.8rem;
}

.hero-inner {
  position: relative;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--blue-text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.accent {
  width: 3.4rem;
  height: 3px;
  margin: 1.15rem 0 1.15rem;
  background: var(--blue-bright);
  border: 0;
}

.tagline {
  max-width: 40rem;
  margin: 0 0 1rem;
  color: #d6e4f7;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.4;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 1.05rem;
  padding: 0;
  max-width: 54rem;
}

.chips li {
  margin: 0;
  padding: 0.32rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
}

.hero-license {
  margin: 0;
  color: #f3f3f3;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.hero-art {
  display: none;
}

@media (max-width: 639px) {
  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
}

main {
  background: var(--paper);
}

.about,
.services {
  padding: 3rem 0;
  background: var(--paper);
}

.about-layout {
  display: grid;
  gap: 1.5rem;
}

.lead,
.intro {
  max-width: 38rem;
  font-size: 1.15rem;
  color: var(--ink);
}

.facts {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.35rem 1.15rem;
}

.facts div {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.facts div:first-child {
  border-top: 0;
}

.facts dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0.2rem 0 0;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 700;
}

.services {
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}

.intro {
  margin-bottom: 1.35rem;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 12px;
  padding: 1.15rem 1.15rem 1.25rem;
}

.icon {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  color: var(--red);
  background: #f8ecee;
  border-radius: 8px;
}

.service-list p {
  color: var(--muted);
}

.contact {
  background:
    radial-gradient(ellipse 70% 120% at 0% 100%, rgba(160, 22, 38, 0.28), transparent 55%),
    var(--navy-mid);
  color: var(--white);
  padding: 3.2rem 0;
}

.contact h2 {
  color: var(--white);
}

.contact .lead {
  color: #d6e4f7;
  margin-bottom: 1.1rem;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  color: var(--white);
  font-size: clamp(1.7rem, 5.4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 3px solid var(--blue-bright);
  line-height: 1.15;
  padding-bottom: 0.12rem;
}

.contact-phone:hover {
  color: var(--blue-text);
}

.site-footer {
  background: #f3f3f4;
  color: var(--black);
  padding: 1.7rem 0 2rem;
  border-top: 3px solid var(--red);
}

.footer-brand {
  display: inline-block;
  margin-bottom: 0.85rem;
  line-height: 0;
}

.footer-brand img {
  height: 52px;
  max-width: min(240px, 70vw);
}

.site-footer p {
  margin: 0.3rem 0;
  max-width: 40rem;
  color: #3f3c3d;
}

.license {
  letter-spacing: 0.03em;
}

section[id] {
  scroll-margin-top: var(--header-offset);
}

@media (max-width: 839px) {
  .header-bar {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "call"
      "nav";
    align-items: stretch;
  }

  .brand {
    grid-area: brand;
    margin-right: 0;
  }

  .header-call {
    grid-area: call;
    width: 100%;
  }

  .nav {
    grid-area: nav;
  }

  .nav ul {
    gap: 0.15rem 1rem;
  }

  .brand img {
    height: 64px;
    max-width: min(280px, 86vw);
  }
}

@media (min-width: 800px) {
  .hero {
    padding: 1.7rem 0 1.9rem;
  }

  .hero-art {
    display: block;
    position: absolute;
    top: 0.2rem;
    right: 0;
    width: 128px;
    pointer-events: none;
  }

  .hero-art svg {
    width: 128px;
    height: auto;
  }

  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy .accent,
  .hero-copy .tagline {
    max-width: 36rem;
  }

  .about,
  .services,
  .contact {
    padding: 5rem 0;
  }

  .about-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: 2.5rem;
    align-items: start;
  }

  .service-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 840px) {
  :root {
    --header-offset: 6.5rem;
  }
}

@media (min-width: 960px) {
  .brand img {
    height: 86px;
    max-width: none;
  }

  .header-bar {
    padding: 0.45rem 0;
  }

  :root {
    --header-offset: 7.75rem;
  }

  .wrap {
    width: min(var(--wrap), calc(100% - 3rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .button,
  .service-list li,
  .facts {
    border: 1px solid ButtonText;
  }
}

@media print {
  .site-header {
    position: static;
  }

  body,
  .site-header,
  .hero,
  .contact,
  .site-footer {
    background: white !important;
    color: black !important;
  }

  h1,
  h2,
  .tagline,
  .eyebrow,
  .brand,
  .nav a,
  .contact,
  .contact .lead,
  .contact-phone,
  .site-footer,
  .site-footer p,
  .button {
    color: black !important;
  }

  .button {
    background: white !important;
    border: 1px solid black;
  }

  .skip,
  .hero-art {
    display: none !important;
  }
}
