/* =========================================================
   Case study Sosia — layout a fasce, stile "presentazione"
   Mobile first. Usa i token di styles.css + i colori di Sosia.
   ========================================================= */

.so {
  --so-magenta: #D10F6C;
  --so-magenta-2: #B80F62;
  --so-rose: #F48FBE;          /* magenta chiaro, per gli accenti sulle fasce scure */
  --so-blush: #F4E6EA;         /* carta con un velo di magenta */
  --so-print: #F3F3F3;         /* "grigio stampa" dell'app */
  --so-dark: #161415;
  --so-dark-2: #221F21;
  --so-grey: #6B6B6B;
  --so-line: rgba(18, 18, 18, .12);
  --pad: var(--gutter);
  overflow-x: clip;
}

/* ---------- Struttura di base ---------- */
.so-wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.so-band { padding: 64px 0; position: relative; }
.so-band--blush { background: var(--so-blush); }
.so-band--paper2 { background: var(--paper-2); }
.so-band--dark { background: var(--so-dark); color: var(--paper); }

.so-eyebrow {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px;
  font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
}
.so-eyebrow span { font-family: var(--f-serif); font-weight: 400; font-size: 1.35rem; letter-spacing: 0; color: var(--so-magenta); }
.so-band--dark .so-eyebrow span { color: var(--so-rose); }

.so-h {
  font-stretch: 62%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.5rem, 11.5vw, 5.6rem); line-height: .88; letter-spacing: -0.01em;
}
.so-h .serif-i { display: block; font-size: .78em; line-height: .95; color: var(--so-magenta); margin-top: .06em; }
.so-band--dark .so-h .serif-i { color: var(--so-rose); }
.so-statement {
  font-stretch: 62%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 8.4vw, 4.2rem); line-height: .95; letter-spacing: -0.005em; max-width: 22ch;
}
.so-statement em { font-style: normal; color: var(--so-magenta); }
.so-body { color: var(--ink-soft); max-width: 56ch; font-size: 1.02rem; }
.so-band--dark .so-body { color: rgba(243, 241, 236, .72); }
.so-head { margin-bottom: 36px; }
.so-head .so-body { margin-top: 22px; }
.so-center { text-align: center; margin-left: auto; margin-right: auto; }
.so-center .so-eyebrow { justify-content: center; }
.so-center .so-body { margin-left: auto; margin-right: auto; }

/* ---------- Telefono ---------- */
.ph { position: relative; display: block; aspect-ratio: 786 / 1704; width: 100%; background: #0c0c0c; border-radius: 15% / 7%; padding: 3.2%; box-shadow: 0 1px 0 1px #2b2b2b inset, 0 26px 50px -24px rgba(18, 18, 18, .4); }
.ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 12.3% / 5.8%; display: block; }

/* gallerie: il clic apre la schermata grande (main.js) */
.so .gal { border-radius: 26px; }
.so .gal .ph { transition: transform .35s var(--ease-back); }
@media (hover: hover) { .so .gal:hover .ph { transform: translateY(-4px) rotate(-.8deg); } }
.so figcaption { margin-top: 14px; font-size: .9rem; line-height: 1.4; color: var(--so-grey); }
.so figcaption b { display: block; font-family: var(--f-serif); font-weight: 400; font-size: 1.3rem; line-height: 1.1; color: var(--ink); }

/* =========================================================
   HERO
   ========================================================= */
