:root {
  color-scheme: dark;
  --studio-black: #101110;
  --studio-panel: #171817;
  --studio-line: rgba(255,255,255,.16);
  --studio-muted: #a9aaa7;
  --paper: #f3efe7;
  --paper-deep: #e8e1d6;
  --ink: #171715;
  --night: #080a09;
  --powder: #a9c5dd;
  --powder-ink: #263646;
  --reading: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", system-ui, sans-serif;
  --display: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
  --ease-out: cubic-bezier(.2,.8,.2,1);
  --ease-cinema: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--studio-black); }
body { margin: 0; min-width: 320px; background: var(--studio-black); color: #fff; font-family: var(--reading); }
button, input, textarea, select { font: inherit; }
button, a, select, input, textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  background: #fff;
  color: #111;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

:focus-visible { outline: 3px solid #8fc8ff; outline-offset: 4px; }

/* Studio — the control room never becomes the public page. */
.studio-bar {
  position: fixed;
  z-index: 120;
  inset: 0 0 auto 0;
  min-height: 58px;
  padding: 8px 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  background: rgba(12,13,12,.96);
  border-bottom: 1px solid var(--studio-line);
  backdrop-filter: blur(12px);
}

.studio-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.studio-brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.54);
  font-size: 11px;
  letter-spacing: .08em;
}
.studio-brand strong, .studio-brand small { display: block; }
.studio-brand strong { font-size: 11px; letter-spacing: .14em; }
.studio-brand small { margin-top: 3px; color: var(--studio-muted); font-size: 10px; }

