@font-face {
  font-family: "PT Sans";
  src: url("/assets/fonts/pt-sans-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "PT Sans";
  src: url("/assets/fonts/pt-sans-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Oswald";
  src: url("/assets/fonts/oswald-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("/assets/fonts/roboto-condensed-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --blue-950: #071426;
  --blue-900: #0f2744;
  --blue-800: #005f9c;
  --blue-700: #0071b9;
  --blue-600: #0b5ed7;
  --blue-100: #eaf3ff;
  --yellow: #ffd859;
  --ink: #101828;
  --muted: #667085;
  --line: #e6eaf0;
  --paper: #ffffff;
  --wash: #f5f8fc;
  --success: #176b3a;
  --danger: #9d1f1f;
  --shadow: 0 16px 40px rgb(16 24 40 / 0.08);
  --shadow-soft: 0 24px 70px rgb(16 24 40 / 0.1);
  --radius: 14px;
  --radius-lg: 24px;
  --content: 1180px;
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "PT Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-700);
  text-decoration: none;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  transform: translateY(-150%);
  border-radius: 6px;
  background: #fff;
  color: var(--blue-950);
  font-weight: 700;
  box-shadow: var(--shadow);
}

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

.container {
  width: min(var(--content), calc(100% - 40px));
  margin-inline: auto;
}

.site-footer a {
  color: #fff;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.icon-link img,
.footer-contact img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  z-index: 120;
  top: 0;
  border-bottom: 1px solid rgb(230 234 240 / 0.82);
  background: rgb(255 255 255 / 0.96);
  box-shadow: 0 10px 30px rgb(16 24 40 / 0.06);
  backdrop-filter: blur(16px) saturate(140%);
}

.site-header__inner {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 300px;
}

.brand img {
  width: 300px;
  height: 52px;
}

.main-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.main-nav a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 8px 18px 5px;
  border-bottom: 3px solid transparent;
  color: var(--blue-700);
  font-family: "Roboto Condensed", "PT Sans", sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-bottom-color: var(--yellow);
  color: var(--blue-700);
}

.main-nav .nav-contact {
  min-height: 48px;
  margin-left: 12px;
  padding: 10px 24px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
  color: #fff;
  box-shadow: 0 12px 24px rgb(11 94 215 / 0.24);
}

.main-nav .nav-contact:hover,
.main-nav .nav-contact[aria-current="page"] {
  border: 0;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
  color: #fff;
}

.menu-toggle {
  position: relative;
  z-index: 50;
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.menu-toggle img {
  width: 26px;
  height: 26px;
}

.menu-toggle .icon-close,
.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(560px, 48vw, 690px);
  place-items: center;
  overflow: hidden;
  background: var(--blue-950) url("/assets/images/hero.webp") center / cover no-repeat;
  color: #fff;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgb(7 20 38 / 0.84) 0%, rgb(7 20 38 / 0.68) 48%, rgb(7 20 38 / 0.32) 100%), linear-gradient(0deg, rgb(7 20 38 / 0.34), transparent 62%);
  content: "";
}

.hero--inner {
  height: clamp(360px, 32vw, 420px);
  min-height: 0;
  background-position: center 42%;
}

.hero__content {
  width: min(var(--content), calc(100% - 40px));
  padding-block: clamp(72px, 9vw, 118px);
}

.hero__eyebrow {
  margin: 0 0 8px;
  color: #9cc5ff;
  font-family: "Roboto Condensed", "PT Sans", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-family: "Oswald", Arial, sans-serif;
  font-size: clamp(54px, 6.5vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  text-shadow: 0 3px 14px rgb(0 0 0 / 0.45);
}

.hero--inner h1 {
  font-size: clamp(42px, 5vw, 62px);
}

.hero__lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgb(255 255 255 / 0.82);
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.35;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__actions .button {
  min-width: 190px;
}

main {
  min-height: 45vh;
}

.content-section {
  padding-block: clamp(76px, 9vw, 128px);
}

.content-section--muted {
  background: var(--wash);
}

.content-narrow {
  width: min(850px, 100%);
}

h2,
h3,
h4 {
  color: var(--blue-800);
  font-family: "Oswald", "PT Sans", sans-serif;
  font-weight: 700;
  line-height: 1.08;
}

h2 {
  margin: 1.8em 0 0.65em;
  font-size: clamp(34px, 4.5vw, 52px);
}

h3 {
  margin: 1.6em 0 0.55em;
  font-size: clamp(27px, 3vw, 36px);
}

h4 {
  margin: 1.4em 0 0.45em;
  font-size: 24px;
}

.content-section h2:first-child,
.content-section h3:first-child,
.legal-copy h2:first-child {
  margin-top: 0;
}

p,
ul,
ol {
  margin-top: 0;
  margin-bottom: 1.15em;
}

.lead {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

.intro-grid,
.contact-grid,
.footer-grid {
  display: grid;
  gap: 44px;
}

.intro-grid {
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.78fr);
  gap: clamp(48px, 8vw, 92px);
  align-items: center;
}

.intro-visual {
  display: grid;
  min-height: 360px;
  place-items: center;
  border: 0;
  background: transparent;
}

.brand-mark {
  width: min(240px, 68%);
  margin-inline: auto;
  border-radius: 50%;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 24px;
  border: 2px solid var(--blue-700);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
  color: #fff;
  font-family: "Roboto Condensed", "PT Sans", sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 24px rgb(11 94 215 / 0.2);
}

.button:hover {
  border-color: var(--blue-950);
  background: linear-gradient(135deg, var(--blue-800), var(--blue-950));
  color: #fff;
}

.button--ghost {
  box-shadow: none;
  background: transparent;
  color: var(--blue-700);
}

.button--light {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 28px rgb(3 12 25 / 0.22);
}

.button--light:hover {
  border-color: var(--wash);
  background: var(--wash);
  color: var(--blue-950);
}

.button img {
  width: 18px;
  height: 18px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.news-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 0;
  background: transparent;
}

.news-card__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 0 0;
}

.news-card time,
.post-meta {
  color: var(--muted);
  font-size: 15px;
}

.news-card h2 {
  margin: 8px 0 14px;
  font-size: clamp(28px, 3vw, 34px);
}

.news-card h2 a {
  color: inherit;
  text-decoration: none;
}

.news-card h2 a:hover {
  color: var(--blue-950);
}

.news-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.article-header {
  margin-bottom: 32px;
}

.article-header .post-meta {
  margin: 0;
}

.article-image {
  width: 100%;
  margin: 32px 0;
}

.article-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-block: 34px;
}

.article-gallery figure {
  margin: 0;
}

.article-gallery img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.article-gallery figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.contact-grid {
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
}

.contact-card,
.contact-form-panel {
  padding: 0;
  border: 0;
  background: transparent;
}

.contact-card h2,
.contact-form-panel h2 {
  margin-top: 0;
  font-size: 32px;
}

address {
  font-style: normal;
}

.contact-list,
.footer-contact,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li,
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.contact-list img,
.footer-contact img {
  margin-top: 0.24em;
}

.contact-form-panel {
  background: transparent;
}

.contact-form-panel > p {
  margin-bottom: 26px;
  color: var(--muted);
}

.contact-notice {
  margin-top: 28px;
  padding: 4px 0 4px 20px;
  border: 0;
  border-left: 4px solid var(--blue-700);
  background: transparent;
}

.contact-notice p {
  margin: 0;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field--full,
.form-actions,
.form-status,
.privacy-hint,
.honeypot {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--blue-950);
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #9fb0bd;
  border-radius: 8px;
  background: #fbfdff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgb(16 24 40 / 0.05);
}

.form-field input {
  min-height: 52px;
  padding: 10px 14px;
}

.form-field textarea {
  min-height: 190px;
  padding: 14px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue-700);
  outline: 3px solid rgb(242 169 0 / 0.55);
  outline-offset: 1px;
}

