:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #747474;
  --rule: #dddddd;
  --soft: #f4f4f1;
  --soft-2: #ecece8;
  --hover: #fafafa;
  --black-pause: #090909;
  --max: 1500px;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", Arial, Helvetica, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.site {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 30px 36px;
  max-width: var(--max);
  margin: 0 auto;
}

.header,
.footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 400;
}

.header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}

.identity { white-space: nowrap; }

.header-right {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a,
.socials a,
.project-tabs button,
.lang button {
  position: relative;
}

.nav a::after,
.socials a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a[aria-current="page"]::after,
.socials a:hover::after,
.socials a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.lang {
  display: flex;
  gap: 9px;
  align-items: center;
}

.lang button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  letter-spacing: inherit;
  text-transform: uppercase;
}

.lang button[aria-pressed="true"] { color: var(--text); }
.lang .slash { color: #b5b5b5; }

.footer {
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.footer-note { color: var(--muted); }

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  align-items: center;
  gap: 8vw;
  padding: 9vh 3vw 10vh;
}

.home-name {
  margin: 0;
  max-width: 940px;
  font-size: clamp(58px, 8.2vw, 132px);
  line-height: .93;
  letter-spacing: -.055em;
  font-weight: 300;
}

.home-name span { display: block; }

.home-meta {
  align-self: end;
  padding-bottom: .9em;
}

.role,
.kicker {
  margin: 0;
  font-size: 11px;
  line-height: 1.65;
  letter-spacing: .17em;
  text-transform: uppercase;
  font-weight: 400;
}

.home-intro {
  margin: 30px 0 0;
  max-width: 310px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.home-index {
  margin: 8vh 3vw 0;
  max-width: 640px;
  border-top: 1px solid var(--rule);
}

.home-index a {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.home-index a:hover .index-title { transform: translateX(6px); }
.index-title { transition: transform 160ms ease; }
.index-arrow { color: var(--muted); }

.content {
  padding: 8vh 3vw 11vh;
}

.page-title {
  margin: 0 0 7vh;
  font-size: clamp(42px, 6vw, 88px);
  line-height: .95;
  letter-spacing: -.05em;
  font-weight: 300;
}

.index-list {
  border-top: 1px solid var(--rule);
}

.index-row {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) 110px 160px minmax(120px, 220px);
  gap: 20px;
  align-items: center;
  min-height: 88px;
  border-bottom: 1px solid var(--rule);
  transition: background 150ms ease;
}

.index-row:hover {
  background: var(--hover);
}

.index-year,
.index-type {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.index-name {
  font-size: clamp(20px, 2.2vw, 34px);
  line-height: 1.05;
  letter-spacing: -.025em;
}

.index-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.text-list .index-row {
  grid-template-columns: 42px minmax(260px, 1fr) 100px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.archive-col {
  padding: 24px 28px 34px 0;
}

.archive-col + .archive-col {
  border-left: 1px solid var(--rule);
  padding-left: 28px;
}

.archive-col h2 {
  margin: 0 0 28px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 400;
}

.archive-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  margin: 0 0 22px;
  font-size: 12px;
  line-height: 1.45;
}

.archive-item time {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .09em;
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(200px, .65fr) minmax(280px, 1.35fr);
  gap: 10vw;
  align-items: start;
}

.info-name {
  margin: 0;
  font-size: clamp(36px, 4.5vw, 70px);
  line-height: .96;
  letter-spacing: -.045em;
  font-weight: 300;
}

.info-copy {
  max-width: 700px;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.55;
}

.info-copy p:first-child { margin-top: 0; }

.info-links {
  margin-top: 48px;
  display: flex;
  gap: 22px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.project-head {
  display: grid;
  grid-template-columns: minmax(210px, 300px) 1fr;
  gap: 7vw;
  margin-bottom: 6vh;
}


.project-title {
  margin: 16px 0 8px;
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 300;
}

.project-year {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .14em;
}

.project-tabs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 44px;
}

.project-tabs button {
  border: 0;
  padding: 0 0 3px;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.project-tabs button[aria-selected="true"] {
  color: var(--text);
}

.watch-button {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* A small screen outline — the same shape as the favicon. */
.watch-button::before {
  content: "";
  width: 13px;
  height: 10px;
  border: 1px solid currentColor;
  border-radius: 3px / 4px;
  background: radial-gradient(circle at 50% 50%, currentColor 0 1.2px, transparent 1.6px);
}

.watch-button:hover,
.watch-button:focus-visible { color: var(--muted); }

.project-tabs button[aria-selected="true"]::after {
  content: " —";
}

.project-view {
  min-width: 0;
}

.project-panel[hidden] { display: none; }

.image-placeholder {
  background: var(--soft);
  display: grid;
  place-items: center;
  color: #8c8c86;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.project-info {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 34px;
  max-width: 760px;
  font-size: 13px;
  line-height: 1.55;
}

.project-info dt {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 10px;
}

.project-info dd {
  margin: 0 0 22px;
}

[data-i18n] { transition: opacity 120ms ease; }
body.language-changing [data-i18n] { opacity: 0; }

@media (max-width: 900px) {
  .index-row {
    grid-template-columns: 1fr 80px;
  }

  .index-type,
  .index-note {
    display: none;
  }

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

  .archive-col + .archive-col {
    border-left: 0;
    border-top: 1px solid var(--rule);
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  .site { padding: 22px 20px 24px; }

  .header {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 22px 20px;
  }

  .header-right { display: contents; }

  .identity { grid-row: 1; grid-column: 1; }
  .lang { grid-row: 1; grid-column: 2; }
  .theme-toggle { grid-row: 1; grid-column: 3; }

  .nav {
    grid-row: 2;
    grid-column: 1 / -1;
    gap: 26px;
  }

  .home-hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 58px;
    padding: 17vh 0 8vh;
  }

  .home-name {
    font-size: clamp(54px, 17vw, 90px);
  }

  .home-meta {
    align-self: auto;
    padding: 0;
  }

  .home-index {
    margin: 0 0 10vh;
  }

  .home-index a {
    grid-template-columns: 34px 1fr auto;
  }

  .content { padding: 12vh 0 12vh; }

  .page-title { margin-bottom: 8vh; }

  .index-row {
    grid-template-columns: 1fr 58px;
    gap: 12px;
    min-height: 76px;
  }

  .index-name {
    font-size: 20px;
  }

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

  .info-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .project-head {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .project-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
  }

  .project-info {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav a::after,
  .socials a::after,
  [data-i18n],
  .index-title {
    transition: none;
  }
}

/* Home */
.home-overview {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(460px, 1.1fr);
  gap: clamp(64px, 10vw, 170px);
  align-items: center;
  padding: clamp(72px, 10vh, 130px) 3vw;
}

.home-practice {
  align-self: center;
  max-width: 620px;
}

.home-kicker {
  margin: 0 0 34px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--muted);
}

.home-statement {
  margin: 0;
  font-size: clamp(38px, 4.8vw, 72px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 300;
}

.home-description {
  margin: 34px 0 0;
  max-width: 370px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.home-directory {
  border-top: 1px solid var(--rule);
}

.home-directory > a {
  display: grid;
  grid-template-columns: 1fr 24px;
  gap: 18px;
  align-items: center;
  min-height: 102px;
  border-bottom: 1px solid var(--rule);
  transition: padding 160ms ease, background 160ms ease;
}

.home-directory > a:hover,
.home-directory > a:focus-visible {
  padding-left: 10px;
  background: var(--hover);
}


.directory-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.directory-title {
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1;
  letter-spacing: -.025em;
}

.directory-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.directory-arrow {
  justify-self: end;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 900px) {
  .home-overview {
    grid-template-columns: 1fr;
    gap: 72px;
    align-items: start;
    padding: 12vh 0 10vh;
  }

  .home-practice {
    max-width: 680px;
  }

  .home-directory > a {
    min-height: 88px;
  }
}

@media (max-width: 760px) {
  .home-overview {
    gap: 60px;
    padding: 14vh 0 10vh;
  }

  .home-statement {
    font-size: clamp(38px, 11vw, 58px);
  }

  .home-directory > a {
    grid-template-columns: 1fr 20px;
    gap: 12px;
    min-height: 82px;
  }

  .directory-note {
    font-size: 10px;
  }
}


/* Integrated project narrative */
.project-head-integrated {
  grid-template-columns: minmax(210px, 290px) minmax(0, 1fr);
  align-items: start;
}

.project-meta-compact {
  margin: 46px 0 0;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 9px 18px;
  font-size: 11px;
  line-height: 1.45;
}

.project-meta-compact dt {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 9px;
}

.project-meta-compact dd { margin: 0; }

/* Project viewer
   Desktop: a fixed-height box that pages through slides one at a time;
   every photo gets the same height and the same centre axis.
   Mobile: a plain column, the page scrolls as usual. */
.sequence-panel {
  --viewer-h: clamp(420px, calc(100svh - 230px), 1100px);
}

.viewer-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  column-gap: 20px;
}

.viewer {
  min-width: 0;
  height: var(--viewer-h);
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  outline: none;
}

.viewer::-webkit-scrollbar { display: none; }

.slide {
  height: var(--viewer-h);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.frame img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  cursor: zoom-in;
}

/* Scale: a quiet map of the sequence — short ticks for photographs,
   longer ones for texts. The current tick darkens and grows. */
.scale {
  height: var(--viewer-h);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding: 4px 0;
}

.scale-tick {
  position: relative;
  flex: 1 1 0;
  max-height: 26px;
  width: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.scale-tick::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 9px;
  height: 1px;
  background: var(--rule);
  transition: width 200ms ease, background-color 200ms ease;
}

.scale-tick.is-text::after {
  width: 18px;
  background: var(--muted);
  opacity: .55;
}

.scale-tick:hover::after,
.scale-tick:focus-visible::after {
  background: var(--muted);
  opacity: 1;
}

.scale-tick[aria-current="step"]::after {
  width: 22px;
  background: var(--text);
  opacity: 1;
}

.scale-tick.is-text[aria-current="step"]::after { width: 30px; }

/* Number of the current photograph, just left of its tick. */
.scale-tick[aria-current="step"][data-label]::before {
  content: attr(data-label);
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .1em;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.scale-tick:focus-visible { outline: none; }

.viewer-controls {
  display: flex;
  justify-content: flex-end;
  padding-right: 60px;
  align-items: baseline;
  margin-top: 18px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 400;
}

.viewer-count {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.viewer-steps {
  display: flex;
  gap: 26px;
}

.viewer-steps button {
  position: relative;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  letter-spacing: inherit;
  text-transform: inherit;
}

.viewer-steps button::before {
  content: "";
  position: absolute;
  inset: -14px -8px;
}

.viewer-steps button:disabled {
  color: var(--muted);
  opacity: .45;
  cursor: default;
}

/* The viewer is focused on load; show a ring only for Tab navigation. */
.viewer:focus-visible { outline: none; }

html.keyboard-nav .viewer:focus-visible {
  outline: 1px solid var(--rule);
  outline-offset: 8px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 18px 36px;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 220ms ease;
}

.lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 400;
}

.lightbox-bar .viewer-count { color: var(--muted); }

.lightbox button {
  position: relative;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.lightbox button::before {
  content: "";
  position: absolute;
  inset: -14px -8px;
}

.lightbox-stage {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0 0;
}

.lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: zoom-out;
}

/* Invisible halves of the stage act as previous / next. */
.lightbox .lightbox-prev,
.lightbox .lightbox-next {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18%;
}

.lightbox .lightbox-prev { left: 0; cursor: w-resize; }
.lightbox .lightbox-next { right: 0; cursor: e-resize; }
.lightbox .lightbox-prev::before,
.lightbox .lightbox-next::before { content: none; }

html.lightbox-lock { overflow: hidden; }

/* Watch mode: always dark, like a projection in a dark room. */
.screening {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #0a0a0a;
  color: #e6e6e3;
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms ease, visibility 0s linear 400ms;
  outline: none;
  cursor: default;
}

.screening.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 400ms ease;
}

.screening.is-idle { cursor: none; }

.screening-close {
  position: absolute;
  z-index: 1;
  top: max(12px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  min-width: 44px;
  min-height: 44px;
  padding: 12px;
  border: 0;
  background: #0a0a0a;
  color: inherit;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}

.screening-close:hover { color: #ffffff; }
.screening-close:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: -4px;
}

.screening-stage {
  position: absolute;
  inset: max(64px, 4vh) 4vw 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 260ms ease;
}

.screening-stage.is-fading { opacity: 0; }

.screening-stage img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.screening-text {
  max-width: 34em;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.62;
  letter-spacing: -.012em;
}

.project-text {
  width: 100%;
  max-width: 34em;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.project-text p { margin: 0; }
.project-text p + p { margin-top: 1em; }

.project-text:focus-visible {
  outline: 1px solid var(--rule);
  outline-offset: -1px;
}

.screening-bar {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  color: #7d7d78;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  transition: opacity 500ms ease;
}

.screening.is-idle .screening-bar { opacity: 0; }

@media (max-width: 760px) {
  .viewer {
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
    display: grid;
    gap: 64px;
  }

  .slide {
    height: auto;
    display: block;
  }

  .frame img {
    width: 100%;
    height: auto;
  }

  .viewer-controls,
  .scale { display: none; }

  .viewer-wrap { display: block; }

  .watch-button { margin-top: 26px; }

  .screening-stage { inset: max(64px, env(safe-area-inset-top)) 16px 48px; }
  .screening-bar { left: 20px; right: 20px; bottom: 18px; }
  .screening-hint { display: none; }

  .lightbox { padding: 18px 20px; }
  .lightbox .lightbox-prev,
  .lightbox .lightbox-next { width: 30%; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox.is-open,
  .screening, .screening.is-open,
  .screening-stage,
  .scale-tick::after { transition: none; }
}

.text-fragment {
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.62;
  letter-spacing: -.012em;
}

.text-fragment p,
.project-endnote p { margin: 0; }

.viewer .text-fragment {
  justify-content: center;
}

.viewer .text-fragment p {
  max-width: 34em;
}

.text-fragment-wide {
  width: min(76%, 720px);
  margin-left: 7%;
}

.text-fragment-narrow {
  width: min(54%, 520px);
  margin-left: auto;
  margin-right: 8%;
}

.black-pause {
  width: 100%;
  min-height: clamp(300px, 48vw, 690px);
  background: var(--black-pause);
}

.project-endnote {
  width: min(56%, 560px);
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .project-head-integrated {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .project-meta-compact { margin-top: 30px; }

  .text-fragment-wide,
  .text-fragment-narrow,
  .project-endnote {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }


  .text-fragment { font-size: 18px; }
  .viewer .project-text {
    max-height: none;
    overflow: visible;
  }
  .black-pause { min-height: 72vw; }
}


/* Social icons */
.socials a,
.info-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon path {
  fill: currentColor;
  stroke: none;
}

.socials a:hover .social-icon,
.socials a:focus-visible .social-icon,
.info-links a:hover .social-icon,
.info-links a:focus-visible .social-icon {
  opacity: .55;
}


/* Theme */
html[data-theme="dark"] {
  --bg: #111111;
  --text: #ededeb;
  --muted: #9b9b96;
  --rule: #343432;
  --soft: #1b1b1a;
  --soft-2: #242422;
  --hover: #171716;
  --black-pause: #000000;
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
}

.theme-toggle {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.theme-icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-icon-sun {
  display: block;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--muted);
}

body,
.header,
.footer,
.home-directory > a,
.index-row,
.image-placeholder {
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

@media (prefers-reduced-motion: reduce) {
  body,
  .header,
  .footer,
  .home-directory > a,
  .index-row,
  .image-placeholder {
    transition: none;
  }
}


/* Info page — quieter editorial layout */
.info-page {
  padding-top: clamp(72px, 10vh, 130px);
  padding-bottom: clamp(90px, 13vh, 160px);
}

.info-layout {
  display: grid;
  grid-template-columns: minmax(200px, 0.55fr) minmax(420px, 1.45fr);
  gap: clamp(70px, 10vw, 170px);
  align-items: start;
}

.info-aside {
  display: grid;
  gap: 42px;
  padding-top: 3px;
}

.info-meta-group {
  display: grid;
  gap: 9px;
}

.info-label {
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .17em;
  text-transform: uppercase;
  font-weight: 400;
}

.info-value {
  max-width: 240px;
  font-size: 12px;
  line-height: 1.55;
}

.info-main {
  max-width: 820px;
}

.info-lead {
  margin: 0;
  max-width: 760px;
  font-size: clamp(26px, 3.1vw, 48px);
  line-height: 1.14;
  letter-spacing: -.035em;
  font-weight: 300;
}

.info-body {
  margin: clamp(50px, 7vh, 86px) 0 0 auto;
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.info-rule {
  margin: clamp(62px, 9vh, 110px) 0 24px;
  border-top: 1px solid var(--rule);
}

.info-small {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

/* The address stays lowercase — it has to be read and copied exactly. */
.info-links .info-email span,
.socials .info-email span {
  text-transform: none;
  letter-spacing: .04em;
  font-size: 12px;
}

.info-email[hidden] { display: none; }

.info-email-fallback {
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: none;
}

.info-links-vertical {
  margin: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .info-page {
    padding-top: 12vh;
    padding-bottom: 12vh;
  }

  .info-layout {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .info-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 28px;
  }

  .info-meta-group:last-child {
    grid-column: 1 / -1;
  }

  .info-lead {
    font-size: clamp(25px, 8.5vw, 38px);
  }

  .info-body {
    margin-left: 0;
  }
}


/* Home — cover
   Three columns sharing one bottom line: navigation at the left edge,
   the image in the middle, a small label beside the work on the right. */
.home-cover {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  align-content: center;
  column-gap: clamp(40px, 5vw, 96px);
  padding: clamp(36px, 6vh, 72px) 0;
}

.home-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.home-nav a {
  position: relative;
  display: inline-block;
  padding: 4px 0;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1;
  letter-spacing: .015em;
  font-weight: 300;
}

.home-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.home-nav a:hover::after,
.home-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* The figure's children join the page grid: image in the middle column,
   label in the right one, so the image stays centered on the page. */
.cover {
  display: contents;
}

.cover-image {
  display: block;
  grid-column: 2;
}

.cover-image img {
  display: block;
  height: clamp(380px, 68vh, 900px);
  width: auto;
  max-width: 100%;
  animation: cover-in 1100ms ease 80ms both;
}

.cover figcaption {
  grid-column: 3;
  padding-bottom: 2px;
}

.cover-caption {
  display: inline-grid;
  gap: 8px;
  max-width: 190px;
}

.cover-title {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .01em;
  font-weight: 400;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 180ms ease;
}

.cover-caption:hover .cover-title,
.cover-caption:focus-visible .cover-title {
  background-size: 100% 1px;
}

.cover-year {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .14em;
}

@keyframes cover-in {
  from { opacity: 0; }
}

@media (max-width: 1000px) {
  .home-cover {
    grid-template-columns: 1fr;
    row-gap: 40px;
    padding: 5vh 0 7vh;
  }

  .cover-image { grid-column: 1; grid-row: 1; }

  .cover figcaption {
    grid-column: 1;
    grid-row: 2;
    margin-top: -22px;
  }

  .cover-image img {
    height: auto;
    max-height: 72vh;
  }

  .home-nav { grid-row: 3; }
}

@media (max-width: 760px) {
  .home-cover {
    row-gap: 44px;
    padding: 28px 0 8vh;
  }

  .cover-image img {
    width: 100%;
    max-height: none;
  }

  .home-nav { gap: 18px; }
  .home-nav a { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .cover-image img { animation: none; }
  .cover-title { transition: none; }
}
