/* ============================================================
   Statohm landing — mobile + hero safety
   ============================================================ */

:root {
  --land-ink: #0c1628;
  --land-cream: #f6efd9;
  --land-mustard: #e8b84a;
  --land-navy: #14233d;
}

/* ----- Hero always fills; never leave a gray void ----- */
.landing-hero {
  position: relative;
  background: #e8b84a !important; /* mustard fallback if img late */
  overflow: hidden;
}

.landing-hero .hero-poster {
  /* full bleed — no clip-path leftovers */
  clip-path: none !important;
  -webkit-clip-path: none !important;
}

/* Desktop / tablet: soft left scrim so navy type stays readable on the poster */
.landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(246, 239, 217, 0.82) 0%,
    rgba(246, 239, 217, 0.55) 22%,
    rgba(246, 239, 217, 0.18) 42%,
    transparent 62%
  );
}

.landing-hero .hero-copy {
  position: relative;
  z-index: 2;
}

/* Prevent title/sub from clipping mid-word on mid widths */
.landing-hero .hero-kicker,
.landing-hero .hero-title {
  overflow: visible !important;
  max-width: none;
}
.landing-hero .hero-lead {
  overflow: visible !important;
}

/* ============================================================
   Mobile-only: stacked hero (poster band + solid copy panel)
   Phone is NOT a shrunk desktop.
   ============================================================ */
@media (max-width: 900px) {
  .landing-hero {
    display: flex !important;
    flex-direction: column !important;
    min-height: auto !important;
    height: auto !important;
    background: #0c1628 !important;
    overflow: visible !important;
  }

  .landing-hero::after {
    display: none !important;
  }

  .landing-hero .hero-poster {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: min(38vh, 300px) !important;
    max-height: 300px !important;
    object-fit: cover !important;
    object-position: 78% 30% !important;
    display: block !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .landing-hero .hero-copy {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-height: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 1.35rem 1.15rem 1.5rem !important;
    background: #0c1628 !important;
    color: #f6efd9 !important;
    border-top: 3px solid #f6efd9;
  }

  .landing-hero .hero-kicker,
  .landing-hero .hero-title.hero-kicker {
    color: #f6efd9 !important;
    text-shadow: none !important;
    font-size: clamp(3.2rem, 17vw, 4.2rem) !important;
    line-height: 0.88 !important;
  }

  .landing-hero .hero-lead {
    color: #f6efd9 !important;
    font-size: clamp(1.55rem, 7vw, 1.95rem) !important;
    max-width: 14ch !important;
    margin-top: 0.35rem !important;
  }

  .landing-hero .hero-sub {
    color: rgba(246, 239, 217, 0.88) !important;
    font-size: 1.02rem !important;
    line-height: 1.45 !important;
    max-width: 30ch !important;
    margin-top: 0.7rem !important;
  }

  .landing-hero .hero-cta-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem !important;
    margin-top: 1.15rem !important;
    width: 100%;
  }

  .landing-hero .hero-cta-primary {
    width: 100%;
    background: #f6efd9 !important;
    color: #0c1628 !important;
    box-shadow: 4px 4px 0 #e8b84a !important;
    min-height: 3rem !important;
    justify-content: center;
  }

  .landing-hero .hero-cta-secondary {
    width: 100%;
    background: transparent !important;
    color: #f6efd9 !important;
    box-shadow: inset 0 0 0 2.5px #f6efd9 !important;
    min-height: 3rem !important;
    justify-content: center;
  }

  /* Ticker */
  .landing-ticker { padding-block: 0.55rem; }

  /* Packs */
  .landing-packs > div {
    padding-top: 3.5rem !important;
    padding-bottom: 3rem !important;
  }
  .landing-packs h2 {
    font-size: clamp(2.6rem, 12vw, 3.4rem) !important;
    line-height: 0.92 !important;
  }
  .landing-packs .mt-16 { margin-top: 2rem !important; gap: 2.75rem !important; }
  .landing-packs h3 { font-size: 1.65rem !important; margin-top: 1.1rem !important; }
  .landing-packs .pack-list {
    margin-top: 1.1rem !important;
    padding-top: 1rem !important;
    gap: 0.85rem !important;
  }
  .landing-packs .pack-list li {
    font-size: 0.95rem !important;
    line-height: 1.35 !important;
    letter-spacing: 0.04em !important;
  }
  .landing-packs .poster-tilt,
  .landing-packs .poster-tilt-r {
    box-shadow: 8px 10px 0 #14233d !important;
  }
  .landing-packs .border-2.border-navy.bg-navy {
    padding: 1.35rem 1.15rem !important;
    gap: 0.75rem !important;
  }

  /* Dayband */
  .landing-dayband { min-height: auto !important; }
  .landing-dayband-img { opacity: 0.55 !important; }
  .landing-dayband-scrim {
    background: linear-gradient(
      to top,
      rgba(8, 12, 24, 0.94) 0%,
      rgba(8, 12, 24, 0.78) 40%,
      rgba(8, 12, 24, 0.5) 100%
    ) !important;
  }
  .landing-dayband .relative.z-10 {
    min-height: auto !important;
    padding-top: 4.5rem !important;
    padding-bottom: 3rem !important;
  }
  .landing-dayband h2 {
    font-size: clamp(2.4rem, 11vw, 3.2rem) !important;
    color: var(--land-cream) !important;
  }
  .landing-dayband p { color: rgba(246, 239, 217, 0.94) !important; }

  /* Sections */
  #packs, #inside, #how, #faq, #register,
  .landing-packs, .landing-inside, .landing-how, .landing-faq, .landing-register {
    scroll-margin-top: 72px;
  }
  #faq > div, .landing-faq > div,
  #how > div, .landing-how > div,
  #inside > div, .landing-inside > div {
    padding-top: 3.5rem !important;
    padding-bottom: 3rem !important;
  }
  #faq h2, .landing-faq h2 {
    font-size: clamp(2.35rem, 11vw, 3rem) !important;
    line-height: 0.92 !important;
  }

  .bg-mustard .text-navy-soft,
  section.bg-mustard p {
    color: rgba(12, 22, 40, 0.82) !important;
  }

  /* Register form */
  .landing-register h2 {
    font-size: clamp(2.4rem, 12vw, 3.1rem) !important;
  }
  .landing-register > div > div:first-child {
    padding-top: 4rem !important;
    padding-bottom: 1.5rem !important;
  }
  .landing-register .reg-fields {
    gap: 0.7rem !important;
    margin-top: 1.1rem !important;
  }
  .landing-register .field input,
  .landing-register .field select {
    min-height: 2.1rem !important;
    font-size: 16px !important;
    padding-top: 0.15rem !important;
    padding-bottom: 0.25rem !important;
  }
  .landing-register .field textarea {
    min-height: 3.1rem !important;
    max-height: 4.2rem !important;
  }
  .landing-register .btn-primary {
    width: 100%;
    min-height: 3.15rem;
    justify-content: center;
  }

  /* Menu */
  header .border-t-2 button.py-1 {
    padding-block: 0.7rem !important;
    font-size: 1.55rem !important;
  }
  header .border-t-2 .btn {
    min-height: 2.9rem;
    flex: 1 1 auto;
    justify-content: center;
  }

  footer .py-12 {
    padding-top: 2.25rem !important;
    padding-bottom: 2.5rem !important;
  }
}

