:root {
  --ink: #101112;
  --ink-soft: #292b2d;
  --paper: #f5f5f2;
  --white: #ffffff;
  --muted: #666a6d;
  --line: #d9dad7;
  --red: #c9202f;
  --content: 760px;
  --wide: 1120px;
  --shadow: 0 18px 50px rgb(0 0 0 / 10%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #62c6ef;
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-170%);
  background: var(--white);
  color: var(--ink);
  padding: 0.7rem 1rem;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 50%;
  display: flex;
  width: min(100%, 1440px);
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transform: translateX(-50%);
  padding: 1.25rem clamp(1.2rem, 4.5vw, 4.5rem);
  color: var(--white);
}

.brand {
  display: grid;
  min-width: 210px;
  text-decoration: none;
  text-transform: uppercase;
}

.brand strong {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 900;
  letter-spacing: 0.075em;
  line-height: 1.2;
}

.brand span {
  margin-top: 0.16rem;
  font-size: 0.49rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.3;
}

.menu-toggle {
  display: none;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.6vw, 1.7rem);
}

.primary-nav > a,
.nav-parent {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0.65rem 0;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.105em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.primary-nav > a:hover,
.primary-nav > a:focus-visible,
.primary-nav > a[aria-current='page'],
.nav-parent:hover,
.nav-parent:focus-visible,
.nav-parent[aria-expanded='true'] {
  border-bottom-color: currentColor;
}

.nav-parent span {
  display: inline-block;
  margin-left: 0.15rem;
  transition: transform 160ms ease;
}

.nav-parent[aria-expanded='true'] span {
  transform: rotate(45deg);
}

.nav-group {
  position: relative;
}

.submenu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: -1rem;
  display: none;
  min-width: 250px;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 0.5rem;
}

.submenu-right {
  right: -1rem;
  left: auto;
}

.nav-group:hover > .submenu,
.nav-group:focus-within > .submenu,
.nav-group.is-open > .submenu {
  display: grid;
}

.submenu a {
  border-left: 3px solid transparent;
  padding: 0.65rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.submenu a:hover,
.submenu a:focus-visible,
.submenu a[aria-current='page'] {
  border-left-color: var(--red);
  background: #f1f1ef;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(920px, 100svh);
  place-items: center;
  overflow: hidden;
  background-color: #273036;
  background-image:
    linear-gradient(180deg, rgb(8 10 12 / 40%), rgb(8 10 12 / 47%)),
    url('/assets/hero-flags.jpg');
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 18%;
  background: linear-gradient(transparent, rgb(0 0 0 / 22%));
  content: '';
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1050px, calc(100% - 2.5rem));
  padding-top: 5rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.235em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--muted);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: inherit;
  font-weight: 900;
  letter-spacing: 0.015em;
  line-height: 1.15;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.hero h1 {
  max-width: 1040px;
  margin: 0 auto;
  font-size: clamp(2.35rem, 6.1vw, 5.8rem);
  letter-spacing: 0.015em;
  line-height: 0.98;
  text-transform: uppercase;
}

.hero-deck {
  max-width: 690px;
  margin: 1.5rem auto 0;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  padding: 0.72rem 1.15rem;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-light:hover,
.button-light:focus-visible {
  background: #e9e9e7;
}

.button-ghost {
  background: rgb(0 0 0 / 15%);
  color: var(--white);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: var(--white);
  color: var(--ink);
}

.button-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--ink-soft);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 1.4rem;
  left: 50%;
  display: grid;
  transform: translateX(-50%);
  color: rgb(255 255 255 / 78%);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue span {
  font-size: 1.1rem;
}

