/* SOUND FRAME — Case Experience (web-product project modal). Shared by HOME (Selected Work) and WORK (Web Experiences). */
.phone { border: clamp(3px, .45vw, 6px) solid #1b1b1d; border-radius: clamp(16px, 2.4vw, 32px); overflow: hidden; background: #1b1b1d; box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .85); }
.phone img { width: 100%; aspect-ratio: 375 / 812; object-fit: cover; object-position: top; background: var(--graphite); display: block; }
/* ---- case experience ---- */
.cs__intro { padding: clamp(20px, 2.6vw, 40px) var(--gutter) clamp(20px, 2.6vw, 36px); display: grid; gap: clamp(20px, 2.6vw, 36px); }
.cs__intro h2 { font-weight: 300; font-size: clamp(28px, 4vw, 64px); line-height: 1.06; letter-spacing: -.04em; }
.cs__side { display: grid; gap: 14px; align-content: start; max-width: none; }
.cs__desc { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.75; color: rgba(244, 239, 231, .86); }
.cs__side .lnk { justify-self: start; margin-top: 8px; }
.cs__full { display: block; padding-inline: var(--gutter); }
.cs__full img { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(100svh - 168px); margin-inline: auto; background: var(--graphite); }
.cs__seq { padding-inline: var(--gutter); display: grid; gap: clamp(14px, 2vw, 32px); align-items: end; margin-top: clamp(40px, 6vw, 112px); min-width: 0; }
.cs__seq > * { min-width: 0; }
.cs__fig img { width: 100%; height: auto; background: var(--graphite); display: block; }
.cs__pause { box-sizing: content-box; width: fit-content; max-width: min(100% - 2 * var(--gutter), 15em); margin: clamp(96px, 15vw, 260px) auto clamp(80px, 12vw, 220px); text-align: center; font-weight: 300; font-size: clamp(24px, 4.4vw, 72px); line-height: 1.18; letter-spacing: -.035em; }
.cs__pause span { display: block; }
.cs__pause span:nth-child(odd) { color: var(--ivory); }
.cs__pause span:nth-child(even) { color: var(--muted); font-size: .72em; margin-top: .45em; letter-spacing: -.02em; }
.cs__pause span:nth-child(3) { margin-top: 1.1em; font-size: 1em; color: var(--ivory); }
.cs__mm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 24px); }
.cs__sub { margin-top: clamp(64px, 9vw, 160px); padding-top: clamp(28px, 3vw, 48px); border-top: 1px solid var(--line); margin-inline: var(--gutter); }
.cs__sub > .label { margin-bottom: 24px; }
.cs__sub .cs__seq { padding-inline: 0; margin-top: 0; }
.cs__sibs { margin: clamp(64px, 9vw, 160px) var(--gutter) 0; border-top: 1px solid var(--line); padding-top: clamp(28px, 3vw, 48px); }
.cs__sibs h3 { font-weight: 300; font-size: clamp(22px, 3vw, 44px); line-height: 1.2; letter-spacing: -.03em; margin: 14px 0 clamp(24px, 3vw, 40px); }
.cs__sibs ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.cs__sib button { display: block; width: 100%; text-align: left; opacity: .5; transition: opacity .25s; }
.cs__sib button[aria-current="true"], .cs__sib button:hover, .cs__sib button:focus-visible { opacity: 1; }
.cs__sib img { width: 100%; aspect-ratio: 1425 / 891; object-fit: cover; object-position: top; background: var(--graphite); }
.cs__sib strong { display: block; margin-top: 10px; font-size: 14px; font-weight: 500; }
.cs__sib em { display: block; font-style: normal; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.cs__sib .lnk { margin-top: 4px; font-size: 11px; }
.cs__foot { border-top: 1px solid var(--line); margin-top: clamp(64px, 9vw, 160px); }
.cs__next { display: block; padding: clamp(40px, 6vw, 96px) var(--gutter); }
.cs__next strong { display: block; margin-top: 12px; font-weight: 300; font-size: clamp(26px, 4vw, 60px); letter-spacing: -.03em; transition: transform .5s var(--ease); }
.cs__next:hover strong { transform: translateX(10px); }
@media (min-width: 900px) {
.cs__intro { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; column-gap: clamp(32px, 4vw, 72px); }
.cs__seq--a { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.cs__seq--a .cs__fig--d { grid-column: 1 / span 8; }
.cs__seq--a .phone { grid-column: 10 / span 3; margin-bottom: clamp(24px, 4vw, 64px); }
.cs__seq--c { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.cs__seq--c .cs__fig--d { grid-column: 3 / span 10; }
.cs__seq--d { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
.cs__seq--d .cs__mm { grid-column: 1 / span 5; }
.cs__seq--d .cs__fig--d { grid-column: 6 / span 7; margin-top: clamp(40px, 8vw, 128px); }
.cs__sibs ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
.cs__seq--a .phone { width: 46%; justify-self: end; }
}
.cs__sibs h3 { white-space: pre-line; }
@media (max-width: 767px) {
.d-only { display: none; }
.cs__mm { grid-template-columns: minmax(0, 1fr); max-width: 56%; }
.cs__sibs ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------- Patch 05: Web Experience modal — air under the intro, first image on the same grid as the intro ---------------- */
.cs__intro { padding-top: clamp(14px, 1.6vw, 24px); padding-bottom: clamp(36px, 3.6vw, 56px); }
@media (min-width: 900px) {
  .cs__intro { --csw: calc((100svh - 156px) * 1.5994); max-width: var(--csw); margin-inline: auto; box-sizing: content-box; }
  .cs__full img { width: min(100%, calc((100svh - 156px) * 1.5994)); max-height: none; height: auto; aspect-ratio: 1425 / 891; object-fit: cover; object-position: top; }
}
/* Patch 06: wide desktop — the first image is no longer shrunk by the viewport height (1920x1080 gave 1478px); it follows the content grid, keeps the approved 1600px at 1920 and scales with the screen above it (83.34vw). Intro uses the same grid. */
@media (min-width: 1600px) {
  .cs__intro { --csw: max(1600px, 83.34vw); }
  .cs__full img { width: min(100%, max(1600px, 83.34vw)); }
}
/* mobile: the phone screen takes the whole content width */
@media (max-width: 767px) { .cs__full img { width: 100%; max-height: none; } }

/* Patch 06: Web Experience modal — artist/product block stays on the left content line (same as the first image); only the right detail block moves right */
@media (min-width: 900px) { .cs__intro > :last-child { padding-left: clamp(0px, 4.5vw, 100px); } }
