@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Newsreader:opsz,wght@6..72,400;6..72,500&display=swap');

:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #000;
  --sans: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #050505;
  --ink: #fff;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: .25em; }
button { color: inherit; }

a:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 30;
  left: 1rem;
  top: 1rem;
  padding: .65rem 1rem;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.top-nav,
.hero,
.article-shell,
.site-footer {
  width: min(100% - 64px, 1440px);
  margin-inline: auto;
}

.top-nav {
  display: flex;
  min-height: 108px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--ink);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.top-nav a,
.top-nav button,
.site-footer a {
  text-decoration: none;
}

.top-nav a:hover,
.site-footer a:hover { text-decoration: underline; }

.home-link { white-space: nowrap; }

.editorial-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1.1rem, 3vw, 3rem);
}

.language-switch,
.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
}

.language-switch button,
.theme-button {
  padding: .3rem 0;
  border: 0;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  box-shadow: inset 0 -1px 0 var(--ink);
  font-weight: 600;
}

.language-switch button[aria-pressed="false"] { font-weight: 400; }

.theme-switch { gap: .45rem; }

.theme-button {
  display: inline-grid;
  padding: .2rem;
  place-items: center;
}

.theme-button:disabled {
  cursor: default;
  opacity: 1;
}

.theme-button:not(:disabled) {
  cursor: pointer;
  opacity: .32;
}

.theme-button:not(:disabled):hover,
.theme-button:not(:disabled):focus-visible { opacity: .68; }

.theme-icon {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1;
}

.pdf-link { white-space: nowrap; }

.hero { padding: 64px 0 0; }

.video-wrap {
  position: relative;
  width: min(100%, 1280px);
  margin-inline: auto;
  background: #000;
}

.video-wrap video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.fullscreen-button {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid #fff;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  cursor: pointer;
  font: 18px/1 Arial, sans-serif;
}

.fullscreen-button:hover { background: #000; }

.work-caption {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 1rem 3rem;
  justify-content: start;
  width: min(100%, 1280px);
  margin: 18px auto 0;
  font-size: .68rem;
  letter-spacing: .06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.work-caption p { margin: 0; }
.work-caption em { text-transform: none; }

.article-header {
  width: min(100%, 1020px);
  margin: 0 auto;
  padding: 180px 0 140px;
}

.eyebrow {
  margin: 0 0 44px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1 {
  max-width: 980px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 8.4rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .88;
}

.subtitle {
  margin: 48px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.25;
}

.author {
  margin: 24px 0 0;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
}

.author-name { text-transform: uppercase; }

.dek {
  max-width: 850px;
  margin: 80px 0 0 auto;
  padding-left: 52px;
  border-left: 1px solid var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.3;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(190px, 270px) minmax(0, 710px);
  gap: clamp(60px, 9vw, 150px);
  justify-content: center;
  align-items: start;
}

.references { padding-top: 12px; }
.reference { margin: 0; }
.reference--almaguer { margin-top: 460px; }
.reference--detail { margin-top: 150px; }
.mobile-reference { display: none; }

.image-button {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: zoom-in;
  font: inherit;
  text-align: left;
}

.image-button img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1);
  transition: filter 180ms ease;
}

.image-button:hover img,
.image-button:focus-visible img { filter: grayscale(0); }

.enlarge-label {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 7px;
  background: var(--ink);
  color: var(--paper);
  font-size: .57rem;
  letter-spacing: .1em;
  opacity: 0;
  text-transform: uppercase;
  transition: opacity 180ms ease;
}

.image-button:hover .enlarge-label,
.image-button:focus-visible .enlarge-label { opacity: 1; }

figcaption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 14px;
  font-size: .68rem;
  line-height: 1.45;
}

figcaption strong {
  font-size: .63rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

figcaption small { font-size: inherit; }

.article-body {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.55vw, 1.42rem);
  line-height: 1.62;
}

.article-body p { margin: 0 0 1.45em; }
.article-body section { margin-top: 7.5rem; }

