/* mobile-index.css — index page mobile layout (linked after style.css in preview)
   Breakpoint: 768px. Desktop CSS in style.css is untouched. */

@media (max-width: 768px) {

  /* ── HERO ────────────────────────────────────────────────── */
  .hero {
    display: block;
    min-height: auto;
  }

  .hero-left {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  /* Hide decorative elements that rely on absolute desktop coords */
  .hero-blue-rect,
  .hero-deco-circle,
  .hero-deco-circle-sm {
    display: none;
  }

  .hero-slideshow {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    left: 0;
    top: 0;
    border-radius: 0;
    background: var(--c-bg-cream, #f5f2ec);
  }

  .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    opacity: 0;
    transition: opacity 0.6s ease;
  }
  .hero-slide.active { opacity: 1; }

  .hero-dots {
    position: absolute;
    top: auto !important;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
  }

  .hero-right {
    padding: 20px 20px 12px;
  }

  .hero-headline {
    font-size: 32px;
    line-height: 1.3;
  }

  .hero-headline::before {
    width: 20px;
    height: 20px;
    left: -8px;
    top: 3px;
  }

  .hero-desc {
    font-size: 22px;
    max-width: 100%;
    margin-bottom: 10px;
  }

  .hero-explore-link {
    font-size: 16px;
  }

  /* ── ABOUT ───────────────────────────────────────────────── */
  .about-section {
    padding: 28px 20px 24px;
  }

  .about-heading {
    font-size: 26px;
  }

  .about-heading::before {
    top: -8px;
    left: 1px;
  }

  .about-text {
    font-size: 22px;
    max-width: 100%;
  }

  /* ── FOCUS AREAS ─────────────────────────────────────────── */
  .areas-section {
    padding: 24px 20px 0;
  }

  .areas-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .area-circle-wrap img {
    width: 160px;
  }

  /* Area panel: simplify the pill shape for narrow screens */
  .area-panel {
    border-radius: 24px;
    margin: 16px 0 24px;
    min-height: auto;
    max-width: 100%;
  }

  /* Default state: single column, hide illustration */
  .area-panel.panel-default {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }

  .area-panel.panel-default .area-panel-quote-col {
    padding: 0;
    align-self: auto;
  }

  .area-panel.panel-default .area-panel-quote-text {
    font-size: 26px;
    white-space: normal;
  }

  .area-panel.panel-default .area-panel-illus {
    display: none;
  }

  .area-panel-qmark-default {
    display: none;
  }

  /* Active/hover state: single column layout */
  .area-panel:not(.panel-default) {
    display: block;
    padding: 28px 24px;
    min-height: auto;
  }

  .area-panel:not(.panel-default) .area-panel-quote-text {
    font-size: 20px;
    width: auto;
    text-align: left;
    margin-bottom: 16px;
  }

  .area-panel-qmark-hover {
    font-size: 140px;
    top: -14px;
    left: 10px;
  }

  .area-panel-desc-wrap {
    padding: 20px 16px;
  }

  .area-panel-desc {
    font-size: 22px;
  }

  /* ── STORIES ─────────────────────────────────────────────── */
  .stories-section {
    padding: 28px 20px 28px;
  }

  .stories-heading {
    font-size: 20px;
  }

  .stories-heading::before {
    width: 20px;
    height: 20px;
    left: -8px;
    top: 2px;
  }

  .stories-cards {
    flex-direction: column;
    gap: 24px;
  }

  .story-col {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .story-card-1,
  .story-card-2,
  .story-card-3 {
    height: 240px;
  }

  .story-overlay p {
    font-size: 22px;
    line-height: 1.4;
  }

  /* Tap-to-reveal: JS adds .story-open on tap */
  .story-card-1.story-open .story-overlay,
  .story-card-2.story-open .story-overlay,
  .story-card-3.story-open .story-overlay {
    opacity: 1;
  }

  .moment-text {
    font-size: 22px;
  }

  /* ── HOME CTA ─────────────────────────────────────────────── */
  .home-cta {
    padding: 20px 20px 32px;
    justify-content: center;
  }

  .home-cta-inner {
    position: static !important;
    width: 100% !important;
    max-width: 360px !important;
    height: auto !important;
    flex-shrink: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .home-cta-rocket {
    position: static !important;
    width: 100px !important;
    height: auto !important;
    display: block !important;
  }

  .home-cta-tagline {
    position: static !important;
    left: auto !important;
    top: auto !important;
    text-align: center !important;
    font-size: 22px !important;
    white-space: normal !important;
    width: auto !important;
  }
}