.mode-switch { display: flex; padding: 3px; border: 1px solid var(--studio-line); }
.mode-switch__button {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--studio-muted);
  cursor: pointer;
}
.mode-switch__button.is-active { background: #f1f0ec; color: #111; }
.studio-reset {
  justify-self: end;
  min-height: 42px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.52);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.studio-panel {
  position: fixed;
  z-index: 90;
  top: 58px;
  bottom: 0;
  left: 0;
  width: 312px;
  padding: 24px 18px 48px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--studio-panel);
  border-right: 1px solid var(--studio-line);
}
.studio-panel__intro { padding: 0 4px 24px; border-bottom: 1px solid var(--studio-line); }
.studio-label { margin: 0 0 10px; color: #b9d6ec; font-size: 10px; letter-spacing: .2em; }
.studio-panel__intro h1 { margin: 0; font: 500 25px/1.3 var(--display); }
.studio-panel__intro > p:last-child { margin: 13px 0 0; color: var(--studio-muted); font-size: 12px; line-height: 1.8; }
.studio-block { padding: 24px 4px; border-bottom: 1px solid var(--studio-line); }
.studio-block__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.studio-block__heading h2 { margin: 0; font-size: 13px; font-weight: 600; }
.studio-block__heading span { color: var(--studio-muted); font-size: 10px; }

.part-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.part-item { display: grid; grid-template-columns: minmax(0,1fr) auto; border: 1px solid transparent; background: #202220; }
.part-item.is-selected { border-color: #b9d6ec; }
.part-item__select {
  min-height: 48px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.part-item__select span:first-child { color: #8f918d; font: 10px/1 var(--reading); }
.part-item__select strong { display: block; font-size: 12px; font-weight: 500; }
.part-item__select small { display: block; margin-top: 3px; color: var(--studio-muted); font-size: 9px; }
.part-item__actions { display: flex; align-items: stretch; }
.part-item__actions button {
  width: 34px;
  min-height: 44px;
  border: 0;
  border-left: 1px solid rgba(255,255,255,.08);
  background: transparent;
  color: #d9dad7;
  cursor: pointer;
}
.part-item__actions button:disabled { opacity: .22; cursor: default; }

.add-list { display: grid; gap: 8px; }
.add-part {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.add-part small { color: var(--studio-muted); }
.add-part:disabled { opacity: .42; cursor: default; }

.inspector-empty { margin: 0; color: var(--studio-muted); font-size: 12px; line-height: 1.8; }
.field-list { display: grid; gap: 15px; }
.field-list label { display: grid; gap: 7px; }
.field-list label > span { color: #c8c9c6; font-size: 11px; }
.field-list input, .field-list textarea, .studio-motion select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 0;
  background: #0f100f;
  color: #fff;
}
.field-list input { min-height: 44px; padding: 10px 11px; }
.field-list textarea { min-height: 88px; padding: 10px 11px; resize: vertical; line-height: 1.7; }
.field-note { margin: 8px 0 0; color: #8f918d; font-size: 10px; line-height: 1.7; }
.studio-motion label { display: grid; gap: 8px; }
.studio-motion label > span { color: #c8c9c6; font-size: 11px; }
.studio-motion select { min-height: 44px; padding: 8px 10px; }
.studio-motion p { margin: 12px 0 0; color: var(--studio-muted); font-size: 10px; line-height: 1.7; }

.studio-preview { min-height: 100vh; padding: 86px 28px 56px 340px; background: #111210; transition: padding .35s var(--ease-out); }
.preview-meta {
  max-width: 960px;
  margin: 0 auto 10px;
  display: flex;
  justify-content: space-between;
  color: #777a75;
  font-size: 9px;
  letter-spacing: .12em;
}
body[data-studio-mode="preview"] .studio-panel { display: none; }
body[data-studio-mode="preview"] .studio-preview { padding: 58px 0 0; }
body[data-studio-mode="preview"] .preview-meta { display: none; }
body[data-studio-mode="preview"] .portfolio { max-width: none; }
body[data-presentation="page"] .studio-bar,
body[data-presentation="page"] .studio-panel { display: none; }
body[data-presentation="page"] .studio-preview { display: block; padding: 0; }
body[data-presentation="page"] .portfolio { max-width: none; box-shadow: none; }
body[data-presentation="page"] .portfolio-progress { top: 0; }

/* Front stage */
.portfolio {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  overflow: clip;
  background: var(--night);
  color: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,.34);
  line-break: strict;
  word-break: normal;
}
.portfolio-progress { position: fixed; z-index: 80; top: 58px; left: 0; right: 0; height: 2px; pointer-events: none; }
.portfolio-progress span { display: block; width: 100%; height: 100%; background: #a8c8df; transform: scaleX(0); transform-origin: left; }
.portfolio-sections { position: relative; }
.portfolio-scene { position: relative; width: 100%; overflow: hidden; }
.portfolio-scene[hidden] { display: none !important; }

.atlas-crop { position: absolute; overflow: hidden; background: #151714; }
.atlas-crop > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: auto;
  filter: saturate(.96) contrast(1.02);
}
.atlas-crop.is-image-failed::after {
  content: attr(aria-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #262824;
  color: #e9e7df;
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}
.atlas-crop.is-image-failed img { display: none; }

/* Arrival */
.hero-scene { aspect-ratio: 864/331; isolation: isolate; }
.atlas-crop--hero { z-index: -3; inset: 0; }
.atlas-crop--hero > img { transform: translateY(0); }
.hero-scene::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,6,5,.95) 0%, rgba(4,6,5,.56) 23%, transparent 41%),
    linear-gradient(90deg, transparent 54%, rgba(5,7,6,.18) 63%, rgba(5,7,6,.94) 78%);
  pointer-events: none;
}
.hero-scene__shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.3)); pointer-events: none; }
.hero-scene__utility { position: absolute; top: 5.8%; right: 3%; margin: 0; color: rgba(255,255,255,.68); font-size: clamp(7px,.72vw,11px); letter-spacing: .18em; }
.hero-scene__name {
  position: absolute;
  z-index: 2;
  top: 7%;
  left: 3.1%;
  margin: 0;
  color: #fff;
  font: 400 clamp(58px,9.3vw,142px)/.94 var(--display);
  letter-spacing: -.08em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  white-space: nowrap;
}
.hero-scene__message { position: absolute; z-index: 2; right: 4.3%; bottom: 9.5%; width: 21%; min-width: 150px; }
.hero-scene__message p { margin: 0 0 clamp(20px,3vw,42px); font: 400 clamp(17px,2.2vw,32px)/1.85 var(--display); letter-spacing: .12em; writing-mode: vertical-rl; height: 8.8em; white-space: pre-line; }
.hero-scene__message a, .closing-scene__panel a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid rgba(255,255,255,.72);
  font-size: clamp(9px,.86vw,13px);
  text-decoration: none;
}
.hero-scene__message a::after, .closing-scene__panel a::after { content: "→"; margin-left: 14px; }
.hero-scene__scroll { position: absolute; left: 50%; bottom: 3%; display: flex; gap: 8px; color: rgba(255,255,255,.6); font-size: 8px; letter-spacing: .18em; text-decoration: none; transform: translateX(-50%); }

/* Photographic dialogue */
.depth-scene { aspect-ratio: 864/510; background: #0b0d0c; }
.atlas-crop--depth { inset: 0; }
.atlas-crop--depth > img { transform: translateY(-18.187%); }
.depth-scene::after { content: ""; position: absolute; inset: 0; border-top: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.1); pointer-events: none; }
.depth-scene__caption { position: absolute; z-index: 2; left: 3%; right: 3%; bottom: 2.5%; margin: 0; display: flex; justify-content: space-between; color: rgba(255,255,255,.48); font-size: clamp(7px,.7vw,10px); letter-spacing: .18em; }

/* Case sheet */
.case-scene { aspect-ratio: 864/312; background: #080a09; overflow: visible; }
.case-scene__photo { left: 0; top: 0; bottom: 0; width: 48%; }
.atlas-crop--cafe > img { width: 208.333%; transform: translateY(-46.264%); }
.case-sheet {
  position: absolute;
  z-index: 3;
  top: -3%;
  right: 0;
  width: 56%;
  min-height: 100%;
  padding: clamp(25px,4.2vw,64px) clamp(24px,4vw,58px);
  display: grid;
  grid-template-columns: 36% minmax(0,1fr);
  gap: clamp(22px,3.8vw,56px);
  background: var(--paper);
  color: var(--ink);
  box-shadow: -18px -8px 36px rgba(0,0,0,.16);
  transform: rotate(.38deg);
  transform-origin: right top;
}
.case-sheet::before { content: ""; position: absolute; inset: 11% auto 11% 39%; width: 1px; background: rgba(23,23,21,.2); }
.case-sheet__title { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; column-gap: 10px; }
.case-sheet__title > p:first-child { grid-column: 1/-1; margin: 0 0 18px; font-size: 8px; letter-spacing: .16em; }
.case-sheet__title h2 { grid-column: 2; grid-row: 2; margin: 0; font: 400 clamp(31px,4.1vw,62px)/1.05 var(--display); letter-spacing: .02em; writing-mode: vertical-rl; }
.case-sheet__title > p:last-child { grid-column: 1; grid-row: 2; align-self: end; margin: 0; font-size: clamp(9px,1vw,14px); line-height: 2; }
.case-sheet__ledger { margin: 0; align-self: center; }
.case-sheet__ledger > div { display: grid; grid-template-columns: 54px 1fr; gap: 10px; padding: clamp(11px,1.5vw,20px) 0; border-bottom: 1px solid rgba(23,23,21,.18); }
.case-sheet__ledger > div:last-child { border-bottom: 0; }
.case-sheet__ledger dt { font: 500 clamp(9px,.9vw,13px)/1.8 var(--display); }
.case-sheet__ledger dd { margin: 0; font-size: clamp(9px,.82vw,12px); line-height: 1.9; }

/* Decision ledger */
.decision-scene { aspect-ratio: 864/250; background: #090b0a; overflow: hidden; }
.decision-sheet {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 7%;
  width: 81%;
  min-height: 100%;
  padding: clamp(28px,4.6vw,70px) clamp(22px,4vw,60px);
  display: grid;
  grid-template-columns: minmax(0,1fr) 13% minmax(0,1fr);
  gap: clamp(20px,3vw,44px);
  background: #f5f2eb;
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(0,0,0,.24);
}
.commission-ledger h2, .workflow-ledger h2 { margin: 0 0 clamp(20px,2.8vw,40px); font: 400 clamp(22px,2.8vw,42px)/1.2 var(--display); }
.commission-ledger dl { margin: 0; }
.commission-ledger dl > div { display: grid; grid-template-columns: 35% 1fr; gap: 14px; padding: 7px 0; }
.commission-ledger dt, .commission-ledger dd { font-size: clamp(8px,.78vw,11px); line-height: 1.7; }
.commission-ledger dd { margin: 0; }
.decision-slit { position: relative; inset: auto; width: 100%; height: 100%; min-height: 170px; }
.atlas-crop--slit > img { width: 769.23%; left: -342%; transform: translateY(-63.95%); }
.workflow-ledger ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.workflow-ledger li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; }
.workflow-ledger li > span { font: 400 clamp(17px,1.8vw,27px)/1 var(--display); color: #77746e; }
.workflow-ledger h3 { margin: 0 0 2px; font-size: clamp(9px,.85vw,12px); font-weight: 600; }
.workflow-ledger p { margin: 0; font-size: clamp(8px,.73vw,10px); line-height: 1.6; }
.decision-scene__display { position: absolute; z-index: 1; top: 8%; right: -3%; margin: 0; color: #efece5; font: 400 clamp(90px,15vw,230px)/1 var(--display); }

/* Creator identity */
.profile-scene { aspect-ratio: 864/232; display: grid; grid-template-columns: 39% 61%; background: #080a09; }
.profile-scene__portrait { position: relative; inset: auto; width: 100%; height: 100%; }
.atlas-crop--profile > img { width: 256.41%; transform: translateY(-76.484%); }
.profile-scene__copy { padding: clamp(28px,4.6vw,70px) clamp(28px,5.5vw,84px); align-self: center; }
.profile-scene__copy > p:first-child { margin: 0 0 12px; color: rgba(255,255,255,.58); font-size: 8px; letter-spacing: .18em; }
.profile-scene__copy h2 { margin: 0; font: 400 clamp(42px,5.4vw,82px)/1 var(--display); letter-spacing: .04em; }
.profile-scene__meta { margin: 12px 0 0; font: 400 clamp(12px,1.2vw,18px)/1.5 var(--display); }
.profile-scene__bio { max-width: 34em; margin: clamp(14px,2vw,28px) 0; color: rgba(255,255,255,.76); font-size: clamp(10px,.9vw,13px); line-height: 2; }
.profile-scene__socials { display: flex; flex-wrap: wrap; gap: 8px 0; }
.profile-scene__socials a { min-height: 36px; padding: 8px 20px; border-left: 1px solid rgba(255,255,255,.42); font: 400 clamp(10px,.92vw,13px)/1.5 var(--display); text-decoration: none; }
.profile-scene__socials a:first-child { padding-left: 0; border-left: 0; }
.profile-scene__notice { margin: 10px 0 0; color: rgba(255,255,255,.42); font-size: 8px; }

/* Closing aperture */
.closing-scene { aspect-ratio: 864/176; background: var(--powder); }
.atlas-crop--closing { inset: 0; }
.atlas-crop--closing > img { transform: translateY(-89.121%); }
.closing-scene__panel {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  bottom: 0;
  width: 44%;
  padding: clamp(24px,4vw,60px) clamp(26px,5vw,74px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(169,197,221,.97);
  color: var(--powder-ink);
}
.closing-scene__panel h2 { margin: 0; font: 400 clamp(31px,4.1vw,62px)/1.2 var(--display); letter-spacing: .06em; }
.closing-scene__panel p { margin: clamp(12px,1.8vw,24px) 0; font-size: clamp(9px,.85vw,12px); line-height: 1.7; }
.closing-scene__panel a { max-width: 240px; border-color: rgba(38,54,70,.68); }

.platform-credit { min-height: 28px; padding: 7px 18px; display: grid; place-items: center; background: var(--paper); color: #876f58; }
.platform-credit p { margin: 0; font: 400 clamp(8px,.72vw,11px)/1.5 var(--display); letter-spacing: .09em; }
.platform-credit span { color: #504033; }

.inserted-scene { min-height: 440px; padding: clamp(70px,10vw,150px) clamp(34px,10vw,150px); }
.inserted-scene.op-part--statement { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); align-items: end; gap: 8vw; background: var(--powder); color: var(--powder-ink); }
.inserted-scene.op-part--statement h2 { margin: 0; font: 400 clamp(48px,8vw,118px)/1.06 var(--display); }
.inserted-scene.op-part--statement > div { max-width: 31em; }
.inserted-scene.op-part--statement p { margin: 0; font-size: clamp(12px,1.2vw,17px); line-height: 2.1; }
.inserted-scene.op-part--faq { background: #f3efe7; color: var(--ink); }
.inserted-scene.op-part--faq h2 { margin: 0 0 45px; font: 400 clamp(34px,5vw,72px)/1.2 var(--display); }
.inserted-scene.op-part--faq details { max-width: 720px; border-top: 1px solid rgba(23,23,21,.25); }
.inserted-scene.op-part--faq details:last-child { border-bottom: 1px solid rgba(23,23,21,.25); }
.inserted-scene.op-part--faq summary { min-height: 58px; padding: 17px 0; cursor: pointer; font-size: 13px; }
.inserted-scene.op-part--faq details p { margin: 0; padding: 0 0 22px; max-width: 40em; font-size: 12px; line-height: 1.9; }

/* Motion: readable rest exists before enhancement. */
.portfolio.is-motion-ready [data-scene]::after { transition: transform 1.1s var(--ease-cinema); }
.portfolio.is-motion-ready [data-scene]:not(.is-visible) .case-sheet,
.portfolio.is-motion-ready [data-scene]:not(.is-visible) .decision-sheet,
.portfolio.is-motion-ready [data-scene]:not(.is-visible) .profile-scene__copy,
.portfolio.is-motion-ready [data-scene]:not(.is-visible) .closing-scene__panel {
  opacity: .01;
  transform: translateY(34px);
}
.portfolio.is-motion-ready .case-sheet,
.portfolio.is-motion-ready .decision-sheet,
.portfolio.is-motion-ready .profile-scene__copy,
.portfolio.is-motion-ready .closing-scene__panel {
  transition: opacity .7s var(--ease-out), transform 1s var(--ease-cinema);
}
.portfolio.is-motion-ready .depth-scene::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  background: #0b0d0c;
  transform: scaleX(0);
  transform-origin: right;
  pointer-events: none;
}
.portfolio.is-motion-ready .depth-scene:not(.is-visible)::before { transform: scaleX(1); }
.portfolio.is-motion-ready .depth-scene::before { transition: transform 1.25s var(--ease-cinema); }
.portfolio[data-effect-level="standard"] .op-webgl-canvas,
.portfolio[data-effect-level="static"] .op-webgl-canvas { display: none; }
.portfolio[data-effect-level="static"] [data-scene] * { transition: none !important; animation: none !important; }

.noscript-note { position: fixed; z-index: 20; left: 12px; bottom: 12px; margin: 0; padding: 10px 14px; background: #fff; color: #111; font-size: 11px; }

@media (min-width: 1200px) {
  body[data-studio-mode="preview"] .hero-scene { min-height: 0; max-height: none; }
}

@media (max-width: 1024px) {
  .studio-panel { width: 286px; }
  .studio-preview { padding-left: 310px; padding-right: 18px; }
  .case-sheet { width: 61%; }
  .decision-sheet { left: 4%; width: 89%; }
  .profile-scene { grid-template-columns: 42% 58%; }
  .profile-scene__copy { padding-left: 36px; padding-right: 34px; }
}

@media (max-width: 760px) {
  html { scroll-behavior: auto; }
  .studio-bar {
    position: sticky;
    grid-template-columns: minmax(0,1fr) auto;
    min-height: 60px;
    padding: 8px 10px;
  }
  .studio-brand strong { font-size: 9px; }
  .studio-brand small { font-size: 8px; }
  .studio-brand__mark { width: 32px; height: 32px; }
  .mode-switch__button { min-height: 44px; padding: 0 12px; font-size: 12px; }
  .studio-reset { display: none; }
  .studio-panel {
    position: static;
    width: 100%;
    height: auto;
    min-height: calc(100dvh - 60px);
    padding: 24px 18px 80px;
    border-right: 0;
  }
  .studio-preview { display: none; padding: 0; }
  body[data-studio-mode="preview"] .studio-panel { display: none; }
  body[data-studio-mode="preview"] .studio-preview { display: block; padding: 0; }
  body[data-studio-mode="preview"] .studio-bar { position: sticky; }
  body[data-studio-mode="preview"] .portfolio { max-width: none; box-shadow: none; }
  body[data-presentation="page"] .studio-bar { display: none; }
  .portfolio-progress { top: 60px; }

  .hero-scene { min-height: 720px; max-height: none; aspect-ratio: auto; }
  .atlas-crop--hero > img { width: 220%; left: -59%; transform: none; }
  .hero-scene::before {
    background:
      linear-gradient(90deg, rgba(4,6,5,.93) 0%, rgba(4,6,5,.35) 40%, transparent 62%),
      linear-gradient(180deg, transparent 46%, rgba(5,7,6,.92) 82%);
  }
  .hero-scene__utility { top: 20px; right: 18px; font-size: 8px; }
  .hero-scene__name { top: 34px; left: 15px; font-size: clamp(70px,23vw,96px); }
  .hero-scene__message { right: 22px; bottom: 70px; width: 52%; min-width: 0; }
  .hero-scene__message p { height: auto; margin-bottom: 22px; font-size: 24px; line-height: 1.75; writing-mode: horizontal-tb; }
  .hero-scene__message a { font-size: 11px; }
  .hero-scene__scroll { bottom: 22px; }

  .depth-scene { height: 680px; aspect-ratio: auto; }
  .atlas-crop--depth > img { width: 174%; left: -33%; transform: translateY(-18.187%); }
  .depth-scene__caption { bottom: 18px; padding: 0 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; font-size: 7px; }
  .depth-scene__caption span:nth-child(even) { text-align: right; }

  .case-scene { min-height: 840px; aspect-ratio: auto; overflow: hidden; }
  .case-scene__photo { top: 0; left: 0; width: 100%; height: 47%; }
  .atlas-crop--cafe > img { width: 100%; transform: translateY(-46.264%); }
  .case-sheet {
    top: 34%;
    right: -3%;
    width: 94%;
    min-height: 64%;
    padding: 42px 28px 46px;
    grid-template-columns: 1fr;
    gap: 28px;
    transform: rotate(.45deg);
  }
  .case-sheet::before { display: none; }
  .case-sheet__title { min-height: 170px; grid-template-columns: 1fr auto; }
  .case-sheet__title h2 { font-size: 42px; }
  .case-sheet__title > p:last-child { max-width: 13em; font-size: 11px; }
  .case-sheet__ledger > div { grid-template-columns: 46px 1fr; padding: 10px 0; }
  .case-sheet__ledger dt, .case-sheet__ledger dd { font-size: 11px; }

  .decision-scene { min-height: 930px; aspect-ratio: auto; padding: 58px 0 70px; }
  .decision-sheet {
    position: relative;
    top: auto;
    left: 4%;
    width: 92%;
    min-height: 0;
    padding: 50px 28px;
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .commission-ledger h2, .workflow-ledger h2 { margin-bottom: 26px; font-size: 33px; }
  .commission-ledger dl > div { grid-template-columns: 35% 1fr; padding: 9px 0; border-bottom: 1px solid rgba(23,23,21,.12); }
  .commission-ledger dt, .commission-ledger dd { font-size: 10px; }
  .decision-slit { height: 190px; min-height: 0; }
  .atlas-crop--slit > img { width: 210%; left: -58%; transform: translateY(-63.95%); }
  .workflow-ledger ol { gap: 17px; }
  .workflow-ledger li { grid-template-columns: 42px 1fr; }
  .workflow-ledger li > span { font-size: 24px; }
  .workflow-ledger h3 { font-size: 12px; }
  .workflow-ledger p { font-size: 10px; }
  .decision-scene__display { top: auto; right: -13%; bottom: -1%; font-size: 150px; }

  .profile-scene { min-height: 790px; aspect-ratio: auto; display: block; }
  .profile-scene__portrait { width: 100%; height: 430px; }
  .atlas-crop--profile > img { width: 155%; left: -12%; transform: translateY(-76.484%); }
  .profile-scene__copy { padding: 48px 28px 58px; }
  .profile-scene__copy h2 { font-size: 54px; }
  .profile-scene__meta { font-size: 14px; }
  .profile-scene__bio { margin: 24px 0; font-size: 12px; }
  .profile-scene__socials { display: grid; grid-template-columns: 1fr 1fr; }
  .profile-scene__socials a { min-height: 46px; padding: 12px 14px; border-top: 1px solid rgba(255,255,255,.22); border-left: 0; font-size: 12px; }
  .profile-scene__socials a:nth-child(even) { border-left: 1px solid rgba(255,255,255,.22); }
  .profile-scene__notice { font-size: 9px; }

  .closing-scene { min-height: 670px; aspect-ratio: auto; }
  .atlas-crop--closing > img { width: 265%; left: -21%; transform: translateY(-89.121%); }
  .closing-scene__panel {
    top: auto;
    right: 0;
    bottom: 0;
    left: 17%;
    width: 83%;
    height: 47%;
    padding: 48px 34px;
    justify-content: center;
  }
  .closing-scene__panel h2 { font-size: 42px; }
  .closing-scene__panel p { margin: 22px 0; font-size: 11px; }
  .closing-scene__panel a { font-size: 11px; }
  .platform-credit { min-height: 46px; padding: 10px 15px; }
  .platform-credit p { font-size: 8px; text-align: center; }
  .inserted-scene { min-height: 650px; padding: 90px 26px; }
  .inserted-scene.op-part--statement { grid-template-columns: 1fr; align-content: center; gap: 70px; }
  .inserted-scene.op-part--statement h2 { font-size: 66px; }
  .inserted-scene.op-part--faq h2 { font-size: 43px; }
}

@media (max-width: 380px) {
  .studio-brand strong { display: none; }
  .hero-scene__name { font-size: 70px; }
  .hero-scene__message { width: 57%; }
  .hero-scene__message p { font-size: 22px; }
  .case-sheet { width: 96%; padding-left: 23px; padding-right: 23px; }
  .decision-sheet { padding-left: 23px; padding-right: 23px; }
  .profile-scene__copy { padding-left: 23px; padding-right: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .portfolio.is-motion-ready [data-scene]:not(.is-visible) .case-sheet,
  .portfolio.is-motion-ready [data-scene]:not(.is-visible) .decision-sheet,
  .portfolio.is-motion-ready [data-scene]:not(.is-visible) .profile-scene__copy,
  .portfolio.is-motion-ready [data-scene]:not(.is-visible) .closing-scene__panel { opacity: 1; transform: none; }
  .portfolio.is-motion-ready .depth-scene:not(.is-visible)::before { transform: scaleX(0); }
  .op-webgl-canvas { display: none !important; }
}

html[data-motion="reduce"] { scroll-behavior: auto; }
html[data-motion="reduce"] *, html[data-motion="reduce"] *::before, html[data-motion="reduce"] *::after { animation: none !important; transition: none !important; }
html[data-motion="reduce"] .portfolio.is-motion-ready [data-scene] * { opacity: 1 !important; transform: none; }
html[data-motion="reduce"] .portfolio.is-motion-ready .depth-scene::before { transform: scaleX(0) !important; }

@media (forced-colors: active) {
  .portfolio, .studio-panel, .studio-bar { forced-color-adjust: auto; }
  .hero-scene::before { background: transparent; }
  .case-sheet, .decision-sheet, .closing-scene__panel { border: 1px solid CanvasText; }
}
