@font-face{font-family:Museum;src:url('/assets/home-history/history-serif.woff') format('woff');font-display:swap}
:root{--wine:#782c36;--gold:#b99c6c;--ink:#283e3a}
body{background-color:#f0e6d1;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23806545' opacity='.065' filter='url(%23p)' d='M0 0h150v150H0z'/%3E%3C/svg%3E")}
.archive-masthead,footer{background:var(--wine)}.archive-masthead a{color:inherit;text-decoration:none}
.hero,.door{position:relative;isolation:isolate}
.hero:before,.door:before{content:"";position:absolute;inset:5px;pointer-events:none;background:url('/assets/home-night/theater-corner.svg') left top/42px auto no-repeat;opacity:.65}
.hero:after,.door:after{content:"";position:absolute;inset:5px;pointer-events:none;background:url('/assets/home-night/theater-corner.svg') left top/42px auto no-repeat;transform:rotate(180deg);opacity:.65}
.hero{margin-top:24px;background:radial-gradient(ellipse at center,#fff8e9,#edddbf);box-shadow:inset 0 0 0 5px #ead9ba,inset 0 0 0 6px var(--gold)}
h1{font-family:Museum,Georgia,serif;font-weight:700;font-size:clamp(48px,13vw,122px);text-shadow:1px 1px #f6dfad,2px 2px #976c43,3px 3px #642932}
.orn{color:#97753d;letter-spacing:.16em;margin:12px auto}
.pair{margin:22px auto;align-items:start;max-width:510px}
.pair img{height:auto;padding:4px;background:#fff4dd;border:1px solid var(--gold)}
figcaption{font:600 clamp(10px,1.4vw,13px)/1.5 Georgia,serif;margin-top:9px;letter-spacing:.05em}
.intro{padding:18px clamp(14px,4vw,54px) 40px}.intro>p,.door p{font-size:clamp(16px,2vw,19px);line-height:1.95}
.stats{display:grid;grid-template-columns:repeat(3,1fr);padding:20px 0;margin:24px auto;border-block:3px double var(--gold)}
.stats>div+div{border-left:1px dashed var(--gold)}.stats b{font:700 clamp(28px,6vw,55px)/1.2 Museum,Georgia,serif}.stats small{display:block;margin:8px 3px 0;line-height:1.6}
.intro nav a,.future{display:inline-grid;place-items:center;min-height:46px;padding:8px 14px;border:3px double var(--gold);text-decoration:none;font:700 12px/1.45 Georgia,serif;letter-spacing:.05em}.intro nav a{background:#eadbc0}.intro nav a:hover,.intro nav a:focus-visible{background:#283e3a;color:white}
.heading{border-top:3px double var(--gold);padding-top:36px}h2{font-family:Museum,Georgia,serif;font-size:clamp(25px,4.5vw,52px)}
.gallery{align-items:start;gap:clamp(24px,4vw,42px) clamp(12px,2vw,24px)}
article a{padding:6px;background:#f9f0de;border-color:var(--gold);cursor:zoom-in}
article img{display:block;width:100%;height:auto}.label{flex-wrap:wrap;gap:4px}.label em{color:var(--wine);font-size:10px;letter-spacing:.08em}
.door{padding:clamp(38px,6vw,74px) 16px}.door h2,footer h2{color:#f2dba7}.door p:first-of-type{font-weight:bold}.future{color:#ebd5aa;margin-top:10px}.door.alt{background:var(--ink)}
footer{border-block:5px double var(--gold);padding-block:70px}.signature{width:fit-content;border-top:1px solid var(--gold);padding-top:22px;margin:36px auto 0;letter-spacing:.08em}
@media(max-width:500px){.intro nav{display:grid;gap:8px}.hero{margin:12px 9px}.stats small{letter-spacing:0}.door{margin-inline:12px}.pair{gap:8px}.gallery{row-gap:25px}}

/* Size the frames from one column so the wide poster shares their height. */
.gallery {
  --column-gap: clamp(12px, 2vw, 24px);
  --columns: 2;
  --column-width: calc((100cqw - (var(--columns) - 1) * var(--column-gap)) / var(--columns));
  container-type: inline-size;
  column-gap: var(--column-gap);
}

.gallery article > a {
  height: min(300px, calc(var(--column-width) * 4 / 3));
  max-height: none;
}

.gallery article img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 700px) {
  .gallery { --columns: 4; }
}

/* Reserve the same artwork area independently of the caption length. */
.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pair img { aspect-ratio: 3 / 4; object-fit: contain; }

#chronicle .gallery { align-items: stretch; }
#chronicle .label { flex: 1; align-content: flex-start; }
#chronicle .label b { display: inline-flex; align-items: baseline; gap: 5px; }
#chronicle .archive-book {
  align-self: center;
  width: .9em;
  height: .9em;
  color: #96703d;
}

#chronicle .gallery .archive-status {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  height: auto;
  min-height: 56px;
  margin-top: 8px;
  padding: 5px 3px;
  border: 1px solid #b5aea1;
  border-radius: 0;
  color: #6c655a;
  background: transparent;
  box-shadow: none;
  font: 700 .75rem/1.25 Georgia, serif;
  text-align: center;
  letter-spacing: .045em;
}
#chronicle .archive-arrow {
  display: inline-block;
  width: .85em;
  height: .85em;
  margin-inline-start: 3px;
  vertical-align: -.02em;
}
#chronicle .archive-status span[lang="ja"] {
  font-family: var(--site-japanese, sans-serif);
  font-weight: 500;
  letter-spacing: 0;
}
#chronicle .gallery a.archive-status {
  color: #77552d;
  border-color: #96703d;
  cursor: pointer;
  text-decoration: none;
}
#chronicle .has-archive > a:first-child { cursor: pointer; }
#chronicle .gallery a.archive-status:hover { background-color: #96703d17; }
#chronicle .gallery a.archive-status:focus-visible {
  outline: 2px solid #77552d;
  outline-offset: 2px;
}

#chronicle .archive-poster-original {
  display: inline-block;
  margin-top: .25rem;
  padding: .25rem .2rem;
  color: inherit;
  font-size: .75rem;
  text-underline-offset: .16em;
}

.door.archive-column {
  background: #481d32;
  padding-inline: clamp(18px, 5vw, 60px);
}

.archive-column h2 {
  margin: .3em 0 .45em;
  color: inherit;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  font-size: clamp(23px, 7vw, 56px);
  line-height: 1.3;
  letter-spacing: .012em;
}

.archive-column .column-accent {
  color: #ed4999;
  font: inherit;
  letter-spacing: inherit;
}

.archive-column p.column-deck {
  margin: 0 auto clamp(16px, 3vw, 26px);
  font-size: clamp(16px, 2.3vw, 22px);
  line-height: 1.65;
}

.archive-column .column-copy {
  max-width: 35em;
  margin: .5em auto;
  line-height: 1.85;
  text-wrap: pretty;
}

.archive-column .column-phrase {
  font: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
}

.archive-column .column-quote {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: clamp(18px, 3.5vw, 32px) auto;
  padding: 9px clamp(9px, 2.3vw, 23px);
  font-size: clamp(15.5px, 4.25vw, 32px);
  font-weight: 700;
  line-height: 1.5;
}

.column-quote::before,
.column-quote::after {
  position: absolute;
  width: 13px;
  height: 13px;
  border-color: #32bfb4;
  border-style: solid;
  content: "";
  pointer-events: none;
}

.column-quote::before {
  inset: 0 auto auto 0;
  border-width: 1px 0 0 1px;
}

.column-quote::after {
  inset: auto 0 0 auto;
  border-width: 0 1px 1px 0;
}

.archive-column .column-link {
  min-width: min(100%, 232px);
  min-height: 54px;
  margin-top: clamp(14px, 2.8vw, 28px);
  padding: 8px 16px;
  color: #f2dba7;
  row-gap: 2px;
}

.archive-column .column-link span {
  font-size: inherit;
  letter-spacing: .09em;
}

.archive-column .column-link .column-link-arrow {
  display: inline-block;
  position: relative;
  width: .65em;
  height: .65em;
  margin-left: .2em;
  vertical-align: .05em;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.column-link-arrow::after {
  position: absolute;
  top: 0;
  right: 0;
  width: .82em;
  height: 1px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: right center;
  content: "";
}

.archive-column .column-link small {
  font: 500 12px/1.4 "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  letter-spacing: .04em;
}

.archive-column .column-link:hover {
  background-color: #f2dba715;
}

.archive-column .column-link:focus-visible {
  outline: 2px solid #f2dba7;
  outline-offset: 3px;
}

@media (max-width: 500px) {
  .archive-column .column-copy-break { display: none; }
}
