@charset "UTF-8";

:root {
  --paper: #f2eee6;
  --paper-deep: #e8e2d7;
  --ink: #26231f;
  --muted: #69645b;
  --line: #b8b0a2;
  --accent: #a5452d;
  --display: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  --gutter: clamp(1.25rem, 4.5vw, 5.75rem);
  --wide: 1440px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 280px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  content: "";
  opacity: .14;
  background-image: repeating-linear-gradient(90deg, transparent 0 3px, rgba(69, 52, 34, .035) 3px 4px);
  mix-blend-mode: multiply;
}

::selection {
  color: var(--paper);
  background: var(--accent);
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

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

.site-header,
main,
.site-footer {
  width: min(100%, var(--wide));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.7rem var(--gutter) 1.25rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
}

.brand__symbol {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
}

.brand__text {
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .12em;
}

.site-header__edition,
.section-kicker,
.index-hero__eyebrow,
.section-heading > span,
.artist-card__number,
.work__index,
.artist-portrait__caption,
.site-footer {
  font-size: .68rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.site-header__edition {
  margin-left: auto;
  margin-top: .45rem;
  color: var(--muted);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: .42rem;
  flex: none;
  margin-top: .26rem;
  padding: .2rem 0 .2rem 1.15rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  white-space: nowrap;
}

.lang-switch a {
  text-decoration: none;
  transition: color .2s ease;
}

.lang-switch a:hover,
.lang-switch__current {
  color: var(--accent);
}

.index-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, .43fr);
  min-height: min(70vw, 710px);
  padding: clamp(3.25rem, 8vw, 8rem) var(--gutter) 3rem;
  overflow: hidden;
}

.index-hero__eyebrow {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: .85rem;
  align-self: start;
  color: var(--accent);
}

.rule {
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  background: currentColor;
}

.index-hero h1,
.artist-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.07em;
  line-height: .85;
}

.index-hero h1 {
  grid-column: 1 / -1;
  align-self: center;
  max-width: 11ch;
  font-size: clamp(5rem, 12vw, 12.75rem);
}

.index-hero h1 em {
  color: var(--accent);
  font-weight: 400;
}

.index-hero__lead {
  position: relative;
  z-index: 1;
  grid-column: 2;
  align-self: end;
  max-width: 18rem;
  margin: 0 0 1rem;
  font-size: clamp(.95rem, 1.25vw, 1.2rem);
  line-height: 1.55;
}

.index-hero__orbit {
  position: absolute;
  top: 12%;
  right: -6%;
  display: grid;
  place-items: center;
  width: clamp(17rem, 36vw, 33rem);
  aspect-ratio: 1;
  border: 1px solid rgba(165, 69, 45, .42);
  border-radius: 50%;
  color: rgba(165, 69, 45, .13);
  transform: rotate(-14deg);
}

.index-hero__orbit::before,
.index-hero__orbit::after {
  position: absolute;
  inset: 6%;
  border: 1px solid rgba(165, 69, 45, .17);
  border-radius: 50%;
  content: "";
}

.index-hero__orbit::after {
  inset: 15%;
}

.index-hero__orbit span {
  font-family: var(--display);
  font-size: clamp(13rem, 31vw, 29rem);
  line-height: 1;
}

.index-collection,
.works {
  padding: 3rem var(--gutter) 7rem;
  background: var(--paper-deep);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: end;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--ink);
}

.section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1;
}

.section-heading > span:last-child {
  justify-self: end;
  color: var(--muted);
}

.artist-list {
  border-bottom: 1px solid var(--line);
}

.artist-card {
  display: grid;
  grid-template-columns: 1fr 5fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 8.5rem;
  padding: 1.3rem .35rem;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: padding .3s ease, background-color .3s ease;
}

.artist-card:first-child {
  border-top: none;
}

.artist-card:hover,
.artist-card:focus-visible {
  padding-inline: 1.2rem;
  background: rgba(255, 255, 255, .32);
}

.artist-card__number {
  align-self: start;
  margin-top: .55rem;
  color: var(--accent);
}

.artist-card__content {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
}

.artist-card__name {
  font-family: var(--display);
  font-size: clamp(2.25rem, 4.3vw, 4.5rem);
  letter-spacing: -.04em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.artist-card__subtitle {
  max-width: 13rem;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.4;
}

.artist-card__arrow {
  align-self: center;
  color: var(--accent);
  font-family: var(--display);
  font-size: 2.5rem;
  line-height: 1;
  transition: transform .3s ease;
}

.artist-card:hover .artist-card__arrow {
  transform: translate(4px, -4px);
}

.empty-note {
  margin: 4rem 0 1rem;
  color: var(--muted);
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem var(--gutter) 2.5rem;
  color: var(--muted);
}

.breadcrumb {
  display: flex;
  gap: .65rem;
  padding: 1.5rem var(--gutter);
  color: var(--muted);
  font-size: .74rem;
  letter-spacing: .04em;
}

.breadcrumb a {
  text-underline-offset: .2em;
}

.breadcrumb span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artist-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  min-height: clamp(30rem, 60vw, 48rem);
  padding: 1rem var(--gutter) 7rem;
}

