/* ============================================
   CSS CUSTOM PROPERTIES (BRAND TOKENS)

   This is where you define all your brand colours,
   fonts, spacing etc. Change these and the whole
   site updates. This is the equivalent of your
   Squarespace "Design" panel — but you own it.
   ============================================ */

:root {
  /* Brand colours - taken from the live Air site */
  --color-dark: #1a1a2e;
  --color-navy: #16213e;
  --color-primary: #2d6a4f;       /* Green - primary accent */
  --color-primary-light: #40916c;
  --color-primary-dark: #1b4332;
  --color-white: #ffffff;
  --color-off-white: #f8f9fa;
  --color-light-grey: #e9ecef;
  --color-mid-grey: #6c757d;
  --color-text: #212529;
  --color-text-light: #495057;

  /* Typography */
  --font-heading: "acumin-variable", Arial, sans-serif;
  --font-body: "acumin-variable", Arial, sans-serif;
  --type-page-heading: clamp(2rem, 4vw, 3.25rem);
  --type-section-heading: clamp(1.5rem, 3vw, 2.25rem);
  --type-section-heading-line: 1.15;
  --type-section-lede: 18px;
  --type-section-lede-line: 1.7;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --container-max: 1650px;
  --container-padding: 2rem;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}


/* ============================================
   RESET & BASE
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* prevents horizontal scroll from 100vw elements */
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
}

.air-no-scroll,
.air-no-scroll body {
  overflow: hidden;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: var(--type-page-heading); }
h2 { font-size: var(--type-section-heading); }
h3 { font-size: 22px; }


/* ============================================
   AIR LOADER
   ============================================ */

:root {
  --air-loader-gradient: linear-gradient(135deg, #061F1B 0%, #08312A 52%, #0F1412 100%);
}

.air-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  place-items: center;
  background:
    radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(255, 255, 255, 0.025) 42%,
      rgba(255, 255, 255, 0) 70%
    ),
    var(--air-loader-gradient);
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 1;
  visibility: visible;
  transition: background 1.5s ease, opacity 1.5s ease, visibility 1.5s ease;
}

.air-loader.is-active {
  display: grid;
}

.air-loader--hide {
  background: #000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.air-loader__logo {
  width: 200px;
  height: auto;
  transform-origin: center;
  animation: air-loader-in 0.7s ease-out forwards;
}

.air-loader__logo.is-exiting {
  animation: air-loader-out 1.5s cubic-bezier(.22, .61, .36, 1) forwards;
}

@keyframes air-loader-in {
  from {
    transform: scale(.75);
    opacity: .85;
  }

  to {
    transform: scale(.90);
    opacity: 1;
  }
}

@keyframes air-loader-out {
  from {
    transform: scale(1.06);
    opacity: 1;
  }

  to {
    transform: scale(.75);
    opacity: 0;
  }
}

@media (max-width: 767px) {
  .air-loader__logo {
    width: clamp(150px, 48vw, 200px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .air-loader {
    transition: opacity .25s ease, visibility .25s ease;
  }

  .air-loader__logo,
  .air-loader__logo.is-exiting {
    animation: none;
  }
}


/* ============================================
   LAYOUT - CONTAINER

   This is your main wrapper. Every section uses
   it to stay centred and at a consistent width.
   ============================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}


/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  filter: brightness(.96);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  filter: brightness(.96);
}


/* ============================================
   HEADER / NAVIGATION — Mega Menu

   Transparent over the hero, white when scrolled.
   Two dropdown panels: Applications (3x2 grid)
   and Resources (2-column). Hover on desktop,
   tap on mobile. Full mobile accordion fallback.
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-light-grey);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Also go solid white when any mega panel is open */
.site-header.mega-open {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo img { height: 54px; width: auto; }
.logo-dark { display: none; }
.logo-light { display: block; }
.site-header.scrolled .logo-dark,
.site-header.mega-open .logo-dark { display: block; }
.site-header.scrolled .logo-light,
.site-header.mega-open .logo-light { display: none; }

/* Nav list */
.nav-list {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

/* Simple links + trigger buttons share base style */
.nav-list > li > a,
.mega-trigger {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-white);
  transition: color var(--transition-fast), opacity var(--transition-fast);
  padding: 0.5rem 0;
  opacity: 0.9;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-list > li > a:hover,
.mega-trigger:hover { opacity: 1; }

/* Scrolled / mega-open state — dark text */
.site-header.scrolled .nav-list > li > a,
.site-header.scrolled .mega-trigger,
.site-header.mega-open .nav-list > li > a,
.site-header.mega-open .mega-trigger {
  color: var(--color-text);
  opacity: 1;
}

.site-header.scrolled .nav-list > li > a:hover,
.site-header.scrolled .mega-trigger:hover,
.site-header.mega-open .nav-list > li > a:hover,
.site-header.mega-open .mega-trigger:hover {
  color: var(--air-green);
}

/* Chevron */
.mega-trigger .chevron {
  transition: transform var(--transition-fast);
  stroke: currentColor;
}
.mega-item.is-open .mega-trigger .chevron {
  transform: rotate(180deg);
}

/* ── Mega Panel (desktop) ──────────────────── */
.mega-panel {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: linear-gradient(160deg, #ffffff 0%, #f8faf9 40%, #f2f5f3 100%);
  border-top: 3px solid #A3AE9C;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  pointer-events: none;
  z-index: 999;
  overflow: hidden;
}

.mega-item.is-open .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-panel-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-lg) var(--container-padding);
  position: relative;
  z-index: 1;
}

/* Applications: 3x2 grid */
.mega-grid--3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

/* Resources: 2 columns */
.mega-columns {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-xl);
}

.mega-col { display: flex; flex-direction: column; gap: var(--space-xs); }

.mega-col--insights {
  gap: 0.5rem;
  max-height: min(54vh, 460px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.5rem;
  scrollbar-gutter: stable;
}

.mega-col--insights::-webkit-scrollbar {
  width: 6px;
}

.mega-col--insights::-webkit-scrollbar-track {
  background: rgba(8,49,42,.06);
  border-radius: 999px;
}

.mega-col--insights::-webkit-scrollbar-thumb {
  background: rgba(8,49,42,.28);
  border-radius: 999px;
}

.mega-col--insights::-webkit-scrollbar-thumb:hover {
  background: rgba(8,49,42,.42);
}

.mega-col--insights .mega-col-title {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 0 0 var(--space-xs);
  background: linear-gradient(180deg, #f8faf9 0%, rgba(248,250,249,.96) 72%, rgba(248,250,249,0) 100%);
}

.mega-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-mid-grey);
  margin-bottom: var(--space-xs);
  font-family: var(--font-heading);
}

/* Individual mega link */
.mega-link {
  display: block;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text);
  transition: background var(--transition-fast);
}

.mega-link:hover {
  background: rgba(45, 106, 79, 0.06);
}

.mega-link:hover strong {
  color: var(--color-primary);
}

/* Card variant with thumbnail — used in Applications grid */
.mega-link--card {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border: 1px solid var(--color-light-grey);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.mega-link--card:hover {
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.mega-thumb {
  width: 90px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.mega-card-body {
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mega-card-body strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  font-family: var(--font-heading);
  margin-bottom: 2px;
}

.mega-link--card:hover .mega-card-body strong {
  color: var(--color-primary);
}

.mega-link--insight {
  min-height: 76px;
}

.mega-link--insight .mega-thumb {
  width: 82px;
}

.mega-link--insight .mega-card-body {
  padding: 0.625rem 0.875rem;
}

.mega-link--insight .mega-card-body strong {
  font-size: 0.8125rem;
}

.mega-link--insight .mega-card-body span {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
  color: var(--color-mid-grey);
}

.mega-card-body span {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-light);
  line-height: 1.4;
}

.mega-link strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--color-text);
  font-family: var(--font-heading);
}

.mega-link span {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-light);
  line-height: 1.4;
}

/* ── Download cards (Resources panel) ────────── */
.mega-download {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text);
  border: 1px solid var(--color-light-grey);
  transition: background var(--transition-fast), border-color var(--transition-fast);
  margin-bottom: 0.5rem;
}

.mega-download:hover {
  background: var(--color-off-white);
  border-color: var(--color-primary);
}

.mega-download strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  font-family: var(--font-heading);
}

.mega-download span {
  display: block;
  font-size: 0.75rem;
  color: var(--color-mid-grey);
  line-height: 1.4;
}

.mega-dl-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-primary);
}

/* Divider between downloads and certificates trigger */
.mega-divider {
  height: 1px;
  background: var(--color-light-grey);
  margin: 0.75rem 0;
}

/* Certificates & reports trigger — matches mega-link but is a button */
.mega-docs-link {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: inherit;
  text-align: left;
  background: transparent;
}

/* Sage green accent on mega panels */

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header-social {
  color: var(--color-white);
  opacity: 0.9;
  transition: opacity var(--transition-fast), color var(--transition-fast);
  display: flex;
  align-items: center;
}
.header-social:hover { opacity: 1; }
.site-header.scrolled .header-social,
.site-header.mega-open .header-social { color: var(--color-text); }

/* Mobile toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition-fast);
}

.site-header.scrolled .mobile-menu-toggle span,
.site-header.mega-open .mobile-menu-toggle span {
  background: var(--color-text);
}

/* ── Mobile (≤ 768px) ──────────────────────── */
@media (max-width: 768px) {
  .mobile-menu-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-light-grey);
    padding: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .main-nav.active { display: block; }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  /* Simple links on mobile */
  .nav-list > li > a {
    display: block;
    padding: 1rem var(--container-padding);
    color: var(--color-text);
    opacity: 1;
    border-bottom: 1px solid var(--color-light-grey);
  }

  /* Mega trigger on mobile — full width, accordion style */
  .mega-trigger {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 1rem var(--container-padding);
    color: var(--color-text);
    opacity: 1;
    border-bottom: 1px solid var(--color-light-grey);
    text-align: left;
  }

  /* Mega panels on mobile — inline accordion, not absolute */
  .mega-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    display: none;
    background: var(--color-off-white);
  }

  .mega-item.is-open .mega-panel {
    display: block;
    pointer-events: auto;
  }

  .mega-panel-inner {
    padding: var(--space-sm) var(--container-padding) var(--space-md);
  }

  .mega-grid--3x2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mega-columns {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .mega-col--insights {
    max-height: 42vh;
    padding-right: 0.375rem;
  }

  .mega-col--insights .mega-col-title {
    background: linear-gradient(180deg, var(--color-off-white) 0%, rgba(248,249,250,.96) 72%, rgba(248,249,250,0) 100%);
  }

  .mega-link {
    padding: 0.75rem 0.5rem;
    border-radius: 0;
    border-bottom: 1px solid var(--color-light-grey);
  }

  .mega-link:last-child { border-bottom: none; }

  .mega-link--card {
    flex-direction: row;
    border: 1px solid var(--color-light-grey);
    border-radius: var(--radius-sm);
    margin-bottom: 0.375rem;
    padding: 0;
  }

  .mega-link--card:last-child { border-bottom: 1px solid var(--color-light-grey); }

  .mega-thumb { width: 70px; }

  .mega-link--insight .mega-thumb {
    width: 70px;
  }

  .mega-download {
    margin-bottom: 0.375rem;
    border-radius: var(--radius-sm);
  }

  .mega-divider { margin: 0.5rem 0; }
}


