@font-face {
  font-family: "Yuji Boku";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/yuji-boku-site.woff2") format("woff2");
}
@font-face {
  font-family: "Luoli DDC";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./assets/luoli-ddc.ttf") format("truetype");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/dm-sans-400.ttf") format("truetype");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/dm-sans-500.ttf") format("truetype");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./assets/dm-sans-700.ttf") format("truetype");
}

/* 主题颜色、全局留白和统一缓动参数；组件尽量引用这些变量。 */
:root {
  --orange: #f4a13a;
  --orange-deep: #bd542a;
  --paper: #f9edda;
  --ink: #242019;
  --muted: #79624e;
  --line: #79624e45;
  --pad: clamp(22px, 2.6vw, 52px);
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  max-width: 100%;
  background: var(--paper);
}
body {
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 15% 20%, #fff9ed, transparent 65%), var(--paper);
}
button,
a {
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
  cursor: pointer;
}
a {
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--orange-deep);
  outline-offset: 5px;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
[hidden] {
  display: none !important;
}
.page-noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
/* 背景装饰固定在最底层，不接收鼠标事件，也不会盖住页面内容。 */
.ambient-bg {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 78% 36%, #f5c06d1f 0 14%, transparent 42%),
    radial-gradient(ellipse at 12% 82%, #c45a3510 0 12%, transparent 38%),
    repeating-linear-gradient(
      115deg,
      transparent 0 76px,
      #9c673014 77px,
      transparent 78px 154px
    );
}
/* 植物纸张纹理置于内容后方，中间区域保持留白以便阅读文字。 */
.ambient-bg::before,
.ambient-bg::after {
  content: "";
  position: absolute;
  width: clamp(300px, 34vw, 620px);
  height: 100%;
  background: url("./assets/botanical-paper.svg") center / contain no-repeat;
}
.ambient-bg::before {
  left: 19%;
  top: -26%;
  opacity: 0.23;
  transform: rotate(24deg);
  transform-origin: 50% 90%;
  animation: botanical-sway 9s ease-in-out infinite alternate;
}
.ambient-bg::after {
  left: -15%;
  bottom: -28%;
  opacity: 0.3;
  transform: rotate(-21deg);
  transform-origin: 50% 90%;
  animation: botanical-sway 11s ease-in-out -4s infinite alternate-reverse;
}
.ambient-glow {
  position: absolute;
  width: 78vw;
  height: 95vh;
  left: -24vw;
  top: -18vh;
  background: radial-gradient(
    ellipse,
    #efb35c33,
    #efb35c0c 48%,
    transparent 70%
  );
  transform: translate(var(--wash-x, 0), var(--wash-y, 0));
  transition: transform 2.4s var(--ease);
  animation: glow-drift 8s ease-in-out -2s infinite alternate;
}
.ambient-bg[data-scene="1"] {
  --wash-x: 17vw;
  --wash-y: 24vh;
}
.ambient-bg[data-scene="2"] {
  --wash-x: -8vw;
  --wash-y: 36vh;
}
.ambient-bg[data-scene="3"] {
  --wash-x: 15vw;
  --wash-y: -14vh;
}
.ambient-bg[data-scene="4"] {
  --wash-x: 32vw;
  --wash-y: 18vh;
}
.ambient-bg[data-scene="5"] {
  --wash-x: -5vw;
  --wash-y: 10vh;
}
.ambient-sun {
  position: absolute;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  right: -14vw;
  top: 7vh;
  border: 1px solid #be713b2c;
  border-radius: 50%;
  box-shadow:
    0 0 0 24px #be713b08,
    0 0 0 48px #be713b05;
  animation: sun-breathe 12s ease-in-out infinite;
}
.ambient-orbit {
  position: absolute;
  width: 58vw;
  height: 22vw;
  border: 1px solid #bd704031;
  border-radius: 50%;
  transform: rotate(-17deg);
  opacity: 0.55;
  animation: orbit-drift 18s ease-in-out infinite alternate;
}
.ambient-orbit-a {
  left: -25vw;
  bottom: 8vh;
}
.ambient-orbit-b {
  right: -27vw;
  bottom: -4vh;
  transform: rotate(27deg);
  animation-delay: -7s;
}
.ambient-leaf {
  display: block;
  width: 12px;
  height: 22px;
  border-radius: 85% 0 85% 0;
  background: #b9784160;
  position: absolute;
  animation: leaf-float 7s ease-in-out infinite;
}
.ambient-leaf-a {
  left: 27vw;
  top: 21vh;
  animation-delay: -4s;
}
.ambient-leaf-b {
  right: 4vw;
  top: 6vh;
  width: 15px;
  height: 25px;
  animation-delay: -9s;
}
.ambient-leaf-c {
  left: 42vw;
  bottom: 9vh;
  animation-delay: -7s;
}
.ambient-leaf-d {
  right: 35vw;
  bottom: 23vh;
  width: 8px;
  height: 16px;
  animation-delay: -2s;
}
@keyframes botanical-sway {
  from {
    translate: -8px 4px;
    rotate: -2deg;
  }
  to {
    translate: 14px -9px;
    rotate: 2deg;
  }
}
@keyframes glow-drift {
  from {
    translate: -25px -12px;
    opacity: 0.55;
  }
  to {
    translate: 45px 30px;
    opacity: 1;
  }
}
@keyframes sun-breathe {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}
@keyframes orbit-drift {
  from {
    translate: -1% 1%;
  }
  to {
    translate: 2% -2%;
  }
}
@keyframes leaf-float {
  0%,
  100% {
    translate: 0 0;
    rotate: -8deg;
    opacity: 0.45;
  }
  50% {
    translate: 44px -34px;
    rotate: 32deg;
    opacity: 0.9;
  }
}
.skip-link {
  position: fixed;
  z-index: 60;
  top: -80px;
  left: 20px;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus {
  top: 15px;
}
/* 顶部导航固定在视口上方；容器不接收事件，内部控件单独恢复点击能力。 */
.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  width: 100%;
  max-width: 100vw;
  height: 92px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.site-header > * {
  pointer-events: auto;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-symbol {
  display: block;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  transform: rotate(-7deg);
  transition: transform 0.6s var(--ease);
}
.brand-lockup:hover .brand-symbol {
  transform: rotate(5deg);
}
.brand-name {
  font-family: "Yuji Boku", serif;
  font-size: 29px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-shadow: 1px 2px 0 #d29a5626;
}
.brand-name small {
  display: block;
  margin-top: 5px;
  font-family: "DM Sans", sans-serif;
  font-size: 8px;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: var(--muted);
  text-shadow: none;
}
.brand-name small i {
  color: var(--orange-deep);
  font-style: normal;
}
.header-note {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.header-note b {
  color: var(--orange-deep);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.talk-link {
  border-bottom: 1px solid var(--ink);
  padding: 9px 0;
  font-size: 11px;
  font-weight: 700;
}
.talk-link span {
  font-size: 18px;
  margin-left: 17px;
}
.menu-toggle,
.mobile-menu {
  display: none;
}
.language-picker {
  position: relative;
  display: block;
}
.language-picker select {
  appearance: none;
  min-width: 78px;
  padding: 7px 24px 7px 9px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff5e3d9;
  color: var(--ink);
  font-size: 9px;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.language-picker::after {
  content: "⌄";
  position: absolute;
  top: 33%;
  right: 8px;
  transform: translateY(-55%);
  color: var(--orange-deep);
  pointer-events: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* 常驻作品入口：固定在左侧图片卡片上方的留白处，z-index 保证始终可点击。 */
.portfolio-link {
  position: fixed;
  z-index: 70;
  top: 30%;
  left: 31%;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 63px;
  padding: 16px 23px 15px 25px;
  border: 1px solid var(--ink);
  border-radius: 15px 4px 15px 4px;
  background: var(--orange);
  color: var(--ink);
  box-shadow:
    6px 7px 0 #3a211b33,
    inset -4px -4px 0 #bd542a2d;
  transform: translate(-50%, -50%) rotate(-2deg);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.portfolio-link::before,
.portfolio-link::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: var(--ink);
  pointer-events: none;
}
.portfolio-link::before {
  top: -5px;
  left: 15px;
  border-top: 2px solid;
  border-left: 2px solid;
  transform: rotate(-7deg);
}
.portfolio-link::after {
  right: -5px;
  bottom: 12px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  transform: rotate(-7deg);
}
.portfolio-link span {
  font-size: 25px;
  line-height: 1;
}
.portfolio-link:hover {
  background: var(--ink);
  color: var(--paper);
  box-shadow:
    3px 4px 0 #3a211b33,
    inset -4px -4px 0 #f4a13a55;
  transform: translate(calc(-50% + 3px), calc(-50% + 3px)) rotate(-2deg);
}
.portfolio-link:focus-visible {
  outline-offset: 4px;
}

/* 桌面端采用左右两栏：左侧文字与图片卡片，右侧视频与章节导航。 */
.journey {
  height: 650svh;
}
.stage {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100svh;
  min-height: 600px;
  padding: 104px var(--pad) 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.625fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: clamp(24px, 2.5vw, 48px);
  isolation: isolate;
}
.editorial-column {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 3;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(160px, 0.7fr) minmax(250px, 1.4fr) auto;
  gap: clamp(14px, 2.6vh, 26px);
  padding: 10px 2px 5px;
}
.editorial-head {
  display: grid;
  gap: 19px;
}
.story-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.eyebrow,
.chapter-name {
  font-size: 9px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--orange-deep);
}
.story-date {
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}
.intro-label {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.story-panel {
  position: relative;
  min-width: 0;
  min-height: 0;
}
.scene-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}
.scene-copy.is-active {
  opacity: 1;
  pointer-events: auto;
}
.scene-copy h1,
.scene-copy h2 {
  font-size: clamp(30px, 3.7vw, 70px);
  line-height: 1.22;
  letter-spacing: -0.025em;
  font-family: "Yuji Boku", serif;
  font-weight: 400;
  text-shadow:
    1px 2px 0 #d29a5640,
    0 7px 14px #69431914;
  margin: 18px 0 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.scene-copy em {
  color: var(--orange-deep);
  font-family: inherit;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.035em;
  text-shadow:
    1px 2px 0 #ffd59790,
    0 7px 15px #a448221c;
}
.scene-copy p {
  max-width: 35em;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin: 20px 0 0;
}
.end-link {
  width: fit-content;
  margin-top: 14px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 11px;
}
.story-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.intro-scroll b {
  color: var(--orange-deep);
}
.chapter-caption {
  display: none;
}

/* 每幕使用一张主插画；外层负责视差，卡片内部负责切换动画。 */
/* 每一幕只显示一张图片卡片；卡片本身与外层视差分别处理。 */
.imagination-cards {
  position: relative;
  min-width: 0;
  min-height: 0;
  perspective: 900px;
}
.imagination-card {
  position: absolute;
  inset: 7px 2.5% 8px;
  margin: 0;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) rotate(-1.5deg);
  pointer-events: none;
}
.imagination-card.is-active {
  z-index: 2;
}
.card-surface {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 9px 9px 12px;
  opacity: 0;
  background: #fff8e8;
  border: 1px solid #b9986c40;
  box-shadow:
    3px 6px 0 #b86c3420,
    0 12px 24px #64401d14;
  transform-origin: 12% 85%;
}
.imagination-card.is-active .card-surface {
  opacity: 1;
}
.card-surface::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 24%;
  height: 17px;
  top: -7px;
  left: 37%;
  background: #edc17d8c;
  transform: rotate(-3deg);
}
.imagination-card img {
  display: block;
  width: 100%;
  flex: 1;
  height: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}
.imagination-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  margin-top: 9px;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--orange-deep);
}
.imagination-card figcaption span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.imagination-card figcaption span:last-child {
  font-size: 8px;
  color: var(--muted);
}

/* 视频及其装饰保持在独立层叠上下文中，避免装饰越界遮挡固定按钮。 */
.film-shell {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  isolation: isolate;
  background: #ad5a30;
  clip-path: polygon(3% 1%, 96% 0, 100% 96%, 93% 100%, 4% 98%, 0 7%);
  transform: perspective(1600px)
    translate3d(var(--frame-x, 0px), var(--frame-y, 0px), 0)
    rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  will-change: transform;
}
.film {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: translate3d(var(--film-x, 0px), var(--film-y, 0px), 0) scale(1.15);
  filter: saturate(1.08) sepia(0.08);
}
.film-tint {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    #28180b25,
    transparent 25%,
    transparent 65%,
    #28180b55
  );
}
.film-grain {
  position: absolute;
  z-index: 2;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}
.film-orbit {
  position: absolute;
  z-index: 2;
  border: 1px solid #fce4ad60;
  border-radius: 50%;
  pointer-events: none;
}
.orbit-one {
  width: 80%;
  aspect-ratio: 1;
  right: -39%;
  top: 19%;
}
.orbit-two {
  width: 45%;
  aspect-ratio: 1;
  left: -28%;
  bottom: -8%;
}
.film-sticker {
  position: absolute;
  z-index: 3;
  padding: 10px 12px;
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 3px 4px 0 #3a211b33;
  pointer-events: none;
}
.sticker-one {
  top: 6%;
  right: 5%;
  transform: rotate(5deg);
}
.sticker-two {
  bottom: 14%;
  left: 5%;
  transform: rotate(-8deg);
  background: var(--orange);
}
.film-index {
  position: absolute;
  z-index: 3;
  left: 5%;
  bottom: 4%;
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: var(--paper);
}
.film-index b {
  font-size: 33px;
  line-height: 1;
  color: var(--orange);
}
.film-index span {
  font-size: 10px;
}
.chapter-rail {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 8;
  justify-self: end;
  align-self: end;
  display: flex;
  gap: 5px;
  margin: 0 52px 26px 0;
  padding: 8px;
  background: #fff5e3f2;
  border: 1px solid #fff8e880;
  box-shadow: 0 4px 18px #24180f24;
}
.chapter-rail button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 42px;
  min-height: 40px;
  padding: 5px;
  background: transparent;
  color: var(--muted);
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.chapter-rail b {
  font-size: 10px;
}
.chapter-rail span {
  font-size: 8px;
  writing-mode: vertical-rl;
}
.chapter-rail button[aria-current] {
  background: var(--orange);
  color: var(--ink);
  transform: translateY(-3px);
}
.chapter-rail button:hover {
  background: #f4a13a55;
}

@media (min-width: 851px) and (max-height: 760px) {
  .stage {
    padding-top: 92px;
    padding-bottom: 22px;
  }
  .editorial-column {
    gap: 12px;
    grid-template-rows: auto minmax(145px, 0.75fr) minmax(190px, 1.3fr) auto;
  }
  .editorial-head {
    gap: 12px;
  }
  .intro-label br {
    display: none;
  }
  .scene-copy h1,
  .scene-copy h2 {
    font-size: clamp(30px, 3.2vw, 52px);
    margin-top: 12px;
  }
  .scene-copy p {
    margin-top: 12px;
    font-size: 11px;
  }
}
@media (max-width: 850px) {
  /* 移动端改为上下单列；作品按钮在这里覆盖到图片卡片附近的固定位置。 */
  .ambient-bg::before {
    width: 300px;
    left: 44%;
    top: 8%;
    opacity: 0.2;
  }
  .ambient-bg::after {
    width: 300px;
    left: -52%;
    bottom: -15%;
    opacity: 0.24;
  }
  .ambient-leaf-c,
  .ambient-leaf-d,
  .ambient-orbit-b {
    display: none;
  }
  .ambient-sun {
    width: 65vw;
    right: -25vw;
  }

  :root {
    --pad: 18px;
  }
  .site-header {
    left: 0;
    right: auto;
    width: 100vw;
    height: 72px;
    background: linear-gradient(var(--paper) 70%, #f9edda00);
  }
  .brand-symbol {
    width: 42px;
    height: 42px;
  }
  .brand-name {
    font-size: 24px;
  }
  .brand-name small {
    font-size: 7px;
    letter-spacing: 0.1em;
  }
  .header-note {
    display: none;
  }
  .header-actions {
    position: fixed;
    top: 16px;
    right: 12px;
    gap: 8px;
  }
  .talk-link {
    display: none;
  }
  .language-picker select {
    min-width: 68px;
    max-width: 72px;
    padding: 7px 20px 7px 7px;
    font-size: 8px;
    letter-spacing: 0.04em;
  }
  .language-picker::after {
    right: 6px;
  }
  .talk-link {
    font-size: 10px;
  }
  .talk-link span {
    margin-left: 8px;
  }
  .portfolio-link {
    top: 67%;
    left: 50%;
    min-height: 54px;
    padding: 13px 18px 12px 20px;
    gap: 12px;
    font-size: 14px;
  }
  .portfolio-link span {
    font-size: 22px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 38px;
    height: 40px;
    background: transparent;
  }
  .menu-toggle i {
    width: 24px;
    height: 1px;
    background: var(--ink);
  }
  .mobile-menu {
    position: fixed;
    z-index: 40;
    inset: 72px 0 0;
    background: var(--paper);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }
  .mobile-menu-title {
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--orange-deep);
    padding-bottom: 22px;
  }
  .mobile-menu a {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--line);
    padding: 19px 0;
    font-size: 11px;
  }
  .mobile-menu a span {
    flex: 1;
    font-size: 19px;
  }
  .journey {
    height: 620svh;
  }
  .stage {
    width: 100vw;
    max-width: 100vw;
    padding: 80px var(--pad) 76px;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(170px, 0.75fr) minmax(315px, 1fr);
    gap: 18px;
  }
  .film-shell {
    grid-column: 1;
    grid-row: 1;
  }
  .editorial-column {
    grid-column: 1;
    grid-row: 2;
    padding: 0;
    grid-template-rows: auto minmax(105px, 0.7fr) minmax(165px, 1.2fr);
    gap: 12px;
  }
  .story-top {
    padding-bottom: 9px;
  }
  .eyebrow,
  .chapter-name,
  .story-date {
    font-size: 8px;
  }
  .intro-label,
  .story-footer {
    display: none;
  }
  .scene-copy {
    justify-content: flex-start;
  }
  .scene-copy .chapter-name {
    display: none;
  }
  .scene-copy h1,
  .scene-copy h2 {
    font-size: clamp(25px, 7.2vw, 40px);
    line-height: 1.16;
    margin: 0;
  }
  .scene-copy p {
    font-size: 11px;
    line-height: 1.7;
    margin: 10px 0 0;
  }
  .end-link {
    position: absolute;
    right: 0;
    top: 14px;
    font-size: 9px;
    margin: 0;
  }
  .imagination-cards {
    width: 100%;
  }
  .imagination-card {
    inset: 3px 2% 5px;
    transform: translate3d(var(--px, 0px), var(--py, 0px), 0) rotate(-1deg);
  }
  .card-surface {
    padding: 6px 6px 8px;
  }
  .card-surface::before {
    height: 12px;
    top: -5px;
  }
  .imagination-card figcaption {
    margin-top: 6px;
    font-size: 8px;
  }
  .imagination-card figcaption span:last-child {
    font-size: 7px;
  }
  .film-sticker {
    padding: 7px;
    font-size: 7px;
  }
  .sticker-one {
    top: 9%;
    right: 5%;
  }
  .sticker-two {
    display: none;
  }
  .film-index {
    left: auto;
    right: 5%;
    bottom: 7%;
  }
  .film-index b {
    font-size: 25px;
  }
  .chapter-rail {
    position: absolute;
    grid-column: auto;
    grid-row: auto;
    bottom: 16px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    margin: 0;
    padding: 6px;
    gap: 5px;
    white-space: nowrap;
  }
  .chapter-rail button {
    width: 40px;
    min-height: 34px;
  }
  .chapter-rail span {
    display: none;
  }
}
@media (max-width: 850px) and (max-height: 740px) {
  .stage {
    padding-top: 76px;
    padding-bottom: 64px;
    gap: 12px;
    grid-template-rows: minmax(130px, 0.65fr) minmax(270px, 1.2fr);
  }
  .editorial-column {
    gap: 6px;
    grid-template-rows: auto minmax(85px, 0.65fr) minmax(145px, 1.1fr);
  }
  .story-top {
    padding-bottom: 6px;
  }
  .scene-copy h1,
  .scene-copy h2 {
    font-size: 24px;
  }
  .scene-copy p {
    font-size: 10px;
    margin-top: 8px;
  }
  .chapter-rail {
    bottom: 12px;
  }
}
@media (max-width: 850px) and (orientation: landscape) {
  .site-header {
    height: 60px;
  }
  .mobile-menu {
    top: 60px;
  }
  .stage {
    padding: 68px var(--pad) 18px;
    gap: 22px;
    grid-template-columns: minmax(0, 0.625fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
  }
  .editorial-column {
    grid-column: 1;
    grid-row: 1;
    grid-template-rows: minmax(95px, 0.8fr) minmax(145px, 1.2fr);
    gap: 12px;
  }
  .editorial-head {
    display: none;
  }
  .scene-copy {
    justify-content: center;
  }
  .scene-copy h1,
  .scene-copy h2 {
    font-size: 23px;
  }
  .scene-copy p {
    font-size: 10px;
  }
  .end-link {
    position: static;
    margin-top: 8px;
  }
  .film-shell {
    grid-column: 2;
    grid-row: 1;
  }
  .film-index {
    top: 9%;
    bottom: auto;
  }
  .sticker-one {
    display: none;
  }
  .chapter-rail {
    left: auto;
    right: 30px;
    bottom: 30px;
    transform: none;
  }
}

.dissolve-canvas {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.dissolve-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-bg.is-paused *,
.ambient-bg.is-paused::before,
.ambient-bg.is-paused::after {
  animation-play-state: paused;
}
