/*
 * 04-E01 — ADD Aviation Home, local review v1.0.
 * Sources: 02-E01 v0.3 / 02-A-02 measurements and original EN captures;
 * 02-B-02 v0.3; 02-B-03/04/05 v1.0.
 *
 * Protected hero: original strings, recovered logo, declared font stack,
 * colors and measured composition. No font is downloaded or redistributed.
 * The effective reference font remains unverified (a declared stack is not
 * evidence of the font that supplied each glyph).
 *
 * Desktop grid, type and spacing were additionally observed on the live
 * reference. The original three captures remain authoritative. A zero row
 * gap, tablet 92px top padding, and mobile 72px top padding / 18px H1 margin /
 * 38px terms reconstruct the recorded rectangles; these are implementation
 * derivations, not claims that the original source CSS was recovered.
 *
 * Navigation switches at 1160px as the design's test candidate. Hero layout
 * switches at 1024px and 600px: intermediate widths need separate review,
 * because the source records 1440, 768 and 390px, not exact breakpoints.
 * New-section tokens implement the candidates in 02-B-02; they do not
 * override protected hero styles. Nothing here represents publication.
 */

:root {
  color-scheme: light;
  --color-ink: #0b2636;
  --color-text: #405a68;
  --color-link: #005e94;
  --color-surface: #ffffff;
  --color-subtle: #f5f8fa;
  --color-rule: #dce5e9;
  --color-hero-rule: #d7e4ec;
  --color-control: #7b929f;
  --page-gutter: 4.4vw;
  --header-height: 88px;
  --content-width: 1312px;
  font-family: Inter, Helvetica, Arial, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-ink);
  background: var(--color-surface);
}

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

html {
  margin: 0;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 0;
  background: var(--color-surface);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: var(--color-link);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--color-link);
  outline-offset: 3px;
}

section[id],
article[id],
main[id],
h2[id],
h3[id],
.top-anchor {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.top-anchor {
  height: 0;
}

/* Keep contextual screen-reader text in the accessibility tree only. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

p {
  margin: 0 0 24px;
  color: var(--color-text);
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--color-ink);
  font-weight: 400;
  overflow-wrap: normal;
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: 8px;
  left: var(--page-gutter);
  padding: 12px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-control);
  transform: translateY(-200%);
}

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

/* Global navigation: information and operational access stay distinct. */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 24px;
  height: var(--header-height);
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid var(--color-hero-rule);
  background: var(--color-surface);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 44px;
  line-height: 0;
}

.brand-link img {
  width: 240px;
  height: auto;
}

.primary-nav,
.header-utilities {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.header-utilities {
  justify-self: end;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  text-decoration: underline;
}

.disclosure,
.access-disclosure {
  position: relative;
}

summary {
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

.disclosure > summary,
.access-disclosure > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--color-ink);
  white-space: nowrap;
}

.disclosure > summary::after,
.access-disclosure > summary::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-top: -3px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.disclosure[open] > summary::after,
.access-disclosure[open] > summary::after {
  margin-top: 3px;
  transform: rotate(225deg);
}

.disclosure > summary:hover,
.access-disclosure > summary:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.dropdown {
  position: absolute;
  z-index: 60;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  margin: 0;
  padding: 12px;
  list-style: none;
  border: 1px solid var(--color-rule);
  background: var(--color-surface);
  box-shadow: 0 10px 24px rgb(11 38 54 / 7%);
}

.access-disclosure .dropdown {
  right: 0;
  left: auto;
}

.dropdown li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dropdown a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--color-ink);
  text-decoration: none;
  white-space: normal;
}

.dropdown a:hover {
  background: var(--color-subtle);
  text-decoration: underline;
}