/* ============================================
   HERO

   Full-viewport centred hero with background image.
   Everything is stacked centre-aligned. The scroll
   chevron sits at the bottom and gently bounces.
   ============================================ */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img,
.hero-bg-video,
.hero-bg-placeholder {
  width: 100%;
  height: 100%;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  object-fit: cover;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  object-fit: cover;
}

.hero-bg-placeholder {
  background: linear-gradient(160deg, #1a2e1a 0%, #2d4a2d 30%, #1a3328 60%, #0f1f15 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 49, 42, 0.2) 0%, rgba(0, 0, 0, 0.38) 48%, rgba(0, 0, 0, 0.6) 100%),
    radial-gradient(circle at 50% 48%, rgba(8, 49, 42, 0.08) 0%, rgba(0, 0, 0, 0.38) 72%),
    linear-gradient(90deg, rgba(8,49,42,.26), transparent 35%, rgba(0,0,0,.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-white);
  padding: 0 var(--container-padding);
}

.hero-logo {
  margin: 0 auto var(--space-lg);
  opacity: 0.95;
  display: block;
  width: 240px;
  max-width: 22vw;
  aspect-ratio: 360 / 353;
  background: url("/assets/images/Air_logo_light_hero.webp") center / contain no-repeat;
}

@media (max-width: 767px) {
  .hero-logo {
    width: clamp(120px, 34vw, 130px);
    max-width: none;
    margin-bottom: clamp(22px, 7vw, 34px);
  }

  .hero-content {
    padding-inline: var(--container-padding);
  }
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .hero h1 {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-inline: 0;
    font-size: 1.65rem;
  }
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(24px, 3.2vw, 38px);
}

.hero-proof__item {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  background: rgba(8,49,42,.28);
  color: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Scroll down chevron — positioned at bottom of hero */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--color-white);
  opacity: 0.82;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.10),
    0 0 24px rgba(210, 232, 218, 0.46),
    0 12px 36px rgba(8, 49, 42, 0.34);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  animation: gentleBounce 2.5s ease-in-out infinite;
}

.hero-scroll-indicator::before {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.24) 0%, rgba(210, 232, 218, 0.17) 38%, transparent 72%);
  opacity: 0.86;
  animation: heroChevronGlow 3s ease-in-out infinite;
}

.hero-scroll-indicator svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.55));
}

.hero-scroll-indicator:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 34px rgba(226, 244, 232, 0.62),
    0 16px 42px rgba(8, 49, 42, 0.40);
}

