:root {
  --ink: #151713;
  --paper: #f2f0e9;
  --paper-deep: #e7e4dd;
  --line: rgba(21, 23, 19, 0.18);
  --muted: #6e706b;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Assistant", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

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

body[dir="rtl"] {
  font-family: "Assistant", Arial, sans-serif;
}

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

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

button {
  color: inherit;
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 88px;
  padding: 0 4vw;
  color: #fff;
  transition:
    color 300ms ease,
    background 300ms ease,
    height 300ms ease;
}

.site-header.scrolled {
  height: 68px;
  color: var(--ink);
  background: rgba(242, 240, 233, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  position: relative;
  display: block;
  width: 34px;
  aspect-ratio: 572 / 710;
  justify-self: start;
}

.brand-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 450ms ease;
}

.brand-logo-white {
  opacity: 1;
}

.brand-logo-black {
  opacity: 0;
}

.site-header.scrolled .brand-logo-white {
  opacity: 0;
}

.site-header.scrolled .brand-logo-black {
  opacity: 1;
}

.header-nav {
  display: flex;
  gap: 32px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.header-nav a {
  position: relative;
}

.header-nav a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transition: transform 200ms ease;
}

.header-nav a:hover::after {
  transform: scaleX(1);
}

.language-switch {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.language-switch button {
  padding: 5px 0;
  opacity: 0.5;
  background: none;
  border: 0;
  cursor: pointer;
}

.language-switch button.active {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #252d31;
}

.hero picture,
.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture {
  display: block;
}

.hero-image {
  object-fit: cover;
  object-position: 50% 45%;
  animation: hero-in 1400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(5, 9, 11, 0.42) 0%, transparent 38%),
    linear-gradient(0deg, rgba(5, 9, 11, 0.54) 0%, transparent 48%);
}

.hero-content {
  position: absolute;
  right: 4vw;
  bottom: 8.5vh;
  left: 4vw;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1000px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(76px, 13vw, 190px);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.065em;
}

.artist-name {
  margin: 28px 0 0;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.scroll-cue {
  position: absolute;
  right: 4vw;
  bottom: 8.5vh;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

body[dir="rtl"] .scroll-cue {
  right: auto;
  left: 4vw;
}

.section-shell {
  display: grid;
  grid-template-columns: 7vw minmax(230px, 0.75fr) minmax(320px, 1.25fr);
  gap: 4vw;
  max-width: 1500px;
  margin: 0 auto;
  padding: 150px 4vw;
}

.section-index {
  padding-top: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.section-heading h2,
.artist-info h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 6.5vw, 98px);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: -0.055em;
}

.prose {
  max-width: 670px;
}

.prose p {
  margin: 0 0 1.45em;
  font-family: var(--serif);
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.58;
}

body[dir="rtl"] .prose p {
  font-family: "Assistant", Arial, sans-serif;
  font-size: clamp(19px, 1.55vw, 25px);
  line-height: 1.72;
}

.prose .work-details {
  margin-top: 3em;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.work-details:empty {
  display: none;
}

.wide-image {
  height: min(72vw, 900px);
  margin: 0;
  overflow: hidden;
}

.wide-image img {
  height: 100%;
  object-fit: cover;
}

.work-detail {
  padding-top: 130px;
  padding-bottom: 130px;
}

.detail-title {
  grid-column: 1 / 3;
  padding-right: 5vw;
}

body[dir="rtl"] .detail-title {
  padding-right: 0;
  padding-left: 5vw;
}

.pull-quote {
  max-width: 570px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 68px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

body[dir="rtl"] .pull-quote {
  font-family: "Assistant", Arial, sans-serif;
  font-weight: 300;
}

.work-still {
  padding: 0 12px 12px;
}

.work-still figure {
  height: min(62vw, 920px);
  margin: 0;
  overflow: hidden;
}

.work-still picture,
.work-still img {
  display: block;
  width: 100%;
  height: 100%;
}

.work-still img {
  object-fit: cover;
}

.section-transition {
  position: relative;
  min-height: clamp(75px, 8vw, 115px);
  background: var(--paper);
}

.artist-section {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 100vh;
  background: var(--paper-deep);
}

.artist-image {
  min-height: 820px;
}

.artist-image img {
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  transition: none;
}

.artist-image:hover img {
  transform: none;
}

.artist-info {
  position: relative;
  padding: 120px 7vw 100px;
}

.artist-info .section-index {
  position: absolute;
  top: 125px;
  right: 4vw;
}

body[dir="rtl"] .artist-info .section-index {
  right: auto;
  left: 4vw;
}

.artist-info h2 {
  margin-bottom: 60px;
}

.artist-info .prose p {
  font-size: clamp(17px, 1.25vw, 20px);
}

.artist-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.artist-contact a {
  transition: opacity 180ms ease;
}

.artist-contact a:hover {
  opacity: 0.55;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.instagram-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.instagram-link .instagram-dot {
  fill: currentColor;
  stroke: none;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  min-height: 250px;
  padding: 55px 4vw;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

footer p:last-child {
  justify-self: end;
}

.footer-mark {
  width: 44px;
}

.footer-mark img {
  width: 100%;
  height: auto;
}

.footer-contact {
  display: none;
}

.image-reveal {
  background: #c8c7c1;
}

.image-reveal img {
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.image-reveal:hover img {
  transform: scale(1.018);
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 70px;
    padding: 0 20px;
  }

  .site-header.scrolled {
    height: 60px;
  }

  .brand {
    width: 27px;
  }

  .header-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-image {
    object-position: center;
  }

  .hero-content {
    right: 20px;
    bottom: 52px;
    left: 20px;
  }

  .hero h1 {
    font-size: clamp(66px, 22vw, 104px);
    line-height: 0.82;
  }

  .scroll-cue {
    display: none;
  }

  .section-shell {
    display: block;
    padding: 85px 22px;
  }

  .section-index {
    margin-bottom: 45px;
  }

  .section-heading {
    margin-bottom: 52px;
  }

  .section-heading h2,
  .artist-info h2 {
    font-size: clamp(52px, 17vw, 76px);
  }

  .prose p {
    font-size: 19px;
    line-height: 1.58;
  }

  .wide-image {
    height: 72svh;
  }

  .wide-image img {
    object-position: center;
  }

  .work-detail {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .detail-title {
    margin-bottom: 65px;
    padding: 0;
  }

  .pull-quote {
    font-size: 42px;
  }

  .work-still {
    padding: 0;
  }

  .work-still figure {
    height: min(118vw, 620px);
    max-height: none;
  }

  .work-still img {
    object-position: center 55%;
  }

  .section-transition {
    min-height: 70px;
  }

  .artist-section {
    display: flex;
    flex-direction: column;
  }

  .artist-info {
    order: 1;
  }

  .artist-image {
    order: 2;
  }

  .artist-image {
    min-height: 0;
    height: 68svh;
  }

  .artist-image img {
    object-position: 72% center;
  }

  .artist-info {
    padding: 85px 22px 70px;
  }

  .artist-info .section-index {
    position: static;
    margin-bottom: 50px;
  }

  .artist-info h2 {
    margin-bottom: 50px;
  }

  .artist-info .prose p {
    font-size: 18px;
  }

  .artist-contact {
    display: none;
  }

  footer {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    min-height: 260px;
    padding: 45px 22px;
  }

  footer > p:first-of-type {
    display: none;
  }

  footer > p:last-of-type {
    justify-self: end;
    text-align: right;
  }

  .footer-contact {
    display: flex;
    grid-column: 2;
    justify-self: end;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    margin-top: 18px;
    text-align: right;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.02em;
  }

  body[dir="rtl"] .footer-contact {
    align-items: flex-start;
    justify-self: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-image {
    animation: none;
  }

  .image-reveal img {
    transition: none;
  }
}
