/* Small screens: let the hero artwork breathe and keep every cue readable. */
@media (max-width: 740px) {
  .feature-hero.hero {
    padding-top: 64px;
    overflow: visible;
  }
  .feature-hero .takeover-panel {
    min-height: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    padding: 46px 20px 70px;
    overflow: visible;
  }
  .feature-hero .takeover-copy .eyebrow {
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: .14em;
    margin-bottom: 14px;
  }
  .feature-hero .takeover-copy h1 {
    font-size: clamp(42px, 11.6vw, 56px);
    line-height: .98;
  }
  .feature-hero .takeover-copy > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.55;
    margin: 22px 0;
  }
  .feature-hero .takeover-copy .button {
    min-height: 48px;
    font-size: 15px;
  }
  .feature-hero .takeover-copy > small {
    font-size: 12px;
    margin-top: 10px;
  }
  .feature-hero .takeover-visual {
    width: 100%;
    height: auto;
    max-height: none;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    justify-items: stretch;
    overflow: visible;
  }
  .feature-hero .takeover-phone {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(270px, 74vw);
    max-width: none;
    height: auto;
    aspect-ratio: 941 / 1730;
    margin-bottom: 9px;
  }
  .feature-hero .takeover-screen img {
    object-fit: contain;
    background: #050805;
  }
  .feature-hero .to-chip,
  .feature-hero .hero-voice {
    position: static;
    width: auto;
    max-width: none;
    min-height: 0;
    transform: none;
    animation: none;
    margin: 0;
    padding: 13px 14px;
    border-radius: 12px;
  }
  .feature-hero .to-chip small {
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: .08em;
    margin-bottom: 7px;
  }
  .feature-hero .to-chip strong {
    font-size: 13px;
    line-height: 1.4;
  }
  .feature-hero .to-return,
  .feature-hero .hero-voice {
    grid-column: 1 / -1;
  }
  .feature-hero .hero-voice {
    justify-self: stretch;
    order: 1;
    gap: 12px;
  }
  .feature-hero .hero-voice small { font-size: 11px; }
  .feature-hero .hero-voice strong { font-size: 14px; line-height: 1.4; }
  .feature-hero .hero-voice svg { width: 22px; height: 22px; }
  .feature-hero .takeover-pause {
    right: 20px;
    bottom: 18px;
    font-size: 12px;
    min-height: 40px;
  }
}

/* A real swipe carousel on phones: no viewport-height text/image collision. */
@media (max-width: 740px), (max-width: 980px) and (max-height: 500px) {
  .experience-section .story-shell { height: auto !important; margin-top: 0; }
  .experience-section .story-sticky {
    position: relative;
    top: auto;
    height: auto;
    display: block;
    overflow: visible;
  }
  .experience-section .story-track {
    display: flex;
    align-items: stretch;
    gap: 12px;
    height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 18px;
    padding: 12px 18px 18px;
    transform: none !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .experience-section .story-track::-webkit-scrollbar { display: none; }
  .experience-section .story-card {
    flex: 0 0 min(calc(100vw - 48px), 440px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 22px;
    height: auto;
    min-height: 0;
    padding: 28px 22px 32px;
    scroll-snap-align: center;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 20px;
    background: #0e110f !important;
  }
  .experience-section .story-copy { max-width: none; align-self: auto; }
  .experience-section .story-copy > span { font-size: 11px; line-height: 1.5; }
  .experience-section .story-copy h3 {
    font-size: clamp(38px, 10vw, 52px);
    line-height: .96;
    margin: 12px 0 16px;
  }
  .experience-section .story-copy p {
    font-size: 16px;
    line-height: 1.55;
    margin: 0 0 15px;
  }
  .experience-section .story-copy ul { margin: 12px 0 0; }
  .experience-section .story-copy li {
    font-size: 15px;
    line-height: 1.45;
    padding: 10px 0;
  }
  .experience-section .story-sample-note {
    color: #b9cbb5;
    font-size: 13px;
    line-height: 1.5;
  }
  .experience-section .story-phone {
    flex: none;
    align-self: center;
    width: min(240px, 72%);
    height: auto;
    margin: 4px auto 0;
  }
  .experience-section .story-progress { display: none; }
  .experience-section .story-nav {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    justify-content: center;
    margin: 6px auto 24px;
  }
  .experience-section .story-nav button { min-width: 44px; min-height: 44px; }
}

@media (max-width: 350px) {
  .feature-hero .takeover-panel { padding-inline: 18px; }
  .feature-hero .takeover-copy h1 { font-size: 40px; }
  .feature-hero .takeover-visual { gap: 9px; }
  .feature-hero .to-chip { padding: 11px; }
  .experience-section .story-card { padding-inline: 18px; }
  .experience-section .story-copy h3 { font-size: 36px; }
}
