:root {
  --black: #090909;
  --ink: #11110f;
  --paper: #f3f0e8;
  --paper-deep: #e5dfd1;
  --acid: #d8ff36;
  --coral: #ff5b43;
  --blue: #536dff;
  --line: rgba(17, 17, 15, .23);
  --sans: Inter, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --serif: Iowan Old Style, "Times New Roman", "Yu Mincho", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); overflow-x: hidden; }
body.is-locked { overflow: hidden; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
::selection { color: var(--black); background: var(--acid); }

.skip-link { position: fixed; z-index: 999; left: 1rem; top: -5rem; padding: .8rem 1rem; color: white; background: black; }
.skip-link:focus { top: 1rem; }

.intro { display: none; }
.js .intro { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; align-content: center; color: white; background: #070707; transition: transform 1s cubic-bezier(.83,0,.17,1), visibility 1s; }
.js .intro.is-gone { transform: translateY(-105%); visibility: hidden; }
.intro-noise { position: absolute; inset: 0; opacity: .13; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }
.intro::before, .intro::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; animation: introOrbit 12s linear infinite; }
.intro::before { width: min(72vw, 760px); aspect-ratio: 1; }
.intro::after { width: min(52vw, 540px); aspect-ratio: 1; animation-direction: reverse; }
.intro-kicker, .intro-caption { position: relative; z-index: 2; margin: 0; font-size: .68rem; letter-spacing: .3em; }
.intro-mark { position: relative; z-index: 2; margin: 1.1rem 0; font-weight: 950; font-size: clamp(4.7rem, 15vw, 11rem); line-height: .67; letter-spacing: -.09em; text-align: center; }
.intro-mark span { color: transparent; -webkit-text-stroke: 1.5px white; }
.enter-button { position: relative; z-index: 2; min-width: 220px; margin-top: 2rem; padding: 1rem 1.1rem; display: flex; justify-content: space-between; border: 1px solid white; border-radius: 0; color: white; background: transparent; font-size: .7rem; letter-spacing: .16em; cursor: pointer; transition: color .25s, background .25s; }
.enter-button:hover, .enter-button:focus-visible { color: black; background: var(--acid); outline: none; }
@keyframes introOrbit { to { transform: rotate(360deg); } }

.site-header { position: absolute; z-index: 50; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 1.35rem 2.2vw; color: white; border-bottom: 1px solid rgba(255,255,255,.24); }
.brand { display: inline-flex; align-items: center; gap: .42rem; font-size: .76rem; font-weight: 900; letter-spacing: .08em; text-decoration: none; }
.brand-bang { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; color: var(--black); background: var(--acid); border-radius: 50%; font-size: 1rem; letter-spacing: -.08em; }
.header-nav { display: flex; align-items: center; gap: clamp(.8rem, 2.4vw, 2.4rem); font-size: .65rem; letter-spacing: .15em; }
.header-nav a { text-decoration: none; }
.header-nav a:hover { color: var(--acid); }
.sound-button { display: flex; align-items: center; gap: .5rem; padding: 0; border: 0; background: transparent; cursor: pointer; font-size: .65rem; letter-spacing: .15em; }
.sound-dot { width: .52rem; height: .52rem; border: 1px solid white; border-radius: 50%; }
.sound-button[aria-pressed="true"] .sound-dot { border-color: var(--acid); background: var(--acid); box-shadow: 0 0 14px var(--acid); }

.hero { position: relative; min-height: 100svh; padding: 7.6rem 2.2vw 2rem; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: white; background: var(--black); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 30%, rgba(83,109,255,.2), transparent 31%), linear-gradient(115deg, transparent 0 63%, rgba(255,255,255,.05) 63% 63.1%, transparent 63.1%); pointer-events: none; }
.hero-meta { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; font-size: .58rem; letter-spacing: .22em; color: rgba(255,255,255,.66); }
.hero-meta span:last-child { text-align: right; }
.hero h1 { position: relative; z-index: 2; margin: 1.6rem 0 .4rem; font-size: clamp(5rem, 16.7vw, 16.5rem); line-height: .68; letter-spacing: -.095em; font-weight: 950; }
.hero-line { display: block; }
.hero-line-outline { color: transparent; -webkit-text-stroke: clamp(1px, .12vw, 2.4px) white; margin-left: 8.5vw; }
.hero-line-shift { margin-left: 19vw; }
.hero-period { color: var(--acid); }
.hero-orbit { position: absolute; z-index: 1; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.orbit-one { width: 45vw; right: -9vw; top: 8vh; }
.orbit-two { width: 20vw; right: 7vw; top: 31vh; border-color: rgba(216,255,54,.34); }
.hero-bottom { position: relative; z-index: 2; display: flex; align-items: end; justify-content: space-between; }
.hero-bottom p { margin: 0; max-width: 35rem; font-size: clamp(.9rem, 1.35vw, 1.25rem); line-height: 1.75; letter-spacing: .04em; }
.round-link { width: 7rem; aspect-ratio: 1; display: flex; justify-content: center; align-items: center; gap: .7rem; border-radius: 50%; color: var(--black); background: var(--acid); text-decoration: none; font-size: .59rem; line-height: 1.3; letter-spacing: .13em; transition: transform .3s; }
.round-link:hover { transform: rotate(8deg) scale(1.05); }
.round-link b { font-size: 1.3rem; }
.hero-ticker { position: relative; z-index: 3; margin: 1.5rem -2.2vw -2rem; overflow: hidden; color: var(--black); background: var(--acid); border-top: 1px solid var(--acid); border-bottom: 1px solid var(--acid); font-size: .72rem; letter-spacing: .16em; white-space: nowrap; }
.hero-ticker div { width: max-content; padding: .72rem 0; animation: marquee 26s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section-index { margin: 0; font-size: .62rem; letter-spacing: .22em; }
.manifesto { padding: 7rem 2.2vw 4.5rem; border-bottom: 1px solid var(--line); }
.manifesto-copy { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(15rem, .75fr); align-items: end; gap: 5vw; margin-top: 4rem; }
.manifesto-en { margin: 0; font-size: clamp(3rem, 8vw, 8.4rem); line-height: .86; letter-spacing: -.075em; font-weight: 850; }
.manifesto-en em { font-family: var(--serif); font-weight: 400; }
.manifesto-ja { margin: 0 0 .6rem; padding-left: 1.4rem; border-left: 1px solid var(--ink); font-family: var(--serif); font-size: clamp(1.05rem, 1.7vw, 1.5rem); line-height: 2; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 6rem; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.stats > div { min-height: 9rem; padding: 1.2rem 1rem 1rem 0; display: flex; align-items: end; gap: 1.2rem; border-right: 1px solid var(--ink); }
.stats > div:last-child { border-right: 0; padding-left: 1rem; }
.stats > div:nth-child(2) { padding-left: 1rem; }
.stats strong { font-size: clamp(3.4rem, 6vw, 6.3rem); line-height: .8; letter-spacing: -.08em; }
.stats span { max-width: 9rem; font-size: .57rem; line-height: 1.4; letter-spacing: .15em; }

.featured { padding: 7rem 2.2vw; color: white; background: var(--black); }
.section-heading { display: flex; justify-content: space-between; align-items: start; }
.section-heading h2, .archive-head h2 { margin: 0; font-size: clamp(4rem, 10.5vw, 10rem); line-height: .72; letter-spacing: -.08em; }
.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px; margin-top: 4rem; background: rgba(255,255,255,.25); border: 1px solid rgba(255,255,255,.25); }
.feature-card { position: relative; min-height: 39rem; padding: 1.3rem; display: flex; flex-direction: column; justify-content: space-between; grid-column: span 6; overflow: hidden; background: #121212; }
.feature-card:nth-child(3) { grid-column: span 7; }
.feature-card:nth-child(4) { grid-column: span 5; }
.feature-card-media { position: absolute; inset: 0; opacity: .58; transition: opacity .5s, transform .8s cubic-bezier(.2,.8,.2,1); }
.feature-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.82)); }
.feature-card-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-card.is-graphic .feature-card-media img { object-position: top; }
.feature-card:hover .feature-card-media { opacity: .77; transform: scale(1.035); }
.feature-card-top, .feature-card-bottom { position: relative; z-index: 2; }
.feature-card-top { display: flex; justify-content: space-between; font-size: .58rem; letter-spacing: .18em; }
.feature-card h3 { margin: 0 0 .8rem; font-size: clamp(2.8rem, 5.2vw, 5.5rem); line-height: .8; letter-spacing: -.06em; }
.feature-card p { max-width: 27rem; margin: 0 0 1.2rem; font-size: .86rem; line-height: 1.7; }
.feature-actions, .card-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.action-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; min-width: 8rem; padding: .75rem .8rem; border: 1px solid currentColor; text-decoration: none; background: rgba(0,0,0,.22); font-size: .58rem; letter-spacing: .11em; cursor: pointer; }
.action-link:hover, .action-link:focus-visible { color: var(--black); background: var(--acid); border-color: var(--acid); outline: none; }
.feature-art { position: absolute; inset: 0; }
.feature-art::before, .feature-art::after { content: ""; position: absolute; border-radius: 50%; }
.feature-art::before { width: 72%; aspect-ratio: 1; right: -22%; top: -8%; border: 1px solid rgba(255,255,255,.5); box-shadow: 0 0 80px rgba(83,109,255,.35) inset; }
.feature-art::after { width: 35%; aspect-ratio: 1; left: 15%; top: 26%; background: linear-gradient(135deg, var(--acid), transparent); filter: blur(2px); opacity: .35; }

