﻿@charset "UTF-8";
:root {
  --black: #080604;
  --amber: #c98734;
  --amber-soft: #f3d29a;
  --ivory: #f8ecd4;
  --text: rgba(248, 236, 212, .86);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
}
body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family:
    "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 76px;
  padding: 18px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.site-header__logo, .site-header__nav {
  pointer-events: auto;
}
.site-header__logo {
  width: 210px;
  opacity: .86;
  filter: drop-shadow(0 0 14px rgba(248, 220, 160, .22));
}
.site-header__nav {
  display: flex;
  gap: 26px;
  padding: 12px 20px;
  border: 1px solid rgba(248, 236, 212, .16);
  border-radius: 999px;
  background: rgba(8, 6, 4, .28);
  backdrop-filter: blur(12px);
}
.site-header__nav a {
  font-family: Arial, sans-serif;
  font-size: .68rem;
  letter-spacing: .16em;
  color: rgba(248, 236, 212, .72);
  transition: color .35s ease, text-shadow .35s ease;
}
.site-header__nav a:hover {
  color: rgba(248, 236, 212, .98);
  text-shadow: 0 0 16px rgba(248, 220, 160, .42);
}
.menu-btn {
  display: none;
}
.sp-menu {
  display: none;
  visibility: hidden;
}
.scroll-stage {
  position: relative;
  height: 1600svh;
  background: #080604;
}
.stage-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 56px 24px;
  background: #080604;
}
.stage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  background-size: auto 104%;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0;
  transform: scale(1.08);
}
.stage-bg.is-active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}


.stage-bg--hero01,
.stage-bg--hero02,
.stage-bg--hero03,
.stage-bg--hero04 {
  animation: heroBgFloat 18s ease-in-out infinite alternate;
  transform-origin: center;
}

.stage-bg--hero02 {
  animation-duration: 21s;
}

.stage-bg--hero03 {
  animation-duration: 24s;
}

.stage-bg--hero04 {
  animation-duration: 19s;
}

@keyframes heroBgFloat {
  0% {
    background-position: 50% 50%;
    background-size: auto 104%;
  }

  50% {
    background-position: 51.5% 49%;
    background-size: auto 108%;
  }

  100% {
    background-position: 48.5% 51%;
    background-size: auto 112%;
  }
}



.stage-bg--hero01 {
  background-image: url("../img/hero/hero-bg-01.webp");
}

.stage-bg--hero02 {
  background-image: url("../img/hero/hero-bg-02.webp");
}

.stage-bg--hero03 {
  background-image: url("../img/hero/hero-bg-03.webp");
}

.stage-bg--hero04 {
  background-image: url("../img/hero/hero-bg-04.webp");
}

.stage-bg--conversation {
  background-image: url("../img/scene/conversation-bg.webp");
}

.stage-bg--alone {
  background-image: url("../img/scene/alone-bg.webp");
}

.stage-bg--window {
  background-image: url("../img/scene/window-bg.webp");
}

.stage-bg--information {
  background-image: url("../img/scene/information-bg.webp");
}
.stage-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 16% 46%, rgba(255, 173, 66, .18), transparent 34%), linear-gradient(90deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .25) 48%, rgba(0, 0, 0, .62)), linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, .18) 45%, rgba(0, 0, 0, .76));
}
.stage-glow {
  position: absolute;
  inset: auto auto -26% -18%;
  width: 58vw;
  aspect-ratio: 1;
  border-radius: 50%;
  z-index: 2;
  background: radial-gradient(circle, rgba(255, 168, 57, .24), transparent 66%);
  filter: blur(28px);
  pointer-events: none;
  animation: lampGlow 7s ease-in-out infinite alternate;
}

