@charset "utf-8";

:root {
  --paper: #f7f7f4;
  --paper-strong: #ffffff;
  --ink: #050505;
  --soft-ink: rgba(5, 5, 5, .68);
  --faint: rgba(5, 5, 5, .12);
  --line: rgba(5, 5, 5, .18);
  --black: #050505;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", "Noto Sans JP", "Yu Gothic", Arial, sans-serif;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, .18);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .035;
  background-image: radial-gradient(circle, #000 0 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
}

.scroll-line {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 160;
  width: 0;
  height: 2px;
  background: var(--black);
}

.v35-main-nav {
  position: fixed;
  z-index: 150;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
  max-width: calc(100vw - 24px);
  overflow-x: auto;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(5,5,5,.84);
  backdrop-filter: blur(16px);
}

.v35-main-nav a {
  flex: 0 0 auto;
  min-width: 34px;
  padding: 8px 10px;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  text-align: center;
  font: 800 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.v35-main-nav a[href="/d/"] {
  color: var(--black);
  background: var(--white);
}

.site-header {
  position: fixed;
  z-index: 140;
  left: 18px;
  right: 18px;
  top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  background: rgba(5,5,5,.72);
  backdrop-filter: blur(22px);
}

.brand,
.site-nav,
.hero-meta,
.filters,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
}

.brand span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--white);
  font: 900 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.brand b {
  font-size: 13px;
  letter-spacing: .08em;
}

.site-nav {
  justify-content: flex-end;
  gap: 2px;
}

.site-nav a {
  padding: 10px 12px;
  color: rgba(255,255,255,.74);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a.is-current {
  color: #fff;
  background: rgba(255,255,255,.14);
}

main {
  overflow: hidden;
}

.hero {
  min-height: 96svh;
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 60px);
  align-items: end;
  padding: clamp(96px, 13vh, 160px) clamp(18px, 5vw, 72px) clamp(34px, 7vh, 76px);
  background: var(--black);
  color: var(--white);
}

.hero-image {
  margin: 0;
  align-self: stretch;
  min-height: min(72vh, 760px);
  border: 1px solid rgba(255,255,255,.16);
  background: #111;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.18) brightness(.82);
}

.hero-copy {
  width: min(920px, 100%);
}