@keyframes gentleBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes heroChevronGlow {
  0%, 100% {
    opacity: 0.66;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.hero-intro-item {
  opacity: 0;
  will-change: opacity, transform, filter;
}

.hero-intro-heading {
  transform: translateY(22px);
  filter: blur(4px);
}

.hero-intro-logo {
  transform: scale(.82);
  filter: blur(3px);
}

.hero-intro-chip {
  transform: translateY(14px) scale(.92);
}

.hero-intro-scroll {
  transform: translateX(-50%) translateY(14px) scale(.94);
  animation: none;
}

.hero-intro-ready .hero-intro-heading {
  animation: heroTextIntro 980ms cubic-bezier(.16, 1, .22, 1) var(--hero-intro-delay) both;
}

.hero-intro-ready .hero-intro-logo {
  animation: heroLogoIntro 1200ms cubic-bezier(.16, 1, .22, 1) var(--hero-intro-delay) both;
}

.hero-intro-ready .hero-intro-chip {
  animation: heroChipIntro 760ms cubic-bezier(.16, 1, .22, 1) var(--hero-intro-delay) both;
}

.hero-intro-ready .hero-intro-scroll {
  animation:
    heroScrollIntro 720ms cubic-bezier(.16, 1, .22, 1) var(--hero-intro-delay) both,
    gentleBounce 2.5s ease-in-out calc(var(--hero-intro-delay) + 720ms) infinite;
}

@keyframes heroTextIntro {
  0% {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroLogoIntro {
  0% {
    opacity: 0;
    transform: scale(.82);
    filter: blur(3px);
  }
  60% {
    opacity: 1;
    transform: scale(1.035);
    filter: blur(0);
  }
  100% {
    opacity: .95;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes heroChipIntro {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(.92);
  }
  70% {
    opacity: 1;
    transform: translateY(0) scale(1.015);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroScrollIntro {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(14px) scale(.94);
  }
  100% {
    opacity: .82;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-intro-item {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
    will-change: auto;
  }

  .hero-scroll-indicator,
  .hero-scroll-indicator::before {
    animation: none;
  }
}


/* ============================================
   PRODUCT MODULE

   The main product configurator — carousel on
   the left, info panel with variant/orientation/
   colour selectors on the right.
   ============================================ */

#air-product-hero {
  --air-green: #1F3B2D;
  --air-ink: #0F1412;
  --air-bg: #F7F9F8;
  --air-border: rgba(0,0,0,.12);
  --air-space: 16px;
  --air-space-lg: 24px;
  --air-radius: 16px;
  --air-icon: 36px;
  --air-dot: 8px;
  font-family: var(--font-body);
  color: var(--air-ink);
  padding: clamp(56px, 6vw, 96px) var(--container-padding);
  max-width: var(--container-max);
  margin: 0 auto;
  background: var(--color-white);
}

#air-product-hero, #air-product-hero * { box-sizing: border-box; }
#air-product-hero .wrap { width: 100%; max-width: none; margin: 0; }
#air-product-hero .grid { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 2.5vw, 36px); }
#air-product-hero .grid > div:last-child {
  align-self: center;
  padding: clamp(18px, 2vw, 30px);
  border: 1px solid rgba(8,49,42,.1);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, rgba(247,249,248,.72) 100%);
  box-shadow: 0 18px 48px rgba(8,49,42,.07);
}

/* Carousel */
.air-carousel {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  width: 100%;
  background: transparent;
  overflow: hidden;
}

.air-slide-layer {
  grid-area: 1/1;
  position: relative;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .42s ease;
}

.air-slide-layer.is-active { opacity: 1; }
.air-slide-layer img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 56vh;
  object-fit: contain;
  filter: saturate(.94) contrast(.98);
  transform: scale(.985);
  transition: transform .42s cubic-bezier(.2,.72,.18,1), filter .42s ease;
}

.air-slide-layer.is-active img {
  filter: saturate(1) contrast(1);
  transform: scale(1);
}

.air-ctrl {
  grid-area: 1/1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px;
  pointer-events: none;
}

.air-ctrl button {
  background: #08312A;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 10px 28px rgba(8,49,42,.18);
  transition: background-color .25s ease, transform .2s ease, box-shadow .25s ease;
}

.air-ctrl button:hover {
  background: #91A18A;
  transform: scale(1.05);
  box-shadow: 0 14px 34px rgba(8,49,42,.22);
}

.air-ctrl svg { stroke: #fff; width: 22px; height: 22px; stroke-width: 2.5; }

/* Dots */
.air-dots { margin-top: var(--air-space); display: flex; gap: 2px; justify-content: center; }
.air-dots button {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: transparent;
  position: relative;
}
.air-dots button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--air-dot);
  height: var(--air-dot);
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  transform: translate(-50%, -50%);
  transition: width .22s ease, background .22s ease;
}
.air-dots button[aria-current="true"]::before { width: 22px; background: #A3AE9C; }

/* Thumbnails */
.air-thumbs { margin-top: var(--air-space); padding-top: clamp(12px, 2vw, 20px); display: flex; gap: 10px; justify-content: center; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; flex-wrap: wrap; }
.air-thumb { position: relative; flex: 0 0 auto; width: 104px; height: 78px; border-radius: 8px; overflow: hidden; border: 1px solid var(--air-border); background: #fff; cursor: pointer; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.air-thumb img { width: 100%; height: 100%; object-fit: cover; }
.air-thumb[aria-current="true"] { outline: 2px solid var(--air-ink); outline-offset: 2px; box-shadow: 0 10px 24px rgba(8,49,42,.12); }
.air-thumb[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  height: 3px;
  border-radius: 999px;
  background: #FFD55A;
}
@media (hover: hover) {
  .air-thumb:hover {
    transform: translateY(-2px);
    border-color: rgba(8,49,42,.3);
    box-shadow: 0 12px 26px rgba(8,49,42,.12);
  }
}

/* Text & headings */
.air-h1 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 650; line-height: 1.1; }
.air-p { color: rgba(0,0,0,.8); margin-top: 10px; }
.air-p--intro-mobile { display: none; }
.air-legend { font-size: 13px; font-weight: 600; margin: 18px 0 8px; }

/* Disclosure / More info */
.air-disclosure-btn { margin-top: 6px; font-size: 14px; background: none; border: none; text-decoration: underline; cursor: pointer; color: var(--air-ink); opacity: .7; display: inline-flex; align-items: center; gap: 6px; transition: color .25s ease; }
.air-disclosure-btn svg { width: 14px; height: 14px; stroke-width: 2; transition: transform .25s ease; }
.air-disclosure-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
#air-more { display: block; }
#air-more[hidden] { display: none !important; }

/* Segmented controls (desktop/tablet) */
.air-seg-row { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; margin: 8px 0 6px; }
.air-seg-col { display: flex; flex-direction: column; gap: 8px; min-width: fit-content; }
.air-seg-col .air-legend { margin: 0 0 4px; }
.air-seg { display: inline-flex; padding: 4px; background: rgba(0,0,0,.06); border-radius: 999px; }
.air-seg button { border: none; border-radius: 999px; padding: 8px 14px; font-size: 14px; cursor: pointer; background: transparent; font-family: var(--font-body); transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.air-seg button[aria-pressed="true"] { background: #fff; border: 1px solid var(--air-border); box-shadow: 0 6px 18px rgba(8,49,42,.08); }

/* Select dropdowns (mobile) */
.air-selects { display: none; }
.air-selects label { font-size: 13px; font-weight: 600; margin: 18px 0 6px; display: block; }
.air-select {
  appearance: none; -webkit-appearance: none; width: 100%;
  border: 1px solid var(--air-border); border-radius: 999px;
  padding: 12px 16px; font-size: 14px; background: #fff; line-height: 1.2;
  font-family: var(--font-body);
}

/* Swatches */
.air-swatches { display: flex; flex-wrap: wrap; column-gap: 10px; row-gap: 10px; align-items: center; margin-bottom: 30px; max-width: 100%; }
.air-swatch { flex: 0 0 24px; width: 24px; min-width: 24px; height: 24px; min-height: 24px; padding: 0; border-radius: 50%; border: 2px solid rgba(0,0,0,.2); cursor: pointer; }
.air-swatch[aria-checked="true"] { border-color: #000; }
.air-swatch-label { flex: 1 1 180px; min-width: 0; font-size: 14px; margin-left: 6px; line-height: 1.35; }

/* CTAs */
.air-cta-row { display: flex; gap: 12px; margin-top: 18px; }
.air-btn { flex: 0 1 auto; border-radius: 999px; padding: 12px 28px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: var(--font-body); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.air-btn-primary { background: var(--air-green); color: #fff; border: none; }
.air-btn-outline { background: transparent; color: var(--air-green); border: 1px solid var(--air-green); }
.air-btn-primary:hover,
.air-btn-outline:hover { filter: brightness(.96); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(8,49,42,.12); }

.air-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.air-proof {
  padding: 14px 14px 13px;
  border: 1px solid rgba(8,49,42,.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8,49,42,.05);
}

.air-proof strong {
  display: block;
  color: var(--air-green);
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.15;
  margin-bottom: 4px;
}

.air-proof span {
  display: block;
  color: rgba(0,0,0,.62);
  font-size: 12px;
  line-height: 1.35;
}

/* Features grid */
.air-features { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 28px; column-gap: 30px; margin-top: 40px; }
.air-feature { display: flex; gap: 12px; align-items: center; }
.air-feature span { font-size: 16px; line-height: 1.5; color: rgba(0,0,0,.8); }
.air-feature-icon { width: var(--air-icon); height: var(--air-icon); flex-shrink: 0; }

/* Focus styles */
.air-seg button:focus-visible,
.air-swatch:focus-visible,
.air-ctrl button:focus-visible,
.air-dots button:focus-visible,
.air-thumb:focus-visible { outline: 2px solid var(--air-green); outline-offset: 2px; }

/* Desktop carousel height */
/* Desktop carousel */
@media (min-width: 1024px) {
  /* Right panel content defines the row height.
     Both columns stretch to match — top and bottom edges align. */
  #air-product-hero .grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  /* Left column: flex column so carousel, dots, and thumbs
     stack and share the available height. */
  #air-product-hero .grid > div:first-child {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  /* Carousel takes all leftover space after dots + thumbs.
     Position: relative so abs-positioned children sit inside. */
  #air-product-hero .air-carousel {
    flex: 1 1 0;
    min-height: 0;
    position: relative;
  }

  /* Slide layers are absolutely positioned so they DON'T
     define the carousel's height — the flex layout does that.
     The image then scales to fit within whatever space exists. */
  #air-product-hero .air-slide-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Image scales down to fit the available space */
  #air-product-hero .air-slide-layer img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  /* Controls overlay also absolute */
  #air-product-hero .air-ctrl {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
  }

  /* Dots and thumbs keep their natural size */
  #air-product-hero .air-dots { flex-shrink: 0; }
  #air-product-hero .air-thumbs { flex-shrink: 0; }
}

/* Mobile overrides */
@media (max-width: 767px) {
  #air-product-hero {
    padding-top: clamp(44px, 12vw, 64px);
    padding-bottom: clamp(44px, 12vw, 64px);
  }
  .air-thumbs { display: none !important; }
  .air-p--intro { display: none !important; }
  .air-p--intro-mobile { display: block !important; margin-top: 10px; color: rgba(0,0,0,.8); }
  .air-seg-row { display: none !important; }
  .air-selects { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 8px; }
  #air-product-hero .air-cta-row { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
  #air-product-hero .air-btn { width: 100%; flex: none; display: block; text-align: center; }
  #air-product-hero .air-carousel { border-radius: 0; }
  #air-product-hero .air-slide-layer img { max-height: 38vh; }
  #air-product-hero .grid > div:last-child { padding: 0; border: none; box-shadow: none; background: transparent; }
  #air-product-hero .air-proof-strip { grid-template-columns: 1fr; }
  #air-product-hero .air-features { margin-top: clamp(60px, 12vw, 100px); }
  #air-product-hero .air-swatches { column-gap: 9px; row-gap: 10px; margin-bottom: 24px; }
  #air-product-hero .air-swatch { flex-basis: 24px; }
  #air-product-hero .air-swatch-label { flex: 0 0 100%; width: 100%; margin-left: 0; margin-top: 2px; }
}

@media (min-width: 768px) { .air-p--intro-mobile { display: none !important; } }
@media (max-width: 640px) { .air-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .air-features { grid-template-columns: 1fr; } }


/* ============================================
   ZOOM BUTTON — Magnifying glass on carousel
   ============================================ */

.air-zoom-btn {
  position: absolute;
  top: 12px;
  right: 66px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.air-zoom-btn:hover { background: #fff; transform: scale(1.08); }
.air-zoom-btn svg { width: 20px; height: 20px; stroke: #0F1412; }


/* ============================================
   LIGHTBOX — Full-screen image overlay
   ============================================ */

.air-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.air-lightbox.is-open { opacity: 1; visibility: visible; }

.air-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.88);
  cursor: pointer;
}

.air-lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 60px;
}

.air-lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.air-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.air-lightbox-close:hover { background: rgba(255,255,255,.25); }
.air-lightbox-close svg { width: 22px; height: 22px; stroke: #fff; }

.air-lightbox-prev,
.air-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.air-lightbox-prev { left: 20px; }
.air-lightbox-next { right: 20px; }
.air-lightbox-prev:hover,
.air-lightbox-next:hover { background: rgba(255,255,255,.25); }
.air-lightbox-prev svg,
.air-lightbox-next svg { width: 24px; height: 24px; stroke: #fff; }

.air-lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  font-family: var(--font-body);
}

html.air-lightbox-lock { overflow: hidden; }

@media (max-width: 767px) {
  .air-lightbox-content { padding: 20px; }
  .air-lightbox-prev { left: 8px; }
  .air-lightbox-next { right: 8px; }
}


/* ============================================
   SECTION DEFAULTS

   Consistent vertical padding across all sections
   (apart from hero which is full-viewport).
   The section divider line provides visual separation
   so padding can be uniform regardless of background.
   ============================================ */

section {
  padding: clamp(56px, 6vw, 96px) 0;
  border-top: 6px solid #A3AE9C;
}

/* No divider on the hero or nested sections */
.hero,
#air-applications,
section:first-of-type {
  border-top: none;
}

/* Product module has internal padding that insets the border —
   use a pseudo-element instead so it goes full edge-to-edge */
#air-product-hero {
  border-top: none;
  position: relative;
}
#air-product-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 6px;
  background: #A3AE9C;
}

/* Footer — no extra margin needed */
#air-footer-strip {
  margin-top: 0;
}

/* ── Type hierarchy refinement ──────────────── */
#air-eol-loop .air-h1 {
  font-size: var(--type-section-heading);
}

.section-subtitle {
  color: var(--color-text-light);
  font-size: var(--type-section-lede);
  line-height: var(--type-section-lede-line);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
}

@media (max-width: 767px) {
  :root {
    --type-section-lede: 17px;
    --type-section-lede-line: 1.65;
  }

  h2,
  .section-heading,
  #air-vs-timber-avt h2,
  #air-eol-loop .air-h1,
  #air-insights h2,
  [data-air-contact] h2 {
    font-size: var(--type-section-heading);
    line-height: var(--type-section-heading-line);
  }

  .section-subtitle {
    max-width: none;
    font-size: var(--type-section-lede);
    line-height: var(--type-section-lede-line);
    text-align: left;
  }
}


/* ============================================
   LIFECYCLE COMPARISON (scroll-driven)

   Dark green background section. Two bars fill
   as the user scrolls into view. The Air bar has
   a logo cap; the timber bar shows "Replace"
   labels and red X markers at 10/20/30 years.
   ============================================ */

#air-vs-timber-avt {
  --bg-green: #08312A;
  --ink: #FFFFFF;
  --rail: #FFFFFF22;
  --rail-strong: #FFFFFF35;
  --air-fill: #FFFFFFF2;
  --timber-fill: #FFFFFF4D;
  --red: #C62828;
  --air-logo-url: url("/assets/images/Air_logo_dark_ui.webp");
  --air-logo-w: clamp(140px, 18vw, 260px);
  --air-logo-ratio: 3.4;
  --air-logo-gap: clamp(12px, 2.2vw, 28px);

  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-green) 0%, #0A3A32 100%);
  overflow: hidden;
}

.avt-wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

#air-vs-timber-avt h2 { font-size: var(--type-section-heading); font-weight: 600; line-height: var(--type-section-heading-line); margin: 0 0 16px; color: var(--ink); font-family: var(--font-heading); }
#air-vs-timber-avt h3 { font-size: 22px; font-weight: 600; margin: 28px 0 12px; color: var(--ink); font-family: var(--font-heading); }
#air-vs-timber-avt p { margin: 16px 0 0; color: var(--ink); }

.avt-proof-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: clamp(24px, 3vw, 38px) 0 clamp(28px, 4vw, 48px);
}

@media (min-width: 760px) {
  .avt-proof-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.avt-proof {
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  color: #fff;
  transform: translateY(8px);
  opacity: .72;
  transition: opacity .35s ease, transform .35s ease, border-color .35s ease, background .35s ease;
}

.avt-proof.is-on {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(255,255,255,.34);
  background: rgba(255,255,255,.1);
}

.avt-proof__kicker {
  display: block;
  margin-bottom: 10px;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.avt-proof strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.1;
  font-family: var(--font-heading);
}

.avt-proof span:last-child {
  display: block;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.55;
}

.avt-impact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: clamp(30px, 4vw, 52px) 0 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.14);
  box-shadow: 0 24px 64px rgba(0,0,0,.16);
}

