/* ======================================================================
   Maeda Yoichi Memorial Site — Enhanced Stylesheet
   前田陽一 監督メモリアルサイト  デザイン強化版
   ====================================================================== */

:root {
  --ink:        #15110d;
  --ink-soft:   #3d342a;
  --paper:      #f4ecdc;
  --paper-warm: #ebe0c6;
  --paper-deep: #e3d4b3;
  --accent:     #9c2017;   /* 朱  vermilion */
  --accent-2:   #2c4a3e;   /* 深緑 deep green */
  --gold:       #b08d3c;   /* 金箔  gilt */
  --rule:       #c4b289;
  --muted:      #6b6358;
  --link:       #9c2017;
  --link-hover: #5a1310;
  --shadow:     0 4px 20px rgba(50,30,10,.18);
  --shadow-sm:  0 2px 8px rgba(50,30,10,.14);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Mincho ProN", "YuMincho", "Yu Mincho", "Noto Serif JP",
               "Times New Roman", Georgia, serif;
  line-height: 1.8;
  font-size: 16px;
  /* paper-grain texture */
  background-image:
    radial-gradient(circle at 20% 35%, rgba(176,141,60,.05) 0, transparent 40%),
    radial-gradient(circle at 75% 70%, rgba(156,32,23,.04) 0, transparent 35%),
    repeating-linear-gradient(45deg, rgba(0,0,0,.012) 0 1px, transparent 1px 4px);
}

a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
a:hover { color: var(--link-hover); border-bottom-color: var(--link-hover); }

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

/* ====================================================================
   HEADER
   ==================================================================== */

header.site {
  position: relative;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.78) 100%),
    radial-gradient(ellipse at center, #2a1d12 0%, #0d0805 100%);
  color: var(--paper);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  border-bottom: 6px double var(--gold);
  overflow: hidden;
}

/* film-strip motif on top and bottom */
header.site::before,
header.site::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 24px;
  background:
    repeating-linear-gradient(
      90deg,
      #000 0 14px,
      #1a1a1a 14px 18px,
      #000 18px 32px,
      #f4ecdc 32px 38px,
      #000 38px 52px
    );
  background-size: 52px 24px;
  background-color: #000;
  background-image:
    radial-gradient(circle at 14px 12px, transparent 5px, #000 5.5px),
    repeating-linear-gradient(90deg, transparent 0 32px, #f4ecdc 32px 38px);
  opacity: .85;
}
header.site::before { top: 0; }
header.site::after  { bottom: 0; }

header.site .inner {
  position: relative;
  z-index: 2;
  padding: 1.5rem 0;
}

header.site .kanji {
  font-size: 3.4rem;
  letter-spacing: .45em;
  margin: 0 0 .35rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
  color: #f5e8c8;
}
header.site .romaji {
  font-size: 1rem;
  letter-spacing: .35em;
  margin: 0;
  color: var(--gold);
  font-family: "Optima", "Palatino", Georgia, serif;
  text-transform: uppercase;
}
header.site .tagline {
  margin-top: 1.5rem;
  font-size: .95rem;
  color: #cab48a;
  font-style: italic;
  letter-spacing: .08em;
}

/* ====================================================================
   NAVIGATION
   ==================================================================== */

nav.primary {
  background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper-deep) 100%);
  border-bottom: 1px solid var(--rule);
  text-align: center;
  padding: .9rem 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
nav.primary a {
  display: inline-block;
  margin: 0 1.1rem;
  padding: .35rem .25rem;
  font-size: .95rem;
  letter-spacing: .14em;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  font-weight: 500;
}
nav.primary a:hover,
nav.primary a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
nav.primary .sep {
  color: var(--rule);
  margin: 0 .3rem;
}

/* ====================================================================
   LAYOUT
   ==================================================================== */

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.75rem 4rem;
}

/* ====================================================================
   HEADINGS
   ==================================================================== */

h1, h2, h3, h4 {
  font-family: "Hiragino Mincho ProN", "YuMincho", "Noto Serif JP", Georgia, serif;
  color: var(--ink);
  line-height: 1.4;
}

h1.page-title {
  font-size: 2.5rem;
  text-align: center;
  margin: 2.5rem 0 .25rem;
  letter-spacing: .35em;
  position: relative;
  padding-bottom: 1.25rem;
}
h1.page-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin: 1rem auto 0;
}
h1.page-title + .en {
  text-align: center;
  font-family: "Optima", "Palatino", Georgia, serif;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: 2.75rem;
}

h2 {
  font-size: 1.55rem;
  margin: 3rem 0 1.25rem;
  padding: 0 0 .5rem 0;
  position: relative;
  letter-spacing: .12em;
  border-bottom: 1px solid var(--rule);
}
h2::before {
  content: "";
  position: absolute;
  bottom: -1px; left: 0;
  width: 60px; height: 3px;
  background: var(--accent);
}
h2 .en {
  font-family: "Optima", "Palatino", Georgia, serif;
  font-size: .75rem;
  letter-spacing: .3em;
  color: var(--muted);
  margin-left: 1rem;
  text-transform: uppercase;
  font-weight: normal;
}

