:root {
  --ink: #0a0a0a;
  --paper: #f4f3ef;
  --white: #fff;
  --line: rgba(10,10,10,.22);
  --muted: #747474;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
body.rtl { direction: rtl; }
body.lightbox-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -4rem;
  background: #fff;
  color: #000;
  padding: .75rem 1rem;
}
.skip:focus { top: 1rem; }
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  color: #fff;
  mix-blend-mode: difference;
}
.brand {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 700;
  letter-spacing: -.06em;
}
nav { display: flex; align-items: center; gap: 1.6rem; }
nav a, nav button {
  color: inherit;
  background: none;
  border: 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
nav a { position: relative; }
nav a::after {
  content: "";
  position: absolute;
  height: 1px;
  left: 0;
  right: 100%;
  bottom: -.35rem;
  background: currentColor;
  transition: right .25s ease;
}
nav a:hover::after, nav a:focus-visible::after { right: 0; }
#language { border: 1px solid currentColor; padding: .35rem .48rem; }
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: #111;
  color: #fff;
}
.hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transform: scale(1.01);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.64) 0%, rgba(0,0,0,.13) 65%, rgba(0,0,0,.3) 100%);
}
.hero-copy {
  position: absolute;
  left: clamp(1.5rem, 6vw, 6rem);
  bottom: clamp(3rem, 9vh, 7rem);
}
.eyebrow, .project-number, .index, .meta, .contact-kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1 {
  margin: .4rem 0 .8rem;
  font-size: clamp(3rem, 6.2vw, 5.75rem);
  line-height: .78;
  letter-spacing: -.075em;
  font-weight: 700;
}
.hero-note { margin: 1.5rem 0 0; font-size: .9rem; letter-spacing: .08em; }
.scroll-cue {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
}
.scroll-cue span::before, .scroll-cue span::after {
  content: "";
  position: absolute;
  left: 22px;
  background: #fff;
}
.scroll-cue span::before { top: 13px; width: 1px; height: 20px; }
.scroll-cue span::after { width: 8px; height: 8px; top: 24px; transform: translateX(-3.5px) rotate(45deg); border: solid #fff; border-width: 0 1px 1px 0; background: transparent; }
.work, .singles, .about {
  padding: 7rem clamp(1.25rem, 5vw, 5rem);
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 3fr;
  align-items: baseline;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 6rem);
  line-height: .95;
  letter-spacing: -.05em;
}
.index { color: var(--muted); }
.project { padding: 8rem 0 3rem; }
.project-intro {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.4fr;
  gap: clamp(2rem, 8vw, 9rem);
  align-items: start;
  margin-bottom: 4rem;
}
.project h3 {
  max-width: 760px;
  margin: .9rem 0 1rem;
  font-size: clamp(2.5rem, 5.5vw, 5.8rem);
  line-height: .91;
  letter-spacing: -.055em;
}
.meta { max-width: 520px; color: var(--muted); line-height: 1.7; }
.statement { max-width: 680px; margin: 2.3rem 0 0; font-size: clamp(1.08rem, 1.5vw, 1.35rem); line-height: 1.65; }
.statement p { margin: 0 0 1.15em; }
.statement p:last-child { margin-bottom: 0; }
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 8px;
  gap: clamp(.55rem, 1.2vw, 1.1rem);
  align-items: start;
}
.gallery figure { margin: 0; overflow: hidden; background: transparent; }
.gallery img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  transition: transform .45s ease, filter .45s ease;
}
.gallery figure:hover img { transform: scale(1.018); }
.gallery figure.portrait-frame { background: #111; }
.gallery figure.portrait-frame img { object-fit: contain; }
.dark-project {
  margin-inline: calc(clamp(1.25rem, 5vw, 5rem) * -1);
  padding-inline: clamp(1.25rem, 5vw, 5rem);
  background: var(--ink);
  color: #fff;
}
.dark-project .meta, .dark-project .project-number { color: #aaa; }
.dark-project + .dark-project { padding-top: 7rem; }
.covid-project {
  margin-inline: calc(clamp(1.25rem, 5vw, 5rem) * -1);
  padding-inline: clamp(1.25rem, 5vw, 5rem);
  background: #d9d9d5;
}
.covid-project .gallery figure { background: #b9b9b5; }
.war {
  position: relative;
  min-height: 66vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.war-copy {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  padding: 5rem clamp(1.25rem, 5vw, 5rem);
}
.war-copy h2 { margin: .9rem 0 1.5rem; font-size: clamp(3.4rem, 8vw, 8rem); line-height: .87; letter-spacing: -.06em; }
.war-gallery { padding: 1rem clamp(1.25rem, 5vw, 5rem) 7rem; background: var(--ink); }
.war-statement {
  max-width: 820px;
  margin: 0 0 6rem auto;
  padding-top: 1rem;
  color: #e7e7e7;
  font-size: clamp(1.08rem, 1.45vw, 1.3rem);
  line-height: 1.78;
}
.war-statement p { margin: 0 0 1.3em; }
.rtl .war-statement { margin-left: 0; margin-right: auto; }
.war-gallery .gallery figure { background: #222; }
.singles { background: #fff; }
.singles-intro { max-width: 680px; margin: 3rem 0 4rem auto; font-size: 1.25rem; line-height: 1.65; }
.about { background: #d9d9d5; }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(3rem, 10vw, 10rem);
  padding-top: 5rem;
}
.about-lead { margin: 0; font-size: clamp(2.6rem, 5vw, 5.5rem); line-height: 1; letter-spacing: -.05em; }
.about-text { font-size: 1.12rem; line-height: 1.75; }
.about-text p:first-child { margin-top: 0; }
.contact { padding: 7rem clamp(1.25rem, 5vw, 5rem); background: var(--ink); color: #fff; }
.contact-kicker { margin: 4rem 0 1rem; color: #aaa; }
.contact-email {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(2rem, 6vw, 6.6rem);
  line-height: 1;
  letter-spacing: -.055em;
  border-bottom: 1px solid #777;
  overflow-wrap: anywhere;
}
.socials { display: flex; gap: 2rem; margin-top: 5rem; }
.socials a { border-bottom: 1px solid #777; padding-bottom: .35rem; }
.socials span { margin-left: .35rem; }
footer {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 5vw, 5rem);
  background: var(--ink);
  color: #888;
  border-top: 1px solid #333;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lightbox {
  position: fixed;
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0,0,0,.97);
  color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: #000; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox button { position: fixed; border: 0; background: rgba(0,0,0,.3); color: #fff; cursor: pointer; }
.lightbox-close { top: 1.2rem; right: 1.5rem; font-size: 2.2rem; width: 48px; height: 48px; z-index: 2; }
.lightbox-nav { top: 48%; width: 50px; height: 60px; font-size: 1.8rem; }
.lightbox-nav.prev { left: 1rem; }
.lightbox-nav.next { right: 1rem; }
.lightbox-count { position: fixed; bottom: 1rem; margin: 0; color: #aaa; font-size: .8rem; letter-spacing: .12em; }
body.rtl .section-heading, body.rtl .project-intro, body.rtl .about-grid { direction: rtl; }
body.rtl .singles-intro { margin-left: 0; margin-right: auto; }
body.rtl .hero-copy { left: auto; right: clamp(1.5rem, 6vw, 6rem); }
body.rtl .scroll-cue { right: auto; left: 2rem; }
body.rtl .socials span { margin-left: 0; margin-right: .35rem; }

@media (max-width: 760px) {
  .site-header { padding: 1rem 1.1rem; }
  nav { gap: .8rem; }
  nav a { display: none; }
  .hero { height: auto; min-height: 0; background: #111; }
  .hero > img {
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    transform: none;
  }
  .hero-shade { display: none; }
  .hero-copy {
    position: relative;
    left: auto;
    bottom: auto;
    padding: 1.9rem 1.25rem 4.25rem;
    background: #111;
  }
  .hero h1 { font-size: clamp(2.1rem, 9.2vw, 3rem); }
  .hero-note { margin-top: 1.2rem; }
  .scroll-cue { right: 1.25rem; bottom: 1.25rem; }
  body.rtl .hero-copy { left: auto; right: auto; }
  body.rtl .scroll-cue { right: auto; left: 1.25rem; }
  .section-heading, .project-intro, .about-grid { grid-template-columns: 1fr; }
  .section-heading { gap: 1rem; }
  .project { padding-top: 5.5rem; }
  .project-intro { gap: 1.5rem; margin-bottom: 2rem; }
  .statement { margin-top: .5rem; }
  .gallery { grid-template-columns: 1fr; }
  .war { min-height: 72vh; }
  .war-copy { padding-bottom: 3rem; }
  .singles-intro { margin-left: 0; }
  .about-grid { padding-top: 3rem; }
  .contact-email { font-size: 9vw; }
  .socials { flex-direction: column; align-items: flex-start; }
  footer { flex-direction: column; gap: .4rem; }
  .lightbox-nav { bottom: 1.2rem; top: auto; }
}

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