/* Scantivo — proposition locale, récit vertical inspiré des pages produit Apple */
.apple-showcase-page,
.apple-showcase-preview {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* En-tête de la proposition : mêmes limites à gauche et à droite que le contenu. */
.apple-showcase-preview .nav-inner {
  width: min(1320px, calc(100% - 42px));
  height: 82px;
  margin-inline: auto;
  padding: 0;
}

.apple-showcase-preview .nav-inner > .brand {
  flex: 0 0 auto;
  padding-left: 0;
  margin-left: clamp(0px, calc((100vw - 1222px) / 2), 70px);
}

.apple-showcase-preview .brand img {
  width: auto;
  height: 45px;
  max-width: none;
}

.apple-showcase-preview .nav-inner > .nav-links {
  margin-left: auto;
  margin-right: 18px;
}

.apple-showcase-preview .nav-inner > .lang-switcher {
  margin-right: 0 !important;
}

.apple-showcase-preview .nav {
  z-index: 1000;
  isolation: isolate;
  background: #0b0b0f;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .035),
    0 12px 40px rgba(0, 0, 0, .13);
}

.apple-showcase-preview .hero {
  position: relative;
  overflow: hidden;
  padding-top: 76px;
  padding-bottom: 72px;
}

.apple-showcase-preview .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -6%;
  right: -13%;
  width: min(68vw, 900px);
  height: min(82vh, 720px);
  border-radius: 140px;
  background:
    linear-gradient(135deg, rgba(143, 208, 238, .04), rgba(183, 156, 232, .22) 48%, rgba(239, 180, 206, .08) 70%, transparent);
  filter: blur(42px);
  transform: rotate(-9deg) skewX(-5deg);
  pointer-events: none;
}

.scroll-hero-device {
  position: relative;
  isolation: isolate;
  width: min(500px, 100%);
  height: 590px;
  margin-inline: auto;
  perspective: 1400px;
  animation: scrollHeroIn 1s cubic-bezier(.22, 1, .36, 1) .15s both;
}

.scroll-hero-device__halo {
  position: absolute;
  z-index: -3;
  top: 7%;
  right: -4%;
  bottom: 10%;
  left: 4%;
  border-radius: 110px;
  background:
    linear-gradient(145deg, rgba(143, 208, 238, .12), rgba(170, 164, 255, .25) 43%, rgba(239, 180, 206, .11) 72%, transparent);
  filter: blur(38px);
  transform: rotate(-7deg);
}

.scroll-hero-device__mockups {
  position: absolute;
  z-index: 0;
  inset: 0;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.scroll-hero-device__mockup {
  position: absolute;
  display: block;
  height: auto;
  transform-origin: 50% 58%;
  transition:
    transform .8s cubic-bezier(.22, 1, .36, 1),
    filter .8s ease,
    opacity .8s ease;
}

.scroll-hero-device__mockup--scan {
  z-index: 4;
  top: -2px;
  left: 50%;
  width: 300px;
  translate: -50% 0;
  transform: rotateY(-5deg) rotateZ(1.4deg);
  filter:
    drop-shadow(25px 38px 46px rgba(0, 0, 0, .5))
    drop-shadow(-8px 14px 24px rgba(124, 113, 176, .13));
}

.scroll-hero-device__mockup--main,
.scroll-hero-device__mockup--search {
  z-index: 1;
  top: 98px;
  width: 204px;
  opacity: .72;
  filter: brightness(.82) saturate(.78) drop-shadow(0 30px 38px rgba(0, 0, 0, .35));
}

.scroll-hero-device__mockup--main {
  left: -2px;
  transform: rotateY(15deg) rotateZ(-10deg) translateZ(-80px);
}

.scroll-hero-device__mockup--search {
  right: -2px;
  transform: rotateY(-15deg) rotateZ(9deg) translateZ(-74px);
}

.scroll-hero-device__feature-badge {
  position: absolute;
  z-index: 6;
  top: 112px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(13, 13, 18, .82);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .34);
  color: #f5f5f8;
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.scroll-hero-device__feature-badge--photo {
  left: -8px;
}

.scroll-hero-device__feature-badge--pulse {
  right: -8px;
}

.scroll-hero-device__feature-badge--pulse .pulse-official-icon {
  width: 20px;
  height: 20px;
}

.scroll-hero-device::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 4%;
  bottom: 5%;
  left: 4%;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .56);
  filter: blur(24px);
  transform: rotate(-2deg);
}

.scroll-hero-device:hover .scroll-hero-device__mockup--scan {
  transform: rotateY(-2deg) rotateZ(.5deg) translateY(-6px);
  filter:
    drop-shadow(18px 42px 48px rgba(0, 0, 0, .48))
    drop-shadow(-6px 12px 24px rgba(125, 111, 177, .16));
}

.scroll-hero-device:hover .scroll-hero-device__mockup--main {
  transform: rotateY(12deg) rotateZ(-12deg) translate3d(-10px, -3px, -70px);
  opacity: .84;
}

.scroll-hero-device:hover .scroll-hero-device__mockup--search {
  transform: rotateY(-12deg) rotateZ(11deg) translate3d(10px, -3px, -66px);
  opacity: .84;
}

