/* Playfair Display + DM Sans (latin, SIL OFL), self-hosted: no render-blocking cross-origin request. */
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 500; font-display: swap; src: url('/fonts/PlayfairDisplay-500-italic.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/PlayfairDisplay-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/fonts/DMSans.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* aerologue.com — one stylesheet, no framework. Mobile-first.
   Palette, fonts, overlays and buttons carried over from the previous aerologue.com
   (aerologue-legacy/aerologue_PoC/landing-page/src/app/globals.css), per Sam 2026-09-22. */
:root {
  --navy: #0B1B3D;
  --navy-deep: #060F22;
  --navy-mid: #112248;
  --aviation-blue: #1A6FB5;
  --aviation-light: #2A8ED4;
  --champagne: #C9A96E;
  --champagne-light: #DBC48E;
  --champagne-muted: rgba(201, 169, 110, 0.15);
  --ivory: #F5F2ED;
  --slate: #8B9AAF;
  --slate-light: #A8B4C4;
  --line: rgba(255, 255, 255, 0.06);
  --max: 1152px;
  --gutter: 24px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--navy-deep);
  color: var(--ivory);
  font-family: 'DM Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(201, 169, 110, 0.3); color: var(--ivory); }
a { color: var(--champagne); text-decoration: none; transition: color .3s; }
a:hover { color: var(--ivory); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.1; }
.font-display, h1, h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; letter-spacing: -0.01em; }
h3 { font-family: 'DM Sans', system-ui, sans-serif; font-weight: 500; font-size: 1.1rem; color: var(--ivory); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--slate); }
.small { font-size: 0.85rem; }
.overline {
  display: block; font-size: 0.7rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--champagne); margin-bottom: 1.5rem;
}
.rule { width: 64px; height: 1px; background: var(--champagne); opacity: 0.4; margin: 0 0 2rem; }

/* noise + contrails (fixed, decorative) */
body::before {
  content: ''; position: fixed; inset: 0; opacity: 0.03; pointer-events: none; z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}
.contrails { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.contrail { position: absolute; left: 0; height: 1px; }
.contrail.one { top: 18%; width: 200px; animation: contrail 18s linear infinite;
  background: linear-gradient(90deg, transparent 0%, rgba(201,169,110,0.3) 40%, rgba(201,169,110,0.08) 100%); }
.contrail.two { top: 65%; width: 150px; animation: contrail 22s linear infinite; animation-delay: 8s;
  background: linear-gradient(90deg, transparent 0%, rgba(26,111,181,0.25) 40%, rgba(26,111,181,0.05) 100%); }
@keyframes contrail {
  0% { transform: translateX(-100%) translateY(0); opacity: 0; }
  5% { opacity: 1; } 95% { opacity: 1; }
  100% { transform: translateX(100vw) translateY(-40px); opacity: 0; }
}

/* nav */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
.top .bar { display: flex; align-items: center; justify-content: space-between; height: 80px; border-bottom: 1px solid var(--line); }
.top .brand img { height: 64px; width: auto; }
.top nav { display: none; align-items: center; gap: 40px; }
.top nav a { color: var(--slate); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; }
.top nav a:hover { color: var(--ivory); }
.top .btn-outline { padding: 0 24px; min-height: 40px; font-size: 0.7rem; }

/* buttons */
.btn-primary, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
  padding: 0 36px; border-radius: 2px; letter-spacing: 0.05em;
  text-transform: uppercase; font-size: 0.8rem; font-weight: 600; text-decoration: none;
  transition: all .4s cubic-bezier(0.23, 1, 0.32, 1); text-align: center; min-height: 48px;
}
.btn-primary { background: linear-gradient(135deg, var(--champagne) 0%, var(--champagne-light) 100%); color: var(--navy-deep); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,169,110,0.3); color: var(--navy-deep); }
.btn-outline { border: 1px solid rgba(201,169,110,0.4); color: var(--champagne); font-weight: 500; background: transparent; }
.btn-outline:hover { background: rgba(201,169,110,0.1); border-color: var(--champagne); transform: translateY(-2px); color: var(--champagne); }

/* store buttons: bevelled (chamfered) corners, identical pair, icon + two-line label */
.store {
  --cut: 12px;
  display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 14px;
  width: 100%; max-width: 300px; min-height: 60px; padding: 10px 22px 10px 18px;
  background: linear-gradient(135deg, var(--champagne) 0%, var(--champagne-light) 100%);
  color: var(--navy-deep); text-decoration: none; text-align: left;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  transition: transform .4s cubic-bezier(0.23, 1, 0.32, 1), filter .4s;
}
.store:hover { transform: translateY(-2px); filter: brightness(1.06); color: var(--navy-deep); }
.store svg { width: 26px; height: 26px; }
.store span { display: block; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.03em; line-height: 1.15; }
.store small { display: block; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; opacity: .75; margin-bottom: 3px; }

