:root {
  --ink: #111821;
  --navy: #172434;
  --steel: #26384b;
  --orange: #ff5a1f;
  --amber: #ffb000;
  --lime: #b7df28;
  --paper: #f3f4ef;
  --white: #fff;
  --muted: #647080;
  --line: rgba(17, 24, 33, .16);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }

.site-header {
  width: min(calc(100% - 48px), var(--max));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--orange); color: var(--white); font-size: 1.35rem;
  line-height: 1; font-weight: 900; transform: skew(-7deg);
}
.brand strong, .brand small { display: block; line-height: 1.05; }
.brand strong { font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }

main { overflow: hidden; }
.hero {
  position: relative;
  width: min(calc(100% - 48px), var(--max));
  min-height: 650px;
  margin: 0 auto;
  padding: 88px 64px 70px;
  display: grid;
  grid-template-columns: 1.45fr .65fr;
  align-items: end;
  gap: 70px;
  color: var(--white);
  background: var(--navy);
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; z-index: -1; top: -130px; right: 12%;
  width: 230px; height: 760px; background: var(--orange); transform: rotate(32deg); opacity: .95;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; right: -80px; bottom: -160px;
  width: 430px; height: 430px; border: 90px solid var(--amber); border-radius: 50%; opacity: .95;
}
.eyebrow { margin: 0 0 20px; color: var(--orange); font-size: .82rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow { color: var(--amber); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 28px; font-size: clamp(3.2rem, 7vw, 6.7rem); line-height: .91; letter-spacing: -.065em; text-transform: uppercase; }
h1 span { color: var(--amber); }
.hero-text { max-width: 670px; margin-bottom: 36px; color: #d6dde5; font-size: 1.18rem; }
.hero-panel { position: relative; z-index: 2; padding: 28px; color: var(--ink); background: var(--white); box-shadow: 14px 14px 0 var(--ink); }
.panel-label { margin-bottom: 18px; color: var(--muted); font-size: .76rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.status { padding-bottom: 22px; font-weight: 900; font-size: 1.2rem; border-bottom: 1px solid var(--line); }
.status span { display: inline-block; width: 11px; height: 11px; margin-right: 8px; background: var(--lime); border-radius: 50%; }
.hero-panel dl { margin: 10px 0 0; }
.hero-panel dl div { display: flex; justify-content: space-between; gap: 12px; padding-top: 13px; }
.hero-panel dt { color: var(--muted); }
.hero-panel dd { margin: 0; font-weight: 800; }

.metrics { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-top: 0; }
.metrics div { padding: 34px; border-right: 1px solid var(--line); }
.metrics div:last-child { border: 0; }
.metrics strong { display: block; font-size: 2.1rem; line-height: 1; }
.metrics span { display: block; margin-top: 9px; color: var(--muted); }

.section, .contact, footer { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: 120px 0; }
.section-heading { max-width: 700px; }
h2 { margin-bottom: 46px; font-size: clamp(2.5rem, 5.2vw, 5rem); line-height: .98; letter-spacing: -.055em; text-transform: uppercase; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about h2 { margin-bottom: 0; }
.about-copy { max-width: 580px; padding-top: 43px; color: #384657; font-size: 1.2rem; }

.services { border-top: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid article { min-height: 240px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-grid article:hover { color: var(--white); background: var(--steel); }
.service-grid span { color: var(--orange); font-size: .8rem; font-weight: 900; }
.service-grid h3 { margin: 58px 0 10px; font-size: 1.6rem; text-transform: uppercase; }
.service-grid p { max-width: 470px; margin-bottom: 0; color: var(--muted); }
.service-grid article:hover p { color: #c8d0d9; }

.contact { margin-top: 80px; padding: 80px 64px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; color: var(--white); background: var(--orange); }
.contact .eyebrow { color: var(--ink); }
.contact h2 { margin: 0; }
.contact-details { padding-top: 30px; }
.contact-details a { display: block; width: fit-content; margin-bottom: 12px; font-size: 1.35rem; font-weight: 900; border-bottom: 2px solid var(--white); }
.contact-details p { margin: 26px 0 0; }
.contact-details .schedule { color: #4e1d0d; font-weight: 700; }

footer { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
footer p { margin: 0; color: var(--muted); }
footer > a { font-weight: 800; }

@media (max-width: 900px) {
  .site-header { padding-block: 18px; align-items: flex-start; }
  .hero { min-height: 720px; padding: 65px 36px 45px; grid-template-columns: 1fr; gap: 45px; }
  .hero::before { right: -10%; opacity: .7; }
  .hero::after { right: -170px; }
  .hero-panel { max-width: 440px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metrics div:nth-child(2) { border-right: 0; }
  .metrics div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about, .contact { grid-template-columns: 1fr; gap: 20px; }
  .about-copy { padding-top: 0; }
}

@media (max-width: 620px) {
  .site-header, .hero, .metrics, .section, .contact, footer { width: min(calc(100% - 28px), var(--max)); }
  .hero { min-height: auto; padding: 52px 22px 34px; }
  h1 { font-size: clamp(2.65rem, 14vw, 4.2rem); }
  .hero-text { font-size: 1rem; }
  .hero-panel { padding: 22px; box-shadow: 8px 8px 0 var(--ink); }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics div { padding: 24px 18px; }
  .metrics strong { font-size: 1.65rem; }
  .section { padding: 82px 0; }
  h2 { margin-bottom: 30px; font-size: clamp(2.3rem, 12vw, 3.6rem); }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 210px; }
  .service-grid h3 { margin-top: 38px; }
  .contact { margin-top: 30px; padding: 58px 24px; }
  .contact-details a { font-size: 1.12rem; }
  footer { padding: 34px 0; align-items: flex-start; flex-direction: column; }
  .brand-footer { display: none; }
}

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