/* ============================================================
   DANDELION — production proposal
   Site: warm paper / ink / muted gold.
   ============================================================ */

:root {
  --paper: #f4efe6;
  --paper-2: #ebe4d7;
  --ink: #161310;
  --ink-2: #2c271f;
  --ink-3: #4a4338;
  --mute: #7a7266;
  --gold: #b8954e;
  --gold-2: #d4b56a;
  --line: rgba(22, 19, 16, 0.14);
  --line-strong: rgba(22, 19, 16, 0.28);
  --white: #faf7f1;

  --slide-black: #000000;
  --slide-white: #ffffff;
  --slide-gold: #f0c415;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", sans-serif;
  --jp: "Shippori Mincho", "Hiragino Mincho ProN", serif;

  --nav-h: 72px;
  --gutter: clamp(20px, 4vw, 64px);
  --max: 1240px;
  --narrow: 760px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--paper); color: var(--ink); }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
.slot {
  outline: 1px dashed rgba(184, 149, 78, 0.45);
  outline-offset: 4px;
}

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(244, 239, 230, 0.94);
  backdrop-filter: blur(14px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav.is-solid {
  background: rgba(244, 239, 230, 0.96);
}
.nav-brand {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-brand small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  opacity: 0.7;
  margin-top: 2px;
}
.nav-links {
  display: flex; gap: 18px; list-style: none;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}
.nav-links a { opacity: 0.72; transition: opacity .3s; }
.nav-links a:hover, .nav-links a.is-active { opacity: 1; }
.nav-toggle { display: none; width: 28px; height: 16px; position: relative; }
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
}
.nav-toggle span { top: 50%; transform: translateY(-50%); }
.nav-toggle::before { top: 0; }
.nav-toggle::after { bottom: 0; }

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  color: var(--white);
  display: grid;
  place-items: end start;
  padding: 0 var(--gutter) 72px;
  overflow: hidden;
  --hero-title: clamp(28px, 7.4vw, 108px);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,8,6,.25) 0%, rgba(10,8,6,.15) 40%, rgba(10,8,6,.72) 100%),
    url("../images/hero-seeds.jpg") center/cover no-repeat;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--hero-title);
  line-height: 1;
  letter-spacing: 0;
  text-align: left;
  white-space: nowrap;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  display: block;
  font-size: 0.46em;
  letter-spacing: 0.04em;
  opacity: 0.88;
  margin-top: 0.22em;
  padding-left: 0.2em;
  white-space: nowrap;
}
.hero-meta {
  margin-top: calc(var(--hero-title) * 0.26);
  font-family: var(--serif);
  font-size: calc(var(--hero-title) * 0.26);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
  padding-left: calc(var(--hero-title) * 0.1);
}
.hero-kicker {
  font-family: var(--serif);
  font-size: calc(var(--hero-title) * 0.2);
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
  margin: 0 0 0.7em;
  max-width: 100%;
}

/* SHARED SECTION */
.section { padding: 120px var(--gutter); scroll-margin-top: var(--nav-h); }
#why { background: var(--paper-2); }
.section-head {
  max-width: var(--max);
  margin: 0 auto 48px;
}
.section-num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-top: 8px;
}
.section-kicker {
  font-family: var(--jp);
  font-size: 15px;
  color: var(--mute);
  margin-top: 12px;
}
.wrap { max-width: var(--max); margin: 0 auto; }
.narrow { max-width: var(--narrow); margin: 0 auto; }
.lede {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
}
.body-copy p + p { margin-top: 1.15em; }
.note {
  margin-top: 28px;
  padding: 16px 18px;
  border-left: 2px solid var(--gold);
  color: var(--ink-3);
  font-size: 14px;
  background: rgba(184,149,78,0.06);
}

/* WHY */
.why-block + .why-block,
.made-block + .made-block { margin-top: 96px; }
.why-block .section-head,
.made-block .section-head { margin-bottom: 40px; }

