.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.scene-jump, .case-link, .source-link { font-size: 17px; font-weight: 550; }
.scene-jump { min-height: 46px; color: #534754; text-decoration: underline; text-decoration-color: #b6abb5; text-underline-offset: .28em; }
.scene-jump:hover, .source-link:hover, .resume-sheet h3 a:hover { text-decoration-color: currentColor; }
.scene-book { background: var(--paper); scroll-margin-top: 76px; }
.scene-inner { max-width: var(--frame); margin: 0 auto; padding: clamp(62px,7.2vw,106px) var(--pad) clamp(76px,8vw,118px); }
.scene-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin: 0 0 clamp(22px,3vw,38px); }
.scene-heading h2 { font-size: clamp(38px,4.3vw,64px); font-weight: 650; letter-spacing: -.045em; line-height: 1.13; }
.case-link { display: inline-flex; align-items: center; min-height: 44px; gap: .5em; color: #4e4355; white-space: nowrap; }
.case-link:hover { text-decoration: underline; text-underline-offset: .23em; }
.scene-board {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 29px;
  min-height: clamp(420px,39vw,550px);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: clamp(30px,4.3vw,66px); color: #fff; background: #2f2932;
  transition: background-color .5s;
}
.scene-board::before { content: ""; position: absolute; pointer-events: none; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 80% 22%, #fff2 0%, transparent 57%), linear-gradient(112deg, transparent 36%, #ffffff06 70%, #0001 100%);
}
.scene-board[data-scene=city] { background-color: #412d2e; }
.scene-board[data-scene=snow] { background-color: #2a3742; }
.scene-board[data-scene=train] { background-color: #263831; }
.scene-art { position: absolute; right: 3%; top: 0; width: 47%; height: 100%; touch-action: pan-y; }
.scene-print { position: absolute; left: 46%; top: 49%; height: 79%; aspect-ratio: 2 / 3; margin: 0; transform-origin: 48% 71%;
  border-radius: 4px; overflow: hidden; background: #39323b; box-shadow: 0 17px 29px -11px #08081092;
  transition: transform .56s cubic-bezier(.21,.74,.19,1), filter .42s, opacity .42s;
}
.scene-print img { width: 100%; height: 100%; display: block; object-fit: cover; }
.scene-print::after { content:"";position:absolute;inset:0;border:1px solid #ffffff29;border-radius:inherit;pointer-events:none; }
.scene-print[data-place=front] { z-index:4; transform: translate(-50%,-50%) rotate(1deg); }
.scene-print[data-place=next] { z-index:3; transform: translate(-30%,-50%) rotate(10deg) scale(.91); filter:brightness(.8); }
.scene-print[data-place=far] { z-index:1; transform: translate(-45%,-54%) rotate(4deg) scale(.84); filter:brightness(.7); }
.scene-print[data-place=prev] { z-index:2; transform: translate(-65%,-50%) rotate(-8deg) scale(.92); filter:brightness(.82); }
.scene-story { position: relative; width: 49%; margin: auto 0; }

.scene-story h3 { font-size: clamp(47px,5.25vw,82px); letter-spacing: -.05em; font-weight: 600; line-height: 1.22; margin: 0 0 13px; }
.scene-chooser { position: relative; max-width: 50%; display: flex; gap: 4px; flex-wrap: wrap; }
.scene-choice { color: #d6ccd5; min-height: 44px; border-bottom: 2px solid transparent; padding: 0 clamp(6px,.75vw,15px); font-size: 16px; line-height: 1.25; font-weight: 540; }
.scene-choice:first-child { padding-inline-start: 0; }
.scene-choice:hover { color: white; }
.scene-choice[aria-checked=true] { color: white; border-color: #e9ddeb; }
.scene-choice:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.work-label .work-caption { margin-top: 4px; color: #5d5660; font-size: clamp(16px,1.35vw,19px); font-weight: 400; line-height: 1.45; }
.works { min-height: auto; }
.resume-sheet h3 a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: #c6bfc8; }
.source-link { display: inline-flex; align-items: center; min-height: 44px; color: #55465c; text-decoration: underline; text-underline-offset: .22em; text-decoration-color: #bcafbf; }
@media (max-width:900px) {
  .scene-board { min-height: 390px; }
  .scene-chooser { display: grid; grid-template-columns: repeat(2,max-content); column-gap: 14px; }
  .scene-choice { padding-inline: 4px; }
}
@media (max-width:640px) {
  .scene-book { scroll-margin-top: 62px; }
  .hero-actions { justify-content: center; gap: 6px 18px; }
  .scene-jump { font-size: 16px; }
  .scene-inner { padding: 60px var(--pad) 65px; }
  .scene-heading { align-items:start; flex-direction:column; gap:1px; margin-bottom:13px;}
  .scene-heading h2 { font-size:clamp(36px,8.8vw,52px); }
  .scene-board { padding: 0 20px 16px; min-height:0; border-radius:21px; }
  .scene-art { aspect-ratio:1.47; position:relative; top:auto; right:auto; width:calc(100% + 40px); margin:0 -20px; height:auto; }
  .scene-print { height:79%; left:51%; top:52%; }
  .scene-story { margin:0 0 11px; width:100%; }
  .scene-story h3 { margin:4px 0; font-size:clamp(36px,9vw,52px); }

  .scene-chooser { display:grid; max-width:none; width:100%; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; }
  .scene-choice { font-size:15px; padding:0; white-space:nowrap; min-height:46px; }
  .work-label .work-caption { font-size:16px; }
}
@media (prefers-reduced-motion: reduce) { .scene-print, .scene-board { transition:none; } }


.scene-art { user-select: none; -webkit-user-select: none; }
.scene-print { cursor: grab; }
.scene-art.is-dragging .scene-print { cursor: grabbing; }
.scene-art.is-dragging .scene-print[data-place=front] { translate: var(--pull, 0px) 0; rotate: var(--tilt, 0deg); }
@media (max-width:640px) {
  .scene-story { margin-top: 3px; }
  .scene-choice { font-size: clamp(14px,3.9vw,16px); }
}
@media (max-width:365px) {
  .scene-chooser { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 8px; margin-top: 3px; }
  .scene-choice { min-height: 44px; font-size: 16px; border: 1px solid #ffffff40; border-radius: 10px; }
  .scene-choice[aria-checked=true] { color: #29252a; background: #f5f1f4; border-color: #f5f1f4; }
}
