@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ground: #e9ebea;
  --paper: #f4f5f4;
  --ink: #111617;
  --body: #424b4b;
  --midline: #b5bdbb;
  --blue: #0063ae;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--ground);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.hero :focus-visible, .contact :focus-visible, .platform :focus-visible { outline-color: #98daff; }
.frame { width: min(1664px, 100% - 2 * clamp(18px, 3.4vw, 56px)); margin-inline: auto; }
.skip-link {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 14px;
  padding: 12px 16px;
  background: white;
  transform: translateY(-130%);
}
.skip-link:focus { transform: none; }

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { width: 164px; flex: 0 0 auto; margin-left: -5px; }
nav { display: flex; gap: clamp(18px, 3.1vw, 46px); align-items: center; }
nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 650;
}
nav a:hover { color: var(--blue); }
.nav-contact { border: 1px solid #838e90; padding-inline: 18px; }
.nav-contact:hover { border-color: var(--blue); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(575px, 49vw, 755px);
  display: grid;
  align-items: end;
  background: #121c20;
  color: white;
  overflow: hidden;
}
.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, #0d151bc9 0%, #0d151b7a 36%, transparent 67%),
    linear-gradient(0deg, #0a0e11bb 0%, #0a0e1142 30%, transparent 62%);
}
.hero-film {
  position: absolute;
  z-index: -2;
  inset: 0;
}
.hero-film video {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.hero-video-tools {
  position: absolute;
  z-index: 1;
  right: clamp(20px, 3.3vw, 50px);
  bottom: clamp(18px, 2.8vw, 40px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px 14px;
  color: #fff;
  font-size: 0.9rem;
}
.hero-video-toggle {
  min-height: 42px;
  padding: 7px 12px;
  border: 1px solid #b7c3c3;
  background: #0a1115b3;
  color: white;
  font: inherit;
  cursor: pointer;
}
.hero-video-toggle:hover { background: #20343d; }
.hero-video-toggle[hidden] { display: none; }
.hero-copy {
  position: relative;
  padding: clamp(28px, 4vw, 62px);
  width: min(100%, 875px);
}
.hero h1 {
  font-size: clamp(4rem, 7vw, 7.4rem);
  letter-spacing: -0.023em;
  line-height: 0.87;
  text-transform: uppercase;
}
.hero p {
  max-width: 29rem;
  margin-top: 23px;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.5;
  color: #f2f5f4;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  min-height: 48px;
  padding: 10px 20px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.hero .button { margin-top: 25px; }
.button-solid { background: #fff; color: var(--ink); }
.button-solid:hover { background: #d9edfa; color: #063b64; }
.button-outline { color: white; border-color: #879393; }
.button-outline:hover { background: #283b40; border-color: #bfcfcf; }

.systems { padding-block: clamp(53px, 6.2vw, 97px) clamp(54px, 7vw, 105px); }
.section-heading {
  border-top: 2px solid var(--ink);
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 22px;
  padding-top: 17px;
  margin-bottom: 29px;
}
h2 {
  font-size: clamp(3.25rem, 6vw, 6.25rem);
  line-height: 0.85;
  letter-spacing: -0.026em;
  text-transform: uppercase;
}
.section-heading p {
  max-width: 337px;
  padding-top: 4px;
  color: var(--body);
  line-height: 1.5;
}
.system-grid {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.platform {
  grid-row: span 2;
  min-width: 0;
  min-height: 515px;
  display: flex;
  flex-direction: column;
  background: #151d20;
  color: white;
}
.platform-image {
  min-height: 0;
  flex: 1;
  display: grid;
  place-items: center;
  padding: 26px 25px 4px;
  background: radial-gradient(ellipse at 52% 54%, #536165, #1a2226 69%, #151d20 94%);
}
.platform-image img { max-height: 310px; width: min(100%, 630px); object-fit: contain; }
.platform-image figcaption { width: min(100%, 460px); margin-block: 8px 12px; }
.platform-image ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 23px;
  margin: 0;
  padding-inline-start: 21px;
  color: #dae0de;
  font-size: 0.875rem;
  line-height: 1.35;
}
.platform-image li::marker { color: #abdfff; font-weight: 700; }
.platform-copy { padding: 14px clamp(23px, 3.4vw, 49px) 30px; }
.system-grid h3 {
  font-size: clamp(2.3rem, 4.1vw, 4.35rem);
  line-height: 0.92;
  letter-spacing: -0.018em;
}
.system-grid p { line-height: 1.48; margin-top: 13px; }
.platform p { max-width: 375px; color: #dae0de; }
.system-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 13px;
  color: var(--blue);
  font-size: 0.9375rem;
  font-weight: 700;
  text-underline-offset: 0.3em;
}
.platform .system-link { color: #abdfff; }
.system-link:hover { text-decoration-thickness: 2px; }
.component {
  position: relative;
  display: grid;
  grid-template-columns: 0.93fr 1fr;
  align-items: center;
  min-width: 0;
  background: var(--paper);
  overflow: hidden;
}
.component-copy { position: relative; z-index: 1; padding: 23px 0 23px clamp(16px, 2.5vw, 35px); }
.component h3 { font-size: clamp(2.15rem, 3.45vw, 3.45rem); }
.component p { color: var(--body); max-width: 24ch; }
.component img {
  width: 100%;
  mix-blend-mode: multiply;
  filter: saturate(0.65);
}

.applications {
  border-top: 2px solid var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(25px, 5.2vw, 85px);
  padding-block: 23px clamp(57px, 6.5vw, 104px);
}
.application-list article { padding: 0 0 19px; }
.application-list article + article { padding-top: 19px; border-top: 1px solid var(--midline); }
.application-list h3 { font-size: 1.9rem; }
.application-list p { color: var(--body); line-height: 1.52; margin-top: 6px; max-width: 48ch; }

.contact { background: #182124; color: #fff; }
.contact-inner {
  padding-block: clamp(38px, 5vw, 75px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.contact h2 { font-size: clamp(2.85rem, 5.5vw, 5.8rem); }
.contact p { color: #e0e7e4; margin-top: 14px; line-height: 1.5; }
.contact-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.site-footer { background: #101618; color: #dde5e2; font-size: 0.875rem; }
.footer-inner {
  padding-block: 21px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.footer-inner a { text-underline-offset: 0.2em; }
.photo-credit { color: #b1bfba; }

@media (max-width: 900px) {
  .hero { min-height: 560px; }
  .system-grid { grid-template-columns: 1fr 1fr; }
  .platform { min-height: 470px; }
  .component { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
}

@media (max-width: 690px) {
  .frame { width: min(100% - 28px, 550px); }
  .header-inner { align-items: start; flex-direction: column; gap: 3px; padding-block: 9px 7px; }
  .brand { width: 132px; }
  nav { width: 100%; justify-content: space-between; gap: 8px; }
  nav a { min-height: 36px; font-size: 0.875rem; }
  .nav-contact { padding-inline: 10px; }
  .hero { min-height: 0; }
  .hero::after { display: none; }
  .hero-film { position: relative; inset: auto; aspect-ratio: 1.48; }
  .hero-film video { position: absolute; inset: 0; }
  .hero-video-tools {
    position: static;
    justify-content: space-between;
    padding: 0 19px 16px;
  }
  .hero-copy { padding: 23px 19px 26px; }
  .hero h1 { font-size: clamp(2.4rem, 11.1vw, 4.7rem); }
  .hero p { margin-top: 16px; }
  .hero .button { margin-top: 16px; }
  .section-heading { flex-direction: column; gap: 11px; margin-bottom: 20px; }
  .section-heading p { padding-top: 0; }
  .system-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .platform { grid-row: auto; min-height: 0; }
  .platform-image { padding: 22px 16px 3px; }
  .platform-copy { padding: 15px 18px 21px; }
  .component { grid-template-columns: 1fr 0.95fr; min-height: 207px; }
  .component h3 { font-size: clamp(1.9rem, 8.15vw, 2.8rem); }
  .component p { margin-top: 9px; }
  .component .system-link { margin-top: 8px; }
  .applications { grid-template-columns: 1fr; gap: 20px; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.button-dark { background: #16282d; color: white; }
.button-dark:hover { background: #00578f; }

.home-catalog-nav {
  margin-top: 24px;
  padding: 9px 0;
  border-block: 1px solid var(--midline);
  flex-wrap: wrap;
  gap: 0 clamp(18px, 4vw, 56px);
}
.home-catalog-nav a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.catalog-main { padding-block: clamp(24px, 4.5vw, 65px) clamp(48px, 7vw, 105px); }
.catalog-intro {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #142125 24%, #384c50);
  color: #fff;
  padding: clamp(24px, 5vw, 75px);
}
.catalog-intro h1, .product-intro h1 {
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.88;
  letter-spacing: -0.022em;
  text-transform: uppercase;
}
.catalog-intro p, .product-intro p {
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  margin-top: 18px;
  line-height: 1.5;
  max-width: 42ch;
}
.catalog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 23px;
  margin-bottom: 51px;
  border-bottom: 1px solid var(--midline);
}
.catalog-nav a { padding: 13px 0; }
.catalog-nav a:hover, nav a[aria-current="page"] { color: var(--blue); }
.catalog-section + .catalog-section { margin-top: clamp(38px, 5vw, 72px); }
.catalog-section h2, .product-info h2, .model-selection h2 { font-size: clamp(2.5rem, 5.2vw, 4.85rem); }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.catalog-card { min-width: 0; background: var(--paper); border: 1px solid #d0d6d4; }
.catalog-card > a:first-child {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.catalog-card-media {
  position: relative;
  aspect-ratio: 1.75;
  background: radial-gradient(ellipse, #fbfcfb 35%, #e1e7e5);
  overflow: hidden;
}
.catalog-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 14px 22px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.catalog-card-media .product-photo {
  inset: 46% auto auto 50%;
  width: auto;
  height: calc(100% - 14px);
  padding: 0;
  translate: -50% -50%;
}
.product-photo { clip-path: inset(17% 0 0); }
/* The enclosed LWIR module also has a badge beside the housing. */
.product-photo[src$="/ax-tfpthe03ip-usb.webp"] {
  clip-path: polygon(0 17%, 100% 17%, 100% 64.8%, 71% 64.8%, 71% 79%, 100% 79%, 100% 100%, 0 100%);
}
.catalog-card-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(17px, 2.2vw, 30px);
}
.catalog-card h3 { font-size: clamp(1.9rem, 3.1vw, 3.1rem); line-height: 0.97; }
.catalog-card p { color: var(--body); margin-block: 10px 12px; line-height: 1.48; }
.catalog-card .system-link { margin-top: auto; text-decoration: underline; }
#aircraft .catalog-grid { grid-template-columns: 1fr; }
#aircraft .catalog-card > a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
#aircraft .catalog-card-media { background: radial-gradient(ellipse, #5d6d70, #1b282d); }
#aircraft .catalog-card-media img { mix-blend-mode: normal; }
#aircraft .catalog-card-copy { justify-content: center; }
#aircraft .catalog-card .system-link { margin-top: 6px; }

.product-back {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin-bottom: 12px;
  color: var(--blue);
  font-weight: 700;
  text-underline-offset: 0.25em;
}
.product-intro {
  background: #f4f6f5;
  border-top: 2px solid var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}
.product-intro-copy { align-self: center; padding: clamp(20px, 3.5vw, 52px); }
.product-intro h1 { font-size: clamp(2.8rem, 6vw, 6.4rem); }
.product-intro p { color: var(--body); }
.product-intro .button { margin-top: 24px; }
.product-intro-image {
  min-height: 275px;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 35px);
  background: radial-gradient(ellipse, #f9faf9 25%, #dde4e3);
}
.product-intro-image img {
  max-height: 400px;
  width: min(100%, 580px);
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-intro-image .product-photo {
  width: min(100%, 400px);
  translate: 0 -4%;
}
.product-info {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 43px;
  border-top: 1px solid var(--midline);
  padding-top: 18px;
}
.product-info dl { display: grid; gap: 16px; margin: 0; }
.product-info dt { font-weight: 700; }
.product-info dd { margin: 4px 0 0; color: var(--body); line-height: 1.48; }
.model-table { width: 100%; border-collapse: collapse; text-align: left; line-height: 1.45; }
.model-table th, .model-table td { padding: 11px 15px; border-bottom: 1px solid #cbd2d0; overflow-wrap: anywhere; }
.model-table th { width: 46%; }
.model-table thead { background: #d9dfdd; }
.model-table tbody tr:nth-child(even) { background: #f1f3f2; }

.model-selection {
  margin-top: clamp(31px, 4vw, 56px);
  padding-top: 18px;
  border-top: 1px solid var(--midline);
  scroll-margin-top: 20px;
}
.model-selection p { color: var(--body); line-height: 1.5; margin-top: 8px; }
.model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.model-card { display: flex; flex-direction: column; }
.model-card > a:first-child { min-height: 0; flex: 1; }
.model-card h3 { font-size: clamp(1.65rem, 3vw, 2.75rem); overflow-wrap: anywhere; }
.model-card ul { padding-left: 1.15em; margin: 12px 0 18px; color: var(--body); line-height: 1.5; }
.model-card > .model-link {
  align-self: flex-start;
  padding-bottom: 18px;
  margin-inline: clamp(17px, 2.2vw, 30px);
}
.model-link, .model-table-link { color: var(--blue); font-weight: 650; text-underline-offset: 0.2em; }
.comparison-scroll { overflow-x: auto; margin-top: 16px; }
.comparison-table { min-width: 780px; }
.comparison-table th { width: auto; }
.comparison-table th:first-child { width: 29%; }
.model-table-link { display: inline-flex; align-items: center; gap: 12px; }
.model-table-link img { width: 64px; height: 64px; mix-blend-mode: multiply; }
.comparison-hint { display: none; font-size: 0.875rem; }
.model-intro h1 { font-size: clamp(2rem, 4.15vw, 5.1rem); overflow-wrap: anywhere; }
.model-specifications { margin: 18px 0 0; }
.model-specifications > div {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 12px 24px;
  padding: 12px 15px;
  border-bottom: 1px solid #cbd2d0;
  line-height: 1.45;
}
.model-specifications > div:nth-child(odd) { background: #f1f3f2; }
.model-specifications dt { font-weight: 700; }
.model-specifications dd { margin: 0; color: var(--body); }
.spec-note { border-left: 3px solid var(--blue); padding: 8px 14px; background: var(--paper); }

@media (max-width: 900px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comparison-hint { display: block; }
}
@media (max-width: 690px) {
  .catalog-nav { justify-content: flex-start; gap: 0 16px; margin-bottom: 37px; }
  .catalog-grid, #aircraft .catalog-card > a, .product-intro, .product-info { grid-template-columns: 1fr; }
  .catalog-card-media { aspect-ratio: 2; }
  .product-intro-image { min-height: 0; }
  .product-intro-image img { max-height: 280px; }
  .product-intro-image .product-photo { width: min(100%, 280px); }
  .product-info { margin-top: 31px; }
  .model-table th, .model-table td { padding: 9px 8px; }
}
@media (min-width: 500px) and (max-width: 690px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 499px) {
  .model-specifications > div { grid-template-columns: 1fr; gap: 3px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-copy { animation: enter-view 650ms 140ms cubic-bezier(0.22, 1, 0.36, 1) both; }
  .has-entered { animation: enter-view 580ms cubic-bezier(0.22, 1, 0.36, 1) both; }
  @keyframes enter-view {
    from { opacity: 0.35; translate: 0 15px; }
    to { opacity: 1; translate: 0 0; }
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .catalog-card-media img { transition: scale 240ms ease; }
  .catalog-card a:hover img { scale: 1.045; }
}
