/* ==========================================================================
   Aerizing Balloon Experience — design system + site styles
   ========================================================================== */

:root {
  /* brand colors (sampled from logo) */
  --navy: #1156a7;
  --navy-dark: #0b3d7a;
  --navy-ink: #14213a;
  --abyss: #05070d;
  --pink: #e74799;
  --purple: #6b439a;
  --sunrise: #f2a53d;
  --sunrise-deep: #dd7e2b;

  --cream: #fbf7f0;
  --white: #ffffff;
  --ink: #1b2430;
  --ink-soft: #4a5468;
  --muted: #7c8494;
  --border: #e7e1d6;

  /* small accent use only (eyebrow dash, stars) — kept from the logo's flame */
  --gradient-flame: linear-gradient(180deg, var(--pink) 0%, var(--purple) 100%);
  --gradient-sunrise: linear-gradient(120deg, var(--sunrise) 0%, var(--pink) 100%);

  /* primary large-surface gradients — deep and dark, no light blue wash */
  --gradient-sky: linear-gradient(180deg, var(--abyss) 0%, var(--navy-dark) 100%);
  --gradient-cta: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);

  --shadow-sm: 0 2px 8px rgba(20, 33, 58, 0.08);
  --shadow-md: 0 10px 30px rgba(20, 33, 58, 0.14);
  --shadow-lg: 0 20px 60px rgba(20, 33, 58, 0.22);

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--pink); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gradient-sunrise);
  border-radius: 2px;
}

.section {
  padding: 88px 0;
}
.section--tight { padding: 56px 0; }
.section--navy {
  /* flat, not a gradient — a gradient restarts on every section that uses
     it, which bands/stripes when dark sections stack back to back. Flat
     means any number of them in a row reads as one continuous dark field,
     and it's the exact color the hero/page-header fades land on. */
  background: var(--abyss);
  color: var(--white);
}
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.85); }
/* bare text links directly on a dark section need a lighter color — but not
   buttons, and not links that live inside a white card (handled below) */
.section--navy a:not(.btn) { color: var(--sunrise); }
/* white boxes (cards, steps, stat cards, forms) keep their own dark text and
   normal link color regardless of the section color behind them */
.section--navy .card h3,
.section--navy .step h3,
.section--navy .review-platform-card h3,
.section--navy .form-card h2 { color: var(--navy-ink); }
.section--navy .card p:not(.pill),
.section--navy .step p,
.section--navy .review-platform-card p,
.section--navy .form-card p { color: var(--ink-soft); }
.section--navy .card a:not(.btn),
.section--navy .step a:not(.btn),
.section--navy .review-platform-card a:not(.btn),
.section--navy .form-card a:not(.btn) { color: var(--navy); }
/* .pill keeps its own navy-on-tint look everywhere, even as a <p> or <a>
   inside a dark section — it was getting caught by the light-text rules
   above and washing out to near-invisible */
.section--navy .pill { color: var(--navy) !important; }
.section--cream { background: var(--white); }

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p { font-size: 1.08rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gradient-sunrise);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { color: var(--white); box-shadow: var(--shadow-lg); }
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-block { width: 100%; justify-content: center; }

/* ==== Header / Nav ==== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy-ink);
}
.brand img { height: 42px; width: auto; }
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { background: rgba(17, 86, 167, 0.08); color: var(--navy); }
.main-nav a.is-active { color: var(--navy); background: rgba(17, 86, 167, 0.1); }
.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-ink);
  margin: 5px 0;
  border-radius: 2px;
}

/* ==== Hero ==== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-size: cover;
  background-position: center 78%;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* true photo up top — no color wash — darkening only in the final stretch,
     landing on solid near-black so the hero melts into the section below it
     instead of hard-cutting to white */
  background: linear-gradient(180deg, rgba(5,7,13,0) 0%, rgba(5,7,13,0) 60%, rgba(5,7,13,0.5) 82%, rgba(5,7,13,0.9) 95%, var(--abyss) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 64px 24px 72px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  color: var(--sunrise);
  margin-bottom: 10px;
}
.hero h1 {
  color: var(--white);
  max-width: 760px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.hero-lede {
  max-width: 560px;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: rgba(255,255,255,0.6);
  animation: scrollpulse 1.8s ease-in-out infinite;
}
@keyframes scrollpulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Page header (non-home pages) */
.page-header {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: flex-end;
  padding: 40px 24px 56px;
  color: var(--white);
  background-size: cover;
  background-position: center 25%;
  text-align: center;
  overflow: hidden;
}
.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  /* true photo up top, darkening only toward the bottom, landing on solid
     near-black so the banner melts into the section below it */
  background: linear-gradient(180deg, rgba(5,7,13,0) 0%, rgba(5,7,13,0) 55%, rgba(5,7,13,0.45) 80%, rgba(5,7,13,0.9) 94%, var(--abyss) 100%);
}
.page-header-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; width: 100%; }
.page-header h1 { color: var(--white); }
.page-header p { color: rgba(255,255,255,0.88); font-size: 1.1rem; }

