/* ===== AeroFlux Innovations — split copy + animated vertical index ===== */
:root {
  --navy:        #104080;
  --navy-mid:    #0d3568;
  --navy-deep:   #0b2a52;
  --navy-ink:    #08203d;
  --cyan:        #0090d0;
  --cyan-bright: #2eb4e6;
  --ice:         #f3f7fb;
  --mist:        #e6eef5;
  --paper:       #ffffff;
  --text:        #0d2a4a;
  --muted:       #4d6a84;
  --line:        #c5d4e4;
  --text-inv:    #f4f8fc;
  --muted-inv:   #b7c9db;
  --line-inv:    rgba(46, 180, 230, 0.28);
  --grad:        linear-gradient(120deg, #2eb4e6 0%, #0090d0 55%, #104080 100%);
  --radius:      16px;
  --maxw:        1180px;
  --ease:        cubic-bezier(.22, .61, .36, 1);
  --header-h:    72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ice);
  color: var(--text);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand-name, .idx-num, .card-num, .method-tag {
  font-family: "Big Shoulders Display", "Figtree", system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--cyan); color: var(--navy-ink);
  padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn-primary {
  background: var(--grad); color: #041221;
  box-shadow: 0 8px 24px -8px rgba(0, 144, 208, .55);
}
.btn-ghost {
  background: transparent; color: var(--navy); border-color: var(--navy);
}

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(243, 247, 251, .78);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(243, 247, 251, .94);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.brand-name {
  font-size: 20px; font-weight: 700; letter-spacing: .02em;
  text-transform: uppercase;
}
.brand-name em {
  font-style: italic; font-weight: 600; text-transform: none;
  letter-spacing: 0; color: var(--cyan);
  font-family: "Figtree", sans-serif; font-size: 15px;
  margin-left: 2px;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 15px; color: var(--muted); font-weight: 500;
  transition: color .2s var(--ease);
}
.nav .nav-cta {
  color: var(--text); border: 1px solid var(--line);
  padding: 8px 18px; border-radius: 999px;
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero split ===== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  min-height: 100vh;
  padding-top: var(--header-h);
}

.hero-copy {
  position: relative;
  background: var(--ice);
  display: flex; align-items: center;
  padding: 56px 48px 64px 0;
  overflow: hidden;
}
.hero-copy-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 640px;
  margin-left: auto;
  padding-left: 24px;
}
.hero-copy .eyebrow {
  display: inline-block;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan); font-weight: 600; margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}
.hero-sub {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--muted);
  margin-top: 22px;
  max-width: 52ch;
}
.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px;
}

/* Logo-inspired flux arcs (no aircraft, no sky photo) */
.flux-mark {
  position: absolute;
  right: -40px; top: 8%;
  width: min(340px, 55%);
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: .55;
}
.flux-arc {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: flux-draw 3.6s var(--ease) forwards, flux-drift 10s ease-in-out 3.6s infinite;
}
.flux-arc-a { stroke: var(--navy); stroke-width: 6; }
.flux-arc-b { stroke: var(--cyan); stroke-width: 5; animation-delay: .45s, 4.05s; }
.flux-dot { fill: var(--cyan-bright); }
.flux-dot-a { animation: flux-pulse 2.8s ease-in-out infinite; }
.flux-dot-b { fill: var(--navy); animation: flux-pulse 2.8s ease-in-out .8s infinite; }

@keyframes flux-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes flux-drift {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}
@keyframes flux-pulse {
  0%, 100% { opacity: .35; }
  50% { opacity: 1; }
}

/* ===== Animated vertical index (right) ===== */
.hero-index {
  position: relative;
  background: var(--navy-ink);
  color: var(--text-inv);
  padding: 28px 36px 32px 40px;
  display: flex; flex-direction: column; justify-content: stretch;
  overflow: hidden;
}
.hero-index::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 80% 0%, rgba(0, 144, 208, .22), transparent 60%),
    repeating-linear-gradient(
      180deg,
      transparent 0 31px,
      rgba(46, 180, 230, .06) 31px 32px
    );
  pointer-events: none;
}
.index-head {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-inv);
}
.index-kicker {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan-bright); font-weight: 600;
}
.index-range {
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 18px; letter-spacing: .12em; color: var(--muted-inv);
}

.index-track {
  position: relative; z-index: 2;
  flex: 1;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 4px;
  padding-left: 22px;
  border-left: 1px solid var(--line-inv);
  min-height: 0;
}

.index-bead {
  position: absolute;
  left: -5px; top: 0;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 0 4px rgba(0, 144, 208, .22), 0 0 18px var(--cyan);
  transition: transform .55s var(--ease);
  will-change: transform;
}

