:root {
  --ink: #1d2229;
  --ink-soft: #4b5562;
  --paper: #eef2f6;
  --paper-2: #e4e9ef;
  --white: #fbfdff;
  --accent: #9b4e44;
  --accent-dark: #803d35;
  --accent-soft: #d9b4ae;
  --muted: #65707d;
  --line: rgba(48, 59, 73, 0.14);
  --max: 1180px;
  --header-h: 78px;
  --radius: 18px;
  --shadow: 0 22px 60px rgba(52, 66, 84, 0.09);
}

* { box-sizing: border-box; }
html { background: #edf2f7; scroll-behavior: smooth; }
body {
  position: relative;
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: transparent;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 999;
  padding: 10px 14px; color: var(--ink); background: var(--white);
  border-radius: 999px; box-shadow: var(--shadow);
  transform: translateY(-150%); transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }

.background-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  pointer-events: none;
  background: #eef3f8;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  contain: strict;
}
.background-stage__media,
.background-stage__image {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.background-stage__image {
  object-fit: cover;
  object-position: 58% center;
}
.background-stage__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(252,253,255,.16), rgba(248,251,254,.05) 48%, transparent 72%);
}

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

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { overflow: clip; padding: clamp(78px, 10vw, 138px) 0; background: transparent; }
.section--white, .section--soft { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.section--compact { padding: 64px 0; }

.review-banner { z-index: 110; color: var(--ink); background: rgba(244,247,250,.97); border-bottom: 1px solid rgba(155,78,68,.24); }
.review-banner__inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 20px; padding-block: 5px; font-size: .76rem; }
.review-banner__inner strong { min-width: 0; color: #7f443e; letter-spacing: .02em; overflow-wrap: anywhere; }
.review-banner__inner span { flex: 0 0 auto; margin-left: auto; color: var(--ink-soft); white-space: nowrap; }

.eyebrow { margin: 0 0 18px; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow--accent { color: var(--accent); }
.display { margin: 0; max-width: 900px; font-size: clamp(3rem, 4.8vw, 4.5rem); line-height: 1.05; letter-spacing: -.055em; font-weight: 700; }
.display-line { display: block; }
html[lang="ja"] .display { font-size: clamp(2.75rem, 4.3vw, 4rem); line-height: 1.08; letter-spacing: -.04em; }
.h2 { margin: 0; font-size: clamp(2.1rem, 4.2vw, 4rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 650; }
.h3 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.22; letter-spacing: -.025em; }
.lead { max-width: 820px; margin: 26px 0 0; font-family: Georgia, "Times New Roman", "Yu Mincho", serif; font-size: clamp(1.28rem, 2.2vw, 2.05rem); line-height: 1.5; }
.lead-line { display: block; }
.prose { max-width: 760px; }
.prose p { margin: 0 0 1.3em; font-size: clamp(1rem, 1.25vw, 1.12rem); }
.prose-wide { max-width: 900px; }
.prose-wide p { font-family: Georgia, "Times New Roman", "Yu Mincho", serif; font-size: clamp(1.18rem, 2vw, 1.65rem); line-height: 1.62; }
/* Atmospheric Typography: the About reading area has no panel, blur,
   mask, border, radius, shadow or duplicated background. */
.reading-field {
  position: relative;
  isolation: isolate;
  width: min(100%, 820px);
  color: #171b20;
  background: transparent;
}

.atmospheric-reading-field { width: min(100%, 820px); }
.atmospheric-reading-field p { font-size: clamp(.875rem, .83rem + .18vw, .96rem); line-height: 1.72; margin-bottom: 1.55em; }
html[lang="ja"] .atmospheric-reading-field p { font-size: clamp(.875rem, .83rem + .18vw, .96rem); line-height: 1.9; margin-bottom: 1.6em; }

.atmospheric-reading-field::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -16vh -20vw;
  background: radial-gradient(ellipse 58% 46% at 37% 43%,
    rgba(255,255,255,.075) 0%,
    rgba(255,255,255,.048) 30%,
    rgba(252,254,255,.022) 56%,
    rgba(252,254,255,.008) 74%,
    transparent 88%);
}

.atmospheric-reading-field::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 4%;
  width: 30%;
  top: -3.2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42) 46%, transparent);
  filter: blur(1.4px);
  opacity: .55;
}
.reading-field.prose-wide { max-width: 820px; }
.reading-field--history { width: min(100%, 960px); }
.reading-field.reading-field p,
.reading-field.reading-field h2,
.reading-field.reading-field h3 { color: #171b20; text-shadow: 0 1px 1px rgba(255,255,255,.42); }
.atmospheric-reading-field.atmospheric-reading-field p,
.atmospheric-reading-field.atmospheric-reading-field h2,
.atmospheric-reading-field.atmospheric-reading-field h3 { text-shadow: none; }
.reading-field > :first-child, .reading-field .prose > :first-child { margin-top: 0; }
.reading-field > :last-child, .reading-field .prose > :last-child { margin-bottom: 0; }

.event-photo-gallery { display: grid; gap: clamp(26px, 4vw, 54px); margin-top: clamp(64px, 9vw, 118px); }
.event-photo { margin: 0; }
.event-photo picture { display: block; overflow: hidden; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius); background: rgba(255,255,255,.08); }
.event-photo img { width: 100%; height: auto; }
.event-photo--team picture { aspect-ratio: 1; }
.event-photo--team img { height: 100%; object-fit: cover; object-position: center bottom; }
.event-photo figcaption { margin-top: 11px; color: rgba(38,45,54,.64); font-size: .72rem; line-height: 1.55; letter-spacing: .02em; }
.event-photo-gallery--about .event-photo--dialogue { width: min(64%, 620px); }
.event-photo-gallery--about .event-photo--lobby { width: 100%; }
.event-photo-gallery--history .event-photo--founding { width: min(100%, 820px); }