.required-note,
.privacy-hint {
  color: var(--muted);
  font-size: 15px;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.form-status {
  min-height: 1.6em;
  margin: 0;
  padding: 0;
  font-weight: 700;
}

.form-status[data-state="success"] {
  color: var(--success);
}

.form-status[data-state="error"] {
  color: var(--danger);
}

.legal-copy {
  max-width: 900px;
}

.legal-copy h2 {
  padding-top: 0;
  border-top: 0;
  font-size: 34px;
}

.legal-copy h3 {
  font-size: 27px;
}

.legal-copy li + li {
  margin-top: 0.55em;
}

.legal-copy .all-caps {
  font-weight: 700;
}

.image-credits {
  line-height: 1.8;
}

.site-footer {
  background: radial-gradient(circle at 10% 0%, rgb(11 94 215 / 0.28), transparent 34%), var(--blue-950);
  color: rgb(255 255 255 / 0.82);
}

.site-footer__main {
  padding-block: 72px 52px;
}

.footer-grid {
  grid-template-columns: 1.1fr 1fr 1.25fr;
}

.site-footer h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 28px;
}

.footer-links li + li {
  margin-top: 9px;
}

.site-footer a:hover {
  color: var(--yellow);
}

.site-footer__bottom {
  padding-block: 18px;
  border-top: 1px solid rgb(255 255 255 / 0.18);
  font-size: 14px;
  text-align: center;
}

