:root {
  --navy-950: #06121f;
  --navy-900: #0a1929;
  --navy-850: #0d2135;
  --navy-800: #112a42;
  --steel: #55738f;
  --steel-light: #9aafc0;
  --gold: #c4a368;
  --gold-light: #e1c58f;
  --ivory: #f5f3ed;
  --paper: #fbfaf7;
  --ink: #15212b;
  --muted: #60707d;
  --line: #dce1e3;
  --white: #ffffff;
  --background: var(--paper);
  --foreground: var(--ink);
  --font-geist-sans: Arial, Helvetica, sans-serif;
  --font-geist-mono: "Courier New", Courier, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body,
button,
a {
  font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
}

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

button {
  color: inherit;
}

::selection {
  background: var(--gold);
  color: var(--navy-950);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4.5vw, 76px);
  background: rgba(6, 18, 31, 0.91);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.logo-link,
.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
  background: var(--white);
  border-radius: 4px;
}

.brand-logo-header {
  height: 68px;
}

.brand-logo-section {
  height: 104px;
}

.brand {
  gap: 12px;
  color: var(--white);
}

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  display: inline-block;
  transform: rotate(45deg);
}

.brand-mark i {
  position: absolute;
  width: 8px;
  height: 28px;
  top: 4px;
  background: var(--gold);
  transform: skewY(-20deg);
}

.brand-mark i:nth-child(1) { left: 3px; height: 18px; top: 14px; }
.brand-mark i:nth-child(2) { left: 14px; height: 25px; top: 7px; }
.brand-mark i:nth-child(3) { left: 25px; }

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-size: 18px;
  letter-spacing: 0.23em;
  font-weight: 750;
}

.brand-copy span {
  margin-top: 4px;
  color: var(--steel-light);
  font-size: 8px;
  letter-spacing: 0.26em;
  font-weight: 650;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(21px, 2.4vw, 38px);
}

.nav-links > a:not(.nav-cta) {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 550;
  transition: color 180ms ease;
}

.nav-links > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 1px;
  background: var(--gold);
  transition: right 220ms ease;
}

.nav-links > a:not(.nav-cta):hover,
.nav-links > a:not(.nav-cta):focus-visible {
  color: var(--white);
}

.nav-links > a:not(.nav-cta):hover::after,
.nav-links > a:not(.nav-cta):focus-visible::after {
  right: 0;
}

.nav-cta {
  height: 45px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  color: var(--navy-950);
  background: var(--gold);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
}

.menu-toggle span {
  width: 20px;
  height: 1px;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 810px;
  height: 100svh;
  max-height: 1000px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background-color: var(--navy-950);
  background-image: url("./assets/apex-hero.webp");
  background-size: cover;
  background-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 13, 23, .97) 0%, rgba(4, 16, 28, .88) 38%, rgba(4, 16, 28, .39) 70%, rgba(4, 16, 28, .18) 100%),
    linear-gradient(0deg, rgba(4, 14, 25, .55), transparent 45%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .08;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, 82vw);
  margin-left: clamp(24px, 8.4vw, 136px);
  padding-top: 68px;
  animation: hero-in 850ms cubic-bezier(.2,.7,.2,1) both;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 24px;
  color: var(--steel);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 31px;
  height: 1px;
  background: var(--gold);
}

.hero-eyebrow,
.eyebrow-light {
  color: var(--gold-light);
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(48px, 5.35vw, 86px);
  line-height: .99;
  letter-spacing: -.045em;
  font-weight: 640;
}

.hero h1 em {
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.035em;
}