/* hero — the previous site's treatment, verbatim values */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  justify-content: center; padding: 120px var(--gutter) 96px; overflow: hidden;
}
.hero .bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('/img/hero-bg-m.webp') center / cover no-repeat;
  filter: saturate(0.5) brightness(0.55);
}
.hero .veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,15,34,0.7) 0%, rgba(6,15,34,0.15) 40%, rgba(6,15,34,0.3) 70%, rgba(6,15,34,0.9) 100%),
    linear-gradient(90deg, rgba(6,15,34,0.4) 0%, transparent 50%, rgba(6,15,34,0.4) 100%);
}
.hero .leak { position: absolute; inset: 0; z-index: 2; opacity: 0.07;
  background: radial-gradient(ellipse 50% 40% at 70% 60%, rgba(201,169,110,0.6) 0%, transparent 70%); }
.hero .grid { position: absolute; inset: 0; z-index: 2; opacity: 0.015;
  background-image: linear-gradient(rgba(201,169,110,0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(201,169,110,0.3) 1px, transparent 1px);
  background-size: 80px 80px; }
.hero .inner {
  position: relative; z-index: 20; max-width: 64rem; margin: 0 auto; text-align: center;
  text-shadow: 0 2px 30px rgba(6,15,34,0.8), 0 4px 60px rgba(6,15,34,0.6);
}
.hero .overline { margin-bottom: 2rem; }
.hero .line { display: flex; justify-content: center; margin-bottom: 2.5rem; }
.hero .line span { display: block; width: 80px; height: 1px; opacity: 0.4;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent); }
.hero h1 { font-size: clamp(2.6rem, 9vw, 6rem); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 2rem; }
.hero h1 .accent { font-style: italic; color: var(--champagne); }
.hero h1 .sky { color: var(--aviation-light); }
.hero .lead { color: var(--slate-light); font-size: clamp(1.05rem, 2.4vw, 1.25rem); line-height: 1.7; max-width: 42rem; margin: 0 auto 3rem; }
.hero .cta { display: grid; gap: 16px; justify-content: center; justify-items: center; }
.hero .tiny { margin-top: 1.5rem; color: var(--slate); font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; }
.hero .scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero .scroll span { color: var(--slate); font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; }
.hero .scroll i { width: 1px; height: 32px; background: linear-gradient(180deg, var(--champagne), transparent); opacity: 0.4; }

/* the clue: the app's screens fanned like a hand of cards at the foot of the hero — a hint,
   translucent, behind the buttons (Sam, 2026-09-22) */