#made {
  background: var(--ink);
  color: var(--paper);
  scroll-margin-top: var(--nav-h);
  padding: 0 0 120px;
}
#made-ii,
#made-iii {
  background: var(--ink);
  color: var(--paper);
  scroll-margin-top: var(--nav-h);
  padding: 100px var(--gutter) 120px;
}
#made-ii {
  background: var(--paper-2);
  color: var(--ink);
}
#made-iii {
  padding: 0 0 120px;
}
.costume-visual {
  width: 100%;
  min-height: 0;
  height: 38vh;
  max-height: 400px;
  background:
    linear-gradient(180deg, rgba(244,239,230,.28) 0%, rgba(22,19,16,.08) 32%, var(--ink) 100%),
    url("../images/costume-visual.jpg") 58% 42% / cover no-repeat;
}
.costume-body {
  padding: 0 var(--gutter);
  margin-top: -88px;
  position: relative;
  z-index: 1;
}
.made-visual {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 48vh;
  background:
    linear-gradient(180deg, rgba(10,8,6,.04) 0%, rgba(10,8,6,.12) 62%, var(--ink) 100%),
    url("../images/made-visual.jpg") center 72% / cover no-repeat;
}
.made-body {
  max-width: none;
  padding: 0 var(--gutter) 0;
  margin-top: -92px;
  position: relative;
  z-index: 1;
}
#made .section-head h2,
#made-iii .section-head h2 { color: var(--paper); }
#made-ii .section-head h2 { color: var(--ink); }
#made .section-num,
#made-ii .section-num,
#made-iii .section-num { color: var(--gold-2); }
#made .lede,
#made .design-intro,
#made .history-block p {
  color: #d8d0c3;
}
#made-iii .section-kicker { color: #9a9084; }
#made-iii .costume-intro {
  color: #d8d0c3;
  margin-bottom: 48px;
}
#made-ii .lede,
#made-ii .history-block p,
#made-ii .body-copy {
  color: var(--ink-2);
}
#made .history-block h3,
#made-iii .history-block h3 { color: var(--paper); }
#made-ii .history-block h3 { color: var(--ink); }
#made .history-block,
#made-iii .history-block {
  border-top-color: rgba(244, 239, 230, 0.14);
}
#made-ii .history-block {
  border-top-color: var(--line);
}
#made .costume-box,
#made-iii .costume-box {
  border-color: rgba(244, 239, 230, 0.16);
}
#made .embed-caption { color: #9a9084; }
#made .embed-caption a { color: var(--gold-2); }
#made .mask-aside img,
#made-ii .mask-aside img { background: var(--paper-2); }
.door-six-copy {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}
.door-six-photo {
  margin: 0;
  overflow: visible;
}
.door-six-photo img {
  position: static;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.costume-stack { display: grid; gap: 28px; }
.costume-box {
  border: 1px solid var(--line);
  padding: 24px 20px 18px;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.costume-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: stretch;
  justify-items: stretch;
}
.costume-row > img,
.costume-row .costume-box img {
  width: auto;
  height: min(420px, calc(100svh - var(--nav-h) - 88px));
  max-width: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
}
.costume-box.costume-child img {
  height: min(280px, calc(100svh - var(--nav-h) - 88px));
  margin-top: auto;
  object-position: center bottom;
}
.costume-box figcaption {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}
.why-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 48px;
  align-items: center;
}
.why-grid .body-copy { order: -1; }
.why-grid.photo-left {
  grid-template-columns: 1fr 1.7fr;
}
.why-grid.photo-left .body-copy { order: 0; }
.why-grid.photo-left .why-photo { order: 0; }
.why-photo {
  position: relative;
  min-height: 0;
  overflow: visible;
  background: transparent;
  display: block;
}
.why-grid.photo-left .why-photo {
  justify-content: flex-start;
}
.why-photo img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  background: transparent;
}
.why-photo figcaption {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.meaning-list { margin-top: 48px; display: grid; gap: 22px; }
.meaning-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.meaning-item dt {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 4px;
}
.meaning-item dd { color: var(--ink-2); }

/* SHORT STORY */
.story {
  background: var(--ink);
  color: var(--paper);
  padding: 0 var(--gutter) 0;
}
.story-visual {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 64vh;
  background:
    linear-gradient(180deg, rgba(10,8,6,.06) 0%, rgba(10,8,6,.28) 50%, var(--ink) 100%),
    url("../images/nagasaki-night.jpg?v=2") 70% 78% / cover no-repeat;
}
.story-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 0 56px;
}
.story .section-num { color: var(--gold-2); }
.story .section-head .section-kicker {
  color: rgba(244, 239, 230, 0.62);
}
.story .lede,
.story .body-copy {
  max-width: none;
  color: #d8d0c3;
}
.story .body-copy { margin-top: 36px; }