.idx-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 10px 12px 10px 8px;
  border-radius: 12px;
  color: var(--text-inv);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.idx-num {
  font-size: clamp(3.1rem, 7.2vh, 6.2rem);
  font-weight: 800;
  line-height: .85;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(46, 180, 230, .38);
  transition: color .4s var(--ease), -webkit-text-stroke-color .4s var(--ease);
  min-width: 1.7ch;
}
.idx-body { display: grid; gap: 4px; min-width: 0; }
.idx-body strong {
  font-family: "Big Shoulders Display", sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted-inv);
  transition: color .3s var(--ease);
}
.idx-body em {
  font-style: normal;
  font-size: 13.5px;
  color: rgba(183, 201, 219, .72);
  line-height: 1.4;
}

.idx-item.is-active .idx-num {
  color: var(--cyan-bright);
  -webkit-text-stroke-color: transparent;
}
.idx-item.is-active .idx-body strong { color: var(--text-inv); }
.idx-item.is-active {
  background: rgba(0, 144, 208, .1);
}

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-mist { background: var(--mist); }
.kicker {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan); font-weight: 600; margin: 0 0 12px;
}
.section-head { max-width: 680px; margin: 0 0 52px; }
.section-head h2, .about-lead h2, .contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
}
.section-head .lead { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

.section-head.on-dark h2 { color: var(--text-inv); }
.section-head.on-dark .lead { color: var(--muted-inv); }
.section-head.on-dark .kicker { color: var(--cyan-bright); }

/* About */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.about-copy { display: grid; gap: 16px; color: var(--muted); font-size: 1.05rem; }

/* Focus cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.card,
#about, #focus, #method, #faq, #contact, #index, #statement {
  scroll-margin-top: 88px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.card-num {
  display: block;
  font-size: 2.6rem; font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 10px;
}
.card h3 {
  font-size: 1.55rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.card p { color: var(--muted); font-size: 1rem; }

/* Method — dark band */
.method {
  background: var(--navy-deep);
  color: var(--text-inv);
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.method-card {
  background: rgba(8, 32, 61, .45);
  border: 1px solid var(--line-inv);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.method-tag {
  display: block;
  font-size: 1.8rem; font-weight: 800;
  color: var(--cyan-bright);
  margin-bottom: 10px;
}
.method-card h3 {
  font-size: 1.45rem;
  text-transform: uppercase;
  color: var(--text-inv);
  margin-bottom: 10px;
}
.method-card p { color: var(--muted-inv); }

/* Quote */
.quote { background: var(--ice); }
.quote-inner {
  max-width: 860px; margin: 0 auto; text-align: center;
}
.quote-mark {
  display: block;
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 5.5rem; line-height: .5;
  color: var(--cyan); opacity: .55;
  margin-bottom: 12px;
}
.quote-inner blockquote {
  margin: 0;
  font-family: "Big Shoulders Display", sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text);
}
.quote-attr {
  margin-top: 22px;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px; font-weight: 600;
}

/* FAQ */
.faq-wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.faq-head { margin: 0; position: sticky; top: 100px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s var(--ease);
}
.faq-item.open { border-color: var(--cyan); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left; color: var(--text);
  font-family: "Figtree", sans-serif; font-size: 1.05rem; font-weight: 600;
  padding: 20px 22px;
}
.faq-ico { position: relative; flex: 0 0 auto; width: 16px; height: 16px; }
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute; background: var(--cyan); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq-ico::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-ico::after { top: 0; left: 7px; width: 2px; height: 16px; }
.faq-item.open .faq-ico::after { transform: scaleY(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 280px; }
.faq-a p { color: var(--muted); margin: 0; padding: 0 22px 20px; font-size: .98rem; }

/* Contact — dark band */
.contact {
  background: var(--navy-ink);
  color: var(--text-inv);
}
.contact .kicker { color: var(--cyan-bright); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-copy h2 { color: var(--text-inv); margin-bottom: 16px; }
.contact-copy p { color: var(--muted-inv); margin-bottom: 20px; }
.contact-email {
  display: inline-block;
  font-family: "Big Shoulders Display", sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--cyan-bright);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.contact-addr {
  margin-top: 22px;
  color: var(--muted-inv);
  font-size: .98rem;
  line-height: 1.6;
}
.contact-form {
  background: rgba(16, 64, 128, .22);
  border: 1px solid var(--line-inv);
  border-radius: var(--radius);
  padding: 28px;
  display: grid; gap: 16px;
}
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; color: var(--muted-inv); font-weight: 500; }
.field input, .field textarea {
  background: var(--navy-deep);
  border: 1px solid var(--line-inv);
  border-radius: 10px;
  color: var(--text-inv);
  padding: 12px 14px;
  font: inherit; font-size: 15px;
  width: 100%; resize: vertical;
  transition: border-color .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(183, 201, 219, .55); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); }
.contact-form .btn { margin-top: 4px; justify-self: start; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 48px 0 26px;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 30px; flex-wrap: wrap;
  padding-bottom: 28px; border-bottom: 1px solid var(--line);
}
.footer-tag { color: var(--muted); margin: 12px 0 0; font-size: .95rem; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); font-size: 15px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  color: var(--muted); font-size: 14px; padding-top: 20px;
}

/* ===== Reveal (JS only) ===== */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .flux-arc, .flux-dot, .index-bead { animation: none; }
  .flux-arc { stroke-dashoffset: 0; }
}

