/* Parachute v12 – clean two-page */
:root{
  --nav-h: 72px;
  --text: #0b1020;
  --muted: rgba(11,16,32,.72);
  --panel: rgba(255,255,255,.78);
  --panel-border: rgba(255,255,255,.35);
  --card: rgba(255,255,255,.72);
  --card-border: rgba(11,16,32,.08);
  --shadow: 0 18px 60px rgba(0,0,0,.18);
  --shadow-soft: 0 10px 30px rgba(0,0,0,.10);
  --brand: #ffffff;
  --brand-ink: #0b1020;
  /* Primary button background (semi‑transparent, not solid white) */
  --btn: rgba(255,255,255,.78);
  --btn-ink: #0b1020;
  --btn-ghost: rgba(255,255,255,.10);
  --btn-ghost-ink: rgba(255,255,255,.92);

  --hero-overlay: rgba(0,0,0,.40);
  --hero-grad-a: rgba(0,0,0,.45);
  --hero-grad-b: rgba(0,0,0,.18);

  --about-bg: #f6f7fb;
  --about-grad-a: rgba(25,90,140,.06);
  --about-grad-b: rgba(255,255,255,.82);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #0b1020;
}
a{color:inherit}
.no-scroll{overflow:hidden}

/* NAV */
.nav{
  position:fixed;
  inset:0 0 auto 0;
  height: var(--nav-h);
  z-index: 50;
  display:flex;
  align-items:center;
  background: rgba(10,12,18,.55);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.nav-inner{
  width:min(1120px, calc(100% - 32px));
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:#fff;
  font-weight:800;
  letter-spacing:.2px;
}
.brand-btn{
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.brand-btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(120,180,255,0.28);
  border-radius: 14px;
}
.brand-mark{
  width:34px;
  height:34px;
  border-radius:10px;
  object-fit:contain;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  padding:4px;
}
.brand-word{font-size:16px}
.nav-links{
  display:flex;
  gap:16px;
  align-items:center;
}
.nav-link{
  text-decoration:none;
  color: rgba(255,255,255,.82);
  font-weight:600;
  font-size:14px;
  padding:8px 10px;
  border-radius:12px;
}
.nav-link:hover{background: rgba(255,255,255,.08); color:#fff}
.nav-actions{display:flex; gap:10px}

.icon-btn{
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  text-decoration:none;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.icon-btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.22)}
.icon-btn:active{transform: translateY(0)}
.icon-btn svg{width:18px; height:18px; fill: currentColor}

/* BUTTONS */
.btn{
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color:#fff;
  font-weight:700;
  font-size:14px;
  padding:10px 14px;
  border-radius: 999px;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.22)}
.btn:active{transform: translateY(0)}
.btn-primary{
  background: var(--btn);
  color: var(--btn-ink);
  border-color: rgba(255,255,255,.32);
}
.btn-primary:hover{background: rgba(255,255,255,.88)}
.btn-ghost{
  background: var(--btn-ghost);
  color: var(--btn-ghost-ink);
}
.btn-block{width:100%}

/* STAGES */
.stage{position:relative}
.stage-hero{
  min-height: 100vh;
  padding-top: var(--nav-h);
  overflow:hidden;
  background: linear-gradient(180deg, rgba(10,12,18,.15), rgba(10,12,18,.65));
}
.bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: 50% 50%;
  z-index:0;
  transform: scale(1.02);
  filter: saturate(1.02) contrast(1.02);
}

/* Nudge hero video so the Parachute mark is dead-center */
.bg-main{ object-position: 49.3% 50%; }
@media (max-width: 720px){
  .bg-main{ object-position: 46.8% 50%; }
}
.video-failed .bg{display:none}
.bg-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background: linear-gradient(180deg, var(--hero-grad-a), var(--hero-grad-b));
}

/* HERO COPY REMOVED (v17-based) */
.stage-hero .hero,
.stage-hero .hero-copy,
.stage-hero .hero-inner{display:none}

/* HERO */
.hero{
  position:relative;
  height:100%;
  display:flex;
  align-items:center;
}

