:root {
  color-scheme: dark;
  --bg: #000;
  --ink: #f3f3f3;
  --muted: rgba(255, 255, 255, 0.66);
  --dim: rgba(255, 255, 255, 0.34);
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.28);
  --panel: rgba(255, 255, 255, 0.035);
  --max: 1480px;
  --font: "Syncopate", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 16%, rgba(255, 255, 255, 0.07), transparent 22rem),
    radial-gradient(circle at 16% 78%, rgba(170, 0, 0, 0.1), transparent 20rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.88rem;
  line-height: 1.8;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 80%, transparent);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAElBMVEUAAAD8/vz08vT09PT8+vz///+Tb6O0AAAABXRSTlMAGhslHR8pJ6SZAAAAQklEQVQ4y2NgQAX8/PyMLAwMzBIQFgODEwOqgBSDM4QVrwATg4QDhKUAZTmAWAkQVgGElQBhJUBYCRBWAoSVAGElAGQbEUHpt5i4AAAAAElFTkSuQmCC");
  opacity: 0.045;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-200%);
  background: var(--ink);
  color: var(--bg);
  padding: 0.65rem 0.85rem;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.15rem 1.35rem 2.8rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.38), transparent);
  backdrop-filter: blur(12px);
}

.brand {
  display: grid;
  gap: 0.1rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.72rem;
  line-height: 1.35;
}

.brand span:last-child {
  color: var(--dim);
}

.site-nav,
.footer-links,
.home-actions,
.detail-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
}

.site-nav a,
.text-link,
.quiet-link,
.primary-link {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.text-link:hover,
.quiet-link:hover {
  color: var(--ink);
  border-color: currentColor;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 1rem;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

.primary-link:hover {
  border-color: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}

.home-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.home-hero-image,
.home-hero-image::after {
  position: absolute;
  inset: 0;
}

.home-hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 38% center;
  filter: grayscale(1) brightness(0.68) contrast(1.2);
  transform: scale(1.02);
}

.home-hero-image::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.38) 48%, rgba(0, 0, 0, 0.86)),
    linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.08) 48%, rgba(0, 0, 0, 0.86) 100%);
}

.home-hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, var(--max));
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 8.5rem 1.35rem 6.5rem;
}

.identity {
  width: min(100%, 68rem);
}

.artist-name,
.section-label,
.tile-meta,
.tile-footer,
.detail-kicker,
.project-meta dt,
.eyebrow {
  color: var(--dim);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.artist-name {
  margin: 0 0 0 0.12rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  line-height: 1.35;
}

.identity h1,
.section-heading h2,
.site-footer h2,
.detail-title,
.collection-card h3,
.tile-title {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.02;
}

.identity h1 {
  margin-top: 1rem;
  max-width: 12ch;
  font-size: 5.8rem;
}

.tagline {
  margin: 1rem 0 0;
  max-width: 44rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.7;
}

.home-actions {
  margin-top: 2.3rem;
}

.work-overview,
.more-section,
.site-footer,
.project-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 7rem 1.35rem;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.2rem;
}

.section-heading h2,
.site-footer h2 {
  font-size: 2.25rem;
}

.work-grid {
  display: grid;
  gap: 1.15rem;
}

.work-tile {
  --accent: #fff;
  min-height: 30rem;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(23rem, 0.55fr);
  gap: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.028);
  overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease, transform 220ms ease;
}

.work-tile:nth-child(even) {
  grid-template-columns: minmax(23rem, 0.55fr) minmax(0, 0.95fr);
}

.work-tile:nth-child(even) .tile-image {
  order: 2;
}

.work-tile:hover {
  border-color: color-mix(in srgb, var(--accent), white 34%);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-2px);
}

.tile-image {
  position: relative;
  min-height: 30rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #050505;
  border-right: 1px solid var(--line);
}

.work-tile:nth-child(even) .tile-image {
  border-right: 0;
  border-left: 1px solid var(--line);
}

.tile-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: grayscale(0.78) brightness(0.84) contrast(1.08);
  transition: filter 260ms ease, transform 650ms ease;
}

.work-tile:hover .tile-image img {
  filter: grayscale(0.1) brightness(0.98) contrast(1.02);
  transform: scale(1.012);
}

.tile-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem;
}

.tile-meta,
.tile-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.tile-meta span:last-child,
.tile-footer span:first-child {
  color: var(--muted);
}

.tile-title {
  color: #f7f7f7;
  text-decoration: none;
  font-size: 2.75rem;
  overflow-wrap: anywhere;
}

.tile-summary {
  margin: 0;
  max-width: 48rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.9;
}

.tile-footer span:last-child {
  color: color-mix(in srgb, var(--accent), white 38%);
}

.more-section {
  border-top: 1px solid var(--line);
}

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

