/* =========================================================
   ADOBE FONTS
========================================================= */

/*
Keep your Adobe Fonts kit linked in the <head> of each page.

Available font families:

font-family: inter-18pt;
font-family: inter-24pt;
font-family: inter-28pt;

Recommended use:

inter-18pt = body text, labels, navigation, buttons
inter-24pt = medium headings and prominent supporting text
inter-28pt = hero headings, section headings, metrics


ROUNDED GOLDEN-RATIO TYPE SCALE

0.75rem   = Caption
0.875rem  = Small text
1rem      = Body
1.625rem  = Small heading
2.625rem  = Section heading
4.25rem   = Hero/display heading
*/


/* =========================
   GLOBAL RESET / BASE
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  border: 0;
  padding: 0;
}

body {
  font-family: inter-18pt;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #d1d8e1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Allow interface elements to inherit the site font */
button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

a {
  color: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

main {
  width: 100%;
  margin: auto;
  padding: 0;
}

main > h1 {
  font-family: inter-28pt;
  font-size: 2.625rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
}

/* Reset spacing for consistency */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.color-white {
  color: #ffffff;
}


/* =========================
   ACCESSIBILITY / FOCUS
========================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.65);
  outline-offset: 3px;
}


/* =========================
   HEADINGS
========================= */

.heading-hero,
.home-hero,
.heading-cta,
.heading-hero-dark,
.heading-section,
.heading-section-light,
.cap-card {
  font-family: inter-28pt;
}

.home-hero {
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.heading-hero {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0em;
  color: #ffffff;
}

.home-subtitle {
  font-family: inter-18pt;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.heading-cta {
  color: #ffffff;
  font-size: 3.25rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* Primary section titles */
.heading-section,
.heading-section-light {
  padding-bottom: 0.75rem;
  font-size: 2.625rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.heading-section-light {
  color: #ffffff;
}

.heading-lg,
.heading-md,
.heading-sm {
  font-family: inter-24pt;
  line-height: 1.25;
}

.heading-lg {
  font-size: 1.625rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.heading-md {
  color: #061a21;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.heading-sm {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cap-card {
  font-size: 2.625rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}


/* =========================
   FOOTER TEXT
========================= */

.footer-header {
  color: #f5f5f5;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-subheader {
  color: #f5f5f5;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.footer-body {
  max-width: 42rem;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25;
}

.footer-link {
  display: inline-block;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 200ms ease;
}

.footer-link:hover {
  color: #7dd3fc;
}

.footer-altitem {
  color: #ccced3;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}


/* =========================
   EYEBROW / LABEL TEXT
========================= */

.eyebrow,
.eyebrow-green,
.eyebrow-sm,
.eyebrow-light {
  padding-bottom: 0.25rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  color: #497c8f;
  font-size: 0.75rem;
}

.eyebrow-sm {
  color: #497c8f;
  font-size: 0.75rem;
}

.eyebrow-light {
  color: #00b0f0;
  font-size: 0.75rem;
}


/* =========================
   BODY TEXT
========================= */

.body-text {
  color: #545c68;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.body-text-light {
  max-width: 42rem;
  color: #c2c5ca;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.625;
}

.body-text-sm {
  max-width: 42rem;
  color: #c2c5ca;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.3;
}

.body-card {
  color: #64748b;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.625;
}

.temp {
  color: #f6f7f8;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.625;
}


/* =========================
   METRICS / NUMBERS
========================= */

.metric,
.stats-number {
  font-family: inter-28pt;
}

.metric {
  color: #06b6d4;
  font-size: 4.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.metric-label {
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stats-number {
  color: #ffffff;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0em;
  text-transform: uppercase;
  white-space: nowrap;
}

.stats-title {
  max-width: 24rem;
  margin-right: auto;
  margin-left: auto;
  font-family: inter-24pt;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0;
  text-wrap: balance;
}


/* =========================
   LINKS / CTA TEXT
========================= */

.link {
  display: inline-flex;
  align-items: center;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.link:hover {
  color: #0ea5e9;
}


/* =========================
   BUTTONS
========================= */

.btn-primary,
.btn-primary-light,
.btn-secondary,
.btn-secondary-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

.btn-primary:hover,
.btn-primary-light:hover,
.btn-secondary:hover,
.btn-secondary-light:hover {
  transform: translateY(-1px);
}

.btn-primary:active,
.btn-primary-light:active,
.btn-secondary:active,
.btn-secondary-light:active {
  transform: translateY(0);
}

.btn-primary {
  border: 1px solid #0ea5e9;
  background-color: #0ea5e9;
  color: #ffffff;
}

.btn-primary:hover {
  border-color: #0e9cdd;
  background-color: #0e9cdd;
  box-shadow: 0 0px 6px rgba(14, 165, 233, 0.2);
}

.btn-primary-light {
  border: 1px solid #0ea5e9;
  background-color: #0ea5e9;
  color: #ffffff;
}

.btn-primary-light:hover {
  border-color: #3fb2e7;
  background-color: #3fb2e7;
  box-shadow: 0 0px 6px rgba(14, 165, 233, 0.2);
}

.btn-secondary {
  border: 1px solid #353b52;
  background-color: transparent;
  color: #1c223e;
}

.btn-secondary:hover {
  border-color: #7f9c48;
  color: #8faf53;
}

.btn-secondary-light {
  border: 1px solid rgba(255, 255, 255, 0.9);
  background-color: transparent;
  color: #ffffff;
}

.btn-secondary-light:hover {
  border-color: #7f9c48;
  background-color: rgba(255, 255, 255, 0.08);
  color: #8faf53;
}


/* =========================
   MISC
========================= */

.section-line {
  width: min(calc(100% - 2rem), 80rem);
  height: 1px;
  margin: 0 auto;
  border: 0;
  background: #e2e8f0;
}

.timeline-dot,
.timeline-dot-active {
  position: relative;
  width: 1rem;
  height: 1rem;
  padding: 0;
  border: 2px solid #ffffff;
  border-radius: 9999px;
  cursor: pointer;
  transition:
    background-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

/* Larger invisible click and touch area */
.timeline-dot::after,
.timeline-dot-active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.75rem;
  height: 2.75rem;
  transform: translate(-50%, -50%);
}

.timeline-dot {
  background-color: #cbd5e1;
  box-shadow: 0 0 0 1px #e2e8f0;
}

.timeline-dot:hover {
  background-color: #00b0f0;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
  transform: scale(1.08);
}

.timeline-dot-active {
  background: linear-gradient(135deg, #38bdf8, #84cc16);
  box-shadow: 0 0 0 5px rgba(14, 165, 233, 0.16);
}

.timeline-dot-active:hover {
  box-shadow: 0 0 0 7px rgba(14, 165, 233, 0.18);
  transform: scale(1.08);
}


/* =========================
   NAV BAR / HEADER
========================= */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition:
    background-color 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.site-header.header-scrolled {
  background-color: #031a21;
  border-bottom-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.18);
}

.header-nav-item {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  transition:
    color 200ms ease,
    opacity 200ms ease;
}

.header-nav-item:hover,
.header-nav-item:focus-visible {
  color: #7dd3fc;
}

.header-nav-separator {
  width: 1px;
  height: 1.5rem;
  background-color: rgba(255, 255, 255, 0.61);
}

/* Contact button - transparent top state */
.site-header .header-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 9999px;
  background-color: transparent;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 250ms ease,
    border-color 250ms ease,
    color 250ms ease,
    box-shadow 250ms ease,
    transform 250ms ease;
}

.site-header .header-contact-btn:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  transform: translateY(-1px);
}

/* Contact button - scrolled state */
.site-header.header-scrolled .header-contact-btn {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #031a21;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.site-header.header-scrolled .header-contact-btn:hover {
  background-color: #5bb0da;
  border-color: #5bb0da;
  color: #ffffff;
}

/* Dropdown positioning parent */
.nav-group {
  position: relative;
}

/* Dropdown base */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  right: auto;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

/* Invisible hover bridge */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -18px;
  right: 0;
  left: 0;
  height: 18px;
}

/* Show dropdown with mouse or keyboard */
.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

/* Widths */
.nav-dropdown-small {
  width: 18rem;
}

.nav-dropdown-wide {
  left: auto;
  right: 0;
  width: min(38rem, calc(100vw - 2rem));
  transform: translateY(8px);
}

.nav-group:hover .nav-dropdown-wide,
.nav-group:focus-within .nav-dropdown-wide {
  transform: translateY(0);
}

/* Dropdown panel */
.nav-dropdown-inner {
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background:
    linear-gradient(
      180deg,
      rgba(9, 35, 43, 0.98),
      rgba(3, 26, 33, 0.98)
    );
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0.75rem;
  row-gap: 0.25rem;
}

/* Dropdown links */
.nav-dropdown-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 44px;
  padding: 0.85rem 0.95rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible {
  background-color: rgba(255, 255, 255, 0.07);
}

.nav-dropdown-title {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
}

.nav-dropdown-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
}

.nav-dropdown-link:hover .nav-dropdown-title,
.nav-dropdown-link:focus-visible .nav-dropdown-title {
  color: #7dd3fc;
}

.nav-dropdown-link:hover .nav-dropdown-desc,
.nav-dropdown-link:focus-visible .nav-dropdown-desc {
  color: rgba(255, 255, 255, 0.88);
}


/* =========================
   LAYOUT
========================= */

.site-container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 16px;
}

/* Tablet / smaller laptop screens and up */
@media (min-width: 768px) {
  .site-container {
    padding-inline: 42px;
  }
}

/* Large screens */
@media (min-width: 1024px) {
  .site-container {
    padding-inline: 52px;
  }
}


/* =========================
   HERO
========================= */

.hero-top-gradient {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 5;
  height: 10rem;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(3, 26, 33, 0.95) 0%,
    rgba(3, 26, 33, 0.72) 35%,
    rgba(3, 26, 33, 0.32) 70%,
    rgba(3, 26, 33, 0) 100%
  );
}

@media (min-width: 1024px) {
  .hero-top-gradient {
    height: 12rem;
  }
}


/* =========================
   BACKGROUND TEXTURE
========================= */

/* Subtle elevated navy texture */
.navy-texture {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.035) 0%,
      rgba(255, 255, 255, 0) 32%,
      rgba(0, 0, 0, 0.18) 100%
    ),
    #031a21;
}

.navy-texture::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.48;
  background-image:
    linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.045) 0 1px,
      transparent 1px 26px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 0 1px,
      transparent 1px 88px
    ),
    linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.02) 0 1px,
      transparent 1px 88px
    );
  background-size:
    42px 42px,
    88px 88px,
    88px 88px;

  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 14%,
    black 86%,
    transparent 100%
  );

  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 14%,
    black 86%,
    transparent 100%
  );
}

