/* ─────────────────────────────────────────────────────────────────────────
   AviaGreene · 2026 Theme Layer
   A visual refresh layered on top of style.css / animations.css / responsive.css.
   Nothing here changes markup, IDs, data attributes or JS hooks — it only
   restyles the existing design system with a "global network" motif:
   glass pill badges, gradient accent text, glowing pill buttons and an
   animated connectivity backdrop for hero sections (see js/network-bg.js).
   ───────────────────────────────────────────────────────────────────────── */

:root {
  /* ── AviaGreene 2026 Dark Theme ──────────────────────────────────────────
     Colors below were sampled directly from AVIA_NEWEST_LOGO.png, not
     eyeballed — green #0D7447, gold #FCB82F, red #E33336. The canvas flips
     to navy-on-near-black; the brand trio stays true wherever it's used as
     a solid fill (buttons, brand blocks). For small text/icons on the dark
     canvas, --green/--gold are the same hue lifted in lightness only, so
     they read clearly without becoming a different color. */
  --bg: hsl(220, 42%, 7%);
  --fg: hsl(40, 22%, 92%);
  --heading: hsl(40, 28%, 95%);
  --card: hsl(215, 42%, 10%);
  --muted: hsl(215, 36%, 13%);
  --muted-fg: hsl(215, 18%, 66%);
  --border: hsl(215, 28%, 20%);

  /* True logo colors — use these for solid fills/brand blocks */
  --brand-green: hsl(155, 80%, 24%);
  --brand-gold: hsl(40, 97%, 59%);
  --brand-red: hsl(359, 76%, 55%);

  /* Same hues, lifted for legibility as text/icons/accents on dark surfaces */
  --green: hsl(155, 55%, 46%);
  --green-soft: hsl(155, 55%, 16%);
  --gold: hsl(40, 88%, 60%);
  --gold-soft: hsl(40, 55%, 18%);
  --red: hsl(359, 72%, 60%);
  --red-soft: hsl(359, 55%, 18%);

  --shadow-soft: 0 1px 0 hsl(40 30% 97% / 0.03) inset, 0 10px 30px -14px hsl(220 70% 2% / 0.7);
  --shadow-elegant: 0 40px 90px -30px hsl(220 70% 2% / 0.85);

  --grad-brand: linear-gradient(120deg, hsl(155, 65%, 38%) 0%, hsl(155, 55%, 48%) 45%, hsl(40, 88%, 60%) 100%);
  --grad-brand-soft: linear-gradient(120deg, hsl(155 60% 28% / 0.18), hsl(40 55% 55% / 0.12));
  /* The full three-color logo mark, reserved for a few special moments
     (scroll progress bar, flight-strip tabs) rather than everyday UI */
  --grad-brand-tri: linear-gradient(90deg, hsl(155, 70%, 32%) 0%, hsl(40, 90%, 58%) 55%, hsl(359, 72%, 58%) 100%);
  --glow-green: 0 0 24px hsl(155 65% 40% / 0.35);
  --glass-border: hsl(40 30% 97% / 0.18);
  /* Extended 2026 accent range — used for the deeper, richer sections */
  --teal: hsl(178, 62%, 46%);
  --teal-soft: hsl(178, 55%, 92%);
  --deep-space: hsl(220, 62%, 6%);
  --deep-space-2: hsl(215, 55%, 12%);
  --grad-globe-bg: radial-gradient(ellipse 70% 60% at 28% 15%, hsl(155 50% 20% / 0.55) 0%, transparent 60%),
                   radial-gradient(ellipse 60% 50% at 85% 85%, hsl(38 55% 30% / 0.35) 0%, transparent 60%),
                   radial-gradient(ellipse 90% 90% at 50% 50%, var(--deep-space-2) 0%, var(--deep-space) 70%);
}

/* ─── Dark-theme surface fixes for rules in style.css that hardcoded an
   ivory/white background instead of using a variable ─────────────────── */

.campaign-section {
  background: linear-gradient(180deg, hsl(215, 45%, 8%) 0%, var(--bg) 100%);
}

.campaign-card {
  background: var(--card);
  border: 1px solid var(--border);
}

.quote-form,
.testimonial-card {
  border: 1px solid var(--border);
}

