/* ============================================================
   PHILADELPHIA AIR TOURS — navy / copper, deco-futurist
   ============================================================ */

:root {
  --navy-950: #060b16;
  --navy-900: #081020;
  --navy-800: #0c1730;
  --navy-700: #12203f;
  --copper: #cf9668;
  --copper-bright: #e8bd8f;
  --copper-dim: rgba(207, 150, 104, 0.35);
  --copper-faint: rgba(207, 150, 104, 0.14);
  --ink: #dfe6f2;
  --ink-dim: #93a0b8;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Rajdhani", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --max-w: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1200px 800px at 70% -10%, rgba(30, 52, 96, 0.55), transparent 60%),
    radial-gradient(900px 700px at 10% 110%, rgba(24, 40, 76, 0.5), transparent 60%),
    var(--navy-950);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

::selection { background: var(--copper); color: var(--navy-950); }

.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: 0.04em;
}

p { color: var(--ink-dim); }
p strong { color: var(--copper-bright); font-weight: 600; }

a { color: inherit; text-decoration: none; }

.kicker {
  color: var(--copper);
  margin-bottom: 0.9rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.85rem 1.9rem;
  border: 1px solid var(--copper);
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-solid {
  background: linear-gradient(135deg, var(--copper), #a06a3e);
  color: var(--navy-950);
  font-weight: 500;
}
.btn-solid:hover {
  background: linear-gradient(135deg, var(--copper-bright), var(--copper));
  box-shadow: 0 0 24px rgba(207, 150, 104, 0.35);
}

.btn-outline {
  color: var(--copper-bright);
  background: rgba(207, 150, 104, 0.05);
}
.btn-outline:hover {
  background: rgba(207, 150, 104, 0.14);
  box-shadow: 0 0 18px rgba(207, 150, 104, 0.2);
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s;
}
.preloader.done { opacity: 0; visibility: hidden; }

.preloader-inner { text-align: center; }

.preloader-ring {
  transform-origin: 40px 40px;
  transform: rotate(-90deg);
  transition: stroke-dashoffset 0.25s linear;
}

.preloader-text {
  color: var(--copper);
  margin: 1.2rem 0 0.9rem;
  min-height: 1em;
}

.preloader-bar {
  width: 220px;
  height: 1px;
  margin: 0 auto;
  background: rgba(207, 150, 104, 0.2);
  overflow: hidden;
}
.preloader-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--copper-bright);
  box-shadow: 0 0 8px var(--copper);
  transition: width 0.25s linear;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(6, 11, 22, 0);
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.nav.scrolled {
  background: rgba(6, 11, 22, 0.85);
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-brand-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.nav-brand-sub { color: var(--copper); font-size: 0.58rem; }

.nav-links {
  display: flex;
  gap: 1.8rem;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--copper);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--copper-bright); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { padding: 0.55rem 1.2rem; }

.nav-scanline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper-dim) 30%, var(--copper-dim) 70%, transparent);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 7rem 1.5rem 3rem;
}

#starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(207, 150, 104, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(207, 150, 104, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 75%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  text-align: center;
  z-index: 2;
}

.hero-title {
  font-size: clamp(3rem, 9vw, 6.4rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0.4rem 0 1.4rem;
  background: linear-gradient(180deg, #f3d9b8 0%, var(--copper) 55%, #9c6a40 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 18px rgba(207, 150, 104, 0.18));
}
.hero-title .line { display: block; }

.hero-sub {
  max-width: 620px;
  margin: 0 auto 2.2rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* skyline */
.skyline-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.skyline { width: 100%; height: auto; display: block; }

.skyline .stars circle { fill: var(--copper-bright); }
.skyline .stars polyline { stroke: var(--copper); }
.skyline .stars circle {
  animation: twinkle 3.5s ease-in-out infinite;
}
.skyline .stars circle:nth-child(2n) { animation-delay: 1.2s; }
.skyline .stars circle:nth-child(3n) { animation-delay: 2.3s; }

@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.skyline-paths .sp {
  stroke: var(--copper);
  stroke-width: 1.4;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: draw 2.6s ease forwards;
}
.skyline-paths .sp:nth-child(2n) { animation-delay: 0.25s; }
.skyline-paths .sp:nth-child(3n) { animation-delay: 0.5s; }
.skyline-paths .dome { stroke: var(--copper-bright); }

@keyframes draw { to { stroke-dashoffset: 0; } }

.skyline .plane path {
  stroke: var(--copper-bright);
  stroke-width: 1.4;
  fill: none;
}
.skyline .plane {
  animation: flyby 26s linear infinite;
}
@keyframes flyby {
  0%   { transform: translate(-90px, 66px); }
  100% { transform: translate(990px, 26px); }
}

.skyline-glow {
  position: absolute;
  left: 10%; right: 10%; bottom: -8px;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(207, 150, 104, 0.22), transparent 70%);
  pointer-events: none;
}

/* HUD strip */
.hud {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
  color: var(--ink-dim);
  font-size: 0.66rem;
}
.hud .hud-div { color: var(--copper-dim); }
#hudClock { color: var(--copper); min-width: 8ch; text-align: left; }

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--copper);
  font-size: 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}
.scroll-cue-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--copper), transparent);
  animation: cue 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============================================================
   CERTIFY STRIP  (FAA / pilots)
   ============================================================ */
.certify {
  border-top: 1px solid var(--copper-faint);
  border-bottom: 1px solid var(--copper-faint);
  background:
    linear-gradient(180deg, rgba(12, 23, 48, 0.6), rgba(8, 16, 32, 0.9));
  padding: 4.5rem 1.5rem;
}

.certify-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