.so-hero.case-hero {
  max-width: none; margin: 0;
  padding: calc(var(--nav-h) + 48px) 0 0;
  background: radial-gradient(120% 80% at 50% 30%, #DE2479 0%, var(--so-magenta) 45%, #A60C57 100%);
  color: var(--paper);
}
.so-hero__head { max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.so-hero .case-back { color: var(--paper); }
.so-hero .case-hero__kicker { color: rgba(243, 241, 236, .82); }
.so-hero__title {
  font-stretch: 62%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(4rem, 26vw, 15rem); line-height: .82; letter-spacing: -0.015em;
}
.so-hero__title .line--serif {
  margin-top: .2em;
  font-size: clamp(1.6rem, 6.4vw, 3.8rem); line-height: 1.05; text-transform: none; padding-bottom: .1em;
  color: #FFD3E6;
}
.so-hero__cover.case-cover { rotate: 0deg; padding: 0; margin: 40px auto 0; max-width: 1320px; }
.so-hero__cover img { width: 100%; height: auto; display: block; border-radius: 0; }
.so-meta.case-meta {
  max-width: 1320px; margin: 0 auto; padding: 26px var(--pad) 40px;
  border-top: 0; color: var(--paper);
}
.so-meta dt { color: #FFD3E6; }

/* =========================================================
   01 · L'IDEA — testo + illustrazione
   ========================================================= */
.idea { display: grid; gap: 40px; align-items: center; }
.idea__text .so-body { margin-top: 28px; max-width: 50ch; }
.idea__pic { margin: 0; justify-self: center; width: min(100%, 520px); }
.idea__pic img { width: 100%; height: auto; display: block; }

/* =========================================================
   02 · IL PROCESSO (scuro) + bento
   ========================================================= */
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; position: relative; }
.steps li { position: relative; text-align: center; }
.steps__ic { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--so-magenta); color: var(--paper); position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--so-dark); }
.steps__ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.steps b { display: block; font-family: var(--f-serif); font-weight: 400; font-size: 1.35rem; line-height: 1.1; }
.steps small { display: block; font-size: .82rem; color: rgba(243, 241, 236, .6); margin-top: 4px; }

