/* The NYC Helicopter Experience: the brochure pages (landing, places, credits). The replay page keeps the dashboard's own styles. */
:root {
  --bg: #f7f5f0; --card: #ffffff; --ink: #14202e; --muted: #5b6573; --line: #e4e0d6;
  --gold: #e9a91c; --gold-ink: #1b1405; --coral: #d9432b; --navy: #0f2238; --sky: #dfeaf5;
  --shadow: 0 10px 30px rgba(15, 34, 56, .12);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0d141d; --card: #152130; --ink: #eef2f6; --muted: #a3afbd; --line: #243446; --sky: #12263b; --shadow: 0 10px 30px rgba(0, 0, 0, .4); }
}
:root[data-theme="dark"] { --bg: #0d141d; --card: #152130; --ink: #eef2f6; --muted: #a3afbd; --line: #243446; --sky: #12263b; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 1000; background: color-mix(in srgb, var(--navy) 94%, transparent); backdrop-filter: blur(6px); color: #fff; }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 60px; }
.brand { font-weight: 800; letter-spacing: .01em; text-decoration: none; display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.brand svg { color: var(--gold); flex: none; }
.nav nav { display: flex; gap: 18px; margin-left: auto; font-size: 14px; }
.nav nav a { text-decoration: none; opacity: .85; } .nav nav a:hover { opacity: 1; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-size: 16px; }
.btn-gold { background: var(--gold); color: var(--gold-ink); box-shadow: 0 6px 18px rgba(233, 169, 28, .35); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .7); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-line { background: transparent; color: var(--ink); border: 2px solid var(--line); }
@media (max-width: 760px) { .nav nav { display: none; } .nav .btn { margin-left: auto; } }

/* hero */
.hero { position: relative; color: #fff; background: #0b1622 center/cover no-repeat; min-height: 640px; display: flex; align-items: flex-end; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 18, 30, .25) 0%, rgba(8, 18, 30, .55) 45%, rgba(8, 18, 30, .92) 100%); }
.hero .wrap { position: relative; padding-top: 120px; padding-bottom: 56px; }
.kicker { display: inline-block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin-bottom: 14px; }
.hero h1 { font-size: clamp(40px, 7vw, 78px); line-height: 1.02; margin: 0; font-weight: 850; letter-spacing: -.02em; max-width: 14ch; }
.hero .twist { font-size: clamp(30px, 5vw, 56px); line-height: 1.05; margin: 10px 0 0; font-weight: 850; color: var(--gold); letter-spacing: -.02em; }
.hero p.lead { font-size: 19px; max-width: 60ch; margin: 22px 0 28px; color: rgba(255, 255, 255, .9); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* price strip */
.strip { background: var(--navy); color: #fff; }
.strip .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; }
.strip div.s { padding: 22px 20px; border-left: 1px solid rgba(255, 255, 255, .12); }
.strip div.s:first-child { border-left: 0; }
.strip b { display: block; font-size: 30px; line-height: 1.1; color: var(--gold); font-variant-numeric: tabular-nums; }
.strip span { font-size: 14px; color: rgba(255, 255, 255, .8); }

/* sections */
section.block { padding: 72px 0; }
section.alt { background: var(--sky); }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--coral); }
h2.title { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; margin: 6px 0 12px; letter-spacing: -.01em; }
p.intro { max-width: 70ch; color: var(--muted); font-size: 17px; margin: 0 0 32px; }

/* package cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card .img { aspect-ratio: 16 / 10; background: #223 center/cover no-repeat; position: relative; }
.card .tag { position: absolute; left: 14px; top: 14px; background: var(--gold); color: var(--gold-ink); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { margin: 0; font-size: 22px; }
.card .blurb { margin: 0; color: var(--muted); }
.card ul.inc { list-style: none; margin: 4px 0 0; padding: 12px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 8px; font-size: 15px; }
.card ul.inc li { display: flex; gap: 10px; } .card ul.inc li::before { content: "✓"; color: var(--coral); font-weight: 800; }
.card .price { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.card .price small { color: var(--muted); display: block; font-size: 12px; }
.card .price b { font-size: 20px; }

/* life below */
.below { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.below .photo { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: #223 center/cover no-repeat; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0 24px; }
.facts div { background: var(--card); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); }
.facts b { display: block; font-size: 28px; color: var(--coral); font-variant-numeric: tabular-nums; line-height: 1.1; }
.facts span { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .below { grid-template-columns: 1fr; } }

/* neighborhood grid */
.places { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.place { background: var(--card); border-radius: 14px; padding: 18px 18px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; border-top: 5px solid var(--gold); }
.place.hot { border-top-color: var(--coral); }
.place h3 { margin: 0; font-size: 19px; } .place .area { font-size: 13px; color: var(--muted); }
.place .big { font-size: 34px; font-weight: 850; line-height: 1; margin-top: 8px; font-variant-numeric: tabular-nums; }
.place .big small { font-size: 14px; font-weight: 600; color: var(--muted); }
.place p { margin: 2px 0 8px; font-size: 14px; color: var(--muted); }
.place .links { margin-top: auto; display: flex; gap: 14px; font-size: 14px; font-weight: 700; }
.place .links a { color: var(--coral); text-decoration: none; } .place .links a:hover { text-decoration: underline; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: s; }
.step { background: var(--card); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font-weight: 850; margin-bottom: 10px; }
.step h3 { margin: 0 0 4px; font-size: 18px; } .step p { margin: 0; color: var(--muted); font-size: 15px; }

/* faq */
.faq details { background: var(--card); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; }
.faq p { color: var(--muted); margin: 10px 0 0; max-width: 80ch; }

/* place page */
.phead { position: relative; color: #fff; background: #0b1622 center/cover no-repeat; }
.phead::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 18, 30, .45), rgba(8, 18, 30, .9)); }
.phead .wrap { position: relative; padding: 90px 20px 44px; }
.phead h1 { margin: 6px 0 8px; font-size: clamp(32px, 5vw, 54px); line-height: 1.05; }
.phead p { margin: 0; max-width: 62ch; color: rgba(255, 255, 255, .88); font-size: 18px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 28px 0; }
.stats div { background: var(--card); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); }
.stats b { display: block; font-size: 32px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: 14px; }
.prose { max-width: 75ch; } .prose p { margin: 0 0 14px; }
.note { font-size: 13px; color: var(--muted); }

/* footer */
footer.foot { background: var(--navy); color: rgba(255, 255, 255, .78); font-size: 14px; padding: 40px 0; }
footer.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; }
footer.foot a { color: #fff; }
footer.foot b { color: #fff; }
@media (max-width: 760px) { footer.foot .wrap { grid-template-columns: 1fr; } }
.credits li { margin-bottom: 10px; }

/* resident video, phone-shaped */
.phone { position: relative; margin: 0 auto; width: min(340px, 100%); }
.phone video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 28px; border: 8px solid #0b1622; box-shadow: var(--shadow); background: #0b1622; display: block; }
.phone .sound { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); background: var(--gold); color: var(--gold-ink); border: 0; border-radius: 999px; padding: 9px 18px; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.phone figcaption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; }

/* hero with the resident video on the left */
.hero .hero-grid { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.hero-phone { width: 300px; margin: 0; }
.hero-phone figcaption { color: rgba(255, 255, 255, .75); }
.hero-phone .sound { bottom: 70px; }
@media (max-width: 860px) {
  .hero .hero-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .hero-phone { width: min(280px, 80%); margin: 0 auto; }
}

/* portrait photo (Pier A still) in the "life under the flight path" section */
.photo-fig { margin: 0; } .photo-fig figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; }
.below .photo.tall { aspect-ratio: 4 / 5; max-width: 420px; margin: 0 auto; background-position: center 30%; }
.phead.pier { background-position: center 85%; }

/* the replay section on the landing page */
section.exp { padding-top: 56px; }
/* visitor survey: a small card fixed in the top-right corner */
.survey { position: fixed; top: 72px; right: 16px; z-index: 1100; width: min(340px, calc(100vw - 32px)); background: var(--card); color: var(--ink);
          border-radius: 14px; border-top: 4px solid var(--gold); box-shadow: 0 14px 40px rgba(0, 0, 0, .35); padding: 14px 16px 12px; max-height: calc(100vh - 90px); overflow: auto; }
.survey[hidden] { display: none; }
.survey h2 { font-size: 17px; margin: 0 26px 10px 0; line-height: 1.25; }
.survey-x { position: absolute; top: 6px; right: 8px; border: 0; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; padding: 4px; }
.survey-opts { display: grid; gap: 8px; }
.survey-opts button { text-align: left; background: var(--bg); color: var(--ink); border: 2px solid var(--line); border-radius: 10px; padding: 9px 11px; font: inherit; font-size: 13.5px; line-height: 1.35; cursor: pointer; }
.survey-opts button:hover, .survey-opts button:focus-visible { border-color: var(--gold); }
.survey-opts button:disabled { opacity: .6; cursor: default; }
.survey-note { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.survey-res ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.survey-res li { font-size: 13px; line-height: 1.3; }
.survey-res li.mine b { color: var(--coral); }
.survey-res .bar { display: block; height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; margin-top: 4px; }
.survey-res .bar i { display: block; height: 100%; background: var(--gold); }
@media (max-width: 600px) { .survey { top: 66px; right: 10px; width: calc(100vw - 20px); max-height: 60vh; padding: 12px 14px 10px; } .survey h2 { font-size: 16px; } }
.survey-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }   /* hidden field for bots */
.survey-ts:empty { display: none; } .survey-ts { margin-top: 8px; }

/* key facts (quotable, sourced) */
.keyfacts { padding: 48px 0 8px; }
.facts-list { margin: 8px 0 14px; padding-left: 20px; display: grid; gap: 8px; font-size: 16px; }
.facts-list li { line-height: 1.5; }

/* community groups */
.community { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.cgroup { background: var(--card); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); border-top: 5px solid var(--gold); }
.cgroup h3 { margin: 0 0 6px; font-size: 18px; } .cgroup p { margin: 0 0 8px; color: var(--muted); }
.cgroup .clinks a, #involved a { color: var(--coral); font-weight: 700; }

/* ---------- phones ---------- */
.nav { z-index: 2000; }                      /* above the map's zoom buttons */
.survey { z-index: 2100; }
.nav .btn { white-space: nowrap; }
@media (max-width: 600px) {
  .nav .wrap { height: 56px; gap: 10px; padding: 0 14px; }
  .brand { font-size: 15px; gap: 7px; min-width: 0; } .brand svg { width: 22px; height: 22px; }
  .nav .btn-sm { padding: 7px 13px; font-size: 13px; }
  .wrap { padding: 0 16px; }
  /* the survey starts as a small tab in the corner; tapping it opens the questions */
  .survey { top: 64px; right: 10px; left: auto; width: auto; max-width: calc(100vw - 20px); padding: 10px 14px; border-radius: 12px; }
  .survey.min { cursor: pointer; }
  .survey.min .survey-q > :not(h2), .survey.min .survey-res { display: none; }
  .survey.min h2 { margin: 0 26px 0 0; font-size: 14px; }
  .survey:not(.min) { width: calc(100vw - 20px); max-height: 70vh; }
  .survey h2 { font-size: 16px; }
  .survey-opts button { font-size: 13.5px; padding: 9px 11px; }
}
@media (max-width: 860px) {
  .hero-phone { width: min(230px, 62%); }
  .hero .hero-grid { padding-top: 22px; padding-bottom: 36px; }
  .hero .kicker { font-size: 11px; letter-spacing: .1em; }
  .below .phone { width: min(260px, 70%); }
}
@media (max-width: 600px) {
  /* the survey tab tucks under the top bar on the right instead of floating over the page */
  .survey.min { top: 56px; right: 0; border-radius: 0 0 0 12px; padding: 7px 12px; box-shadow: 0 6px 16px rgba(0,0,0,.35); border-top: 0; border-left: 3px solid var(--gold); }
  .survey.min h2 { font-size: 13px; }
  .survey.min .survey-x { top: 2px; right: 4px; font-size: 20px; }
}
@media (max-width: 600px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
  .stats div { padding: 12px 12px; } .stats b { font-size: 26px; } .stats span { font-size: 12.5px; line-height: 1.35; display: block; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .phead .wrap { padding: 56px 16px 30px; } .phead p { font-size: 16px; }
  .strip div.s { padding: 16px; } .strip b { font-size: 26px; }
  section.block { padding: 48px 0; }
  .card .price { gap: 12px; } .card .price .btn { width: 100%; justify-content: center; }
}
.prose p:has(> .btn) { display: flex; flex-wrap: wrap; gap: 10px; }
.foot .byline { margin: 0 0 8px; color: #fff; } .foot .byline a { color: var(--gold); }