.scroll-story {
  --story-accent: #aaa4ff;
  position: relative;
  z-index: 0;
  isolation: isolate;
  height: calc(var(--story-count) * 96vh);
  min-height: 4200px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background:
    radial-gradient(circle at 78% 35%, rgba(141, 133, 232, .045), transparent 26rem),
    #08080b;
}

.scroll-story__stage {
  --story-gap: clamp(18px, 2vw, 30px);
  position: sticky;
  top: 82px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--story-gap);
  width: min(1180px, calc(100% - 42px));
  height: calc(100vh - 82px);
  min-height: 600px;
  margin: 0 auto;
  overflow: hidden;
}

.scroll-story__ambient {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.scroll-story__ambient::before,
.scroll-story__ambient::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(22px);
  transition: background .7s ease, opacity .7s ease;
}

.scroll-story__ambient::before {
  top: 2%;
  right: -10%;
  width: min(62vw, 760px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(132, 196, 239, .2), transparent 68%);
}

.scroll-story__ambient::after {
  bottom: -32%;
  left: -18%;
  width: min(58vw, 680px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(184, 150, 237, .14), transparent 68%);
}

.scroll-story[data-active="0"] { --story-accent: #8fd0ee; }
.scroll-story[data-active="1"] { --story-accent: #a6aef2; }
.scroll-story[data-active="2"] { --story-accent: #efb4ce; }
.scroll-story[data-active="3"] { --story-accent: #b79ce8; }
.scroll-story[data-active="4"] { --story-accent: #e7c39b; }
.scroll-story[data-active="5"] { --story-accent: #8fd0ee; }
.scroll-story[data-active="6"] { --story-accent: #aaa4ff; }
.scroll-story[data-active="7"] { --story-accent: #9fc3ef; }

.scroll-story[data-active="1"] .scroll-story__ambient::before {
  background: radial-gradient(circle, rgba(156, 179, 241, .2), transparent 68%);
}

.scroll-story[data-active="2"] .scroll-story__ambient::before,
.scroll-story[data-active="3"] .scroll-story__ambient::before {
  background: radial-gradient(circle, rgba(194, 151, 230, .2), transparent 68%);
}

.scroll-story[data-active="4"] .scroll-story__ambient::before {
  background: radial-gradient(circle, rgba(117, 195, 241, .23), transparent 68%);
}

.scroll-story[data-active="5"] .scroll-story__ambient::before {
  background: radial-gradient(circle, rgba(231, 180, 206, .18), transparent 68%);
}

.scroll-story[data-active="6"] .scroll-story__ambient::before {
  background: radial-gradient(circle, rgba(120, 191, 237, .21), transparent 68%);
}

.scroll-story[data-active="7"] .scroll-story__ambient::before {
  background: radial-gradient(circle, rgba(143, 208, 238, .18), transparent 68%);
}

.scroll-story__copy {
  position: relative;
  grid-column: 1 / -1;
  grid-row: 1;
  min-width: 0;
}

.scroll-story__title {
  position: absolute;
  top: clamp(28px, 5.5vh, 58px);
  left: 0;
  width: calc((100% - var(--story-gap)) / 2);
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity .35s ease, transform .35s ease;
}

.scroll-story[data-active]:not([data-active="0"]) .scroll-story__title {
  opacity: 0;
  transform: translate3d(0, -12px, 0);
  pointer-events: none;
}

.scroll-story__title > span {
  display: block;
  margin-bottom: 12px;
  color: var(--story-accent);
  font-size: 11px;
  font-weight: 860;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.scroll-story__title h2 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(45px, 5.05vw, 66px);
  line-height: .96;
  letter-spacing: -.061em;
  text-wrap: balance;
}

.scroll-story__title h2 span {
  background: linear-gradient(110deg, #9fc3ef 2%, #aaa4ff 43%, #efb4ce 72%, #e7c39b 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.scroll-story__copy-stack {
  position: absolute;
  top: 43%;
  right: 0;
  bottom: 5%;
  left: 0;
}

.scroll-story__chapter {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc((100% - var(--story-gap)) / 2);
  max-width: none;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  transition:
    opacity .32s ease,
    filter .42s ease;
  filter: blur(6px);
}

.scroll-story__chapter.is-active {
  pointer-events: auto;
  filter: blur(0);
}

.scroll-story__kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--story-accent) 25%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--story-accent) 10%, transparent);
  color: var(--story-accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.scroll-story__chapter h3 {
  max-width: 480px;
  margin: 0;
  font-size: clamp(33px, 3.55vw, 50px);
  line-height: 1;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.scroll-story__chapter > p {
  max-width: 450px;
  margin: 18px 0 0;
  color: #bdbdc7;
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.55;
}

.scroll-story__price-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  align-items: center;
  width: min(410px, 100%);
  margin-top: 22px;
  padding: 14px 17px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(143, 208, 238, .12),
    rgba(170, 164, 255, .16) 48%,
    rgba(239, 180, 206, .12)
  );
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}

.scroll-story__price-card span {
  grid-row: 1;
  color: #bdbdc7;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.scroll-story__price-card strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  justify-self: end;
  background: linear-gradient(110deg, #9fc3ef, #aaa4ff 45%, #efb4ce 78%, #e7c39b);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: clamp(28px, 3vw, 42px);
  line-height: .95;
  letter-spacing: -.045em;
}

.scroll-story__price-card small {
  grid-row: 2;
  color: #f1f1f5;
  font-size: 12px;
  font-weight: 720;
}

.scroll-story__pills,
.scroll-story__flow,
.scroll-story__multi-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.scroll-story__pills span,
.scroll-story__flow span,
.scroll-story__multi-proof span,
.scroll-story__multi-proof strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  color: #e1e1e7;
  font-size: 12px;
  font-weight: 740;
}

.scroll-story__flow i,
.scroll-story__multi-proof i {
  color: #777781;
  font-size: 15px;
  font-style: normal;
}

.scroll-story__multi-proof strong {
  border-color: rgba(162, 155, 254, .22);
  background: linear-gradient(135deg, rgba(143, 208, 238, .13), rgba(183, 156, 232, .15));
  color: #e6e4ff;
  font-weight: 820;
  font-variant-numeric: tabular-nums;
}

.scroll-story__thumbs {
  display: flex;
  align-items: end;
  gap: 9px;
  margin-top: 19px;
}

.scroll-story__thumbs figure {
  width: 62px;
  margin: 0;
}

.scroll-story__thumbs img {
  display: block;
  width: 62px;
  height: 92px;
  object-fit: contain;
  object-position: top;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
  background: rgba(255, 255, 255, .045);
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, .24));
}

.scroll-story__thumbs figcaption {
  margin-top: 6px;
  color: #8f8f99;
  font-size: 10px;
  font-weight: 730;
  text-align: center;
}

.scroll-story__thumbs--projects {
  gap: 11px;
}

.scroll-story__thumbs--projects figure {
  width: 92px;
}

.scroll-story__thumbs--projects img {
  width: 92px;
  height: 136px;
}

.scroll-story__thumbs--projects figcaption {
  min-height: 28px;
  color: #b8b8c3;
  font-size: 10px;
  line-height: 1.25;
}

.scroll-story__thumbs--two figure {
  width: 124px;
}

.scroll-story__thumbs--two img {
  width: 124px;
  height: 174px;
}

.scroll-story__thumbs--ipad figure {
  width: 160px;
}

.scroll-story__thumbs--ipad img {
  width: 160px;
  height: 150px;
}

.scroll-story__search-example {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(100%, 370px);
  min-height: 54px;
  margin-top: 19px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 17px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.scroll-story__search-example span {
  color: #92929c;
  font-size: 12px;
}

.scroll-story__search-example strong {
  padding: 7px 10px;
  border-radius: 11px;
  background: rgba(143, 208, 238, .12);
  color: #b7def5;
  font-size: 14px;
}

.scroll-story__single-thumb {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 400px;
  margin-top: 16px;
  color: #b8b8c3;
  font-size: 12px;
  line-height: 1.45;
}

.scroll-story__single-thumb img {
  display: block;
  width: 92px;
  height: 142px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 13px;
  background: rgba(255, 255, 255, .045);
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .3));
}

.scroll-story__devices {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  grid-row: 1;
  isolation: isolate;
  min-width: 0;
  perspective: 1500px;
  transform-style: preserve-3d;
}

.scroll-story__devices::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: min(520px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(170, 164, 255, .16), rgba(121, 190, 238, .07) 43%, transparent 70%);
  translate: -50% -50%;
  filter: blur(20px);
}

.scroll-story__device {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(350px, 66%);
  opacity: 0;
  translate: -50% -50%;
  transform-origin: 50% 58%;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  pointer-events: none;
}

.scroll-story__device.is-active {
  pointer-events: auto;
}

.scroll-story__device--ipad {
  width: min(500px, 90%);
}

.scroll-story__device img {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(22px 36px 44px rgba(0, 0, 0, .44))
    drop-shadow(-10px 13px 22px rgba(118, 111, 169, .09));
  transition: filter .45s ease;
}

.scroll-story__device.is-active img {
  filter:
    drop-shadow(28px 42px 52px rgba(0, 0, 0, .54))
    drop-shadow(-12px 14px 27px rgba(118, 111, 169, .14));
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}

.scroll-story__image-zoom {
  cursor: zoom-in;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.scroll-story__image-zoom:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--story-accent) 76%, white 18%);
  outline-offset: 4px;
  border-radius: 10px;
}

