/* TAKAST & Co. — dark gallery, titles set like the COME TOGETHER poster: black type in a white box */
:root {
  --bg: #1f1f1f;
  --plate: #000;
  --ink: #ededeb;
  --soft: #9a9a96;
  --rule: #353535;
  --box: #fff;
  --box-ink: #000;
  --f: "Archivo", "Helvetica Neue", Arial, "Hiragino Sans", "Yu Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: #000; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

/* header */
.site-header { display: flex; align-items: center; gap: 16px 48px; flex-wrap: wrap; padding: 28px 40px; border-bottom: 1px solid var(--rule); }
.brand img { width: 168px; }
.cats { display: flex; flex-wrap: wrap; gap: 4px 6px; font-weight: 650; font-stretch: 87%; font-size: 15px; letter-spacing: .02em; }
.cats a { text-decoration: none; padding: 3px 8px; color: var(--soft); }
.cats a:hover { color: var(--ink); }
.cats a[aria-current="page"] { background: var(--box); color: var(--box-ink); }

main { padding: 48px 40px 96px; max-width: 1480px; margin: 0 auto; }

/* the label: black heavy type in a white box */
.label { margin: 0 0 32px; line-height: 1; }
.label span {
  display: inline; background: var(--box); color: var(--box-ink);
  font-weight: 900; font-stretch: 100%; text-transform: uppercase; letter-spacing: -.005em;
  font-size: clamp(30px, 5.6vw, 76px); line-height: 1.24; padding: .02em .22em .06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.label.small span { font-size: clamp(22px, 2.6vw, 32px); }

/* home */
.now { margin-bottom: 72px; }
.poster { display: block; max-width: 1100px; }
.poster img { width: 100%; }

/* grids */
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 36px 24px; }
.grid a { display: block; text-decoration: none; }
.grid .cover { display: block; aspect-ratio: 4 / 3; background: var(--plate); overflow: hidden; margin-bottom: 10px; }
.grid .cover img { width: 100%; height: 100%; object-fit: cover; }
.grid .t { font-weight: 700; font-stretch: 87%; font-size: 16px; text-transform: uppercase; letter-spacing: .01em; }
.grid .y { color: var(--soft); font-size: 14px; margin-left: .6em; font-variant-numeric: tabular-nums; }
.grid a:hover .t { background: var(--box); color: var(--box-ink); box-shadow: 0 0 0 3px var(--box); }

/* work */
.work-head { margin-bottom: 36px; }
.work-head .label { margin-bottom: 14px; }
.meta { margin: 0; color: var(--soft); font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.meta a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.meta a:hover { border-bottom-color: var(--ink); }
.plates { display: grid; gap: 24px; justify-items: center; }
.plates figure { margin: 0; background: var(--plate); width: 100%; display: flex; justify-content: center; padding: 0; }
.plates figure img { max-height: 90vh; width: auto; }
.note { max-width: 40em; justify-self: start; color: var(--ink); line-height: 1.9; margin: 0; }
.video { width: 100%; max-width: 1100px; aspect-ratio: 16 / 9; background: var(--plate); }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.pager { display: flex; justify-content: space-between; gap: 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--rule); }
.pager a { text-decoration: none; font-weight: 700; font-stretch: 87%; text-transform: uppercase; max-width: 45%; }
.pager a span { display: block; color: var(--soft); font-weight: 400; font-size: 13px; text-transform: none; margin-bottom: 2px; }
.pager .older { margin-left: auto; text-align: right; }
.pager a:hover { color: #fff; text-decoration: underline; text-underline-offset: .25em; }

/* pages */
.prose { max-width: 36em; font-size: 18px; line-height: 1.75; }
.prose p { margin: 0 0 1em; }
.prose dl { margin: 2em 0 0; border-top: 1px solid var(--rule); }
.prose dl div { display: grid; grid-template-columns: 14em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.prose dt { color: var(--soft); }
.prose dd { margin: 0; }
.prose a { text-underline-offset: .2em; }
.archive { margin: 0; max-width: 650px; }
.archive figcaption { color: var(--soft); margin-top: 10px; font-size: 14px; }

/* footer */
.site-footer { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: center; padding: 28px 40px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--soft); }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { text-decoration: none; color: var(--ink); }
.site-footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.site-footer p { margin: 0 0 0 auto; }

@media (max-width: 720px) {
  .site-header { padding: 20px 16px 14px; gap: 12px; }
  .brand img { width: 132px; }
  .cats { font-size: 14px; margin: 0 -8px; }
  main { padding: 32px 16px 72px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .grid .t { font-size: 14px; }
  .grid .y { display: block; margin: 0; font-size: 13px; }
  .plates { gap: 14px; }
  .prose dl div { grid-template-columns: 1fr; gap: 0; }
  .site-footer { padding: 24px 16px; }
  .site-footer p { margin-left: 0; }
  .pager a { max-width: 48%; }
}