/* DESIGN */
.design-intro { max-width: 640px; margin-bottom: 36px; }
.stage-embed {
  margin: 0 0 56px;
  background: #0c0b0a;
  border: 1px solid #2e2923;
  color: #f4eee4;
  overflow: hidden;
}
.stage-embed iframe { display: none; }
.six-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 8px;
}
.six-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  border: 1px solid #2e2923;
  background: #161310;
  color: #c4a574;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
}
.six-chip small { color: #9a9084; font-size: 11px; }
.six-hint { font-size: 11px; color: #9a9084; letter-spacing: 0.04em; }
.six-stage {
  position: relative;
  margin: 0 12px;
  height: min(52vh, 520px);
  overflow: hidden;
  border: 1px solid #2e2923;
  border-radius: 12px;
  background: #050504;
}
.six-house {
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: 3%;
  right: 22%;
  display: flex;
}
.six-outside {
  position: absolute;
  top: 8%;
  right: 3%;
  bottom: 8%;
  left: 78%;
  border-left: 1px dashed rgba(196, 165, 116, 0.3);
}
.six-outside span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(196, 165, 116, 0.7);
  text-transform: uppercase;
  text-align: center;
}
.six-outside small {
  display: block;
  margin-top: 2px;
  letter-spacing: 0;
  font-size: 9px;
  color: rgba(196, 165, 116, 0.5);
  text-transform: none;
}
.six-panel {
  position: relative;
  flex: 1;
  height: 100%;
  overflow: hidden;
  z-index: 5;
}
.six-panel.is-mid { overflow: visible; z-index: 10; }
.six-panel.is-front { z-index: 20; }
.six-panel.is-gate { overflow: visible; z-index: 8; }
.six-behind {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #3a3228;
}
.six-behind::after {
  content: "";
  position: absolute;
  inset: 8% 18%;
  border-radius: 2px;
  background: #2a241c;
  box-shadow: inset 0 0 30px #000;
}
.six-tokonoma { background: #1a120c; }
.six-tokonoma::after { display: none; }
.six-scroll {
  position: absolute;
  inset: 12% 28%;
  border-radius: 2px;
  background: #2a1c12;
  box-shadow: inset 0 0 12px #000;
}
.six-god {
  position: absolute;
  top: 18%;
  left: 50%;
  width: 14%;
  height: 38%;
  transform: translateX(-50%);
  background: rgba(196, 165, 116, 0.8);
  z-index: 0;
}
.six-leaf {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-left: 1px solid #4a4034;
  border-right: 1px solid #4a4034;
  background: #2c261e;
  will-change: transform;
}
.six-slide { transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.six-hinge {
  transform-origin: left center;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.six-shoji {
  position: absolute;
  inset: 5px;
  background-color: #f3ead8;
  background-image:
    linear-gradient(90deg, #2c261e38 1px, transparent 1px),
    linear-gradient(#2c261e38 1px, transparent 1px);
  background-size: 16px 16px;
  box-shadow: inset 0 0 40px #ffecc859;
}
.six-hinge-gold {
  position: absolute;
  inset: 8% auto 8% 0;
  width: 3px;
  background: rgba(196, 165, 116, 0.8);
}
.six-num {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 30;
  transform: translateX(-50%);
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.7);
  color: #f3ead8;
}
.six-num.is-open { background: #c4a574; color: #0c0b0a; }
.six-actor {
  position: absolute;
  left: 89%;
  bottom: 16%;
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%) scale(-0.58, 0.58);
  transform-origin: bottom;
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(196, 165, 116, 0.55));
  transition:
    left 1.4s cubic-bezier(0.22, 1, 0.36, 1),
    bottom 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.38s,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.six-actor .six-head {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f3ead8;
  box-shadow: 0 0 0 2px #c4a574;
}
.six-actor .six-body {
  margin-top: 2px;
  width: 28px;
  height: 52px;
  border-radius: 18px 18px 0 0;
  background: #c4a574;
}
.six-caption {
  min-height: 52px;
  padding: 14px 16px 8px;
  text-align: center;
}
.six-caption [data-six-en] {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #f4eee4;
  line-height: 1.4;
}
.six-caption [data-six-en].is-say {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 400;
}
.six-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 6px 16px 4px;
}
.six-play,
.six-replay {
  height: 40px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.six-play {
  min-width: 120px;
  background: #c4a574;
  color: #0c0b0a;
  font-weight: 500;
}
.six-replay {
  padding: 0 18px;
  border: 1px solid #2e2923;
  background: #161310;
  color: #f4eee4;
}
.six-key {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 20px;
  padding: 18px 16px 20px;
  border-top: 1px solid #2e2923;
}
.six-key strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #c4a574;
  margin-bottom: 6px;
}
.six-key p {
  margin: 0;
  font-size: 12px;
  color: #d8d0c3;
  line-height: 1.35;
}
.six-key small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #9a9084;
}
.embed-caption {
  padding: 12px 16px 16px;
  font-size: 13px;
  color: var(--mute);
}
.embed-caption a { text-decoration: underline; }
.design-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}
.design-card {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  min-height: 280px;
}
.design-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  min-height: 280px;
  transition: transform 1.1s var(--ease);
}
.design-card:hover img { transform: scale(1.05); }
.design-card.tall { grid-row: span 2; min-height: 640px; }
.design-card.tall img { min-height: 640px; }
.design-card.wall-six { min-height: 400px; }
.design-card.wall-six img { min-height: 400px; object-position: 70% 42%; }
.design-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 24px 22px;
  background: linear-gradient(transparent, rgba(10,8,6,.78));
  color: var(--white);
}
.design-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}
.design-card p {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
  opacity: 0.8;
}
.design-notes {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.design-notes h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 10px;
}
.design-notes p { color: var(--ink-3); font-size: 15px; }