.scroll-story__device[data-unlimited]::after,
.scroll-story__mobile-device-media[data-unlimited]::after {
  position: absolute;
  right: 2.2%;
  bottom: 2.2%;
  z-index: 4;
  width: 14.5%;
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 28%;
  background:
    url("./assets/unlimited-symbols/infinity.png?v=20260827-unlimited-mark-v3") center / 72% 72% no-repeat padding-box,
    linear-gradient(#111218, #111218) padding-box,
    var(--grad) border-box;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .9), 0 6px 14px rgba(0, 0, 0, .46);
  content: "";
  pointer-events: none;
}

.scroll-story__mobile-device-media {
  position: relative;
  display: inline-grid;
  width: fit-content;
  max-width: 100%;
  place-items: center;
}

.scroll-story__details {
  position: absolute;
  top: 50%;
  right: 34px;
  z-index: 40;
  width: 250px;
  height: min(510px, calc(100% - 88px));
  translate: 0 -50%;
  pointer-events: none;
}

.scroll-story__detail-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  margin: 0;
  padding: 16px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--story-accent) 22%, rgba(255, 255, 255, .1));
  border-radius: 25px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025)),
    rgba(12, 12, 17, .8);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, .42),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(22px, 0, 0) scale(.96);
  transition:
    opacity .35s ease,
    transform .55s cubic-bezier(.2, .75, .2, 1),
    border-color .45s ease;
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
}

