/* =========================================================
   v38 — PAST page
   ========================================================= */

.past-page {
  background: #0c0c0b;
  color: #e0d8c6;
}

.past-main {
  overflow: hidden;
}

.past-hero {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 22px 76px;
  overflow: hidden;
  background: #0c0c0b;
}

.past-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8,8,8,.34), rgba(8,8,8,.54) 55%, #0c0c0b 100%),
    linear-gradient(90deg, rgba(8,8,8,.42), transparent 46%, rgba(8,8,8,.28)),
    url("../assets/hero-flag.jpg") center 40% / cover no-repeat;
  filter: saturate(.50) brightness(.58);
  transform: scale(1.035);
}

.past-hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 26% 30%, rgba(224,216,198,.045), transparent 28%),
    linear-gradient(180deg, transparent 42%, rgba(12,12,11,.24) 62%, #0c0c0b 100%);
}

.past-hero__inner {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: left;
}

.past-hero__eyebrow {
  margin: 0 0 20px;
  color: rgba(224,216,198,.60);
  font-size: .68rem;
  letter-spacing: .12em;
}

.past-hero h1 {
  margin: 0;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(2.8rem, 15vw, 5rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: .08em;
  text-shadow: 0 4px 30px rgba(0,0,0,.55);
}

.past-hero__en {
  margin: 8px 0 0;
  color: rgba(224,216,198,.38);
  font-family: "Bodoni 72", "Didot", "Times New Roman", serif;
  font-size: .62rem;
  letter-spacing: .26em;
}

.past-hero__lead {
  margin: 34px 0 0;
  color: rgba(224,216,198,.90);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 1.08rem;
  line-height: 2;
  letter-spacing: .07em;
}

.past-hero__scroll {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 34px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(224,216,198,.22);
  color: rgba(224,216,198,.55);
  font-size: .8rem;
  text-decoration: none;
}

.past-archive {
  position: relative;
  padding: 90px 0 80px;
  background:
    radial-gradient(circle at 14% 18%, rgba(101,30,28,.08), transparent 30%),
    linear-gradient(180deg, #0c0c0b, #11100e 46%, #0a0a09);
}

.past-archive::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .055;
  background-image:
    linear-gradient(rgba(224,216,198,.22) 1px, transparent 1px);
  background-size: 100% 72px;
  pointer-events: none;
}

.past-archive__inner {
  position: relative;
  z-index: 1;
  width: min(960px, calc(100% - 44px));
  margin: 0 auto;
}

.past-work {
  position: relative;
  padding: 34px 0 56px;
  border-top: 1px solid rgba(224,216,198,.12);
}

.past-work:last-child {
  border-bottom: 1px solid rgba(224,216,198,.12);
}

.past-work__meta {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
}

.past-work__number {
  margin: 8px 0 0;
  color: rgba(224,216,198,.26);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .7rem;
  letter-spacing: .12em;
}

.past-work__stage {
  margin: 0 0 7px;
  color: rgba(224,216,198,.38);
  font-size: .72rem;
  letter-spacing: .08em;
}

.past-work h2 {
  margin: 0;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.6rem, 7vw, 2.5rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .05em;
}

.past-work__lead {
  margin: 26px 0 0 62px;
  color: rgba(224,216,198,.64);
  font-size: clamp(.78rem, 3.5vw, .95rem);
  line-height: 2.05;
}

.past-work__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 0 62px;
}

.past-photo {
  margin: 0;
}

.past-photo__image {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(224,216,198,.14);
  background:
    linear-gradient(180deg, rgba(224,216,198,.03), rgba(224,216,198,.01)),
    radial-gradient(circle at 24% 18%, rgba(145,46,42,.20), transparent 28%),
    linear-gradient(135deg, rgba(29,29,27,.95), rgba(22,22,20,.78));
  overflow: hidden;
}

.past-photo__image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,8,.18), transparent 30%, transparent 70%, rgba(8,8,8,.12)),
    linear-gradient(180deg, transparent, rgba(8,8,8,.28));
}

