:root {
  --ink: #202020;
  --ink-soft: rgba(32, 32, 32, 0.62);

  --paper: #eeeae4;
  --line: rgba(32, 32, 32, 0.18);

  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;

  --pad: clamp(24px, 5vw, 84px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

button {
  font: inherit;
}

figure {
  margin: 0;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ===================================
   Ambient Background
=================================== */

.ambient {
  --ambient-lavender: rgb(200, 193, 214);
  --ambient-blue: rgb(189, 203, 208);
  --ambient-rose: rgb(212, 190, 189);

  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(
      135deg,
      #f3f0eb 0%,
      #e7e3dd 48%,
      #f0ede7 100%
    );
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.ambient-color,
.ambient-light,
.ambient-shadow,
.ambient-streak {
  position: absolute;
  border-radius: 50%;
  will-change: transform, opacity;
}

.ambient-color {
  filter: blur(130px);
  opacity: 0.38;
}

.ambient-color--lavender {
  top: -18%;
  left: -15%;
  width: 58vw;
  height: 58vw;
  background: var(--ambient-lavender);
  animation: floatLavender 34s ease-in-out infinite alternate;
}

.ambient-color--blue {
  top: 22%;
  right: -20%;
  width: 62vw;
  height: 62vw;
  background: var(--ambient-blue);
  animation: floatBlue 42s ease-in-out infinite alternate;
}

.ambient-color--rose {
  bottom: -26%;
  left: 22%;
  width: 54vw;
  height: 54vw;
  background: var(--ambient-rose);
  opacity: 0.28;
  animation: floatRose 38s ease-in-out infinite alternate;
}

.ambient-shadow {
  inset: auto;
  width: 86vw;
  height: 40vw;
  filter: blur(85px);
  opacity: 0.15;
  background:
    linear-gradient(
      115deg,
      transparent 4%,
      rgba(58, 55, 52, 0.4) 42%,
      rgba(48, 46, 44, 0.18) 58%,
      transparent 96%
    );
}

.ambient-shadow--one {
  top: 4%;
  left: -65%;
  transform: rotate(-8deg);
  animation: shadowPassOne 26s ease-in-out infinite;
}

.ambient-shadow--two {
  right: -72%;
  bottom: 8%;
  transform: rotate(9deg);
  animation: shadowPassTwo 32s ease-in-out infinite;
}

.ambient-light {
  width: 80vw;
  height: 38vw;
  filter: blur(100px);
  opacity: 0.24;
  mix-blend-mode: screen;
  background:
    linear-gradient(
      115deg,
      transparent 5%,
      rgba(255, 255, 255, 0.38) 40%,
      rgba(255, 255, 255, 0.66) 50%,
      rgba(255, 255, 255, 0.25) 62%,
      transparent 95%
    );
}

.ambient-light--one {
  top: 13%;
  left: -72%;
  transform: rotate(-6deg);
  animation: lightPassOne 28s ease-in-out infinite;
}

.ambient-light--two {
  right: -75%;
  bottom: 5%;
  transform: rotate(11deg);
  animation: lightPassTwo 36s ease-in-out infinite;
}

.ambient-streak {
  z-index: 2;
  height: 2px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.16) 18%,
    rgba(255, 255, 255, 0.98) 50%,
    rgba(255, 255, 255, 0.16) 82%,
    transparent 100%
  );
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.62),
    0 0 28px rgba(255, 255, 255, 0.32);
  mix-blend-mode: screen;
}

.ambient-streak--one {
  --streak-angle: -7deg;

  top: 18%;
  left: -46vw;
  width: 42vw;
  transform: rotate(var(--streak-angle));
  animation: streakFromLeft 18s ease-in-out -3s infinite;
}

.ambient-streak--two {
  --streak-angle: 13deg;

  top: 46%;
  right: -52vw;
  width: 48vw;
  transform: rotate(var(--streak-angle));
  animation: streakFromRight 22s ease-in-out -12s infinite;
}

.ambient-streak--three {
  --streak-angle: 5deg;

  bottom: 20%;
  left: -40vw;
  width: 34vw;
  transform: rotate(var(--streak-angle));
  animation: streakFromLeft 26s ease-in-out -19s infinite;
}

.ambient-streak--four {
  --streak-angle: 82deg;

  top: -38vh;
  left: 72%;
  width: 32vh;
  transform: rotate(var(--streak-angle));
  transform-origin: left center;
  animation: streakFromTop 30s ease-in-out -25s infinite;
}

.ambient-grain {
  position: absolute;
  inset: 0;
  opacity: 0.055;
  background-image:
    repeating-radial-gradient(
      circle at 0 0,
      rgba(0, 0, 0, 0.3) 0,
      rgba(0, 0, 0, 0.3) 0.5px,
      transparent 0.7px,
      transparent 4px
    );
  background-size: 6px 6px;
}

@keyframes floatLavender {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(10vw, 7vh, 0) scale(1.08);
  }
}