.site-footer__bottom p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  z-index: 25;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  transform: translateY(90px);
  border: 0;
  border-radius: 8px;
  opacity: 0;
  background: var(--blue-700);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
}

.back-to-top.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.back-to-top img {
  width: 22px;
  height: 22px;
}

.error-page {
  text-align: center;
}

.error-code {
  display: block;
  color: var(--blue-100);
  font-family: "Oswald", Arial, sans-serif;
  font-size: clamp(100px, 22vw, 240px);
  font-weight: 300;
  line-height: 0.8;
}

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

@media (max-width: 860px) {
  .site-header {
    background: #fff;
    backdrop-filter: none;
  }

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

  .main-nav {
    position: fixed;
    z-index: 40;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(330px, 88vw);
    padding: 92px 26px 30px;
    transform: translateX(105%);
    background: #fff;
    box-shadow: -12px 0 36px rgb(5 36 59 / 0.25);
    transition: transform 180ms ease;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav ul {
    display: grid;
    gap: 7px;
  }

  .main-nav a {
    padding: 14px 16px;
    font-size: 17px;
  }

  .main-nav .nav-contact {
    margin-left: 0;
    margin-top: 8px;
  }

  .intro-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand-mark {
    width: 220px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(var(--content), calc(100% - 28px));
  }

  .site-header__inner {
    min-height: 78px;
  }

  .brand {
    flex-basis: min(210px, 58vw);
  }

  .brand img {
    width: min(210px, 58vw);
    height: auto;
  }

  .hero {
    min-height: 630px;
    align-items: start;
    background-position: 36% center;
  }

  .hero--inner {
    height: 410px;
    min-height: 0;
  }

  .hero__content {
    width: calc(100% - 28px);
    padding-block: 72px 56px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 58px);
  }

  .hero--inner h1 {
    font-size: clamp(40px, 11vw, 50px);
  }

  .hero__actions {
    display: grid;
  }

  .hero__actions .button {
    width: 100%;
  }

  .content-section {
    padding-block: 68px;
  }

  .news-grid,
  .article-gallery,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .news-card__body {
    padding: 20px 0 0;
  }

  .contact-card,
  .contact-form-panel {
    padding: 0;
  }

  .contact-notice {
    padding: 4px 0 4px 16px;
  }

  .intro-visual {
    min-height: 300px;
  }

  .form-field,
  .form-field--full,
  .form-actions,
  .form-status,
  .privacy-hint,
  .honeypot {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .hero,
  .site-footer,
  .back-to-top,
  .button {
    display: none !important;
  }

  body {
    color: #000;
    font-size: 11pt;
  }

  .content-section {
    padding: 0;
  }

  a {
    color: inherit;
  }
}