@media (min-width: 820px) {
  .avt-impact-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.avt-impact-card {
  min-height: 100%;
  padding: clamp(18px, 2vw, 24px);
  background: rgba(255,255,255,.075);
  color: #fff;
}

.avt-impact-card__label {
  display: block;
  margin-bottom: 12px;
  color: rgba(255,255,255,.64);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.avt-impact-card strong {
  display: block;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(21px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.12;
}

#air-vs-timber-avt .avt-impact-card p {
  margin-top: 10px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.58;
}

@media (prefers-reduced-motion: reduce) {
  .avt-proof {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Tracks */
.avt-stack { display: grid; gap: 18px; margin: 0; }
.avt-track { position: relative; height: 56px; border-radius: 12px; background: #FFFFFF10; border: 1px solid var(--rail); overflow: hidden; }
.avt-fill { position: absolute; inset: 0 auto 0 0; width: 0%; border-radius: 12px; }
.avt-fill.air { background: var(--air-fill); }
.avt-fill.timber { background: var(--timber-fill); }

/* Tick lines */
.avt-ticks { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.avt-tick { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--rail-strong); transform: translateX(-50%); }
.avt-tick[data-year="10"] { left: 25%; }
.avt-tick[data-year="20"] { left: 50%; }
.avt-tick[data-year="30"] { left: 75%; }

/* Replace labels above the Timber bar */
.avt-track-wrap { position: relative; margin-top: 12px; }
.avt-labels { position: absolute; bottom: 100%; left: 0; right: 0; margin-bottom: 20px; pointer-events: none; z-index: 3; }
.avt-label {
  position: absolute; transform: translateX(-50%);
  font-size: 12px; letter-spacing: .04em; text-transform: uppercase; font-weight: 600;
  background: #E8B71A; color: #fff; padding: 2px 6px; border-radius: 999px;
  opacity: 0; transition: opacity .35s ease, transform .35s ease;
}
.avt-label[data-year="10"] { left: 25%; }
.avt-label[data-year="20"] { left: 50%; }
.avt-label[data-year="30"] { left: 75%; }
.avt-label.is-on { opacity: 1; transform: translateX(-50%) translateY(-2px); }

/* Red X markers */
.avt-x {
  position: absolute; bottom: 6px; transform: translateX(-50%) scale(.9);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; box-shadow: 0 0 0 2px #FFFFFF33, 0 4px 10px rgba(0,0,0,.25);
  opacity: 0; z-index: 3; transition: opacity .35s ease, transform .35s ease;
}
.avt-x::before { content: "×"; font-size: 20px; font-weight: 700; line-height: 1; }
.avt-x.is-on { opacity: 1; transform: translateX(-50%) scale(1); }

/* Ruler */
.avt-ruler { display: flex; justify-content: space-between; font-size: 12px; color: #FFF; opacity: .9; padding: 10px 0 0 0; margin: 0; }

/* Air logo cap on the fill */
#air-vs-timber-avt .avt-fill.air {
  overflow: visible; will-change: width;
  min-width: calc(var(--air-logo-w) + var(--air-logo-gap));
}
#air-vs-timber-avt .avt-fill.air::after {
  content: ""; position: absolute; top: 50%;
  right: 0; transform: translate(0, -50%);
  width: var(--air-logo-w); aspect-ratio: var(--air-logo-ratio);
  background: var(--air-logo-url) center / contain no-repeat;
  opacity: .95; pointer-events: none; z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
}

/* Metric Chip (BS EN certified badge) */
.metric-chip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(.96);
  background: #08312A; color: #fff; border: 1px solid #0a4a3f; border-radius: 999px;
  padding: 10px 14px; font-size: 12px; line-height: 1; letter-spacing: .02em;
  box-shadow: 0 6px 18px rgba(0,0,0,.25), 0 0 0 2px rgba(255,255,255,.65);
  opacity: 0; transition: opacity .35s ease, transform .35s ease;
  z-index: 5; white-space: nowrap; pointer-events: none;
}
.metric-chip.is-on { opacity: 1; transform: translate(-50%,-50%) scale(1); }

/* Mobile overrides */
@media (max-width: 767px) {
  #air-vs-timber-avt {
    padding-block: clamp(54px, 14vw, 76px);
  }

  #air-vs-timber-avt h2 {
    max-width: none;
    font-size: var(--type-section-heading);
    line-height: var(--type-section-heading-line);
    margin-bottom: 14px;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  #air-vs-timber-avt > .avt-wrap > p {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    font-size: var(--type-section-lede);
    line-height: var(--type-section-lede-line);
    text-align: left;
    color: rgba(255,255,255,.82);
  }

  #air-vs-timber-avt .avt-proof-row,
  #air-vs-timber-avt .avt-impact-grid {
    display: none !important;
  }

  #air-vs-timber-avt .avt-stack {
    margin-top: clamp(34px, 10vw, 52px);
    gap: 14px;
  }

  #air-vs-timber-avt h3 {
    margin: 20px 0 10px;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255,255,255,.9);
  }

  #air-vs-timber-avt .avt-track {
    height: 46px;
    border-radius: 10px;
  }

  #air-vs-timber-avt .metric-chip {
    padding: 8px 11px;
    font-size: 11px;
  }

  #air-vs-timber-avt .avt-labels {
    margin-bottom: 12px;
  }

  #air-vs-timber-avt .avt-label {
    font-size: 10px;
    padding: 2px 5px;
  }

  #air-vs-timber-avt .avt-x {
    width: 28px;
    height: 28px;
  }

  #air-vs-timber-avt .avt-ruler {
    font-size: 11px;
    color: rgba(255,255,255,.78);
  }

  #air-vs-timber-avt .avt-fill.air { min-width: 0; }
  #air-vs-timber-avt .avt-fill.air::after { width: clamp(180px, 42vw, 260px); right: clamp(14px, 3vw, 24px); }
}


/* ============================================
   CIRCULARITY — End-of-Life Loop

   Ring animation on left, stage cards on right.
   Clicking a card advances the ring progress and
   updates the centre text.
   ============================================ */

#air-eol-loop {
  --air-green: #1F3B2D;
  --air-ink: #0F1412;
  --air-bg: #F7F9F8;
  --air-border: rgba(0,0,0,.12);
  --air-space: 16px;
  --air-radius: 16px;
  --air-icon: 36px;
  --ring1: #1B6B57; --ring2: #2A8C73; --ring3: #88C8A9;
  --accent: #FFD55A;
  --gap: clamp(16px, 2vw, 24px);
  --eol-sticky-top: clamp(82px, 9vh, 118px);
  font-family: var(--font-body);
  color: var(--air-ink);
  background: #fff;
  margin: 0;
}

#air-eol-loop .wrap { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-padding); }
#air-eol-loop .grid { display: grid; align-items: stretch; grid-template-columns: 1fr; row-gap: clamp(20px, 2.5vw, 36px); column-gap: var(--gap); }

@media (min-width: 980px) {
  #air-eol-loop .grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 1181px) {
  #air-eol-loop {
    min-height: 285vh;
    padding: 0;
  }

  #air-eol-loop .wrap {
    position: sticky;
    top: var(--eol-sticky-top);
    display: grid;
    min-height: calc(100vh - var(--eol-sticky-top));
    align-content: center;
    padding-top: clamp(28px, 4vh, 56px);
    padding-bottom: clamp(28px, 4vh, 56px);
  }

  #air-eol-loop .grid {
    align-items: center;
  }
}

/* Ring */
#air-eol-loop .ring-wrap { margin: 0; width: 100%; max-width: 760px; aspect-ratio: 1/1; position: relative; display: grid; place-items: center; justify-self: start; min-width: 0; }

@media (min-width: 1181px) {
  #air-eol-loop .ring-wrap {
    max-width: min(620px, 62vh);
    justify-self: center;
  }
}
#air-eol-loop .ring-svg { width: 100%; height: auto; display: block; }
#air-eol-loop .ring-track, #air-eol-loop .ring-progress { stroke-width: 20; stroke-linecap: round; fill: none; transform: rotate(-90deg); transform-origin: 50% 50%; transform-box: fill-box; }
#air-eol-loop .ring-track { stroke: #E6E8E6; }
#air-eol-loop .ring-progress { stroke: url(#air-eol-gradient); filter: drop-shadow(0 0 8px rgba(136,200,169,.25)); transition: stroke-dashoffset .14s linear; }
#air-eol-loop .ring-dot { fill: #9CCFB7; transition: fill .25s ease, filter .25s ease; }
#air-eol-loop .ring-dot.is-active-dot { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }

/* Ring center text */
#air-eol-loop .ring-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding-inline: 24px; z-index: 1; }
#air-eol-loop .center-grid { display: grid; justify-items: center; align-content: center; gap: clamp(14px, 1.6vw, 22px); width: min(78%, 520px); margin: 0 auto; }
#air-eol-loop .center-line-1 { color: var(--ring2); text-transform: uppercase; letter-spacing: 0; font-size: 12px; }
#air-eol-loop .center-line-2 { font-weight: 650; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.1; font-family: var(--font-heading); }
#air-eol-loop .center-line-3 { color: rgba(0,0,0,.8); font-size: 16px; line-height: 1.5; max-width: 38ch; margin-inline: auto; }

/* Right column */
#air-eol-loop .right { display: grid; grid-template-rows: min-content 1fr min-content; row-gap: clamp(20px, 2.5vw, 28px); height: 100%; min-height: 0; justify-self: stretch; }
#air-eol-loop .air-h1 { font-size: var(--type-section-heading); font-weight: 650; line-height: var(--type-section-heading-line); margin: 0; font-family: var(--font-heading); }
#air-eol-loop .air-p { color: rgba(0,0,0,.8); margin-top: 30px; max-width: 70ch; }

#air-eol-loop .eol-proof-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(8,49,42,.12);
  border-radius: 8px;
  background: rgba(8,49,42,.12);
  box-shadow: 0 18px 44px rgba(8,49,42,.06);
}

@media (min-width: 740px) {
  #air-eol-loop .eol-proof-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

#air-eol-loop .eol-proof {
  padding: 16px;
  background: linear-gradient(180deg, #fff 0%, rgba(247,249,248,.84) 100%);
}

#air-eol-loop .eol-proof strong {
  display: block;
  color: var(--air-green);
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.1;
  margin-bottom: 6px;
}

#air-eol-loop .eol-proof span {
  color: rgba(0,0,0,.64);
  display: block;
  font-size: 13px;
  line-height: 1.45;
}

/* Stage cards */
#air-eol-loop .tile-area { min-height: 0; display: block; margin-top: clamp(24px, 3vw, 40px); }
#air-eol-loop .stages { display: grid; gap: clamp(16px, 2vw, 24px); list-style: none; padding: 0; margin: 0; grid-auto-rows: 1fr; }
@media (min-width: 740px) { #air-eol-loop .stages { grid-template-columns: 1fr 1fr; } }
#air-eol-loop .stages > li { display: flex; min-width: 0; }

#air-eol-loop .card {
  background: #fff; border: 1px solid var(--air-border);
  padding: clamp(20px, 2vw, 28px); color: var(--air-green);
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px;
  border-radius: 8px; text-align: left; width: 100%; height: 100%;
  cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
#air-eol-loop .card:hover { background: color-mix(in srgb, var(--air-green) 6%, white); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(8,49,42,.1); }
#air-eol-loop .card.is-active {
  border-color: rgba(8,49,42,.28);
  background: color-mix(in srgb, var(--air-green) 7%, white);
  box-shadow: 0 18px 44px rgba(8,49,42,.12);
}