@keyframes floatBlue {
  from {
    transform: translate3d(0, 0, 0) scale(1.02);
  }

  to {
    transform: translate3d(-14vw, 10vh, 0) scale(0.94);
  }
}

@keyframes floatRose {
  from {
    transform: translate3d(0, 0, 0) scale(0.96);
  }

  to {
    transform: translate3d(-8vw, -11vh, 0) scale(1.08);
  }
}

@keyframes shadowPassOne {
  0%,
  12% {
    transform: translateX(0) rotate(-8deg);
    opacity: 0;
  }

  42% {
    opacity: 0.17;
  }

  78%,
  100% {
    transform: translateX(180vw) rotate(-4deg);
    opacity: 0;
  }
}

@keyframes shadowPassTwo {
  0%,
  18% {
    transform: translateX(0) rotate(9deg);
    opacity: 0;
  }

  48% {
    opacity: 0.12;
  }

  84%,
  100% {
    transform: translateX(-185vw) rotate(5deg);
    opacity: 0;
  }
}

@keyframes lightPassOne {
  0%,
  14% {
    transform: translateX(0) rotate(-6deg);
    opacity: 0;
  }

  48% {
    opacity: 0.3;
  }

  82%,
  100% {
    transform: translateX(182vw) rotate(-2deg);
    opacity: 0;
  }
}

@keyframes lightPassTwo {
  0%,
  22% {
    transform: translateX(0) rotate(11deg);
    opacity: 0;
  }

  54% {
    opacity: 0.22;
  }

  88%,
  100% {
    transform: translateX(-188vw) rotate(6deg);
    opacity: 0;
  }
}

@keyframes streakFromLeft {
  0%,
  42% {
    opacity: 0;
    transform: rotate(var(--streak-angle)) translateX(0);
  }

  50% {
    opacity: 0.92;
  }

  68%,
  100% {
    opacity: 0;
    transform: rotate(var(--streak-angle)) translateX(150vw);
  }
}

@keyframes streakFromRight {
  0%,
  44% {
    opacity: 0;
    transform: rotate(var(--streak-angle)) translateX(0);
  }

  52% {
    opacity: 0.86;
  }

  70%,
  100% {
    opacity: 0;
    transform: rotate(var(--streak-angle)) translateX(-160vw);
  }
}

@keyframes streakFromTop {
  0%,
  46% {
    opacity: 0;
    transform: rotate(var(--streak-angle)) translateX(0);
  }

  54% {
    opacity: 0.82;
  }

  72%,
  100% {
    opacity: 0;
    transform: rotate(var(--streak-angle)) translateX(150vh);
  }
}

/* ===================================
   Header
=================================== */

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  min-height: 78px;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #5a345e;
  mix-blend-mode: multiply;
}

.logo {
  grid-column: 2;
  font-size: 1rem;
  letter-spacing: 0.28em;
  color: #5a345e;
}

.issue {
  justify-self: end;
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: #5a345e;
}

.menu-button {
  justify-self: start;
  width: 46px;
  height: 46px;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 29px;
  height: 1px;
  margin: 7px 0;
  background: currentColor;
}

.site-nav {
  position: fixed;
  z-index: 45;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  background: rgba(239, 235, 229, 0.97);
  backdrop-filter: blur(18px);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 7rem);
  color: #59545e;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
}

