:root {
  --navy: #07162d;
  --navy-soft: #102746;
  --gold: #d3ad62;
  --gold-pale: #f0d79d;
  --white: #f8fafc;
  --muted: rgba(248, 250, 252, .68);
  --line: rgba(255, 255, 255, .18);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--white);
  background: var(--navy);
  font-family: "DM Sans", sans-serif;
  cursor: none;
}

button, a { color: inherit; font: inherit; cursor: none; }
.page-shell { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; }
.photo {
  position: absolute;
  inset: 0;
  z-index: -4;
  background: url("assets/flight-sunset.jpg") 68% 55% / cover no-repeat;
  animation: cinematic 18s ease-in-out infinite alternate;
}
.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(4, 15, 33, .96) 0%, rgba(4, 15, 33, .83) 42%, rgba(4, 15, 33, .24) 72%, rgba(4, 15, 33, .52) 100%),
    linear-gradient(0deg, rgba(4, 15, 33, .82) 0%, transparent 45%);
}
.page-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 70% 38%, rgba(222, 177, 92, .22), transparent 30%);
  animation: breathe 7s var(--ease) infinite alternate;
}
.grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.site-header {
  width: min(1440px, calc(100% - 72px));
  margin: 0 auto;
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-monogram {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: linear-gradient(145deg, var(--gold-pale), var(--gold));
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
  font-family: Manrope, sans-serif;
  font-weight: 600;
  letter-spacing: -.08em;
}
.brand-monogram span { transform: translateX(-1px); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-family: Manrope, sans-serif; font-size: 1.03rem; letter-spacing: .18em; text-transform: uppercase; }
.brand-copy small { margin-top: 7px; color: var(--gold-pale); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; }
.header-status { margin: 0; color: var(--muted); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.header-status span { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(211, 173, 98, .14); animation: status 2s infinite; }

.hero {
  width: min(1440px, calc(100% - 72px));
  min-height: calc(100svh - 185px);
  margin: 0 auto;
  padding: clamp(72px, 11vh, 132px) 0 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow { display: flex; align-items: center; gap: 14px; color: var(--gold-pale); font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.eyebrow i { width: 42px; height: 1px; background: var(--gold); position: relative; }
.eyebrow i::after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
h1 { max-width: 930px; margin: 26px 0 28px; font-family: Manrope, sans-serif; font-size: clamp(3.4rem, 7.8vw, 7.7rem); font-weight: 500; letter-spacing: -.065em; line-height: .91; }
h1 em { color: var(--gold-pale); font-style: normal; font-weight: 400; }
.intro { max-width: 610px; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.16rem); line-height: 1.75; }
.actions { margin-top: 42px; display: flex; align-items: center; gap: 28px; }
.journey-button {
  position: relative;
  min-width: 202px;
  padding: 16px 21px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--navy);
  background: var(--gold-pale);
  border: 1px solid var(--gold-pale);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: transform .45s var(--ease), background .45s, box-shadow .45s;
}
.journey-button::before { content: ""; position: absolute; inset: 0; background: white; transform: translateX(-105%) skewX(-20deg); transition: transform .65s var(--ease); }
.journey-button span { position: relative; z-index: 1; }
.journey-button:hover { transform: translateY(-4px); box-shadow: 0 18px 55px rgba(211, 173, 98, .22); }
.journey-button:hover::before { transform: translateX(0) skewX(-20deg); }
.button-plane { font-size: 1.1rem; transform: rotate(12deg); transition: transform .6s var(--ease); }
.journey-button:hover .button-plane { transform: translate(5px, -4px) rotate(12deg); }
.journey-button.launched .button-plane { animation: depart .95s var(--ease); }
.actions p { margin: 0; color: var(--white); font-size: .73rem; line-height: 1.65; letter-spacing: .15em; text-transform: uppercase; }
.actions p span { color: rgba(255,255,255,.42); letter-spacing: .04em; text-transform: none; }

.flight-card {
  position: absolute;
  right: clamp(36px, 7vw, 116px);
  bottom: clamp(86px, 11vh, 130px);
  width: min(330px, calc(100% - 48px));
  color: var(--navy);
  background: rgba(246, 241, 226, .91);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
  transform: rotate(-2deg);
  transition: transform .6s var(--ease), box-shadow .6s;
}
.flight-card:hover { transform: translateY(-7px) rotate(0); box-shadow: 0 38px 90px rgba(0,0,0,.36); }
.card-top, .card-bottom { padding: 14px 17px; display: flex; justify-content: space-between; font-size: .61rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.card-top { border-bottom: 1px dashed rgba(7,22,45,.2); }
.card-top span:last-child { color: #8a6423; }
.card-main { padding: 20px 17px 22px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 10px; }
.card-main > div:last-child { text-align: right; }
.card-main small, .card-main span { display: block; color: rgba(7,22,45,.5); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; }
.card-main strong { display: block; margin: 3px 0; font-family: Manrope, sans-serif; font-size: 2rem; letter-spacing: -.05em; }
.mini-route { display: flex; align-items: center; padding-bottom: 13px; color: #9c762f; }
.mini-route i { width: 21px; border-top: 1px dashed rgba(7,22,45,.35); }
.mini-route b { margin: 0 5px; transform: rotate(12deg); font-size: .9rem; }
.card-bottom { color: rgba(255,255,255,.8); background: var(--navy); border-radius: 0 0 17px 17px; }
.card-bottom strong { color: var(--gold-pale); font-weight: 600; }

.route-scene { position: absolute; right: -3vw; top: 16%; width: min(55vw, 830px); height: 42vh; z-index: -1; opacity: .7; pointer-events: none; }
.route-scene svg { width: 100%; height: 100%; overflow: visible; }
.route, .route-shadow { fill: none; stroke-linecap: round; }
.route-shadow { stroke: rgba(6,19,38,.25); stroke-width: 7; }
.route { stroke: rgba(240,215,157,.56); stroke-width: 1.5; stroke-dasharray: 5 10; animation: routeFlow 18s linear infinite; }
.flying-plane { position: absolute; top: 0; left: 0; color: var(--gold-pale); font-size: 1.6rem; filter: drop-shadow(0 5px 12px rgba(0,0,0,.4)); offset-path: path("M-40 300 C130 220 165 28 345 75 C510 118 505 290 760 205"); offset-rotate: auto 10deg; animation: fly 15s linear infinite; }
.route-dot { position: absolute; width: 8px; height: 8px; border: 2px solid var(--gold-pale); border-radius: 50%; box-shadow: 0 0 0 7px rgba(240,215,157,.09); animation: beacon 2.4s ease-in-out infinite; }
.dot-one { left: 24%; top: 24%; }.dot-two { left: 47%; top: 19%; animation-delay: .8s; }.dot-three { right: 12%; top: 55%; animation-delay: 1.6s; }

footer { position: absolute; left: 36px; right: 36px; bottom: 26px; display: flex; justify-content: space-between; color: rgba(255,255,255,.42); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(20px); animation: reveal .9s var(--ease) forwards; }
.delay-1 { animation-delay: .15s; }.delay-2 { animation-delay: .3s; }.delay-3 { animation-delay: .45s; }
.cursor-plane, .cursor-ring { position: fixed; z-index: 100; pointer-events: none; opacity: 0; transition: opacity .2s; }
.cursor-plane { color: var(--gold-pale); font-size: 18px; transform: translate(-50%,-50%) rotate(14deg); filter: drop-shadow(0 3px 6px rgba(0,0,0,.35)); }
.cursor-ring { width: 34px; height: 34px; border: 1px solid rgba(240,215,157,.5); border-radius: 50%; transform: translate(-50%,-50%); }
body.cursor-ready .cursor-plane, body.cursor-ready .cursor-ring { opacity: 1; }
.click-ripple { position: fixed; z-index: 99; width: 16px; height: 16px; border: 1px solid var(--gold-pale); border-radius: 50%; pointer-events: none; transform: translate(-50%,-50%); animation: ripple .75s var(--ease) forwards; }

@keyframes reveal { to { opacity: 1; transform: none; } }
@keyframes cinematic { from { transform: scale(1.02); } to { transform: scale(1.09) translateX(-1.2%); } }
@keyframes breathe { to { opacity: .55; transform: scale(1.06); } }
@keyframes status { 50% { box-shadow: 0 0 0 10px rgba(211,173,98,0); } }
@keyframes routeFlow { to { stroke-dashoffset: -150; } }
@keyframes fly { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes beacon { 50% { box-shadow: 0 0 0 14px rgba(240,215,157,0); } }
@keyframes depart { 45% { transform: translate(45px,-35px) rotate(12deg); opacity: 0; } 46% { transform: translate(-28px,20px) rotate(12deg); opacity: 0; } }
@keyframes ripple { to { width: 88px; height: 88px; opacity: 0; } }

@media (max-width: 980px) {
  .page-shell::before { background: linear-gradient(90deg, rgba(4,15,33,.94), rgba(4,15,33,.56)), linear-gradient(0deg, rgba(4,15,33,.9), transparent 55%); }
  .route-scene { width: 80vw; right: -25vw; opacity: .5; }
  .flight-card { right: 36px; bottom: 80px; transform: rotate(-1deg) scale(.9); transform-origin: bottom right; }
  h1 { max-width: 780px; }
}

@media (max-width: 720px) {
  body, button, a { cursor: auto; }
  .cursor-plane, .cursor-ring { display: none; }
  .site-header, .hero { width: calc(100% - 40px); }
  .site-header { padding: 22px 0; }
  .header-status { display: none; }
  .hero { min-height: auto; padding: 70px 0 330px; justify-content: flex-start; }
  h1 { margin-top: 22px; font-size: clamp(3.2rem, 14.5vw, 5.3rem); }
  .intro { max-width: 92%; }
  .actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .flight-card { left: 20px; right: auto; bottom: 73px; width: calc(100% - 40px); transform: rotate(-1deg); }
  .route-scene { top: 48%; right: -45%; width: 135vw; height: 35vh; }
  footer { left: 20px; right: 20px; bottom: 22px; }
  .coordinates { display: none; }
}

@media (max-width: 420px) {
  .brand-copy strong { font-size: .86rem; }
  .brand-copy small { font-size: .58rem; }
  .hero { padding-top: 54px; }
  .eyebrow { font-size: .62rem; gap: 10px; }
  .eyebrow i { width: 24px; }
  .actions p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .cursor-plane, .cursor-ring { display: none; }
  body, button, a { cursor: auto; }
}