h3 {
  font-size: 1.15rem;
  margin: 2rem 0 .8rem;
  color: var(--accent-2);
  letter-spacing: .08em;
}
h3 .en {
  font-family: "Optima", Georgia, serif;
  font-size: .7rem;
  letter-spacing: .3em;
  color: var(--muted);
  margin-left: .8rem;
  text-transform: uppercase;
}

/* ====================================================================
   CINEMATIC HERO  (full-bleed, dramatic black background)
   ==================================================================== */

.cinematic-hero {
  position: relative;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(80,55,30,.35) 0%, transparent 60%),
    linear-gradient(180deg, #0a0604 0%, #1a120a 60%, #0a0604 100%);
  color: #f5e8c8;
  padding: 4.5rem 1.5rem 5rem;
  overflow: hidden;
  border-bottom: 6px double var(--gold);
}

/* film-grain overlay */
.cinematic-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.03) 0 1px, transparent 1px 4px);
  pointer-events: none;
  z-index: 1;
}

/* film-strip motif on left and right edges */
.cinematic-hero::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  background:
    /* left strip */
    linear-gradient(90deg, #000 0, #000 32px, transparent 32px),
    /* right strip */
    linear-gradient(270deg, #000 0, #000 32px, transparent 32px),
    /* left holes */
    radial-gradient(circle at 16px 20px, #f4ecdc 4px, transparent 4.5px),
    radial-gradient(circle at 16px 60px, #f4ecdc 4px, transparent 4.5px),
    radial-gradient(circle at 16px 100px, #f4ecdc 4px, transparent 4.5px);
  background-repeat: no-repeat, no-repeat, repeat-y, repeat-y, repeat-y;
  background-position: 0 0, 100% 0, 0 0, 0 40px, 0 80px;
  background-size: auto auto, auto auto, 32px 40px, 32px 40px, 32px 40px;
  pointer-events: none;
  z-index: 1;
  opacity: .6;
}

.ch-grid {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: center;
  padding: 0 2.5rem;
}

/* PHOTO FRAME — museum-style with dramatic shadow */
.ch-photo {
  position: relative;
  padding: 14px 14px 14px;
  background: linear-gradient(180deg, #1a1208 0%, #0a0604 100%);
  box-shadow:
    0 25px 60px rgba(0,0,0,.7),
    0 0 0 1px rgba(176,141,60,.35),
    inset 0 0 0 1px rgba(255,220,150,.12);
  transform: perspective(1200px) rotateY(-1.5deg);
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.ch-photo:hover { transform: perspective(1200px) rotateY(0deg) scale(1.01); }

.ch-photo img {
  width: 100%;
  display: block;
  filter: contrast(1.05) brightness(.97) sepia(.04);
}

/* gold corner-accents on the photo */
.ch-photo .corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 2px solid var(--gold);
  z-index: 3;
}
.ch-photo .corner.tl { top: -1px;    left: -1px;  border-right: 0; border-bottom: 0; }
.ch-photo .corner.tr { top: -1px;    right: -1px; border-left:  0; border-bottom: 0; }
.ch-photo .corner.bl { bottom: -1px; left: -1px;  border-right: 0; border-top:    0; }
.ch-photo .corner.br { bottom: -1px; right: -1px; border-left:  0; border-top:    0; }

/* photo caption strip at bottom */
.ch-photo .ch-caption {
  position: absolute;
  bottom: -40px;
  left: 0; right: 0;
  text-align: center;
  font-family: "Optima", "Palatino", Georgia, serif;
  font-size: .78rem;
  letter-spacing: .25em;
  color: var(--gold);
  text-transform: uppercase;
}

/* RIGHT TEXT COLUMN */
.ch-text {
  position: relative;
  padding: .5rem 0;
}

.ch-eyebrow {
  display: inline-block;
  font-family: "Optima", Georgia, serif;
  letter-spacing: .4em;
  font-size: .72rem;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(176,141,60,.1);
  padding: .35rem .85rem;
  border: 1px solid rgba(176,141,60,.4);
  margin-bottom: 1.5rem;
}

.ch-name-jp {
  /* fluid font-size: scales with viewport, but never smaller than 2.2rem
     nor larger than 5.5rem — guarantees single line on phones */
  font-size: clamp(2.2rem, 8vw, 5.5rem);
  letter-spacing: .35em;
  margin: 0 0 .25rem;
  line-height: 1;
  color: #fff8e0;
  font-weight: 600;
  text-shadow: 0 2px 18px rgba(0,0,0,.6);
  white-space: nowrap;
}

.ch-name-en {
  font-family: "Optima", "Palatino", Georgia, serif;
  letter-spacing: .42em;
  font-size: clamp(.78rem, 2.4vw, 1.05rem);
  color: var(--gold);
  margin: 0 0 1.5rem;
  text-transform: uppercase;
  font-weight: 400;
  white-space: nowrap;
}

.ch-rule {
  height: 1px;
  width: 200px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.5rem 0;
}

.ch-dates {
  font-size: 1.1rem;
  color: #e6d6a8;
  margin: 1rem 0;
  letter-spacing: .05em;
  line-height: 1.7;
}
.ch-dates .en {
  display: block;
  font-family: "Optima", Georgia, serif;
  font-size: .9rem;
  color: #b09a6f;
  margin-top: .25rem;
  letter-spacing: .15em;
}

.ch-quote {
  font-style: italic;
  color: #cab48a;
  margin: 2rem 0 0;
  line-height: 1.85;
  font-size: 1.1rem;
  position: relative;
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent);
}
.ch-quote .en {
  display: block;
  font-style: italic;
  color: #8e7c5a;
  font-size: .9rem;
  margin-top: .5rem;
}

.ch-meta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: .82rem;
  color: #b09a6f;
}
.ch-meta span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.ch-meta b {
  color: var(--gold);
  font-weight: 600;
  font-family: "Optima", Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: .05em;
}

/* Handwritten-document call-to-action buttons */
.ch-docs {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}
.ch-handwritten {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1.4rem .85rem 1rem;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(176,141,60,.10), rgba(176,141,60,.02));
  color: #f4ecd8;
  text-decoration: none;
  transition: all .25s ease;
  box-shadow: 0 1px 0 rgba(176,141,60,.25) inset, 0 6px 18px rgba(0,0,0,.25);
}
.ch-handwritten:hover {
  background: linear-gradient(180deg, rgba(176,141,60,.22), rgba(176,141,60,.06));
  border-color: #d4ad58;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(176,141,60,.4) inset, 0 8px 22px rgba(0,0,0,.35);
}
.ch-handwritten .hw-seal {
  flex: 0 0 auto;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: .95rem;
  letter-spacing: .15em;
  color: #fff;
  background: var(--accent);
  padding: .35rem .55rem;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.ch-handwritten .hw-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}
.ch-handwritten .hw-jp {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: .08em;
}
.ch-handwritten .hw-en {
  font-size: .72rem;
  color: #b09a6f;
  letter-spacing: .1em;
  margin-top: .2rem;
  font-style: italic;
}
.ch-handwritten .hw-arrow {
  font-family: Georgia, serif;
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform .25s ease;
}
.ch-handwritten:hover .hw-arrow { transform: translateX(4px); }

@media (max-width: 880px) {
  .ch-docs { justify-content: center; }
}

@media (max-width: 880px) {
  .ch-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 1.25rem;
  }
  .ch-photo {
    transform: none;
    max-width: 420px;
    margin: 0 auto;
  }
  .ch-photo:hover { transform: scale(1.01); }
  /* Note: .ch-name-jp / .ch-name-en use clamp() so they auto-scale on mobile */
  .ch-text { text-align: center; }
  .ch-rule { margin-left: auto; margin-right: auto; }
  .ch-quote { text-align: left; }
  .ch-meta { justify-content: center; }
}

/* Very small screens (older iPhones, narrow Android) — tighten spacing further */
@media (max-width: 380px) {
  .cinematic-hero { padding: 3rem .5rem 3.5rem; }
  .ch-grid { padding: 0 .75rem; gap: 2rem; }
  .ch-name-jp { letter-spacing: .25em; }
  .ch-name-en { letter-spacing: .3em; }
}

/* ====================================================================
   FEATURED EVENT SPOTLIGHT  (Laputa Asagaya 2024 retrospective)
   ==================================================================== */

.event-spotlight {
  position: relative;
  background:
    linear-gradient(135deg, #fbf3df 0%, #f3e6c2 60%, #ead4a3 100%);
  padding: 4rem 1.5rem;
  border-bottom: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
  overflow: hidden;
}
.event-spotlight::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(156,32,23,.08) 0, transparent 35%),
    radial-gradient(circle at 85% 70%, rgba(176,141,60,.12) 0, transparent 40%);
  pointer-events: none;
}