.bento { display: grid; gap: 14px; margin-top: 48px; grid-template-columns: 1fr; }
.tile { position: relative; border-radius: 10px; overflow: hidden; min-height: 320px; }
.tile--hero { background: linear-gradient(160deg, #F7D7E7 0%, #F2B6D2 45%, #E6669F 100%); display: grid; place-items: center; padding: 44px 24px; }
.tile--hero .ph { width: min(60%, 250px); }
.tile--shot { background: var(--paper-2); display: grid; place-items: center; padding: 40px 24px; }
.tile--shot .ph { width: min(46%, 190px); }
.tile--chips { background: var(--so-blush); display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 28px 0; }
.tile--brand { background: var(--so-magenta); display: grid; place-items: center; color: var(--paper); min-height: 240px; text-align: center; padding: 32px 20px; }
.tile--brand p { font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(3.4rem, 9vw, 6.4rem); line-height: .85; }
.tile--brand p .serif-i { display: block; font-size: .42em; line-height: 1.1; color: #FFD3E6; text-transform: none; }
.so-mark { width: 74px; height: auto; margin: 0 auto 14px; overflow: visible; display: block; }
.so-mark .me { fill: var(--paper); }
.so-mark .c { fill: none; stroke: var(--paper); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.so-mark .twin { fill: none; stroke: var(--paper); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: .1 2.7; }

.so-marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.so-marquee__in { display: flex; gap: 10px; padding-right: 10px; flex: none; animation: so-slide 26s linear infinite; }
.so-marquee--rev .so-marquee__in { animation-direction: reverse; }
@keyframes so-slide { to { transform: translateX(-100%); } }
.chip { flex: none; height: 46px; padding: 0 20px; border-radius: 999px; display: inline-flex; align-items: center; font-size: .95rem; font-weight: 700; white-space: nowrap; background: var(--white); color: var(--ink); }
.chip--ink { background: var(--ink); color: var(--paper); }
.chip--mg { background: var(--so-magenta); color: var(--paper); }
.chip--soft { background: var(--so-rose); color: var(--ink); }

/* =========================================================
   03 · PER CHI — due card, una domanda, la scala delle età
   ========================================================= */
.who { position: relative; display: grid; gap: 20px; }
.who__card { position: relative; z-index: 1; background: var(--white); border-radius: 10px; padding: 28px 26px 30px; border-top: 4px solid var(--so-magenta); }
.who__card--ink { border-top-color: var(--ink); }
.who__age { margin: 0 0 20px; font-family: var(--f-serif); font-size: 1.15rem; color: var(--so-grey); }
.who__age span { display: block; font-family: var(--f-sans); font-stretch: 62%; font-weight: 800; font-size: clamp(3.6rem, 7vw, 5.4rem); line-height: .9; color: var(--so-magenta); }
.who__card--ink .who__age span { color: var(--ink); }
.who__card h3 { margin: 0 0 8px; font-family: var(--f-serif); font-weight: 400; font-size: 1.9rem; line-height: 1.05; }
.who__card p:last-child { margin: 0; color: var(--ink-soft); max-width: 36ch; }
.who__q { position: relative; z-index: 1; justify-self: center; margin: 4px 0; width: 190px; aspect-ratio: 1; border-radius: 50%; background: var(--so-magenta); color: var(--paper); display: grid; place-items: center; text-align: center; font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 1.9rem; line-height: .95; box-shadow: 0 0 0 10px var(--paper); }
.who__q::after { content: ""; position: absolute; right: 22px; bottom: 6px; width: 30px; height: 30px; background: var(--so-magenta); clip-path: polygon(0 0, 100% 100%, 40% 0); }

.scale { margin-top: 40px; }
.scale__bar { position: relative; height: 10px; border-radius: 999px; background: var(--paper-2); }
.scale__seg { position: absolute; top: 0; bottom: 0; left: calc((var(--a) - 15) / 20 * 100%); width: calc((var(--b) - var(--a)) / 20 * 100%); border-radius: 999px; background: var(--so-magenta); }
.scale__seg--ink { background: var(--ink); }
.scale__ticks { position: relative; height: 26px; margin-top: 8px; font-size: .8rem; color: var(--so-grey); }
.scale__ticks span { position: absolute; top: 0; left: calc((var(--v) - 15) / 20 * 100%); transform: translateX(-50%); }
.scale__ticks span:first-child { transform: none; }
.scale__ticks span:last-child { transform: translateX(-100%); }

.method { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--so-line); display: grid; gap: 12px 40px; }
.method__k { margin: 0; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--so-magenta); }
.method h3 { margin: 0 0 10px; font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.08; max-width: 26ch; }
.method p { margin: 0; color: var(--ink-soft); max-width: 62ch; }

/* =========================================================
   04 · PROBLEMA → groviglio → DIFFERENZA
   ========================================================= */
.ps__stage { margin: 0 calc(var(--pad) * -1) 8px; }
.ps__video { display: block; width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; object-position: 50% 60%; }
.ps { display: grid; grid-template-columns: 1fr; gap: 12px; }
.ps__card { position: relative; z-index: 1; background: var(--white); border-radius: 10px; padding: 32px 30px 36px; }
.ps__ic { display: block; width: auto; height: 72px; margin-bottom: 20px; }
.ps__card h3 { margin: 0 0 10px; font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 2rem; line-height: .95; }
.ps__card p { margin: 0; color: var(--ink-soft); max-width: 40ch; }
.ps__card--sol h3 { color: var(--so-magenta); }
.ps__arrow { justify-self: center; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--so-magenta); color: var(--white); font-size: 1.3rem; transform: rotate(90deg); margin: -26px 0; position: relative; z-index: 2; }

/* =========================================================
   05 · LE SCELTE (scuro) — card in vetro
   ========================================================= */
.pr { display: grid; grid-template-columns: 1fr; gap: 14px; }
.glass { background: linear-gradient(180deg, #2a2729 0%, #1d1a1c 100%); border-radius: 10px; padding: 28px 26px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
.glass h3 { margin: 0 0 12px; display: flex; gap: 12px; align-items: baseline; font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 1.7rem; line-height: .95; }
.glass h3 span { font-family: var(--f-serif); font-weight: 400; font-size: 1.3rem; color: var(--so-rose); text-transform: none; }
.glass p { margin: 0; font-size: .95rem; color: rgba(243, 241, 236, .68); line-height: 1.55; }
.glass--brand { background: linear-gradient(140deg, #2a2729 0%, #1d1a1c 55%, #4a1030 100%); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.glass--brand .glass__k { margin: 0; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--so-rose); }
.glass--brand q { font-family: var(--f-serif); font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.1; color: var(--paper); quotes: none; max-width: 30ch; }
.glass--persona { padding: 0; overflow: hidden; display: flex; flex-direction: column; background: linear-gradient(180deg, #353133, #221f21); }
.glass--persona .pic { flex: 1; min-height: 260px; padding-top: 28px; background: linear-gradient(180deg, #F2D2E2, #E8A3C5); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.glass--persona .pic .ph { width: 58%; max-width: 210px; aspect-ratio: 786 / 1250; border-radius: 15% 15% 0 0 / 9% 9% 0 0; padding-bottom: 0; box-shadow: none; }
.glass--persona .pic .ph img { object-position: top; border-radius: 12.3% 12.3% 0 0 / 7.5% 7.5% 0 0; }
.glass--persona .cap { padding: 22px 24px 8px; text-align: center; }
.glass--persona .cap b { display: block; font-family: var(--f-serif); font-weight: 400; font-size: 1.7rem; line-height: 1.05; }
.glass--persona .cap small { color: rgba(243, 241, 236, .6); font-size: .85rem; }
.glass--persona .tag { margin: 12px; padding: 16px 18px; border-radius: 8px; background: var(--so-magenta); }
.glass--persona .tag b { display: block; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.glass--persona .tag small { font-size: .85rem; opacity: .9; }

/* =========================================================
   06 · IL TUO SOSIA — user flow + passi
   ========================================================= */
.flow { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.flow > * { min-width: 0; }
.flow__ph { width: min(62%, 240px); margin: 0 auto; }
.flow__map { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); }
.flow__map::-webkit-scrollbar { display: none; }
.flow__map svg { display: block; min-width: 820px; width: 100%; height: auto; }
.flow__map .ln { fill: none; stroke: #c9c3ba; stroke-width: 1.4; }
.flow__map .nd rect { fill: var(--white); stroke: #ddd7cd; stroke-width: 1.2; }
.flow__map .nd text { font: 600 14.5px var(--f-sans); fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.flow__map .nd.k rect { fill: var(--ink); stroke: var(--ink); }
.flow__map .nd.k text { fill: var(--paper); }
.flow__map .nd.m rect { fill: var(--so-magenta); stroke: var(--so-magenta); }
.flow__map .nd.m text { fill: var(--paper); }
.flow__map .nd.d rect { fill: transparent; stroke: #b9b2a7; stroke-dasharray: 4 4; }
.flow__map .nd.d text { fill: var(--so-grey); }
.flow__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; font-size: .85rem; color: var(--so-grey); }
.flow__legend span { display: inline-flex; align-items: center; gap: 8px; }
.flow__legend i { width: 22px; height: 12px; border-radius: 999px; background: var(--ink); }
.flow__legend i.m { background: var(--so-magenta); }
.flow__legend i.o { background: var(--white); box-shadow: inset 0 0 0 1.2px #ddd7cd; }

/* i passi: carosello su mobile, cinque in fila da desktop
   (.phones serve a main.js per la lightbox "telefono": qui ne azzero l'aspetto) */
.so .rail.phones { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; background: none; border-radius: 0; margin: 48px calc(var(--pad) * -1) 0; padding: 8px var(--pad) 20px; scroll-padding-inline: var(--pad); }
.so .rail figure { flex: 0 0 min(62%, 220px); margin: 0; scroll-snap-align: start; }
.rail__k { display: none; }
.rail__sep { flex: 0 0 1px; align-self: stretch; margin: 0 6px; background: rgba(18, 18, 18, .22); }

/* =========================================================
   07 · IDENTITÀ VISIVA — tipografia | colore
   ========================================================= */
.id { display: grid; gap: 64px; }
.id__k { margin: 0; padding-bottom: 12px; border-bottom: 1px solid rgba(18, 18, 18, .18); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.spec { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px 0; border-bottom: 1px solid rgba(18, 18, 18, .12); }
.spec p { margin: 0; }
.spec__aa { font-size: clamp(5rem, 11vw, 8rem); line-height: .9; min-width: 1.15em; }
.spec__aa--anton { font-family: "Anton", Impact, sans-serif; }
.spec__aa--sf { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif; font-weight: 700; letter-spacing: -.04em; }
.spec__name { font-family: var(--f-serif); font-size: 1.8rem; line-height: 1; }
.spec__use { margin-top: 6px !important; font-size: .9rem; color: var(--so-grey); }
.spec__sample { margin-top: 14px !important; }
.spec__sample--anton { font-family: "Anton", Impact, sans-serif; text-transform: uppercase; font-size: 1.6rem; }
.spec__sample--sf { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }

.pal { display: flex; height: clamp(120px, 15vw, 190px); margin-top: 28px; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(18, 18, 18, .1), 0 24px 40px -28px rgba(18, 18, 18, .35); }
.pal i { background: var(--c); }
.pal__list { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px 28px; }
.pal__list li { display: flex; align-items: center; gap: 10px; font-size: .95rem; padding-bottom: 10px; border-bottom: 1px solid rgba(18, 18, 18, .08); }
.pal__list i { flex: none; width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(18, 18, 18, .15); }
.pal__list b { font-weight: 600; }
.id__mock { margin: 48px 0 0; }
.id__mock img { width: 100%; height: auto; display: block; border-radius: 10px; }
.id__mock figcaption { margin-top: 14px; }
.pal__list code { margin-left: auto; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .8rem; color: var(--so-grey); }

/* =========================================================
   08 · LE SCHERMATE — una riga per sezione dell'app
   ========================================================= */
.sx { display: grid; gap: 48px; }
.sx__row { display: grid; gap: 26px; padding-top: 28px; border-top: 1px solid var(--so-line); }
.sx__head p { margin: 0; }
.sx__n { font-family: var(--f-serif); font-size: 1.35rem; line-height: 1; color: var(--so-magenta); }
.sx__head h3 { margin: 8px 0 12px; font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 4vw, 3rem); line-height: .9; }
.sx__head p:last-child { color: var(--ink-soft); font-size: .98rem; max-width: 40ch; }
.so .sx__shots.phones { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; background: none; border-radius: 0; margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 12px; scroll-padding-inline: var(--pad); }
.so .sx__shots figure { flex: 0 0 min(56%, 210px); margin: 0; scroll-snap-align: start; }

/* =========================================================
   09 · PROSSIMI PASSI — mockup in sottofondo
   ========================================================= */
.so-next { overflow: hidden; isolation: isolate; }
.so-next__bg { position: absolute; z-index: -1; top: 0; right: -40px; height: 340px; width: auto; opacity: .3;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(0deg, transparent 0%, #000 40%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(0deg, transparent 0%, #000 40%); mask-composite: intersect; }

/* =========================================================
   09 · PROSSIMI PASSI — timeline
   ========================================================= */
.tl { list-style: none; margin: 0; padding: 0; display: grid; }
.tl li { position: relative; padding: 0 0 34px 44px; }
.tl li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--so-blush); box-shadow: inset 0 0 0 2px #b9a9ae; z-index: 1; }
.tl li::after { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: repeating-linear-gradient(180deg, #b9a9ae 0 6px, transparent 6px 12px); }
.tl li:last-child::after { display: none; }
.tl li.done::before { background: var(--so-magenta); box-shadow: none; }
.tl li.done:not(.now)::after { background: var(--so-magenta); }
.tl li.now::before { box-shadow: 0 0 0 7px rgba(209, 15, 108, .2); }
.tl small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--so-grey); }
.tl li.done small { color: var(--so-magenta); }
.tl b { display: block; margin: 6px 0 6px; font-family: var(--f-serif); font-weight: 400; font-size: 1.5rem; line-height: 1.08; }
.tl span { display: block; color: var(--ink-soft); font-size: .92rem; line-height: 1.45; max-width: 32ch; }

.so .case-next { margin-top: 0; }

/* ---------- ≥ 760px ---------- */
@media (min-width: 760px) {
  .pal__list { grid-template-columns: 1fr 1fr; }
}

/* ---------- ≥ 900px ---------- */
@media (min-width: 900px) {
  .so { --pad: clamp(24px, 4vw, 56px); }
  .so-band { padding: clamp(72px, 7vw, 110px) 0; }
  .so-split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 110px); }
  .so-hero.case-hero { padding-top: calc(var(--nav-h) + 70px); }
  .so-hero__title .line--serif { white-space: nowrap; font-size: clamp(2.2rem, 3.9vw, 3.8rem); }
  .so-hero__cover.case-cover { margin-top: 56px; padding: 0 var(--pad); }
  .so-hero__cover img { border-radius: 8px; }

  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 26px; border-top: 1.5px dashed rgba(243, 241, 236, .2); }
  .bento { grid-template-columns: 1.2fr .8fr 1fr; grid-template-rows: 340px 280px; margin-top: 56px; }
  .tile--hero { grid-row: 1 / 3; min-height: 0; }
  .tile--shot, .tile--chips { min-height: 0; }
  .tile--brand { grid-column: 2 / 4; min-height: 0; }

  .idea { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 110px); }
  .idea__pic { width: 100%; max-width: 560px; justify-self: end; }
  .tile--hero .ph, .tile--shot .ph { position: absolute; top: 36px; bottom: 36px; left: 50%; width: auto; height: auto; transform: translateX(-50%); }
  .tile--hero { padding: 0; }
  .tile--shot { padding: 0; }

  .who { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 48px; align-items: center; }
  .who::before { content: ""; position: absolute; left: 6%; right: 6%; top: 50%; border-top: 1.5px dashed var(--so-magenta); opacity: .55; }
  .who__q { width: 220px; font-size: 2.3rem; }
  .scale { margin-top: 56px; }
  .method { grid-template-columns: 220px minmax(0, 1fr); margin-top: 56px; }

  .ps__stage { margin: -12px 0 0; }
  .ps__video { aspect-ratio: 2.3; object-position: 50% 70%; }
  .ps { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0; align-items: stretch; margin-top: -8px; }
  .ps__card { height: auto; }
  .ps__arrow { transform: none; margin: 0 -10px; align-self: center; }

  .pr { grid-template-columns: .9fr 1fr 1fr; }
  .glass--persona { grid-row: 1 / 4; }
  .glass--brand { grid-column: 2 / 4; }

  .flow { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; }
  .flow__ph { width: 100%; }
  .flow__map { margin: 0; padding: 0; }

  .id { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(48px, 6vw, 110px); align-items: start; }

  .id__mock { margin-top: 64px; }
  .sx__row { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 80px); align-items: start; }
  .sx__head { position: sticky; top: calc(var(--nav-h) + 24px); }
  .so .sx__shots.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; overflow: visible; margin: 0; padding: 0; }
  .so .sx__shots figure { flex: none; }

  .so-next__bg { height: 112%; top: -6%; opacity: .55; right: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(0deg, transparent 0 40%, #000 68%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(0deg, transparent 0 40%, #000 68%); }
  .tl { grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: 20px; }
  .tl li { padding: 44px 0 0; }
  .tl li::after { left: 26px; right: -16px; top: 10px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, #b9a9ae 0 6px, transparent 6px 12px); }
  .tl li.done:not(.now)::after { background: var(--so-magenta); }
  .tl b { font-size: 1.3rem; }
  .tl span { font-size: .88rem; }
}

/* ---------- ≥ 1200px ---------- */
@media (min-width: 1200px) {
  .so .rail.phones { display: grid; grid-template-columns: minmax(0, 1fr) 1px repeat(4, minmax(0, 1fr)); column-gap: 28px; row-gap: 18px; overflow: visible; margin: 56px 0 0; padding: 8px 0 0; }
  .so .rail figure { flex: none; grid-row: 2; }
  .rail__k { display: block; grid-row: 1; margin: 0; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--so-magenta); }
  .rail__k--alt { grid-column: 1; color: var(--ink); }
  .rail__k--main { grid-column: 3 / 7; }
  .rail__sep { grid-column: 2; grid-row: 1 / 3; margin: 0; }
  .so .rail ~ .phones__hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .so-marquee__in { animation: none; }
}