.scroll-story__detail-panel:not(.is-active),
.scroll-story__detail-panel:not(.is-active) * {
  pointer-events: none !important;
}

.scroll-story__detail-panel[data-story-detail="6"] {
  grid-template-rows: auto minmax(0, 1fr);
}

.scroll-story__detail-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.scroll-story__detail-header span,
.scroll-story__detail-header strong {
  display: block;
}

.scroll-story__detail-header span {
  margin-bottom: 5px;
  color: var(--story-accent);
  font-size: 9px;
  font-weight: 860;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.scroll-story__detail-header strong {
  color: #f4f4f7;
  font-size: 16px;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.scroll-story__detail-panel--add-flow .scroll-story__detail-header strong b {
  display: block;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

.scroll-story__detail-panel--add-flow .scroll-story__detail-header strong b + b {
  margin-top: 3px;
}

.scroll-story__detail-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 19px;
  background:
    radial-gradient(circle at 50% 26%, color-mix(in srgb, var(--story-accent) 13%, transparent), transparent 52%),
    rgba(0, 0, 0, .22);
}

.scroll-story__detail-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 8px;
  margin: 0;
  padding: 10px 10px 11px;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(14px, 0, 0) scale(.97);
  transition:
    opacity .3s ease,
    transform .45s cubic-bezier(.2, .75, .2, 1);
}

.scroll-story__detail-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.scroll-story__detail-slide img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  filter:
    drop-shadow(0 18px 24px rgba(0, 0, 0, .34))
    drop-shadow(0 0 16px color-mix(in srgb, var(--story-accent) 8%, transparent));
}

.scroll-story__detail-slide figcaption {
  min-height: 48px;
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .055);
}

.scroll-story__detail-slide figcaption strong,
.scroll-story__detail-slide figcaption span {
  display: block;
}

.scroll-story__detail-slide figcaption strong {
  color: #f0f0f4;
  font-size: 11px;
  line-height: 1.15;
}

.scroll-story__detail-slide figcaption span {
  margin-top: 3px;
  color: #9f9faa;
  font-size: 9px;
  line-height: 1.25;
}

.scroll-story__detail-panel--add-flow {
  right: 0;
  width: 304px;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.scroll-story__shared-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.scroll-story__detail-media--add-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
  padding: 9px;
  overflow: hidden;
}

.scroll-story__detail-media--add-flow .scroll-story__detail-slide {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-width: 0;
  height: 100%;
  padding: 0;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.scroll-story__detail-media--add-flow .scroll-story__detail-slide figcaption {
  display: none;
}

.scroll-story__annotated-screen {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1419 / 2796;
  align-self: center;
  cursor: zoom-in;
  isolation: isolate;
}

.scroll-story__annotated-screen:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--story-accent) 76%, white 18%);
  outline-offset: 3px;
  border-radius: 10px;
}

.scroll-story__detail-media--add-flow .scroll-story__annotated-screen img,
.scroll-story__annotated-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.scroll-story__target-frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.scroll-story__target-frame-line {
  fill: color-mix(in srgb, var(--story-accent) 3%, transparent);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-story__target-frame-line--echo {
  fill: none;
  stroke-width: 4;
  stroke-dasharray: 34 138;
  opacity: .82;
  animation:
    scantivo-frame-shimmer 4.8s linear infinite,
    scantivo-frame-twinkle 1.9s ease-in-out infinite alternate;
}

@keyframes scantivo-frame-shimmer {
  to { stroke-dashoffset: -688; }
}

@keyframes scantivo-frame-twinkle {
  from { opacity: .34; }
  to { opacity: 1; }
}

.scroll-story__flow-copy {
  margin: 0;
  color: #aaaab4;
  font-size: 9px;
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
}

.scroll-story__detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.scroll-story__detail-tabs button {
  flex: 1 1 calc(50% - 3px);
  min-height: 29px;
  padding: 6px 7px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  color: #8f8f99;
  font: inherit;
  font-size: 9px;
  font-weight: 760;
  cursor: pointer;
  transition:
    color .2s ease,
    border-color .2s ease,
    background .2s ease,
    transform .2s ease;
}

.scroll-story__detail-tabs button:hover,
.scroll-story__detail-tabs button:focus-visible {
  color: #ededf2;
  transform: translateY(-1px);
}

.scroll-story__detail-tabs button.is-active {
  border-color: color-mix(in srgb, var(--story-accent) 38%, transparent);
  background: color-mix(in srgb, var(--story-accent) 15%, transparent);
  color: #f3f3f7;
}

.scroll-story__lightbox {
  width: min(840px, calc(100% - 28px));
  max-width: none;
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 14%, rgba(170, 164, 255, .14), transparent 38%),
    #0b0b10;
  color: #f5f5f7;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .72);
}

.scroll-story__lightbox[open] {
  display: grid;
  place-items: center;
}

.scroll-story__lightbox::backdrop {
  background: rgba(2, 2, 5, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.scroll-story__lightbox figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 15px;
  width: 100%;
  height: min(800px, calc(100dvh - 66px));
  margin: 0;
}

.scroll-story__lightbox img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(0 30px 46px rgba(0, 0, 0, .55));
}

.scroll-story__lightbox figcaption {
  padding: 12px 48px 3px 4px;
}