.es-banner {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 2.5rem;
}
.es-banner .es-eyebrow {
  display: inline-block;
  font-family: "Optima", Georgia, serif;
  letter-spacing: .4em;
  text-transform: uppercase;
  font-size: .8rem;
  background: var(--accent);
  color: #fff;
  padding: .5rem 1.4rem;
  margin-bottom: 1rem;
  position: relative;
  font-weight: 600;
}
.es-banner .es-eyebrow::before,
.es-banner .es-eyebrow::after {
  content: "★";
  margin: 0 .8rem;
  color: var(--gold);
  opacity: .9;
}
.es-banner .es-pretitle {
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 0;
  letter-spacing: .15em;
}

.es-grid {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3.5rem;
  align-items: center;
}

.es-poster {
  position: relative;
  background: #fff;
  padding: 12px;
  box-shadow:
    0 18px 50px rgba(60,40,15,.3),
    0 0 0 1px rgba(176,141,60,.3);
  transform: rotate(-1.5deg);
  transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
.es-poster:hover { transform: rotate(0deg) scale(1.02); }
.es-poster img {
  width: 100%;
  display: block;
}
.es-poster::after {
  /* "NEW" sticker */
  content: "NEW";
  position: absolute;
  top: -18px; right: -18px;
  width: 70px; height: 70px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Optima", Georgia, serif;
  font-weight: 700;
  letter-spacing: .15em;
  font-size: .9rem;
  box-shadow: 0 6px 18px rgba(156,32,23,.4);
  transform: rotate(12deg);
  border: 2px solid #fff;
  z-index: 3;
}

.es-text h2.es-title {
  font-size: 2rem;
  letter-spacing: .08em;
  margin: 0 0 .35rem;
  line-height: 1.35;
  color: var(--ink);
  border: 0;
  padding: 0;
}
.es-text h2.es-title::before { display: none; }
.es-text h2.es-title small {
  display: block;
  font-size: 1.05rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .05em;
  margin-top: .25rem;
}
.es-text .es-en-title {
  font-family: Georgia, "Palatino", serif;
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
  margin: .75rem 0 1.5rem;
  line-height: 1.5;
}

.es-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem 1.5rem;
  background: rgba(255,255,255,.6);
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--accent);
  margin: 1.5rem 0;
  font-size: .95rem;
  color: var(--ink);
}
.es-info b {
  display: block;
  font-family: "Optima", Georgia, serif;
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .15rem;
  font-weight: 600;
}

