:root {
  /* Accessible palette: deeper blues + burnt orange pass WCAG AA on white */
  --blue: #1F4666;
  --blue-dark: #173954;
  --orange: #A84E00;
  --orange-hover: #8E4100;
  --text: #2E3135;
  --muted: #5F6670;
  --gray: #F3F5F6;
  --container: 1060px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1em;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
  font-weight: 300;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}


.container {
  width: min(var(--container), calc(100% - 64px));
  margin: 0 auto;
}
.wide { --container: 1160px; }
.narrow { --container: 850px; }
.xsmall { --container: 640px; }
.center { text-align: center; }

.site-header {
  height: 64px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-wrap {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1em;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500;
  color: #1C1F22;
  white-space: nowrap;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 29px;
}
.main-nav a {
  font-size: 1em;
  font-weight: 300;
  color: #1C1F22;
}
.main-nav a:hover,
.main-nav a:focus-visible { color: var(--orange); }
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 8px 21px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 0.875em;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.btn:hover { background: var(--orange-hover); }

.hero {
  min-height: 594px;
  background-image: url("../images/hero-image.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: stretch;
}
.hero-panel {
  width: 50%;
  min-width: 580px;
  background: rgba(23,57,84,.92);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 40px 0;
}
.hero-copy {
  width: 430px;
  margin-right: 52px;
  color: #fff;
}
.hero h1 {
  margin: 0 0 20px 0;
  font-size: 2.25em;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: .02em;
}
.hero p {
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.section-white { background: #fff; }
.section-gray { background: var(--gray); }

.intro {
  padding: 120px 0;
}

.intro h2 {
  margin: 0 0 20px 0;
  font-size: 1.5em;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
}
.intro p {
  font-size: 1em;
  line-height: 1.6;
  text-align: left;
  font-weight: 400;
}

.company {
  min-height: 500px;
  background-image: linear-gradient(135deg, rgba(255,255,255,1) 20%, rgba(255,255,255,.85) 55%, rgba(255,255,255,.2) 75%), url("../images/company-image.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.company-content article {
  width: 40%;
}
.company h2 {
  margin: 0 0 20px 0;
  font-size: 1.875em;
  line-height: 1.3;
  font-weight: 400;
}
.company p {
  margin: 0 0 30px 0;
  font-size: 1em;
  line-height: 1.6;
  font-weight: 400;
}

.values {
  padding: 120px 0;
}

.line-title {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 1.875em;
  line-height: 1.3;
  font-weight: 400;
}
.line-title::before,
.line-title::after {
  content: "";
  height: 1px;
  background: #C9D0D6;
  flex: 1 1 100px;
}
.line-title span { flex: 0 0 auto; }
.line-title.left { justify-content: flex-start; }
.line-title.left::before { display: none; }
.section-subtitle {
  color: var(--muted);
  font-size: 1em;
  margin-top: 20px;
}
.value-grid {
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.value-card svg {
  width: 100px;
  height: 100px;
  fill: none;
  stroke: var(--blue-dark);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.value-card img {
  width: 80%;
}
.value-card h3 {
  margin: 20px 0;
  color: var(--orange);
  font-size: 1.25em;
  font-weight: 400;
}
.value-card p {
  font-size: 1em;
  line-height: 1.6;  
}

.why {
  padding: 120px 0;
}
.why .line-title {
  max-width: 500px;
  font-size: 1.25em;
  margin-bottom: 20px;
}
.why-lede {
  margin-bottom: 20px;
  font-size: 1em;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-bottom: 40px;
}
.two-col p,
.two-col li {
  font-size: 1em;
  line-height: 1.6;
}
.two-col ul {
  margin: 0;
}
.cta-card {
  background: var(--blue);
  color: #fff;
  width: min(1060px, 100%);
  margin: 0 auto;
  padding: 20px 0;
}

.cta-card h3 {
  margin: 20px 0;
  font-size: 1.25em;
  font-weight: 400;
}

.mission {
  padding: 120px 0;
}

.mission .line-title { font-size: 1.875em; }

.mission-text {
  margin-top: 20px;
  text-align: left;
  font-size: 1em;
  line-height: 1.6;
}
.team {
  padding: 0 0 60px;
}
.team-card-wrap { display: flex; justify-content: center; }
.team-card {
  width: min(670px, 100%);
  background: #fff;
  box-shadow: 0 5px 25px rgba(0,0,0,.08);
  padding: 30px;
}

.team-card h3 {
  margin: 0;
  font-size: 1em;
  font-weight: 400;
}

.role {
  margin-top: 6px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.875em;
}
.team-card p:last-child {
  font-size: 1em;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  background-size: cover;
  background-position: center;
}

.contact-image {
  background-image: url("../images/contact-image.png");
  background-size: cover;
  background-position: center;
}

.contact-panel {
  background: rgba(23,57,84,1);
  color: #fff;
  padding: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.contact-panel h2 {
  margin: 0 0 20px 0;
  font-size: 1.5em;
  line-height: 1.3;
  font-weight: 400;
}
.contact-panel p {
  max-width: 410px;
  margin-bottom: 40px;
  font-size: 1em;
}
.phone {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 1em;
}

.site-footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,.86);
  padding: 120px 0;
  border-top: 1px solid #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 260px 360px;
  gap: 250px;
  margin-bottom: 120px;
}
.site-footer h2 {
  margin: 0 0 20px 0;
  color: #fff;
  font-size: 1em;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: .05em;
  font-weight: 400;
}
.site-footer h2:first-letter { text-transform: uppercase; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a,
.site-footer p,
.copyright {
  font-size: 0.875em;
  line-height: 1.6;
}
.footer-nav a:hover { color: #fff; }
.copyright { opacity: .9; }

@media (max-width: 900px) {
  .container { width: min(var(--container), calc(100% - 38px)); }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 12px 24px 20px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 9px 0; }
  .hero { min-height: 480px; }
  .hero-panel {
    width: 100%;
    min-width: 0;
    margin: 0;
    justify-content: flex-start;
    padding: 40px 24px;
  }
  .hero-copy { width: auto; margin: 0; }
  .hero h1 { font-size: 1.875em; }
  .intro { padding: 72px 0; }
  .company { min-height: 470px; }
  .company-content article { width: min(420px, 100%); margin: 0; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 25px; }
  .contact { grid-template-columns: 1fr; }
  .contact-image { min-height: 260px; }
  .contact-panel { padding: 62px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 560px) {
  .logo { font-size: 0.875em; }
  .hero h1, .company h2, .why .line-title, .mission .line-title, .contact-panel h2 { font-size: 1.5em; }
  .company {
  background-image: linear-gradient(135deg, rgba(255,255,255,0.95) 20%, rgba(255,255,255,0.95) 55%, rgba(255,255,255,0.95) 75%), url("../images/company-image.png");
}
  .value-grid { grid-template-columns: 1fr; gap: 42px; }
  .value-card img {width: 50%;}
  .line-title { font-size: 1.5em; gap: 12px; }
  .line-title::before, .line-title::after { flex-basis: 32px; }
}