.navy-texture::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}


/* =========================
   MOBILE TYPOGRAPHY
========================= */

@media (max-width: 767px) {
  /*
  Lower mobile body base without changing the root HTML size.
  This prevents Tailwind rem-based spacing and sizing from shrinking.
  */

  body {
    font-size: 0.9375rem;
  }

  main > h1 {
    font-size: 2.625rem;
  }

  .home-hero {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #ffffff;
  }

  .home-subtitle {
    font-family: inter-18pt;
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
  }

  .heading-hero,
  .heading-hero-dark {
    font-size: 2.625rem;
    line-height: 1.1;
  }

  .heading-cta {
    font-size: 2.625rem;
  }

  .heading-section,
  .heading-section-light,
  .cap-card {
    font-size: 2rem;
    line-height: 1.2;
  }

  .heading-lg {
    font-size: 1.5rem;
  }

  .heading-md {
    font-size: 1.25rem;
  }

  .heading-sm {
    font-size: 1rem;
  }

  .heading-subhero {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .body-text,
  .body-text-light,
  .body-card,
  .temp {
    font-size: 0.9375rem;
  }

  .footer-body,
  .footer-altitem {
    font-size: 0.875rem;
  }

  .metric,
  .stats-number {
    font-size: 2.625rem;
  }

  .stats-title {
    font-size: 0.9375rem;
  }

  .btn-primary,
  .btn-primary-light,
  .btn-secondary,
  .btn-secondary-light {
    font-size: 0.9375rem;
    white-space: normal;
  }

  .nav-dropdown-grid {
    grid-template-columns: 1fr;
  }

  .nav-dropdown-small,
  .nav-dropdown-wide {
    width: min(20rem, calc(100vw - 2rem));
  }
}


/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* =========================
   Pre-formatted section attributes
========================= */

.section-padding {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

@media (min-width: 640px) {
  .section-padding {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }
}

.hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 280px;
  height: 48svh;
  max-height: 360px;
  background-color: #020617;
}

@media (min-width: 640px) {
  .hero-section {
    min-height: 320px;
    height: 52svh;
    max-height: 420px;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    min-height: 360px;
    height: 59svh;
    max-height: 458px;
  }
}

.hero-background {
  background-size: auto 125%;
  background-position: 80% 30%;
}

/* Large desktop screens */
@media (min-width: 1600px) {
  .hero-background {
    background-size: cover;
    background-position: 80% 30%;
    transform: scale(1.06);
    transform-origin: right center;
  }
}

/* Ultrawide screens */
@media (min-width: 2200px) {
  .hero-background {
    transform: scale(1.12);
  }
}