.archive { padding: 7rem 2.2vw 8rem; background: var(--paper); }
.archive-head { display: grid; grid-template-columns: 1.5fr .7fr; gap: 5vw; align-items: end; }
.archive-head .section-index { margin-bottom: 3rem; }
.archive-lead { margin: 0 0 .35rem; padding-top: 1.2rem; border-top: 1px solid var(--ink); font-family: var(--serif); font-size: clamp(1.05rem, 1.7vw, 1.4rem); line-height: 1.85; }
.archive-tools { position: sticky; z-index: 20; top: 0; margin: 4.5rem -2.2vw 0; padding: 0 2.2vw; display: flex; align-items: stretch; justify-content: space-between; background: var(--paper); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.filters { display: flex; overflow-x: auto; }
.filter { padding: 1.1rem 1.35rem; border: 0; border-right: 1px solid var(--line); background: transparent; font-size: .6rem; letter-spacing: .13em; white-space: nowrap; cursor: pointer; }
.filter span { margin-left: .35rem; opacity: .55; }
.filter:hover, .filter.is-active { color: var(--paper); background: var(--ink); }
.search-box { min-width: 18rem; display: flex; align-items: center; gap: .8rem; border-left: 1px solid var(--ink); }
.search-box span { padding-left: 1rem; font-size: .56rem; letter-spacing: .16em; }
.search-box input { width: 100%; padding: 1rem 1rem 1rem 0; border: 0; outline: 0; background: transparent; }
.result-count { margin: 2rem 0 1.1rem; font-size: .6rem; letter-spacing: .16em; }
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.work-card { position: relative; min-width: 0; display: flex; flex-direction: column; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--paper); transition: background .25s, color .25s; }
.work-card:hover { color: white; background: var(--ink); }
.work-card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; border-bottom: 1px solid var(--ink); background: var(--paper-deep); }
.work-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, transparent 35%, rgba(0,0,0,.25)); }
.work-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: saturate(.75); transition: transform .6s, filter .4s; }
.work-card:hover .work-card-media img { transform: scale(1.045); filter: saturate(1.1); }
.work-card-art { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: var(--card-color, var(--blue)); }
.work-card-art::before { content: ""; width: 73%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; box-shadow: 0 0 0 2rem rgba(255,255,255,.06), 0 0 0 4rem rgba(255,255,255,.04); }
.work-monogram { position: absolute; z-index: 2; font-size: clamp(3.7rem, 6vw, 7rem); font-weight: 950; letter-spacing: -.1em; color: white; mix-blend-mode: overlay; }
.card-number { position: absolute; z-index: 3; top: .8rem; left: .8rem; font-size: .55rem; letter-spacing: .14em; color: white; }
.card-body { flex: 1; padding: 1rem; display: flex; flex-direction: column; }
.card-meta { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 2.7rem; font-size: .52rem; letter-spacing: .14em; opacity: .72; }
.card-body h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2.5rem); line-height: .9; letter-spacing: -.05em; }
.card-jp { margin: .55rem 0 0; font-family: var(--serif); font-size: .9rem; }
.card-desc { flex: 1; margin: 1.2rem 0 1.5rem; font-size: .71rem; line-height: 1.75; opacity: .78; }
.card-actions .action-link { flex: 1; min-width: 6.5rem; background: transparent; }
.work-card:hover .action-link:hover { color: var(--ink); }
.empty-state { padding: 5rem 0; border-bottom: 1px solid var(--ink); font-family: var(--serif); font-size: 1.3rem; text-align: center; }