/* STORY SLIDES */
.scenes {
  background: var(--paper);
  padding: 0 0 80px;
  scroll-margin-top: var(--nav-h);
  margin-top: 0;
  border: 0;
}
.scenes-visual {
  position: relative;
  width: 100%;
  margin-left: 0;
  min-height: 0;
  height: 38vh;
  max-height: 400px;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink) 47%, var(--paper) 53%, var(--paper) 100%);
  box-shadow: none;
  overflow: hidden;
}
.scenes-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/story-visual.jpg?v=2") center 58% / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 58%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 58%, transparent 100%);
}
.scenes-body {
  padding: 0 var(--gutter);
  margin-top: -88px;
  position: relative;
  z-index: 1;
}
.scenes-head {
  padding: 0 0 48px;
  max-width: var(--max);
  margin: 0 auto;
}
.scenes-head .section-num { color: var(--gold); }
.scenes-head .section-kicker { color: var(--mute); }
.scenes .section-head .section-num {
  color: var(--paper);
  text-shadow:
    0 0 18px rgba(22, 19, 16, 0.7),
    0 1px 3px rgba(22, 19, 16, 0.85),
    0 4px 22px rgba(22, 19, 16, 0.45);
}
.scenes .section-head h2 {
  color: var(--ink);
  text-shadow: none;
  white-space: nowrap;
}