.radio-option {
  background: var(--muted);
  border-color: var(--border);
}

.radio-option input:checked + .option-body {
  background: hsl(155 55% 46% / 0.12);
}

.form-input,
.form-textarea {
  background: var(--muted);
  border-color: var(--border);
  color: var(--fg);
}

.form-alert {
  background: hsl(359 55% 18%);
  border-color: hsl(359 55% 32%);
  color: hsl(359 70% 82%);
}

/* stat-item light/dark distinction still needs to read on a dark canvas */
.stat-item.dark { background: hsl(215, 46%, 15%); }

/* Header: dark glass instead of the old cream glass */
.site-header.scrolled,
.site-header.solid {
  background: hsl(220 45% 7% / 0.86);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
}

/* ─── Glass pill badges (hero eyebrows) ─────────────────────────────────── */

.hero-eyebrow,
.page-hero-content .hero-eyebrow {
  width: fit-content;
  padding: 0.6rem 1.25rem 0.6rem 1rem;
  border-radius: 999px;
  background: var(--grad-brand-soft);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 8px 32px -14px hsl(215 55% 8% / 0.55), inset 0 1px 0 hsl(40 30% 97% / 0.08);
  position: relative;
}

.hero-eyebrow-line,
.hero-eyebrow > span:first-child,
.page-hero-content .hero-eyebrow > span:first-child {
  display: none;
}

.hero-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: hsl(155, 70%, 55%);
  flex-shrink: 0;
  animation: agPulseDot 2.4s ease-out infinite;
}

@keyframes agPulseDot {
  0%   { box-shadow: 0 0 0 0 hsl(155 70% 55% / 0.55); }
  70%  { box-shadow: 0 0 0 10px hsl(155 70% 55% / 0); }
  100% { box-shadow: 0 0 0 0 hsl(155 70% 55% / 0); }
}

/* Section-level eyebrow labels get a gradient hairline */
.eyebrow::before {
  background: var(--grad-brand);
}

/* ─── Gradient accent text in headlines ─────────────────────────────────── */

.hero h1 .green,
.page-hero h1 .green,
.global-network-copy h1 .green,
.global-network-copy h2 .green,
.cta-band h2 .italic,
.cta-eyebrow {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: agShimmer 6s ease-in-out infinite;
}

@keyframes agShimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow::before,
  .hero h1 .green,
  .page-hero h1 .green,
  .global-network-copy h1 .green,
  .global-network-copy h2 .green,
  .cta-band h2 .italic,
  .cta-eyebrow { animation: none; }
}

/* ─── Pill buttons with shine sweep ─────────────────────────────────────── */

.btn {
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 20%, hsl(40 30% 97% / 0.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.6s cubic-bezier(.22,1,.36,1);
}

.btn:hover::before { transform: translateX(120%); }

.btn-green {
  background: var(--grad-brand);
  box-shadow: 0 10px 30px -12px hsl(155 60% 32% / 0.55);
  transition: box-shadow 0.3s ease, transform 0.2s ease, background 0.2s ease;
}
.btn-green:hover {
  background: var(--grad-brand);
  box-shadow: var(--glow-green), 0 14px 34px -14px hsl(155 60% 32% / 0.6);
  transform: translateY(-2px);
}

.btn-navy {
  transition: box-shadow 0.3s ease, transform 0.2s ease, background 0.2s ease;
}
.btn-navy:hover {
  box-shadow: 0 14px 34px -14px hsl(215 55% 14% / 0.55);
  transform: translateY(-2px);
}

.btn-outline {
  transition: box-shadow 0.3s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -14px hsl(40 30% 97% / 0.35);
}

/* ─── Card lift polish ───────────────────────────────────────────────────── */

.campaign-card,
.stat-item,
#testimonials-grid > div,
#services-preview > a {
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s cubic-bezier(.22,1,.36,1);
}

#testimonials-grid > div:hover,
#services-preview > a:hover {
  transform: translateY(-6px);
}

.stat-item:hover {
  box-shadow: inset 0 0 0 1px hsl(155 60% 32% / 0.25);
}

/* ─── Network canvas backdrop (injected by js/network-bg.js) ───────────── */

.network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: screen;
}

.hero .hero-overlay { z-index: 2; }
.hero .hero-content,
.hero .container.hero-content { z-index: 3; }