.es-guests {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--rule);
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.es-guests strong { color: var(--accent-2); }

.es-link {
  display: inline-block;
  margin-top: 1.5rem;
  padding: .65rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
  font-family: "Optima", Georgia, serif;
  letter-spacing: .2em;
  font-size: .85rem;
  text-transform: uppercase;
  border: 0;
  transition: background .15s ease;
}
.es-link:hover {
  background: var(--accent);
  color: #fff;
  border-bottom-color: transparent;
}

@media (max-width: 820px) {
  .es-grid { grid-template-columns: 1fr; gap: 2rem; }
  .es-poster { max-width: 360px; margin: 0 auto; transform: none; }
  .es-info { grid-template-columns: 1fr; }
}

/* ====================================================================
   HERO PORTRAIT BLOCK  (legacy, kept for inner use)
   ==================================================================== */

.hero {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3rem;
  align-items: center;
  margin: 3rem 0 2rem;
  padding: 2.5rem 2.5rem;
  background:
    linear-gradient(135deg, #fbf3df 0%, #f0e3c0 100%);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  position: relative;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 28px; height: 28px;
  border: 3px solid var(--accent);
}
.hero::before { top: -2px;    left: -2px;   border-right: 0; border-bottom: 0; }
.hero::after  { bottom: -2px; right: -2px;  border-left: 0;  border-top: 0; }

.hero-portrait {
  position: relative;
  background: #fff;
  padding: 14px 14px 50px;
  box-shadow: 0 8px 24px rgba(40,20,10,.25);
  transform: rotate(-1.5deg);
}
.hero-portrait img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  background: #ddd;
}
.hero-portrait .caption {
  position: absolute;
  bottom: 14px; left: 0; right: 0;
  text-align: center;
  font-family: "Hiragino Mincho ProN", serif;
  font-size: .9rem;
  color: var(--ink-soft);
  letter-spacing: .15em;
}

.hero-text .seal {
  display: inline-block;
  width: 60px; height: 60px;
  line-height: 60px;
  font-size: 1.4rem;
  color: #fff;
  background: var(--accent);
  text-align: center;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transform: rotate(-3deg);
}
.hero-text .name-jp {
  font-size: 2.6rem;
  letter-spacing: .35em;
  margin: 0 0 .2rem;
  font-weight: 600;
  color: var(--ink);
}
.hero-text .name-en {
  font-family: "Optima", Georgia, serif;
  letter-spacing: .3em;
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: .95rem;
  text-transform: uppercase;
}
.hero-text .lifespan {
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 0 0 1rem;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}
.hero-text .epigraph {
  font-style: italic;
  color: var(--accent-2);
  font-size: 1.05rem;
  margin: 1.25rem 0 0;
  letter-spacing: .04em;
}

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding: 1.75rem; gap: 2rem; }
  .hero-portrait { max-width: 320px; margin: 0 auto; }
  .hero-portrait img { height: 360px; }
  .hero-text { text-align: center; }
  .hero-text .lifespan { display: inline-block; text-align: left; }
}

/* ====================================================================
   BILINGUAL TEXT BLOCKS
   ==================================================================== */

.bi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  margin: 1.5rem 0;
}
.bi .jp,
.bi .en {
  padding: 1.5rem 1.6rem;
  background: #fff8ec;
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  box-shadow: var(--shadow-sm);
}
.bi .en {
  border-left-color: var(--accent-2);
  font-family: "Georgia", "Palatino", "Hiragino Mincho ProN", serif;
  font-size: .96rem;
}
.bi .jp p, .bi .en p { margin: 0 0 .85rem; }
.bi .jp p:last-child, .bi .en p:last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .bi { grid-template-columns: 1fr; }
}