.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); color: var(--ink); background: rgba(249,251,254,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; color: var(--ink); text-decoration: none; min-width: 0; }
.brand picture { display: block; }
.brand img { width: auto; height: auto; max-width: 140px; max-height: 60px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 10px 12px; color: rgba(38,45,54,.72); text-decoration: none; border-radius: 999px; font-size: .84rem; letter-spacing: .03em; transition: color 160ms ease, background 160ms ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: rgba(61,76,95,.07); }
.language-link { font-weight: 700; }
.nav-cta { border: 1px solid var(--line); margin-left: 6px; background: rgba(255,255,255,.68); }
.menu-button { display: none; width: 44px; height: 44px; padding: 0; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.menu-button span, .menu-button::before, .menu-button::after { content: ""; display: block; width: 18px; height: 1px; margin: 4px auto; background: currentColor; transition: transform 160ms ease, opacity 160ms ease; }
.menu-button[aria-expanded="true"] span { opacity: 0; }
.menu-button[aria-expanded="true"]::before { transform: translateY(5px) rotate(45deg); }
.menu-button[aria-expanded="true"]::after { transform: translateY(-5px) rotate(-45deg); }

.hero { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100svh - var(--header-h)); color: var(--ink); background: transparent; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(249,252,255,.76) 0, rgba(246,249,253,.48) 46%, rgba(240,245,250,.08) 72%, transparent 100%); }
.hero-inner { min-height: calc(100svh - var(--header-h)); padding: clamp(64px, 8vw, 110px) 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr); align-items: center; gap: clamp(40px, 7vw, 100px); }
.hero-copy { grid-column: 1; position: relative; z-index: 1; }
.hero-kicker { margin: 0 0 20px; color: rgba(38,45,54,.68); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.hero-title { margin: 0; font-size: clamp(4.75rem, 8.2vw, 7rem); line-height: .9; letter-spacing: -.075em; font-weight: 700; }
html[lang="ja"] .hero-title { font-size: clamp(4.25rem, 7.1vw, 6.25rem); line-height: .94; letter-spacing: -.04em; }
.hero-tagline { margin: clamp(34px, 5vw, 60px) 0 0; max-width: 600px; font-family: Georgia, "Times New Roman", "Yu Mincho", serif; font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.5; color: var(--ink-soft); }
.hero-meta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px 30px; color: rgba(38,45,54,.76); font-size: .95rem; }
.hero-meta strong { display: block; color: var(--ink); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: .86rem; font-weight: 700; letter-spacing: .02em; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button--accent { color: white; background: var(--accent); }
.button--accent:hover { background: var(--accent-dark); }
.button--ink { color: var(--ink); background: rgba(235,240,246,.88); border-color: var(--line); }
.button--ink:hover, .button--line:hover { background: var(--white); border-color: rgba(48,59,73,.32); }
.button--line { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,.5); }
.status-pill { display: inline-flex; min-height: 42px; align-items: center; padding: 0 15px; color: rgba(38,45,54,.68); border: 1px dashed rgba(48,59,73,.22); border-radius: 999px; background: rgba(255,255,255,.52); font-size: .78rem; }

