/* ============================================================================
   EXTANT AEROSPACE — SITE STYLES
   ----------------------------------------------------------------------------
   HOW TO EDIT THE LOOK OF THE WHOLE SITE:
   Almost everything (colors, fonts, spacing) is controlled by the variables in
   the :root block directly below. Change a value there once and it updates
   across every page. You rarely need to touch anything else.
   ========================================================================== */

:root {
  /* ---- BRAND COLORS (edit these to re-skin the whole site) ---- */
  --paper:      #FFFFFF;   /* page background (white) */
  --paper-2:    #F3F6FA;   /* alternating sections / card surfaces */
  --ink:        #0C1320;   /* primary text (near-black) */
  --muted:      #56657E;   /* secondary text */
  --faint:      #8E9BB0;   /* low-emphasis text / labels */

  --navy:       #1E3A6E;   /* Extant primary brand blue */
  --navy-deep:  #14264A;   /* deep navy — footer & feature bands */
  --blue:       #2E5BAA;   /* brighter blue — links & data highlights */
  --accent:     #D8392B;   /* Extant / chevron red — the action accent */
  --accent-dk:  #B92E22;   /* darker red for button hover */
  --accent-ink: #FFFFFF;   /* text that sits on the red accent */

  --line:       #E1E7EF;   /* hairline borders on white */
  --line-soft:  #EDF1F6;

  /* ---- TYPEFACES ---- */
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "JetBrains Mono", "SF Mono", Consolas, monospace;

  /* ---- LAYOUT ---- */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
  --radius-lg: 10px;

  /* ---- MOTION ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 8px 30px rgba(20, 38, 74, 0.08);
  --shadow-lg: 0 18px 50px rgba(20, 38, 74, 0.14);
}

/* ---------------------------------------------------------------- RESET --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

/* ----------------------------------------------------------- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 60ch; }

/* Mono "telemetry" eyebrow — a signature device used site-wide */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
}
.eyebrow.is-blue { color: var(--blue); }
.eyebrow.is-muted { color: var(--faint); }

.mono { font-family: var(--font-mono); }
.accent { color: var(--accent); }
.hl { color: var(--navy); }

/* ---------------------------------------------------------------- LAYOUT -- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(2.5rem, 5vw, 4.5rem); position: relative; }
.section--tight { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.section--alt { background: var(--paper-2); border-block: 1px solid var(--line); }

.section-head { max-width: 70ch; margin-bottom: 3rem; }
.section-head .h2 { margin-top: 0.9rem; }
.section-head .lead { margin-top: 1rem; }

.divider { height: 1px; background: var(--line); border: 0; }

/* ---------------------------------------------------------------- BUTTONS - */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 1.05em 1.9em;
  font-family: var(--font-mono);
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { transform: translateY(-2px); background: var(--accent-dk); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); display: inline-flex; align-items: center; gap: 0.5em;
  border-bottom: 2px solid var(--accent); padding-bottom: 2px;
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}
.text-link:hover { gap: 0.9em; color: var(--accent); }

/* ============================================================ SITE HEADER = */
#site-header { position: sticky; top: 0; z-index: 100; transition: transform 0.3s ease; }
#site-header.is-hidden { transform: translateY(-100%); }
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; height: 108px; }
.brand {
  display: flex; align-items: center; cursor: pointer; flex-shrink: 0;
  padding: 0.35rem 0.6rem; margin-left: -4.6rem; border-radius: var(--radius);
  transition: background 0.2s var(--ease);
}
.brand:hover { background: var(--paper-2); }
.brand__logo { height: 60px; width: auto; }
.brand-dot { color: var(--faint); font-size: 1.4rem; line-height: 1; padding: 0 0.15rem; }
.nav__links { display: flex; align-items: center; gap: 0.25rem; }
.nav__links a {
  font-size: 0.92rem; font-weight: 500; color: var(--muted); white-space: nowrap;
  padding: 0.5rem 0.9rem; border-radius: var(--radius);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__links a:hover { color: var(--ink); background: var(--paper-2); }
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { content: ""; display: block; height: 2px; background: var(--accent); margin-top: 5px; }
.nav__cta { display: flex; align-items: center; gap: 0.75rem; }

.nav__item { position: relative; display: flex; align-items: center; }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 0.4rem; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.2s var(--ease); box-shadow: var(--shadow-lg);
}
.nav__item:hover .nav__menu, .nav__item:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__menu a { display: block; padding: 0.6rem 0.8rem; color: var(--muted); border-radius: var(--radius); }
.nav__menu a:hover { color: var(--ink); background: var(--paper-2); }