.story-slide {
  display: block;
  max-width: var(--max);
  margin: 0 auto;
  min-height: 0;
  color: var(--ink);
  background: transparent;
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
}
.scenes .story-slide:first-of-type {
  border-top: 0;
}
.story-slide .slide-label {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  padding: 0 0 16px;
}
.story-slide .slide-panel {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: stretch;
  min-height: 0;
  padding: 0;
  gap: 32px;
}
.story-slide.no-photo .slide-panel {
  grid-template-columns: 1fr;
}
.story-slide.photo-left .slide-panel {
  grid-template-columns: 1fr 2fr;
}
.story-slide.photo-left .slide-photo { order: -1; }
.story-slide.slide-tri .slide-panel {
  grid-template-columns: 1fr 0.92fr 1fr;
  gap: 10px;
  padding: 0;
}
.story-slide.slide-pair .slide-panel {
  grid-template-columns: 1fr 2fr;
  align-items: stretch;
  gap: 32px;
}
.story-slide.slide-pair .pair-photos { order: -1; }
.story-slide.slide-pair.pair-right .slide-panel {
  grid-template-columns: 2fr 1fr;
}
.story-slide.slide-pair.pair-right .pair-photos { order: 0; }
.story-slide.slide-pair .slide-copy {
  justify-content: flex-start;
  padding: 0;
}
.story-slide .slide-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
}
.story-slide .slide-copy h3 { display: none; }
.story-slide .slide-copy p {
  font-size: 16px;
  line-height: 1.6;
  max-width: none;
  color: var(--ink-3);
}
.story-slide .slide-copy p + p { margin-top: 0.95em; }
.story-slide .slide-note {
  margin-top: 18px;
  padding-top: 0;
  border-top: 0;
  max-width: none;
  font-size: 14px;
  color: var(--ink-3);
}
.story-slide .slide-note strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--gold);
}
.story-slide .slide-photo {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--paper-2);
}
.story-slide:not(.slide-tri):not(.no-photo) .slide-photo {
  cursor: zoom-in;
}
.story-slide .slide-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.story-slide .slide-photo.crop-bottom {
  overflow: hidden;
}
.story-slide .slide-photo.crop-bottom img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transform: none;
}
.story-slide.slide-tri .slide-photo img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.pair-photos {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.pair-photos .slide-photo {
  position: absolute;
  width: 68%;
  height: 68%;
  overflow: hidden;
  background: var(--paper-2);
  cursor: zoom-in;
  box-shadow: 0 10px 28px rgba(10, 8, 6, 0.14);
}
.pair-photos .slide-photo:first-child {
  top: 0;
  left: 0;
  right: auto;
  z-index: 2;
}
.pair-photos .slide-photo:last-child {
  top: auto;
  left: auto;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.pair-photos .slide-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pair-photos.pair-tr .slide-photo:first-child {
  top: 0;
  right: 0;
  left: auto;
  z-index: 2;
  width: 36%;
  height: 40%;
}
.pair-photos.pair-tr .slide-photo:last-child {
  top: auto;
  left: 0;
  right: auto;
  bottom: 0;
  z-index: 1;
  width: 88%;
  height: 82%;
}
.pair-photos.pair-tr .slide-photo:last-child img {
  object-position: center 45%;
}
.pair-photos.pair-front .slide-photo:first-child { z-index: 1; }
.pair-photos.pair-front .slide-photo:last-child { z-index: 2; }
.pair-photos.pair-flip .slide-photo:first-child {
  width: 50%;
  height: 50%;
}
.pair-photos.pair-flip .slide-photo:last-child {
  width: 82%;
  height: 78%;
}
.pair-photos.pair-flip .slide-photo img {
  object-fit: cover;
}
.story-slide .slide-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 28px 12px 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: linear-gradient(transparent, rgba(244,239,230,.9));
}
.story-slide.photo-left .slide-photo { order: -1; }

.story-slide.is-dark,
.story-slide.is-gold {
  background: transparent;
  color: var(--ink);
}
.story-slide.is-dark .slide-label,
.story-slide.is-gold .slide-label { color: var(--ink); }
.story-slide.is-dark h3,
.story-slide.is-gold h3 { color: inherit; }

.story-slide.no-photo {
  grid-template-columns: 1fr;
}
.story-slide.no-photo .slide-copy {
  max-width: 820px;
  margin: 0 auto;
  min-height: 0;
}
.story-slide.split-scenes .slide-panel {
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  position: relative;
  align-items: start;
}
.story-slide.split-scenes .slide-panel::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 14%;
  bottom: 14%;
  width: 1px;
  background: var(--line);
}
.story-slide.split-scenes .scene-col .slide-label {
  padding: 0 0 16px;
}
.story-slide.split-scenes .slide-copy {
  display: flex;
}
.story-slide.photo-below .slide-panel {
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}
.story-slide.photo-below .slide-copy {
  padding: 0;
}
.story-slide.photo-below .slide-photo {
  height: auto !important;
  min-height: 0;
  background: transparent;
}
.story-slide.photo-below .slide-photo img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.story-slide.split-copy .slide-panel {
  grid-template-columns: 1fr;
}
.story-slide.split-copy .slide-copy {
  display: block;
  max-width: none;
  margin: 0;
  position: relative;
  padding: 0;
}
.story-slide.split-copy .split-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  position: relative;
}
.story-slide.split-copy .split-cols::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: var(--line);
}
.story-slide.split-copy .split-col {
  padding: 0;
}
.story-slide.slide-tri .slide-copy {
  padding: 20px 8px;
}
.story-slide.slide-tri .slide-copy p { max-width: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 8, 6, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(100%, 1400px);
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0,0,0,.45);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  padding: 8px;
}