.intro-grid { display: grid; grid-template-columns: minmax(180px, .42fr) minmax(0, 1.58fr); gap: clamp(50px, 9vw, 130px); align-items: start; }
.intro-link { margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px; text-decoration: none; border-bottom: 1px solid currentColor; font-weight: 700; font-size: .88rem; }
.text-link::after { content: "↗"; font-weight: 400; }
.cards { margin-top: 52px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card, .value, .info-item { border: 1px solid rgba(255,255,255,.32); border-radius: var(--radius); background: linear-gradient(135deg, rgba(255,255,255,.52), rgba(242,248,255,.22)); box-shadow: 0 12px 30px rgba(57,72,91,.04); }
.card { min-height: 230px; padding: 28px; }
.card-number, .value-index, .timeline-year { color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .16em; }
.card-number { margin-bottom: 55px; }
.card p, .value p, .timeline-item p, .support-type p { color: var(--muted); }
.card p { margin: 13px 0 0; font-size: .94rem; }
.info-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.info-item { padding: 30px; }
.info-item dt { color: rgba(38,45,54,.68); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.info-item dd { margin: 9px 0 0; font-size: clamp(1.16rem, 2vw, 1.55rem); line-height: 1.35; overflow-wrap: anywhere; }
.info-subtle { display: inline-block; margin-top: 6px; font-size: .72em; color: rgba(38,45,54,.68); }
.info-note, .archive-note { margin-top: 30px; color: var(--muted); font-size: .88rem; }

.support-panel { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; border: 1px solid rgba(255,255,255,.32); border-radius: var(--radius); background: linear-gradient(135deg, rgba(255,255,255,.5), rgba(242,248,255,.2)); box-shadow: 0 18px 50px rgba(75,94,120,.04); overflow: hidden; }
.support-copy { padding: clamp(38px, 6vw, 78px); }
.support-copy p { max-width: 560px; margin: 24px 0 30px; color: var(--muted); }
.support-types { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.3); }
.support-type { padding: 42px; background: rgba(245,249,253,.42); }
.support-type small { display: block; margin-bottom: 46px; color: var(--accent); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.page-hero { color: var(--ink); background: transparent; padding: clamp(80px, 7.5vw, 108px) 0 clamp(72px, 6.5vw, 94px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; top: 9%; bottom: 9%; left: max(-80px, calc((100vw - var(--max)) / 2 - 110px)); width: min(850px, 76vw); background: radial-gradient(ellipse at 35% 50%, rgba(255,255,255,.24), rgba(248,251,255,.1) 44%, transparent 72%); filter: blur(20px); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .lead { color: rgba(38,45,54,.72); font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.5; }
.page-action { margin-top: 36px; }
.values { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { padding: 30px; }
.support-card { position: relative; isolation: isolate; background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(245,250,255,.035)); border-color: rgba(255,255,255,.16); border-radius: 24px; box-shadow: none; }
.value h3 { margin-top: 44px; }
.value p { margin-bottom: 0; }
.timeline { margin-top: 58px; border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 34px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.timeline-item p { margin: 7px 0 0; }
.notice { padding: 22px 24px; border-left: 3px solid var(--accent); background: rgba(230,236,243,.84); color: var(--ink-soft); font-size: .92rem; }
.program-tba { max-width: 820px; }
.program-tba h2 { color: var(--ink); }
.program-tba p { margin: 12px 0 0; }
.program-section + .program-section { padding-top: 0; }
.program-schedule { margin-top: 48px; border-top: 1px solid var(--line); }
.program-schedule-item { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 34px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.program-schedule-item p { margin: 10px 0 0; color: var(--muted); }
.program-time { color: var(--accent); font-size: .82rem; font-weight: 700; letter-spacing: .08em; }
.program-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.program-card { padding: 30px; border: 1px solid rgba(255,255,255,.32); border-radius: var(--radius); background: linear-gradient(135deg, rgba(255,255,255,.4), rgba(242,248,255,.16)); }
.program-card p { margin: 14px 0 0; color: var(--muted); }
.program-meta, .program-updated { color: var(--muted); font-size: .84rem; }
.program-updated { margin: 24px 0 0; }
.contact-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(36px, 5vw, 58px); color: var(--ink); background: linear-gradient(180deg, rgba(253,254,255,.9), rgba(232,238,245,.86)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-band .h3 { max-width: 620px; }
.contact-band .button { flex: 0 0 auto; }
.support-contact .contact-band { padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }

.site-footer { color: var(--ink); background: rgba(239,244,249,.68); padding: 64px 0 28px; border-top: 1px solid var(--line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: start; }
.footer-brand { display: flex; align-items: flex-start; gap: 24px; }
.footer-logo-link { display: block; flex: 0 0 auto; }
.footer-logo-link picture { display: block; }
.footer-logo-link img { width: auto; height: auto; max-width: 210px; max-height: 90px; }
.footer-meta { margin: 0; color: rgba(38,45,54,.64); font-size: .84rem; }
.logo-note { display: block; margin-top: 8px; color: var(--accent); font-size: .72rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; }
.footer-links a { color: rgba(38,45,54,.72); text-decoration: none; font-size: .84rem; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: rgba(38,45,54,.68); font-size: .75rem; }

@media (max-width: 1100px) {
  .brand img { max-width: 112px; max-height: 50px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; inset: 100% 0 auto 0; display: grid; padding: 18px 20px 28px; color: var(--ink); background: rgba(248,251,254,.98); border-bottom: 1px solid var(--line); transform: translateY(-130%); visibility: hidden; transition: transform 220ms ease, visibility 220ms ease; }
  .site-nav[data-open="true"] { transform: translateY(0); visibility: visible; }
  .site-nav a { padding: 15px 14px; border-radius: 10px; font-size: 1rem; }
  .nav-cta { margin: 6px 0 0; text-align: center; }
}

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { order: 1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .support-panel, .footer-top { grid-template-columns: 1fr; }
  .intro-grid { gap: 34px; }
  .values { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .background-stage__image { object-position: 70% center; }
  .background-stage__veil { background: linear-gradient(90deg, rgba(252,253,255,.2), rgba(248,251,254,.04) 64%, transparent 88%); }
}

@media (max-width: 620px) {
  :root { --header-h: 68px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section--white, .section--soft, .page-hero, .site-footer { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .section--white, .section--soft, .page-hero { background: transparent; }
  .page-hero::before { top: 5%; bottom: 5%; left: -22%; width: 118%; background: radial-gradient(ellipse at 34% 48%, rgba(255,255,255,.2), rgba(248,251,255,.06) 56%, transparent 78%); filter: blur(14px); }
  .reading-field { width: min(100%, 820px); background: transparent; }
  .atmospheric-reading-field::before { inset: -12vh -14vw; }
  .atmospheric-reading-field::after { left: 3%; width: 40%; top: -2.2rem; }
  .event-photo-gallery--about .event-photo--dialogue { width: 100%; }
  .card, .value, .info-item, .support-panel, .support-type { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .support-card { background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(245,250,255,.035)); border-radius: 20px; }
  .review-banner__inner { min-height: 48px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 0; padding-block: 7px; }
  .review-banner__inner span { margin-left: 0; }
  .footer-brand { flex-direction: column; }
  .hero-inner { padding-top: 58px; }
  .hero-title { font-size: clamp(3.5rem, 16vw, 4rem); }
  html[lang="ja"] .hero-title { font-size: clamp(3.25rem, 15vw, 3.75rem); }
  .hero-tagline, .page-hero .lead { font-size: clamp(1.125rem, 4.8vw, 1.375rem); line-height: 1.5; }
  .display { font-size: clamp(2.5rem, 7.4vw, 2.9rem); line-height: 1.08; }
  html[lang="ja"] .display { font-size: clamp(2.25rem, 6.7vw, 2.65rem); line-height: 1.1; }
  .page-hero { padding: 56px 0 64px; }
  .hero-meta { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button, .hero-actions .status-pill { width: 100%; justify-content: center; }
  .cards, .info-grid, .support-types { grid-template-columns: 1fr; }
  .card { min-height: 190px; }
  .card-number { margin-bottom: 32px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .program-schedule-item { grid-template-columns: 1fr; gap: 8px; }
  .support-type small { margin-bottom: 28px; }
  .contact-band { align-items: flex-start; flex-direction: column; }
  .contact-band .button { width: 100%; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .background-stage, .background-stage * { animation: none !important; }
}

@media (prefers-reduced-data: reduce) {
  .background-stage__veil { display: none; }
  .site-footer { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(249,251,254,.98); }
  .section--white, .section--soft, .page-hero { background: transparent; }
  .site-footer { background: rgba(239,244,249,.78); }
}

/* The same projector stage stays fixed behind every page and scroll position. */
.background-stage[data-background-kind="projector"] { background: #f4f8fc; }
.background-stage[data-background-kind="projector"] .background-stage__image { object-position: center; }
.projector-stage__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; }
.projector-stage__video[data-ready="true"] { opacity: 1; }
.projector-toggle { position: fixed; z-index: 90; right: max(20px, calc((100vw - var(--max)) / 2)); bottom: max(16px, env(safe-area-inset-bottom)); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: #374959; background: rgba(250,253,255,.82); border: 1px solid rgba(62,84,110,.18); border-radius: 50%; cursor: pointer; }
.projector-toggle[hidden] { display: none; }
.projector-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.projector-toggle__pause { display: none; }
.projector-toggle[data-playing="true"] .projector-toggle__play { display: none; }
.projector-toggle[data-playing="true"] .projector-toggle__pause { display: block; }
.projector-toggle:hover { background: #fff; }
.home-photo-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); margin-top: clamp(48px, 7vw, 88px); align-items: start; }
.home-photo-gallery .event-photo--team { margin-top: clamp(28px, 5vw, 70px); }
.home-photo-gallery .event-photo picture { border-radius: 8px; }

body[data-projector-enabled="true"] .site-footer { padding-bottom: 90px; }
@media (max-width: 900px) {
  body[data-projector-enabled="true"] .hero-inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 180px; }
  .background-stage[data-background-kind="projector"] .background-stage__media,
  .background-stage[data-background-kind="projector"] .projector-stage__video { inset: auto 0 0; height: clamp(306px, 45svh, 450px); mask-image: linear-gradient(to bottom, transparent, black 24%); -webkit-mask-image: linear-gradient(to bottom, transparent, black 24%); }
  .background-stage[data-background-kind="projector"] .background-stage__image,
  .background-stage[data-background-kind="projector"] .projector-stage__video { object-position: 75% center; }
}
@media (max-width: 560px) {
  .home-photo-gallery { grid-template-columns: 1fr; gap: 28px; }
  .home-photo-gallery .event-photo--team { margin-top: 0; }
}

/* Compact section headings and supporting introduction copy across pages. */
.section .h2 { font-size: clamp(1.125rem, 2.1vw, 2rem); line-height: 1.5; letter-spacing: -.02em; }
.section .intro-grid .lead { font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.85; margin-top: 20px; }

.hero-tagline { font-size: clamp(.95rem, 1vw, 1rem); line-height: 1.7; }

/* Give the distant projector a clear area on short portrait phone screens. */
@media (max-width: 620px) and (max-height: 740px) and (orientation: portrait) {
  body[data-projector-enabled="true"] .hero-inner { padding-top: 24px; padding-bottom: 110px; }
  body[data-projector-enabled="true"] .hero-kicker { margin-bottom: 12px; }
  body[data-projector-enabled="true"] .hero-tagline { margin-top: 18px; }
  body[data-projector-enabled="true"] .hero-meta { margin-top: 18px; }
  body[data-projector-enabled="true"] .hero-actions { width: calc(100% - 104px); margin-top: 20px; gap: 8px; }
  body[data-projector-enabled="true"] .hero-actions .status-pill { text-align: center; }
  .background-stage[data-background-kind="projector"] .background-stage__media,
  .background-stage[data-background-kind="projector"] .projector-stage__video { height: clamp(220px, 45svh, 306px); }
}

/* User-approved tentative program, preserving the fixed projector background. */
.program-preview-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.program-preview-heading .h2 { margin-bottom:0; }
.program-preview-sessions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:48px; margin-top:28px; }
.program-preview-sessions > div { border-top:1px solid var(--line); padding-top:18px; }
.program-preview-sessions p:not(.program-session-label) { font-size:1rem; line-height:1.7; color:var(--muted); margin:10px 0 0; }
.program-preview-note { color:var(--muted); font-size:.875rem; line-height:1.7; margin:24px 0 0; }
.program-overview { padding-top:8px; }
.program-review-notice { display:flex; align-items:flex-start; justify-content:space-between; gap:32px; padding:22px 24px; background:rgba(255,255,255,.55); border-left:3px solid var(--accent); }
.program-status { color:var(--accent); font-size:1rem; font-weight:700; }
.program-review-notice p { font-size:1rem; line-height:1.7; margin:8px 0 0; max-width:750px; }
.program-review-notice .program-updated { flex-shrink:0; font-size:.875rem; margin:0; }
.program-day-meta { font-size:1rem; line-height:1.8; margin:24px 0 40px; color:var(--muted); }
.program-day-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:50px; align-items:start; }
.program-session-heading { border-bottom:2px solid var(--accent); padding-bottom:20px; }
.program-session-label { margin:0 0 10px; font-size:.875rem; font-weight:600; color:var(--muted); }
.program-session-label span { margin-left:14px; font-variant-numeric:tabular-nums; }
.program-session-heading h2 { margin:0; font-size:clamp(1.25rem,2vw,1.6rem); line-height:1.3; letter-spacing:.015em; }
.program-agenda { list-style:none; padding:0; margin:0; }
.program-agenda-item { display:grid; grid-template-columns:106px minmax(0,1fr); gap:18px; padding:24px 0; border-bottom:1px solid var(--line); break-inside:avoid; }
.program-agenda-time { font-size:.875rem; line-height:1.6; color:var(--accent); font-weight:700; font-variant-numeric:tabular-nums; white-space:nowrap; }
.program-duration { display:block; color:var(--muted); font-weight:400; margin-top:5px; }
.program-agenda-content h3 { margin:0; font-size:1rem; line-height:1.6; overflow-wrap:anywhere; }
.program-agenda-content > p { font-size:.875rem; line-height:1.7; margin:8px 0 0; color:var(--muted); }
.program-agenda-item--transition .program-agenda-content h3 { font-weight:500; }
.program-participants { list-style:none; padding:0; margin:16px 0 0; }
.program-participants li { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 8px; font-size:.875rem; line-height:1.65; padding:5px 0; }
.program-participant-duration { color:var(--muted); white-space:nowrap; }
.program-tbc { color:var(--accent); font-size:.875rem; border:1px solid rgba(148,51,57,.3); padding:0 6px; border-radius:3px; white-space:nowrap; }
.program-flow { margin-top:40px; border-top:1px solid var(--line); padding-top:24px; }
.program-flow > p:last-child { font-size:1rem; line-height:1.9; color:var(--muted); }
@media (max-width:1000px) {
  .program-day-grid { grid-template-columns:1fr; gap:48px; }
  .program-review-notice { flex-direction:column; gap:16px; }
  .program-review-notice .program-updated br { display:none; }
  .program-review-notice .program-updated time { margin-left:8px; }
}
@media (max-width:620px) {
  .program-preview-heading { align-items:flex-start; flex-direction:column; gap:20px; }
  .program-preview-sessions { grid-template-columns:1fr; gap:24px; }
  .program-review-notice { padding:18px; }
  .program-agenda-item { grid-template-columns:1fr; gap:8px; padding:20px 0; }
  .program-duration { display:inline; margin:0 0 0 12px; }
  .program-agenda-content h3 { font-size:1rem; }
  .program-day-meta { margin-bottom:28px; }
}

/* Limited public program: doors, screening order, and finish only. */
.program-public-times { display:flex; flex-wrap:wrap; gap:24px 64px; margin:26px 0 12px; }
.program-public-times > div { display:flex; align-items:baseline; gap:16px; }
.program-public-times dt { font-size:1rem; color:var(--muted); }
.program-public-times dd { margin:0; font-size:1.375rem; font-weight:700; font-variant-numeric:tabular-nums; }
.program-lineup { max-width:1000px; }
.program-lineup .program-day-meta { margin-top:0; margin-bottom:24px; }
.program-lineup-title { margin:44px 0 20px; }
.program-lineup-list { counter-reset:screening; list-style:none; padding:0; margin:0 0 32px; border-top:1px solid var(--line); }
.program-lineup-item { counter-increment:screening; display:grid; grid-template-columns:40px minmax(0,1fr); gap:18px; align-items:baseline; padding:22px 0; border-bottom:1px solid var(--line); }
.program-lineup-item::before { content:counter(screening, decimal-leading-zero); color:var(--accent); font-size:.875rem; font-weight:700; }
.program-lineup-item h3 { margin:0; font-size:1rem; line-height:1.65; }
.program-lineup .program-review-notice p { margin:0; }
@media(max-width:620px) {
  .program-public-times { gap:18px 36px; }
  .program-public-times > div { gap:12px; }
  .program-public-times dd { font-size:1.25rem; }
  .program-lineup-item { grid-template-columns:28px minmax(0,1fr); gap:12px; }
}

/* Film metadata, without implying a confirmed screening order. */
.program-lineup-item { display:block; }
.program-lineup-item::before { content:none; }
.program-lineup-item .program-meta { margin:8px 0 0; font-size:.9375rem; line-height:1.7; }
.hero-meta a, .program-day-meta a { overflow-wrap:anywhere; }

/* Launch emphasis: event date and MIT first, preserving the festival identity. */
body[data-projector-enabled="true"] .hero-inner { grid-template-columns:minmax(0, 1.25fr) minmax(260px, .75fr); padding:48px 0 64px; gap:clamp(32px,5vw,72px); min-height:calc(100svh - var(--header-h)); }
.hero-kicker { font-size:.875rem; line-height:1.6; letter-spacing:.12em; margin-bottom:24px; }
.hero-event-date { display:flex; flex-wrap:wrap; align-items:baseline; column-gap:16px; row-gap:2px; }
.hero-event-year { flex-basis:100%; color:var(--accent); font-size:1.125rem; font-weight:700; letter-spacing:.12em; }
.hero-event-day { font-size:clamp(3rem,5.8vw,5rem); line-height:1.14; font-weight:750; letter-spacing:-.045em; text-transform:uppercase; }
.hero-event-weekday { font-size:clamp(1rem,1.7vw,1.4rem); font-weight:600; }
.hero-event-time { margin:12px 0 0; font-size:clamp(1.5rem,2.5vw,2rem); line-height:1.3; font-weight:650; letter-spacing:.01em; }
.hero-event-time span { font-size:.875rem; letter-spacing:.08em; }
.hero-event-venue { margin-top:26px; }
.hero-event-venue strong { display:block; font-size:2rem; line-height:1.3; }
.hero-event-venue strong span { display:block; font-size:.9375rem; font-weight:500; line-height:1.6; margin-top:4px; }
.hero-event-venue p { margin:10px 0 0; font-size:1rem; line-height:1.7; }
.hero-event-venue a { font-size:.875rem; text-underline-offset:3px; }
.hero-title, html[lang="ja"] .hero-title { margin-top:28px; font-size:2.125rem; line-height:1.2; letter-spacing:-.03em; }
.hero-theme-label { display:block; margin-bottom:5px; font-size:.75rem; line-height:1.5; letter-spacing:.1em; font-weight:500; }
body[data-projector-enabled="true"] .hero-tagline { margin-top:8px; font-size:.9375rem; }
body[data-projector-enabled="true"] .hero-actions { width:auto; margin-top:24px; }
.hero-campus { margin:0; max-width:380px; justify-self:end; align-self:center; }
.hero-campus img { display:block; width:100%; height:auto; border-radius:4px; }
.hero-campus figcaption { margin-top:12px; font-size:.75rem; line-height:1.7; color:var(--ink-soft); }
.hero-campus figcaption a { text-underline-offset:2px; }
@media (max-width:900px) {
 body[data-projector-enabled="true"] .hero-inner { grid-template-columns:1fr; min-height:auto; padding:32px 0 52px; gap:36px; }
 .hero-copy { order:0; }
 .hero-campus { max-width:340px; justify-self:start; }
 .hero-event-day { font-size:3.5rem; }
}
@media (max-width:400px) {
 .hero-event-day { font-size:3rem; }
 .hero-event-date { column-gap:12px; }
 .hero-event-weekday { font-size:1rem; }
}


/* Keep the desktop opening compact even in tall browser windows. */
@media (min-width: 901px) {
  body[data-page="home"][data-projector-enabled="true"] .hero { min-height: 0; }
  body[data-page="home"][data-projector-enabled="true"] .hero-inner { min-height: 0; padding: 32px 0 56px; align-items: start; }
  body[data-page="home"] .hero-campus { max-width: 320px; align-self: start; }
  /* Frame the original landscape independently of the window height. */
  body[data-page="home"] .background-stage[data-background-kind="projector"] .background-stage__media,
  body[data-page="home"] .background-stage[data-background-kind="projector"] .projector-stage__video {
    inset: 0 0 auto;
    height: clamp(800px, 56.28vw, 1000px);
    mask-image: linear-gradient(to bottom, black 82%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, black 82%, transparent);
  }
  body[data-page="home"] .background-stage[data-background-kind="projector"] .background-stage__image,
  body[data-page="home"] .background-stage[data-background-kind="projector"] .projector-stage__video { object-position: 75% center; }
}


.hero-event-time { max-width: 100%; }
.program-lineup-item { display:grid; grid-template-columns:180px minmax(0,1fr); gap:32px; align-items:center; padding:30px 0; }
.work-artwork { width:100%; aspect-ratio:2/3; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:16px; text-align:center; background:rgba(250,252,255,.8); border:1px dashed rgba(75,85,98,.3); border-radius:8px; color:var(--ink-soft); }
.work-artwork--thumbnail { aspect-ratio:16/9; padding:12px; }
.work-artwork--thumbnail .work-artwork__icon { display:none; }
.work-artwork__icon { font-size:2rem; opacity:.6; }
.work-artwork strong { font-size:.9rem; letter-spacing:.08em; }
.work-artwork > span:last-child { font-size:.75rem; }
.contact-hero { padding:56px 0 28px; }
.contact-hero .lead { max-width:760px; font-size:1.125rem; }
.contact-layout { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:48px; align-items:start; }
.contact-help, .contact-compose { padding:28px; border:1px solid var(--line); border-radius:12px; background:rgba(250,253,255,.94); }
.contact-help details { padding:18px 0; border-bottom:1px solid var(--line); }
.contact-help summary { cursor:pointer; font-weight:600; }
.contact-help p, .contact-compose p { font-size:.9375rem; line-height:1.8; }
.contact-address { overflow-wrap:anywhere; }
.contact-compose label { display:block; margin:22px 0 8px; font-weight:600; font-size:.9375rem; }
.contact-compose input, .contact-compose select, .contact-compose textarea { width:100%; padding:12px; font:inherit; color:var(--ink); background:#fff; border:1px solid #9da8b3; border-radius:6px; }
.contact-compose textarea { resize:vertical; }
.contact-note { color:var(--ink-soft); font-size:.8125rem !important; }
.contact-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:16px; }
[data-contact-result] { margin-top:28px; border-top:1px solid var(--line); padding-top:24px; }
[data-contact-result][hidden], [data-contact-form][hidden] { display:none; }
[data-contact-status] { color:var(--accent-dark); }
@media (max-width:900px) { .contact-layout { grid-template-columns:1fr; gap:24px; } }
@media (max-width:560px) {
  .program-lineup-item { grid-template-columns:110px minmax(0,1fr); gap:18px; align-items:start; }
  .work-artwork { padding:10px; }
  .work-artwork strong { font-size:.75rem; letter-spacing:0; }
  .work-artwork__icon { font-size:1.5rem; }
  .contact-help, .contact-compose { padding:20px; }
  .hero-event-time { font-size:1.4rem; }
}

@media (max-width:560px) {
  .program-lineup-item:has(.work-artwork--thumbnail) { grid-template-columns:1fr; }
  .work-artwork--thumbnail { width:240px; max-width:100%; }
}