.nav__toggle {
  display: none; background: transparent; border: 1px solid var(--line);
  border-radius: var(--radius); width: 44px; height: 40px; color: var(--ink); font-size: 1.1rem;
}

.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; padding: 1rem var(--gutter) 1.75rem; }
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line-soft); color: var(--muted); font-size: 1.05rem; }
.mobile-nav a:hover { color: var(--ink); }
.mobile-nav .btn { margin-top: 1.25rem; width: 100%; justify-content: center; }

.mobile-nav__trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-soft);
  padding: 0.85rem 0; color: var(--muted); font-size: 1.05rem; text-align: left;
}
.mobile-nav__trigger:hover { color: var(--ink); }
.mobile-nav__chevron { transition: transform 0.2s var(--ease); display: inline-block; font-style: normal; }
.mobile-nav__trigger[aria-expanded="true"] .mobile-nav__chevron { transform: rotate(180deg); }
.mobile-nav__submenu { display: none; padding-left: 1rem; }
.mobile-nav__submenu.is-open { display: block; }
.mobile-nav__submenu a { font-size: 0.95rem; }

/* ================================================================== HERO == */
.hero { position: relative; padding-block: clamp(4.5rem, 11vw, 8rem); overflow: hidden; }
/* Full-bleed facility photo with a dark navy overlay for legible light text.
   Swap the photo by replacing /images/sections/hero-banner.jpg. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(8,14,28,0.94) 0%, rgba(12,22,46,0.80) 45%, rgba(12,22,46,0.50) 100%),
    url("/images/sections/hero-banner.jpg") center / cover no-repeat;
}
.hero__inner { max-width: 56rem; position: relative; }
.hero .display { margin: 1.4rem 0 0; color: #fff; }
.hero .hl { color: #7FA8E8; white-space: nowrap; }
.hero .lead { margin-top: 1.5rem; color: rgba(255,255,255,0.84); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.45); }
.hero .btn--ghost:hover { color: var(--navy); background: #fff; border-color: #fff; }

/* Page-specific hero overrides — swap the background image per page */
.hero--support::before {
  background:
    linear-gradient(100deg, rgba(8,14,28,0.88) 0%, rgba(12,22,46,0.74) 45%, rgba(12,22,46,0.48) 100%),
    url("/images/sections/solo_plane_stock_photo.jpg") center / cover no-repeat;
}
.hero--about::before {
  background:
    linear-gradient(100deg, rgba(8,14,28,0.88) 0%, rgba(12,22,46,0.74) 45%, rgba(12,22,46,0.48) 100%),
    url("/images/sections/american_planes.jpg") center / cover no-repeat;
}
.hero--partner::before {
  background:
    linear-gradient(100deg, rgba(8,14,28,0.90) 0%, rgba(12,22,46,0.72) 45%, rgba(12,22,46,0.42) 100%),
    url("/images/sections/F-16-sky.jpg") center 30% / cover no-repeat;
}

/* Telemetry-style stat readout */
.readout {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; margin-top: 3.5rem; box-shadow: var(--shadow);
}
.readout__cell { background: #fff; padding: 1.6rem 1.4rem; }
.readout__num { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; color: var(--navy); }
.readout__label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 0.4rem; }

/* ====================================================== CAPABILITY PANELS = */
.panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 1.75rem; position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.panel:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); }
.panel__index { font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent); letter-spacing: 0.12em; }
.panel h3 { margin: 0 0 0.8rem; }
.panel p { color: var(--muted); font-size: 0.98rem; }