.stage-scene {
  position: absolute;
  z-index: 3;
  width: min(980px, calc(100% - 48px));
  text-align: center;
  opacity: 0;
  transform: translateY(28px) scale(.985);
  filter: blur(12px);
  pointer-events: none;
  transition:
    opacity 1100ms ease, transform 1100ms ease, filter 1100ms ease;
}
.stage-scene--info {
  padding-top: 14vh;
}
.stage-scene.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}
.stage-scene__eyebrow, .stage-scene__label {
  margin: 0 0 24px;
  font-family: Arial, sans-serif;
  font-size: .72rem;
  letter-spacing: .28em;
  color: rgba(248, 236, 212, .68);
}
.stage-scene__logo {
  width: min(700px, 88vw);
  margin: 0 auto 42px;
  filter:
    drop-shadow(0 0 18px rgba(248, 220, 160, .28)) drop-shadow(0 12px 34px rgba(0, 0, 0, .55));
}
.stage-scene__copy, .stage-scene__title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.35;
  letter-spacing: .12em;
  font-weight: 400;
  color: rgba(248, 236, 212, .96);
  text-shadow:
    0 0 24px rgba(255, 198, 107, .22), 0 12px 36px rgba(0, 0, 0, .72);
}
.stage-scene__text {
  margin: 28px auto 0;
  max-width: 660px;
  color: var(--text);
  font-size: clamp(1rem, 1.55vw, 1.12rem);
  line-height: 2.05;
  letter-spacing: .08em;
  text-shadow: 0 8px 22px rgba(0, 0, 0, .75);
}
.scene-reveal {
  width: min(760px, 100%);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.scene-reveal__item {
  padding: 18px 18px 20px;
  border: 1px solid rgba(248, 236, 212, .12);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 234, 192, .07), rgba(0, 0, 0, .22)), rgba(8, 6, 4, .28);
  backdrop-filter: blur(12px);
  opacity: var(--reveal-opacity, 0);
  transform:
    translateX(calc((1 - var(--reveal-progress, 0)) * 120vw)) scale(calc(.96 + var(--reveal-progress, 0) * .04));
  filter: blur(calc((1 - var(--reveal-progress, 0)) * 10px));
  transition:
    border-color .45s ease, background .45s ease;
}
.scene-reveal__item span {
  font-family: Arial, sans-serif;
  font-size: .66rem;
  letter-spacing: .18em;
  color: rgba(243, 210, 154, .82);
}
.scene-reveal__item p {
  margin: 12px 0 0;
  color: rgba(248, 236, 212, .82);
  font-size: .92rem;
  line-height: 1.8;
  letter-spacing: .06em;
}
.break {
  display: inline;
}
.scene-scroll-cue {
  margin: 34px auto 0;
  display: grid;
  justify-items: center;
  gap: 6px;
  opacity: var(--cue-opacity, 0);
  transform: translateY(calc((1 - var(--cue-progress, 0)) * 10px));
  filter: blur(calc((1 - var(--cue-progress, 0)) * 6px));
  pointer-events: none;
}

.scene-scroll-cue span {
  font-family: Arial, sans-serif;
  font-size: .62rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(243, 210, 154, .7);
}

.scene-scroll-cue i {
  font-style: normal;
  color: rgba(243, 210, 154, .78);
  font-size: 1.15rem;
  line-height: 1;
  animation: scrollCueFloat 1.4s ease-in-out infinite;
}

@keyframes scrollCueFloat {
  0%, 100% {
    transform: translateY(0);
    opacity: .52;
  }

  50% {
    transform: translateY(7px);
    opacity: 1;
  }
}

.info-card {
  width: min(680px, 100%);
  margin: 34px auto 0;
  padding: 28px 32px;
  border: 1px solid rgba(248, 236, 212, .18);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 234, 192, .11), rgba(0, 0, 0, .28)), rgba(8, 6, 4, .48);
  backdrop-filter: blur(18px);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, .32), inset 0 0 0 1px rgba(255, 255, 255, .035);
}

.info-card--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-panel {
  position: relative;
  padding: 0;
}

.info-panel + .info-panel::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 0;
  bottom: 0;
  width: 1px;

  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(243, 210, 154, .18) 10%,
      rgba(243, 210, 154, .35) 50%,
      rgba(243, 210, 154, .18) 90%,
      transparent
    );
}

.info-panel__label {
  margin: 0 0 18px;
  font-family: Arial, sans-serif;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(243, 210, 154, .82);
  text-align: center;
}