.dropdown-label {
  margin: 4px 12px 8px;
  color: var(--color-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.dropdown-note {
  margin: 8px 12px 4px;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.language-choice {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  white-space: nowrap;
}

.language-choice [aria-current],
.language-choice .current {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.language-choice [aria-disabled="true"] {
  opacity: 0.6;
}

.mobile-navigation {
  display: none;
}

/* Protected reference hero; do not reuse its type scale for other sections. */
.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 0;
  max-width: 1760px;
  margin: 0 auto;
  padding: 8vw var(--page-gutter) 42px;
}

.hero-copy {
  grid-column: span 9;
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  color: var(--color-link);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-hero h1 {
  margin: 22px 0 36px;
  font-size: min(6.7vw, 117.92px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.hero-copy > p {
  width: 70%;
  margin: 0;
  font-size: min(1.6vw, 28.16px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px 34px;
  margin-top: 38px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.hero-links a {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--color-link);
  text-decoration: none;
}

.hero-links a:hover {
  border-bottom-width: 2px;
  padding-bottom: 3px;
}

.hero-terms {
  grid-column: 9 / -1;
  min-width: 0;
  color: rgb(154 184 223 / 30%);
  font-size: clamp(34px, 4.2vw, 73.92px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-align: right;
  user-select: none;
}

.hero-terms > span {
  display: block;
  padding: 12px 0;
  border-top: 1px solid var(--color-hero-rule);
}

/* Review information sits outside the frozen hero. */
.review-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 16px var(--page-gutter);
  border-top: 1px solid var(--color-rule);
  border-bottom: 1px solid var(--color-rule);
  background: var(--color-subtle);
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.5;
}

.review-note p {
  max-width: var(--content-width);
  margin: 0 auto;
}

.review-label {
  color: var(--color-link);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.review-note > .review-label {
  flex-shrink: 0;
}

.utility-strip {
  display: block;
  padding: 0;
  border-bottom: 1px solid var(--color-rule);
}

.utility-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px 48px;
  width: calc(100% - (2 * var(--page-gutter)));
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 48px 0;
}

.utility-inner > div {
  min-width: 0;
}

.utility-inner h2 {
  margin: 16px 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.utility-inner p {
  max-width: 58ch;
  margin: 0;
}

.utility-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.utility-links .access-note {
  max-width: 52ch;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

/* Content components from 02-B-04. Text grows naturally with its content. */
.section {
  padding: 96px 0;
}

.section + .section {
  border-top: 1px solid var(--color-rule);
}

.section-inner,
.footer-inner,
.footer-bottom {
  width: calc(100% - (2 * var(--page-gutter)));
  max-width: var(--content-width);
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 48px;
}

.section-heading h2,
.intelligence-statement h2 {
  margin: 16px 0 24px;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.section-lead {
  max-width: 68ch;
  font-size: 21px;
  line-height: 1.5;
}

.reading-column {
  max-width: 68ch;
  min-width: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 0;
  font-size: 16px;
  font-weight: 500;
}

.intelligence-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: start;
  gap: 72px;
}

.intelligence-statement {
  min-width: 0;
}

.intelligence-layout > .reading-column {
  padding-left: 32px;
  border-left: 1px solid var(--color-rule);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.capability {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--color-rule);
  border-radius: 6px;
  background: var(--color-subtle);
}

.item-number,
.service-number {
  color: var(--color-link);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.capability h3 {
  margin: 32px 0 20px;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.capability p {
  padding-top: 20px;
  border-top: 1px solid var(--color-rule);
  font-size: 17px;
  line-height: 1.6;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 32px;
}

.platform-card {
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--color-rule);
  border-radius: 8px;
  background: var(--color-surface);
}

.platform-logo {
  display: flex;
  align-items: center;
  min-height: 80px;
  margin-bottom: 32px;
}

.platform-logo img {
  width: auto;
  max-width: 240px;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

.platform-card h3 {
  margin: 12px 0 24px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.platform-context {
  max-width: 68ch;
  margin: 32px 0 0;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
}

.feature-list {
  margin: 24px 0;
  padding: 0;
  list-style: none;
  color: var(--color-text);
}

.feature-list li {
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--color-rule);
  font-size: 16px;
  line-height: 1.55;
}

.services-list {
  border-top: 1px solid var(--color-rule);
}

.service-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-rule);
}

.service-number {
  padding-top: 5px;
}

.service-title,
.service-copy {
  min-width: 0;
}

.service-title h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.service-copy ul {
  margin: 16px 0 0;
  padding-left: 1.15em;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
}

.service-copy li + li {
  margin-top: 8px;
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: start;
  gap: 72px;
}

.company-story,
.company-values {
  min-width: 0;
}

.company-story h3,
.company-values h3,
.updates-empty h3 {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
}

.values-names {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.values-names li {
  padding: 12px 0;
  border-top: 1px solid var(--color-rule);
  font-size: 19px;
  line-height: 1.5;
}

.values-names li:last-child {
  border-bottom: 1px solid var(--color-rule);
}

.updates-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: start;
  gap: 72px;
}

.updates-layout > .section-heading {
  margin-bottom: 0;
}

.updates-empty {
  max-width: 860px;
  padding: 32px;
  border: 1px solid var(--color-rule);
  border-radius: 8px;
  background: var(--color-subtle);
}

.updates-empty p {
  max-width: 68ch;
}

.updates-empty > .review-label {
  display: block;
  margin-bottom: 16px;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}

/* Footer links remain visible; no accordion is required for navigation. */
.site-footer {
  padding-top: 56px;
  border-top: 1px solid var(--color-rule);
  background: var(--color-surface);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
}

.footer-brand,
.footer-column {
  min-width: 0;
}

.footer-brand img {
  width: 240px;
  margin-bottom: 24px;
}

.footer-brand p {
  max-width: 35ch;
  font-size: 16px;
  line-height: 1.6;
}

.footer-column h2,
.footer-column h3,
.footer-column h4 {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
  white-space: normal;
  gap: 6px;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-column p {
  font-size: 15px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid var(--color-rule);
  color: var(--color-text);
  font-size: 13px;
  line-height: 1.5;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom .text-link {
  padding: 0;
  font-size: 13px;
}

/* Compact navigation candidate from 02-B-03, independent of hero layout. */
@media (max-width: 1159px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .brand-link img {
    width: 205px;
  }

  .primary-nav,
  .header-utilities > .access-disclosure {
    display: none;
  }

  .header-utilities {
    grid-column: 2;
    gap: 12px;
    font-size: 11px;
    line-height: 1.55;
  }

  .mobile-navigation {
    position: static;
    display: block;
  }

  .mobile-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--color-ink);
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
  }

  .mobile-panel {
    position: absolute;
    z-index: 55;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    max-height: calc(100vh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0;
    padding: 16px var(--page-gutter) 24px;
    border-top: 1px solid var(--color-rule);
    border-bottom: 1px solid var(--color-rule);
    background: var(--color-surface);
    font-size: 16px;
    line-height: 1.5;
  }

  .mobile-panel .nav-link,
  .mobile-panel > a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 0;
    color: var(--color-ink);
    text-decoration: none;
    white-space: normal;
  }

  .mobile-panel details {
    position: static;
    display: block;
  }

  .mobile-panel details > summary {
    justify-content: space-between;
    width: 100%;
    padding: 10px 0;
    white-space: normal;
  }

  .mobile-panel .dropdown {
    position: static;
    min-width: 0;
    padding: 0 0 12px 16px;
    border: 0;
    box-shadow: none;
  }

  .mobile-panel .dropdown a {
    padding-right: 0;
    padding-left: 0;
  }

  .mobile-panel .eyebrow {
    margin-top: 24px;
  }

  .capabilities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
}

/* Tablet hero: exact measured anchors at 768px, flexible text elsewhere. */
@media (max-width: 1024px) {
  .home-hero {
    padding-top: 92px;
  }

  .hero-copy {
    grid-column: 1 / -1;
  }

  .home-hero h1 {
    font-size: 10vw;
  }

  .hero-copy > p {
    width: 85%;
    font-size: 21px;
  }

  .hero-terms {
    grid-column: 7 / -1;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-heading h2,
  .intelligence-statement h2 {
    font-size: 34px;
  }

  .section-lead {
    font-size: 20px;
  }

  .intelligence-layout,
  .company-layout,
  .updates-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intelligence-layout > .reading-column {
    padding: 24px 0 0;
    border-top: 1px solid var(--color-rule);
    border-left: 0;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-card {
    max-width: none;
  }

  .service-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 16px 24px;
  }

  .service-copy {
    grid-column: 2;
  }

  .service-title h3,
  .platform-card h3,
  .company-story h3,
  .company-values h3,
  .updates-empty h3 {
    font-size: 25px;
  }
}

/* Mobile reference: 390px capture, plus reflow down to 320px. */
@media (max-width: 600px) {
  :root {
    --page-gutter: 22px;
    font-size: 17px;
  }

  .site-header {
    column-gap: 12px;
  }

  .brand-link img {
    width: 175px;
  }

  .home-hero {
    display: block;
    padding-top: 72px;
  }

  .home-hero h1 {
    margin-top: 18px;
    font-size: 13.8vw;
    line-height: 0.96;
  }

  .hero-copy > p {
    width: 100%;
    font-size: 19px;
  }

  .hero-links {
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
  }

  .hero-terms {
    margin-top: 72px;
    font-size: 38px;
  }

  .review-note {
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 13px;
  }

  .utility-strip {
    padding: 0;
  }

  .utility-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }

  .utility-inner h2 {
    font-size: 25px;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2,
  .intelligence-statement h2 {
    font-size: 30px;
    line-height: 1.2;
  }

  .section-lead {
    font-size: 19px;
  }

  .intelligence-layout,
  .company-layout,
  .updates-layout {
    gap: 32px;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .capability,
  .platform-card,
  .updates-empty {
    padding: 24px;
  }

  .capability h3,
  .platform-card h3,
  .service-title h3,
  .company-story h3,
  .company-values h3,
  .updates-empty h3 {
    font-size: 23px;
  }

  .capability h3 {
    margin-top: 24px;
  }

  .platform-logo img {
    max-width: min(240px, 100%);
  }

  .service-row {
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 16px;
    padding: 24px 0;
  }

  .service-copy ul {
    font-size: 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand img {
    width: 205px;
  }

  .footer-bottom {
    display: block;
    margin-top: 32px;
  }

  .footer-bottom > * + * {
    margin-top: 12px;
  }

  .footer-bottom > span {
    display: block;
  }
}

@media (max-width: 359px) {
  :root {
    --page-gutter: 18px;
  }

  .site-header {
    column-gap: 8px;
  }

  .brand-link img {
    width: 155px;
  }

  .header-utilities {
    gap: 8px;
  }

  .capability,
  .platform-card,
  .updates-empty {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
