:root {
  --brand-blue: #034d9e;
  --electric-blue: #0698dc;
  --deep-navy: #031b32;
  --navy-2: #062543;
  --orange: #ec6309;
  --amber: #f2970d;
  --ink: #172235;
  --muted: #5c6b80;
  --line: #dbe6f2;
  --soft: #f5f8fb;
  --white: #ffffff;
  --shadow: 0 28px 90px rgba(3, 27, 50, 0.14);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --container: 1360px;
  --header-height: 82px;
}

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--white);
  color: var(--deep-navy);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 27, 50, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 96px;
  height: 58px;
  overflow: hidden;
}
.brand-mark img { height: auto; }

.brand-text {
  display: flex;
  flex-direction: column;
  color: var(--white);
  line-height: 1.1;
}
.brand-text strong { font-size: 15px; letter-spacing: 0.08em; }
.brand-text span { margin-top: 4px; font-size: 11px; color: rgba(255, 255, 255, 0.68); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span { opacity: 0; }
.nav-toggle.is-open::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-item { position: relative; }
.nav-item.has-dropdown::after {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
  content: "";
}
.nav-item-main {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
}
.nav-link:not(.header-cta)::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--electric-blue), var(--amber));
  content: "";
  transition: width 0.2s ease;
}
.nav-link:hover,
.nav-link:focus-visible,
.nav-item:hover .nav-link,
.nav-item:focus-within .nav-link { color: var(--white); }
.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-item:hover .nav-link::after,
.nav-item:focus-within .nav-link::after { width: 100%; }

.dropdown-toggle {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: pointer;
}
.dropdown-toggle::before {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}
.nav-item:hover .dropdown-toggle::before,
.nav-item:focus-within .dropdown-toggle::before,
.nav-item.is-open .dropdown-toggle::before { transform: translateY(2px) rotate(225deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  z-index: 1001;
  min-width: 270px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(3, 27, 50, 0.96);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu,
.nav-item.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 650;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.header-cta,
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.header-cta,
.btn-primary {
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 16px 34px rgba(236, 99, 9, 0.28);
}
.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.btn-primary:disabled { opacity: 0.62; cursor: not-allowed; transform: none; }
.header-cta:hover,
.btn-primary:hover:not(:disabled),
.btn-secondary:hover { transform: translateY(-2px); }

.site-footer {
  padding: 62px 0 34px;
  color: rgba(255, 255, 255, 0.72);
  background: #020d18;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 38px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand { max-width: 380px; }
.footer-logo { width: 132px; margin-bottom: 18px; }
.footer-brand p { margin-bottom: 16px; }
.footer-contact { display: grid; gap: 8px; font-size: 14px; }
.footer-contact a { color: rgba(255, 255, 255, 0.78); }
.footer-contact a:hover { color: var(--white); }
.footer-col h3 { margin-bottom: 16px; color: var(--white); font-size: 15px; }
.footer-col a,
.footer-col span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  font-size: 13px;
}

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

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

@media (max-width: 1180px) {
  .site-nav { gap: 16px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .brand-text { display: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    max-height: calc(100vh - var(--header-height) - 28px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 20px;
    background: rgba(3, 27, 50, 0.98);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .site-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link { width: 100%; padding: 10px 14px; }
  .nav-link::after { display: none; }
  .nav-item { display: grid; }
  .nav-item-main { justify-content: space-between; }
  .dropdown-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
  }
  .dropdown-menu {
    position: static;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: max-height 0.24s ease, padding 0.24s ease;
  }
  .nav-item:hover .dropdown-menu,
  .nav-item:focus-within .dropdown-menu { max-height: 0; padding-top: 0; padding-bottom: 0; }
  .nav-item.is-open .dropdown-menu {
    max-height: 520px;
    padding-top: 4px;
    padding-bottom: 8px;
  }
  .dropdown-menu a { padding: 9px 12px; }
  .site-nav .header-cta { margin-top: 8px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--container)); }
  .brand-mark, .brand-mark img { width: 88px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* Reusable video player component */
.media-video-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--deep-navy);
  box-shadow: var(--shadow);
}

.media-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  background: #020d18;
}

.media-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 32px;
  border: 0;
  color: #fff;
  background:
    radial-gradient(circle at 50% 42%, rgba(6, 152, 220, 0.26), transparent 34%),
    linear-gradient(180deg, rgba(3, 27, 50, 0.18), rgba(3, 27, 50, 0.64));
  cursor: pointer;
  text-align: center;
  transition: opacity .22s ease, visibility .22s ease;
}

.media-video-card.is-playing .media-video-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.media-video-play-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  padding-left: 5px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 24px 60px rgba(236, 99, 9, 0.32);
  font-size: 30px;
  line-height: 1;
}

.media-video-overlay strong {
  display: block;
  max-width: 360px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.media-video-overlay em {
  display: block;
  max-width: 430px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.media-video-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  color: #fff;
  background: rgba(3, 27, 50, .7);
  backdrop-filter: blur(14px);
  pointer-events: none;
}

.media-video-card.is-playing .media-video-caption {
  display: none;
}

.media-video-caption strong,
.media-video-caption span {
  display: block;
}

.media-video-caption strong {
  margin-bottom: 4px;
  font-size: 16px;
}

.media-video-caption span {
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

@media (max-width: 680px) {
  .media-video {
    min-height: 320px;
  }

  .media-video-caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 15px 16px;
  }
}

/* Reusable video player refinements V4 */
.media-video-card {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.media-video {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.media-video-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
}

.media-video-play-icon {
  margin: 0 auto;
  transform: translateY(0);
}

.media-video-caption {
  padding: 14px 16px;
}

.media-video-caption strong {
  display: none;
}

.media-video-caption span {
  display: block;
  max-width: 620px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  line-height: 1.45;
}

.media-video-card.is-playing .media-video-caption {
  display: none;
}

@media (max-width: 680px) {
  .media-video-card {
    aspect-ratio: 16 / 10;
  }
}