.scroll-story__lightbox figcaption strong,
.scroll-story__lightbox figcaption span {
  display: block;
}

.scroll-story__lightbox figcaption strong {
  font-size: 18px;
}

.scroll-story__lightbox figcaption span {
  margin-top: 4px;
  color: #aaaab4;
  font-size: 13px;
}

.scroll-story__lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font: inherit;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  place-items: center;
}

@media (min-width: 761px) {
  /* Le chapitre des petits formats reste visuellement lié à son iPhone. */
  .scroll-story__chapter:nth-child(3) {
    top: -68px;
    bottom: 68px;
    left: clamp(42px, 4vw, 58px);
  }

  .scroll-story__chapter:nth-child(2),
  .scroll-story__chapter:nth-child(4),
  .scroll-story__chapter:nth-child(6) {
    right: 0;
    left: auto;
  }

  .scroll-story__device:nth-child(1),
  .scroll-story__device:nth-child(3) {
    left: 72%;
  }

  .scroll-story__device:nth-child(2),
  .scroll-story__device:nth-child(4) {
    left: 28%;
  }

  .scroll-story__device:nth-child(n + 5) {
    left: 61%;
    width: min(292px, 53%);
  }

  .scroll-story__device--ipad:nth-child(9) {
    width: min(390px, 70%);
  }

  .scroll-story__device:nth-child(6) {
    left: 36%;
  }

  .scroll-story__details {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: auto;
    translate: 0;
  }

  .scroll-story__detail-panel {
    top: 50%;
    right: 20px;
    bottom: auto;
    left: auto;
    width: 280px;
    height: min(540px, calc(100% - 70px));
    translate: 0 -50%;
  }

  .scroll-story__detail-panel[data-story-detail="6"] {
    right: auto;
    left: 0;
  }
}

.scroll-story__status {
  position: absolute;
  top: 50%;
  right: 2px;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 3px;
  grid-template-rows: auto 168px auto;
  align-items: start;
  justify-items: end;
  gap: 12px 11px;
  translate: 0 -50%;
}

.scroll-story__progress {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;
  display: block;
  width: 3px;
  height: 204px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}

.scroll-story__progress > span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #8fd0ee, #aaa4ff, #efb4ce);
  transform: scaleY(calc(1 / 8));
  transform-origin: top;
  will-change: transform;
}

.scroll-story__hint {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  color: #62626c;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .08em;
  writing-mode: vertical-rl;
  text-transform: uppercase;
}

.scroll-preview-return {
  position: fixed;
  z-index: 100;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(18, 18, 23, .68);
  color: #d8d8de;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .24);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 11px;
  font-weight: 750;
  opacity: .72;
}

.scroll-preview-return:hover,
.scroll-preview-return:focus-visible {
  background: rgba(42, 42, 49, .94);
  color: #fff;
  opacity: 1;
}

@keyframes scrollHeroIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 1101px) {
  .apple-showcase-preview .hero-grid {
    grid-template-columns: minmax(0, 1.14fr) minmax(410px, .86fr) !important;
    gap: clamp(32px, 3.4vw, 56px) !important;
  }
}

@media (max-width: 1100px) {
  .apple-showcase-preview .scroll-hero-device {
    order: 2;
    width: min(480px, 100%);
    height: 550px;
    margin-top: 34px;
  }

  .scroll-story__stage {
    --story-gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 42px);
    gap: var(--story-gap);
  }

  .scroll-story__status {
    right: 2px;
  }

  .scroll-story__details {
    right: 0;
    width: auto;
  }

  .scroll-story__detail-panel {
    right: 24px;
    width: 226px;
  }

  .scroll-story__detail-panel--add-flow {
    right: 12px;
    width: 258px;
  }

  .scroll-story__detail-panel[data-story-detail="6"] {
    right: auto;
    left: 0;
  }

  .scroll-story__device:nth-child(n + 5) {
    left: 61%;
    width: min(250px, 48%);
  }

  .scroll-story__device--ipad:nth-child(9) {
    left: 59%;
    width: min(324px, 62%);
  }
}