/* ===================================
   Shared
=================================== */

.eyebrow,
.section-label,
figcaption {
  font-size: 0.57rem;
  line-height: 1.7;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.section-label {
  margin: 0 0 30px;
  color: var(--ink-soft);
}

.image-shell {
  --wipe-second-color: #cac5bd;

  position: relative;
  overflow: hidden;
  background: #d8d4ce;
}

/* 2枚目のシャッター色：画像ごとに個別指定 */
.split-portrait-image .image-shell {
  --wipe-first-color: #f3f4ef;
  --wipe-second-color: #b6c0b0;
}

.floating-figure .image-shell {
  --wipe-second-color: #635d6c;
}

.quiet-frame-figure .image-shell {
  --wipe-second-color: #50103a;
}

.gallery-item--one .image-shell {
  --wipe-second-color: #7b7279;
}

.gallery-item--two .image-shell {
  --wipe-second-color: #dcc8b3;
}

.gallery-item--three .image-shell {
  --wipe-second-color: #bdcacf;
}

.js .image-shell {
  isolation: isolate;
}

.js .image-shell--layered-wipe img {
  opacity: 0;
}

.js .image-shell--layered-wipe.is-wipe-revealed img,
.js .image-shell--layered-wipe.is-wipe-complete img {
  animation: imageWipeReveal 1.25s steps(1, end) 0.16s both;
}

.js .image-shell--layered-wipe.is-wipe-complete img {
  opacity: 1;
  animation: none;
}

.image-wipe {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
}

.image-wipe--white {
  background: #f7f5f1;
}

.image-wipe--black {
  z-index: 6;
  background: var(--wipe-second-color, #cac5bd);
}

.is-wipe-revealed .image-wipe--white {
  animation: imageWipeWhite 1.15s
    cubic-bezier(0.76, 0, 0.24, 1) both;
}

.is-wipe-revealed .image-wipe--black {
  animation: imageWipeBlack 1.25s
    cubic-bezier(0.76, 0, 0.24, 1) 0.16s both;
}

@keyframes imageWipeWhite {
  0% {
    clip-path: inset(0 100% 0 0);
  }

  42% {
    clip-path: inset(0 0 0 0);
  }

  85%,
  100% {
    clip-path: inset(0 0 0 100%);
  }
}

@keyframes imageWipeBlack {
  0% {
    clip-path: inset(0 100% 0 0);
  }

  46% {
    clip-path: inset(0 0 0 0);
  }

  100% {
    clip-path: inset(0 0 0 100%);
  }
}

@keyframes imageWipeReveal {
  0%,
  46% {
    opacity: 0;
  }

  47%,
  100% {
    opacity: 1;
  }
}

.image-shell img {
  filter:
    saturate(0.74)
    contrast(0.95)
    brightness(1.04);
  transition: filter 0.8s ease;
}

.image-shell:hover img {
  filter:
    saturate(0.86)
    contrast(0.96)
    brightness(1.08);
}

.split-portrait-image img {
  filter:
    saturate(0.55)
    contrast(0.9)
    brightness(1.05);
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1.15s ease,
    transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===================================
   Hero
=================================== */

.hero {
  --hero-copy-overlap: clamp(150px, 17vw, 280px);
  position: relative;
  min-height: 100svh;
  padding: 150px var(--pad) 90px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
}

.image-shell--hero::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: -20%;
  bottom: -20%;
  right: -48%;
  width: 42%;
  pointer-events: none;

  background:
    linear-gradient(
      270deg,
      transparent 0%,
      rgba(255, 255, 255, 0.08) 20%,
      rgba(255, 255, 255, 0.58) 48%,
      rgba(255, 247, 252, 0.22) 68%,
      transparent 100%
    );

  filter: blur(14px);
  mix-blend-mode: screen;
  opacity: 0;

  transform: skewX(10deg) translateX(0);
  animation: heroImageLight 8s ease-in-out infinite;
}

/* The opening line expands into light inside the hero photograph. */
.js.hero-intro-pending .hero-figure.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

.opening-shutter {
  display: none;
}

.js .opening-shutter {
  position: absolute;
  z-index: 6;
  inset: 0;
  display: block;
  overflow: hidden;
  pointer-events: none;
  background: #B8AFC2;
}

.js .opening-shutter::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  margin: auto;
  background: #f3f3f3;
}

.js.hero-intro-playing .opening-shutter {
  animation: openingShutterExit 2.6s forwards;
}

.js.hero-intro-playing .opening-shutter::before {
  animation: openingShutterLine 2.6s forwards;
}



@keyframes openingShutterExit {
  0% {
    opacity: 1;
  }

  70% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes openingShutterLine {
  0% {
    width: 0;
    height: 1px;
  }

  50% {
    width: 100%;
    height: 1px;
  }

  90%,
  100% {
    width: 100%;
    height: 100%;
  }
}


@keyframes heroImageLight {
  0%,
  20% {
    transform: skewX(10deg) translateX(0);
    opacity: 0;
  }

  32% {
    opacity: 0.78;
  }

  62% {
    opacity: 0.52;
  }

  75%,
  100% {
    transform: skewX(10deg) translateX(-365%);
    opacity: 0;
  }
}


.hero-copy {
  position: relative;
  z-index: 7;
}

.js .hero .hero-copy.reveal.is-visible {
  transform: translateX(var(--hero-copy-overlap));
}

.js.hero-intro-pending .hero-copy.reveal,
.js.hero-intro-pending .hero-copy.reveal.is-visible {
  opacity: 0;
  transform: translateX(-70px);
  transition: none;
}

.js.hero-intro-playing .hero-copy.reveal.is-visible {
  animation: heroCopySlide 1.6s
    cubic-bezier(0.22, 1, 0.36, 1) 2.65s both;
}

@keyframes heroCopySlide {
  0% {
    opacity: 0;
    transform: translateX(-70px);
  }

  100% {
    opacity: 1;
    transform: translateX(var(--hero-copy-overlap));
  }
}

.hero .eyebrow {
  max-width: 290px;
  margin: 0 0 42px;
  color: var(--ink-soft);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(5rem, 10.5vw, 11rem);
  font-weight: 400;
  line-height: 0.73;
  letter-spacing: -0.055em;
}

.hero-note {
  margin: 52px 0 0;
  color: var(--ink-soft);
  font-size: 0.73rem;
  line-height: 1.9;
  letter-spacing: 0.05em;
}

.hero-figure {
  position: relative;
  left: clamp(-280px, -18vw, -230px);
  width: 100%;
  justify-self: end;
}

.hero-figure figcaption {
  margin-top: 14px;
  color: var(--ink-soft);
  text-align: right;
}

.scroll-cue {
  position: absolute;
  right: var(--pad);
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.56rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.scroll-cue span {
  width: 72px;
  height: 1px;
  background: currentColor;
}

/* ===================================
   Light Statement
=================================== */

.light-statement {
  min-height: 100svh;
  padding: 150px var(--pad);
  display: grid;
  grid-template-columns: minmax(170px, 0.62fr) 1.38fr;
  align-items: center;
  gap: clamp(50px, 10vw, 160px);
}
.light-pass {
  position: relative;
  overflow: hidden;
}

.light-pass::before {
  content: "";
  position: absolute;
  left: -18%;
  top: 64%;
  width: 22%;
  height: 1.2px;
  pointer-events: none;
  opacity: 0;
  z-index: 4;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.3),
    transparent
  );

  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.36),
    0 0 14px rgba(255, 255, 255, 0.16);

  transform: rotate(-5deg);
}