/* HISTORY */
.history-stack { display: grid; gap: 72px; }
.history-block {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.history-stack .history-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.history-block h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
}
.history-block .tag {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.history-block .stage-embed {
  grid-column: 1 / -1;
}
.history-entry {
  grid-template-columns: 1fr;
  gap: 28px;
}
.history-entry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.history-entry .jp-title {
  font-family: var(--jp);
  font-style: normal;
  font-weight: 400;
  font-size: 0.62em;
  letter-spacing: 0.06em;
  color: var(--mute);
  margin-left: 0.3em;
}
.history-entry .body-copy p + p { margin-top: 0.95em; }
.history-sources {
  margin-top: 28px;
  font-size: 13px;
  color: var(--mute);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 22px;
}
.history-sources a {
  color: var(--ink-3);
  border-bottom: 1px solid var(--line-strong);
}
.history-sources .src-en {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  border-bottom: 0;
  margin-left: -14px;
}
.history-entry .stage-use p + p { margin-top: 0.9em; }
.history-entry-grid.has-photo {
  grid-template-columns: 2fr 1fr;
  gap: 36px 40px;
  align-items: start;
}
.history-entry-grid.has-photo .stage-use {
  grid-column: 1 / -1;
}
.history-photo { margin: 0; }
.history-photo img {
  width: 100%;
  height: auto;
  display: block;
}
#made .history-block,
#made-ii .history-block,
#made-iii .history-block {
  grid-template-columns: 1fr;
  gap: 18px;
}
#made .history-block h3,
#made-ii .history-block h3,
#made-iii .history-block h3 {
  font-size: clamp(28px, 3.4vw, 42px);
}
#dandelion-who,
#projection,
#movement {
  border-top: 1px solid var(--line);
  padding-top: 64px;
}
.prop-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.prop-row figure { margin: 0; }
.prop-row img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.movement-copy {
  padding-top: 8px;
  max-width: none;
}
#made-ii .movement-copy {
  color: var(--ink-2);
}
.mask-copy {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
.mask-copy .body-copy { order: -1; }
.mask-photo {
  position: relative;
  margin: 0;
  min-height: 440px;
  height: min(52vh, 560px);
  overflow: hidden;
}
.mask-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top right;
  display: block;
}
.projection-copy {
  align-items: start;
}
.proj-media {
  position: relative;
  margin: 0;
  background: #0c0b0a;
  align-self: start;
}
.proj-media video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 39 / 22;
  object-fit: contain;
  background: #0c0b0a;
}
.proj-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(12, 11, 10, 0.18);
}
.proj-play span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 40px;
  border-radius: 999px;
  background: #c4a574;
  color: #0c0b0a;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.proj-media.is-playing .proj-play {
  display: none;
}
.stage-use {
  background: var(--paper-2);
  color: var(--ink-2);
  padding: 28px 28px 24px;
}
.stage-use strong {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 500;
}