/* ==== Cards / Grid ==== */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-body { padding: 24px; }
.card img { width: 100%; height: 210px; object-fit: cover; object-position: center 35%; }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.96rem; }

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-cta);
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 16px;
  flex-shrink: 0;
}

/* Steps / timeline (experience page) */
.steps {
  display: grid;
  gap: 20px;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: flex-start;
  padding: 26px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

/* Quote / stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-strip .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--sunrise);
}
.stat-strip .stat span {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* Gallery */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}
.filter-btn {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--ink-soft);
  transition: all 0.15s ease;
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.masonry {
  columns: 4 220px;
  column-gap: 14px;
}
.masonry figure {
  margin: 0 0 14px;
  break-inside: avoid;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
}
.masonry img {
  width: 100%;
  display: block;
  transition: transform 0.35s ease;
}
.masonry figure:hover img { transform: scale(1.06); }
.masonry figure.is-hidden { display: none; }

.video-feature {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.video-feature video { width: 100%; display: block; background: #000; }

/* short looping clip, styled as a tile inside the gallery grid rather than
   a full "watch this video" feature — the source clip is only ~2 seconds */
.masonry figure.video-tile { cursor: default; }
.masonry figure.video-tile video {
  width: 100%;
  display: block;
  background: #000;
}
.video-tile .loop-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(11, 20, 40, 0.72);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(11, 20, 40, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* Forms */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 40px;
  border: 1px solid var(--border);
}
.form-row { margin-bottom: 20px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
label {
  display: block;
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 7px;
  color: var(--navy-ink);
}
label .req { color: var(--pink); }
input, select, textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.15s ease, background 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}
textarea { resize: vertical; min-height: 110px; }
.field-hint { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 18px;
}

.alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 0.95rem;
}
.alert-success { background: #e6f6ec; color: #1e6b3c; border: 1px solid #b7e3c6; }
.alert-error { background: #fdeaea; color: #a3282d; border: 1px solid #f3bcbe; }

/* Two-col layout */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.split img, .split .media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }

/* Timeline list (used in about) */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "✓";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: var(--white);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
/* on a dark section, the default ink-soft body color is unreadable — flip to light text */
.section--navy .checklist li { color: rgba(255, 255, 255, 0.9); }
.section--navy .checklist li::before { background: var(--gradient-sunrise); color: var(--navy-ink); }

/* Reviews */
.review-platform-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stars { color: var(--sunrise); font-size: 1.3rem; letter-spacing: 3px; margin-bottom: 10px; }

/* Events */
.event-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: center;
}
.event-month {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
}
.event-month span { display: block; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-body); opacity: 0.8; }

/* Map */
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* Waiver */
.waiver-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  background: var(--white);
}
.waiver-embed iframe { width: 100%; height: 900px; border: 0; display: block; }

/* CTA band */
.cta-band {
  background: var(--gradient-cta);
  border-radius: 24px;
  padding: 56px;
  color: var(--white);
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 560px; margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer {
  background: var(--navy-ink);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand img { height: 46px; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.92rem; }
.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,0.72); font-size: 0.94rem; }
.site-footer a:hover { color: var(--sunrise); }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.social-row a:hover { background: var(--gradient-cta); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(17,86,167,0.08);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ==== Responsive ==== */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .main-nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-toggle { display: block; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .masonry { columns: 2 160px; }
  .section { padding: 60px 0; }
  .form-card { padding: 26px; }
  .cta-band { padding: 36px 22px; }
  .event-card { grid-template-columns: 70px 1fr; padding: 16px; }
  .waiver-embed iframe { height: 700px; }
}