.artist-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(3rem, 8vw, 8rem) 1rem 0 0;
}

.section-kicker {
  color: var(--accent);
}

.artist-hero h1 {
  max-width: 9ch;
  margin-top: 2.4rem;
  margin-right: -20%;
  font-size: clamp(4.5rem, 8.6vw, 9.5rem);
  overflow-wrap: anywhere;
}

.artist-hero--long h1 {
  width: 100%;
  max-width: none;
  margin-right: 0;
  font-size: clamp(3.4rem, 5vw, 5rem);
  overflow-wrap: break-word;
  hyphens: auto;
}

.artist-hero__subtitle {
  max-width: 24rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  line-height: 1.5;
}

.artist-hero__line {
  width: min(55%, 15rem);
  height: 1px;
  margin-top: auto;
  background: var(--accent);
}

.artist-portrait {
  position: relative;
  align-self: stretch;
  min-height: 27rem;
  overflow: hidden;
  background: #c9b9a3;
}

.artist-portrait::before {
  position: absolute;
  inset: 1rem;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .5);
  pointer-events: none;
  content: "";
}

.artist-portrait__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78);
}

.artist-portrait__letter {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: rgba(86, 51, 30, .66);
  background: radial-gradient(circle at 70% 25%, rgba(255, 255, 255, .34), transparent 43%), linear-gradient(135deg, #d8cbbc, #b6a38c);
  font-family: var(--display);
  font-size: clamp(15rem, 32vw, 33rem);
  font-style: italic;
  line-height: 1;
  transform: rotate(-8deg);
}

.artist-portrait__caption {
  position: absolute;
  z-index: 2;
  right: 2rem;
  bottom: 2rem;
  color: var(--ink);
  writing-mode: vertical-rl;
}

.biography {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding: 5.5rem var(--gutter) 8rem;
  border-top: 1px solid var(--line);
}

.biography h2 {
  margin: -.25rem 0 2rem;
  font-family: var(--display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1;
}

.biography__text {
  max-width: 46rem;
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.7vw, 1.65rem);
  line-height: 1.63;
}

.biography__text p {
  margin: 0 0 1.35em;
}

.biography__text p:first-child::first-letter {
  float: left;
  margin: .05em .1em -.1em 0;
  color: var(--accent);
  font-size: 3.2em;
  line-height: .8;
}

.works {
  padding-top: 4.5rem;
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 7vw, 7rem) clamp(2rem, 6vw, 6rem);
  padding-top: 4rem;
}

.work:nth-child(even) {
  margin-top: 6rem;
}

.work__visual {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d9d0c3;
}

.work__visual img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.work__visual > .work__gallery-link {
  width: 100%;
  height: 100%;
}

.work__visual--gallery {
  display: block;
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
}

.work__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
}

.work__gallery-link {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d9d0c3;
  transition: filter .2s ease;
}

.work__gallery-link:hover {
  filter: brightness(.92);
}

.work__gallery:not(.work__gallery--two) .work__gallery-link:first-child {
  grid-column: 1 / -1;
}

.work__gallery-hint {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .65rem;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.work__gallery-swipe {
  display: none;
}

.work__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(38, 35, 31, .14);
  color: rgba(38, 35, 31, .23);
  background: repeating-linear-gradient(120deg, transparent 0 35px, rgba(255, 255, 255, .14) 35px 36px);
  font-family: var(--display);
  font-size: clamp(4.5rem, 8vw, 9rem);
  font-style: italic;
  letter-spacing: -.08em;
  overflow-wrap: anywhere;
}

.work__details {
  padding: 1.5rem 0 0;
}

.work__index {
  color: var(--accent);
}