.info-list {
  margin: 0;
  display: grid;
  gap: 0;
}
.info-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(248, 236, 212, .12);
  text-align: left;
}
.info-list div:first-child {
  padding-top: 0;
}
.info-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.info-list dt {
  font-family: Arial, sans-serif;
  font-size: .72rem;
  letter-spacing: .2em;
  color: rgba(243, 210, 154, .86);
}
.info-list dd {
  margin: 0;
  color: rgba(248, 236, 212, .82);
  line-height: 1.8;
  letter-spacing: .06em;
}
.stage-progress {
  position: absolute;
  right: 34px;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  display: grid;
  gap: 14px;
}
.stage-progress span {
  position: relative;
  width: 7px;
  height: 34px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(248, 236, 212, .18);
  transition:
    height .45s ease, background .45s ease, box-shadow .45s ease;
}
.stage-progress span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(var(--fill, 0) * 100%);
  border-radius: inherit;
  background: rgba(243, 210, 154, .9);
  box-shadow: 0 0 18px rgba(243, 210, 154, .38);
  transition: height .12s linear;
}
.stage-progress span.is-active {
  height: 54px;
  background: rgba(248, 236, 212, .14);
}
@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
@keyframes lampGlow {
  from {
    opacity: .45;
    transform: scale(.96);
  }
  to {
    opacity: .8;
    transform: scale(1.08);
  }
}
@keyframes scrollLine {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(100%);
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 66px;
    padding: 14px 18px;
  }
  .site-header__logo {
    width: 150px;
  }
  .site-header__nav {
    display: none;
  }
  .stage-sticky {
    padding: 46px 20px;
  }
  
  .stage-scene {
    width: min(100% - 40px, 620px);
  }
  .stage-scene__eyebrow, .stage-scene__label {
    font-size: .62rem;
    letter-spacing: .18em;
    line-height: 1.8;
  }
  .stage-scene__logo {
    width: min(520px, 92vw);
    margin-bottom: 30px;
  }
  .stage-scene__copy, .stage-scene__title {
    letter-spacing: .08em;
  }
  .stage-scene__text {
    line-height: 1.9;
  }
  .stage-progress {
    right: 16px;
  }
  .stage-progress span {
    width: 5px;
    height: 24px;
  }
  .stage-progress span.is-active {
    height: 38px;
  }
  .info-card {
    padding: 22px 20px;
    border-radius: 22px;
  }
  .info-card--split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .info-panel + .info-panel::before {
    display: none;
  }
  .info-list div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 0;
    text-align: center;
  }
  .menu-btn {
    position: relative;
    z-index: 31;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(248, 236, 212, .22);
    border-radius: 999px;
    background: rgba(8, 6, 4, .42);
    backdrop-filter: blur(12px);
    padding: 0;
    pointer-events: auto;
  }
  .menu-btn span {
    position: absolute;
    width: 18px;
    height: 1px;
    background: rgba(248, 236, 212, .86);
    transition: transform .35s ease, opacity .35s ease;
  }
  .menu-btn span:nth-child(1) {
    transform: translateY(-6px);
  }
  .menu-btn span:nth-child(3) {
    transform: translateY(6px);
  }
  body.is-menu-open .menu-btn span:nth-child(1) {
    transform: rotate(38deg);
  }
  body.is-menu-open .menu-btn span:nth-child(2) {
    opacity: 0;
  }
  body.is-menu-open .menu-btn span:nth-child(3) {
    transform: rotate(-38deg);
  }
  .sp-menu {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    place-content: center;
    gap: 18px;
    padding: 140px 34px 40px;
    background:
      radial-gradient(circle at 18% 74%, rgba(255, 168, 57, .22), transparent 34%), linear-gradient(180deg, rgba(8, 6, 4, .86), rgba(8, 6, 4, .96));
    backdrop-filter: blur(22px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px) scale(1.02);
    pointer-events: none;
    transition:
      opacity .45s ease, visibility .45s ease, transform .45s ease;
  }
  .sp-menu::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 14%;
    width: min(320px, 76vw);
    aspect-ratio: 5 / 1;
    transform: translateX(-50%);
    background: url("../img/logo/beyond-the-lamp-logo.webp") center / contain no-repeat;
    opacity: .22;
    filter: blur(.2px) drop-shadow(0 0 18px rgba(248, 220, 160, .18));
    pointer-events: none;
  }
  .sp-menu::after {
    content: "";
    position: absolute;
    left: -120px;
    bottom: -140px;
    width: 430px;
    aspect-ratio: 1;
    background: url("../img/hero/hero-lamp.png") center / contain no-repeat;
    opacity: .16;
    filter:
      blur(1.8px) drop-shadow(0 0 42px rgba(255, 169, 61, .2));
    transform: scale(.96);
    pointer-events: none;
  }
  body.is-menu-open .sp-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  body.is-menu-open .sp-menu::after {
    animation: menuLampFlash .8s ease-out both;
  }
  .sp-menu a {
    min-width: 240px;
    padding: 18px 20px;
    border: 1px solid rgba(248, 236, 212, .14);
    border-radius: 999px;
    background: rgba(255, 236, 196, .045);
    font-family: Arial, sans-serif;
    font-size: .78rem;
    letter-spacing: .22em;
    color: rgba(248, 236, 212, .9);
    text-align: center;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .26);
    opacity: 0;
    transform: translateY(26px);
    transition:
      opacity .95s ease, transform .95s cubic-bezier(.22, 1, .36, 1), border-color .45s ease, background .45s ease;
    box-shadow:
      0 18px 50px rgba(0, 0, 0, .26), inset 0 0 0 1px rgba(255, 255, 255, .03);
  }
  .sp-menu a:last-child {
    border-bottom: 0;
  }
  body.is-menu-open .sp-menu a {
    opacity: 1;
    transform: translateY(0);
    animation: menuLamp 5s ease-in-out infinite;
  }
  body.is-menu-open .sp-menu a:nth-child(1) {
    transition-delay: .18s;
  }
  body.is-menu-open .sp-menu a:nth-child(2) {
    transition-delay: .34s;
  }
  body.is-menu-open .sp-menu a:nth-child(3) {
    transition-delay: .50s;
  }
  body.is-menu-open .sp-menu a:nth-child(4) {
    transition-delay: .66s;
  }

  .scene-reveal {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 26px;
  }
  .scene-reveal__item {
    padding: 14px 16px;
    border-radius: 16px;
  }
  .scene-reveal__item p {
    font-size: .86rem;
    line-height: 1.75;
  }
  .break {
    display: none;
  }
  
  .stage-scene--info {
    max-height: calc(100svh - 96px);
    overflow: hidden;
    padding: 18px 4px 0;
    display: flex;
    flex-direction: column;
  }

  .stage-scene--info .info-card {
    overflow-y: auto;
    max-height: calc(100svh - 320px);
    padding-bottom: 48px;
    scrollbar-width: thin;
    scrollbar-color: rgba(243, 210, 154, .58) rgba(255, 255, 255, .08);
  }

  .stage-scene--info .info-card::-webkit-scrollbar {
    width: 4px;
  }

  .stage-scene--info .info-card::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .08);
    border-radius: 999px;
  }

  .stage-scene--info .info-card::-webkit-scrollbar-thumb {
    background: rgba(243, 210, 154, .58);
    border-radius: 999px;
  }
  
}
.scene-reveal__item::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(243, 210, 154, .42);
  box-shadow:
    0 0 26px rgba(243, 210, 154, .28), inset 0 0 18px rgba(243, 210, 154, .08);
  opacity: 0;
  pointer-events: none;
}
.scene-reveal__item {
  position: relative;
  overflow: hidden;
}
.scene-reveal__item.has-glowed {
  animation: cardBodyGlow 1.5s ease-out 1 both;
}
.scene-reveal__item.has-glowed::after {
  animation: cardArrivalGlow 1.5s ease-out 1 both;
}
@keyframes cardArrivalGlow {
  0% {
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes cardBodyGlow {
  0% {
    box-shadow: none;
  }
  22% {
    box-shadow:
      0 0 34px rgba(243, 210, 154, .24), 0 0 70px rgba(255, 160, 64, .12);
  }
  100% {
    box-shadow: none;
  }
}
@keyframes menuLamp {
  0%, 100% {
    box-shadow:
      0 18px 50px rgba(0, 0, 0, .26), inset 0 0 0 1px rgba(255, 255, 255, .03);
  }
  50% {
    box-shadow:
      0 18px 50px rgba(0, 0, 0, .26), 0 0 18px rgba(255, 170, 70, .12), inset 0 0 0 1px rgba(255, 220, 170, .08);
  }
}
@keyframes menuLampFlash {
  0% {
    opacity: .08;
    transform: scale(.94);
    filter:
      blur(2.4px) drop-shadow(0 0 20px rgba(255, 169, 61, .12));
  }
  42% {
    opacity: .28;
    transform: scale(1.02);
    filter:
      blur(1.4px) drop-shadow(0 0 70px rgba(255, 169, 61, .36));
  }
  100% {
    opacity: .16;
    transform: scale(1);
    filter:
      blur(1.8px) drop-shadow(0 0 42px rgba(255, 169, 61, .2));
  }
}

body.is-stage-jumping .stage-scene,
body.is-stage-jumping .scene-reveal,
body.is-stage-jumping .scene-scroll-cue {
  opacity: 0 !important;
  filter: blur(14px) !important;
  pointer-events: none;
}

body.is-stage-jumping .stage-bg {
  filter: blur(8px) brightness(.72) !important;
}


@media (min-aspect-ratio: 16 / 9) {
  .stage-bg {
    background-size: 104% auto;
  }

  @keyframes heroBgFloat {
    0% {
      background-position: 50% 50%;
      background-size: 104% auto;
    }

    50% {
      background-position: 51.5% 49%;
      background-size: 108% auto;
    }

    100% {
      background-position: 48.5% 51%;
      background-size: 112% auto;
    }
  }
}