/* ============================================================
   Parkside Airpark Hangar Home — flyinhomewa87.com
   Premium aviation aesthetic. Static, no dependencies.
   ============================================================ */

:root {
  --navy-900: #081726;
  --navy-800: #0b1f33;
  --navy-700: #102a44;
  --navy-600: #16395b;
  --ink: #0a1521;
  --paper: #f6f3ec;
  --paper-2: #efe9dd;
  --cloud: #ffffff;
  --gold: #d8a24a;
  --gold-soft: #e6bd76;
  --sky: #7fb2d6;
  --text: #1d2733;
  --text-soft: #56616e;
  --text-inv: #eaf1f7;
  --text-inv-soft: #aebfce;
  --line: rgba(13, 30, 48, 0.12);
  --line-inv: rgba(255, 255, 255, 0.14);
  --maxw: 1180px;
  --r: 14px;
  --shadow: 0 24px 60px -28px rgba(8, 23, 38, 0.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 78px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }

.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 14px;
}

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section__title { font-size: clamp(1.9rem, 4vw, 3rem); color: var(--navy-800); margin-bottom: 28px; max-width: 18ch; }
.section__intro { max-width: 60ch; color: var(--text-soft); font-size: 1.05rem; margin-bottom: 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.01em; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  cursor: pointer; border: 1px solid transparent;
}
.btn--gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 10px 30px -10px rgba(216, 162, 74, 0.7); }
.btn--gold:hover { transform: translateY(-2px); background: var(--gold-soft); }
.btn--ghost { background: transparent; color: var(--text-inv); border-color: var(--line-inv); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(8, 23, 38, 0.92); backdrop-filter: blur(12px); border-color: var(--line-inv); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.nav__brand { display: flex; align-items: center; gap: 10px; color: var(--text-inv); font-family: 'Fraunces', serif; font-size: 1.15rem; }
.nav__mark { color: var(--gold); font-size: 1rem; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { color: var(--text-inv-soft); font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--text-inv); }
.nav__cta { padding: 9px 20px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold) !important; }
.nav__cta:hover { background: var(--gold); color: var(--navy-900) !important; }
.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-inv); transition: 0.3s; }
.nav__mobile { display: none; flex-direction: column; background: var(--navy-900); border-top: 1px solid var(--line-inv); }
.nav__mobile a { padding: 16px 28px; color: var(--text-inv-soft); border-bottom: 1px solid var(--line-inv); font-weight: 500; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: var(--text-inv); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__placeholder {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 70% 20%, rgba(127, 178, 214, 0.35), transparent 60%),
    linear-gradient(180deg, #14385a 0%, #0b2238 45%, #081726 100%);
  display: flex; align-items: flex-end; justify-content: center;
}
.hero__placeholder::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 18%;
  height: 2px; background: linear-gradient(90deg, transparent, rgba(216,162,74,0.5) 30%, rgba(216,162,74,0.7) 50%, rgba(216,162,74,0.5) 70%, transparent);
  box-shadow: 0 0 22px rgba(216, 162, 74, 0.5);
}
.hero__placeholder-label { color: rgba(255,255,255,0.35); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 28px; }
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, rgba(8,23,38,0.78) 0%, rgba(8,23,38,0.45) 45%, rgba(8,23,38,0.2) 100%); }
.hero__content { position: relative; z-index: 2; max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 110px 28px 90px; }
.hero__eyebrow { color: var(--gold-soft); letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.82rem; font-weight: 600; margin-bottom: 22px; }
.hero__title { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 500; max-width: 16ch; margin-bottom: 26px; text-shadow: 0 2px 30px rgba(0,0,0,0.3); }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 56ch; color: var(--text-inv-soft); margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }
.hero__price { font-size: 1.05rem; color: var(--text-inv-soft); }
.hero__price strong { color: var(--cloud); font-weight: 600; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--text-inv-soft); font-size: 1.4rem; animation: bob 2.4s var(--ease) infinite; }
@keyframes bob { 0%,100%{ transform: translate(-50%, 0); } 50%{ transform: translate(-50%, 8px); } }

/* ---------- Story ---------- */
.story { background: var(--paper); }
.story__lede { max-width: 62ch; }
.story__lede p { font-size: clamp(1.1rem, 2vw, 1.32rem); color: var(--text); margin-bottom: 22px; font-family: 'Fraunces', serif; font-weight: 400; line-height: 1.5; }
.story__lede strong { color: var(--navy-700); font-weight: 600; }