.work h3 {
  margin: .7rem 0 .45rem;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.work__meta {
  margin: .65rem 0 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
}

.work__description {
  max-width: 38rem;
  margin: 1.5rem 0 0;
  font-family: var(--display);
  font-size: 1.13rem;
  line-height: 1.55;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin: 5rem var(--gutter) 6rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.back-link span {
  font-family: var(--display);
  font-size: 1.8rem;
  line-height: .5;
}

@media (max-width: 900px) {
  .index-hero {
    min-height: 42rem;
  }

  .index-hero h1 {
    font-size: clamp(5.5rem, 13vw, 9rem);
  }

  .artist-hero h1 {
    font-size: clamp(4.6rem, 9vw, 7rem);
  }

  .artist-hero--long h1 {
    font-size: clamp(3.25rem, 6vw, 4.5rem);
  }

  .artist-card__content {
    display: block;
  }

  .artist-card__subtitle {
    display: block;
    margin-top: .75rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-top: 1.1rem;
  }

  .site-header__edition {
    display: none;
  }

  .lang-switch {
    margin-left: auto;
  }

  .index-hero {
    display: flex;
    flex-direction: column;
    min-height: 36rem;
    padding-block: 3rem 3.5rem;
  }

  .index-hero h1 {
    margin-top: auto;
    font-size: clamp(4.5rem, 17vw, 7rem);
  }

  .index-hero__lead {
    max-width: 14rem;
    margin: 2.25rem 0 0 auto;
  }

  .index-hero__orbit {
    top: 15%;
    right: -40%;
    width: 85vw;
  }

  .index-collection,
  .works {
    padding-block: 2.5rem 4rem;
  }

  .section-heading {
    grid-template-columns: 1fr auto;
    row-gap: 1rem;
  }

  .section-heading h2 {
    grid-column: 1;
    grid-row: 2;
  }

  .section-heading > span:last-child {
    grid-column: 2;
    grid-row: 2;
  }

  .artist-card {
    grid-template-columns: 2.2rem minmax(0, 1fr) auto;
    min-height: 7.5rem;
    gap: .65rem;
  }

  .artist-card__name {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .artist-card__arrow {
    font-size: 1.8rem;
  }

  .site-footer {
    display: block;
    line-height: 1.9;
  }

  .site-footer span {
    display: block;
  }

  .artist-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-bottom: 4rem;
  }

  .artist-hero__copy {
    padding: 2rem 0 3rem;
  }

  .artist-hero h1 {
    max-width: 10ch;
    margin: 1.25rem 0 0;
    font-size: clamp(4rem, 15vw, 6.25rem);
  }

  .artist-hero--long h1 {
    max-width: none;
    font-size: clamp(2.8rem, 10vw, 3.75rem);
  }

  .artist-hero__subtitle {
    margin-top: 1.3rem;
  }

  .artist-hero__line {
    margin-top: 2rem;
  }

  .artist-portrait {
    min-height: 0;
    height: min(95vw, 28rem);
  }

  .artist-portrait__letter {
    font-size: 65vw;
  }

  .biography {
    display: block;
    padding-block: 3.5rem 4.5rem;
  }

  .biography h2 {
    margin-top: 1.5rem;
  }

  .works__grid {
    display: block;
    padding-top: 2.5rem;
  }

  .work,
  .work:nth-child(even) {
    margin: 0 0 3.5rem;
  }

  .work__gallery {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(78%, 15rem);
    grid-template-columns: none;
    gap: .5rem;
    padding-bottom: .5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .work__gallery-link,
  .work__gallery:not(.work__gallery--two) .work__gallery-link:first-child {
    grid-column: auto;
    scroll-snap-align: start;
  }

  .work__gallery-swipe {
    display: inline;
  }

  .back-link {
    margin-block: 3rem 4rem;
  }
}

@media (max-width: 900px) and (orientation: landscape) and (max-height: 560px) {
  .site-header {
    padding-block: .8rem;
  }

  .index-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: max(24rem, 100vh);
    padding-block: 2rem;
  }

  .index-hero h1 {
    grid-column: 1 / -1;
    font-size: clamp(4.3rem, 10vw, 6.8rem);
  }

  .index-hero__lead {
    grid-column: 2;
    margin: 0;
  }

  .index-hero__orbit {
    top: -10%;
    right: -7%;
    width: 35vw;
  }

  .artist-hero {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 1rem;
    padding-block: 1rem 3rem;
  }

  .artist-hero__copy {
    padding-block: 1rem;
  }

  .artist-hero h1 {
    margin-top: 1rem;
    font-size: clamp(3.5rem, 8vw, 5.5rem);
  }

  .artist-hero--long h1 {
    font-size: clamp(2.9rem, 6vw, 4rem);
  }

  .artist-portrait {
    height: min(80vh, 29rem);
    min-height: 0;
  }

  .artist-portrait__letter {
    font-size: 27vw;
  }

  .biography {
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding-block: 3rem 4rem;
  }

  .works__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

  .work:nth-child(even) {
    margin-top: 2rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