/* =============================================================== PRODUCTS = */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.85rem; }
.product-search { margin-bottom: 3.5rem; max-width: 30rem; }
.product-search__input {
  width: 100%; background: #fff no-repeat 1.05rem center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356657E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-size: 1.05rem 1.05rem;
  border: 1px solid var(--line); border-radius: 100px;
  color: var(--ink); padding: 0.7rem 1.1rem 0.7rem 2.75rem;
  font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.product-search__input::placeholder { color: var(--muted); }
.product-search__input:hover { border-color: var(--navy); }
.product-search__input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30,58,110,0.12); }
.product-search__empty { color: var(--muted); font-size: 0.95rem; margin-top: 1.25rem; }
.filter {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); padding: 0.5rem 0.95rem; border: 1px solid var(--line); border-radius: 100px;
  background: #fff; transition: all 0.2s var(--ease);
}
.filter:hover { color: var(--navy); border-color: var(--navy); }
.filter.is-active { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(30,58,110,0.35); }
.product-card__media {
  aspect-ratio: 4 / 3; background: linear-gradient(160deg, #fff, var(--paper-2));
  display: grid; place-items: center; padding: 1.5rem; border-bottom: 1px solid var(--line-soft);
}
.product-card__media img { max-height: 130px; width: auto; object-fit: contain; }
.product-card__body { padding: 1.1rem 1.25rem 1.4rem; }
.product-card__cat { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.product-card__name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-top: 0.5rem; }

/* ============================================== FEATURED CAROUSEL (home) == */
.carousel { position: relative; }
.carousel__track {
  --gap: 1.25rem;
  --cards: 1.2;                   /* how many cards are visible at once (per breakpoint) */
  display: flex; gap: var(--gap); overflow-x: auto;
  scroll-snap-type: x proximity; scroll-behavior: smooth;
  padding: 0.5rem 0.25rem;
  scrollbar-width: none;          /* Firefox */
}
.carousel__track::-webkit-scrollbar { display: none; }   /* Chrome/Safari */
.carousel__card {
  flex: 0 0 calc((100% - (var(--cards) - 1) * var(--gap)) / var(--cards));
  scroll-snap-align: end;         /* keep the right edge flush; partials fall on the left */
}
@media (min-width: 600px)  { .carousel__track { --cards: 2; } }
@media (min-width: 820px)  { .carousel__track { --cards: 3; } }
@media (min-width: 1080px) { .carousel__track { --cards: 5; } }
.carousel__card--cta { background: var(--paper-2); }
.carousel__card-cta-inner {
  display: grid; place-items: center; text-align: center; padding: 2rem; height: 100%;
}
.carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  cursor: pointer; display: grid; place-items: center;
  font-size: 1.5rem; line-height: 1; color: var(--navy);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.carousel__arrow:hover { color: var(--accent); border-color: var(--accent); }
.carousel__arrow[hidden] { display: none; }
.carousel__arrow--prev { left: -8px; }
.carousel__arrow--next { right: -8px; }
@media (max-width: 640px) { .carousel__arrow { display: none; } }

/* Fluid dot indicator — a sliding window of dots; the active dot is red and
   prominent, dots shrink toward the edges to hint more slides exist. Dot size
   and gap below must stay in sync with the DOT / DOT_GAP constants in site.js. */
.carousel__dots { overflow: hidden; margin: 1.5rem auto 0; }
.carousel__dots[hidden] { display: none; }
.carousel__dots-row {
  display: flex; gap: 7px; will-change: transform;
  transition: transform 0.3s var(--ease);
}
.carousel__dot {
  flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%;
  padding: 0; border: none; background: var(--faint); cursor: pointer;
  transform-origin: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.carousel__dot.is-active { background: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .carousel__track { scroll-behavior: auto; }
  .carousel__dots-row, .carousel__dot { transition: none; }
}

/* ======================================================= PRODUCT DETAIL == */
.breadcrumb { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: var(--accent); }
.detail { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.detail__media {
  background: linear-gradient(160deg, #fff, var(--paper-2));
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.5rem; display: grid; place-items: center;
}
.detail h1 { margin-bottom: 1.25rem; }
.detail p { color: var(--muted); margin-bottom: 1rem; }
.detail p strong { color: var(--ink); }

.specs { border-top: 1px solid var(--line); margin-top: 1.75rem; }
.spec-row { display: grid; grid-template-columns: 180px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.spec-row dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.spec-row dd { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { font-family: var(--font-mono); font-size: 0.74rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: 100px; padding: 0.28rem 0.7rem; color: var(--muted); }

.cta-card { background: linear-gradient(135deg, rgba(30,58,110,0.06), rgba(216,57,43,0.06)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; margin-top: 2rem; }
.cta-card p { color: var(--ink); font-weight: 500; margin-bottom: 1.1rem; }

/* ============================================================== TIMELINE == */
/* Vertical alternating (zigzag) timeline */
.timeline { position: relative; max-width: 920px; margin-inline: auto; padding-block: 1rem; }
/* central accent line */
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--accent); transform: translateX(-50%); }
/* each node = one card, placed in one half */
.timeline__node {
  position: relative; width: calc(50% - 2.75rem);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.timeline__node.in-view { opacity: 1; transform: none; }
.timeline__node:nth-child(odd)  { margin-right: auto; }                    /* left column  */
.timeline__node:nth-child(even) { margin-left: auto; margin-top: -5rem; }  /* right column, interleaved */
.timeline__node:first-child { margin-top: 0; }
/* dot on the central line (ring in section bg color so it reads on the line) */
.timeline__node::before { content: ""; position: absolute; top: 2.25rem; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 3px solid var(--paper-2); z-index: 2; }
.timeline__node:nth-child(odd)::before  { right: calc(-2.75rem - 9px); }
.timeline__node:nth-child(even)::before { left:  calc(-2.75rem - 9px); }
/* horizontal connector from card edge to the dot */
.timeline__node::after { content: ""; position: absolute; top: calc(2.25rem + 8px); width: 2.75rem; height: 2px; background: var(--accent); z-index: 1; }
.timeline__node:nth-child(odd)::after  { right: -2.75rem; }
.timeline__node:nth-child(even)::after { left:  -2.75rem; }
/* card internals */
.timeline__img { width: 100%; height: 190px; object-fit: cover; display: block; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.timeline__content { padding: 1.75rem; }
.timeline__year { font-family: var(--font-mono); font-size: 1.4rem; color: var(--accent); font-weight: 600; }
.timeline__node h3 { margin: 0.6rem 0 0.8rem; font-size: 1.15rem; }
.timeline__node p { color: var(--muted); font-size: 0.92rem; }

/* ============================================================== PARTNERS == */
.partner-img {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-img img {
  max-height: 360px;
  width: 100%;
  object-fit: contain;
}
.partner-strip { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.partner {
  font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.04em; color: var(--navy);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 0.7rem 1.2rem; background: #fff;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.partner:hover { border-color: var(--navy); box-shadow: var(--shadow); }

/* ================================================================== NEWS == */
.news-list { border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 160px 1fr auto; gap: 1.5rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid var(--line-soft); transition: padding-left 0.2s var(--ease); }
.news-item:hover { padding-left: 0.75rem; }
.news-item__date { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent); letter-spacing: 0.06em; }
.news-item__title { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.news-item__link { color: var(--muted); font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.news-item:hover .news-item__link { color: var(--accent); }

/* =============================================================== CTA BAND = */
.cta-band {
  text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  border-radius: var(--radius-lg); padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  box-shadow: var(--shadow);
}
.cta-band .h2 { color: #fff; margin: 1rem auto; max-width: 22ch; }
.cta-band .lead { color: rgba(255,255,255,0.82); margin: 0 auto 2rem; }
.cta-band .eyebrow { color: #fff; }
.cta-band__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.45); }
.cta-band .btn--ghost:hover { color: var(--navy); background: #fff; border-color: #fff; }

/* ================================================================ SUPPORT = */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; transition: box-shadow 0.2s var(--ease); }
.contact-card:hover { box-shadow: var(--shadow); }
.contact-card .eyebrow { margin-bottom: 1rem; display: block; }
.contact-card a { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--ink); transition: color 0.2s var(--ease); display: inline-block; }
.contact-card a:hover { color: var(--accent); }
.contact-card .sub { color: var(--muted); font-size: 0.9rem; margin-top: 0.3rem; }

/* Boxed, clearly-clickable link for the supplier form cards */
.contact-card--form a {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  font-size: 1.15rem;
  padding: 0.85rem 1.1rem; margin-top: 0.25rem;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.contact-card--form a::after {
  content: "→"; font-family: var(--font-mono); color: var(--accent);
  transition: transform 0.2s var(--ease);
}
.contact-card--form a:hover { border-color: var(--blue); color: var(--ink); background: #fff; }
.contact-card--form a:hover::after { transform: translateX(3px); }

/* ================================================================== FORMS = */
.form-layout { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 3rem; align-items: start; }
.form-docs { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; position: sticky; top: 100px; }
.form-docs h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.form-docs a { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
.form-docs a:hover { color: var(--accent); }
.form-docs a::before { content: "↓"; color: var(--accent); font-family: var(--font-mono); }

form fieldset { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; margin-bottom: 1.5rem; }
form legend { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); padding: 0 0.6rem; }
.field { margin-bottom: 1.25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.5rem; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); padding: 0.8rem 0.9rem; font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,91,170,0.12); }
.field textarea { resize: vertical; min-height: 110px; }
.radio-group { display: flex; gap: 1.5rem; }
.radio-group label { display: flex; align-items: center; gap: 0.5rem; color: var(--ink); margin: 0; }
.radio-group input { width: auto; accent-color: var(--accent); }

.dropzone { border: 1.5px dashed var(--line); border-radius: var(--radius-lg); padding: 2rem; text-align: center; color: var(--muted); transition: border-color 0.2s var(--ease), background 0.2s var(--ease); cursor: pointer; background: var(--paper-2); }
.dropzone:hover, .dropzone.is-drag { border-color: var(--blue); background: rgba(46,91,170,0.06); }
.dropzone strong { color: var(--navy); }
.dropzone input[type="file"] { display: none; }
.dropzone__files { margin-top: 1rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--blue); }

.form-note { background: rgba(216,57,43,0.06); border: 1px solid rgba(216,57,43,0.2); border-radius: var(--radius); padding: 1rem 1.2rem; font-size: 0.9rem; color: var(--ink); margin-bottom: 1.5rem; }
.form-note strong { color: var(--accent); }

.embed-frame { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; min-height: 320px; }

/* Responsive 16:9 recruitment video frame (holds a placeholder or an iframe) */
.video-embed { position: relative; aspect-ratio: 16 / 9; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.video-embed iframe, .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem 1.5rem; }
.careers-social { display: inline-flex; align-items: center; gap: 0.55rem; }

/* =========================================================== CAREERS PERKS = */
.perks { display: flex; flex-direction: column; gap: 3rem; margin-top: 3rem; }
.perk { display: grid; grid-template-columns: 72px 1fr; gap: 2rem; align-items: start; }
.perk__icon { width: 56px; height: 56px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; color: var(--blue); }
.perk__icon svg { width: 26px; height: 26px; }
.perk__body h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.perk__body p { color: var(--muted); margin-bottom: 0.75rem; line-height: 1.7; }
.perk__body ul { list-style: disc; padding-left: 1.25rem; color: var(--muted); }
.perk__body ul li { padding: 0.2rem 0; }
@media (max-width: 560px) { .perk { grid-template-columns: 1fr; } .perk__icon { margin-bottom: 0.25rem; } }

/* ================================================================ FOOTER == */
.site-footer { background: var(--navy-deep); color: #fff; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: 4rem; }
.footer-logo { height: 46px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.92rem; max-width: 32ch; }
.footer-social { display: inline-flex; margin-top: 1.2rem; color: rgba(255,255,255,0.72); transition: color 0.2s var(--ease); }
.footer-social:hover { color: #fff; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 1.1rem; }
.footer-col a { display: block; color: rgba(255,255,255,0.72); font-size: 0.92rem; padding: 0.35rem 0; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-block: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-family: var(--font-mono); font-size: 0.74rem; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; }

/* ============================================================= UTILITIES == */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }

/* ============================================================ RESPONSIVE == */
@media (max-width: 960px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .brand { margin-left: 0; }
  .panels { grid-template-columns: 1fr; }
  /* timeline collapses to a single left rail */
  .timeline { max-width: 32rem; }
  .timeline::before { left: 9px; transform: none; }
  .timeline__node,
  .timeline__node:nth-child(odd),
  .timeline__node:nth-child(even) { width: calc(100% - 2.5rem); margin: 0 0 1.75rem 2.5rem; }
  .timeline__node:first-child { margin-top: 0; }
  .timeline__node::before,
  .timeline__node:nth-child(odd)::before,
  .timeline__node:nth-child(even)::before { left: -2.5rem; right: auto; }
  .timeline__node::after,
  .timeline__node:nth-child(odd)::after,
  .timeline__node:nth-child(even)::after { left: calc(-2.5rem + 18px); right: auto; width: calc(2.5rem - 18px); }
  .detail { grid-template-columns: 1fr; gap: 2rem; }
  .form-layout { grid-template-columns: 1fr; }
  .form-docs { position: static; }
  .readout { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .news-item { grid-template-columns: 1fr; gap: 0.4rem; }
  .news-item__date { order: -1; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 0.25rem; }
  .brand__logo { height: 40px; }
  .brand-dot { padding: 0 0.1rem; }
}

/* ========================================================= ACCESSIBILITY == */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .timeline__node { opacity: 1; transform: none; }
}
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: 0.75rem 1.25rem; z-index: 200; }
.skip-link:focus { left: 0; }