#air-eol-loop .k-badge { width: var(--air-icon); height: var(--air-icon); display: grid; place-items: center; background: #fff; border: 1px solid var(--air-border); border-radius: 999px; flex-shrink: 0; overflow: hidden; }
#air-eol-loop .k-badge .k-icon, #air-eol-loop .k-badge svg { width: 20px; height: 20px; display: block; }
#air-eol-loop .card .body { display: grid; gap: 6px; min-width: 0; }
#air-eol-loop .card h3 { font-size: 22px; font-weight: 600; margin: 0; color: var(--air-green); line-height: 1.3; font-family: var(--font-heading); }
#air-eol-loop .card p { font-size: 14px; line-height: 1.6; margin: 0; color: var(--air-green); }

@media (min-width: 1181px) {
  #air-eol-loop .right {
    row-gap: clamp(14px, 2vh, 22px);
  }

  #air-eol-loop .air-p {
    margin-top: 18px;
    line-height: 1.58;
  }

  #air-eol-loop .tile-area {
    margin-top: clamp(16px, 2vh, 28px);
  }

  #air-eol-loop .stages {
    gap: clamp(12px, 1.5vw, 18px);
  }

  #air-eol-loop .card {
    padding: clamp(16px, 1.6vw, 22px);
  }

  #air-eol-loop .card h3 {
    font-size: clamp(17px, 1.35vw, 20px);
  }

  #air-eol-loop .card p {
    font-size: 13px;
    line-height: 1.48;
  }
}

/* CTAs */
#air-eol-loop .ctas { display: flex; align-items: center; justify-content: flex-end; gap: 0; margin: 0; align-self: end; }
#air-eol-loop .ctas-left { display: none !important; }
#air-eol-loop .docs-btn { background: var(--air-green); color: #fff; border: none; border-radius: 999px; padding: 12px 16px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; font-family: var(--font-body); transition: filter .25s ease; }
#air-eol-loop .docs-btn:hover { filter: brightness(.92); }

/* Mobile */
@media (max-width: 740px) {
  #air-eol-loop {
    min-height: 280vh;
    padding: 0;
  }

  #air-eol-loop .wrap {
    position: sticky;
    top: 72px;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding-top: clamp(20px, 7vh, 44px);
    padding-bottom: clamp(20px, 7vh, 44px);
  }

  #air-eol-loop .grid {
    display: flex;
    flex-direction: column;
    row-gap: clamp(14px, 4vw, 20px);
    width: 100%;
  }

  #air-eol-loop .right,
  #air-eol-loop .h {
    display: contents;
  }

  #air-eol-loop .air-h1 {
    order: 1;
    max-width: none;
    font-size: var(--type-section-heading);
    line-height: var(--type-section-heading-line);
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  #air-eol-loop .ring-wrap {
    order: 2;
    width: min(76vw, 340px);
    max-width: none;
    justify-self: center;
    align-self: center;
    margin: clamp(4px, 1vh, 10px) auto;
  }

  #air-eol-loop .air-p {
    order: 3;
    margin-top: 0;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    font-size: var(--type-section-lede);
    line-height: var(--type-section-lede-line);
    text-align: left;
  }

  #air-eol-loop .eol-proof-strip {
    order: 4;
    margin-top: 0;
  }

  #air-eol-loop .tile-area {
    display: none !important;
  }

  #air-eol-loop .ctas { order: 5; margin-top: 0; width: 100%; justify-content: stretch; }
  #air-eol-loop .docs-btn { display: block; width: 100%; text-align: center; padding: 14px 16px; }

  #air-eol-loop .center-grid {
    gap: 10px;
    width: min(74%, 260px);
  }

  #air-eol-loop .center-line-1 {
    font-size: 10px;
  }

  #air-eol-loop .center-line-2 {
    font-size: clamp(16px, 4.5vw, 21px);
  }

  #air-eol-loop .center-line-3 {
    font-size: 12px;
    line-height: 1.35;
  }

  #air-eol-loop .ring-track,
  #air-eol-loop .ring-progress {
    stroke-width: 17;
  }
}

/* iPad */
@media (min-width: 768px) and (max-width: 1180px) {
  #air-eol-loop .grid { grid-template-columns: 1fr !important; row-gap: clamp(16px, 2.4vw, 28px); }
  #air-eol-loop .right { display: flex; flex-direction: column; row-gap: clamp(18px, 2.6vw, 32px) !important; }
  #air-eol-loop .tile-area { order: 1; margin-top: 6px; margin-bottom: clamp(20px, 3.2vw, 40px) !important; }
  #air-eol-loop .h { order: 2; margin-top: 0 !important; }
  #air-eol-loop .eol-proof-strip { order: 3; }
  #air-eol-loop .ring-wrap { max-width: min(680px, 86vw); justify-self: center; }
  #air-eol-loop .stages { grid-template-columns: 1fr 1fr !important; gap: clamp(16px, 2.4vw, 28px); }
  #air-eol-loop .ctas { order: 4; width: 100%; justify-content: stretch; margin-top: clamp(16px, 3vw, 24px); }
  #air-eol-loop .docs-btn { display: block; width: 100%; text-align: center; padding: 14px 16px; }
}


/* ============================================
   APPLICATIONS — Slide-up overlay tiles

   2x2 grid of image tiles. On hover, a dark
   overlay slides up from the bottom revealing
   the sector title and description.
   ============================================ */

.applications-section {
  background: var(--color-off-white);
}

#air-applications {
  --air-primary: #1F3B2D;
  --air-border: rgba(0,0,0,.12);
  --scrim: rgba(8,49,42,0.45);
  --tile-peek: 64px;
  font-family: var(--font-body);
  color: #0F1412;
  background: transparent;
  padding: 0;
  margin-top: var(--space-lg);
}

@media (max-width: 759.98px) { #air-applications { --tile-peek: 72px; } }

#air-applications .wrap { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-padding); }
#air-applications .grid { display: grid; grid-template-columns: 1fr; gap: 12px; }

@media (min-width: 760px) { #air-applications .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

/* Tile */
#air-applications .tile {
  position: relative; display: block; border-radius: 0; overflow: hidden;
  text-decoration: none; color: inherit; isolation: isolate;
  box-shadow: 0 2px 10px rgba(0,0,0,.04); border: none; background: transparent;
  aspect-ratio: 16 / 10;
}

@media (max-width: 759.98px) {
  #air-applications {
    --tile-peek: 66px;
  }

  #air-applications .tile {
    aspect-ratio: 16 / 14;
    min-height: 300px;
  }
}

/* Image */
#air-applications .media {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; transform: scale(1.001);
  transition: transform .45s ease;
}

/* Scrim overlay */
#air-applications .scrim {
  position: absolute; inset: 0; background: rgba(8,49,42,0);
  transition: background .25s ease; pointer-events: none;
}

/* Slide-up panel */
#air-applications .panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(8,49,42,0.62); color: #fff;
  padding: 16px 18px; border-top: 1px solid rgba(255,255,255,.12);
  transform: translateY(calc(100% - var(--tile-peek)));
  transition: transform .38s cubic-bezier(.2,.72,.18,1);
}

#air-applications .panel .title {
  font-weight: 800; font-size: 22px;
  letter-spacing: .01em; line-height: 1.2; margin: 0; color: #fff;
  font-family: var(--font-heading);
}

#air-applications .application-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .22s ease;
}

#air-applications .application-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.92);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

#air-applications .panel .blurb {
  margin-top: 10px; font-size: 16px; line-height: 1.55;
  color: rgba(255,255,255,.92); opacity: 0; transition: opacity .28s ease;
}

@media (max-width: 759.98px) {
  #air-applications .panel {
    max-height: 88%;
    overflow: hidden;
    padding: 20px 24px 22px;
    transition-duration: .46s;
  }

  #air-applications .panel .title {
    font-size: clamp(18px, 5.1vw, 21px);
    line-height: 1.12;
  }

  #air-applications .application-proof {
    margin-top: 8px;
  }

  #air-applications .application-proof span {
    min-height: 22px;
    font-size: 10px;
    padding: 4px 7px;
  }

  #air-applications .panel .blurb {
    margin-top: 11px;
    font-size: 15px;
    line-height: 1.45;
    max-width: none;
  }
}

/* Desktop hover */
@media (hover: hover) and (pointer: fine) {
  #air-applications .tile:hover .media { transform: scale(1.04); }
  #air-applications .tile:hover .scrim { background: var(--scrim); }
  #air-applications .tile:hover .panel { transform: translateY(0); }
  #air-applications .tile:hover .application-proof { opacity: 1; transform: translateY(0); transition-delay: .04s; }
  #air-applications .tile:hover .panel .blurb { opacity: 1; transition-delay: .06s; }
}

/* Touch devices */
@media (hover: none), (pointer: coarse) {
  #air-applications .tile.is-revealed .media { transform: scale(1.035); }
  #air-applications .tile.is-revealed .scrim { background: var(--scrim); }
  #air-applications .tile.is-revealed .panel { transform: translateY(0); }
  #air-applications .tile.is-revealed .application-proof { opacity: 1; transform: translateY(0); transition-delay: .08s; }
  #air-applications .tile.is-revealed .panel .blurb { opacity: 1; transition-delay: .12s; }

  #air-applications .tile:focus .scrim,
  #air-applications .tile:focus-visible .scrim { background: var(--scrim); }
  #air-applications .tile:focus .panel,
  #air-applications .tile:focus-visible .panel { transform: translateY(0); }
  #air-applications .tile:focus .application-proof,
  #air-applications .tile:focus-visible .application-proof { opacity: 1; transform: translateY(0); }
  #air-applications .tile:focus .panel .blurb,
  #air-applications .tile:focus-visible .panel .blurb { opacity: 1; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  #air-applications .media,
  #air-applications .scrim,
  #air-applications .panel,
  #air-applications .application-proof,
  #air-applications .panel .blurb { transition: none !important; }
}


/* ============================================
   INSIGHTS — Filterable blog/article grid

   Chip filters on desktop, dropdown on mobile.
   Cards have hover scale effect and reveal
   animations on scroll.
   ============================================ */

#air-insights {
  --air-primary: #1F3B2D;
  --air-ink: #0F1412;
  --air-white: #fff;
  --air-border: rgba(0,0,0,.1);
  --air-bg: linear-gradient(135deg, rgba(0,0,0,.05), rgba(0,0,0,.02));
  font-family: var(--font-body);
  color: var(--air-ink);
  background: transparent;
  padding: clamp(40px, 5vw, 72px) 0;
}