/* ---------- Facts strip ---------- */
.facts { background: var(--navy-800); color: var(--text-inv); padding: clamp(40px, 6vw, 64px) 0; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fact { text-align: center; padding: 10px; border-right: 1px solid var(--line-inv); }
.fact:last-child { border-right: 0; }
.fact__num { display: block; font-family: 'Fraunces', serif; font-size: clamp(1.7rem, 3.4vw, 2.6rem); color: var(--gold-soft); line-height: 1; margin-bottom: 10px; }
.fact__unit { font-size: 0.55em; color: var(--text-inv-soft); }
.fact__label { font-size: 0.82rem; letter-spacing: 0.04em; color: var(--text-inv-soft); text-transform: uppercase; }

/* ---------- Why ---------- */
.why { background: var(--paper-2); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--cloud); border: 1px solid var(--line); border-radius: var(--r); padding: 34px 30px; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__kicker { font-family: 'Fraunces', serif; font-size: 1.1rem; color: var(--gold); margin-bottom: 16px; font-weight: 600; }
.card h3 { font-size: 1.3rem; color: var(--navy-800); margin-bottom: 12px; }
.card p { color: var(--text-soft); font-size: 0.98rem; }
.card--accent { background: var(--navy-800); border-color: var(--navy-600); }
.card--accent h3 { color: var(--cloud); }
.card--accent p { color: var(--text-inv-soft); }
.card--accent .card__kicker { color: var(--gold-soft); font-size: 1.4rem; }

/* ---------- Arbitrage ---------- */
.arb { background: var(--navy-900); color: var(--text-inv); }
.arb__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.arb__text .section__title { color: var(--cloud); }
.arb__text p { color: var(--text-inv-soft); font-size: 1.06rem; margin-bottom: 18px; max-width: 52ch; }
.arb__text strong { color: var(--gold-soft); }
.compare { border: 1px solid var(--line-inv); border-radius: var(--r); overflow: hidden; }
.compare__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line-inv); font-size: 0.95rem; }
.compare__row:last-child { border-bottom: 0; }
.compare__row--head { background: rgba(216,162,74,0.12); color: var(--gold-soft); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.8rem; grid-template-columns: 1fr; }
.compare__a { color: var(--cloud); font-weight: 500; }
.compare__vs { color: var(--text-inv-soft); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.compare__b { color: var(--text-inv-soft); text-align: right; }

/* ---------- Gallery ---------- */
.gallery { background: var(--paper); }
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 28px; }
.shot { position: relative; border-radius: var(--r); overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.shot--wide { grid-column: span 2; aspect-ratio: 21 / 9; }
.shot__ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1a3a59, #0d2238);
  color: rgba(255,255,255,0.45); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
  transition: transform 0.4s var(--ease);
}
.shot__ph span { padding: 0 16px; text-align: center; }
.shot:hover .shot__ph { transform: scale(1.04); }
.shot::after {
  content: attr(data-caption); position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 26px 18px 14px; font-size: 0.85rem; color: #fff;
  background: linear-gradient(transparent, rgba(8,23,38,0.85)); opacity: 0; transition: opacity 0.3s; font-family: 'Inter', sans-serif; text-transform: none; letter-spacing: 0;
}
.shot:hover::after { opacity: 1; }

.video { margin-top: 8px; }
.video__frame { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.video__ph {
  aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: radial-gradient(800px 400px at 50% 30%, rgba(127,178,214,0.25), transparent), linear-gradient(160deg, #102a44, #081726);
  color: var(--text-inv-soft); text-align: center; padding: 24px;
}
.video__play { width: 70px; height: 70px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-size: 1.4rem; padding-left: 5px; }
.video__label { color: var(--cloud); font-size: 1.05rem; font-weight: 500; }
.video__hint { font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ---------- Specs ---------- */
.specs { background: var(--paper-2); }
.specs__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.spec-block h3 { font-size: 1.35rem; color: var(--navy-800); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); display: inline-block; }
.spec-list > div { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--text-soft); font-size: 0.9rem; font-weight: 500; }
.spec-list dd { color: var(--text); font-weight: 500; font-size: 0.96rem; }
.tbd { color: var(--gold); font-style: italic; font-size: 0.85em; font-weight: 500; }
.value-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }
.value-strip__item { background: var(--cloud); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; text-align: center; }
.value-strip__item span { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 8px; }
.value-strip__item strong { font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--navy-800); font-weight: 600; }
.value-strip__item--hl { background: var(--navy-800); border-color: var(--navy-600); }
.value-strip__item--hl span { color: var(--gold-soft); }
.value-strip__item--hl strong { color: var(--cloud); }
.specs__note { max-width: 70ch; color: var(--text-soft); font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact { background: var(--navy-800); color: var(--text-inv); }
.contact__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.contact__lead .section__title { color: var(--cloud); }
.contact__lead p { color: var(--text-inv-soft); font-size: 1.05rem; max-width: 52ch; }
.contact__card { background: var(--navy-900); border: 1px solid var(--line-inv); border-radius: var(--r); padding: 38px 36px; }
.contact__name { font-family: 'Fraunces', serif; font-size: 1.6rem; color: var(--cloud); margin-bottom: 4px; }
.contact__role { color: var(--text-inv-soft); font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 24px; }
.contact__line { display: block; color: var(--gold-soft); font-size: 1.1rem; padding: 8px 0; border-bottom: 1px solid var(--line-inv); transition: color 0.2s; }
.contact__line:hover { color: var(--gold); }
.contact__btn { margin-top: 28px; width: 100%; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: var(--text-inv-soft); padding: 54px 0 40px; border-top: 1px solid var(--line-inv); }
.footer__brand { font-family: 'Fraunces', serif; color: var(--cloud); font-size: 1.15rem; margin-bottom: 14px; }
.footer__fine { max-width: 70ch; font-size: 0.84rem; line-height: 1.6; margin-bottom: 18px; opacity: 0.8; }
.footer__copy { font-size: 0.82rem; opacity: 0.6; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,15,25,0.94); display: flex; align-items: center; justify-content: center; padding: 40px; }
.lightbox[hidden] { display: none; }
.lightbox__inner { max-width: 1000px; width: 100%; }
.lightbox__inner .shot__ph { position: relative; border-radius: var(--r); min-height: 60vh; }
.lightbox__close { position: absolute; top: 22px; right: 28px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__mobile { display: flex; }
  .nav.is-open { background: rgba(8,23,38,0.97); backdrop-filter: blur(12px); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .arb__inner, .specs__cols, .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .facts__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .fact:nth-child(2) { border-right: 0; }
  .value-strip { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .why__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .shot--wide { grid-column: span 1; aspect-ratio: 4 / 3; }
  .facts__grid { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line-inv); padding-bottom: 18px; }
  .fact:last-child { border-bottom: 0; }
  .compare__row { grid-template-columns: 1fr; gap: 4px; text-align: left; }
  .compare__b { text-align: left; }
  .compare__vs { display: none; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