.past-photo__image::after {
  content: "PHOTO";
  position: absolute;
  left: 12px;
  bottom: 10px;
  color: rgba(224,216,198,.28);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .56rem;
  letter-spacing: .18em;
}

.past-photo figcaption {
  margin-top: 9px;
  color: rgba(224,216,198,.32);
  font-size: .64rem;
  letter-spacing: .05em;
}

.past-footer {
  min-height: 38svh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 30px;
  padding: 76px 24px calc(90px + env(safe-area-inset-bottom, 0px));
  background: #090908;
}

.past-footer__line {
  width: 1px;
  height: 54px;
  background: linear-gradient(transparent, rgba(224,216,198,.28), transparent);
}

.past-footer a {
  color: rgba(224,216,198,.54);
  font-size: .76rem;
  letter-spacing: .06em;
  text-decoration: none;
}

@media (min-width: 760px) {
  .past-hero {
    min-height: 84svh;
    padding-inline: 9vw;
  }

  .past-hero h1 {
    font-size: clamp(4rem, 7vw, 6rem);
  }

  .past-hero__lead {
    font-size: 1.3rem;
  }
}

@media (max-width: 759px) {
  .past-work__meta {
    grid-template-columns: 34px 1fr;
    gap: 14px;
  }

  .past-work__lead,
  .past-work__gallery {
    margin-left: 48px;
  }

  .past-work__gallery {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}


/* =========================================================
   v39 — PAST work details / shared photo credit
   ========================================================= */

.past-work__info {
  margin: 28px 0 0 62px;
}

.past-work__facts {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(224,216,198,.10);
}

.past-work__fact {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(224,216,198,.08);
}

.past-work__fact dt {
  color: rgba(224,216,198,.34);
  font-size: .66rem;
  letter-spacing: .08em;
}

.past-work__fact dd {
  margin: 0;
  color: rgba(224,216,198,.70);
  font-size: .78rem;
  line-height: 1.7;
}

.past-work__synopsis {
  margin-top: 24px;
}

.past-work__synopsis-label {
  margin: 0 0 10px;
  color: rgba(224,216,198,.34);
  font-size: .66rem;
  letter-spacing: .08em;
}

.past-work__synopsis > p:not(.past-work__synopsis-label) {
  margin: 0 0 1.2em;
  color: rgba(224,216,198,.64);
  font-size: clamp(.78rem, 3.5vw, .95rem);
  line-height: 2.05;
}

.past-work__synopsis > p:not(.past-work__synopsis-label):last-child {
  margin-bottom: 0;
}

.past-photo-credit {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(224,216,198,.08);
  color: rgba(224,216,198,.28);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .58rem;
  letter-spacing: .18em;
  text-align: right;
}

@media (max-width: 759px) {
  .past-work__info {
    margin-left: 48px;
  }

  .past-work__fact {
    grid-template-columns: 72px 1fr;
    gap: 12px;
  }

  .past-photo-credit {
    padding-right: 2px;
  }
}

/* =========================================================
   2026-09-11 Readability pass
   ========================================================= */

.past-hero__eyebrow { font-size: .76rem; }
.past-hero__lead { font-size: 1.14rem; }
.production-number { font-size: .78rem; }
.production-meta { font-size: .8rem; }
.production-summary,
.production-synopsis { font-size: clamp(.88rem, 3.8vw, 1rem); line-height: 2.05; }
.production-credit,
.photo-credit { font-size: .72rem; line-height: 1.7; }

@media (min-width: 760px) {
  .past-hero__lead { font-size: 1.34rem; }
  .production-summary,
  .production-synopsis { font-size: 1rem; }
}


/* 2026-09-11 readability refinement 2 */
.past-hero__eyebrow,
.past-hero__en,
.past-production__number,
.past-production__meta,
.past-production__label,
.past-photo-credit { color: rgba(224,216,198,.62); }
