/* Waikiki Beach Parasail — design tokens per handoff spec */
:root {
  --ground: #051016;
  --accent: #F2C230;
  --accent-hover: #FFD75E;
  --text: #F3EFE7;
  --text-2: #D6DDE1;
  --text-3: #B7C3C9;
  --text-nav: #A9BAC2;
  --muted: #8FA3AC;
  --faint: #6F848D;
  --hairline: rgba(243, 239, 231, 0.13);
  --border-card: rgba(243, 239, 231, 0.16);
  --border-btn: rgba(243, 239, 231, 0.34);
  --gutter: clamp(18px, 3.5vw, 40px);
  --gutter-header: clamp(16px, 3vw, 40px);
  --section-gap: clamp(64px, 8vw, 104px);
  --header-h: 94px;
  --anton: Anton, Impact, "Haettenschweiler", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

html, body { margin: 0; padding: 0; background: var(--ground); }

body {
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; }

::selection { background: var(--accent); color: var(--ground); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 12px 20px; background: var(--accent); color: var(--ground);
  font-size: 13px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
}
.skip-link:focus { left: 0; color: var(--ground); }

.wrap { max-width: 1280px; margin: 0 auto; }

/* Sections are anchor targets under a sticky header */
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ---------- Typography ---------- */
.kicker {
  margin: 0 0 18px;
  font-size: 12.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
}
.label {
  font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
h1, h2, h3 { font-family: var(--anton); font-weight: 400; text-transform: uppercase; }

.h2 { margin: 0; font-size: clamp(38px, 5.2vw, 72px); line-height: 0.92; }
.h2-narrow { margin: 0; font-size: clamp(34px, 4.2vw, 58px); line-height: 0.94; max-width: 20ch; }
.intro {
  margin: 22px 0 0; max-width: 60ch;
  font-size: 18px; line-height: 1.55; color: var(--text-3); text-wrap: pretty;
}
.intro-narrow {
  margin: 24px 0 0;
  font-size: 17.5px; line-height: 1.55; color: var(--text-3); text-wrap: pretty;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-solid { background: var(--accent); color: var(--ground); }
.btn-solid:hover { background: var(--accent-hover); color: var(--ground); }
.btn-outline { border: 1px solid var(--border-btn); color: var(--text); }
.btn-outline:hover { background: rgba(243, 239, 231, 0.09); border-color: var(--text); color: var(--text); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 20px; flex-wrap: wrap;
  padding: 12px var(--gutter-header); min-height: var(--header-h);
  background: rgba(5, 16, 22, 0.88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { display: block; height: 66px; width: auto; }
.nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  font-size: 12.5px; letter-spacing: 0.07em; text-transform: uppercase;
  white-space: nowrap;
}
.nav a { color: var(--text-nav); transition: color 0.15s ease; }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 16px; }
.header-phone {
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--text); white-space: nowrap;
}
.header-phone:hover { color: var(--accent); }
.btn-header { height: 40px; padding: 0 18px; font-size: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: min(90vh, 880px); min-height: 600px; }
.media-fill { position: absolute; inset: 0; }
.media-fill img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scrim { position: absolute; inset: 0; pointer-events: none; }
.scrim-hero {
  background: linear-gradient(to top, #051016 2%, rgba(5,16,22,0.72) 34%, rgba(5,16,22,0.46) 70%, rgba(5,16,22,0.5) 100%);
}
.hero-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 var(--gutter) clamp(40px, 6vw, 64px);
  pointer-events: none;
}
.hero h1 {
  margin: 0;
  font-size: clamp(52px, 8.4vw, 132px); line-height: 0.86;
  letter-spacing: 0.005em; max-width: 15ch;
}
.hero-lede {
  margin: 26px 0 0; max-width: 56ch;
  font-size: 19px; line-height: 1.5; color: var(--text-2); text-wrap: pretty;
}
.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-top: 34px; pointer-events: auto;
}
.btn-hero { height: 54px; padding: 0 32px; font-size: 14px; }

/* ---------- Hairline grids ---------- */
.rule-grid { display: grid; gap: 1px; background: var(--hairline); }
.rule-grid > * { background: var(--ground); }
.rule-grid-boxed { border: 1px solid var(--hairline); }

/* ---------- Stat strip ---------- */
.stats { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.stats .rule-grid { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
.stat { padding: 38px clamp(20px, 2.5vw, 32px); }
.stat-num { font-family: var(--anton); font-size: 46px; line-height: 1; color: var(--accent); }
.stat-label { margin-top: 10px; min-height: 2.6em; }

/* ---------- Sections ---------- */
.section-first { padding: var(--section-gap) var(--gutter); }
.section { padding: 0 var(--gutter) var(--section-gap); }

/* ---------- Flight card ---------- */
.card-slot { margin-top: 56px; }
.flight-card {
  border: 1px solid var(--border-card);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
}
.flight-photo { position: relative; min-height: 340px; }
.flight-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ribbon {
  position: absolute; top: 0; left: 0;
  padding: 8px 14px; background: var(--accent); color: var(--ground);
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  pointer-events: none;
}
.flight-body {
  padding: clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column; gap: 18px;
}
.flight-body h3 { margin: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1; }
.price { margin: 0; font-size: 20px; font-weight: 600; color: var(--accent); }
.price span { font-size: 14px; font-weight: 400; color: var(--muted); }
.best-for { margin: 0; font-size: 15px; color: var(--muted); }
.features {
  margin: 0; padding: 20px 0 0; list-style: none;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 16px; line-height: 1.45; color: var(--text-2);
  border-top: 1px solid var(--hairline);
}
.features li { display: flex; gap: 12px; }
.features li::before { content: "—"; color: var(--accent); flex-shrink: 0; }
.btn-card { margin-top: auto; height: 52px; font-size: 13.5px; }

/* ---------- How it works ---------- */
.steps {
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  margin-top: 56px;
}
.step { padding: 34px 28px 40px; }
.step-num { font-family: var(--anton); font-size: 44px; line-height: 1; color: rgba(242, 194, 48, 0.3); }
.step h3 { margin: 18px 0 10px; font-size: 23px; letter-spacing: 0.02em; }
.step p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--text-nav); text-wrap: pretty; }

/* ---------- Two-up (safety / find us) ---------- */
.two-up {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
  gap: clamp(32px, 4vw, 56px); align-items: center;
}
.figure-43 { aspect-ratio: 4 / 3; border: 1px solid var(--border-card); }
.figure-43 img { width: 100%; height: 100%; object-fit: cover; display: block; }

.specs { grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); margin-top: 36px; }
.spec { padding: 22px 24px; }
.spec-value {
  margin-top: 8px; min-height: 2em;
  font-family: var(--anton); font-size: clamp(21px, 2vw, 26px); letter-spacing: 0.02em;
}
.footnote { margin: 20px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* ---------- FAQ ---------- */
.faq-head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 24px;
}
.faq-aside { margin: 0; font-size: 16px; color: var(--text-nav); }
.faq-aside a { font-weight: 600; }
.faq-grid { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); margin-top: 48px; }
.faq-item { padding: 32px 30px; }
.faq-item h3 { margin: 0 0 12px; font-size: 22px; letter-spacing: 0.02em; }
.faq-item p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-3); text-wrap: pretty; }