.light-pass.is-lit::before {
  animation: sectionLightCross 4.2s 2.2s
    cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes sectionLightCross {
  0% {
    transform: translateX(0) rotate(-5deg);
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  70% {
    opacity: 0.82;
  }

  100% {
    transform: translate(540%, -10.4vw) rotate(-5deg);
    opacity: 0;
  }
}

.light-pass::after {
  content: "";
  position: absolute;
  left: -22%;
  top: 38%;
  width: 30%;
  height: 1.3px;
  pointer-events: none;
  opacity: 0;
  z-index: 3;

  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.16) 18%,
    rgba(255, 255, 255, 0.95) 48%,
    rgba(255, 255, 255, 0.28) 72%,
    transparent 100%
  );

  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.32),
    0 0 14px rgba(255, 255, 255, 0.12);

  filter: blur(0.2px);
  transform: translateX(0);
}

.light-pass.is-lit::after {
  animation: sectionLightPass 8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes sectionLightPass {
  0% {
    transform: translateX(0);
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  72% {
    opacity: 0.92;
  }

  100% {
    transform: translateX(760%);
    opacity: 0;
  }
}
.statement-index {
  color: rgba(66, 14, 82, 0.08);
  font-family: var(--serif);
  font-size: clamp(10rem, 25vw, 25rem);
  font-style: italic;
  line-height: 0.65;
}

.statement-copy {
  max-width: 900px;
}

.statement-copy h2,
.split-portrait-copy h2,
.floating-copy h2,
.color-field-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6.6vw, 7.6rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.statement-copy > p:last-child,
.split-portrait-copy > p:last-child,
.color-field-copy > p:last-child {
  max-width: 600px;
  margin: 44px 0 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 2.15;
}

/* The selected words below the hero use the same rising type gesture as MOTION. */
.focus-type-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
}

.focus-type-line > span {
  display: block;
}

.focus-type-line--accent {
  width: max-content;
  overflow: visible;
  font-size: clamp(1.35em, 10vw, 1.75em);
  line-height: 0.9;
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.focus-type-line--accent > span {
  padding: 0.08em 0.04em 0.16em;
}

.focus-type-line--long {
  font-size: clamp(1.2em, 7.5vw, 1.45em);
}

.focus-type-line--mixed {
  overflow: visible;
}

.focus-type-line--mixed > span {
  display: flex;
  align-items: baseline;
  gap: 0.18em;
  width: max-content;
  padding: 0.08em 0.04em 0.16em;
  line-height: 0.9;
  white-space: nowrap;
}

.statement-copy .focus-type-line--mixed > span {
  font-size: clamp(2.35rem, 5vw, 6rem);
  letter-spacing: -0.05em;
}

.statement-copy .focus-type-line--mixed > span > span:not(.focus-type-word) {
  font-size: 0.82em;
  letter-spacing: -0.06em;
}

.focus-type-word {
  font-size: clamp(1.35em, 10vw, 1.75em);
  letter-spacing: -0.07em;
}

.focus-type-line--accent:not(:first-child) {
  margin-top: 0.14em;
}

.js .focus-type-line > span {
  will-change: transform, opacity, clip-path;
}

.js .reveal.is-visible .focus-type-line > span {
  animation: quietTypeReveal 0.9s
    cubic-bezier(0.22, 1, 0.36, 1) both;
}

.js .reveal.is-visible .focus-type-line:nth-child(2) > span {
  animation-delay: 0.28s;
}

.js .reveal.is-visible .focus-type-line:nth-child(3) > span {
  animation-delay: 0.56s;
}

.js .reveal.is-visible .focus-type-line:nth-child(4) > span {
  animation-delay: 0.84s;
}

/* ===================================
   Split Portrait
=================================== */

.split-portrait {
  min-height: 110svh;
  padding: 170px var(--pad);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}

.split-portrait-image {
  width: min(100%, 590px);
}

.split-portrait-image figcaption {
  margin-top: 14px;
  color: var(--ink-soft);
}

.split-portrait-copy {
  max-width: 780px;
}
/* ===================================
   Split Portrait — Light Trace
=================================== */

.split-portrait-image {
  position: relative;
  overflow: visible;
}

/* 写真と光の重なり順 */
.split-portrait-image .image-shell {
  position: relative;
  z-index: 2;
}

/* 細い光 */
.split-portrait-image::after {
  content: "";
  position: absolute;

  z-index: 3;

  /* 写真の下の方を通る */
  left: -25%;
  bottom: 8%;

  width: 35%;
  height: 1.3px;

  pointer-events: none;
  opacity: 0;

  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 15%,
    rgba(255, 255, 255, 0.72) 42%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.42) 62%,
    transparent 100%
  );

  box-shadow:
    0 0 5px rgba(255, 255, 255, 0.3),
    0 0 12px rgba(255, 255, 255, 0.12);

  transform: translateX(0);
}
.split-portrait-image::before {
  content: "";
  position: absolute;

  z-index: 1;

  right: -25%;
  top: 24%;

  width: 35%;
  height: 1px;

  pointer-events: none;
  opacity: 0;

  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 15%,
    rgba(255, 255, 255, 0.72) 42%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.42) 62%,
    transparent 100%
  );

  box-shadow:
    0 0 5px rgba(255, 255, 255, 0.3),
    0 0 12px rgba(255, 255, 255, 0.12);

  transform: rotate(-7deg);
}