/* ====================================================================
   NAV CARDS (homepage)
   ==================================================================== */

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin: 2.5rem 0;
}
.card {
  display: block;
  position: relative;
  padding: 0;
  background: #fff8ec;
  border: 1px solid var(--rule);
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card .card-img {
  height: 200px;
  background: #2a1d12;
  position: relative;
  overflow: hidden;
}
.card .card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .9;
  transition: transform .4s ease, opacity .4s ease;
}
.card:hover .card-img img {
  transform: scale(1.05);
  opacity: 1;
}
.card .card-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20,10,5,.4) 100%);
}
.card .card-body {
  padding: 1.5rem 1.6rem 1.75rem;
  border-top: 3px solid var(--accent);
}
.card .label {
  font-family: "Optima", Georgia, serif;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: .75rem;
  margin: 0 0 .4rem;
}
.card .title-jp {
  font-size: 1.6rem;
  letter-spacing: .25em;
  margin: 0 0 .5rem;
  color: var(--ink);
}
.card .desc {
  font-size: .92rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.7;
}
@media (max-width: 720px) {
  .cards { grid-template-columns: 1fr; }
}

/* ====================================================================
   POSTER GALLERY
   ==================================================================== */

.poster-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.75rem;
  margin: 2rem 0 3rem;
}
.poster {
  position: relative;
  background: #fff;
  padding: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
}
.poster:hover {
  transform: translateY(-3px) rotate(.5deg);
  box-shadow: var(--shadow);
}
.poster .poster-img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
}
.poster img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: linear-gradient(135deg, #2a1d12, #0d0805);
  display: block;
}
.poster .pcap {
  text-align: center;
  font-size: .85rem;
  color: var(--ink);
  letter-spacing: .03em;
  padding: .75rem .4rem .5rem;
  line-height: 1.55;
  min-height: 3.4em;
  font-weight: 500;
}
.poster .pcap em {
  display: block;
  color: var(--muted);
  font-size: .76rem;
  font-style: italic;
  letter-spacing: .04em;
  margin-top: .15rem;
  font-weight: 400;
}
.poster .pyear {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: "Optima", Georgia, serif;
  font-size: .72rem;
  letter-spacing: .18em;
  padding: 2px 9px;
  position: absolute;
  top: 8px; left: 8px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  font-weight: 600;
}

/* ====================================================================
   POLAROID-STYLE IMAGE FRAMES
   ==================================================================== */

.polaroids {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
  justify-items: center;
}
.polaroid {
  background: #fff;
  padding: 12px 12px 44px;
  box-shadow: 0 6px 18px rgba(40,20,10,.22);
  max-width: 280px;
  width: 100%;
}
.polaroid:nth-child(odd)  { transform: rotate(-2deg); }
.polaroid:nth-child(even) { transform: rotate(1.5deg); }
.polaroid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #ddd;
}
.polaroid .pcap {
  text-align: center;
  margin-top: .75rem;
  font-size: .85rem;
  color: var(--ink-soft);
  font-family: "Hiragino Mincho ProN", serif;
}

/* ====================================================================
   NOTICE
   ==================================================================== */

.notice {
  border: 1px dashed var(--accent-2);
  background: rgba(44, 74, 62, .06);
  padding: 1.1rem 1.4rem;
  margin: 2.5rem 0;
  font-size: .93rem;
  color: var(--ink-soft);
  border-radius: 2px;
  position: relative;
}
.notice strong { color: var(--accent-2); }
.notice::before {
  content: "⚠";
  position: absolute;
  top: -12px; left: 16px;
  background: var(--paper);
  padding: 0 8px;
  color: var(--accent-2);
  font-size: 1rem;
}

/* ====================================================================
   TIMELINE
   ==================================================================== */

