/* Mobile cards follow the studio's warm borders and gentle image reveals.
   Everything is readable without JavaScript; animations never hide content. */
@media (max-width: 767px) {
    .work-list { display: grid; gap: 1rem; }
    .work-row { border: 1px solid rgb(4 2 0 / .24); border-radius: .65rem; background: rgb(255 255 255 / .12); overflow: hidden; }
    .work-link { padding: 1rem; }
    .work-tile { border-radius: .3rem; }
    html.motion-on .work-strip > * { opacity: 1; transform: none; transition: none; }

    .choose-content-wrapper { gap: .65rem; opacity: 1 !important; transform: none !important; }
    .chose-list { position: relative; display: block; padding: 1rem 1rem 1rem 3.5rem; border: 1px solid #ffffff24; border-radius: .5rem; background: #ffffff06; font-size: 1rem; line-height: 1.55; }
    /* Webflow may split one sentence into several elements; let them flow as
       one readable paragraph rather than become separate flex columns. */
    .chose-list .font-1-medium { display: inline; font-size: inherit; line-height: inherit; }
    .choose-number { position: absolute; top: 1rem; left: 1rem; color: #d5b89e; font-size: .8rem; line-height: 1.9375; }

    /* Gallery chapters and photos now follow the vertical reading direction. */
    .gallery-stage { overflow: visible; scroll-snap-type: none; }
    .gallery-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; width: auto; padding: 0 1rem 1.5rem; align-items: start; }
    .gallery-chapter-card { grid-column: 1 / -1; width: auto; padding: 1.5rem .25rem .5rem; scroll-margin-top: 1.5rem; }
    .gallery-chapter-card:not(:first-child) { margin-top: 1.5rem; border-top: 1px solid #ffffff24; }
    .gallery-chapter-no { margin-bottom: .6rem; }
    .gallery-chapter-title { font-size: 2rem; }
    .gallery-chapter-line { font-size: .95rem; }
    .gallery-frame--portrait { width: 100%; height: auto; aspect-ratio: 2 / 3; }
    .gallery-frame--landscape { grid-column: 1 / -1; width: 100%; height: auto; aspect-ratio: 3 / 2; }
    .gallery-frame-inner { border-radius: .5rem; }
    .gallery-chip { min-height: 44px; display: inline-flex; align-items: center; }

    /* Reveal each visible card separately, including cards reached by swiping. */
    html.motion-on .process-steps .process-step { opacity: 1; transform: none; transition: none; }
    .process-step { border-radius: .65rem; overflow: hidden; }
    .packages-albums-item { border: 1px solid #ffffff24; border-radius: .5rem; overflow: hidden; }
    .reviews-live:not(.is-seen) .reviews-card, .reviews-card.is-away { opacity: 1; }
    .reviews-live.is-seen .reviews-card, .reviews-live.is-seen .reviews-card::before, .reviews-live.is-seen .reviews-stars svg { animation: none; }
    .reviews-card { border-radius: .65rem; }

    .story-byline { display: none; }
    .story-layout { gap: 1.25rem; margin-top: 1.5rem; }
    .story-portrait { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); align-items: center; gap: 1.25rem; position: relative; top: auto; }
    .story-portrait-frame { width: 6.5rem; height: 8rem; aspect-ratio: auto; }
    .story-mobile-caption { display: grid; gap: .5rem; color: #b8b5b0; font-size: .85rem; line-height: 1.5; text-align: left; }
    .story-mobile-caption strong { color: #f8f4ee; font-family: var(--font-family--display); font-weight: 400; font-size: 1.5rem; line-height: 1.15; }
    .story-chapters { gap: .7rem; }
    .story-chapter { border: 1px solid #ffffff24; border-radius: .6rem; background: #191b1a; overflow: hidden; }
    .story-chapter summary { position: relative; padding: 1.15rem 3.1rem 1.15rem 1.1rem; min-height: 44px; cursor: pointer; }
    .story-chapter summary::after { content: '+'; position: absolute; right: 1.1rem; top: 1.35rem; color: #d5b89e; font-size: 1.5rem; line-height: 1; }
    .story-chapter details[open] summary::after { content: '−'; }
    .story-chapter-year { font-size: .7rem; margin-bottom: .5rem; color: #d5b89e; }
    .story-chapter-title { margin: 0; font-size: 1.45rem; line-height: 1.2; }
    .story-chapter-copy { padding: 0 1.1rem 1.2rem; }
    .story-chapter p { font-size: 1rem; line-height: 1.65; }
    .story-chapter summary:focus-visible, .story-expand:focus-visible { outline: 2px solid #d5b89e; outline-offset: -4px; }
    .story-tools { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #b8b5b0; font-size: .8rem; }
    .story-expand { min-height: 44px; background: none; color: #f4cbb0; padding: .6rem 0 .6rem .5rem; border: 0; text-decoration: underline; text-underline-offset: 4px; }
    .story-closing { margin-top: 2rem; }
    .story-quote { font-size: 2rem; }
}

/* Native summary keeps keyboard and no-script support, without list markers. */
.story-chapter summary { list-style: none; }
.story-chapter summary::-webkit-details-marker { display: none; }
@media (min-width: 768px) {
    .story-mobile-caption, .story-tools { display: none; }
    .story-chapter summary { cursor: default; }
}
@media (prefers-reduced-motion: reduce) {
    /* Take effect immediately, even before the media-query event cancels an
       in-flight Web Animation (including an opening story chapter). */
    [data-mobile-reveal], .story-chapter-copy { opacity: 1 !important; translate: none !important; scale: none !important; }
}