#air-insights .wrap { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-padding); display: grid; row-gap: clamp(16px, 2.5vw, 28px); overflow: visible; }
#air-insights .header { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; overflow: visible; }
#air-insights h2 { margin: 0; font-weight: 700; letter-spacing: -.01em; font-size: var(--type-section-heading); line-height: var(--type-section-heading-line); font-family: var(--font-heading); }

/* Toolbar */
#air-insights .toolbar { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-bottom: clamp(24px, 3vw, 36px); padding-top: 2px; overflow: visible; }
#air-insights .chips { display: flex; flex-wrap: wrap; gap: 8px; }
#air-insights .count { font-size: 12px; color: #5b6b66; margin-left: auto; }

/* Chips */
#air-insights .chip {
  appearance: none; border: 1px solid var(--air-primary); background: transparent; color: var(--air-primary);
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .05s ease, box-shadow .2s ease;
  position: relative; z-index: 1; font-family: var(--font-body);
}
#air-insights .chip:is(:hover, :focus-visible) { transform: translateY(-1px); box-shadow: 0 2px 10px rgba(0,0,0,.06); outline: none; }
#air-insights .chip[aria-pressed="true"] { background: var(--air-primary); color: var(--air-white); }
#air-insights .chip:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--air-primary); }

/* Mobile dropdown */
#air-insights .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#air-insights .insights-select-wrap { display: none; }
#air-insights .insights-select {
  appearance: none; -webkit-appearance: none; background: #fff; color: var(--air-ink);
  border: 1px solid var(--air-primary); border-radius: 999px;
  padding: 10px 40px 10px 14px; font-size: 14px; font-weight: 700; line-height: 1;
  font-family: var(--font-body); cursor: pointer;
}
#air-insights .insights-select:focus { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--air-primary); }

@media (max-width: 620px) {
  #air-insights .chips { display: none; }
  #air-insights .insights-select-wrap { display: block; }
}

/* Grid */
#air-insights .grid { margin-top: 0; display: grid; grid-template-columns: 1fr; gap: 12px; overflow: visible; }
@media (min-width: 620px) { #air-insights .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (min-width: 960px) { #air-insights .grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* Card */
#air-insights .card {
  position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 0; background: var(--air-white); overflow: hidden;
  border: 1px solid var(--air-border); box-shadow: 0 2px 10px rgba(0,0,0,.04);
  text-decoration: none; color: inherit; will-change: transform, box-shadow;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
@media (hover: hover) { #air-insights .card:hover { transform: translateY(-5px); border-color: rgba(8,49,42,.22); box-shadow: 0 18px 44px rgba(8,49,42,.12); } }

#air-insights .thumb-wrap { position: relative; isolation: isolate; }
#air-insights .thumb-wrap::before { content: ""; position: absolute; inset: 0; background: var(--air-bg); }
#air-insights .thumb { width: 100%; height: auto; aspect-ratio: 16/8; object-fit: cover; display: block; transition: transform .28s ease; }
@media (hover: hover) { #air-insights .card:hover .thumb { transform: scale(1.04); } }

#air-insights .body { padding: 16px; }
#air-insights .pill { text-transform: uppercase; letter-spacing: .06em; font-size: 12px; font-weight: 800; color: var(--air-primary); margin-bottom: 6px; display: inline-block; }
#air-insights .title { font-weight: 800; font-size: 18px; line-height: 1.35; font-family: var(--font-heading); }

/* Utils */
#air-insights .hidden-card { display: none !important; }
#air-insights .empty { display: none; border: 1px dashed var(--air-border); border-radius: 14px; padding: 20px; text-align: center; color: #5b6b66; }
#air-insights .empty.show { display: block; }

/* Reveal animation */
#air-insights .card.reveal {
  opacity: 0; transform: translateY(14px) scale(.985); will-change: opacity, transform;
  transition: opacity .42s ease, transform .42s cubic-bezier(.22,.61,.36,1);
}
#air-insights .card.reveal.in { opacity: 1; transform: none; transition-delay: var(--stagger, 0ms); }

@media (prefers-reduced-motion: reduce) {
  #air-insights .card.reveal, #air-insights .card.reveal.in { transition: none !important; transform: none !important; opacity: 1 !important; }
}


/* ============================================
   CONTACT — Dark green gradient section

   Motif image on the left, copy + CTAs and
   form panel side by side. Sits on a white
   background page.
   ============================================ */

[data-air-contact] {
  --air-green: #08312A;
  --air-ink: #0F1412;
  --air-white: #fff;
  --air-border: rgba(255,255,255,.14);
  --air-grad: linear-gradient(135deg, #08312A 0%, #0c3a31 55%, #0F1412 100%);
  font-family: var(--font-body);
  color: var(--air-white);
  position: relative;
  margin: 0;
  background: #fff;
}

[data-air-contact] *, [data-air-contact] *::before, [data-air-contact] *::after { box-sizing: border-box; }
[data-air-contact] .shell { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-padding); }
[data-air-contact] .bg { background: var(--air-grad); border-radius: 0; overflow: hidden; position: relative; }
[data-air-contact] .texture { pointer-events: none; position: absolute; inset: 0; background: radial-gradient(transparent, rgba(255,255,255,.06)); z-index: 0; }
[data-air-contact] .motif { position: absolute; left: -120px; top: 50%; transform: translateY(-50%); width: min(1000px, 55vw); height: auto; opacity: .12; pointer-events: none; z-index: 0; }

[data-air-contact] .wrap {
  position: relative; z-index: 1; max-width: var(--container-max); margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) var(--container-padding);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: stretch;
}

@media (max-width: 900px) { [data-air-contact] .wrap { grid-template-columns: 1fr; } }

[data-air-contact] h2 { color: #fff; font-size: var(--type-section-heading); line-height: var(--type-section-heading-line); margin: 0 0 24px; font-weight: 700; letter-spacing: -0.01em; font-family: var(--font-heading); }
[data-air-contact] p.lede { color: #fff; margin: 0 0 24px; font-size: var(--type-section-lede); line-height: var(--type-section-lede-line); }

/* CTAs */
[data-air-contact] .cta { display: flex; flex-wrap: wrap; gap: 12px; }
[data-air-contact] .air-btn {
  --btn-bg: var(--air-white); --btn-fg: var(--air-green);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px; border-radius: 9999px; background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--air-green); font-weight: 700; text-decoration: none;
  transition: all .2s ease; white-space: nowrap; font-family: var(--font-body); font-size: 14px; cursor: pointer;
}
[data-air-contact] .air-btn:hover { --btn-bg: var(--air-green); --btn-fg: var(--air-white); background: var(--btn-bg); color: var(--btn-fg); border-color: var(--air-white); }
[data-air-contact] .air-btn:focus-visible { outline: 2px solid var(--air-white); outline-offset: 2px; }
[data-air-contact] .air-btn.is-loading { opacity: .7; pointer-events: none; }
[data-air-contact] .air-icon { height: 18px; width: 18px; flex: 0 0 18px; }

/* Chips */
[data-air-contact] .chips { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 32px; }
[data-air-contact] .chip { border: 1px solid var(--air-border); border-radius: 9999px; padding: 6px 12px; font-size: 13px; color: rgba(255,255,255,.9); }
@media (max-width: 767px) { [data-air-contact] .chips { display: none !important; } }

/* Form panel */
[data-air-contact] .panel {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: clamp(18px, 2.4vw, 28px);
  backdrop-filter: saturate(140%) blur(2px); box-shadow: 0 6px 30px rgba(0,0,0,.25);
}
[data-air-contact] .field { display: grid; gap: 8px; }
[data-air-contact] label { font-size: 14px; color: #fff; }
[data-air-contact] input, [data-air-contact] textarea {
  width: 100%; border: none; border-radius: 10px; padding: 12px 14px;
  background: #FFFFFFF2; color: #111; font-family: var(--font-body); font-size: 16px;
}
[data-air-contact] textarea { resize: vertical; }
[data-air-contact] input::placeholder, [data-air-contact] textarea::placeholder { color: #6b7280; }
[data-air-contact] .row { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
@media (max-width: 560px) { [data-air-contact] .row { flex-direction: column; align-items: stretch; } }
[data-air-contact] .small { font-size: 12px; color: rgba(255,255,255,.75); }
[data-air-contact] .error { color: #ffe1e1; font-size: 13px; }
[data-air-contact] .mt6 { margin-top: 16px; }
[data-air-contact] .mt8 { margin-top: 20px; }

@media (max-width: 767px) {
  [data-air-contact] .shell {
    padding: 0;
  }

  [data-air-contact] .bg {
    border-radius: 0;
  }

  [data-air-contact] .wrap {
    padding: clamp(40px, 11vw, 56px) var(--container-padding);
    gap: clamp(18px, 5vw, 28px);
  }

  [data-air-contact] .panel {
    border-radius: 8px;
    padding: clamp(18px, 5vw, 24px);
  }

  [data-air-contact] .cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  [data-air-contact] .air-btn {
    width: 100%;
    min-height: 48px;
    white-space: normal;
    text-align: center;
  }
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-page-main {
  background: linear-gradient(180deg, #fff 0%, #f5f7f5 100%);
}

.contact-page-contact {
  padding: clamp(56px, 6vw, 76px) 0 clamp(64px, 9vw, 112px);
}

.contact-page-contact .bg {
  box-shadow: 0 34px 80px rgba(15, 20, 18, .14);
}

.contact-page-contact .wrap {
  min-height: min(720px, calc(100vh - 170px));
  align-items: center;
  padding-block: clamp(52px, 7vw, 88px);
}

.page-contact .contact-hero {
  height: clamp(390px, 48vh, 500px);
  min-height: 390px;
}

.contact-hero .contact-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.page-contact .contact-hero .app-hero__content h1 {
  max-width: 820px;
  font-size: clamp(2.8rem, 5vw, 3.5rem);
}

.contact-hero .app-hero__bg::after {
  background:
    linear-gradient(to right, rgba(8,49,42,.92) 0%, rgba(8,49,42,.72) 36%, rgba(8,49,42,.28) 62%, transparent 82%),
    radial-gradient(circle at 72% 35%, rgba(255,255,255,.12), transparent 34%),
    linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.34));
}

@media (max-width: 767px) {
  .page-contact .contact-hero {
    height: auto;
    min-height: min(560px, 68svh);
  }

  .page-contact .contact-hero .app-hero__breadcrumb {
    padding-top: clamp(86px, 21vw, 108px);
  }

  .page-contact .contact-hero .app-hero__content {
    width: 100%;
    max-width: 100%;
    padding-top: clamp(18px, 6vw, 30px);
    padding-bottom: clamp(38px, 11vw, 56px);
  }

  .page-contact .contact-hero .app-hero__content h1 {
    font-size: clamp(2.3rem, 9.4vw, 2.75rem);
    line-height: 1.08;
  }

  .page-contact .contact-hero .app-hero__content p {
    max-width: 31ch;
    font-size: 16px;
    line-height: 1.62;
  }

  .contact-page-contact {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .contact-page-contact .wrap {
    min-height: 0;
  }
}

/* Success toast overlay */
.air-toast-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: rgba(0,0,0,.55);
  opacity: 0; visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}
.air-toast-overlay.is-visible { opacity: 1; visibility: visible; }
.air-toast-dialog {
  background: #fff; color: #0F1412; width: min(680px, 90vw);
  border-radius: 16px; padding: clamp(20px, 3.5vw, 36px);
  text-align: center; box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.air-toast-dialog h3 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.air-toast-dialog p { margin: 0; font-size: clamp(14px, 1.2vw, 16px); line-height: 1.6; }
.air-toast-close {
  margin-top: 16px; display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 16px; border-radius: 9999px; border: 2px solid #08312A;
  color: #08312A; background: #fff; font-weight: 700; cursor: pointer; font-family: var(--font-body);
}
html.air-toast-lock, body.air-toast-lock { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .air-toast-overlay { transition: none; } }


/* ============================================
   LINKEDIN FEED
   ============================================ */

#air-linkedin {
  --li-border: rgba(15, 20, 18, .10);
  font-family: var(--font-body);
  color: #0F1412;
  background: #fff;
}

#air-linkedin .wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Header row */
#air-linkedin .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

#air-linkedin h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0;
  font-family: var(--font-heading);
}

.air-linkedin-widget {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--li-border);
  background:
    linear-gradient(180deg, rgba(248, 250, 249, .72), rgba(255, 255, 255, .96)),
    #fff;
  box-shadow: 0 24px 60px rgba(15, 20, 18, .07);
}

.air-linkedin-consent {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  color: rgba(15, 20, 18, .82);
}

.air-linkedin-consent[hidden],
.air-linkedin-widget.is-enabled .air-linkedin-consent {
  display: none;
}

.air-linkedin-widget:not(.is-enabled) [data-elfsight-app-lazy] {
  display: none;
}

.air-linkedin-consent__eyebrow {
  margin: 0 0 10px;
  font-size: .72rem;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(15, 20, 18, .56);
}

.air-linkedin-consent h3 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.15;
}

.air-linkedin-consent p {
  margin: 0 auto;
  max-width: 54ch;
  font-size: .98rem;
  line-height: 1.65;
}

.air-linkedin-consent__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 22px;
}

.air-linkedin-consent__button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font: 700 .82rem/1 var(--font-body);
  color: #fff;
  background: #1F3B2D;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 12px 26px rgba(31, 59, 45, .18);
}

.air-linkedin-consent__button:hover,
.air-linkedin-consent__button:focus-visible {
  transform: translateY(-1px);
  background: #274936;
  box-shadow: 0 16px 32px rgba(31, 59, 45, .22);
}

.air-linkedin-consent .policy-link {
  font-size: .86rem;
}

.air-linkedin-widget > div {
  width: 100%;
}

@media (max-width: 767px) {
  .air-linkedin-widget {
    margin-inline: calc(var(--container-padding) * -1);
    padding: 16px var(--container-padding);
    border-left: 0;
    border-right: 0;
  }

  .air-linkedin-consent {
    text-align: left;
  }

  .air-linkedin-consent__actions {
    justify-content: flex-start;
  }
}


/* ============================================
   FOOTER
   ============================================ */

#air-footer-strip {
  --ink: #fff;
  --muted: rgba(255,255,255,.86);
  --accent: #FFD55A;
  --air-green: #08312A;
  --border: rgba(255,255,255,.16);
  --small: 12px;
  background: var(--air-green);
  color: var(--ink);
  font-family: var(--font-body);
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

#air-footer-strip .wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

#air-footer-strip img, #air-footer-strip svg { max-width: 100%; height: auto; display: block; }

/* Top row */
#air-footer-strip .top {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(360px, 1fr) minmax(0, 420px);
  align-items: start;
  gap: clamp(24px, 4vw, 52px);
  padding-top: clamp(32px, 5vw, 56px);
}

