@media (max-width: 1050px) {
  .pet-polaroid {
    width: 205px;
    left: -6%;
  }
  .pet-polaroid > img {
    height: 230px;
  }
  .hero-phone {
    left: 43%;
  }
  .home-note {
    left: 10%;
    bottom: 0%;
  }
  .story-panel {
    padding-left: 5%;
    padding-right: 5%;
    gap: 10px;
    grid-template-columns: 0.9fr 1.2fr;
  }
  .chapter-visual {
    scale: 0.9;
    transform-origin: center;
  }
  .report-card {
    left: 3%;
  }
  .match-card {
    left: 5%;
  }
  .match-card {
    width: 310px;
  }
  .notification-one {
    left: 0;
  }
  .notification-two {
    right: -9%;
  }
  .feature-card {
    padding: 0 20px 25px;
  }
  .feature-art {
    margin-left: -20px;
    margin-right: -20px;
  }
  .feature-card h3 {
    font-size: 22px;
  }
  .feature-grid {
    gap: 16px;
  }
  .pet-pass {
    left: 5%;
    right: 5%;
    gap: 8px;
  }
  .pet-pass img {
    width: 62px;
    height: 86px;
  }
  .thanks-receipt {
    left: 4%;
    right: 4%;
    gap: 7px;
    padding: 11px;
  }
  .thanks-receipt .note-icon {
    display: none;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .site-footer > span {
    margin-right: auto;
  }
}
@media (max-width: 760px) {
  .hero-phone {
    left: 40%;
    width: 207px;
    height: 450px;
  }
  .pet-polaroid {
    width: 180px;
    left: 0;
    top: 33%;
    padding: 7px 7px 0;
    border-radius: 19px;
  }
  .pet-polaroid > img {
    height: 205px;
    border-radius: 13px;
  }
  .pet-polaroid > div {
    padding: 10px 7px;
    font-size: 21px;
  }
  .photo-badge {
    top: 15px;
    left: 15px;
    font-size: 9px;
  }
  .hero-scene {
    height: 530px;
  }
  .home-note {
    bottom: -1%;
    left: 12%;
  }
  .found-note {
    top: 20%;
    right: -3%;
  }
  .hero-spark.spark-one {
    left: 15%;
    top: 13%;
  }
  .story-panel {
    display: flex;
    flex-direction: column;
    padding: 50px 6% 35px;
    gap: 15px;
    min-height: 0;
    text-align: center;
  }
  .chapter-copy h2 {
    font-size: 39px;
    margin: 17px 0 13px;
  }
  .chapter-label {
    font-size: 13px;
  }
  .chapter-number {
    font-size: 11px;
  }
  .chapter-visual {
    width: 100%;
    max-width: 440px;
    height: 510px;
    scale: 1;
    transform-origin: center;
  }
  .scene-circle {
    top: 7%;
    width: 94%;
    left: 3%;
  }
  .report-card {
    width: 243px;
    left: 8%;
    top: 7%;
  }
  .report-photo img {
    height: 245px;
  }
  .report-card h3 {
    font-size: 28px;
  }
  .report-map {
    right: 1%;
    width: 50%;
    top: 16%;
    height: 300px;
  }
  .scene-sticker {
    left: 33%;
    bottom: 4%;
    font-size: 12px;
    padding: 12px 15px;
  }
  .report-card-body {
    text-align: left;
    padding: 15px 10px 12px;
  }
  .location-label {
    font-size: 11px;
  }
  .neighborhood {
    inset: 6% 0 5%;
    border-radius: 30px;
    border-width: 6px;
  }
  .notification-one {
    left: 0;
    top: 5%;
    text-align: left;
    rotate: 3deg;
  }
  .notification-two {
    right: 0;
    bottom: 5%;
    text-align: left;
    rotate: -3deg;
  }
  .notification {
    padding: 12px;
  }
  .notification strong {
    font-size: 12px;
  }
  .notification > div > span {
    font-size: 10px;
  }
  .alert-ring.ring-c {
    width: 350px;
    height: 350px;
  }
  .n-two {
    right: 5%;
  }
  .match-card {
    width: 290px;
    left: calc(50% - 145px);
    top: 13%;
    text-align: left;
    padding: 17px;
  }
  .match-photos img {
    height: 166px;
  }
  .match-heading {
    font-size: 20px;
  }
  .message-in {
    bottom: 21%;
    left: -1%;
    font-size: 12px;
    gap: 5px;
  }
  .message-out {
    bottom: 7%;
    right: 0;
    font-size: 12px;
    gap: 5px;
  }
  .message > span:not(.message-avatar) {
    padding: 16px;
  }
  .message-avatar {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }
  .sighting-chip {
    right: 1%;
    top: 4%;
    font-size: 11px;
  }
  .reunion-frame {
    inset: 4% 1% 9%;
    border-radius: 160px 160px 30px 30px;
    rotate: 2deg;
  }
  .reunion-badge {
    left: 0;
    right: 0;
    padding: 16px;
    gap: 9px;
    text-align: left;
  }
  .reunion-badge strong {
    font-size: 22px;
  }
  .reunion-badge div > span {
    font-size: 10px;
  }
  .reunion-heart {
    width: 60px;
    height: 60px;
    right: -1%;
    top: 5%;
    border-width: 5px;
  }
  .reunion-heart .icon {
    width: 28px;
    height: 28px;
  }
  .home-visual {
    height: 490px;
  }
  .story-caption {
    font-size: 11px;
  }
  .together {
    padding: 70px 6%;
  }
  .together-heading .eyebrow {
    font-size: 9px;
  }
  .together h2 {
    font-size: 39px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 35px;
    gap: 22px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
  .feature-card {
    padding: 0 24px 28px;
  }
  .feature-art {
    height: 238px;
    margin: 0 -24px 18px;
  }
  .feature-card h3 {
    font-size: 26px;
  }
  .feature-card p {
    font-size: 14px;
  }
  .pet-pass {
    left: 12%;
    right: 12%;
    top: 43px;
    gap: 14px;
    padding: 14px;
  }
  .pet-pass img {
    width: 75px;
    height: 90px;
  }
  .pet-pass strong {
    font-size: 26px;
  }
  .saved-label {
    right: 10%;
    bottom: 22px;
    font-size: 12px;
  }
  .thanks-receipt {
    left: 10%;
    right: 10%;
    bottom: 28px;
    padding: 17px;
    gap: 12px;
  }
  .thanks-receipt .note-icon {
    display: grid;
  }
  .thanks-receipt strong {
    font-size: 14px;
  }
  .thanks-receipt div > span {
    font-size: 11px;
  }
  .closing {
    padding: 60px 20px 64px;
  }
  .closing h2 {
    font-size: 62px;
  }
  .platform-note {
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
  }
  .platform-divider {
    display: none;
  }
  .site-footer {
    padding: 28px 6%;
    gap: 17px;
  }
  .site-footer > span {
    display: none;
  }
  .site-footer .brand {
    margin-right: auto;
  }
  .motion-toggle {
    font-size: 11px;
    padding: 10px;
  }
  .back-top {
    flex-basis: 100%;
    justify-content: center;
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .hero-phone {
    left: 37%;
    width: 192px;
  }
  .pet-polaroid {
    width: 157px;
    left: -1%;
    top: 38%;
  }
  .pet-polaroid > img {
    height: 182px;
  }
  .pet-polaroid > div {
    font-size: 19px;
  }
  .found-note {
    right: -4%;
    padding: 9px;
  }
  .found-note .note-icon {
    display: none;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-subtitle {
    font-size: 14px;
  }
  .report-card {
    left: 2%;
    width: 228px;
  }
  .match-card {
    width: 266px;
    left: calc(50% - 133px);
  }
  .match-photos img {
    height: 155px;
  }
  .message-in {
    font-size: 11px;
  }
  .message > span:not(.message-avatar) {
    padding: 14px;
    gap: 8px;
  }
  .chapter-copy h2 {
    font-size: 35px;
  }
  .reunion-badge > .icon {
    display: none;
  }
  .thanks-receipt {
    left: 7%;
    right: 7%;
  }
}
/* The same scroll story also fits narrow desktop panes and portrait phones. */
@media (max-width: 760px) {
  .story-enhanced .story-panel {
    padding: 28px 5% 100px;
    gap: 14px;
    justify-content: center;
  }
  .story-enhanced .chapter-copy {
    flex: 0 0 auto;
  }
  .story-enhanced .chapter-copy h2 {
    font-size: clamp(30px, 5.5vw, 40px);
    margin: 12px 0 9px;
  }
  .story-enhanced .chapter-copy h2 span {
    display: block;
  }
  .story-enhanced .chapter-visual {
    flex: 0 0 auto;
    height: min(540px, calc(100svh - 300px));
    width: 100%;
    max-width: 470px;
    scale: 1;
  }
  .story-enhanced .scene-content {
    width: 400px;
    height: 510px;
  }
  .story-enhanced .chapter-nav {
    gap: 2px;
    padding: 5px;
    bottom: 40px;
  }
  .chapter-nav > a {
    padding: 0 11px;
    gap: 5px;
    font-size: 12px;
  }
  .chapter-nav > a .icon {
    width: 16px;
    height: 16px;
  }
  .chapter-line {
    display: none;
  }
  .story-enhanced .story-caption {
    bottom: 8px;
  }
  .story-enhanced .motion-toggle {
    bottom: 12px;
  }
}
@media (max-width: 420px) {
  .chapter-nav > a {
    flex-direction: column;
    gap: 3px;
    padding: 5px 15px;
    font-size: 10px;
  }
}
@media print {
  .site-header,
  .scroll-cue,
  .chapter-nav,
  .motion-toggle,
  .back-top {
    display: none !important;
  }
  .story-enhanced .story-track {
    height: auto;
  }
  .story-enhanced .story-stage {
    height: auto;
    position: static;
  }
  .story-enhanced .story-panel {
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none;
    height: auto;
    break-inside: avoid;
  }
  .story-enhanced .story-caption {
    position: static;
  }
  .story-enhanced .scene-content {
    display: contents;
  }
  .story-enhanced .chapter-copy {
    opacity: 1 !important;
  }
  .story-enhanced .chapter-visual,
  .story-enhanced [data-depth] {
    translate: none !important;
  }
  .story-enhanced .story-progress {
    display: none;
  }
  .hero {
    height: auto;
    min-height: 650px;
  }
  .story-panel[aria-hidden] {
    display: grid !important;
  }
  .story-panel {
    page-break-inside: avoid;
  }
  .site-footer {
    break-inside: avoid;
  }
}
