/* Independent tablet layer, never rewrite saved desktop artwork coordinates. */
.partner-title-art { display: none; }
@media (min-width: 768px) and (max-width: 1199px) {
  main { --tablet-gap: 144px; --tablet-copy-width: min(720px, 100%); min-width: 0; }
  #top.stamp-story, #top .story-stage { height: 100svh; min-height: 0; }
  #top .hero-opening-logo { top: 48%; }
  #top .flying-stamp[data-phone-hidden="true"] { display: none; }
  #top h1 { font-size: 42px !important; line-height: 1.125 !important; }
  .navigation::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom,var(--paper),#fdfbf7e8 42%,#fdfbf700); }
  .navigation-bar :is(button, a) { min-height: 44px; }
  .edge-stamps { display: none; }
  main > :is(.stamp-journey, .narrative-section) { margin: var(--tablet-gap) 0 0; padding: 0; scroll-margin-top: 108px; }
  .journey-layout, .narrative-inner { width: calc(100% - 96px); max-width: 960px; margin: auto; }
  main :is(.journey-heading, .narrative-inner) > h2 {
    width: 100% !important; max-width: 100% !important; margin: 0 auto 64px;
    font-size: 42px !important; line-height: 1.125 !important; text-align: center !important;
    transform: rotate(-2deg) !important; letter-spacing: .2px !important;
  }
  /* Native text keeps exact font metrics. iPad displays font-derived SVG paths
     instead of compositing live text-stroke layers during scroll and bounce. */
  main :is(#top h1, .program-heading),
  main :is(#top h1, .program-heading) :is(.hero-title-visual, .hero-title-word, .hero-title-letter, .hero-title-glyph) {
    font-family: 'Courier Prime', monospace !important;
    font-weight: 700 !important;
    color: var(--gold) !important;
    -webkit-text-stroke: 0 var(--gold) !important;
    -webkit-text-fill-color: var(--gold) !important;
    text-shadow: none !important;
  }
  main :is(#top h1, .program-heading) .hero-title-glyph {
    position: relative;
  }
  .partner-title-native { opacity: 0; }
  .partner-title-art {
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    overflow: visible;
    pointer-events: none;
  }
  .journey-heading { margin: 0; }
  main :is(.journey-copy, .journey-bridge) { width: var(--tablet-copy-width) !important; max-width: none !important; margin-inline: auto; transform: none !important; }
  main :is(.offer-copy, .contact-copy) { width: 100% !important; max-width: 440px !important; margin: 0; transform: none !important; }
  main :is(.journey-copy, .journey-bridge) { font-size: 20px !important; line-height: 28px !important; text-align: center !important; }
  .journey-cities { margin-top: 64px; }
  .journey-city-list { width: min(700px,100%); margin: auto; gap: 0 16px; }
  .journey-city-list .journey-city { min-height: 44px; padding-block: 10px; }
  .journey-phone-preview { position: relative; flex: 0 0 100%; width: 100%; padding: 28px 0 32px; overflow-anchor: none; }
  .journey-phone-preview .journey-stamp-group { width: var(--preview-width); margin-left: var(--preview-left); padding-inline: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 12px; }
  .journey-phone-preview .journey-city-stamp { position: relative; inset: auto !important; flex: 0 0 var(--preview-stamp-size); width: var(--preview-stamp-size) !important; height: var(--preview-stamp-size) !important; }
  .journey-phone-preview .journey-stamp-breathe { width: 100%; height: 100%; }
  .journey-phone-preview img { display: block; width: 100%; height: 100%; object-fit: contain; }
  .collect-visuals { width: 100%; padding: 0; gap: 28px; }
  .collect-step { margin-top: 32px; translate: none !important; }
  .collect-step :is(img,video) { width: min(240px, 100%) !important; max-width: 100%; transform: rotate(-4deg) !important; border-radius: 24px; }
  .collect-step.phone-two :is(img,video) { transform: rotate(3deg) !important; }
  .collect-step.phone-three :is(img,video) { transform: rotate(-2deg) !important; }
  .collect-captions { gap: 28px; margin-top: 88px; }
  .collect-captions li { translate: 0 var(--tablet-caption-shift, 0px); }
  .collect-captions h3 { width: 100% !important; transform: rotate(-2deg) !important; text-align: center !important; font-size: 16px !important; line-height: 22px !important; }
  .collect-captions .collect-arrow { left: calc(50% - 40px) !important; width: 80px !important; height: 54px !important; transform: none !important; }
  .value-columns { grid-template-columns: repeat(3,minmax(0,1fr)); width: 100%; margin: 0; gap: 24px; padding: 12px 0 24px; }
  .value-note { min-height: 0; aspect-ratio: 1; padding: 24px 20px; display: flex; flex-direction: column; justify-content: center; }
  .value-note h3 { font-size: 22px !important; line-height: 28px !important; min-height: 0; margin-bottom: 16px; transform: none !important; }
  .value-note p { font-size: 16px !important; line-height: 22px !important; transform: none !important; }
  .offer-composition { grid-template-columns: minmax(0, 280px) minmax(0, 440px); justify-content: center; gap: 48px; }
  .phone-pair.single-video { width: 100%; }
  .phone-pair.single-video .offer-demo { width: min(280px, 100%) !important; }
  .offer-copy { gap: 40px; }
  .offer-copy :is(h3,p), .contact-copy :is(h3,p) { text-align: left !important; }
  .offer-copy :is(h3,p) { width: 100% !important; max-width: none !important; transform: none !important; }
  .offer-copy h3 { font-size: 28px !important; line-height: 35px !important; margin-bottom: 20px; }
  .offer-copy p, .contact-copy p { font-size: 20px !important; line-height: 28px !important; }
  /* Reserve enough room for the full one-line QR caption, not just the QR image. */
  .contact-composition { grid-template-columns: minmax(0,440px) 280px; justify-content: center; gap: 48px; }
  .contact-copy p { width: 100% !important; max-width: 100% !important; transform: none !important; }
  .contact-actions .download-note { width: 180px !important; transform: rotate(3deg) !important; }
  .contact-section .join-heading { margin: 0 auto 64px; transform: rotate(-3deg) !important; }
  main > #join { padding-bottom: var(--tablet-gap); }
}
@media (min-width: 768px) and (max-width: 899px) {
  .value-columns { width: min(360px, 100%); grid-template-columns: 1fr; margin: auto; gap: 64px; }
  .value-note { padding: 36px; }
  .value-note h3 { font-size: 28px !important; line-height: 35px !important; }
  .value-note p { font-size: 20px !important; line-height: 28px !important; }
}