.page-hero .page-hero-overlay { z-index: 2; }
.page-hero .page-hero-content { z-index: 3; position: relative; }

@media (prefers-reduced-motion: reduce) {
  .network-canvas { display: none; }
}

/* ─── Global Network section (the "connect the world" globe moment) ────── */

.global-network-section {
  position: relative;
  overflow: hidden;
  background: var(--grad-globe-bg);
  color: hsl(40, 30%, 97%);
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.global-network-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsl(40 30% 97% / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, hsl(40 30% 97% / 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 75%);
  pointer-events: none;
}

.global-network-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.badge-pill,
.global-network-copy .badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
  padding: 0.55rem 1.15rem 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--grad-brand-soft);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: hsl(40, 30%, 97%);
  margin-bottom: 1.75rem;
}

.badge-pill::before,
.global-network-copy .badge-pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: hsl(155, 70%, 55%);
  animation: agPulseDot 2.4s ease-out infinite;
  flex-shrink: 0;
}

.global-network-copy h1,
.global-network-copy h2 {
  font-size: clamp(2.25rem, 4.4vw, 3.75rem);
  line-height: 1.05;
  color: hsl(40, 30%, 97%);
}

.global-network-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.global-network-copy p.lead {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: hsl(40 30% 97% / 0.72);
}

.global-network-copy .hero-actions {
  margin-top: 2.25rem;
}

.global-network-stats {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: hsl(40 30% 97% / 0.1);
  max-width: 32rem;
  border-radius: 1rem;
  overflow: hidden;
}

.global-network-stats > div {
  background: hsl(220 55% 10% / 0.65);
  padding: 1.25rem 1rem;
  text-align: center;
}

.global-network-stats .stat-k {
  font-family: 'General Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: hsl(155, 55%, 65%);
  line-height: 1;
}

.global-network-stats .stat-v {
  margin-top: 0.4rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(40 30% 97% / 0.5);
}

.globe-mount {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 320px;
  z-index: 1;
}

.globe-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@media (max-width: 900px) {
  .global-network-grid { grid-template-columns: 1fr; }
  .globe-mount { order: -1; max-width: 460px; margin: 0 auto; }
  .global-network-stats { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .global-network-section::before { display: none; }
}

/* ─── Trust ticker (scrolling credibility strip above every footer) ────── */

.trust-ticker {
  background: var(--navy);
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid hsl(40 30% 97% / 0.08);
}

.trust-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  animation: agTickerScroll 26s linear infinite;
  will-change: transform;
}

.trust-ticker-track span {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: hsl(40 30% 97% / 0.6);
}

.trust-ticker-track .dot {
  color: hsl(155, 65%, 55%);
  opacity: 0.85;
}

@keyframes agTickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .trust-ticker-track { animation: none; }
}

.trust-ticker:hover .trust-ticker-track {
  animation-play-state: paused;
}

/* ─── Final CTA band (replaces the old flat cream strip) ────────────────── */

.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: linear-gradient(120deg, hsl(215, 55%, 10%) 0%, hsl(215, 60%, 7%) 60%, hsl(220, 65%, 5%) 100%);
  color: hsl(40, 30%, 97%);
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 85% 15%, hsl(155 45% 25% / 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 55% 60% at 8% 95%, hsl(38 50% 30% / 0.28) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.final-cta h2 {
  margin-top: 1rem;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.15;
  color: hsl(40, 30%, 97%);
}

.final-cta h2 .green {
  color: hsl(155, 55%, 68%);
  background: none;
  -webkit-text-fill-color: hsl(155, 55%, 68%);
}

.final-cta-btn { white-space: nowrap; }

@media (max-width: 720px) {
  .final-cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ─── Section rhythm polish (applies everywhere, no markup changes) ────── */

.eyebrow {
  font-weight: 600;
  color: var(--green);
}

.section-lg, .section {
  position: relative;
}

/* Alternate light sections get a whisper of depth instead of flat white */
.campaign-section,
.section-lg:nth-of-type(odd) {
  background-image: radial-gradient(ellipse 60% 50% at 100% 0%, hsl(155 45% 92% / 0.6) 0%, transparent 60%);
}

/* Elevate every generic image inside a card-like container */
.about-teaser img,
.testimonial-card img {
  transition: transform 0.6s cubic-bezier(.22,1,.36,1);
}
.about-teaser:hover img,
.testimonial-card:hover img {
  transform: scale(1.04);
}

/* ─── Scroll progress bar + back-to-top (see js/chrome.js) ─────────────── */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-brand-tri);
  z-index: 9999;
  pointer-events: none;
}

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: hsl(40, 30%, 97%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid hsl(40 30% 97% / 0.15);
  box-shadow: 0 10px 30px -10px hsl(215 55% 8% / 0.5);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover { background: var(--green); }

@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity 0.01s linear; }
}