.fan {
  position: absolute; left: 50%; bottom: -4%; z-index: 10; width: min(96vw, 960px); height: 560px;
  transform: translateX(-50%); animation: fadeIn 1.4s ease-out 1s forwards; opacity: 0;
  /* the mask needs a real box: on a zero-size element it hid everything */
  -webkit-mask-image: linear-gradient(to top, #000 78%, transparent 100%);
  mask-image: linear-gradient(to top, #000 78%, transparent 100%);
}
.fan .phone {
  position: absolute; bottom: 0; left: 50%; width: clamp(120px, 24vw, 204px);
  margin-left: calc(clamp(120px, 24vw, 204px) / -2); transform-origin: 50% 125%;
  padding: 6px; border-radius: 22px; background: #0a0f1c; border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 60px rgba(201,169,110,0.06); opacity: 0.72;
}
.fan .phone img { width: 100%; height: auto; border-radius: 16px; display: block; }
.fan .phone:nth-child(1) { transform: rotate(-26deg); }
.fan .phone:nth-child(2) { transform: rotate(-13deg); }
.fan .phone:nth-child(3) { transform: rotate(0deg); opacity: 0.82; }
.fan .phone:nth-child(4) { transform: rotate(13deg); }
.fan .phone:nth-child(5) { transform: rotate(26deg); }
.hero .inner { z-index: 20; }
.hero .cta { position: relative; z-index: 21; }

/* entrance animation (as before) */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fade-up { animation: fadeUp 0.8s ease-out forwards; opacity: 0; }
.fade-in { animation: fadeIn 1s ease-out forwards; opacity: 0; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .2s; } .d4 { animation-delay: .4s; } .d5 { animation-delay: .5s; } .d8 { animation-delay: .8s; }

.divider { height: 1px; opacity: 0.3; background: linear-gradient(90deg, transparent 0%, var(--champagne) 50%, transparent 100%); }

/* sections */
section { position: relative; padding: 80px 0; }
section h2 { font-size: clamp(1.9rem, 5vw, 3.2rem); margin-bottom: 1.5rem; }
section h2 .accent { font-style: italic; color: var(--champagne); }
.cards { display: grid; gap: 20px; margin-top: 8px; }
.card {
  background: linear-gradient(135deg, rgba(17,34,72,0.6) 0%, rgba(11,27,61,0.4) 100%);
  border: 1px solid rgba(201,169,110,0.08); border-radius: 2px; overflow: hidden;
  transition: all .5s cubic-bezier(0.23, 1, 0.32, 1);
}
.card:hover { border-color: rgba(201,169,110,0.2); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(201,169,110,0.05); }
.card figure { margin: 0; background: #060F22; }
.card img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; }
.card .body { padding: 24px; }
.card h3 { margin-bottom: 0.5rem; }
.card p { margin: 0; color: var(--slate); font-size: 0.95rem; line-height: 1.65; }
.cols { display: grid; gap: 24px; }
.cols p { color: var(--slate-light); line-height: 1.75; margin: 0; }
.callout { border-left: 1px solid var(--champagne); padding: 4px 0 4px 24px; color: var(--ivory); font-size: 1.1rem; line-height: 1.7; max-width: 60ch; }
.attrib { font-size: 0.85rem; color: var(--slate); line-height: 1.9; }
.attrib a { color: var(--slate-light); }
.doors { display: grid; gap: 20px; }
.door {
  background: linear-gradient(135deg, rgba(17,34,72,0.6) 0%, rgba(11,27,61,0.4) 100%);
  border: 1px solid rgba(201,169,110,0.08); border-radius: 2px; padding: 32px; display: flex; flex-direction: column;
}
.door p { color: var(--slate); flex: 1; line-height: 1.7; }
.door a { align-self: flex-start; }

.tag { display: inline-block; font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--slate); border: 1px solid rgba(139,154,175,0.35); padding: 4px 8px; border-radius: 2px; margin-bottom: 0.9rem; }
.tag.live { color: var(--champagne); border-color: rgba(201,169,110,0.4); }
.strap { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.25rem, 3.2vw, 1.75rem); line-height: 1.35; color: var(--ivory); margin: 3rem 0 0.75rem; max-width: 34ch; }
.strap .accent { font-style: italic; color: var(--champagne); }
.strap-note { color: var(--slate); font-size: 0.95rem; max-width: 60ch; margin-bottom: 2.5rem; }
.band { display: grid; gap: 24px; align-items: center; background: linear-gradient(135deg, rgba(17,34,72,0.6) 0%, rgba(11,27,61,0.4) 100%); border: 1px solid rgba(201,169,110,0.08); border-radius: 2px; padding: 28px; }
.band p { color: var(--slate); margin: 0.5rem 0 0; line-height: 1.7; }
.band img { width: 100%; max-width: 190px; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; border-radius: 2px; justify-self: center; }

/* footer */
footer { padding: 40px 0 56px; color: var(--slate); font-size: 0.85rem; border-top: 1px solid var(--line); }
footer a { color: var(--slate); }
footer a:hover { color: var(--ivory); }
footer .row { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* legal + share pages */
.page { padding-top: 112px; }
.doc { max-width: 76ch; }
.doc h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin-bottom: 1rem; }
.doc h2 { font-size: 1.5rem; margin-top: 2.2em; margin-bottom: 0.6em; }
.doc h3 { font-size: 1.1rem; margin-top: 1.6em; margin-bottom: 0.4em; }
.doc p, .doc li { color: var(--slate-light); }
.doc strong { color: var(--ivory); }
.doc table { border-collapse: collapse; width: 100%; margin: 0 0 1.2em; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 10px; border: 1px solid var(--line); }
.doc th { background: var(--navy-mid); color: var(--ivory); }
.doc ul, .doc ol { padding-left: 1.3em; margin-bottom: 1em; }
.doc li { margin: 0.25em 0; }
.doc hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.banner {
  background: var(--champagne-muted); color: var(--champagne-light); border: 1px solid rgba(201,169,110,0.4);
  border-radius: 2px; padding: 12px 16px; margin: 6px 0 28px; font-size: 0.9rem; letter-spacing: 0.02em;
}
.share { text-align: center; padding: 56px var(--gutter) 64px; }
.share h1 { font-size: clamp(2rem, 7vw, 3.6rem); margin-bottom: 1rem; }
.share .route { font-size: 1.15rem; color: var(--slate-light); }
.share .cta { display: flex; flex-direction: column; gap: 16px; justify-content: center; margin: 2rem auto 0; max-width: 28rem; }
.share .note { color: var(--slate); font-size: 0.9rem; max-width: 40ch; margin: 1.5rem auto 0; }

@media (min-width: 640px) {
  .share .cta { flex-direction: row; }
  .hero .cta { grid-template-columns: repeat(2, 300px); }
  .top nav { display: flex; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cols, .doors { grid-template-columns: 1fr 1fr 1fr; }
  .band { grid-template-columns: 1fr auto; }
  section { padding: 112px 0; }
}
@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
  .hero .bg { background-image: url('/img/hero-bg.webp'); }
  .top .brand img { height: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .contrail { animation: none; display: none; }
  .fade-up, .fade-in { animation: none; opacity: 1; }
  .card:hover, .btn-primary:hover, .btn-outline:hover { transform: none; }
}