/* ---------- Contact stack ---------- */
.contact-stack {
  display: flex; flex-direction: column; gap: 18px;
  margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--hairline);
}
.contact-value { margin-top: 6px; font-size: 17px; color: var(--text); }
.contact-value a { font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; height: min(64vh, 540px); min-height: 400px; }
.scrim-cta {
  background: linear-gradient(to top, rgba(5,16,22,0.94) 0%, rgba(5,16,22,0.62) 60%, rgba(5,16,22,0.4) 100%);
}
.cta-body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 40px; pointer-events: none;
}
.cta-body h2 {
  margin: 0; font-size: clamp(38px, 6vw, 86px); line-height: 0.9; max-width: 22ch;
}
.btn-cta { margin-top: 34px; height: 56px; padding: 0 36px; font-size: 14px; pointer-events: auto; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--hairline); padding: 72px var(--gutter) 40px; }
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 40px 48px;
}
.footer-logo { display: block; width: 190px; height: auto; }
.footer-blurb {
  margin: 20px 0 0; max-width: 34ch;
  font-size: 15.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty;
}
.site-footer h3 {
  margin: 0 0 16px;
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 12px; font-weight: 400; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 15.5px; }
.footer-links a { color: var(--text-2); transition: color 0.15s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-links span { color: var(--muted); }
.legal {
  max-width: 1280px; margin: 56px auto 0; padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  font-size: 14px; color: var(--faint);
}

/* ---------- 404 ---------- */
.error-page {
  min-height: calc(100vh - var(--header-h));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 80px var(--gutter);
}
.error-page h1 { margin: 0; font-size: clamp(56px, 10vw, 120px); line-height: 0.9; }
.error-page p { margin: 24px 0 0; max-width: 46ch; font-size: 18px; line-height: 1.55; color: var(--text-3); }

/* ---------- Compact header below the one-row collapse point (~800px) ----------
   The handoff defines the header only as flex-wrap:wrap, which stacks into three
   rows (~195px, 24% of a 375px viewport) on phones. Below 800px we drop to two
   rows: brand + actions, then the nav on its own centered line. */
@media (max-width: 800px) {
  :root { --header-h: 92px; }

  .site-header {
    gap: 10px 16px;
    padding: 10px var(--gutter-header);
    min-height: 0;
  }
  .brand img { height: 46px; }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 8px 12px;
    font-size: 11.5px;
  }

  .header-actions { gap: 8px 12px; }
  .header-phone { font-size: 13.5px; }
  .btn-header { height: 36px; padding: 0 14px; font-size: 11px; letter-spacing: 0.1em; }
}

/* Very narrow phones: trim further so the nav still holds one line. */
@media (max-width: 380px) {
  :root { --header-h: 88px; }
  .brand img { height: 40px; }
  .nav { gap: 8px 10px; font-size: 11px; }
  .header-phone { font-size: 13px; }
  .btn-header { padding: 0 12px; letter-spacing: 0.08em; }
}

/* Long unbreakable tokens (the booking email) must be allowed to break, or they
   set a min-content width wider than their grid track and overflow the page.
   `anywhere` rather than `break-word` because only `anywhere` shrinks min-content. */
.footer-links a,
.contact-value,
.contact-value a,
.faq-aside { overflow-wrap: anywhere; }
