:root {
  --paper: #f1f1f1;
  --ink: #111;
  --display: Inter, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --body: "Noto Sans JP", sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --header-height: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body { isolation: isolate; margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.95 var(--body); }
a { color: inherit; text-underline-offset: .25em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link { position: fixed; z-index: 5; top: 8px; left: 16px; padding: 8px; background: var(--paper); }
.scroll-line {
  position: fixed;
  z-index: 0;
  inset: var(--header-height) auto 0 50%;
  width: 1px;
  background: var(--ink);
  transform: scaleY(var(--progress, 1));
  transform-origin: top;
  pointer-events: none;
}
main, .site-footer {
  position: relative;
  z-index: 1;
}
.site-header {
  position: sticky;
  z-index: 3;
  top: 0;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.header-logo { flex: none; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 48px); }
.site-nav a { font: 500 .875rem/1.4 var(--display); letter-spacing: .12em; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { text-decoration: underline; }
.nav-social { border-left: 1px solid var(--ink); padding-left: 18px; }
.menu-toggle { display: none; }
.opening {
  position: fixed;
  z-index: 4;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.opening::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  animation: opening-out .46s ease-in-out 1.2s both;
}
.opening-logo {
  position: relative;
  width: clamp(232px, 42vw, 570px);
  max-width: calc(100% - 2 * var(--gutter));
}
.opening-active .header-logo img { visibility: hidden; }
.logo-word { font-family: var(--serif); }
.opening-logo .logo-brackets, .opening-logo .logo-letters, .opening-logo .logo-axis, .opening-logo .logo-word {
  animation: logo-in .36s ease-out both;
}
.opening-logo .logo-letters { animation-delay: .28s; }
.opening-logo .logo-axis { animation-delay: .58s; }
.opening-logo .logo-word { animation-delay: .86s; }
@keyframes logo-in { from { opacity: 0; } }
@keyframes opening-out { to { opacity: 0; } }
.featured {
  position: relative;
  display: grid;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  background: var(--ink);
  color: var(--paper);
}
.featured-work { display: grid; min-width: 0; }
.featured-card {
  container-type: inline-size;
  display: grid;
  align-content: center;
  gap: clamp(20px, 5vw, 64px);
  min-width: 0;
  padding: 64px var(--gutter) 112px;
  text-decoration: none;
}
.featured-card:focus-visible { outline-offset: -6px; }
.featured-card > .external-link-mark {
  position: absolute;
  inset: 16px var(--gutter) auto auto;
  padding-inline: .35em;
  background: var(--ink);
}
.featured-card:not(.featured-image)::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 1px;
  background: var(--paper);
  pointer-events: none;
}
.featured-title-split, .featured-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 5vw, 88px);
  overflow-wrap: anywhere;
}
.featured-title {
  --title-size: clamp(1.5rem, 6.1vw, 7rem);
  align-items: center;
  font: 500 var(--title-size)/1.24 var(--body);
  letter-spacing: -.055em;
}
.featured-title-split > :first-child, .featured-meta .featured-category { text-align: right; }
.featured-title-single, .featured-subtitle {
  position: relative;
  justify-self: center;
  padding-inline: .2em;
  background: var(--ink);
  text-align: center;
}
.featured-title-single {
  font-size: min(var(--title-size), calc(96cqi / var(--title-length)));
  white-space: nowrap;
}
.featured-meta {
  align-items: start;
  row-gap: .6rem;
  font-size: clamp(.75rem, 1.3vw, .95rem);
  letter-spacing: .035em;
}
.featured-subtitle { grid-column: 1 / -1; }
.featured-category { letter-spacing: .12em; }
.featured-details time { white-space: nowrap; }
.featured:has(.featured-image) {
  min-height: 0;
  background: transparent;
  color: var(--ink);
}
.featured-image { gap: 0; padding: 0; }
.featured-image > img {
  width: 100%;
  height: calc(100vh - var(--header-height) - 120px);
  height: calc(100svh - var(--header-height) - 120px);
  min-height: 240px;
  object-fit: cover;
}
.featured-band {
  position: relative;
  min-height: 120px;
  padding: 14px var(--gutter) 40px;
  border-block: 1px solid var(--ink);
}
.featured-band::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 1px;
  background: var(--ink);
  pointer-events: none;
}
.featured-summary { text-align: right; }
.featured-link .external-link-mark { margin-inline-start: .35em; }
.featured-scroll {
  position: absolute;
  bottom: 16px;
  left: calc(50% + 12px);
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 9px 5px;
  background: var(--ink);
  writing-mode: vertical-rl;
  font: 400 .625rem/1 var(--display);
  letter-spacing: .2em;
  text-decoration: none;
}
.featured-scroll:hover { text-decoration: underline; }
.featured:has(.featured-image) .featured-scroll {
  bottom: 7px;
  background: var(--paper);
  writing-mode: horizontal-tb;
}
.site-section {
  position: relative;
  max-width: 1344px;
  margin-inline: auto;
  padding: clamp(72px, 9vw, 140px) var(--gutter);
}
.section-header { width: fit-content; max-width: 100%; margin: 0 auto clamp(42px, 6vw, 82px); padding-left: 22px; }
.section-header h2 {
  --bracket-inset: .14em;
  padding: 0 16px;
  font: 200 clamp(2.2rem, 6.8vw, 6rem)/.94 var(--display);
  letter-spacing: -.045em;
}
.section-header h2 span {
  display: block;
  margin: .6em 0 0;
  font: 400 .7rem/1.5 var(--body);
  letter-spacing: .12em;
}
.section-label {
  position: absolute;
  inset: 0 auto auto 0;
  writing-mode: vertical-rl;
  font: .875rem/1.3 var(--serif);
  letter-spacing: .055em;
}
.bracket { position: relative; }
.bracket::before, .bracket::after {
  content: "";
  position: absolute;
  inset-block: var(--bracket-inset, 0);
  width: 10px;
  border-block: 1px solid currentColor;
  pointer-events: none;
}
.bracket::before { left: 0; border-left: 1px solid currentColor; }
.bracket::after { right: 0; border-right: 1px solid currentColor; }
.news-list { margin: 0; padding: 0; list-style: none; }
.news-list li { border-top: 1px solid var(--ink); }
.news-list li:last-child { border-bottom: 1px solid var(--ink); }
.news-row { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 18px; align-items: baseline; padding: 26px clamp(8px, 3vw, 36px); overflow-wrap: anywhere; }
.news-row time { font: .9rem/1.5 var(--display); font-variant-numeric: tabular-nums; letter-spacing: .05em; }
.news-more { margin-top: 16px; }
.news-more summary { padding: 12px; cursor: pointer; }
.archive-cards, .next-list { display: grid; min-width: 0; }
.next-list { gap: 18px; }
.archive-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}
.work-card { min-width: 0; }
.card-body {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 42px);
  height: 100%;
  padding: 14px 18px;
  color: inherit;
  text-decoration: none;
}
a.card-body:hover .card-title, a.card-body:focus-visible .card-title { text-decoration: underline; text-underline-offset: .2em; }
.card-visual { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-placeholder {
  display: grid;
  place-content: center;
  padding: 14px;
  background: var(--ink);
  color: var(--paper);
  font-size: clamp(.875rem, 2vw, 1.45rem);
  line-height: 1.5;
  text-align: center;
  overflow-wrap: anywhere;
}
.card-placeholder-title { padding-inline: 14px; }
.card-info { display: grid; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.card-kicker, .card-meta { font-size: .875rem; }
.card-title { font-size: clamp(1.08rem, 2.4vw, 1.7rem); font-weight: 600; line-height: 1.5; }
.card-button { width: fit-content; margin-top: 8px; padding: 7px 16px; border: 1px solid var(--ink); font-size: .875rem; }
.card-body:hover .card-button { background: var(--ink); color: var(--paper); }
.next-list .card-visual { aspect-ratio: 3 / 2; }
.archive-cards .card-body { grid-template-columns: minmax(0, 1fr); align-content: start; align-items: start; padding: 0; gap: 14px; }
.poster {
  position: relative;
  aspect-ratio: 3 / 4;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.poster .card-visual { height: 100%; min-height: 0; aspect-ratio: auto; }
.poster .card-placeholder { padding: clamp(20px, 4vw, 44px); text-wrap: balance; }
.poster::before, .poster::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset-block: 5%;
  width: 12px;
  border-block: 1px solid currentColor;
  pointer-events: none;
  transition: transform .3s ease-out, opacity .3s ease-out;
}
.poster::before { left: 5%; border-left: 1px solid currentColor; transform: translateX(calc(-1 * var(--bracket-offset, 5px))); }
.poster::after { right: 5%; border-right: 1px solid currentColor; transform: translateX(var(--bracket-offset, 5px)); }
.poster:has(img) { --bracket-offset: 200%; }
.poster:has(img)::before, .poster:has(img)::after { opacity: 0; }
.card-body:is(:hover, :focus-visible) .poster::before,
.card-body:is(:hover, :focus-visible) .poster::after { transform: none; opacity: 1; }
.site-footer { border-top: 1px solid var(--ink); text-align: center; }
.footer-links { display: grid; justify-items: center; gap: 12px; padding: 12px; }
.contact-details {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 12px;
  max-width: 100%;
  margin: 0;
  text-align: left;
}
.contact-details dd { margin: 0; overflow-wrap: anywhere; }
.contact-note { font-size: .75rem; }
.copyright { display: inline-block; margin-top: 38px; }
/* Cover the line at content blocks, leaving the surrounding space transparent. */
.section-header, .work-card, .news-list, .news-more,
.footer-links, .copyright {
  position: relative;
  background: var(--paper);
}
/* Fade the contents independently so the paper remains opaque. */
.reveal { transition: transform .42s ease; }
.reveal > *, .reveal::before, .reveal::after { transition: opacity .42s ease; }
.reveal-pending:not(:focus-within) { transform: translateY(14px); }
.reveal-pending:not(:focus-within) > *,
.reveal-pending:not(:focus-within)::before,
.reveal-pending:not(:focus-within)::after { opacity: 0; }
@media (max-width: 1024px) {
  .archive-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 740px) {
  :root { --header-height: 60px; }
  .featured-image > img { height: auto; min-height: 0; }
  .site-header { flex-wrap: wrap; }
  .site-nav { flex: 1 0 100%; flex-wrap: wrap; gap: 6px 14px; }
  .site-nav a { font-size: .75rem; }
  .site-nav .nav-social { border-left: 0; }
  .site-header.menu-ready .site-nav { display: none; }
  .site-header.menu-ready .menu-toggle[aria-expanded="true"] + .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 var(--gutter);
    max-height: calc(100vh - var(--header-height));
    overflow: auto;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
  }
  .site-header.menu-ready .site-nav a { padding: 14px 0; border-block-start: 1px solid var(--ink); }
  .menu-toggle {
    display: grid;
    place-items: center;
    inline-size: 44px;
    block-size: 40px;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--ink);
    cursor: pointer;
  }
  .menu-icon { position: relative; width: 19px; height: 13px; border-block: 1px solid currentColor; }
  .menu-icon::after { content: ""; position: absolute; inset: 5px 0 auto; border-top: 1px solid currentColor; }
  [aria-expanded="true"] .menu-icon { transform: rotate(45deg); height: 1px; border-bottom: 0; }
  [aria-expanded="true"] .menu-icon::after { inset: -1px 0 auto; transform: rotate(90deg); }
}
@media (max-width: 600px) {
  .card-body, .news-row { grid-template-columns: 1fr; }
  .news-row { gap: 8px; padding-block: 20px; }
  .archive-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .opening { display: none; }
  .opening-active .header-logo img { visibility: visible; }
  .poster::before, .poster::after { transition: none; }
  .reveal, .reveal > *, .reveal::before, .reveal::after { transition: none; }
  .reveal-pending:not(:focus-within) { transform: none; }
  .reveal-pending:not(:focus-within) > *,
  .reveal-pending:not(:focus-within)::before,
  .reveal-pending:not(:focus-within)::after { opacity: 1; }
}