.article-body h2 {
  margin: 0 0 2.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.7rem, 2.6vw, 2.65rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.article-body strong {
  font-family: var(--sans);
  font-size: .82em;
  letter-spacing: .05em;
}

.pullquote {
  position: relative;
  margin: 6rem 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4vw, 4.8rem);
  letter-spacing: -.04em;
  line-height: .98;
}

.pullquote p { margin: 0; }

.pullquote::before {
  content: "";
  display: block;
  width: 52px;
  margin-bottom: 26px;
  border-top: 3px solid var(--ink);
}

.pullquote--left { margin-left: clamp(-210px, -13vw, -90px); }
.pullquote--wide { margin-right: clamp(-180px, -10vw, -70px); }
.pullquote--closing { font-size: clamp(2.7rem, 4.8vw, 5.6rem); }

.bio {
  display: grid;
  grid-template-columns: minmax(190px, 270px) minmax(0, 710px);
  gap: clamp(60px, 9vw, 150px);
  justify-content: center;
  width: 100%;
  margin: 180px auto 0;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .015em;
  line-height: 1.8;
}

.bio p {
  grid-column: 2;
  width: 100%;
  margin: 0;
  padding: 52px 0 64px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.bio strong { font-weight: 600; }

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 42px 0 58px;
  margin-top: 120px;
  border-top: 1px solid var(--ink);
  font-size: .67rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.site-footer p { margin: 0; }

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 28px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
}

.lightbox::backdrop { background: rgba(0, 0, 0, .86); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; }

.lightbox-close {
  justify-self: end;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: 500 .72rem var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lightbox-stage {
  display: grid;
  min-height: 0;
  place-items: center;
  padding: 20px;
}

.lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

@media (max-width: 900px) {
  .top-nav,
  .hero,
  .article-shell,
  .site-footer { width: min(100% - 36px, 1440px); }

  .top-nav { min-height: 92px; gap: 1.2rem; }
  .editorial-controls { gap: 1.25rem; }
  .hero { padding-top: 28px; }
  .work-caption { grid-template-columns: 1fr; gap: 2px; }
  .article-header { padding: 110px 0 90px; }
  h1 { font-size: clamp(3.7rem, 14vw, 6.5rem); }
  .dek { margin-top: 55px; padding-left: 24px; }
  .article-grid { display: contents; }
  .references { display: contents; }
  .article-body { font-size: 1.18rem; }
  .reference { width: min(100%, 520px); margin: 70px 0; }
  .reference--kosuth { order: 0; }
  .article-body { order: 1; }
  .reference--almaguer,
  .reference--detail { display: none; }
  .mobile-reference { display: block; }
  .pullquote,
  .pullquote--left,
  .pullquote--wide { margin: 5rem 0; }
  .bio {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 110px;
  }

  .bio p {
    grid-column: 1;
    padding: 40px 0 48px;
  }
}

@media (max-width: 680px) {
  .top-nav {
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    gap: .55rem;
    padding: 18px 0;
  }

  .editorial-controls {
    justify-content: space-between;
    width: 100%;
    gap: .8rem;
  }
}

@media (max-width: 560px) {
  .top-nav,
  .hero,
  .article-shell,
  .site-footer { width: min(100% - 28px, 1440px); }

  .top-nav { font-size: .62rem; }
  .hero { width: 100%; }
  .hero .work-caption { width: calc(100% - 28px); }
  .article-header { padding-top: 94px; }
  h1 { font-size: clamp(3.3rem, 16vw, 5rem); }
  .subtitle { margin-top: 30px; }
  .dek { padding-left: 18px; font-size: 1.42rem; }
  .article-body section { margin-top: 5rem; }
  .article-body h2 { font-size: 1.8rem; }
  .pullquote { font-size: 2.45rem; }
  .bio { font-size: 10px; }
  .site-footer { display: block; }
  .site-footer p { margin-top: 18px; }
  .lightbox { padding: 14px; }
  .lightbox-stage { padding: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