.hero-copy {
  max-width: 665px;
  margin: 29px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.7;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 38px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 21px;
  padding: 0 25px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-gold {
  color: var(--navy-950);
  background: var(--gold);
}

.button-gold:hover,
.button-gold:focus-visible {
  background: var(--gold-light);
}

.button-outline {
  color: var(--white);
  border-color: rgba(255,255,255,.35);
  background: rgba(5, 16, 28, .22);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
}

.arrow {
  font-size: 15px;
  line-height: 1;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: clamp(24px, 4.5vw, 76px);
  bottom: 33px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,.65);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.scroll-cue i {
  display: inline-block;
  width: 53px;
  height: 1px;
  background: rgba(255,255,255,.35);
  overflow: hidden;
}

.credential-strip {
  min-height: 78px;
  display: flex;
  align-items: center;
  background: var(--gold);
  color: var(--navy-950);
}

.credential-strip-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.credential-strip span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.credential-strip i {
  width: 4px;
  height: 4px;
  background: var(--navy-950);
  transform: rotate(45deg);
  opacity: .55;
}

.section {
  padding: clamp(95px, 10vw, 155px) 0;
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.about-section {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: clamp(60px, 8vw, 118px);
  align-items: center;
}

h2 {
  margin: 0;
  font-size: clamp(40px, 4.25vw, 66px);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 625;
}

.about-copy .lead {
  margin: 31px 0 18px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.58;
}

.about-copy > p:last-of-type {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.82;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-highlights div {
  min-width: 0;
  padding: 22px 14px 22px 0;
  border-right: 1px solid var(--line);
}

.about-highlights div + div {
  padding-left: 19px;
}

.about-highlights div:last-child {
  border-right: 0;
}

.about-highlights strong,
.about-highlights span {
  display: block;
}

.about-highlights strong {
  color: var(--navy-800);
  font-size: 26px;
  letter-spacing: -.03em;
}

.about-highlights span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.about-visual {
  position: relative;
}

.about-image-wrap {
  position: relative;
  aspect-ratio: 4 / 4.55;
  overflow: hidden;
  background: var(--navy-900);
}

.about-image-wrap::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgba(255,255,255,.18);
  pointer-events: none;
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) contrast(1.04);
  transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}

.about-visual:hover img {
  transform: scale(1.035);
}

.about-caption {
  position: absolute;
  z-index: 3;
  left: -58px;
  bottom: 39px;
  width: 255px;
  min-height: 135px;
  padding: 24px;
  color: var(--white);
  background: var(--navy-900);
  border-top: 3px solid var(--gold);
}

.about-caption span {
  color: var(--gold);
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  letter-spacing: .15em;
}

.about-caption p {
  margin: 16px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.55;
}

.capabilities-section {
  position: relative;
  background: var(--navy-950);
  color: var(--white);
}

.capabilities-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.7) 1px, transparent 0);
  background-size: 30px 30px;
  pointer-events: none;
}

.split-heading {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .68fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 69px;
}

.split-heading > p {
  margin: 0 0 6px;
  color: var(--steel-light);
  font-size: 15px;
  line-height: 1.76;
}

.capability-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.14);
  border-left: 1px solid rgba(255,255,255,.14);
}

.capability-card {
  position: relative;
  min-height: 325px;
  padding: 31px 30px;
  border-right: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
  overflow: hidden;
  transition: background 260ms ease, transform 260ms ease;
}

.capability-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.capability-card:hover {
  z-index: 2;
  background: var(--navy-800);
  transform: translateY(-5px);
}

.capability-card:hover::before {
  transform: scaleX(1);
}

.capability-topline {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--gold);
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  letter-spacing: .14em;
}

.capability-topline i {
  width: 35px;
  height: 1px;
  background: rgba(196,163,104,.55);
}

.capability-card h3 {
  max-width: 260px;
  margin: 38px 0 17px;
  font-size: 22px;
  font-weight: 610;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.capability-card p {
  margin: 0;
  color: var(--steel-light);
  font-size: 14px;
  line-height: 1.72;
}

.card-arrow {
  position: absolute;
  right: 27px;
  bottom: 24px;
  color: rgba(255,255,255,.24);
  font-size: 18px;
  transition: color 220ms ease, transform 220ms ease;
}

.capability-card:hover .card-arrow {
  color: var(--gold);
  transform: translate(2px, -2px);
}

.scope-note {
  position: relative;
  max-width: 780px;
  margin: 34px auto 0;
  color: rgba(255,255,255,.43);
  text-align: center;
  font-size: 11px;
  line-height: 1.7;
}

.why-section {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  background: var(--navy-900);
}

.why-image {
  min-height: 650px;
  background:
    linear-gradient(90deg, rgba(7,20,33,.02), rgba(7,20,33,.25)),
    url("./assets/apex-logistics-v3.webp") center / cover no-repeat;
}

.why-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(75px, 8vw, 130px) clamp(38px, 7vw, 110px);
  color: var(--white);
}

.why-panel h2 {
  max-width: 600px;
}

