@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@400;500;600&display=swap");

:root {
  --navy-950: #020612;
  --navy-900: #040b1d;
  --navy-850: #081229;
  --blue-500: #2d78ff;
  --ice: #eef5ff;
  --paper: #f1f3f4;
  --ink: #101728;
  --muted: #768096;
  --amber: #f6a41c;
  --line-light: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(12, 24, 48, 0.14);
  --display: "Manrope", "Avenir Next", "Helvetica Neue", sans-serif;
  --body: "DM Sans", "Avenir Next", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy-950); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ice);
  background: var(--navy-950);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000; transform: translateY(-150%);
  padding: 10px 14px; border-radius: 8px; color: var(--ink); background: white;
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed; z-index: 100; top: 18px; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 40px));
  height: 64px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 18px 0 24px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px;
  background: rgba(3, 9, 24, .56); backdrop-filter: blur(20px) saturate(125%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18); transition: background .35s, top .35s;
}
.site-header.is-scrolled { top: 10px; background: rgba(3, 9, 24, .88); }
.brand { display: inline-flex; align-items: center; gap: 8px; min-width: 142px; }
.brand__word {
  font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: .28em;
  line-height: 1; text-shadow: 0 0 18px rgba(255,255,255,.12);
}
.brand__signal { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 14px var(--amber); }
.site-nav { display: flex; align-items: center; gap: 5px; font-size: 14px; }
.site-nav > a, .nav-products__trigger { padding: 11px 14px; border: 0; border-radius: 11px; background: transparent; cursor: pointer; }
.site-nav > a:hover, .nav-products__trigger:hover { background: rgba(255,255,255,.08); }
.nav-products { position: relative; }
.nav-products__trigger { display: flex; align-items: center; gap: 8px; }
.nav-products__trigger svg { width: 10px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .25s; }
.nav-products.is-open .nav-products__trigger svg { transform: rotate(180deg); }
.nav-products__menu {
  position: absolute; top: calc(100% + 13px); right: 0; width: 290px; padding: 8px;
  border: 1px solid rgba(255,255,255,.13); border-radius: 17px; background: rgba(4, 11, 29, .96);
  box-shadow: 0 24px 70px rgba(0,0,0,.4); opacity: 0; visibility: hidden; transform: translateY(-7px);
  transition: opacity .2s, transform .2s, visibility .2s; backdrop-filter: blur(20px);
}
.nav-products.is-open .nav-products__menu, .nav-products:focus-within .nav-products__menu {
  opacity: 1; visibility: visible; transform: none;
}
.nav-products__menu a { display: block; padding: 14px; border-radius: 11px; }
.nav-products__menu a:hover { background: rgba(255,255,255,.07); }
.nav-products__menu span { display: block; margin-bottom: 4px; font-weight: 600; }
.nav-products__menu small { color: #8f9bb5; font-size: 12px; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: rgba(255,255,255,.07); }
.menu-toggle span:not(.sr-only) { display: block; width: 17px; height: 1px; margin: 5px auto; background: white; transition: transform .25s; }

.hero {
  position: relative; isolation: isolate; min-height: 760px; height: 100svh; overflow: hidden;
  display: flex; align-items: center; padding: 120px max(6vw, 24px) 90px; background: #04102a;
}
.hero__scene {
  position: absolute; z-index: -5; inset: -2.5%; overflow: hidden;
  transform: translate3d(var(--scene-x, 0), calc(var(--scene-y, 0px) + var(--scene-scroll-y, 0px)), 0) scale(1.045);
  transition: transform .2s linear; will-change: transform;
}
.hero__scene::after {
  content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(0,26,94,.72) 0%, rgba(0,57,137,.4) 48%, rgba(6,20,48,.12) 100%);
  mix-blend-mode: multiply; transition: opacity 1.1s ease;
}
.hero__fallback, .hero__sky, .hero__canopy { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fallback { background: url("avianix-canopy-concept.webp") center / cover no-repeat; }
.hero__sky { z-index: 1; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1.1s ease; }
.hero__canopy { z-index: 3; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1.1s ease; pointer-events: none; }
.hero__scene.is-video-ready::after,
.hero__scene.is-video-ready .hero__sky, .hero__scene.is-video-ready .hero__canopy { opacity: 1; }
.hero__atmosphere {
  position: absolute; z-index: -3; inset: -18%; opacity: .16; filter: blur(32px);
  background:
    radial-gradient(ellipse at 15% 58%, rgba(255,255,255,.9) 0 4%, transparent 18%),
    radial-gradient(ellipse at 80% 44%, rgba(175,216,255,.75) 0 3%, transparent 16%);
  animation: atmosphereDrift 24s ease-in-out infinite alternate;
}
.hero__glass-sweep {
  position: absolute; z-index: -2; inset: 0; opacity: .26; mix-blend-mode: screen;
  background: linear-gradient(112deg, transparent 30%, rgba(160,210,255,.1) 46%, transparent 57%);
  transform: translateX(-45%); animation: glassSweep 13s ease-in-out infinite;
}
.hero__vignette {
  position: absolute; z-index: -1; inset: 0;
  background:
    linear-gradient(90deg, rgba(1,6,18,.72) 0%, rgba(3,10,26,.18) 45%, rgba(3,8,18,.07) 72%),
    linear-gradient(0deg, rgba(1,5,15,.48) 0%, transparent 36%);
}
.hero__content { width: min(760px, 63vw); margin: 2vh 0 0 2vw; transform: translate3d(0, var(--content-y, 0), 0); }
.hero__content > * { animation: heroEnter .9s cubic-bezier(.2,.75,.25,1) both; }
.hero__content > :nth-child(2) { animation-delay: .08s; }
.hero__content > :nth-child(3) { animation-delay: .17s; }
.hero__content > :nth-child(4) { animation-delay: .26s; }
.eyebrow { margin: 0 0 22px; color: rgba(233,243,255,.72); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 1px; margin: 0 11px 3px 0; background: var(--amber); box-shadow: 0 0 8px rgba(246,164,28,.55); }
.eyebrow--dark { color: #6b7488; }
.hero h1 {
  margin: 0; max-width: 760px; font-family: var(--display); font-size: clamp(48px, 5.5vw, 84px);
  font-weight: 500; letter-spacing: -.055em; line-height: .98; text-wrap: balance; text-shadow: 0 4px 34px rgba(0,0,0,.26);
}
.hero h1 em { color: #bedcff; font-style: normal; }
.hero__statement { max-width: 670px; margin: 28px 0 0; color: rgba(239,246,255,.78); font-size: clamp(16px, 1.35vw, 20px); line-height: 1.58; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.hero__actions { display: flex; gap: 12px; margin-top: 35px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 51px; padding: 0 21px; border-radius: 13px; font-size: 14px; font-weight: 600; transition: transform .25s, background .25s; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #091225; background: #f4f7fb; box-shadow: 0 14px 45px rgba(0,0,0,.22); }
.button--primary:hover { background: white; }
.button--quiet { border: 1px solid rgba(255,255,255,.2); background: rgba(4,11,29,.25); backdrop-filter: blur(8px); }
.button--quiet:hover { background: rgba(4,11,29,.5); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255,255,255,.58); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.scroll-cue i { position: relative; width: 1px; height: 34px; overflow: hidden; background: rgba(255,255,255,.2); }
.scroll-cue i::after { content: ""; position: absolute; top: -50%; left: 0; width: 1px; height: 50%; background: white; animation: scrollSignal 2s ease-in-out infinite; }

.section { position: relative; padding: 140px max(6vw, 24px); }
.section__index { position: absolute; top: 42px; left: max(6vw, 24px); color: #8a93a4; font-size: 10px; letter-spacing: .18em; }
.section--about, .section--approach { color: var(--ink); background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: min(10vw, 150px); max-width: 1300px; margin: 0 auto; }
.section h2 { margin: 0; font-family: var(--display); font-size: clamp(42px, 5vw, 72px); font-weight: 500; letter-spacing: -.055em; line-height: 1.04; }
.about-copy { padding-top: 36px; }
.about-copy p { margin: 0 0 24px; color: #414b5e; font-size: clamp(18px, 1.5vw, 23px); line-height: 1.58; }
.signal-strip { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1300px; margin: 100px auto 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.signal-strip span { padding: 28px 0; color: #606b7e; font-size: 12px; letter-spacing: .15em; text-align: center; text-transform: uppercase; }
.signal-strip span + span { border-left: 1px solid var(--line-dark); }

.section--products { overflow: hidden; background: radial-gradient(circle at 75% 5%, #102c5c 0, transparent 30%), var(--navy-900); }
.section-heading { display: grid; grid-template-columns: 1.15fr .65fr; gap: 10vw; align-items: end; max-width: 1300px; margin: 0 auto 72px; }
.section-heading > p { margin: 0 0 7px; color: #9ba8be; font-size: 18px; line-height: 1.6; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 1300px; margin: 0 auto; }
.product-card { position: relative; overflow: hidden; min-height: 660px; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; background: #091328; box-shadow: 0 35px 80px rgba(0,0,0,.23); transition: transform .45s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.product-card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,.26); }
.product-card__visual { position: relative; height: 390px; overflow: hidden; }
.product-card__content { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 38px 40px 42px; }
.product-card__category { margin: 0 0 13px; color: rgba(255,255,255,.55); font-size: 10px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.product-card h3 { margin: 0 0 13px; font-family: var(--display); font-size: 38px; font-weight: 500; letter-spacing: -.04em; }
.product-card__content p:last-child { max-width: 430px; margin: 0; color: #aab4c7; line-height: 1.55; }
.round-link { flex: 0 0 auto; display: grid; place-items: center; width: 49px; height: 49px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; font-size: 18px; transition: color .25s, background .25s, transform .25s; }
.product-card:hover .round-link { color: #07101f; background: white; transform: rotate(8deg); }
.product-card--flight .product-card__visual { background: radial-gradient(circle at 70% 35%, rgba(87,151,255,.38), transparent 26%), linear-gradient(150deg, #101f46, #030713 70%); }
.orbit { position: absolute; border: 1px solid rgba(154,200,255,.19); border-radius: 50%; }
.orbit--one { width: 380px; height: 380px; right: -55px; top: -10px; }
.orbit--two { width: 275px; height: 275px; right: -3px; top: 43px; }
.flight-horizon { position: absolute; right: -110px; bottom: -155px; width: 540px; height: 380px; border-radius: 50%; background: radial-gradient(circle at 35% 0%, #4779bc 0, #10294f 28%, #061224 63%); box-shadow: 0 -8px 50px rgba(101,173,255,.25); }
.flight-route { position: absolute; z-index: 2; left: 16%; top: 53%; width: 68%; height: 120px; border-top: 2px solid rgba(255,255,255,.8); border-radius: 50%; transform: rotate(-8deg); filter: drop-shadow(0 0 9px rgba(113,177,255,.8)); }
.flight-dot { position: absolute; z-index: 3; top: 45%; left: 52%; width: 9px; height: 9px; border: 2px solid white; border-radius: 50%; box-shadow: 0 0 0 7px rgba(75,148,255,.18), 0 0 22px rgba(255,255,255,.8); }
.product-card--tennis { background: #0c291f; }
.product-card--tennis .product-card__visual { background: radial-gradient(circle at 80% 10%, rgba(225,245,86,.21), transparent 22%), linear-gradient(160deg, #173f31, #071a14); perspective: 900px; }
.court { position: absolute; width: 82%; height: 72%; left: 9%; top: 17%; border: 2px solid rgba(235,250,221,.72); transform: rotateX(60deg) rotateZ(-7deg); box-shadow: inset 0 0 80px rgba(0,0,0,.16), 0 0 80px rgba(94,205,146,.09); }
.court::before, .court::after { content: ""; position: absolute; background: rgba(235,250,221,.7); }
.court::before { left: 50%; top: 0; width: 2px; height: 100%; }
.court::after { top: 50%; left: 0; width: 100%; height: 2px; }
.court__net { position: absolute; z-index: 2; top: 50%; left: -3%; width: 106%; height: 11px; border-top: 2px solid white; border-bottom: 1px solid rgba(255,255,255,.4); transform: rotateX(-58deg); transform-origin: top; }
.court__line { position: absolute; top: 25%; width: 2px; height: 50%; background: rgba(235,250,221,.65); }
.court__line--a { left: 25%; } .court__line--b { right: 25%; }
.tennis-ball { position: absolute; top: 17%; right: 20%; width: 17px; height: 17px; border-radius: 50%; background: #d8f33e; box-shadow: 0 0 20px rgba(216,243,62,.55); animation: ballFloat 4s ease-in-out infinite; }
.future-note { display: flex; align-items: center; gap: 10px; max-width: 1300px; margin: 38px auto 0; color: #7f8ca5; font-size: 13px; }
.future-note span { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px rgba(246,164,28,.6); }

.approach-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: min(10vw, 150px); max-width: 1300px; margin: 0 auto; }
.approach-list { margin: 0; padding: 0; list-style: none; }
.approach-list li { display: grid; grid-template-columns: 55px 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid var(--line-dark); }
.approach-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.approach-list > li > span { color: #8c96a8; font-size: 11px; letter-spacing: .12em; }
.approach-list h3 { margin: -5px 0 9px; font-family: var(--display); font-size: 25px; font-weight: 500; letter-spacing: -.03em; }
.approach-list p { margin: 0; color: #5f697c; line-height: 1.55; }

.contact { position: relative; overflow: hidden; min-height: 680px; display: grid; place-items: center; padding: 100px 24px; text-align: center; background: var(--navy-950); }
.contact__glow { position: absolute; width: 700px; height: 700px; right: -260px; bottom: -460px; border-radius: 50%; background: radial-gradient(circle, rgba(246,164,28,.62), rgba(196,87,13,.2) 28%, transparent 67%); filter: blur(8px); }
.contact__content { position: relative; max-width: 980px; }
.contact h2 { font-size: clamp(48px, 6.6vw, 96px); }
.contact__email { display: inline-flex; gap: 15px; align-items: center; margin-top: 47px; padding-bottom: 7px; border-bottom: 1px solid rgba(255,255,255,.25); color: #b9d6ff; font-size: clamp(18px, 2vw, 26px); }
.contact__email span { transition: transform .25s; }
.contact__email:hover span { transform: translate(3px,-3px); }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 30px; padding: 45px max(6vw, 24px); border-top: 1px solid rgba(255,255,255,.1); background: var(--navy-950); }
.brand--footer { min-width: 0; }
.site-footer > div { display: flex; gap: 28px; color: #9aa6bc; font-size: 13px; }
.site-footer > div a:hover { color: white; }
.site-footer p { margin: 0; color: #68748b; font-size: 12px; line-height: 1.65; text-align: right; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.75,.25,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Product page scaffolds */
.product-page { min-height: 100vh; background: var(--navy-950); }
.product-page__hero { position: relative; overflow: hidden; min-height: 720px; display: flex; align-items: end; padding: 150px max(6vw,24px) 90px; }
.product-page__hero::before { content: ""; position: absolute; inset: 0; opacity: .9; }
.product-page--flight .product-page__hero::before { background: radial-gradient(circle at 78% 28%, rgba(62,132,255,.65), transparent 24%), radial-gradient(circle at 72% 70%, #18365e, transparent 34%), linear-gradient(135deg,#081633,#02050d 72%); }
.product-page--tennis .product-page__hero::before { background: radial-gradient(circle at 78% 25%, rgba(198,235,61,.28), transparent 21%), linear-gradient(140deg,#174937,#061410 72%); }
.product-page__content { position: relative; width: min(900px, 100%); }
.product-page__content h1 { margin: 0; font: 500 clamp(64px,10vw,148px)/.9 var(--display); letter-spacing: -.07em; }
.product-page__content > p:not(.eyebrow) { max-width: 680px; margin: 30px 0 0; color: rgba(240,246,255,.72); font-size: clamp(19px,2vw,28px); line-height: 1.45; }
.product-page__body { color: var(--ink); background: var(--paper); }
.product-page__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 12vw; max-width: 1200px; margin: 0 auto; }
.product-page__intro p { margin: 12px 0 0; color: #556074; font-size: 20px; line-height: 1.6; }
.back-home { display: inline-flex; margin-top: 35px; color: #a9c8f7; font-size: 14px; }

@keyframes heroEnter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes atmosphereDrift { to { transform: translate3d(7%, -2%, 0) scale(1.05); } }
@keyframes glassSweep { 0%, 38% { transform: translateX(-55%); } 65%, 100% { transform: translateX(65%); } }
@keyframes scrollSignal { 0% { transform: translateY(0); } 100% { transform: translateY(300%); } }
@keyframes ballFloat { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-18px,12px); } }

@media (max-width: 900px) {
  .site-header { width: calc(100% - 24px); top: 12px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; padding: 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 17px; background: rgba(3,9,24,.97); }
  .site-nav.is-open { display: flex; }
  .site-nav > a, .nav-products__trigger { width: 100%; text-align: left; }
  .nav-products__trigger { justify-content: space-between; }
  .nav-products__menu { position: static; display: none; width: auto; margin: 4px 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,.04); }
  .nav-products.is-open .nav-products__menu { display: block; }
  .hero__content { width: min(700px, 90vw); margin-left: 0; }
  .hero__vignette { background: linear-gradient(90deg, rgba(1,6,18,.75), rgba(3,8,18,.05) 85%), linear-gradient(0deg, rgba(1,5,15,.5), transparent 45%); }
  .about-grid, .section-heading, .approach-grid, .product-page__intro { grid-template-columns: 1fr; gap: 55px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 610px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer p { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 620px) {
  .site-header { height: 58px; padding-left: 17px; }
  .brand__word { font-size: 14px; }
  .hero { min-height: 700px; align-items: flex-end; padding: 120px 22px 115px; }
  .hero__scene { inset: -1%; transform: scale(1.03); }
  .hero__fallback { background-position: center top; }
  .hero__sky, .hero__canopy { object-position: center top; }
  .hero__vignette { background: linear-gradient(0deg, rgba(1,5,15,.89) 0%, rgba(2,8,22,.34) 58%, rgba(1,5,15,.08) 100%); }
  .hero__content { width: 100%; }
  .hero h1 { font-size: clamp(42px, 12vw, 58px); }
  .hero__statement { font-size: 16px; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .scroll-cue { display: none; }
  .section { padding: 105px 22px; }
  .section h2 { font-size: 41px; }
  .signal-strip { grid-template-columns: 1fr; margin-top: 65px; }
  .signal-strip span + span { border-top: 1px solid var(--line-dark); border-left: 0; }
  .section-heading { margin-bottom: 42px; }
  .product-card { min-height: 535px; border-radius: 22px; }
  .product-card__visual { height: 310px; }
  .product-card__content { padding: 28px 25px 31px; }
  .product-card h3 { font-size: 33px; }
  .product-card__content p:last-child { font-size: 14px; }
  .round-link { width: 43px; height: 43px; }
  .contact { min-height: 600px; }
  .contact h2 { font-size: 46px; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
  .site-footer > div { flex-direction: column; gap: 12px; }
  .site-footer p { grid-column: auto; }
  .product-page__hero { min-height: 680px; padding-bottom: 75px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__scene::after, .hero__sky, .hero__canopy { display: none; }
}
