@font-face {
  font-family: Manrope;
  src: url(assets/manrope.woff2) format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --ink: #141414;
  --secondary: #575757;
  --line: #d1d1d1;
  --edge: clamp(18px, 2.85vw, 70px);
  --seam: clamp(5px, .55vw, 11px);
  --page: 2200px;
  font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: white;
}
html:lang(ja), .langs a:lang(ja) {
  font-family: Manrope, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif;
  line-break: strict;
}
* { box-sizing: border-box; }
body { margin: 0 auto; max-width: var(--page); font-size: 1rem; font-weight: 510; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
button, a { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
button { border: 0; background: transparent; padding: 0; cursor: pointer; }
a { text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid #3270be; outline-offset: 4px; }
main:focus { outline: none; }
.skip { position: fixed; top: 8px; left: 8px; transform: translateY(-160%); z-index: 10; padding: 10px; background: white; }
.skip:focus { transform: none; }
.mast {
  margin: 0 var(--edge);
  min-height: clamp(96px, 12.4svh, 142px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}
.mast > nav, .tools, .langs, .foot-links { display: flex; align-items: center; }
.mast > nav, .tools, .foot-links { gap: clamp(22px, 2.6vw, 54px); }
.tools { justify-self: end; }
.langs { gap: 6px; }
.langs a { white-space: nowrap; }
.langs > span { color: #888; }
.brand { display: block; padding: 8px 0; }
.brand img { width: clamp(110px, 9.125vw, 153px); }
.mast > nav a, .tools > a, .langs, .mobile-button { font-size: .875rem; font-weight: 620; letter-spacing: -.02em; }
.mast > nav a, .tools > a, .langs a { display: inline-flex; align-items: center; min-height: 40px; }
.mast a[aria-current], .langs a[aria-current], .mobile-nav a[aria-current], .mast nav a:hover, .tools > a:hover, .langs a:hover,
.more, .link, .jump, .foot-links a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .32em; }
.langs .off { color: var(--secondary); }
.mobile-menu { display: none; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 2.03fr) minmax(0, 1fr);
  grid-template-rows: clamp(300px, min(44vw, 67svh), 900px) auto;
  align-items: start;
  column-gap: var(--seam);
  margin: 0 var(--edge);
}
.feature { display: contents; }
.visual-primary, .visual-detail { position: relative; isolation: isolate; display: block; width: 100%; height: 100%; overflow: hidden; background: #ebedee; }
.cover-layer { position: absolute; inset: 0; display: block; visibility: hidden; pointer-events: none; }
.cover-layer.current { visibility: visible; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero { --cover-drift: clamp(14px, 2vw, 38px); }
  .cover-layer.current { animation: cover-arrive 1000ms cubic-bezier(.22,.65,.28,1) both; }
  .cover-layer.leaving { animation: cover-depart 1000ms cubic-bezier(.35,0,.45,1) both; }
}
@keyframes cover-arrive {
  from { opacity: 0; transform: translateX(var(--cover-drift)); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes cover-depart {
  0% { visibility: visible; opacity: 1; transform: translateX(0); }
  100% { visibility: hidden; opacity: 0; transform: translateX(calc(0px - var(--cover-drift))); }
}
.visual-primary { grid-area: 1 / 1; }
.visual-detail { grid-area: 1 / 2; }
.visual-primary img, .visual-detail img { width: 100%; height: 100%; object-fit: cover; }
.visual-primary img { object-position: 52% 54%; }
.visual-detail img { object-position: 51% 50%; }
.feature-caption { grid-area: 2 / 1; padding: clamp(15px, 1.65vw, 36px) 0 0; }
.feature-caption h1, .index-title h1, .story h1, .credit h1, .next-title {
  font-weight: 445; line-height: 1.03; letter-spacing: .01em;
}
.feature-caption h1 { overflow-wrap: anywhere; font-size: clamp(2.45rem, 4vw, 4.65rem); }
.feature-caption h1 a:hover, .plate:hover h3, .archive-tile:hover .tile-name, .next-title:hover {
  text-decoration: underline; text-decoration-thickness: .035em; text-underline-offset: .13em;
}
.feature-info, .kind, .tile-kind, .tile-count, .caption small, .total {
  color: var(--secondary); font-weight: 490; font-size: .875rem; letter-spacing: -.015em;
}
.feature-info { display: flex; gap: .6em; align-items: baseline; margin-top: .5em; }
.feature-info span { color: #818181; font-weight: 350; }
.picker {
  grid-area: 2 / 2; justify-self: end;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(6px,.65vw,14px);
  width: min(100%, 390px); padding-top: clamp(16px, 1.65vw, 36px);
}
.picker button { min-width: 0; text-align: left; align-self: start; }
.picker .rotation { grid-column: 1 / -1; justify-self: end; min-height: 32px; font-size: .8rem; color: var(--secondary); }
.picker .rotation:hover { text-decoration: underline; text-underline-offset: .3em; }
@media (prefers-reduced-motion: reduce) { .picker .rotation { display: none; } }
.picker .thumb { display: block; width: 100%; height: clamp(33px, 3.1vw, 56px); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.picker button > span:last-child { display: block; overflow-wrap: anywhere; font-size: .78rem; font-weight: 480; margin-top: 4px; }
.picker button[aria-pressed="true"] > span:last-child, .picker button:hover > span:last-child { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }
.work { margin: clamp(88px, 11vw, 192px) var(--edge) clamp(80px, 9vw, 165px); }
.work-heading, .index-title, .index-tools, .next, #foot { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.work-heading { padding: 15px 0 clamp(24px,3vw,52px); border-top: 1px solid var(--ink); }
.work-heading h2 { font-size: clamp(1.6rem, 2.8vw, 3.3rem); font-weight: 475; line-height: 1.12; letter-spacing: .01em; }
.more, .link, .jump { font-size: .94rem; font-weight: 570; }
.spread { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--seam); align-items: start; }
.plate:first-child { grid-column: 1 / 8; }
.plate:nth-child(2) { grid-column: 9 / 13; margin-top: clamp(32px, 7vw, 150px); }
.plate-image { overflow: hidden; background: #ededed; }
.plate-image img { width: 100%; aspect-ratio: 1.52; object-fit: cover; }
.plate:nth-child(2) .plate-image img { aspect-ratio: 1.05; }
.caption { padding-top: 10px; }
.caption h3, .tile-name { font-weight: 500; font-size: clamp(1.1rem, 1.4vw, 1.75rem); line-height: 1.18; letter-spacing: .01em; }
.caption small { display: block; margin-top: 3px; }
.opening, .story, .credit { margin: clamp(24px, 4vw, 78px) var(--edge) 0; }
.index-title, .index-tools { align-items: flex-end; }
.index-title h1, .credit h1 { font-size: clamp(2.7rem, 6.2vw, 7.25rem); }
.index-title { margin: 0 0 clamp(30px, 4.8vw, 90px); }
.view-switch, .filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px clamp(12px,1.8vw,28px); }
.view-switch button, .filters button { min-height: 36px; font-size: .9rem; color: var(--secondary); font-weight: 540; }
.view-switch button[aria-pressed="true"], .filters button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: .34em; text-decoration-thickness: 1px; }
.index-tools { border-top: 1px solid var(--ink); padding: 9px 0 18px; align-items: center; }
.total { white-space: nowrap; font-variant-numeric: tabular-nums; }
.archive { margin-bottom: clamp(70px, 9vw, 158px); }
.archive[data-view="images"] { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(26px,3.2vw,68px) var(--seam); }
.archive-tile { display: block; min-width: 0; }
.tile-img { overflow: hidden; background: #ededed; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; }
.archive[data-view="images"] .tile-img { aspect-ratio: 1.4; margin-bottom: 10px; }
.tile-name, .tile-kind { display: block; }
.tile-kind { margin-top: 2px; }
.tile-count { display: none; }
.archive[data-view="list"] { border-bottom: 1px solid var(--line); }
.archive[data-view="list"] .archive-tile { display: grid; grid-template-columns: 70px 1.5fr .8fr .6fr; gap: clamp(15px,2vw,40px); align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.archive[data-view="list"] .tile-img { width: 70px; aspect-ratio: 1.5; }
.archive[data-view="list"] .tile-name { font-size: clamp(1.2rem,2.25vw,2.75rem); }
.archive[data-view="list"] .tile-count { display: block; text-align: right; font-variant-numeric: tabular-nums; }
.archive .archive-tile[hidden] { display: none; }
.story .topline { display: flex; justify-content: space-between; align-items: center; }
.story h1 { font-size: clamp(2.3rem, 5.25vw, 5.6rem); margin: .24em 0 .4em; overflow-wrap: anywhere; }
.lead-image { display: block; width: fit-content; max-width: 100%; margin-inline: auto; cursor: zoom-in; }
.lead-image img { max-height: 80svh; width: auto; height: auto; }
.series { margin: clamp(26px,4.6vw,84px) var(--edge); }
.frames { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: clamp(25px,5vw,90px) var(--seam); align-items: center; }
.frame { grid-column: span 6; cursor: zoom-in; width: 100%; }
.frame img { width: 100%; max-height: 88svh; object-fit: contain; }
.frame:nth-child(3n) { grid-column: 3 / 11; }
.video { margin-top: 18px; }
.next { margin: clamp(56px,8vw,128px) var(--edge) 0; padding: 15px 0 32px; border-top: 1px solid var(--ink); align-items: center; }
.next-title { font-size: clamp(1.8rem,4.4vw,5rem); text-align: right; }
.credit { margin-bottom: clamp(68px,9vw,155px); }
.credit h1 { margin-bottom: .5em; }
.credo-grid, .contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(24px,7vw,120px); }
.credo-grid blockquote { font-size: clamp(1.125rem,2.05vw,2.7rem); font-weight: 450; line-height: 1.28; letter-spacing: -.047em; margin: 0 0 26px; }
html:lang(ja) .credo-grid blockquote { line-height: 1.65; letter-spacing: .015em; }
html:lang(ja) :is(.index-title h1, .credit h1, .feature-caption h1, .story h1, .next-title) { line-height: 1.2; }
.credo-grid img, .contact-grid img { width: 100%; }
.contact-grid { align-items: end; }
.contact-grid img { max-height: 57svh; object-fit: cover; }
address { font-size: clamp(1.375rem,2.3vw,2.95rem); letter-spacing: -.05em; line-height: 1.24; font-style: normal; }
.contact-details { display: grid; gap: 5px; margin-top: 28px; overflow-wrap: anywhere; }
#foot { margin: 36px var(--edge) 0; padding: 20px 0 32px; border-top: 1px solid var(--line); flex-wrap: wrap; font-size: .875rem; color: var(--secondary); }
#lightbox { border: 0; padding: 16px var(--edge) 22px; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: #111; color: white; }
#lightbox[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: 10px; }
#lightbox::backdrop { background: #111; }
#lightbox .close { justify-self: end; min-height: 40px; }
#lightbox figure { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; min-height: 0; }
#lightbox figure img { min-height: 0; max-height: calc(100% - 32px); object-fit: contain; }
#lightbox figcaption, .light-controls { font-size: .875rem; }
.light-controls { display: flex; justify-content: center; align-items: center; gap: 32px; }
.light-controls button { min-height: 40px; }
#light-count { font-variant-numeric: tabular-nums; }
body:has(dialog[open]) { overflow: hidden; }
@media (max-width: 950px) {
  .hero { grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); }
  .picker { column-gap: 6px; }
}
@media (max-width: 680px), (hover: none) and (pointer: coarse) and (max-width: 960px) and (max-height: 540px) {
  #head { --mobile-head-height: 94px; position: relative; min-height: var(--mobile-head-height); z-index: 3; background: white; }
  .mast { min-height: var(--mobile-head-height); }
  .mast > nav, .mast > .tools { display: none; }
  .brand { grid-column: 2; }
  .brand img { width: 94px; }
  .mobile-menu { grid-column: 3; justify-self: end; display: block; }
  .mobile-button {
    display: grid; place-content: center; width: 48px; height: 48px;
    font-size: 0; line-height: 0; list-style: none; cursor: pointer;
  }
  .mobile-button::-webkit-details-marker { display: none; }
  .mobile-button:focus-visible { outline: 2px solid #3270be; outline-offset: 2px; }
  .menu-icon {
    position: relative; display: block; width: 30px; height: 22px;
    background: linear-gradient(currentColor,currentColor) center / 100% 2px no-repeat;
  }
  .menu-icon::before, .menu-icon::after {
    content: ""; position: absolute; inset-inline: 0; top: calc(50% - 1px); height: 2px; background: currentColor;
    transform: translateY(-8px);
  }
  .menu-icon::after { transform: translateY(8px); }
  .mobile-menu[open] .menu-icon { background: none; }
  .mobile-menu[open] .menu-icon::before { transform: rotate(45deg); }
  .mobile-menu[open] .menu-icon::after { transform: rotate(-45deg); }
  html:has(.mobile-menu[open]), body:has(.mobile-menu[open]) { overflow: hidden; }
  #head:has(.mobile-menu[open]) .mast {
    position: fixed; inset: 0; height: 100dvh; min-height: 0; margin: 0; padding-inline: var(--edge);
    align-content: start; grid-template-rows: var(--mobile-head-height); background: white;
  }
  body:has(.mobile-menu[open]) :is(#main, #main *, #foot, #foot *, .skip) { visibility: hidden; }
  .mobile-nav {
    position: absolute; inset: var(--mobile-head-height) 0 0;
    display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
    padding: clamp(12px, 3vh, 32px) var(--edge) max(16px, env(safe-area-inset-bottom));
  }
  .mobile-pages { flex: none; display: grid; margin-block: auto; }
  .mobile-pages a {
    display: flex; align-items: center; min-height: clamp(56px, 9dvh, 80px);
    border-top: 1px solid var(--line); font-size: clamp(1.75rem, 7vw, 2.5rem); font-weight: 475;
  }
  .mobile-nav .langs { flex: none; border-top: 1px solid var(--line); padding-top: 4px; margin-top: 12px; gap: 9px; }
  .mobile-nav .langs a { min-height: 44px; min-width: 32px; }
}
@media (max-width: 680px) {
  .hero { grid-template-columns: minmax(0,1fr) auto; grid-template-rows: auto auto; gap: 8px 12px; align-items: center; }
  .visual-primary { grid-area: 1 / 1 / 2 / -1; height: auto; aspect-ratio: 4 / 3; }
  .visual-detail, .feature-info, .picker [data-feature] { display: none; }
  .feature-caption { grid-area: 2 / 1; padding: 0; }
  .feature-caption h1 { font-size: clamp(1.75rem,6.75vw,2.8rem); }
  .picker { display: contents; }
  .picker .rotation {
    grid-area: 2 / 2; width: 44px; min-height: 44px; align-self: center;
    text-align: center; font-size: 0; color: var(--ink);
  }
  .picker .rotation::before { content: ""; display: inline-block; vertical-align: middle; }
  .picker .rotation[data-playing="true"]::before { width: 8px; height: 11px; border-inline: 2px solid; }
  .picker .rotation[data-playing="false"]::before { border-block: 6px solid transparent; border-left: 9px solid; }
  .work { margin-block: 48px 60px; }
  .work-heading h2 { font-size: 1.55rem; }
  .work-heading .more { font-size: .875rem; }
  .spread { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .plate:first-child, .plate:nth-child(2) { grid-column: 1; margin-top: 0; }
  .plate-image img, .plate:nth-child(2) .plate-image img { aspect-ratio: 3 / 2; }
  .index-title { align-items: baseline; }
  .index-title h1, .credit h1 { font-size: clamp(2.2rem,8.75vw,3.65rem); }
  .index-tools { flex-wrap: wrap; gap: 0 12px; }
  .filters { gap: 0 13px; }
  .filters button, .view-switch button { font-size: .875rem; }
  .total { font-size: .8rem; }
  .archive[data-view="images"] { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .archive[data-view="list"] .archive-tile { grid-template-columns: 54px 1fr auto; gap: 10px; }
  .archive[data-view="list"] .tile-img { width: 54px; }
  .archive[data-view="list"] .tile-count { display: none; }
  .tile-kind, .caption small { font-size: .8rem; }
  .credo-grid, .contact-grid { grid-template-columns: 1fr; }
  .credo-grid img { max-width: 430px; }
  .frames { grid-template-columns: 1fr; }
  .frame, .frame:nth-child(3n) { grid-column: 1; }
  .next-title { font-size: 1.8rem; }
  .next .kind { max-width: 38%; }
  .foot-links { flex-wrap: wrap; gap: 16px; }
}
@media (max-width: 400px) {
  .langs { gap: 6px; }
  .langs a { font-size: .8rem; }
  .langs > span { display: none; }
}

@media (max-width: 680px) and (prefers-reduced-motion: no-preference) {
  .mobile-menu[open] .mobile-nav { animation: mobile-menu-arrive 220ms cubic-bezier(.22,.65,.28,1) both; }
  .menu-icon::before, .menu-icon::after { transition: transform 180ms ease; }
}
@keyframes mobile-menu-arrive {
  from { opacity: 0; transform: translateY(-9px); }
  to { opacity: 1; transform: translateY(0); }
}

img { height: auto; }