.hero-copy p,
.section-kicker,
.work-item span,
.archive time {
  margin: 0;
  color: currentColor;
  opacity: .72;
  font: 800 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 14px 0 0;
  font-size: clamp(58px, 13vw, 176px);
  line-height: .84;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-meta {
  gap: 8px;
  margin-top: 24px;
}

.hero-meta span {
  border: 1px solid rgba(255,255,255,.24);
  padding: 9px 11px;
  background: rgba(255,255,255,.06);
  font-size: 12px;
}

.redacted-text {
  display: inline-block;
  width: 7.4em;
  height: .92em;
  margin: 0 .08em;
  vertical-align: -.12em;
  background: #000 !important;
  border: 1px solid #000;
  box-shadow: inset 0 0 0 1px #000, 0 0 0 1px rgba(255,255,255,.08);
  color: transparent;
  opacity: 1 !important;
  user-select: none;
}

.redacted-heading {
  width: 8.6em;
  height: .82em;
}

.intro,
.selected-work,
.archive,
.about,
.trace {
  padding: clamp(64px, 10vw, 124px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(320px, .72fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  background: var(--paper);
}

.intro h2,
.section-head h2,
.about h2,
.trace h2,
.archive h3,
.work-item h3 {
  margin: 10px 0 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}

.intro h2 {
  max-width: 920px;
  font-size: clamp(36px, 6vw, 84px);
}

.intro p,
.about p,
.trace p,
.archive p,
.work-item p {
  margin: 0;
  color: var(--soft-ink);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 2;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.section-head h2 {
  font-size: clamp(42px, 7vw, 112px);
}

.filters {
  justify-content: flex-end;
  gap: 6px;
}

.filters button {
  min-height: 38px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255,255,255,.72);
  padding: 0 12px;
  cursor: pointer;
  font: 800 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.filters button.is-active {
  color: var(--white);
  border-color: var(--black);
  background: var(--black);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.work-item {
  grid-column: span 4;
  display: grid;
  grid-template-rows: minmax(280px, 1fr) auto;
  min-height: 560px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.48);
  transition: opacity .22s ease, transform .28s ease;
}

.work-item.is-hidden {
  display: none;
}

.work-item:hover {
  transform: translateY(-4px);
}

.work-feature {
  grid-column: span 8;
}

.work-item a,
.redacted-portrait-frame {
  display: block;
  overflow: hidden;
  background: var(--black);
}

.redacted-portrait-frame {
  position: relative;
  min-height: 340px;
  height: 100%;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 26%, rgba(255,255,255,.035)),
    #000;
}

.redacted-portrait-frame::before,
.redacted-portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.redacted-portrait-frame::before {
  background:
    radial-gradient(circle at 50% 38%, #000 0 34%, transparent 34.5%),
    linear-gradient(180deg, transparent 0 12%, #000 12% 74%, transparent 74%);
}

.redacted-portrait-frame::after {
  border: clamp(22px, 5vw, 58px) solid #000;
  box-shadow: inset 0 0 0 2px #000, inset 0 0 80px rgba(0,0,0,1);
}

.redaction-scanline {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.035) 0 1px, transparent 1px 7px);
  mix-blend-mode: screen;
}

.redaction-label {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 16px;
  padding: 8px 10px;
  color: rgba(255,255,255,.58);
  background: #000;
  border: 1px solid rgba(255,255,255,.14);
  font: 900 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .1em;
}

.work-item img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12);
  transition: transform .8s ease, filter .35s ease;
}

.work-item:hover img {
  transform: scale(1.025);
  filter: grayscale(.72) contrast(1.18);
}

.work-item div {
  padding: 18px 0 0;
}

.work-item h3,
.archive h3 {
  margin-bottom: 10px;
  font-size: clamp(25px, 3.2vw, 46px);
}

.archive {
  color: var(--white);
  background: var(--black);
}

.archive .section-head {
  border-color: rgba(255,255,255,.16);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.archive-grid article {
  min-height: 320px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.045);
}

.archive p {
  color: rgba(255,255,255,.72);
}

.about {
  display: grid;
  grid-template-columns: minmax(320px, .78fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: center;
}

.about figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 620px;
  background: var(--black);
}

.about img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: 54% center;
  filter: grayscale(.86) contrast(1.12);
}

.about figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: min(320px, calc(100% - 36px));
  padding: 10px 12px;
  background: rgba(5,5,5,.76);
  color: rgba(255,255,255,.82);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about h2,
.trace h2 {
  font-size: clamp(38px, 6vw, 88px);
}

.about p,
.trace p {
  margin-top: 22px;
}

.about dl {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
}

.about dl div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.about dt {
  font-weight: 900;
}

.about dd {
  margin: 0;
  color: var(--soft-ink);
}

.trace {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(5,5,5,.82), rgba(5,5,5,.96)),
    url("/assets/images/lowfi_photos/lowfi_contact_sheet.webp") center / cover;
}

.trace p {
  max-width: 820px;
  color: rgba(255,255,255,.74);
}

.contact-actions {
  gap: 8px;
  margin-top: 28px;
}

.contact-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.24);
  color: #fff;
  background: rgba(255,255,255,.08);
  padding: 0 14px;
  text-decoration: none;
  font-weight: 900;
}

.contact-actions a:hover {
  background: #fff;
  color: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px) 72px;
  color: var(--soft-ink);
  font-size: 12px;
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .about,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .filters {
    justify-content: flex-start;
  }

  .work-item,
  .work-feature {
    grid-column: span 6;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: sticky;
    left: 0;
    right: 0;
    top: 0;
    border-left: 0;
    border-right: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero-image {
    min-height: 54vh;
  }

  .work-grid {
    display: block;
  }

  .work-item,
  .work-feature {
    margin-bottom: 22px;
    min-height: auto;
  }

  .work-item img {
    min-height: 260px;
  }

  .about figure,
  .about img {
    min-height: 380px;
  }

  .about dl div {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