/* ─── Blog — magazine layout ─────────────────────────────────────────────
   Note: blog cards are injected client-side after DOMContentLoaded, so
   they use a self-contained CSS @keyframes entrance (blogFadeIn) rather
   than the .fade-up/IntersectionObserver system in animations.js, which
   only observes elements present at initial page load. */

@keyframes blogFadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.blog-anim-in {
  animation: blogFadeIn 0.6s cubic-bezier(.22,1,.36,1) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}

@media (prefers-reduced-motion: reduce) {
  .blog-anim-in { animation: none; }
}

/* Featured spotlight card */
.blog-featured {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  background: linear-gradient(125deg, hsl(215, 55%, 11%) 0%, hsl(215, 60%, 8%) 55%, hsl(220, 65%, 6%) 100%);
  color: hsl(40, 30%, 97%);
  margin-bottom: 3.5rem;
  text-decoration: none;
}

.blog-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 75% at 90% 10%, hsl(152 45% 25% / 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 50% 55% at 5% 95%, hsl(38 50% 30% / 0.28) 0%, transparent 60%),
    linear-gradient(hsl(40 30% 97% / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, hsl(40 30% 97% / 0.035) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  pointer-events: none;
}

.blog-featured-inner {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 46rem;
}

.blog-featured-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: hsl(152, 65%, 68%);
  margin-bottom: 1.25rem;
}
.blog-featured-label::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: hsl(152, 70%, 55%);
  animation: agPulseDot 2.4s ease-out infinite;
}

.blog-featured h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.1;
  color: hsl(40, 30%, 97%);
  margin-top: 0.5rem;
}

.blog-featured p {
  margin-top: 1.25rem;
  color: hsl(40 30% 97% / 0.72);
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 40rem;
}

.blog-featured-cta {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: hsl(40, 30%, 97%);
  border-bottom: 1px solid hsl(38, 55%, 55%);
  padding-bottom: 3px;
  transition: gap 0.25s ease, color 0.25s ease;
}

.blog-featured:hover .blog-featured-cta {
  gap: 0.9rem;
  color: hsl(152, 55%, 68%);
}

/* Category chip, shared by featured + grid cards */
.blog-cat-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: hsl(152 60% 32% / 0.14);
  color: hsl(152, 55%, 42%);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  width: fit-content;
}

.blog-featured .blog-cat-chip {
  background: hsl(152 55% 60% / 0.18);
  color: hsl(152, 60%, 72%);
  margin-bottom: 1rem;
}

/* Toolbar: category filters + result count */
.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.blog-filter-pill {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted-fg);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.blog-filter-pill:hover { transform: translateY(-1px); border-color: var(--green); color: var(--green); }

.blog-filter-pill.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.blog-count {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-fg);
}

/* Article grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: var(--card);
  border-radius: 1.25rem;
  padding: 2rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s cubic-bezier(.22,1,.36,1);
}

.blog-card-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(.22,1,.36,1);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px -24px hsl(215 45% 12% / 0.22);
}

.blog-card:hover .blog-card-top { transform: scaleX(1); }

.blog-card h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--navy);
}

.blog-card p {
  color: var(--muted-fg);
  font-size: 0.9375rem;
  line-height: 1.7;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-fg);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.blog-meta .dot { opacity: 0.5; }

.blog-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  transition: gap 0.25s ease, color 0.25s ease;
}

.blog-card:hover .blog-card-arrow { gap: 0.7rem; color: var(--green); }

@media (max-width: 1100px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-toolbar { flex-direction: column; align-items: flex-start; }
}

/* ─── Radar sweep (see js/radar.js) ─────────────────────────────────────── */