.section {
  width: min(var(--wide), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.section-heading.centered {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.section-heading h2,
.home-callout h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  text-transform: uppercase;
}

.section-heading > p:last-child {
  margin: 1.4rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.three-fs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 3.75rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.three-fs article {
  min-height: 285px;
  background: var(--white);
  padding: clamp(1.5rem, 3.2vw, 2.5rem);
}

.card-number {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.three-fs h3 {
  margin: 3rem 0 0.75rem;
  font-size: 1.6rem;
  text-transform: uppercase;
}

.three-fs p {
  margin: 0;
  color: var(--muted);
}

.home-callout {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 8vw, 8rem);
  background: var(--ink);
  color: var(--white);
  padding: clamp(4rem, 8vw, 7rem) max(1.25rem, calc((100% - var(--wide)) / 2));
}

.home-callout > div {
  max-width: 700px;
}

.home-callout p:last-child {
  max-width: 610px;
  margin: 1rem 0 0;
  color: #c6c8c8;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 390px;
  place-items: end start;
  background-image:
    linear-gradient(90deg, rgb(8 10 12 / 86%), rgb(8 10 12 / 49%)),
    url('/assets/hero-flags.jpg');
  background-position: center 43%;
  background-size: cover;
  color: var(--white);
}

.page-hero-inner {
  width: min(var(--wide), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 9.5rem 0 4rem;
}

.page-hero h1 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(2.25rem, 5.4vw, 5rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.page-content {
  width: min(var(--content), calc(100% - 2.5rem));
  min-height: 420px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.page-content.wide-content {
  width: min(var(--wide), calc(100% - 2.5rem));
}

.rich-content > :first-child {
  margin-top: 0;
}

.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4,
.rich-content h5 {
  margin-top: 2.4em;
  margin-bottom: 0.7em;
}

.rich-content h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  text-transform: uppercase;
}

.rich-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  text-transform: uppercase;
}

.rich-content h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}

.rich-content h4 {
  font-size: 1.15rem;
  text-transform: uppercase;
}

.rich-content p,
.rich-content li {
  color: var(--ink-soft);
}

.rich-content p {
  margin: 0 0 1.2rem;
}

.rich-content ul,
.rich-content ol {
  padding-left: 1.4rem;
}

.rich-content li + li {
  margin-top: 0.5rem;
}

.rich-content a {
  color: #075d81;
  font-weight: 700;
}

.rich-content a:hover {
  color: #003d57;
}

.rich-content blockquote {
  margin: 2.5rem 0;
  border-left: 4px solid var(--red);
  background: var(--white);
  padding: 1.25rem 1.5rem;
}

.rich-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.rich-content td,
.rich-content th {
  border: 1px solid var(--line);
  padding: 0.65rem;
}

.rich-content iframe {
  display: block;
  width: 100%;
  min-height: 470px;
  border: 0;
  background: #e2e3e1;
}

.rich-content iframe[src*='vimeo'],
.rich-content iframe[src*='youtube'] {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.embed-page iframe {
  min-height: 680px;
  box-shadow: var(--shadow);
}

.embed-page iframe.contact-form {
  min-height: 1100px;
}

.embed-fallback {
  margin-top: 1rem !important;
  font-size: 0.9rem;
}

.about-content > p:first-child {
  margin-bottom: 0.6rem;
}

.about-content > h3:first-of-type {
  margin: 3rem 0;
  border-block: 1px solid var(--line);
  padding: 2rem 0;
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  line-height: 1.5;
  text-align: center;
}

.new-guys-content > div:first-child {
  display: none;
}

.leadership-content > div:first-of-type {
  max-width: 760px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.leadership-content > div:nth-of-type(2) > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 0 5rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.leadership-content > div:nth-of-type(2) > div > div {
  background: var(--white);
  padding: 1.5rem;
  text-align: center;
}

.leadership-content > div:nth-of-type(2) p:first-child {
  margin: 0;
  color: var(--red);
  font-size: 2rem;
  font-weight: 900;
}

.leadership-content > div:nth-of-type(3),
.leadership-content > div:nth-of-type(4) {
  max-width: 760px;
  margin: 4rem auto;
  text-align: center;
}

.leadership-content section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.leadership-content section > div {
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 8px 25px rgb(0 0 0 / 7%);
}

.leadership-content section > div > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.leadership-content section > div > div {
  padding: 1.5rem;
}

.leadership-content section h3 {
  margin: 0;
  font-size: 1.55rem;
  text-transform: uppercase;
}

.leadership-content section h3 + p {
  margin-top: 0.25rem;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.placeholder-content {
  display: grid;
  place-items: center;
}

.placeholder-card {
  width: min(680px, 100%);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: clamp(2rem, 6vw, 4.5rem);
  text-align: center;
}

.placeholder-card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  text-transform: uppercase;
}

.placeholder-card > p:not(.status-pill) {
  max-width: 560px;
  margin: 1rem auto 1.5rem;
  color: var(--muted);
}

.status-pill {
  display: inline-block;
  margin: 0 0 1rem;
  background: #ececea;
  color: var(--ink);
  padding: 0.28rem 0.55rem;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.secure-card {
  border-top: 5px solid var(--red);
}

.text-link {
  color: #075d81;
  font-weight: 900;
  text-decoration-thickness: 2px;
}

.site-footer {
  background: var(--ink);
  color: #bfc1c2;
}

.footer-inner {
  display: flex;
  width: min(var(--wide), calc(100% - 2.5rem));
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin: 0 auto;
  padding: 4rem 0;
}

.footer-inner p {
  max-width: 500px;
  margin: 0.35rem 0 0;
}

.footer-brand {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  gap: 1.25rem;
}

.social-links a {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copyright {
  border-top: 1px solid #303234;
  padding: 1.25rem;
  font-size: 0.72rem;
  text-align: center;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 78px;
    align-items: flex-start;
    background: rgb(16 17 18 / 95%);
  }

  .menu-toggle {
    display: inline-grid;
    min-height: 44px;
    min-width: 60px;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 28%);
    background: transparent;
    color: var(--white);
    cursor: pointer;
    padding: 0.4rem 0.55rem;
  }

  .menu-toggle-label {
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .menu-toggle-lines {
    display: grid;
    gap: 4px;
  }

  .menu-toggle-lines span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
  }

  .primary-nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100svh - 78px);
    overflow-y: auto;
    background: var(--ink);
    padding: 0.75rem 1.25rem 1.5rem;
  }

  .site-header.menu-open .primary-nav {
    display: grid;
  }

  .primary-nav > a,
  .nav-parent {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #333638;
    padding: 0.8rem 0;
    text-align: left;
  }

  .submenu,
  .submenu-right {
    position: static;
    min-width: 0;
    margin: 0 0 0.5rem;
    box-shadow: none;
    padding: 0.4rem;
  }

  .nav-group:hover > .submenu,
  .nav-group:focus-within > .submenu {
    display: none;
  }

  .nav-group.is-open > .submenu,
  .nav-group.is-open:focus-within > .submenu {
    display: grid;
  }

  .leadership-content > div:nth-of-type(2) > div {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .brand {
    min-width: 0;
    max-width: 235px;
  }

  .brand span {
    max-width: 210px;
  }

  .hero {
    min-height: 800px;
    background-position: 48% center;
  }

  .hero-content {
    padding-top: 4rem;
  }

  .hero h1 br {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .button {
    width: min(290px, 100%);
  }

  .scroll-cue {
    display: none;
  }

  .three-fs {
    grid-template-columns: 1fr;
  }

  .three-fs article {
    min-height: 0;
  }

  .three-fs h3 {
    margin-top: 1.5rem;
  }

  .home-callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    min-height: 350px;
  }

  .page-hero-inner {
    padding-top: 8.5rem;
  }

  .leadership-content > div:nth-of-type(2) > div,
  .leadership-content section {
    grid-template-columns: 1fr;
  }

  .embed-page iframe {
    min-height: 560px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .menu-toggle,
  iframe {
    display: none !important;
  }

  .page-hero {
    min-height: 0;
    background: none;
    color: var(--ink);
  }

  .page-hero-inner,
  .page-content {
    width: 100%;
    padding: 1rem 0;
  }
}