.strength-list {
  margin-top: 53px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.strength-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  padding: 23px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.strength-list article > span {
  color: var(--gold);
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  letter-spacing: .12em;
  padding-top: 5px;
}

.strength-list h3 {
  margin: 0 0 7px;
  font-size: 16px;
  font-weight: 650;
}

.strength-list p {
  margin: 0;
  color: var(--steel-light);
  font-size: 13px;
  line-height: 1.6;
}

.certification-section {
  background: var(--ivory);
}

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

.centered-heading .eyebrow {
  justify-content: center;
}

.centered-heading > p:last-child {
  max-width: 650px;
  margin: 27px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.cert-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.cert-card:hover {
  transform: translateY(-5px);
  border-color: rgba(196,163,104,.8);
  box-shadow: 0 19px 48px rgba(8, 25, 42, .09);
}

.cert-medallion {
  position: relative;
  width: 105px;
  height: 105px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.cert-medallion::before,
.cert-medallion::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(196,163,104,.35);
  transform: rotate(45deg);
}

.cert-medallion::before { width: 75px; height: 75px; }
.cert-medallion::after { width: 55px; height: 55px; }

.cert-medallion span {
  position: relative;
  z-index: 2;
  max-width: 75px;
  color: var(--navy-800);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.cert-medallion-logo::before,
.cert-medallion-logo::after {
  display: none;
}

.cert-medallion-logo {
  overflow: hidden;
  background: var(--white);
  box-shadow: inset 0 0 0 7px var(--paper);
}

.cert-medallion-logo img {
  position: relative;
  z-index: 2;
  width: 92px;
  height: 92px;
  object-position: center;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
}

.cert-card h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 16px;
  font-weight: 700;
}

.cert-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.cta-section {
  position: relative;
  padding: clamp(78px, 8vw, 115px) 0;
  overflow: hidden;
  background: var(--navy-800);
  color: var(--white);
}

.cta-pattern {
  position: absolute;
  right: -9vw;
  top: -180px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(196,163,104,.12);
  transform: rotate(45deg);
}

.cta-pattern::before,
.cta-pattern::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(196,163,104,.12);
}

.cta-pattern::before { inset: 90px; }
.cta-pattern::after { inset: 180px; }

.cta-inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

.cta-inner h2 {
  font-size: clamp(38px, 4vw, 60px);
}

.cta-inner > div:first-child > p:last-child {
  max-width: 630px;
  margin: 24px 0 0;
  color: var(--steel-light);
  font-size: 15px;
  line-height: 1.7;
}

.cta-actions {
  flex-direction: column;
  flex: 0 0 264px;
  margin: 0;
}

.cta-actions .button {
  width: 100%;
  justify-content: space-between;
}

.contact-section {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: .83fr 1.17fr;
  gap: clamp(55px, 9vw, 135px);
  align-items: start;
}

.contact-heading {
  position: sticky;
  top: 130px;
}

.contact-heading > p:last-child {
  max-width: 430px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.contact-card {
  padding: clamp(30px, 4vw, 54px);
  color: var(--white);
  background: var(--navy-900);
  border-top: 4px solid var(--gold);
  box-shadow: 0 30px 70px rgba(10, 25, 41, .16);
}

.contact-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.contact-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--steel-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #71ad87;
  box-shadow: 0 0 0 4px rgba(113,173,135,.1);
}

address {
  font-style: normal;
}

.contact-row {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.contact-row > span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.contact-row p {
  margin: 0;
  color: rgba(255,255,255,.87);
  font-size: 14px;
  line-height: 1.7;
}

.contact-row a {
  border-bottom: 1px solid rgba(255,255,255,.28);
  transition: color 180ms ease, border-color 180ms ease;
}

.contact-row a:hover,
.contact-row a:focus-visible {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.contact-emails {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.directions-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.security-note {
  margin: 28px 0 0;
  padding: 18px 20px;
  color: #fff4e8;
  background: rgba(229,138,43,.16);
  border: 1px solid rgba(229,138,43,.48);
  border-left: 4px solid #e58a2b;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.site-footer {
  padding-top: 78px;
  color: var(--white);
  background: var(--navy-950);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr .65fr;
  gap: 55px;
  padding-bottom: 60px;
}

.footer-brand > p {
  max-width: 290px;
  margin: 24px 0 0;
  color: var(--steel-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.65;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-column h3 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.footer-column span,
.footer-column a {
  color: var(--steel-light);
  font-size: 12px;
  line-height: 1.5;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--white);
}

.legal-disclosures {
  display: flex;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}

.legal-disclosures details {
  max-width: 520px;
}

.legal-disclosures summary {
  color: rgba(255,255,255,.67);
  cursor: pointer;
  font-size: 11px;
  list-style-position: inside;
}

.legal-disclosures details[open] {
  flex: 1;
}

.legal-disclosures p {
  margin: 13px 0 0;
  color: var(--steel-light);
  font-size: 10px;
  line-height: 1.7;
}

.footer-bottom {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 50px;
  padding: 25px 0 30px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,.42);
  font-size: 9px;
  line-height: 1.6;
}

.footer-bottom p:last-child {
  text-align: right;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.7,.2,1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.capability-card:nth-child(2),
.cert-card:nth-child(2) { transition-delay: 70ms; }
.capability-card:nth-child(3),
.cert-card:nth-child(3) { transition-delay: 140ms; }
.capability-card:nth-child(4),
.cert-card:nth-child(4) { transition-delay: 210ms; }
.capability-card:nth-child(5) { transition-delay: 280ms; }
.capability-card:nth-child(6) { transition-delay: 350ms; }

@media (max-width: 1080px) {
  .nav-links { gap: 20px; }
  .nav-links > a:not(.nav-cta) { display: none; }
  .about-grid { gap: 70px; }
  .capability-card { min-height: 350px; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .why-panel { padding-left: 60px; padding-right: 60px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .cta-actions { width: min(100%, 540px); flex: auto; flex-direction: row; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-nav { display: none; }
}

@media (max-width: 820px) {
  .site-header { height: 72px; padding: 0 22px; }
  .nav-links > a:not(.nav-cta) { display: block; }
  .nav-cta { width: 100%; justify-content: space-between; margin-top: 12px; }
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 72px;
    right: 0;
    width: min(390px, 100%);
    height: calc(100svh - 72px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 35px 28px;
    background: rgba(6,18,31,.98);
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 260ms ease, opacity 260ms ease;
  }
  .nav-links.is-open { transform: translateX(0); opacity: 1; pointer-events: auto; }
  .nav-links > a:not(.nav-cta) { padding: 17px 0; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero { min-height: 760px; height: 100svh; background-position: 64% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,13,23,.96), rgba(4,16,28,.66)), linear-gradient(0deg, rgba(4,14,25,.65), transparent); }
  .hero-content { width: calc(100% - 44px); margin: 0 22px; }
  .hero h1 { font-size: clamp(44px, 11.5vw, 68px); }
  .credential-strip { padding: 20px 0; }
  .credential-strip-inner { width: calc(100% - 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
  .credential-strip i { display: none; }
  .about-grid,
  .split-heading,
  .why-section,
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 65px; }
  .about-visual { width: 88%; margin-left: auto; }
  .about-caption { left: -45px; }
  .split-heading { gap: 25px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .why-section { min-height: 0; }
  .why-image { min-height: 520px; }
  .contact-heading { position: static; }
  .contact-grid { gap: 50px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 20px; }
}

@media (max-width: 560px) {
  .section-shell { width: calc(100% - 36px); }
  .brand-logo-header { height: 60px; }
  .brand-logo-section { height: 94px; }
  .site-header .brand-copy strong { font-size: 16px; }
  .site-header .brand-mark { width: 31px; height: 31px; transform: rotate(45deg) scale(.86); }
  .hero { min-height: 720px; }
  .hero-content { width: calc(100% - 36px); margin: 0 18px; padding-top: 58px; }
  .hero-eyebrow { max-width: 300px; line-height: 1.5; }
  .hero h1 { font-size: 42px; }
  .hero-copy { font-size: 15px; line-height: 1.62; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .scroll-cue { display: none; }
  .credential-strip-inner { width: calc(100% - 36px); grid-template-columns: 1fr; }
  .credential-strip span { font-size: 9px; }
  .section { padding: 85px 0; }
  h2 { font-size: 39px; }
  .about-copy .lead { font-size: 19px; }
  .about-highlights { grid-template-columns: 1fr; }
  .about-highlights div,
  .about-highlights div + div { padding: 17px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .about-highlights div:last-child { border-bottom: 0; }
  .about-visual { width: calc(100% - 23px); }
  .about-caption { left: -23px; bottom: 25px; width: 220px; min-height: 120px; padding: 20px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 290px; }
  .why-image { min-height: 390px; }
  .why-panel { padding: 75px 22px; }
  .cert-grid { grid-template-columns: 1fr; }
  .cta-inner { width: calc(100% - 36px); }
  .cta-actions { flex-direction: column; }
  .contact-card-top { align-items: flex-start; flex-direction: column; }
  .contact-row { grid-template-columns: 1fr; gap: 9px; }
  .contact-row p { font-size: 13px; overflow-wrap: anywhere; }
  .footer-main { grid-template-columns: 1fr; }
  .legal-disclosures { flex-direction: column; }
  .footer-bottom { grid-template-columns: 1fr; gap: 15px; }
  .footer-bottom p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