.split-portrait-image.is-visible::before {
  animation: portraitLightTraceReverse 1.8s 0.75s
    cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes portraitLightTraceReverse {
  0% {
    transform:
      translate(0, 0)
      rotate(-7deg);
    opacity: 0;
  }

  12% {
    opacity: 0.9;
  }

  72% {
    opacity: 0.72;
  }

  100% {
    transform:
      translate(-650%, 80px)
      rotate(-7deg);
    opacity: 0;
  }
}


/* 既存の reveal が発火したら光も走る */
.split-portrait-image.is-visible::after {
  animation: portraitLightTrace 1.7s 0.45s
    cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes portraitLightTrace {
  0% {
    transform: translateX(0);
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  72% {
    opacity: 0.9;
  }

  100% {
    transform: translateX(620%);
    opacity: 0;
  }
}

/* ===================================
   Floating Portrait
=================================== */

.floating-portrait {
  position: relative;
  min-height: 110svh;
  padding: 180px var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}

.floating-copy {
  position: relative;
  left: clamp(24px, 3vw, 48px);
  z-index: 2;
  width: fit-content;
  max-width: 680px;
  justify-self: end;
}

.floating-figure {
  width: min(100%, 720px);
  margin: 0 auto 0 0;
}

.floating-figure figcaption {
  margin-top: 14px;
  color: var(--ink-soft);
  text-align: right;
}

/* ===================================
   Quiet Frame
=================================== */

.quiet-frame {
  position: relative;
  min-height: 120svh;
  padding: 180px var(--pad);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(50px, 9vw, 150px);
  overflow: clip;
}

.quiet-frame-figure {
  position: relative;
  z-index: 1;
  width: min(100%, 880px);
}

.quiet-frame-copy {
  position: relative;
  z-index: 7;
  min-width: 0;
}

.quiet-frame-copy p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5.4vw, 6.8rem);
  line-height: 0.78;
  letter-spacing: -0.045em;
}

.quiet-type-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
}