.collection-card {
  min-height: 16rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.collection-card h3 {
  margin-bottom: 2rem;
  font-size: 1.35rem;
}

.collection-links {
  display: grid;
  gap: 0.8rem;
}

.collection-links a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.collection-links a:hover {
  color: var(--ink);
  border-color: currentColor;
  transform: translateX(0.25rem);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 36rem);
  gap: 3rem;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-bottom: 3rem;
}

.footer-links {
  justify-content: flex-end;
}

.project-page {
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.052), transparent 26rem),
    var(--bg);
}

.project-shell {
  padding-top: 8rem;
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(24rem, 0.55fr);
  gap: 1rem;
  min-height: 42rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.detail-media {
  position: sticky;
  top: 5rem;
  height: calc(100svh - 7rem);
  min-height: 34rem;
  display: grid;
  overflow: hidden;
  background: #050505;
  border: 1px solid var(--line);
}

.detail-media.image-count-2 {
  grid-template-rows: 1fr 1fr;
}

.detail-media.image-count-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1px;
}

.detail-media figure {
  margin: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #050505;
}

.detail-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: saturate(0.86) contrast(1.03);
}

.project-the-light-that-remains .detail-media img,
.project-waves .detail-media img,
.project-gearbox .detail-media img,
.project-eyes .detail-media img {
  object-fit: cover;
}

.detail-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.3rem 0 0 1.5rem;
}

.detail-kicker {
  color: color-mix(in srgb, var(--accent), var(--dim) 28%);
}

.detail-title {
  margin-top: 1rem;
  font-size: 3.35rem;
  overflow-wrap: anywhere;
}

.detail-subtitle {
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.8;
}

.detail-summary,
.detail-text {
  max-width: 48rem;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  line-height: 1.9;
}

.detail-text {
  margin-top: 1rem;
  color: var(--muted);
}

.project-meta {
  display: grid;
  gap: 0.8rem;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.meta-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: baseline;
}

.project-meta dt,
.project-meta dd {
  margin: 0;
}

.project-meta dd {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.detail-actions {
  margin-top: 2rem;
}

.detail-actions .text-link {
  color: #fff;
  font-weight: 700;
  border-color: color-mix(in srgb, var(--accent), white 36%);
}

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

.project-nav a {
  min-height: 10rem;
  display: grid;
  align-content: end;
  gap: 0.6rem;
  padding: 1rem;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 180ms ease, transform 180ms ease;
}

.project-nav a:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

@media (max-width: 1120px) {
  .identity h1 {
    font-size: 4.4rem;
  }

  .work-tile,
  .work-tile:nth-child(even),
  .project-hero {
    grid-template-columns: 1fr;
  }

  .work-tile:nth-child(even) .tile-image {
    order: 0;
    border-left: 0;
  }

  .tile-image,
  .work-tile:nth-child(even) .tile-image {
    min-height: 26rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail-media {
    position: relative;
    top: auto;
    height: 38rem;
  }

  .detail-copy {
    padding-left: 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 0.78rem;
  }

  .site-header {
    display: grid;
    gap: 0.8rem;
    padding: 0.9rem 1rem 2rem;
  }

  .site-nav {
    gap: 0.8rem;
  }

  .home-hero-content {
    padding: 8rem 1rem 4.5rem;
  }

  .identity h1 {
    font-size: 2.75rem;
    max-width: 9ch;
  }

  .artist-name {
    font-size: 0.82rem;
  }

  .tagline {
    max-width: 20rem;
    font-size: 0.82rem;
  }

  .work-overview,
  .more-section,
  .site-footer,
  .project-shell {
    padding: 4.6rem 1rem;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2,
  .site-footer h2 {
    font-size: 1.55rem;
  }

  .work-tile {
    min-height: 0;
  }

  .tile-image {
    min-height: 18rem;
  }

  .tile-title {
    font-size: 1.65rem;
  }

  .tile-body {
    padding: 1rem;
  }

  .collection-grid,
  .project-nav,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .collection-card {
    min-height: 12rem;
  }

  .project-shell {
    padding-top: 7rem;
  }

  .project-hero {
    min-height: 0;
  }

  .detail-media {
    order: 2;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .detail-copy {
    order: 1;
    width: 100%;
  }

  .detail-media.image-count-4 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, minmax(12rem, 1fr));
    aspect-ratio: auto;
  }

  .detail-title {
    font-size: 2rem;
  }

  .detail-subtitle,
  .detail-kicker,
  .detail-summary,
  .detail-text,
  .project-meta dd {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .meta-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (max-width: 460px) {
  .identity h1 {
    font-size: 2.35rem;
  }

  .home-hero-image img {
    object-position: 34% center;
  }

  .home-actions {
    display: grid;
    align-items: start;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