/* Desktop anchors */
@media (min-width: 901px) {
  #packs, #inside, #how, #faq, #register {
    scroll-margin-top: 80px;
  }
  .landing-hero .hero-poster {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    opacity: 1 !important;
  }
  .landing-hero .hero-copy {
    background: transparent !important;
    border-top: 0 !important;
    color: inherit;
  }
  /* Cream CTAs on desktop for contrast on mustard poster */
  .landing-hero .hero-cta-secondary {
    background: #f6efd9 !important;
    color: #0c1628 !important;
    box-shadow: 4px 4px 0 rgba(12, 22, 40, 0.35) !important;
  }
  .landing-hero .hero-cta-primary {
    box-shadow: 4px 4px 0 rgba(12, 22, 40, 0.35) !important;
  }
}

/* ===== FAQ accordion (all breakpoints) ===== */
.faq-acc {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 2px solid rgba(20, 35, 61, 0.18);
  max-width: 820px;
}
.faq-item {
  border-bottom: 2px solid rgba(20, 35, 61, 0.18);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0.15rem 1.15rem 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: #14233d;
  font-family: "Roboto Condensed", var(--font-cond, sans-serif);
  font-weight: 700;
  font-size: clamp(1.15rem, 3.5vw, 1.55rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}
.faq-q:hover .faq-q-text,
.faq-q:focus-visible .faq-q-text {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.faq-q:focus-visible {
  outline: 2px solid #14233d;
  outline-offset: 4px;
}
.faq-q-text { flex: 1 1 auto; min-width: 0; }
.faq-chev {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 2px solid #14233d;
  background: #f6efd9;
  color: #14233d;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: 3px 3px 0 #14233d;
}
.faq-item.is-open .faq-chev {
  background: #14233d;
  color: #f6efd9;
}
.faq-a { padding: 0 0 1.25rem 0; max-width: 46ch; }
.faq-a[hidden] { display: none !important; }
.faq-a p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(20, 35, 61, 0.78);
}
@media (max-width: 900px) {
  .faq-q { padding-top: 1rem; padding-bottom: 1rem; font-size: 1.12rem; }
  .faq-chev { width: 1.85rem; height: 1.85rem; box-shadow: 2px 2px 0 #14233d; }
}
@media (min-width: 901px) {
  .faq-acc { max-width: 900px; }
  .faq-q { font-size: 1.45rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
}