.quiet-type-line > span {
  display: block;
}

.js .quiet-type-line > span {
  opacity: 0;
  transform: translateY(105%);
  clip-path: inset(0 0 100% 0);
  will-change: transform, opacity, clip-path;
}

.quiet-type-line--motion {
  width: max-content;
  margin-top: 0.12em;
  margin-left: clamp(-80px, -12vw, -120px);
  padding: 0 0 0.08em;
  overflow: visible;
  color: rgba(31, 30, 29, 0.96);
  font-size: clamp(4rem, 11vw, 12rem);
  line-height: 0.7;
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.js .quiet-frame.is-typography-visible .quiet-type-line > span {
  animation: quietTypeReveal 0.9s
    cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.js .quiet-frame.is-typography-visible .quiet-type-line:nth-child(2) > span {
  animation-delay: 0.34s;
}

.js .quiet-frame.is-typography-visible .quiet-type-line:nth-child(3) > span {
  animation-delay: 0.72s;
}

.js .quiet-frame.is-typography-visible .quiet-type-line--motion > span {
  animation-delay: 1.16s;
  animation-duration: 1.08s;
}

@keyframes quietTypeReveal {
  0% {
    opacity: 0;
    transform: translateY(105%);
    clip-path: inset(0 0 100% 0);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

/* ===================================
   Gallery
=================================== */

.portrait-gallery {
  min-height: 190svh;
  padding: 200px var(--pad);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  row-gap: 190px;
}

.gallery-item figure {
  margin: 0;
}

.gallery-item figcaption {
  margin-top: 13px;
  color: var(--ink-soft);
}

.gallery-item--one {
  grid-column: 1 / span 4;
}

.gallery-item--two {
  grid-column: 7 / span 6;
  margin-top: 130px;
}

.gallery-item--three {
  grid-column: 4 / span 5;
}

/* ===================================
   Color Field
=================================== */

.color-field {
  position: relative;
  min-height: 115svh;
  padding: 160px var(--pad);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.color-field-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 880px);
  padding: clamp(40px, 7vw, 100px);
  background: rgba(243, 240, 235, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(18px);
}

/* ===================================
   Presence — 声明ではなく余韻
=================================== */

.presence-field {
  position: relative;
  min-height: 105svh;
  padding: 150px var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
}

.presence-field .section-label {
  width: min(100%, 820px);
  margin:
    0
    auto
    clamp(48px, 7vw, 96px);

  color: rgba(32, 32, 32, 0.48);
}

.presence-line {
  width: min(100%, 900px);
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(3.8rem, 7.4vw, 8.5rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.05em;
  color: var(--ink);

  transform: translateX(clamp(0px, 4vw, 70px));
}

.presence-note {
  width: min(100%, 900px);
  margin:
    clamp(44px, 6vw, 84px)
    auto
    0;
  padding-left: clamp(280px, 48%, 470px);

  color: rgba(32, 32, 32, 0.62);
  font-size: clamp(0.72rem, 0.82vw, 0.86rem);
  line-height: 2;
  letter-spacing: 0.12em;
}


/* ===================================
   Afterimage — 光景で終わる
=================================== */

.afterimage {
  position: relative;
  min-height: 145svh;
  padding:
    clamp(150px, 16vw, 280px)
    var(--pad)
    52px;

  display: grid;
  place-items: center;
  background: transparent;
}

.afterimage-figure {
  position: relative;
  z-index: 2;

  width: min(68vw, 1040px);
  margin:
    clamp(20px, 6vw, 90px)
    auto
    0;

  overflow: hidden;
}

.afterimage-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.02) 12%,
      rgba(255, 255, 255, 0.16) 28%,
      rgba(255, 255, 255, 0.46) 48%,
      rgba(255, 255, 255, 0.18) 68%,
      transparent 88%
    );

  filter: blur(18px);
  mix-blend-mode: screen;
  opacity: 0.72;

  transform: translateX(-70%);
  animation: afterimageSheen 13s ease-in-out infinite;
}

.afterimage-figure img {
  display: block;
  width: 100%;

  filter:
    saturate(0.7)
    contrast(0.91)
    brightness(1.08);

  transition: filter 1.2s ease;
}

.afterimage-figure:hover img {
  filter:
    saturate(0.78)
    contrast(0.94)
    brightness(1.1);
}

@keyframes afterimageSheen {
  0%,
  18% {
    transform: translateX(-70%);
    opacity: 0;
  }

  42% {
    opacity: 0.8;
  }

  78%,
  100% {
    transform: translateX(75%);
    opacity: 0;
  }
}

/* ===================================
   Responsive
=================================== */

@media (max-width: 900px) {
  .presence-field {
    min-height: 95svh;
    padding-top: 130px;
    padding-bottom: 130px;
  }

  .presence-line {
    transform: none;
  }

  .presence-note {
    padding-left: clamp(120px, 32%, 260px);
  }

  .afterimage {
    min-height: 125svh;
  }

  .afterimage-figure {
    width: min(86vw, 850px);
  }
}

@media (max-width: 560px) {
  .presence-field {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 140px;
  }

  .presence-field .section-label {
    margin-bottom: 42px;
  }

  .presence-line {
    font-size: clamp(3.2rem, 15vw, 5rem);
    line-height: 0.92;
  }

  .presence-note {
    margin-top: 38px;
    padding-left: 14vw;
    font-size: 0.68rem;
    line-height: 1.9;
  }

  .afterimage {
    min-height: auto;
    padding-top: 120px;
  }

  .afterimage-figure {
    width: 100%;
  }

}

@media (prefers-reduced-motion: reduce) {
  .afterimage-figure::before {
    animation: none;
  }
}
/* ===================================
   Footer
=================================== */

.site-footer {
  min-height: 10px;
  padding: 44px var(--pad);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(28px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.54rem;
  letter-spacing: 0.2em;
}

.site-footer p {
  margin: 0;
}

.footer-logo {
  color: var(--ink);
}

.footer-meta {
  display: flex;
  gap: 1.5em;
}

/* ===================================
   Presentation Mode
=================================== */

html:has(body.presentation-mode) {
  scroll-behavior: auto;
}

body.presentation-mode {
  cursor: none;
}

body.presentation-mode .menu-button,
body.presentation-mode .site-nav,
body.presentation-mode .scroll-cue {
  opacity: 0;
  pointer-events: none;
}

/* ===================================
   Responsive
=================================== */

@media (max-width: 900px) {
  .issue {
    display: none;
  }

  .hero,
  .light-statement,
  .split-portrait,
  .floating-portrait,
  .quiet-frame {
    grid-template-columns: 1fr;
  }

  .hero {
    --hero-copy-overlap: 0px;
    padding-top: 130px;
  }

  .hero-figure {
    left: 0;
    width: min(84%, 680px);
  }

  .statement-index {
    position: absolute;
    opacity: 0.72;
  }

  .statement-copy {
    position: relative;
    z-index: 2;
  }

  .split-portrait-image {
    width: min(82%, 600px);
  }

  .floating-figure {
    width: min(82%, 720px);
    margin-top: 42px;
    margin-right: 0;
    margin-left: auto;
  }

  .floating-copy {
    left: 0;
    width: 100%;
    justify-self: stretch;
  }

  .quiet-frame-figure {
    width: min(88%, 800px);
  }

  .quiet-type-line--motion {
    margin-left: 0;
    font-size: clamp(5.5rem, 16vw, 9rem);
  }

  .portrait-gallery {
    display: block;
    min-height: auto;
    padding-top: 130px;
  }

  .gallery-item {
    width: min(86%, 680px);
    margin: 0 0 120px;
  }

  .gallery-item--two {
    margin-left: auto;
  }

  .gallery-item--three {
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 66px;
    background:
      linear-gradient(
        to bottom,
        rgba(238, 234, 228, 0.86),
        transparent
      );
    mix-blend-mode: normal;
  }

  .logo {
    font-size: 0.54rem;
    letter-spacing: 0.2em;
  }

  .hero {
    min-height: auto;
    padding-bottom: 130px;
  }

  .hero h1 {
    font-size: clamp(4.5rem, 20vw, 7rem);
  }

  .hero-figure {
    width: 100%;
  }

  .scroll-cue {
    left: var(--pad);
    right: auto;
  }

  .light-statement,
  .split-portrait,
  .floating-portrait,
  .quiet-frame,
  .portrait-gallery,
  .color-field {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .statement-copy h2,
  .split-portrait-copy h2,
  .floating-copy h2,
  .color-field-copy h2 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .focus-type-line--accent {
    font-size: 1.25em;
  }

  .focus-type-word {
    font-size: 1.2em;
  }

  .floating-figure,
  .split-portrait-image,
  .quiet-frame-figure,
  .gallery-item {
    width: 100%;
  }

  .quiet-frame-copy p {
    font-size: clamp(3rem, 16vw, 5.6rem);
  }

  .quiet-type-line--motion {
    font-size: clamp(4.8rem, 20vw, 7.2rem);
  }

  .color-field-copy {
    padding: 32px 24px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 18px;
  }

  .footer-meta {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .js .image-shell {
    isolation: auto;
  }

  .js .image-shell::after {
    display: none;
  }

  .js .image-shell--layered-wipe img {
    opacity: 1;
    animation: none;
  }

  .image-wipe {
    display: none;
  }

  .image-shell--hero::before {
    display: none;
  }

  .js .opening-shutter {
    display: none;
  }

  .js .quiet-type-line > span {
    opacity: 1;
    transform: none;
    clip-path: none;
    animation: none;
  }

  .js .focus-type-line > span {
    opacity: 1;
    transform: none;
    clip-path: none;
    animation: none;
  }
}