.timeline {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  border-left: 3px solid var(--gold);
  position: relative;
}
.timeline li {
  position: relative;
  padding: 1rem 1rem 1rem 2.5rem;
  margin-left: .25rem;
  margin-bottom: .25rem;
}
.timeline li:hover { background: rgba(176,141,60,.06); }
.timeline li::before {
  content: "";
  position: absolute;
  left: -10px; top: 1.5rem;
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline .yr {
  display: inline-block;
  min-width: 6rem;
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: .06em;
  font-family: "Optima", Georgia, serif;
  font-size: 1.05rem;
}
.timeline .jp { display: block; margin-top: .15rem; line-height: 1.7; }
.timeline .en {
  display: block;
  font-family: Georgia, serif;
  font-size: .88rem;
  color: var(--muted);
  margin-top: .2rem;
  font-style: italic;
  line-height: 1.65;
}

/* featured timeline entry — significantly more prominent */
.timeline li.featured {
  background: linear-gradient(135deg, #fbf3df 0%, #f3e6c2 100%);
  margin: 1rem -1rem 1rem -1.5rem;
  padding: 1.5rem 1.5rem 1.5rem 3rem;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  border-radius: 2px;
}
.timeline li.featured::before {
  background: var(--gold);
  width: 18px; height: 18px;
  left: -12px; top: 1.85rem;
  box-shadow: 0 0 0 3px var(--gold), 0 0 0 5px var(--accent);
}
.timeline li.featured:hover { background: linear-gradient(135deg, #f9efd2 0%, #efe0b3 100%); }
.timeline li.featured .featured-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: "Optima", Georgia, serif;
  font-size: .68rem;
  letter-spacing: .25em;
  padding: .15rem .55rem;
  text-transform: uppercase;
  margin-left: .8rem;
  vertical-align: middle;
  font-weight: 600;
}
.timeline li.featured .featured-img {
  float: right;
  width: 180px;
  margin: 0 0 1rem 1.5rem;
  background: #fff;
  padding: 8px;
  box-shadow: 0 6px 18px rgba(60,40,15,.25);
  transform: rotate(2deg);
}
.timeline li.featured .featured-img img { width: 100%; display: block; }
.timeline li.featured .featured-img .fcap {
  text-align: center;
  font-size: .72rem;
  color: var(--muted);
  margin-top: .5rem;
  letter-spacing: .05em;
}
.timeline li.featured .featured-meta {
  display: block;
  margin-top: .75rem;
  font-size: .85rem;
  color: var(--ink-soft);
  background: rgba(255,255,255,.55);
  padding: .65rem .9rem;
  border-left: 3px solid var(--gold);
}
.timeline li.featured .featured-meta strong { color: var(--accent-2); margin-right: .4rem; }
@media (max-width: 720px) {
  .timeline li.featured .featured-img {
    float: none;
    width: 200px;
    margin: 0 auto 1rem;
    display: block;
  }
}

/* ====================================================================
   WORKS TABLE
   ==================================================================== */

table.works {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 2.5rem;
  font-size: .95rem;
  background: #fff8ec;
  box-shadow: var(--shadow-sm);
}
table.works th,
table.works td {
  text-align: left;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
table.works th {
  background: linear-gradient(180deg, var(--paper-warm), var(--paper-deep));
  color: var(--ink);
  font-weight: 600;
  letter-spacing: .1em;
  border-bottom: 2px solid var(--accent);
  white-space: nowrap;
  font-size: .9rem;
}
table.works td.year {
  white-space: nowrap;
  color: var(--accent-2);
  font-family: "Optima", Georgia, serif;
  font-weight: 600;
  width: 7rem;
}
table.works td.title-jp { font-weight: 600; }
table.works td.title-en {
  color: var(--muted);
  font-style: italic;
  font-family: Georgia, serif;
}
table.works tr:hover td { background: rgba(156, 32, 23, .05); }

/* ====================================================================
   FOOTER
   ==================================================================== */

footer.site {
  margin-top: 4rem;
  padding: 2.5rem 1.5rem 2.75rem;
  background:
    linear-gradient(180deg, #1a120a 0%, #0a0604 100%);
  color: #c5b48f;
  text-align: center;
  font-size: .85rem;
  letter-spacing: .06em;
  border-top: 6px double var(--gold);
}
footer.site a { color: #d9c9a8; }
footer.site a:hover { color: #fff; }
footer.site .credit { margin: .5rem 0; }

/* memorial signature plate — 印章 style */
footer.site .signature {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin: 0 auto 1.5rem;
  padding: .9rem 1.5rem .9rem 1.1rem;
  border: 1px solid rgba(176,141,60,.4);
  background: rgba(176,141,60,.05);
}
footer.site .signature .seal-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--accent);
  color: #fff;
  font-family: "Hiragino Mincho ProN", serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
  border: 2px solid #fff8e0;
  flex: 0 0 auto;
}
footer.site .signature .sig-text {
  text-align: left;
  line-height: 1.4;
}
footer.site .signature .sig-name {
  display: block;
  font-family: "Hiragino Mincho ProN", serif;
  color: #fff8e0;
  font-size: 1.1rem;
  letter-spacing: .25em;
  font-weight: 600;
}
footer.site .signature .sig-en {
  display: block;
  font-family: "Optima", Georgia, serif;
  font-size: .72rem;
  letter-spacing: .25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: .15rem;
}
footer.site .signature .sig-dates {
  display: block;
  font-family: "Optima", Georgia, serif;
  font-size: .78rem;
  color: #b09a6f;
  letter-spacing: .1em;
  margin-top: .15rem;
}

/* ====================================================================
   TAGS, ORNAMENTS, MISC
   ==================================================================== */

.tag {
  display: inline-block;
  padding: .2rem .65rem;
  margin-right: .4rem;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  letter-spacing: .18em;
  border-radius: 2px;
  vertical-align: middle;
  font-family: "Hiragino Sans", "Helvetica Neue", sans-serif;
  font-weight: 600;
}
.tag.alt { background: var(--accent-2); }
.tag.muted { background: var(--muted); }
.tag.gold { background: var(--gold); color: #2a1d12; }

.lead {
  font-size: 1.1rem;
  text-align: center;
  color: var(--ink-soft);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  font-style: italic;
  line-height: 1.8;
}

hr.ornament {
  border: 0;
  text-align: center;
  margin: 3.5rem 0;
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 1.2rem;
}
hr.ornament::before { content: "❀  ❀  ❀"; }

.section-jump {
  text-align: center;
  margin: 1rem 0 2rem;
  padding: 1rem 1.2rem;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  font-size: .93rem;
}
.section-jump a { margin: 0 .6rem; }

/* ====================================================================
   QUOTE BLOCK
   ==================================================================== */

.pullquote {
  margin: 3rem auto;
  max-width: 640px;
  text-align: center;
  position: relative;
  padding: 2.5rem 2rem;
  font-family: "Hiragino Mincho ProN", serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.9;
}
.pullquote::before {
  content: "「";
  position: absolute; top: 0; left: 0;
  font-size: 4.5rem;
  color: var(--accent);
  font-style: normal;
  opacity: .35;
  line-height: 1;
}
.pullquote::after {
  content: "」";
  position: absolute; bottom: 0; right: 0;
  font-size: 4.5rem;
  color: var(--accent);
  font-style: normal;
  opacity: .35;
  line-height: 1;
}
.pullquote .attrib {
  display: block;
  margin-top: 1rem;
  font-size: .9rem;
  font-style: normal;
  color: var(--muted);
  letter-spacing: .1em;
}

/* ====================================================================
   IMAGE GALLERY (paper / archive items)
   ==================================================================== */

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.archive-item {
  background: #fff;
  padding: 6px 6px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
  transition: transform .15s ease;
}
.archive-item:hover { transform: translateY(-3px); }
.archive-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, #f4ecdc 0%, #c4b289 100%);
}
.archive-item .acap {
  position: absolute;
  bottom: 6px; left: 0; right: 0;
  font-size: .78rem;
  color: var(--ink-soft);
  padding: 0 .4rem;
  letter-spacing: .03em;
}

/* ====================================================================
   IMG PLACEHOLDER (when actual image is missing)
   ==================================================================== */

img[src*="images/"] {
  /* graceful fallback if image not yet extracted */
  background:
    linear-gradient(135deg, #2a1d12 0%, #0d0805 100%);
  color: #c5b48f;
}
img[src*="images/"]:not([alt]) { font-size: 0; }

/* ====================================================================
   CONTACT FORM
   ==================================================================== */

.contact-section {
  margin: 4rem 0 2rem;
  padding: 2.5rem 2.5rem 3rem;
  background: linear-gradient(135deg, #fbf3df 0%, #f0e3c0 100%);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.contact-section::before,
.contact-section::after {
  content: "";
  position: absolute;
  width: 24px; height: 24px;
  border: 2px solid var(--accent-2);
}
.contact-section::before { top: -1px; left: -1px;   border-right: 0; border-bottom: 0; }
.contact-section::after  { bottom: -1px; right: -1px; border-left: 0;  border-top: 0; }

.contact-section h2 {
  text-align: center;
  margin-top: 0;
  border-bottom: 0;
  padding-bottom: 0;
}
.contact-section h2::before { display: none; }
.contact-section .contact-intro {
  text-align: center;
  color: var(--ink-soft);
  margin: 0 auto 2rem;
  max-width: 36rem;
  line-height: 1.8;
  font-size: .95rem;
}
.contact-section .contact-intro .en {
  display: block;
  margin-top: .4rem;
  font-style: italic;
  color: var(--muted);
  font-size: .88rem;
}

.contact-form {
  max-width: 620px;
  margin: 0 auto;
  display: grid;
  gap: 1.1rem;
}
.contact-form .field {
  display: grid;
  gap: .35rem;
}
.contact-form label {
  font-size: .82rem;
  letter-spacing: .15em;
  color: var(--ink-soft);
  font-weight: 600;
}
.contact-form label .req {
  color: var(--accent);
  margin-left: .25rem;
}
.contact-form label .en {
  color: var(--muted);
  font-style: italic;
  font-weight: 400;
  margin-left: .5rem;
  letter-spacing: .05em;
  font-size: .75rem;
  text-transform: none;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: .7rem .9rem;
  font: inherit;
  font-size: .98rem;
  border: 1px solid var(--rule);
  background: #fff;
  border-radius: 2px;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.04);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(156,32,23,.15);
}
.contact-form textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.65;
}

.contact-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
@media (max-width: 600px) {
  .contact-form .row-2 { grid-template-columns: 1fr; }
}

.contact-form button {
  margin-top: .5rem;
  padding: .9rem 2rem;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  font: inherit;
  font-family: "Optima", Georgia, serif;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-size: .9rem;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease;
  font-weight: 600;
  justify-self: center;
  min-width: 220px;
}
.contact-form button:hover { background: var(--accent); }
.contact-form button:active { transform: translateY(1px); }

.contact-form .honeypot {
  /* hidden anti-spam field — humans don't fill this */
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
}

.contact-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
  font-style: italic;
}

.contact-success {
  max-width: 620px;
  margin: 0 auto 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(44, 74, 62, .12);
  border-left: 4px solid var(--accent-2);
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.7;
  text-align: center;
}
.contact-success::before {
  content: "✓ ";
  color: var(--accent-2);
  font-weight: 700;
  font-size: 1.2rem;
}
.contact-success em { color: var(--muted); display: block; margin-top: .35rem; }

/* ====================================================================
   STAMP/SEAL DECORATION
   ==================================================================== */

.stamp {
  display: inline-block;
  border: 3px solid var(--accent);
  color: var(--accent);
  padding: .35rem .85rem;
  font-family: "Hiragino Mincho ProN", serif;
  letter-spacing: .35em;
  font-weight: 600;
  font-size: .85rem;
  transform: rotate(-4deg);
  background: rgba(255,255,255,.5);
  vertical-align: middle;
}

/* ====================================================================
   FILM DETAIL MODAL
   ==================================================================== */

.title-jp .film-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--accent);
  cursor: pointer;
  text-align: left;
  border-bottom: 1px dotted rgba(156, 32, 23, .35);
  transition: color .15s, border-color .15s;
}
.title-jp .film-link:hover {
  color: var(--accent-2);
  border-bottom-color: var(--accent-2);
}

.film-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(640px, 92vw);
  width: 92vw;
}
.film-modal::backdrop {
  background: rgba(20, 14, 8, .72);
  backdrop-filter: blur(2px);
}
.film-modal[open] {
  animation: fmFadeIn .18s ease-out;
}
@keyframes fmFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fm-body {
  position: relative;
  background: #faf3e3;
  border: 1px solid var(--gold);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  padding: 2rem 1.75rem 1.5rem;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  color: #2a2418;
  max-height: 86vh;
  overflow-y: auto;
}

.fm-close {
  position: absolute;
  top: .5rem;
  right: .75rem;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  padding: .25rem .5rem;
}
.fm-close:hover { color: var(--accent-2); }

.fm-eyebrow {
  font-family: "Optima", Georgia, serif;
  font-size: .8rem;
  letter-spacing: .15em;
  color: var(--gold);
  margin: 0 0 .5rem;
  text-transform: uppercase;
}

.fm-title-jp {
  font-size: 1.6rem;
  margin: 0;
  letter-spacing: .04em;
  color: var(--accent-2);
}
.fm-title-en {
  font-family: "Optima", "Palatino", Georgia, serif;
  font-style: italic;
  color: #6e5d3a;
  margin: .15rem 0 1rem;
  font-size: .95rem;
}

.fm-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 0 1.1rem;
}
.fm-badge {
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  letter-spacing: .15em;
  padding: .2rem .55rem;
  border-radius: 2px;
}

.fm-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: .35rem 1rem;
  margin: 0 0 1.2rem;
  padding: .75rem 1rem;
  background: rgba(176, 141, 60, .08);
  border-left: 3px solid var(--gold);
  font-size: .9rem;
}
.fm-facts dt { font-weight: 600; color: #6e5d3a; }
.fm-facts dd { margin: 0; color: #2a2418; }
.fm-facts:empty { display: none; }

.fm-section-h {
  font-size: .95rem;
  letter-spacing: .1em;
  color: var(--accent);
  border-bottom: 1px solid var(--gold);
  padding-bottom: .25rem;
  margin: 1.2rem 0 .75rem;
}
.fm-section-h .en {
  font-family: "Optima", Georgia, serif;
  font-style: italic;
  font-size: .8rem;
  color: var(--muted);
  margin-left: .5em;
  letter-spacing: .08em;
}

.fm-summary {
  line-height: 1.75;
  margin: 0 0 1rem;
  color: #2a2418;
}

.fm-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: grid;
  gap: .35rem;
}
.fm-links a {
  display: block;
  padding: .55rem .8rem;
  background: rgba(156, 32, 23, .06);
  border-left: 3px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-size: .9rem;
  transition: background .15s, color .15s;
}
.fm-links a:hover {
  background: rgba(156, 32, 23, .15);
  color: var(--accent-2);
}
.fm-links a::after {
  content: " ↗";
  color: var(--gold);
  font-size: .8em;
}

.fm-disclaimer {
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 1rem 0 0;
  padding-top: .75rem;
  border-top: 1px solid rgba(176, 141, 60, .35);
}
.fm-disclaimer em {
  font-style: italic;
  color: #8a7350;
}

/* Pamphlet callout inside film modal */
.fm-pamphlet {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .85rem 1.1rem;
  margin: 0 0 1.2rem;
  background: linear-gradient(180deg, rgba(176,141,60,.18), rgba(176,141,60,.06));
  border: 1px solid var(--gold);
  border-radius: 4px;
  color: var(--accent-2);
  text-decoration: none;
  font-size: .92rem;
  letter-spacing: .03em;
  transition: background .18s, transform .18s;
}
.fm-pamphlet:hover {
  background: linear-gradient(180deg, rgba(176,141,60,.32), rgba(176,141,60,.12));
  transform: translateY(-1px);
}
.fm-pamphlet[hidden] { display: none; }
.fm-pamphlet .fp-icon {
  font-size: 1.3rem;
  flex: 0 0 auto;
}
.fm-pamphlet .fp-label {
  flex: 1 1 auto;
  font-weight: 500;
}
.fm-pamphlet::after {
  content: " ↗";
  color: var(--gold);
  font-size: .9em;
}

/* Chronology header — sub-photo inset */
.site-with-photo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 4vw, 3.5rem);
  flex-wrap: wrap;
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}
.site-with-photo .inner {
  text-align: center;
}
.header-inset {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: clamp(180px, 22vw, 260px);
  background: #fff;
  padding: 8px 8px 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.55), 0 0 0 1px rgba(176,141,60,.4);
  transform: rotate(-2.5deg);
  transition: transform .25s ease;
}
.header-inset:hover { transform: rotate(0) scale(1.03); }
.header-inset img {
  width: 100%;
  display: block;
  filter: sepia(.08) contrast(1.02);
}

@media (max-width: 640px) {
  .site-with-photo { flex-direction: column-reverse; gap: 1.5rem; }
  .header-inset { width: 200px; }
}