/* CASTING */
.cast-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cast-card {
  background: var(--paper);
  padding: 32px 28px 28px;
  min-height: 240px;
}
.cast-card.span-2 { grid-column: span 2; }
.role {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.cast-card h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  margin: 8px 0 6px;
}
.alt { font-size: 13px; color: var(--mute); margin-bottom: 16px; }
.need { font-size: 15px; color: var(--ink-2); }
.cast-legend {
  margin-top: 28px;
  font-size: 13px;
  color: var(--mute);
}

/* PREMIERE */
.premiere {
  background:
    linear-gradient(180deg, rgba(22,19,16,.55), rgba(22,19,16,.78)),
    url("../images/stage-shoji.jpg") center/cover no-repeat;
  color: var(--paper);
  min-height: 90vh;
  display: grid;
  align-items: center;
}
.premiere .section-head { margin-bottom: 36px; }
.premiere .lede { max-width: 820px; }
.premiere-essay {
  max-width: 820px;
}
.premiere-essay p + p { margin-top: 1em; }
.reasons {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
.reason {
  max-width: 820px;
  padding-top: 28px;
  border-top: 1px solid rgba(244, 239, 230, 0.2);
}
.reason .tag {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.reason h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 500;
  margin-bottom: 16px;
}
.reason .body-copy {
  max-width: none;
  color: var(--paper);
}
.reason .body-copy p + p { margin-top: 0.95em; }
.reason em { font-style: italic; }
.draft-mark {
  display: inline-block;
  margin-left: 0.5em;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 500;
  font-style: normal;
  vertical-align: middle;
  position: relative;
  top: -0.12em;
}

/* CLOSE */
.close {
  padding: 140px var(--gutter);
  text-align: center;
}
.close h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 500;
  line-height: 0.92;
}
.close p { margin: 24px auto 0; max-width: 520px; color: var(--ink-3); }
.footer {
  padding: 28px var(--gutter) 40px;
  display: flex; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: rise .9s var(--ease) forwards;
}
.reveal-d1 { animation-delay: .12s; }
.reveal-d2 { animation-delay: .24s; }
@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--paper); color: var(--ink);
    padding: 24px var(--gutter) 32px; gap: 18px;
    mix-blend-mode: normal;
  }
  .nav-toggle { display: block; }
  .story-visual {
    min-height: 42vh;
    background-position: 82% 68%;
  }
  .story-body {
    padding-top: 0;
    margin-top: -88px;
    position: relative;
    z-index: 1;
  }
  .story {
    padding-bottom: 0;
  }
  .made-visual {
    min-height: 34vh;
    background-position: center 70%;
  }
  .scenes-visual {
    height: 28vh;
    max-height: none;
    background-position: center 62%;
  }
  .costume-visual {
    height: 28vh;
    max-height: none;
  }
  .costume-body {
    margin-top: -64px;
  }
  .scenes-body {
    margin-top: -64px;
  }
  .six-key {
    grid-template-columns: 1fr 1fr;
  }
  .made-body {
    margin-top: -64px;
  }
  .door-six-copy {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .door-six-photo {
    position: relative;
    min-height: 0;
  }
  .door-six-photo img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .costume-row {
    grid-template-columns: 1fr;
  }
  .costume-row > img,
  .costume-row .costume-box img {
    height: auto;
    max-height: 70vh;
  }
  .history-entry-grid.has-photo {
    grid-template-columns: 1fr;
  }
  .section-head, .design-grid, .history-block, .cast-grid, .reasons, .design-notes,
  .story-slide .slide-panel,
  .story-slide.photo-left .slide-panel,
  .story-slide.slide-tri .slide-panel {
    grid-template-columns: 1fr;
  }
  .design-card.tall, .cast-card.span-2 { grid-column: auto; min-height: 360px; }
  .mask-copy {
    display: flow-root;
    grid-template-columns: 1fr;
  }
  .mask-copy .body-copy { order: unset; }
  .mask-photo {
    float: left;
    width: 42%;
    max-width: 168px;
    margin: 0 16px 12px 0;
    height: auto !important;
    min-height: 0;
    overflow: visible;
    position: static;
  }
  .mask-photo img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .projection-copy {
    display: grid;
    grid-template-columns: 1fr;
  }
  .projection-copy .body-copy { order: unset; }
  .proj-media {
    width: 100%;
    max-width: none;
  }
  .why-grid,
  .why-grid.photo-left {
    display: flow-root;
  }
  .why-grid .body-copy,
  .why-grid.photo-left .body-copy,
  .why-grid.photo-left .why-photo {
    order: unset;
  }
  .why-photo {
    float: right;
    width: 42%;
    max-width: 168px;
    margin: 0 0 12px 16px;
    height: auto !important;
  }
  .why-grid.photo-left .why-photo {
    float: left;
    margin: 0 16px 12px 0;
  }
  .why-photo img {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: contain;
  }
  .story-slide .slide-photo {
    min-height: 0;
    height: auto !important;
    aspect-ratio: auto;
  }
  .story-slide .slide-photo img {
    position: static;
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
  }
  .story-slide.slide-tri .slide-photo {
    min-height: 0;
  }
  .story-slide.slide-tri .slide-photo img {
    position: static;
    height: auto;
    object-fit: contain;
  }
  .story-slide .slide-photo figcaption {
    position: static;
    background: none;
    padding: 8px 4px 16px;
  }
  .story-slide .slide-copy { padding: 20px 0 8px; }
  .story-slide.photo-left .slide-photo { order: 0; }
  .story-slide.slide-tri .slide-panel { padding: 0 0 8px; }
  .story-slide.slide-tri .slide-copy { padding: 20px 0; }
  .story-slide.slide-pair .slide-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .story-slide.slide-pair .pair-photos {
    display: contents;
    order: 0;
    height: auto !important;
    overflow: visible;
    max-width: none;
    margin: 0;
    min-height: 0;
  }
  .story-slide.slide-pair .slide-copy {
    order: 2;
  }
  .pair-photos .slide-photo {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    box-shadow: none;
    margin: 0;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }
  .pair-photos .slide-photo:first-child { order: 1; }
  .pair-photos .slide-photo:last-child { order: 3; }
  .pair-photos.pair-flip .slide-photo:first-child { order: 3; }
  .pair-photos.pair-flip .slide-photo:last-child { order: 1; }
  .pair-photos.pair-tr .slide-photo:first-child,
  .pair-photos.pair-tr .slide-photo:last-child,
  .pair-photos.pair-flip .slide-photo:first-child,
  .pair-photos.pair-flip .slide-photo:last-child {
    width: 100%;
    height: auto;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }
  .pair-photos .slide-photo img,
  .pair-photos.pair-tr .slide-photo:last-child img,
  .pair-photos.pair-flip .slide-photo img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
  .story-slide .slide-photo.crop-bottom {
    height: auto !important;
  }
  .story-slide .slide-photo.crop-bottom img {
    transform: none;
    position: static;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
  .story-slide.split-copy .slide-copy {
    display: block;
  }
  .story-slide.split-copy .split-cols {
    display: block;
  }
  .story-slide.split-copy .split-cols::after {
    display: none;
  }
  .story-slide.split-copy .split-col + .split-col {
    margin-top: 1.15em;
  }
  .story-slide.split-scenes .slide-panel {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .story-slide.split-scenes .slide-panel::after {
    display: none;
  }
  .story-slide.split-scenes .scene-col + .scene-col {
    border-top: 1px solid var(--line);
    margin-top: 28px;
    padding-top: 28px;
  }
  .prop-row {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 360px;
    margin: 0 auto;
  }
  .hero {
    --hero-title: clamp(22px, 8.6vw, 42px);
  }
  .section-head h2 {
    font-size: clamp(25px, calc((100vw - 40px) / 13.4), 44px);
    letter-spacing: -0.025em;
  }
  .scenes .section-head h2 {
    white-space: nowrap;
  }
  .story-slide .slide-label {
    font-size: clamp(18px, 4.6vw, 22px);
  }
}