@media (max-width: 760px) {
  .apple-showcase-preview .nav-inner {
    width: calc(100% - 32px);
    height: 72px;
  }

  .apple-showcase-preview .brand img {
    height: 38px;
  }

  .apple-showcase-preview .nav-inner > .lang-switcher {
    margin-left: auto !important;
  }

  .apple-showcase-preview .hero {
    padding-top: 54px;
    padding-bottom: 8px;
  }

  .apple-showcase-preview .scroll-hero-device {
    width: min(360px, 100%);
    height: 455px;
    margin-top: 28px;
  }

  .scroll-hero-device__mockup--scan {
    width: 224px;
    transform: rotateY(-3deg) rotateZ(1deg);
  }

  .scroll-hero-device__mockup--main,
  .scroll-hero-device__mockup--search {
    top: 78px;
    width: 145px;
  }

  .scroll-hero-device__mockup--main {
    left: 0;
    transform: rotateY(10deg) rotateZ(-9deg) translateZ(-60px);
  }

  .scroll-hero-device__mockup--search {
    right: 0;
    transform: rotateY(-10deg) rotateZ(8deg) translateZ(-56px);
  }

  .scroll-hero-device__feature-badge {
    top: 66px;
    min-height: 30px;
    padding: 6px 9px;
    font-size: 10px;
  }

  .scroll-hero-device__feature-badge--photo {
    left: 0;
  }

  .scroll-hero-device__feature-badge--pulse {
    right: 0;
  }

  .scroll-story {
    height: calc(var(--story-count) * 104svh);
    min-height: 5000px;
  }

  .scroll-story__stage {
    top: 72px;
    display: block;
    width: 100%;
    height: calc(100svh - 72px);
    min-height: 610px;
  }

  .scroll-story__copy {
    position: absolute;
    z-index: 20;
    inset: 0;
    padding: 0 32px 0 18px;
    pointer-events: none;
  }

  .scroll-story__title {
    top: 23px;
    right: 32px;
    left: 18px;
    width: auto;
  }

  .scroll-story__title > span {
    margin-bottom: 7px;
    font-size: 9px;
  }

  .scroll-story__title h2 {
    font-size: clamp(31px, 9.2vw, 40px);
    line-height: .98;
  }

  .scroll-story__copy-stack {
    top: 126px;
    right: 34px;
    bottom: auto;
    left: 18px;
    height: 245px;
  }

  .scroll-story__chapter {
    right: 0;
    left: 0;
    width: auto;
    max-width: none;
    filter: none;
  }

  .scroll-story__kicker {
    min-height: 24px;
    margin-bottom: 8px;
    padding: 4px 7px;
    font-size: 9px;
  }

  .scroll-story__chapter h3 {
    max-width: 16ch;
    font-size: clamp(25px, 7.2vw, 31px);
    line-height: 1.02;
  }

  .scroll-story__chapter > p {
    max-width: 38ch;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.42;
  }

  .scroll-story__price-card {
    width: min(350px, 100%);
    margin-top: 11px;
    padding: 10px 12px;
    border-radius: 15px;
  }

  .scroll-story__price-card strong {
    font-size: 27px;
  }

  .scroll-story__price-card small {
    font-size: 10px;
  }

  .scroll-story__pills,
  .scroll-story__flow,
  .scroll-story__multi-proof {
    gap: 5px;
    margin-top: 10px;
  }

  .scroll-story__pills span,
  .scroll-story__flow span,
  .scroll-story__multi-proof span,
  .scroll-story__multi-proof strong {
    min-height: 27px;
    padding: 5px 8px;
    font-size: 9px;
  }

  .scroll-story__flow i,
  .scroll-story__multi-proof i {
    font-size: 11px;
  }

  .scroll-story__thumbs {
    gap: 6px;
    margin-top: 10px;
  }

  .scroll-story__thumbs figure {
    width: 52px;
  }

  .scroll-story__thumbs img {
    width: 52px;
    height: 76px;
    border-radius: 7px;
  }

  .scroll-story__thumbs figcaption {
    margin-top: 3px;
    font-size: 8px;
  }

  .scroll-story__thumbs--projects {
    gap: 6px;
  }

  .scroll-story__thumbs--projects figure {
    width: 60px;
  }

  .scroll-story__thumbs--projects img {
    width: 60px;
    height: 88px;
  }

  .scroll-story__thumbs--projects figcaption {
    min-height: 20px;
    font-size: 8px;
  }

  .scroll-story__thumbs--two figure {
    width: 68px;
  }

  .scroll-story__thumbs--two img {
    width: 68px;
    height: 96px;
  }

  .scroll-story__thumbs--ipad figure {
    width: 84px;
  }

  .scroll-story__thumbs--ipad img {
    width: 84px;
    height: 84px;
  }

  .scroll-story__single-thumb {
    gap: 10px;
    max-width: 310px;
    margin-top: 9px;
    font-size: 9px;
    line-height: 1.35;
  }

  .scroll-story__single-thumb img {
    width: 62px;
    height: 96px;
    border-radius: 9px;
  }

  .scroll-story__search-example {
    min-height: 39px;
    margin-top: 10px;
    padding: 6px 7px 6px 10px;
    border-radius: 12px;
  }

  .scroll-story__search-example span {
    font-size: 9px;
  }

  .scroll-story__search-example strong {
    padding: 5px 7px;
    border-radius: 8px;
    font-size: 11px;
  }

  .scroll-story__devices {
    position: absolute;
    z-index: 5;
    inset: 0;
    translate: 0;
  }

  .scroll-story__devices::before {
    top: 76%;
    width: 320px;
  }

  .scroll-story__device {
    top: 86%;
    width: min(224px, 58vw);
  }

  .scroll-story[data-active="5"] .scroll-story__device {
    top: 104%;
  }

  .scroll-story__device--ipad {
    width: min(306px, 80vw);
  }

  .scroll-story:is([data-active="4"], [data-active="5"], [data-active="6"], [data-active="7"]) .scroll-story__device {
    top: 75%;
    left: 24%;
    width: min(190px, 44vw);
  }

  .scroll-story[data-active="5"] .scroll-story__device {
    top: 75%;
  }

  .scroll-story[data-active="7"] .scroll-story__device--ipad {
    top: 75%;
    left: 24%;
    width: min(226px, 48vw);
  }

  .scroll-story__details {
    top: auto;
    right: 25px;
    bottom: 16px;
    width: min(232px, 49vw);
    height: 330px;
    translate: 0;
  }

  .scroll-story__detail-panel {
    gap: 7px;
    padding: 9px;
    border-radius: 18px;
  }

  .scroll-story__detail-header span {
    margin-bottom: 2px;
    font-size: 7px;
  }

  .scroll-story__detail-header strong {
    font-size: 12px;
    line-height: 1.08;
  }

  .scroll-story__detail-media {
    border-radius: 13px;
  }

  .scroll-story__detail-slide {
    gap: 4px;
    padding: 6px;
  }

  .scroll-story__detail-slide figcaption {
    min-height: 32px;
    padding: 5px 6px;
    border-radius: 8px;
  }

  .scroll-story__detail-slide figcaption strong {
    font-size: 9px;
  }

  .scroll-story__detail-slide figcaption span {
    display: none;
  }

  .scroll-story__detail-tabs {
    gap: 4px;
  }

  .scroll-story__detail-tabs button {
    min-height: 24px;
    padding: 4px;
    border-radius: 7px;
    font-size: 8px;
  }

  .scroll-story__lightbox {
    width: calc(100% - 14px);
    max-height: calc(100dvh - 14px);
    padding: 11px;
    border-radius: 20px;
  }

  .scroll-story__lightbox figure {
    height: calc(100dvh - 38px);
  }

  .scroll-story__lightbox figcaption {
    padding: 8px 42px 2px 3px;
  }

  .scroll-story__lightbox figcaption strong {
    font-size: 15px;
  }

  .scroll-story__lightbox figcaption span {
    font-size: 11px;
  }

  .scroll-story__lightbox-close {
    top: 9px;
    right: 9px;
    width: 35px;
    height: 35px;
    font-size: 22px;
  }

  .scroll-story__status {
    top: auto;
    right: 13px;
    bottom: 18px;
    grid-template-columns: auto 3px;
    grid-template-rows: auto 110px;
    gap: 8px 8px;
    translate: 0;
  }

  .scroll-story__progress {
    height: 142px;
  }

  .scroll-story__hint {
    display: none;
  }

  .scroll-preview-return {
    right: 10px;
    bottom: 10px;
    min-height: 34px;
    padding: 7px 10px;
    font-size: 9px;
    opacity: .58;
  }
}