/* Logo */
#air-footer-strip .logo img { width: clamp(80px, 8vw, 110px); }

/* Nav */
#air-footer-strip .footer-nav {
  display: grid;
  grid-template-columns: minmax(130px, 1.25fr) minmax(120px, 1fr) minmax(90px, .8fr);
  gap: clamp(22px, 3vw, 38px);
}
#air-footer-strip .footer-nav__heading {
  margin: 0 0 11px;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
#air-footer-strip .footer-nav__group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  row-gap: 7px;
}
#air-footer-strip .footer-nav a {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.35;
  text-decoration: none;
}
#air-footer-strip .footer-nav a[aria-current="page"] {
  color: #fff;
}
#air-footer-strip .footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
#air-footer-strip .linkedin a { display: inline-flex; align-items: center; gap: 8px; line-height: 1; }
#air-footer-strip .linkedin img { width: 18px; height: 18px; transform: translateY(-1px); }

/* Newsletter signup */
#air-footer-strip .footer-signup {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}
#air-footer-strip .footer-social {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  color: #fff;
  opacity: .92;
  text-decoration: none;
  transition: opacity .2s ease;
}
#air-footer-strip .footer-social:hover { opacity: 1; }
#air-footer-strip .footer-social img { width: 22px; height: 22px; }
#air-footer-strip .signup { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; }
#air-footer-strip .signup label { position: absolute; left: -9999px; }
#air-footer-strip .signup input[type="email"], #air-footer-strip .signup button { height: 44px; }
#air-footer-strip .signup input[type="email"] {
  flex: 1 1 auto; min-width: 220px; padding: 0 16px; font-size: 1rem;
  border: none; border-radius: 6px; color: #0F1412; background: #fff; outline: none; font-family: var(--font-body);
}
#air-footer-strip .signup input::placeholder { color: #6a6a6a; }
#air-footer-strip .signup button {
  background: #fff; color: var(--air-green); font-size: 1rem; font-weight: 600;
  border: none; border-radius: 6px; padding: 0 18px; cursor: pointer;
  font-family: var(--font-body); transition: background .2s ease, color .2s ease;
}
#air-footer-strip .signup button:hover { background: #f2f2f2; color: #0F1412; }

/* Legal row */
#air-footer-strip .legal {
  border-top: 1px solid var(--border);
  margin-top: clamp(28px, 4vw, 56px);
  padding-block: clamp(18px, 2vw, 24px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "left links right";
  align-items: center;
  gap: 12px;
  font-size: var(--small);
}
#air-footer-strip .legal .left { grid-area: left; justify-self: start; color: var(--muted); }
#air-footer-strip .legal .links { grid-area: links; justify-self: center; display: flex; gap: 16px; flex-wrap: wrap; }
#air-footer-strip .legal .links a,
#air-footer-strip .legal .links .policy-link {
  color: var(--muted);
  text-decoration: none;
}
#air-footer-strip .legal .links a:hover,
#air-footer-strip .legal .links .policy-link:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
}
#air-footer-strip .legal .right { grid-area: right; justify-self: end; display: flex; align-items: center; }
#air-footer-strip .legal .right img { width: auto; height: 22px; opacity: .9; transition: opacity .2s ease; }
#air-footer-strip .legal .right img:hover { opacity: 1; }

/* Hide mobile-only elements by default */
#air-footer-strip .m-links, #air-footer-strip .m-linkedin { display: none !important; }

/* Focus styles */
#air-footer-strip a:focus-visible, #air-footer-strip input:focus-visible, #air-footer-strip button:focus-visible {
  outline: 2px dashed var(--accent); outline-offset: 3px;
}

.policy-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: inherit;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
  cursor: pointer;
}

.policy-link:hover {
  text-decoration-thickness: 2px;
}

[data-air-contact] .small a,
[data-air-contact] .small .policy-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.55);
  text-underline-offset: 3px;
}

[data-air-contact] .small a:hover,
[data-air-contact] .small .policy-link:hover {
  text-decoration-color: #fff;
}

/* ============================================
   POLICY MODALS + COOKIE CONSENT
   ============================================ */

.air-policy-lock {
  overflow: hidden;
}

.policy-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--container-padding);
  background: rgba(8, 49, 42, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}

.policy-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.policy-modal {
  width: min(760px, 100%);
  max-height: min(82vh, 760px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #fff;
  color: var(--color-text);
  border: 1px solid rgba(8,49,42,.12);
  border-radius: var(--radius-md);
  box-shadow: 0 32px 90px rgba(0,0,0,.28);
  transform: translateY(18px) scale(.985);
  transition: transform .28s ease;
  overflow: hidden;
}

.policy-overlay.is-active .policy-modal {
  transform: none;
}

.policy-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(20px, 3vw, 32px);
  border-bottom: 1px solid rgba(8,49,42,.12);
}

.policy-modal__title {
  margin: 0;
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.15;
}

.policy-modal__close {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(8,49,42,.16);
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary-dark);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.policy-modal__close:hover,
.policy-modal__close:focus-visible {
  background: var(--color-primary-dark);
  color: #fff;
  border-color: var(--color-primary-dark);
}

.policy-modal__close svg {
  width: 18px;
  height: 18px;
}

.policy-modal__body {
  overflow: auto;
  padding: clamp(22px, 3vw, 34px);
  overscroll-behavior: contain;
}

.policy-modal__body::-webkit-scrollbar {
  width: 6px;
}

.policy-modal__body::-webkit-scrollbar-track {
  background: transparent;
}

.policy-modal__body::-webkit-scrollbar-thumb {
  background: rgba(8,49,42,.22);
  border-radius: 999px;
}

.policy-content {
  display: grid;
  gap: 16px;
}

.policy-content .policy-meta {
  margin: 0 0 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(8,49,42,.1);
  color: var(--color-mid-grey);
  font-size: 13px;
}

.policy-content h3 {
  margin: 10px 0 0;
  color: var(--color-primary-dark);
  font-size: 18px;
  line-height: 1.25;
}

.policy-content p {
  margin: 0;
  color: var(--color-text-light);
  font-size: 15px;
  line-height: 1.72;
}

.policy-content a {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-content strong {
  color: var(--color-primary-dark);
  font-weight: 700;
}

.policy-modal__footer {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px clamp(22px, 3vw, 34px);
  border-top: 1px solid rgba(8,49,42,.12);
}

.policy-modal__footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--color-primary-dark);
  border-radius: var(--radius-sm);
  background: var(--color-primary-dark);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.policy-modal__footer-btn:hover,