.hero-inner{
  position:relative;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding: 0 clamp(18px, 5vw, 84px);
  z-index:3;
}

.hero-spacer{
  display:none;
}

.hero-copy{
  width: clamp(280px, 22vw, 440px);
  max-width: 440px;
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 22px;
  padding: 22px 22px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.22);
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.95);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-copy h1{
  margin:0;
  line-height: 1.02;
  font-weight: 900;
  font-size: clamp(34px, 3.2vw, 54px);
  letter-spacing: -0.02em;
}

.hero-copy p{
  margin: 14px 0 18px;
  color: rgba(255,255,255,0.88);
  font-size: 15.5px;
  line-height: 1.45;
}

.hero-actions{
  display:flex;
  gap: 10px;
  align-items:center;
  margin-top: 10px;
  flex-wrap:wrap;
}

.hero-meta{
  margin-top: 10px;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
}

@media (max-width: 960px){
  .hero-inner{
    justify-content:center;
    padding: 0 18px;
  }
  .hero-copy{
    width: min(560px, calc(100% - 36px));
    max-width: 560px;
    background: rgba(0,0,0,0.30);
  }
}

.stage-about{
  /* Match hero vibe: dark, glassy, premium */
  --text:#fff;
  --muted: rgba(255,255,255,.74);
  --panel: rgba(10,12,18,.62);
  --panel-border: rgba(255,255,255,.14);
  --card: rgba(255,255,255,.07);
  --card-border: rgba(255,255,255,.14);
  --shadow-soft: 0 18px 60px rgba(0,0,0,.40);
  color:#fff;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 15% 0%, rgba(120,200,255,.16), transparent 62%),
    radial-gradient(900px 600px at 85% 10%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(1200px 700px at 50% 110%, rgba(255,255,255,.06), transparent 65%),
    linear-gradient(180deg, rgba(18,24,38,.80), rgba(18,24,38,.62));
  padding: 54px 0 78px;
}

.stage-about::before{
  content:"";
  position:absolute;
  inset:-20%;
  z-index:0;
  background:
    radial-gradient(700px 420px at 20% 20%, rgba(120,200,255,.20), transparent 60%),
    radial-gradient(620px 420px at 80% 30%, rgba(255,255,255,.14), transparent 62%),
    radial-gradient(900px 520px at 55% 90%, rgba(120,200,255,.10), transparent 65%);
  opacity:.55;
  transform: translate3d(-2%, -1%, 0) scale(1.02);
  animation: aboutDrift 18s ease-in-out infinite alternate;
  pointer-events:none;
}

@keyframes aboutDrift{
  0%{ transform: translate3d(-3%, -2%, 0) scale(1.02); filter: blur(0px); }
  50%{ transform: translate3d(2%, 1%, 0) scale(1.03); }
  100%{ transform: translate3d(4%, -1%, 0) scale(1.04); }
}

.panel{
  position: relative;
  z-index: 2;
  width:min(1120px, calc(100% - 32px));
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  padding: 28px;
  backdrop-filter: blur(10px);
}
.panel-top h2{
  margin:0;
  font-size: 28px;
  letter-spacing:-.2px;
}
.lead{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}
.grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.card{
  grid-column: span 6;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.card h3{
  margin:0 0 6px;
  font-size: 16px;
}
.card p{
  margin:0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

/* ABOUT CTA */
.about-cta{
  margin-top: 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.26);
}
.about-cta-kicker{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.about-cta-title{
  margin-top: 4px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.1px;
}
.about-cta-sub{
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* About section — dark/glass overrides */
.stage-about .about-cta{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 40px rgba(0,0,0,.26);
}
.stage-about .about-cta-kicker{color: rgba(255,255,255,.72)}
.stage-about .about-cta-sub{color: rgba(255,255,255,.74)}

.btn-small{padding:8px 12px; font-size:13px}
.btn-inline{margin-top:10px}

/* PLACEMENTS */
.stage-placements{
  /* Match hero vibe */
  --text:#fff;
  --muted: rgba(255,255,255,.72);
  --panel: rgba(10,12,18,.62);
  --panel-border: rgba(255,255,255,.14);
  --card: rgba(255,255,255,.07);
  --card-border: rgba(255,255,255,.14);
  --shadow-soft: 0 18px 60px rgba(0,0,0,.40);
  color:#fff;
  background:
    radial-gradient(900px 600px at 85% 0%, rgba(70,130,200,.12), transparent 62%),
    linear-gradient(180deg, rgba(10,12,18,.90), rgba(10,12,18,.98));
  padding: 0 0 78px;
}
.placements-grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.placement{
  margin:0;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.placement img{
  width:100%;
  height: 240px;
  object-fit: cover;
  display:block;
}
.placement figcaption{
  padding: 12px 12px 14px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

/* PLATFORM BAR */
.platform-bar{
  margin-top: 18px;
  display:flex;
  align-items:center;
  gap: 12px;
  background: rgba(11,16,32,.72);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 10px 12px;
  position: relative;
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.platform-label{
  color: rgba(255,255,255,.78) !important;
}
.platform-label{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: rgba(11,16,32,.62);
  white-space:nowrap;
}
.marquee{
  overflow:hidden;
  flex: 1;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track{
  display:flex;
  align-items:center;
  gap: 28px;
  width: max-content;
  animation: scroll 26s linear infinite;
}
.marquee img{
  height: 22px;
  width: auto;
  opacity: 1;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.28));
}
@keyframes scroll{
  0%{transform: translateX(0)}
  100%{transform: translateX(-50%)}
}
@media (prefers-reduced-motion: reduce){
  .marquee-track{animation:none}
}

/* MODAL */
.modal{
  position:fixed;
  inset:0;
  z-index: 100;
  display:none;
}
.modal.is-open{display:block}

/* Spotify modal: keep iframe mounted so playback can continue after closing */
#spotifyModal.modal{
  display:block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}
#spotifyModal.modal.is-open{
  opacity: 1;
  pointer-events: auto;
}
.spotify-embed iframe{
  display: block;
  width: 100%;
  height: 352px;
  border: none;
  border-radius: 18px;
  background: rgba(10,12,18,.6);
}

.spotify-embed{
  margin-top: 10px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.modal-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.60);
}
.modal-dialog{
  position:relative;
  margin: 90px auto 24px;
  width:min(560px, calc(100% - 28px));
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 18px 16px 16px;
}

/* Invite modal (Netlify-style form) */
.modal-dialog.invite-dialog{
  /* smaller than the original full-screen draft, with breathing room */
  width: min(860px, calc(100% - 48px));
  margin: 70px auto 28px;
  padding: 28px 28px 22px;
  max-height: calc(100vh - 140px);
  overflow: auto;
}
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.invite-title{
  margin: 6px 0 18px;
  text-align: center;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: .08em;
  font-weight: 900;
  color: rgba(11,16,32,.90);
}
.invite-dialog .modal-close{
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
.invite-form{
  display: grid;
  gap: 14px;
}
.invite-2col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.invite-field{display:flex; flex-direction:column}
.invite-form input,
.invite-form select{
  font: inherit;
  padding: 18px 18px;
  border-radius: 10px;
  border: 2px solid rgba(11,16,32,.20);
  background: rgba(255,255,255,.96);
}
.invite-form input:focus,
.invite-form select:focus{
  border-color: rgba(25,90,140,.40);
  box-shadow: 0 0 0 4px rgba(25,90,140,.12);
}
.invite-submit{
  border: 0;
  border-radius: 10px;
  padding: 18px 18px;
  font: inherit;
  font-weight: 900;
  letter-spacing: .06em;
  color: #fff;
  background: rgba(78, 84, 255, .96);
  cursor: pointer;
}
.invite-submit:hover{filter: brightness(1.03)}
.invite-submit:active{transform: translateY(1px)}

@media (max-width: 720px){
  .modal-dialog.invite-dialog{padding: 20px 18px 16px; margin: 56px auto 18px; width: min(640px, calc(100% - 24px))}
  .invite-2col{grid-template-columns: 1fr}
}

/* Placements modal (wide + dark) */
.modal-wide{
  width:min(980px, calc(100% - 28px));
  /*
    IMPORTANT (mobile/iOS Safari):
    - Some Safari versions don't support `dvh`, which would make the max-height rule drop,
      causing the dialog to extend past the viewport and become impossible to scroll.
    - Provide a solid `vh` fallback first, then override with `dvh` when supported.
  */
  max-height: calc(100vh - 120px);
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  /* keep the last row visible above iOS safe-area */
  padding-bottom: max(18px, env(safe-area-inset-bottom));
}


@media (max-width: 720px){
  /* Give more usable vertical space on phones so the placements list can scroll fully */
  .modal-dialog{margin: 56px auto 16px;}
  .modal-wide{max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px);}
}
.modal-dark{
  background: rgba(10,12,18,.90);
  border: 1px solid rgba(255,255,255,.14);
  color:#fff;
}
.modal-dark .modal-close{
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color:#fff;
}
.modal-dark .modal-close:hover{background: rgba(255,255,255,.10)}
.modal-dark .small{color: rgba(255,255,255,.74)}
.placements-modal-grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.placements-modal-grid img{
  width:100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.modal-dialog h2{margin:6px 0 6px; font-size: 22px}
.modal-close{
  position:absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(11,16,32,.10);
  background: rgba(11,16,32,.04);
  cursor:pointer;
  font-size: 22px;
  line-height: 1;
}
.modal-close:hover{background: rgba(11,16,32,.07)}
.form{margin-top: 12px}
.form-row{display:flex; flex-direction:column; gap:6px; margin-bottom: 12px}
.form-row label{font-size: 13px; font-weight: 800; color: rgba(11,16,32,.78)}
input, select, textarea{
  font: inherit;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(11,16,32,.14);
  background: rgba(255,255,255,.96);
  outline: none;
}
textarea{resize: vertical}
input:focus, select:focus, textarea:focus{
  border-color: rgba(25,90,140,.35);
  box-shadow: 0 0 0 4px rgba(25,90,140,.12);
}
.hidden{display:none}
.fineprint{margin: 10px 0 0; color: rgba(11,16,32,.55); font-size: 12px}


/* Placements collage (optional) */
.placements-mini{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.placement-thumb{
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
}
.placement-thumb img{
  width: 100%;
  height: 86px;
  object-fit: cover;
  display:block;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.placement-thumb:focus{
  outline: none;
  box-shadow: 0 0 0 4px rgba(120,200,255,.18);
}

/* Distributed-to bar stays at the bottom (all sizes) */

/* RESPONSIVE */
@media (max-width: 900px){
  .nav-links{display:none}
  .panel{padding: 20px}
  .grid{grid-template-columns: repeat(12, 1fr)}
  .card{grid-column: span 12}
  .platform-bar{flex-direction:column; align-items:flex-start}
  .marquee{width:100%}
  .hero{padding: 34px 0 40px}
  .about-cta{flex-direction:column; align-items:flex-start}
}

@media (max-width: 720px){
  .modal-dialog.invite-dialog{padding: 18px 16px 16px; margin: 60px auto 20px; width: calc(100% - 24px)}
  .invite-2col{grid-template-columns: 1fr}
}

@media (max-width: 640px){
  .placement img{height: 260px}
}

@media (max-width: 820px){
  .hero-spacer{display:none}
  .hero-inner{grid-template-columns: 1fr; padding-top: 0}
  .hero-copy{grid-column: auto; justify-self: start; margin-left: 0}
  .hero h1{max-width:none}
}

@media (max-width: 740px){
  .hero-copy{ padding-top: 96px; }
}


/* Placement modal sections + image viewer */
.placements-modal-section { margin-top: 18px; }
.placements-subtitle {
  margin: 14px 0 10px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}

.placement-item {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  width: 100%;
  outline: none;
}
.placement-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 180ms ease, opacity 180ms ease;
}
.placement-item:hover img { transform: scale(1.02); opacity: 0.96; }
.placement-item:focus-visible { box-shadow: 0 0 0 3px rgba(120,180,255,0.45); }

.placements-modal-grid--tall {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .placements-modal-grid--tall { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .placements-modal-grid--tall { grid-template-columns: 1fr; }
}

.img-viewer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}
.img-viewer.is-open { display: block; }
.img-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(2px);
}
.img-viewer-dialog {
  position: relative;
  z-index: 1;
  width: min(1000px, calc(100vw - 24px));
  height: min(85vh, 820px);
  margin: 64px auto 0;
  background: rgba(10,12,16,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-viewer-dialog img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
}
.img-viewer-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.img-viewer-close:hover { background: rgba(255,255,255,0.14); }

/* =============================
   Stage 2 (About) – brighter, futuristic contrast
   Keeps the same vibe as page 1, but improves readability.
   ============================= */

.stage-about{
  /* Slightly lift the backdrop so the section doesn’t feel “too dark” */
  background:
    radial-gradient(900px 600px at 15% 0%, rgba(120,200,255,.18), transparent 62%),
    radial-gradient(900px 600px at 85% 10%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(1200px 700px at 50% 110%, rgba(255,255,255,.07), transparent 65%),
    linear-gradient(180deg, rgba(18,24,38,.66), rgba(18,24,38,.48));
}

/* Give the main panel a cleaner “glass” look + stronger edge so it pops */
.stage-about .panel{
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border-color: rgba(255,255,255,.18);
  box-shadow:
    0 22px 70px rgba(0,0,0,.34),
    0 0 0 1px rgba(120,200,255,.12) inset;
}

.stage-about .panel-top{
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

/* Cards: brighter fill + subtle glow edge so the copy stands out */
.stage-about .card{
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.07));
  border-color: rgba(255,255,255,.18);
  box-shadow:
    0 16px 44px rgba(0,0,0,.24),
    0 0 0 1px rgba(120,200,255,.14) inset;
  backdrop-filter: blur(10px);
}

.stage-about .card h3{
  color: rgba(255,255,255,.98);
  text-shadow: 0 1px 18px rgba(0,0,0,.38);
}

.stage-about .card p{
  color: rgba(255,255,255,.84);
  text-shadow: 0 1px 14px rgba(0,0,0,.28);
}

/* Add a tiny “future edge” accent on hover (desktop only) */
@media (hover:hover){
  .stage-about .card{
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
  }
  .stage-about .card:hover{
    transform: translateY(-2px);
    border-color: rgba(120,200,255,.30);
    box-shadow:
      0 18px 56px rgba(0,0,0,.30),
      0 0 0 1px rgba(120,200,255,.22) inset;
  }
}

/* CTA: lift contrast so it reads like a highlighted module */
.stage-about .about-cta{
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border-color: rgba(255,255,255,.18);
  box-shadow:
    0 18px 48px rgba(0,0,0,.28),
    0 0 0 1px rgba(120,200,255,.12) inset;
}

/* Small boost for overall readability */
.stage-about .lead{ color: rgba(255,255,255,.80); }
.stage-about .panel-top h2{ text-shadow: 0 2px 22px rgba(0,0,0,.35); }

/*
  Mobile safety net:
  Some iPhone accessibility settings (e.g. Reduce Transparency) can force translucent/blurred
  layers to render as opaque light panels, making white text unreadable.
  On phones, keep the About cards on a darker glass so copy stays high-contrast everywhere.
*/

@media (max-width: 720px){
  /* Mobile: solid “premium” cards (NO transparency) + higher readability */
  .stage-about{
    /* simplify the animated/radial background on phones so text is easier to read */
    background: linear-gradient(180deg, #172033 0%, #101827 100%) !important;
  }
  .stage-about::before{
    opacity: .16 !important; /* keep a hint of glow without overpowering copy */
  }

  .stage-about .panel{
    background: #1b2435 !important;
    border-color: rgba(255,255,255,.14) !important;
  }

  .stage-about .card{
	    /* Flat (no fade) + a touch darker for easier reading */
	    background: #1d2736 !important;
    border-color: rgba(255,255,255,.14) !important;
    box-shadow:
      0 16px 44px rgba(0,0,0,.32),
      0 0 0 1px rgba(255,255,255,.06) inset !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .stage-about .about-cta{
	    /* Match the cards on mobile */
	    background: #1d2736 !important;
    border-color: rgba(255,255,255,.14) !important;
    box-shadow:
      0 18px 48px rgba(0,0,0,.34),
      0 0 0 1px rgba(255,255,255,.06) inset !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  /* Boost contrast: brighter copy + subtle shadow so it stays readable on any phone */
  .stage-about .panel-top h2{ text-shadow: 0 2px 24px rgba(0,0,0,.42) !important; }
  .stage-about .card h3{ text-shadow: 0 2px 20px rgba(0,0,0,.40) !important; }
  .stage-about .card p{
    color: rgba(255,255,255,.92) !important;
    text-shadow: 0 1px 14px rgba(0,0,0,.35) !important;
  }
  .stage-about .lead{
    color: rgba(255,255,255,.86) !important;
    text-shadow: 0 1px 16px rgba(0,0,0,.30) !important;
  }
}

/* PAGE 2 (About) background: clouds + floating panel/cards (NO transparency) */
.stage-about {
  position: relative;
  isolation: isolate;
  padding-top: 40px;
  padding-bottom: 64px;
}
.stage-about::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    /* soft sunlight glow */
    radial-gradient(980px 540px at 52% 6%, rgba(255, 235, 190, 0.18), rgba(0,0,0,0) 62%),
    /* gentle cool glow for depth */
    radial-gradient(1200px 680px at 50% 10%, rgba(255,255,255,0.06), rgba(0,0,0,0) 60%),
    /* LIGHT overlay: keeps it readable but not “stormy” */
    linear-gradient(180deg, rgba(10,14,20,0.28), rgba(10,14,20,0.12) 45%, rgba(10,14,20,0.32)),
    url("assets/clouds_bg_soft.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: saturate(1.04) contrast(1.02) brightness(1.04);
  z-index: -1;
}

/* Floating feel */
.stage-about .panel {
  box-shadow: 0 22px 70px rgba(0,0,0,0.30);
}

/* Inner cards: pleasing solid color + lift */
.stage-about .card,
.stage-about .about-cta {
  background: #1d2736 !important;   /* flat premium navy */
  border: 1px solid rgba(255,255,255,0.12) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,0.40);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Subtle edge highlight */
.stage-about .card::before,
.stage-about .about-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.stage-about .card,
.stage-about .about-cta {
  position: relative;
}

@media (max-width: 720px) {
  .stage-about {
    padding-top: 28px;
    padding-bottom: 48px;
  }
  .stage-about .panel {
    box-shadow: 0 18px 55px rgba(0,0,0,0.26);
  }
}
/* Make the main container feel like it’s floating on the sky */
.stage-about .panel {
  box-shadow: 0 22px 70px rgba(0,0,0,0.45);
}

/* Inner cards: consistent, pleasing solid color + lift */
.stage-about .card,
.stage-about .about-cta {
  background: #1d2736 !important;   /* flat, premium navy (no fade) */
  border: 1px solid rgba(255,255,255,0.12) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,0.55);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Subtle edge highlight so the cards read as “floating” */
.stage-about .card::before,
.stage-about .about-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.stage-about .card,
.stage-about .about-cta {
  position: relative;
}

/* Keep the clouds-heavy look MOBILE too, but keep spacing tighter */
@media (max-width: 720px) {
  .stage-about {
    padding-top: 28px;
    padding-bottom: 48px;
  }
  .stage-about .panel {
    box-shadow: 0 18px 55px rgba(0,0,0,0.40);
  }
}

/* ABOUT LEAD STANDOUT */
.stage-about .lead{
  margin-top: 12px;
  color: rgba(245, 248, 255, 0.92);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1px;
  position: relative;
  padding-left: 14px;
}
.stage-about .lead::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  bottom: 0.35em;
  width: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,0.20);
}
.stage-about .lead strong{
  color: rgba(255,255,255,0.98);
  font-weight: 800;
}
@media (min-width: 900px){
  .stage-about .lead{ font-size: 17px; }
}