.certify-copy h2 { margin-bottom: 0.8rem; }
.certify-copy p { max-width: 560px; }

.certify-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--ink);
  font-size: 0.68rem;
}
.certify-points li { display: flex; align-items: center; gap: 0.7rem; white-space: nowrap; }
.tick {
  width: 8px; height: 8px;
  border: 1px solid var(--copper);
  transform: rotate(45deg);
  background: rgba(207, 150, 104, 0.25);
  box-shadow: 0 0 8px rgba(207, 150, 104, 0.4);
  flex-shrink: 0;
}

/* ============================================================
   EXPERIENCES
   ============================================================ */
.experiences {
  padding: 6rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-head { text-align: center; margin-bottom: 3.5rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.card {
  position: relative;
  padding: 2.2rem 1.9rem;
  background: linear-gradient(160deg, rgba(18, 32, 63, 0.5), rgba(8, 16, 32, 0.7));
  border: 1px solid rgba(207, 150, 104, 0.18);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--copper-dim);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 24px rgba(207, 150, 104, 0.08);
}

/* corner brackets */
.card-corners i {
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--copper);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.card-corners i:nth-child(1) { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.card-corners i:nth-child(2) { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.card-corners i:nth-child(3) { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.card-corners i:nth-child(4) { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.card:hover .card-corners i { opacity: 1; }

.card-icon svg {
  width: 52px; height: 52px;
  stroke: var(--copper);
  margin-bottom: 1.4rem;
}

.card-index {
  color: var(--copper-dim);
  margin-bottom: 0.3rem;
}

.card h3 {
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.45rem;
}

.card-tag {
  color: var(--copper);
  font-size: 0.62rem;
  margin-bottom: 0.9rem;
}

.card p:not(.card-index):not(.card-tag) { font-size: 0.95rem; }

.card-link {
  display: inline-block;
  margin-top: 1.4rem;
  color: var(--copper-bright);
  font-size: 0.66rem;
  transition: letter-spacing 0.3s ease;
}
.card-link:hover { letter-spacing: 0.28em; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: 6rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid var(--copper-faint);
}

.pricing-intro {
  max-width: 520px;
  margin: 0.8rem auto 0;
  font-size: 1rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  max-width: 820px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  padding: 2.4rem 2rem;
  background: linear-gradient(160deg, rgba(18, 32, 63, 0.55), rgba(8, 16, 32, 0.75));
  border: 1px solid rgba(207, 150, 104, 0.22);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--copper-dim);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 24px rgba(207, 150, 104, 0.08);
}

.price-amount {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 3.6rem);
  font-weight: 600;
  color: var(--copper-bright);
  line-height: 1;
  margin: 0.6rem 0 1rem;
}
.price-currency {
  font-size: 0.55em;
  vertical-align: super;
  margin-right: 0.1em;
  color: var(--copper);
}

.price-note { font-size: 0.95rem; margin-bottom: 0.6rem; }
.price-note--solo { margin-bottom: 1rem; }

.price-breakdown {
  list-style: none;
  margin: 0 0 0.8rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--copper-faint);
  border-bottom: 1px solid var(--copper-faint);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.68rem;
  color: var(--ink);
}
.price-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.price-breakdown li span:last-child {
  color: var(--copper-bright);
  font-weight: 500;
}

.price-detail {
  font-size: 0.88rem;
  color: var(--ink-dim);
  margin-bottom: 0.2rem;
}

/* ============================================================
   FLEET
   ============================================================ */
.fleet {
  border-top: 1px solid var(--copper-faint);
  background: linear-gradient(180deg, rgba(8, 16, 32, 0.4), transparent);
  padding: 6rem 1.5rem;
}

.fleet-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}

.fleet-copy h2 { margin-bottom: 1rem; }
.fleet-copy > p { max-width: 520px; }

.fleet-stats {
  display: flex;
  gap: 2.6rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 0.35rem; }
.stat-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--copper-bright);
  line-height: 1;
}
.stat-label { color: var(--ink-dim); font-size: 0.6rem; }

.fleet-visual svg { width: 100%; height: auto; }
.fleet-visual ellipse:last-of-type { animation: orbit-dash 30s linear infinite; }
@keyframes orbit-dash { to { stroke-dashoffset: -200; } }

/* ============================================================
   BANNER
   ============================================================ */
.banner {
  padding: 5rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--copper-faint);
  border-bottom: 1px solid var(--copper-faint);
  background:
    radial-gradient(600px 200px at 50% 50%, rgba(207, 150, 104, 0.07), transparent 70%);
}
.banner-text {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  color: var(--ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.banner-text em {
  font-style: italic;
  color: var(--copper-bright);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: 6rem 1.5rem; }

.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.8rem 1.2rem;
  border: 1px solid rgba(207, 150, 104, 0.16);
  background: rgba(12, 23, 48, 0.35);
}
.contact-label { color: var(--copper); font-size: 0.62rem; }
.contact-value {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: 0.03em;
}
a.contact-value:hover { color: var(--copper-bright); }
.contact-sub { color: var(--ink-dim); font-size: 0.58rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--copper-faint);
  padding: 2.4rem 1.5rem;
  background: var(--navy-900);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-inner .mono { color: var(--ink-dim); font-size: 0.62rem; }
.footer-note {
  font-size: 0.85rem;
  color: var(--copper);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .certify-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .certify-points { align-items: center; }
  .cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 480px; }
  .fleet-inner { grid-template-columns: 1fr; }
  .fleet-visual { max-width: 420px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; margin-bottom: 3rem; }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .nav-brand-title { font-size: 0.85rem; }
  .nav-cta { display: none; }
  .hud { font-size: 0.56rem; gap: 0.7rem; }
}