.closing { min-height: 85svh; padding: 6rem 2.2vw 2rem; display: flex; flex-direction: column; justify-content: space-between; color: white; background: var(--coral); overflow: hidden; }
.closing-small { margin: 0; font-size: .62rem; letter-spacing: .2em; }
.closing-big { margin: 0; font-size: clamp(7rem, 23vw, 23rem); font-weight: 950; line-height: .63; letter-spacing: -.105em; }
.closing-big span { color: transparent; -webkit-text-stroke: 2px white; }
.closing a { align-self: end; font-size: .67rem; letter-spacing: .15em; }
footer { padding: 1.1rem 2.2vw; display: grid; grid-template-columns: 1fr 1fr 1fr; color: white; background: var(--black); font-size: .52rem; letter-spacing: .13em; }
footer p { margin: 0; }
footer p:nth-child(2) { text-align: center; }
footer p:last-child { text-align: right; }

.lightbox { width: min(96vw, 1100px); max-width: none; height: 94svh; padding: 0; color: white; background: #0b0b0b; border: 1px solid rgba(255,255,255,.4); }
.lightbox::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(8px); }
.lightbox-bar { height: 5rem; padding: 1rem 1.3rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.28); }
.lightbox-bar span { font-size: .5rem; letter-spacing: .16em; opacity: .6; }
.lightbox-bar h2 { margin: .25rem 0 0; font-size: 1rem; }
.lightbox-bar button { width: 2.8rem; height: 2.8rem; padding: 0; border: 1px solid white; border-radius: 50%; color: white; background: transparent; font-size: 1.5rem; cursor: pointer; }
.lightbox-stage { height: calc(94svh - 5rem); padding: 1.5rem; overflow: auto; }
.lightbox-stage img { width: min(100%, 880px); margin: 0 auto; }