.stats-radar-section {
  position: relative;
  overflow: hidden;
}

.radar-mount {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.radar-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stats-radar-section .stat-item.dark {
  position: relative;
  z-index: 1;
  background: hsl(215 50% 18% / 0.78);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

@media (prefers-reduced-motion: reduce) {
  .radar-canvas { opacity: 0.5; }
}

/* ─── Split-flap departure board (see js/splitflap.js) ──────────────────── */

.splitflap-section {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--bg);
}

.splitflap-board {
  max-width: 58rem;
  margin: 0 auto;
  background: hsl(220, 48%, 5%);
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  padding: 1.25rem clamp(1rem, 3vw, 2rem);
  box-shadow: var(--shadow-elegant);
  overflow-x: auto;
}

.splitflap-row {
  display: grid;
  grid-template-columns: 2.3fr 1.7fr 1fr 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.7rem 0.25rem;
  animation: splitflapRowIn 0.5s ease both;
  animation-delay: var(--row-delay, 0ms);
}

@keyframes splitflapRowIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.splitflap-row + .splitflap-row {
  border-top: 1px solid hsl(40 30% 97% / 0.06);
}

.splitflap-head {
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-fg);
  padding: 0 0.25rem 0.85rem;
  border-bottom: 1px solid var(--border);
  animation: none;
}

.splitflap-cell {
  display: flex;
  gap: 2px;
  font-family: ui-monospace, 'SFMono-Regular', 'Courier New', monospace;
  flex-wrap: nowrap;
}

.flap-char {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 13px;
  padding: 0.2rem 0.1rem;
  background: hsl(220, 42%, 10%);
  color: hsl(155, 68%, 60%);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 3px;
  position: relative;
  line-height: 1;
}

.flap-char::after {
  content: '';
  position: absolute;
  left: 1px; right: 1px; top: 50%;
  height: 1px;
  background: hsl(220 48% 5% / 0.7);
}

.cell-status .flap-char,
.cell-eta .flap-char { color: hsl(40, 78%, 66%); }

.cell-desk .flap-char { color: hsl(40, 25%, 85%); }

.flap-char.flipping {
  animation: flapBlink 0.11s steps(1);
}

@keyframes flapBlink {
  0%   { transform: scaleY(1); opacity: 1; }
  50%  { transform: scaleY(0.3); opacity: 0.35; }
  100% { transform: scaleY(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .splitflap-row { animation: none; }
  .flap-char.flipping { animation: none; }
}

@media (max-width: 700px) {
  .splitflap-row { grid-template-columns: 1.8fr 1.3fr 0.8fr 0.8fr; gap: 0.4rem; }
  .flap-char { font-size: 0.6rem; min-width: 9px; padding: 0.15rem 0.05rem; }
}

/* ─── Flight strips (services preview cards) ────────────────────────────── */

.flight-strip-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background: var(--card);
  transition: transform 0.3s cubic-bezier(.22,1,.36,1), box-shadow 0.3s cubic-bezier(.22,1,.36,1);
}

.flight-strip-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elegant);
  z-index: 2;
}

.strip-tab {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--grad-brand-tri);
}

.strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem 0.85rem 1.75rem;
  background: hsl(215 45% 6% / 0.45);
  border-bottom: 1px dashed var(--border);
  font-family: ui-monospace, 'SFMono-Regular', 'Courier New', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.strip-code {
  color: var(--green);
  font-weight: 700;
}

.strip-status {
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: hsl(155 55% 46% / 0.16);
  color: hsl(155, 60%, 62%);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
}

.strip-body {
  padding: 1.75rem;
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

/* ─── Flight-plan coordinates (footer + hero micro-detail) ─────────────── */

.flight-coords {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: ui-monospace, 'SFMono-Regular', 'Courier New', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: hsl(40 30% 97% / 0.4);
  white-space: nowrap;
}

.flight-coords .sep {
  color: hsl(155, 60%, 55%);
  opacity: 0.7;
}

.global-network-copy .flight-coords,
.global-network-hero .flight-coords {
  color: hsl(40 30% 97% / 0.55);
}

@media (max-width: 640px) {
  .footer-bottom .flight-coords { display: none; }
}

