@charset "utf-8";

/* =========================================================
   COLOR SCHEME
========================================================= */
:root {
  --bg: #f8f9fa;
  --surface: #ffffff;
  --text: #1f2933;
  --text-soft: #52606d;
  --white: #ffffff;

  --brand: #173852;
  --brand-light: #1f4b6e;
  --accent: #ff5c00;

  --footer-bg: #111927;
  --footer-text: rgba(255, 255, 255, 0.86);
  --footer-text-soft: rgba(255, 255, 255, 0.7);
  --footer-border: rgba(255, 255, 255, 0.12);
  --footer-copy: rgba(255, 255, 255, 0.62);

  /* header: solid brand bar with matching toggle background */
  --header-bg: var(--brand);
  --header-border: rgba(255, 255, 255, 0.12);
  --header-toggle-bg: var(--header-bg);
  --header-toggle-border: rgba(255, 255, 255, 0.18);
}

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

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  color: var(--text-soft);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
}

/* =========================================================
   HELPERS
========================================================= */
.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  top: 1rem;
  left: 1rem;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--white);
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

/* =========================================================
   HEADER
========================================================= */
.hero-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

.hero-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 1rem;
  padding: 1rem 0 0.75rem;
}

.hero-brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.9rem;
  color: var(--white);
}

.hero-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.hero-brand-text strong {
  color: var(--bg);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.hero-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 1.35rem;
  min-height: 3.2rem;
}

.hero-nav a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-nav a:hover,
.hero-nav a:focus-visible {
  color: rgba(255, 255, 255, 0.88);
}

.menu-toggle.hero-menu-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 0.6px solid var(--header-toggle-border);
  border-radius: 0.75rem;
  background: var(--header-toggle-bg);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
}

.menu-toggle.hero-menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
}

.mobile-menu-shell {
  display: none;
}

.mobile-menu-shell:not([hidden]) {
  display: block;
  margin-top: 0.75rem;
  background: rgba(23, 56, 82, 0.96);
}

.mobile-nav {
  padding: 0.5rem 0 1rem;
}

.mobile-nav a {
  display: block;
  width: 100%;
  padding: 0.85rem 0;
  color: var(--white);
  font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-nav a:first-child {
  border-top: 0;
}

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(32rem, 70vh, 48rem);
  padding: clamp(7.5rem, 10vw, 9rem) 0 clamp(2.25rem, 5vw, 3rem);
  background-color: var(--brand);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80")
    center / cover no-repeat;
  filter: brightness(0.46);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(23, 56, 82, 0.86) 0%,
    rgba(23, 56, 82, 0.64) 48%,
    rgba(23, 56, 82, 0.42) 100%
  );
}

.hero--top {
  min-height: clamp(32rem, 70vh, 48rem);
  padding: clamp(7.5rem, 10vw, 9rem) 0 clamp(2.25rem, 5vw, 3rem);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.hero-copy {
  max-width: 42rem;
}

.hero-copy h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  color: var(--white);
  font-family: "Google Sans Flex", "Open Sans", Arial, Helvetica, sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.7rem);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--accent);
  font-family: "Open Sans", Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-highlights {
  display: grid;
  gap: 0.65rem;
  margin: 1.5rem 0 3rem;
}

.hero-highlights li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--bg);
  font-size: 1.2rem;
  line-height: 1.45;
  font-weight: 600;
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  top: 0.58rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

/* =========================================================
   SECTION
========================================================= */
.section {
  padding: 1rem 0 2rem;
}

.surface {
  background: var(--surface);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading .h2 {
  margin: 0 0 0.8rem;
  font-family: "Google Sans Flex", "Open Sans", Arial, Helvetica, sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
}

.section-heading p {
  max-width: 60ch;
}

.section-heading p + p {
  margin-top: 1rem;
}

/* =========================================================
   BUTTONS
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.5rem;
  min-height: 44px;
  padding: 0.8rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-accent {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.btn-accent:hover,
.btn-accent:focus-visible {
  background: color-mix(in srgb, var(--accent) 85%, black);
  border-color: color-mix(in srgb, var(--accent) 85%, black);
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
  padding: 3rem 0;
  color: var(--footer-text);
  background: var(--footer-bg);
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: var(--footer-text-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.site-footer h3 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.site-footer ul {
  display: grid;
  gap: 0.55rem;
}

.site-footer li {
  font-size: 0.9rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0;
}

.footer-brand .brand-mark {
  width: 3.5rem;
  height: 3.5rem;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.14);
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.footer-brand-text strong {
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-brand-text span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 3rem 0 1rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  line-height: 1;
}

.footer-social img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.88;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.footer-social a:hover img,
.footer-social a:focus-visible img {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-bottom {
  margin: 0;
  text-align: center;
}

.footer-rule {
  margin: 0 0 1rem;
  border: 0;
  border-top: 1px solid var(--footer-border);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.85rem;
}

.footer-bottom-links a {
  font-size: 0.9rem;
}

.footer-copyright {
  color: var(--footer-copy);
  font-size: 0.85rem;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 767.98px) {
  .hero-topbar {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 0.7rem 0;
  }

  .hero-nav {
    display: none;
  }

  .menu-toggle.hero-menu-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: clamp(28rem, 60dvh, 36rem);
    padding: 7.5rem 0 2.5rem;
  }

  .hero--top {
    min-height: clamp(28rem, 60dvh, 36rem);
    padding: 7.5rem 0 2.5rem;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: none;
  }

  .btn {
    min-width: min(100%, 10.5rem);
  }
}

@media (min-width: 768px) {
  .container {
    width: min(1180px, calc(100% - 3rem));
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

  .hero-nav {
    gap: 2rem;
  }
}