.reveal { opacity: 0; transform: translateY(35px); transition: opacity .85s, transform .85s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .works-grid { grid-template-columns: repeat(3, 1fr); }
  .archive-tools { position: relative; flex-direction: column; padding: 0; margin-left: 0; margin-right: 0; }
  .search-box { min-height: 3.4rem; border-top: 1px solid var(--ink); border-left: 0; }
}

@media (max-width: 760px) {
  .site-header { padding: 1rem 1.1rem; }
  .header-nav a { display: none; }
  .hero { padding-left: 1rem; padding-right: 1rem; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .hero-meta span:nth-child(2) { display: none; }
  .hero h1 { font-size: clamp(4.7rem, 27vw, 8rem); line-height: .72; }
  .hero-line-outline { margin-left: 0; }
  .hero-line-shift { margin-left: 7vw; }
  .hero-bottom { gap: 1rem; align-items: center; }
  .hero-bottom p { font-size: .78rem; }
  .round-link { width: 5.4rem; flex: 0 0 auto; }
  .manifesto, .featured, .archive { padding: 5rem 1rem; }
  .manifesto-copy, .archive-head { grid-template-columns: 1fr; }
  .manifesto-ja { margin-top: 2rem; }
  .stats { grid-template-columns: 1fr; }
  .stats > div, .stats > div:nth-child(2), .stats > div:last-child { min-height: 6.5rem; padding: 1rem 0; border-right: 0; border-bottom: 1px solid var(--ink); }
  .stats > div:last-child { border-bottom: 0; }
  .section-heading { display: block; }
  .section-heading h2 { margin-top: 2.5rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-card:nth-child(3), .feature-card:nth-child(4) { grid-column: auto; min-height: 31rem; }
  .archive-head .section-index { margin-bottom: 2.5rem; }
  .archive-lead { margin-top: 2.5rem; }
  .archive-tools { margin-top: 3rem; }
  .filters { width: 100%; }
  .filter { padding-left: .9rem; padding-right: .9rem; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .card-meta { margin-bottom: 1.8rem; }
  .card-body h3 { font-size: 1.55rem; }
  .closing { min-height: 70svh; padding: 4rem 1rem 1.5rem; }
  footer { grid-template-columns: 1fr; gap: .45rem; padding: 1.2rem 1rem; }
  footer p:nth-child(2), footer p:last-child { text-align: left; }
}

@media (max-width: 470px) {
  .works-grid { grid-template-columns: 1fr; }
  .work-card-media { aspect-ratio: 16/10; }
  .intro-caption { letter-spacing: .13em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