@media (max-height: 720px) and (min-width: 761px) {
  .scroll-story__stage {
    min-height: 540px;
  }

  .scroll-story__title {
    top: 26px;
  }

  .scroll-story__title h2 {
    font-size: 48px;
  }

  .scroll-story__copy-stack {
    top: 38%;
  }

  .scroll-story__chapter h3 {
    font-size: 37px;
  }

  .scroll-story__chapter > p {
    font-size: 15px;
  }

  .scroll-story__device {
    width: min(324px, 64%);
  }

  .scroll-story:is([data-active="4"], [data-active="5"], [data-active="6"]) .scroll-story__device {
    width: min(274px, 52%);
  }

  .scroll-story[data-active="7"] .scroll-story__device--ipad {
    width: min(390px, 78%);
  }

  .scroll-story__detail-panel {
    height: 470px;
  }

  .scroll-story__detail-panel {
    padding: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hero-device {
    animation: none !important;
  }

  .scroll-story__chapter,
  .scroll-story__device,
  .scroll-story__detail-panel,
  .scroll-story__detail-slide,
  .scroll-story__progress > span {
    transition: none !important;
  }

  .scroll-story__target-frame-line--echo {
    animation: none !important;
    opacity: .72;
  }
}

/* Petit écran : récit linéaire, sans aucun chevauchement entre texte et appareil. */
.scroll-story__mobile {
  display: none;
}

@media (max-width: 900px) {
  .scroll-story {
    height: auto;
    min-height: 0;
    background:
      radial-gradient(circle at 82% 8%, rgba(170, 164, 255, .09), transparent 24rem),
      #08080b;
  }

  .scroll-story__stage {
    display: none;
  }

  .scroll-story__mobile {
    display: block;
    width: 100%;
  }

  .scroll-story__mobile-intro {
    width: min(620px, calc(100% - 36px));
    margin-inline: auto;
    padding: 68px 0 42px;
  }

  .scroll-story__mobile-intro > span {
    display: block;
    margin-bottom: 10px;
    color: #aaa4ff;
    font-size: 10px;
    font-weight: 860;
    letter-spacing: .13em;
    text-transform: uppercase;
  }

  .scroll-story__mobile-intro h2 {
    margin: 0;
    font-size: clamp(38px, 10.8vw, 58px);
    line-height: .96;
    letter-spacing: -.057em;
    text-wrap: balance;
  }

  .scroll-story__mobile-intro h2 span {
    background: linear-gradient(110deg, #9fc3ef 2%, #aaa4ff 43%, #efb4ce 72%, #e7c39b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
  }

  .scroll-story__mobile-item {
    --mobile-accent: #8fd0ee;
    position: relative;
    isolation: isolate;
    padding: 54px max(18px, env(safe-area-inset-right)) 58px max(18px, env(safe-area-inset-left));
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, .065);
    background:
      radial-gradient(circle at 82% 46%, color-mix(in srgb, var(--mobile-accent) 10%, transparent), transparent 19rem);
  }

  .scroll-story__mobile-item:nth-of-type(1) { --mobile-accent: #8fd0ee; }
  .scroll-story__mobile-item:nth-of-type(2) { --mobile-accent: #a6aef2; }
  .scroll-story__mobile-item:nth-of-type(3) { --mobile-accent: #efb4ce; }
  .scroll-story__mobile-item:nth-of-type(4) { --mobile-accent: #b79ce8; }
  .scroll-story__mobile-item:nth-of-type(5) { --mobile-accent: #e7c39b; }
  .scroll-story__mobile-item:nth-of-type(6) { --mobile-accent: #8fd0ee; }
  .scroll-story__mobile-item:nth-of-type(7) { --mobile-accent: #aaa4ff; }
  .scroll-story__mobile-item:nth-of-type(8) { --mobile-accent: #9fc3ef; }

  .scroll-story__mobile-copy,
  .scroll-story__mobile-device,
  .scroll-story__mobile-details {
    width: min(620px, 100%);
    margin-inline: auto;
  }

  .scroll-story__mobile-copy .scroll-story__kicker {
    min-height: 27px;
    margin-bottom: 13px;
    padding: 5px 9px;
    border-color: color-mix(in srgb, var(--mobile-accent) 28%, transparent);
    background: color-mix(in srgb, var(--mobile-accent) 10%, transparent);
    color: var(--mobile-accent);
    font-size: 10px;
  }

  .scroll-story__mobile-copy h3 {
    max-width: 18ch;
    margin: 0;
    font-size: clamp(30px, 8.7vw, 44px);
    line-height: 1;
    letter-spacing: -.048em;
    text-wrap: balance;
  }

  .scroll-story__mobile-copy > p {
    max-width: 48ch;
    margin: 15px 0 0;
    color: #bdbdc7;
    font-size: clamp(14px, 3.9vw, 17px);
    line-height: 1.5;
  }

  .scroll-story__mobile-copy .scroll-story__pills,
  .scroll-story__mobile-copy .scroll-story__flow,
  .scroll-story__mobile-copy .scroll-story__multi-proof {
    gap: 6px;
    margin-top: 16px;
  }

  .scroll-story__mobile-copy .scroll-story__pills span,
  .scroll-story__mobile-copy .scroll-story__flow span,
  .scroll-story__mobile-copy .scroll-story__multi-proof span,
  .scroll-story__mobile-copy .scroll-story__multi-proof strong {
    min-height: 30px;
    padding: 6px 9px;
    font-size: 10px;
  }

  .scroll-story__mobile-device {
    display: grid;
    min-height: 0;
    margin-top: 26px;
    padding: 12px 0 0;
    place-items: center;
  }

  .scroll-story__mobile-device img {
    display: block;
    width: auto;
    max-width: min(76vw, 330px);
    max-height: 64svh;
    filter:
      drop-shadow(22px 34px 42px rgba(0, 0, 0, .48))
      drop-shadow(-8px 12px 20px color-mix(in srgb, var(--mobile-accent) 10%, transparent));
  }

  .scroll-story__mobile-device--ipad img {
    max-width: min(94vw, 620px);
    max-height: 58svh;
  }

  .scroll-story__mobile-details {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .075);
  }

  .scroll-story__mobile-details .scroll-story__detail-header span,
  .scroll-story__mobile-details .scroll-story__detail-header strong {
    display: block;
  }

  .scroll-story__mobile-details .scroll-story__detail-header span {
    margin-bottom: 5px;
    color: var(--mobile-accent);
    font-size: 9px;
    font-weight: 840;
    letter-spacing: .11em;
    text-transform: uppercase;
  }

  .scroll-story__mobile-details .scroll-story__detail-header strong {
    font-size: 18px;
    line-height: 1.15;
  }

  .scroll-story__mobile-gallery {
    display: grid;
    grid-auto-columns: minmax(184px, 68vw);
    grid-auto-flow: column;
    gap: 12px;
    margin-top: 16px;
    padding: 0 1px 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scroll-snap-type: inline mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .scroll-story__mobile-gallery figure {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 9px;
    min-height: 360px;
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 22px;
    background: rgba(255, 255, 255, .04);
    scroll-snap-align: center;
  }

  .scroll-story__mobile-gallery img {
    display: block;
    width: 100%;
    height: 310px;
    object-fit: contain;
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .34));
  }

  .scroll-story__mobile-gallery figcaption {
    min-height: 45px;
    padding: 8px 9px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
  }

  .scroll-story__mobile-gallery figcaption strong,
  .scroll-story__mobile-gallery figcaption span {
    display: block;
  }

  .scroll-story__mobile-gallery figcaption strong {
    color: #f4f4f7;
    font-size: 11px;
  }

  .scroll-story__mobile-gallery figcaption span {
    margin-top: 2px;
    color: #8f8f9a;
    font-size: 9px;
    line-height: 1.35;
  }

  .scroll-story__mobile-gallery--add-flow {
    grid-template-columns: repeat(2, minmax(184px, 68vw));
    grid-auto-columns: unset;
    grid-auto-flow: initial;
    align-items: center;
  }

  .scroll-story__mobile-gallery--add-flow .scroll-story__annotated-screen {
    width: auto;
    height: 310px;
    margin-inline: auto;
  }

  .scroll-story__mobile-gallery--add-flow .scroll-story__annotated-screen img {
    width: 100%;
    height: 100%;
  }

  .scroll-story__mobile-details--add-flow > .scroll-story__flow-copy {
    margin-top: 10px;
    color: #aaaab4;
    font-size: 11px;
    line-height: 1.45;
    text-align: left;
  }
}