.policy-modal__footer-btn:focus-visible {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.policy-modal__footer-btn--secondary {
  background: transparent;
  color: var(--color-primary-dark);
}

.policy-modal__footer-btn--secondary:hover,
.policy-modal__footer-btn--secondary:focus-visible {
  background: rgba(8,49,42,.07);
  color: var(--color-primary-dark);
  border-color: rgba(8,49,42,.32);
}

.cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10040;
  background: var(--color-primary-dark);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 -18px 55px rgba(0,0,0,.22);
  transform: translateY(105%);
  transition: transform .35s ease;
}

.cookie-banner.is-visible {
  transform: none;
}

.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 18px var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.cookie-banner__text {
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 14px;
  line-height: 1.55;
}

.cookie-banner__text a,
.cookie-banner__text .policy-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.55);
  text-underline-offset: 3px;
}

.cookie-banner__text a:hover,
.cookie-banner__text .policy-link:hover {
  text-decoration-color: #fff;
}

.cookie-banner__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.cookie-banner__accept,
.cookie-banner__decline {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.cookie-banner__accept {
  background: #fff;
  color: var(--color-primary-dark);
  border: 1px solid #fff;
}

.cookie-banner__decline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.5);
}

.cookie-banner__accept:hover,
.cookie-banner__decline:hover {
  transform: translateY(-1px);
}

.cookie-banner__decline:hover {
  border-color: #fff;
}

.cookie-banner button:focus-visible,
.policy-modal button:focus-visible {
  outline: 2px solid #ffd55a;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .policy-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .policy-modal {
    width: 100%;
    max-height: 90svh;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    transform: translateY(100%);
  }

  .policy-overlay.is-active .policy-modal {
    transform: none;
  }

  .policy-modal__footer {
    justify-content: stretch;
  }

  .policy-modal__footer-btn {
    width: 100%;
  }

  .cookie-banner__inner {
    display: grid;
    gap: 16px;
    padding-block: 18px;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .cookie-banner__accept,
  .cookie-banner__decline {
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 900px) {
  #air-footer-strip .top {
    grid-template-columns: 1fr;
    grid-template-areas: "logo" "signup" "mlinks" "mlinkedin";
    row-gap: 28px; place-items: center;
  }
  #air-footer-strip .logo { grid-area: logo; }
  #air-footer-strip .logo img { margin-inline: auto; }
  #air-footer-strip .top > .footer-nav { display: none !important; }

  #air-footer-strip .footer-signup {
    grid-area: signup; width: 100%; flex-wrap: wrap; justify-content: center;
    padding-inline: clamp(16px, 4vw, 32px);
  }
  #air-footer-strip .footer-signup .footer-social { display: none; }
  #air-footer-strip .signup {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
  #air-footer-strip .signup input, #air-footer-strip .signup button { width: 100%; max-width: 100%; }
  #air-footer-strip .signup button { margin-top: 8px; }

  /* Mobile nav dropdown */
  #air-footer-strip .m-links { display: block !important; grid-area: mlinks; width: 100%; padding-inline: clamp(16px, 5vw, 32px); }
  #air-footer-strip .m-links details { width: 100%; color: #fff; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,.3); }
  #air-footer-strip .m-links summary { list-style: none; cursor: pointer; padding: 14px 0; font-weight: 600; display: flex; align-items: center; justify-content: space-between; user-select: none; }
  #air-footer-strip .m-links summary::-webkit-details-marker { display: none; }
  #air-footer-strip .m-links summary .plus::before { content: "+"; font-size: 22px; line-height: 1; }
  #air-footer-strip .m-links details[open] summary .plus::before { content: "–"; }
  #air-footer-strip .m-links .footer-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 12px 0 24px;
  }
  #air-footer-strip .m-links .footer-nav__heading {
    margin-bottom: 9px;
    font-size: .76rem;
  }
  #air-footer-strip .m-links .footer-nav__group ul { row-gap: 9px; }
  #air-footer-strip .m-links a { color: var(--muted); text-decoration: none; }
  #air-footer-strip .m-links a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); }

  #air-footer-strip .m-linkedin { display: flex !important; grid-area: mlinkedin; align-items: center; justify-content: center; padding-top: 6px; }
  #air-footer-strip .m-linkedin img { width: 22px; height: 22px; }

  /* Mobile legal */
  #air-footer-strip .legal {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
    gap: 8px; text-align: center; padding-block: 18px;
  }
  #air-footer-strip .legal .left { order: 1; }
  #air-footer-strip .legal .right { order: 2; display: flex; align-items: center; }
  #air-footer-strip .legal .right img { width: auto; height: 18px; margin-left: 8px; }
  #air-footer-strip .legal .links { order: 3; width: 100%; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
}

/* ============================================
   CERTIFICATES & REPORTS DRAWER

   Slide-in panel from the right edge. Dark green
   gradient background with motif watermark.
   ============================================ */

/* Drawer section — sits after footer in DOM, must not take up space */
[data-air-docs] {
  --air-green: #08312A;
  --air-ink: #0F1412;
  --air-white: #fff;
  --air-border: rgba(255,255,255,.18);
  --air-grad: linear-gradient(135deg, #08312A 0%, #0c3a31 55%, #0F1412 100%);
  font-family: var(--font-body);
  padding: 0;
  border-top: none;
}

[data-air-docs] .overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; z-index: 9998;
}
[data-air-docs].is-open .overlay { opacity: 1; visibility: visible; }

[data-air-docs] .drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(560px, 92vw);
  background: var(--air-grad); color: #fff; box-shadow: -12px 0 40px rgba(0,0,0,.35);
  transform: translateX(100%); transition: transform .32s ease; z-index: 9999; isolation: isolate;
  display: grid; grid-template-rows: auto 1fr auto;
}
[data-air-docs].is-open .drawer { transform: none; }

[data-air-docs] .hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--air-border);
}
[data-air-docs] .ttl { font-size: 22px; line-height: 1.2; font-weight: 750; margin: 0; font-family: var(--font-heading); }
[data-air-docs] .close {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: #fff; border: 1px solid var(--air-border);
  border-radius: 999px; padding: 8px 12px; cursor: pointer; font-family: var(--font-body);
}

[data-air-docs] .motif {
  position: absolute; right: -80px; bottom: -80px; width: 520px; opacity: .06;
  pointer-events: none; filter: grayscale(100%) contrast(110%);
}

[data-air-docs] .content { padding: 18px 24px 8px; overflow: auto; }
[data-air-docs] .intro { color: rgba(255,255,255,.92); margin: 0 0 12px; }
[data-air-docs] .group { margin: 14px 0 8px; font-weight: 700; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; opacity: .85; }

[data-air-docs] .list { display: grid; gap: 10px; margin: 10px 0 28px; }
[data-air-docs] .doc {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  background: rgba(255,255,255,.06); border: 1px solid var(--air-border);
  border-radius: 12px; padding: 12px 14px; color: #fff; transition: background .2s ease, border-color .2s ease;
}
[data-air-docs] .doc:hover { background: rgba(255,255,255,.12); border-color: #fff; }
[data-air-docs] .icon { width: 20px; height: 20px; flex: 0 0 20px; opacity: .95; }
[data-air-docs] .label { font-size: 14px; line-height: 1.3; }
[data-air-docs] .meta { font-size: 12px; opacity: .8; }

[data-air-docs] .ft {
  padding: 16px 24px 22px; border-top: 1px solid var(--air-border);
  display: flex; justify-content: flex-end; gap: 10px;
}
[data-air-docs] .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 10px 16px; font-weight: 700; cursor: pointer;
  text-decoration: none; font-family: var(--font-body);
}
[data-air-docs] .btn-outline { background: transparent; color: #fff; border: 1px solid var(--air-white); }
[data-air-docs] .btn-primary { background: #fff; color: var(--air-green); border: 1px solid #fff; }

[data-air-docs] a:focus-visible, [data-air-docs] button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  [data-air-docs] .overlay, [data-air-docs] .drawer { transition: none; }
}

/* Final footer grouped navigation override.
   Kept at the end of the stylesheet so global heading/list rules cannot leak into the footer. */
#air-footer-strip .top {
  grid-template-columns: minmax(0, auto) max-content minmax(420px, 1fr);
  column-gap: clamp(44px, 5vw, 78px);
}

#air-footer-strip .footer-nav {
  display: grid;
  grid-template-columns: max-content max-content max-content;
  column-gap: clamp(38px, 4vw, 64px);
  row-gap: 18px;
  justify-content: start;
  align-self: start;
}

#air-footer-strip .footer-signup {
  justify-self: end;
  width: min(100%, 520px);
  gap: 24px;
}

#air-footer-strip .footer-social {
  margin-right: 2px;
}

#air-footer-strip .footer-nav__heading {
  margin: 0 0 10px;
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#air-footer-strip .footer-nav__links {
  display: grid;
  gap: 7px;
}

#air-footer-strip .footer-nav__item {
  display: block;
}

#air-footer-strip .footer-nav__item a {
  display: inline;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
  white-space: normal;
}

#air-footer-strip .footer-nav__item a[aria-current="page"] {
  color: #fff;
}

#air-footer-strip .footer-nav__item a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  #air-footer-strip .top {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  #air-footer-strip .top > .footer-nav {
    display: none !important;
  }

  #air-footer-strip .m-links .footer-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 12px 0 24px;
  }

  #air-footer-strip .m-links .footer-nav__heading {
    font-size: 12px;
    margin-bottom: 9px;
  }
}

@media (min-width: 901px) {
  #air-footer-strip .top {
    grid-template-columns:
      repeat(5, minmax(100px, 1fr))
      minmax(360px, 520px);
    column-gap: clamp(34px, 3vw, 52px);
    justify-content: start;
    align-items: start;
  }

  #air-footer-strip .top > .logo {
    grid-column: 1;
  }

  #air-footer-strip .top > .footer-nav {
    display: contents;
  }

  #air-footer-strip .top > .footer-nav .footer-nav__group:nth-child(1) {
    grid-column: 2;
  }

  #air-footer-strip .top > .footer-nav .footer-nav__group:nth-child(2) {
    grid-column: 3;
  }

  #air-footer-strip .top > .footer-nav .footer-nav__group:nth-child(3) {
    grid-column: 4;
  }

  #air-footer-strip .top > .footer-signup {
    display: contents;
  }

  #air-footer-strip .top > .footer-signup .footer-social {
    grid-column: 5;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
  }

  #air-footer-strip .top > .footer-signup .signup {
    grid-column: 6;
    width: 100%;
    min-width: 0;
  }
}