/* Hover AFTER reveal.in so lift is not overwritten */
@media (hover: hover) and (pointer: fine) {
  .btn { transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px -8px rgba(0, 144, 208, .7);
  }
  .btn-ghost:hover {
    border-color: var(--cyan);
    color: var(--navy);
    transform: translateY(-2px);
  }
  .nav a:hover { color: var(--text); }
  .nav .nav-cta:hover { border-color: var(--cyan); color: var(--navy); }
  .idx-item:hover { background: rgba(0, 144, 208, .16); transform: translateX(6px); }
  .idx-item:hover .idx-num {
    color: var(--cyan-bright);
    -webkit-text-stroke-color: transparent;
  }
  .idx-item:hover .idx-body strong { color: var(--text-inv); }
  .card.reveal.in:hover,
  .card:hover {
    transform: translateY(-6px);
    border-color: var(--cyan);
    box-shadow: 0 18px 36px -16px rgba(16, 64, 128, .28);
  }
  .method-card.reveal.in:hover,
  .method-card:hover {
    transform: translateY(-6px);
    border-color: var(--cyan-bright);
    background: rgba(0, 144, 208, .14);
  }
  .faq-item:hover { border-color: var(--cyan); }
  .faq-q:hover { color: var(--navy); }
  .contact-email:hover { border-bottom-color: var(--cyan-bright); }
  .footer-nav a:hover { color: var(--navy); }
  .contact-form.reveal.in:hover,
  .contact-form:hover {
    border-color: var(--cyan);
  }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy {
    padding: 48px 0 40px;
  }
  .hero-copy-inner {
    margin: 0 auto;
    padding: 0 24px;
    max-width: var(--maxw);
  }
  .flux-mark {
    right: -20px; top: auto; bottom: -8%;
    width: 220px; opacity: .35;
  }
  .hero-index { padding: 32px 24px 40px; }
  .index-track {
    flex: none;
    grid-template-rows: none;
    gap: 6px;
  }
  .about-grid,
  .faq-wrap,
  .contact-inner,
  .method-grid,
  .card-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 4px; align-items: stretch;
    background: rgba(243, 247, 251, .98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    transform: translateY(-120%);
    transition: transform .35s var(--ease);
    z-index: 90;
  }
  .nav.open { transform: translateY(0); }
  .nav a {
    padding: 12px 4px; font-size: 17px; color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .nav .nav-cta { text-align: center; margin-top: 10px; border-color: var(--cyan); }
  .hero h1 { font-size: clamp(2.15rem, 10vw, 3rem); }
  .section { padding: 68px 0; }
  .idx-num { font-size: 3.2rem; }
  .brand-name { font-size: 17px; }
}

/* ~390px: even spacing, stacked, nothing cramped */
@media (max-width: 480px) {
  .container,
  .hero-copy-inner { padding-left: 20px; padding-right: 20px; }
  .hero-copy { padding: 36px 0 32px; }
  .hero-index { padding: 28px 20px 36px; }
  .hero-actions { gap: 10px; }
  .btn { width: 100%; }
  .index-track { padding-left: 18px; gap: 4px; }
  .idx-item {
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 8px 4px;
  }
  .idx-num { font-size: 2.7rem; min-width: 1.6ch; }
  .idx-body em { font-size: 13px; }
  .card, .method-card { padding: 24px 20px; }
  .card-grid, .method-grid { gap: 14px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .about-grid { gap: 24px; }
  .contact-inner { gap: 32px; }
  .contact-form { padding: 22px 18px; }
  .faq-q { padding: 18px 16px; font-size: 1rem; }
  .footer-inner { flex-direction: column; gap: 20px; }
  .quote-mark { font-size: 4rem; }
  .flux-mark { display: none; }
}
