@font-face {
  font-family: "Formular";
  src: url("/Assets/Fonts/Formular-Light.woff") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

:root {
  --ink: #080809;
  --paper: #f3f0e8;
  --paper-shadow: #ded8cd;
  --purple: #752eff;
  --purple-light: #aa82ff;
  --display: "Barlow Condensed", "Bebas Neue", Impact, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--purple) var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: #fff;
  background: var(--ink);
  font-family: var(--body);
}

body.viewer-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.page-grain {
  position: fixed;
  inset: -80%;
  z-index: 100;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  animation: grain .3s steps(2) infinite;
  mix-blend-mode: soft-light;
}

@keyframes grain {
  0% { transform: translate3d(-2%, 1%, 0); }
  33% { transform: translate3d(2%, -2%, 0); }
  66% { transform: translate3d(1%, 2%, 0); }
  100% { transform: translate3d(-2%, -1%, 0); }
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 15px clamp(22px, 4.5vw, 72px);
  background: linear-gradient(180deg, rgba(0,0,0,.72), transparent);
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 34px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
}

.site-nav a {
  position: relative;
  color: rgba(255,255,255,.68);
  font-family: "Rajdhani", sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.portfolio-float-switch {
  position: fixed;
  left: clamp(18px, 2vw, 32px);
  bottom: clamp(18px, 2vw, 32px);
  z-index: 90;
  display: flex;
  width: clamp(78px, 6.3vw, 96px);
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  background: var(--purple);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 7px 7px 0 var(--ink);
  font-family: "Rajdhani", sans-serif;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.portfolio-float-switch span {
  font-family: var(--display);
  font-size: clamp(2rem, 2.5vw, 2.55rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.04em;
}

.portfolio-float-switch small {
  margin-top: 3px;
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.portfolio-float-switch:hover,
.portfolio-float-switch:focus-visible {
  color: var(--purple-light);
  background: var(--ink);
  box-shadow: 7px 7px 0 var(--purple);
}

.portfolio-float-switch:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}

.site-nav__home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-nav__home svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.gallery-masthead {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(520px, 1.18fr);
  grid-template-rows: 1fr auto;
  min-height: clamp(520px, 68svh, 720px);
  padding-top: 76px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 42%, rgba(117,46,255,.42), transparent 32%),
    linear-gradient(110deg, #070708 0 39%, #160829 69%, #09080b 100%);
}

.gallery-masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .32;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.45) 0 1px, transparent 1.2px);
  background-size: 9px 9px;
  mask-image: linear-gradient(90deg, transparent, #000 56%, transparent 94%);
}

.gallery-masthead__copy {
  z-index: 3;
  align-self: center;
  padding: 58px 24px 44px clamp(28px, 7vw, 118px);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 19px;
  color: rgba(255,255,255,.62);
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(.68rem, .8vw, .8rem);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.section-kicker span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 26px;
  color: #fff;
  background: var(--purple);
}

.gallery-masthead h1 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(5.6rem, 11vw, 11.5rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .76;
  text-transform: uppercase;
}

.gallery-masthead h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px #fff;
}

.gallery-masthead__copy > p:last-child {
  max-width: 500px;
  margin: 35px 0 0;
  color: rgba(255,255,255,.65);
  font-family: "Formular", var(--body);
  font-size: clamp(.92rem, 1.2vw, 1.08rem);
  line-height: 1.75;
}

.gallery-masthead__art {
  position: relative;
  align-self: stretch;
  min-width: 0;
}

.gallery-masthead__art::before {
  content: "";
  position: absolute;
  top: 8%;
  right: -2%;
  bottom: 3%;
  left: 4%;
  background: linear-gradient(145deg, rgba(117,46,255,.82), rgba(45,14,85,.34));
  border: 1px solid rgba(255,255,255,.23);
  clip-path: polygon(5% 0, 100% 5%, 95% 100%, 0 93%);
  transform: rotate(-1deg);
}

.gallery-masthead__art img {
  position: absolute;
  right: -8%;
  bottom: -4%;
  width: 116%;
  height: 104%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 30px 35px rgba(0,0,0,.52));
}

.gallery-masthead__art > span {
  position: absolute;
  top: 20%;
  right: 4%;
  color: rgba(255,255,255,.66);
  font-family: sans-serif;
  font-size: .74rem;
  letter-spacing: .3em;
  writing-mode: vertical-rl;
}

.gallery-page--3d .gallery-masthead__art img {
  right: -3%;
  width: 108%;
  height: 98%;
}

.gallery-page--3d .art-card:nth-of-type(1) .art-card__media img,
.gallery-page--3d .art-card:nth-of-type(3) .art-card__media img,
.gallery-page--3d .art-card:nth-of-type(4) .art-card__media img {
  object-position: center;
}

.gallery-page--3d .art-card:nth-of-type(2) .art-card__media img {
  object-position: 58% center;
}

.gallery-page--3d .art-card:nth-of-type(5) .art-card__media img {
  object-position: center top;
}

.gallery-page--3d .art-card:nth-of-type(6) .art-card__media img {
  object-position: center 42%;
}

.gallery-masthead__meta {
  position: relative;
  z-index: 4;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 48px;
  padding: 10px clamp(28px, 7vw, 118px);
  color: rgba(255,255,255,.5);
  background: rgba(0,0,0,.64);
  border-top: 1px solid rgba(255,255,255,.14);
  font-family: "Rajdhani", sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.gallery-masthead__meta i {
  width: 6px;
  height: 6px;
  background: var(--purple);
  transform: rotate(45deg);
}

.archive {
  position: relative;
  min-height: 100vh;
  padding: clamp(72px, 7vw, 108px) clamp(18px, 4.8vw, 76px) clamp(90px, 9vw, 140px);
  color: #111113;
  background:
    radial-gradient(circle at 14% 8%, rgba(117,46,255,.12), transparent 23%),
    linear-gradient(150deg, #f7f4ed 0%, #e8e2d7 100%);
}

.archive::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .11;
  pointer-events: none;
  background-image: radial-gradient(circle, #17121a 0 1px, transparent 1.2px);
  background-size: 9px 9px;
  mask-image: linear-gradient(135deg, #000, transparent 44%);
}

.archive__header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .44fr);
  align-items: end;
  gap: 42px;
  max-width: 1500px;
  margin: 0 auto 34px;
}

.archive .section-kicker {
  color: #5d5561;
}

.archive__header h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.6rem, 6.8vw, 7.4rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .82;
  text-transform: uppercase;
}

.archive__header h2 span {
  color: var(--purple);
}

.archive__intro {
  max-width: 390px;
  margin: 0 0 4px;
  color: #5a525d;
  font-family: "Formular", var(--body);
  font-size: clamp(.9rem, 1.1vw, 1.02rem);
  line-height: 1.7;
}

.filter-bar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1500px;
  margin: 0 auto 22px;
  padding: 11px 13px;
  color: #fff;
  background: rgba(15,15,17,.96);
  border-left: 6px solid var(--purple);
  box-shadow: 0 12px 24px rgba(0,0,0,.16);
  backdrop-filter: blur(10px);
}

.filter-bar__label {
  flex: 0 0 auto;
  padding: 0 7px;
  color: rgba(255,255,255,.45);
  font-family: "Rajdhani", sans-serif;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.filter-bar__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-button {
  padding: 8px 12px;
  color: rgba(255,255,255,.66);
  background: transparent;
  border: 1px solid rgba(255,255,255,.14);
  font-family: "Rajdhani", sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.filter-button span {
  margin-left: 5px;
  opacity: .55;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  color: #fff;
  background: var(--purple);
  border-color: var(--purple-light);
}

.filter-status {
  margin: 0 0 0 auto;
  color: rgba(255,255,255,.42);
  font-family: "Rajdhani", sans-serif;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.art-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 22px);
  max-width: 1500px;
  margin: 0 auto;
}

.art-card {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 808 / 632;
  color: inherit;
  text-align: left;
  text-decoration: none;
  background: #111113;
  border: 0;
  box-shadow: 7px 8px 0 rgba(26,22,29,.14);
  cursor: pointer;
  isolation: isolate;
  clip-path: polygon(0 0, calc(100% - 17px) 0, 100% 17px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.art-card--feature,
.art-card--third,
.art-card--poster,
.art-card--wide {
  aspect-ratio: 808 / 632;
}

.art-card[hidden] {
  display: none;
}

.art-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 1px solid rgba(255,255,255,.22);
  clip-path: inherit;
  pointer-events: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.art-card__media {
  position: absolute;
  inset: 0;
  display: block;
  background: #111113;
}

.art-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(4,3,6,.12) 62%, rgba(4,3,6,.96) 100%);
}

.art-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 380ms cubic-bezier(.2,.8,.2,1), filter 220ms ease;
}

.art-card:nth-of-type(1) .art-card__media img { object-position: center 28%; }
.art-card:nth-of-type(2) .art-card__media img { object-position: center 27%; }
.art-card:nth-of-type(3) .art-card__media img { object-position: center 44%; }
.art-card:nth-of-type(4) .art-card__media img { object-position: center 48%; }
.art-card:nth-of-type(5) .art-card__media img { object-position: center 34%; }
.art-card:nth-of-type(6) .art-card__media img { object-position: 55% center; }
.art-card:nth-of-type(7) .art-card__media img { object-position: center top; }

.art-card__number {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--purple);
  font-family: "Bebas Neue", var(--display);
  font-size: 1.35rem;
  clip-path: polygon(0 0, 100% 0, 82% 82%, 0 100%);
}

.art-card__info {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4px 18px;
  padding: clamp(17px, 1.8vw, 26px);
}

.art-card__info small {
  grid-column: 1 / -1;
  color: var(--purple-light);
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(.62rem, .7vw, .72rem);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.art-card__info strong {
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.2vw, 2.35rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: .95;
  text-transform: uppercase;
}

.art-card__info em {
  align-self: center;
  color: rgba(255,255,255,.7);
  font-family: "Rajdhani", sans-serif;
  font-size: .6rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: 0;
  translate: -7px 0;
  transition: opacity 180ms ease, translate 180ms ease;
}

.art-card:hover::after,
.art-card:focus-visible::after {
  border-color: var(--purple-light);
  box-shadow: inset 0 0 0 4px var(--purple);
}

.art-card:hover .art-card__media img,
.art-card:focus-visible .art-card__media img {
  transform: scale(1.04);
  filter: saturate(1.07) contrast(1.04);
}

.art-card:hover .art-card__info em,
.art-card:focus-visible .art-card__info em {
  opacity: 1;
  translate: 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 27px clamp(24px, 5vw, 76px);
  color: rgba(255,255,255,.5);
  background: #070708;
  border-top: 1px solid rgba(255,255,255,.1);
}

.site-footer p,
.back-top {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-decoration: none;
  text-transform: uppercase;
}

.back-top:hover,
.back-top:focus-visible {
  color: #fff;
}

.art-card:focus-visible,
.filter-button:focus-visible,
.site-nav a:focus-visible,
.art-viewer button:focus-visible,
.back-top:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.art-viewer {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: clamp(16px, 3vw, 42px);
  overflow: hidden;
  color: #fff;
  background: rgba(5,5,7,.94);
  border: 0;
}

.art-viewer::backdrop {
  background: rgba(0,0,0,.86);
  backdrop-filter: blur(12px);
}

.art-viewer[open] {
  display: grid;
  place-items: center;
}

.art-viewer__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .45fr);
  width: min(1380px, 100%);
  height: min(850px, 100%);
  overflow: hidden;
  background: #111113;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 14px 14px 0 var(--purple);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}

.art-viewer__figure {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: clamp(18px, 3vw, 38px);
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(117,46,255,.18), transparent 44%), #070709;
}

.art-viewer__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.art-viewer__details {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(30px, 4vw, 58px);
  overflow: hidden;
  background: var(--purple);
}

.art-viewer__details::before {
  content: "";
  position: absolute;
  top: -15%;
  right: -35%;
  width: 130%;
  aspect-ratio: 1;
  opacity: .28;
  background-image: radial-gradient(circle, #fff 0 1px, transparent 1.3px);
  background-size: 8px 8px;
  border-radius: 50%;
}

.art-viewer__counter,
.art-viewer__type,
.art-viewer__details h2,
.art-viewer__controls {
  position: relative;
  z-index: 1;
}

.art-viewer__counter {
  position: absolute;
  top: 42px;
  left: clamp(30px, 4vw, 58px);
  font-family: "Bebas Neue", var(--display);
  font-size: 2.2rem;
}

.art-viewer__type {
  margin: 0 0 12px;
  font-family: "Rajdhani", sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.art-viewer__details h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.5rem, 5.3vw, 5.9rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .8;
  text-transform: uppercase;
}

.art-viewer__controls {
  display: flex;
  gap: 8px;
  margin-top: 32px;
}

.art-viewer__controls button {
  flex: 1;
  padding: 12px 9px;
  color: #fff;
  background: #0b0b0d;
  border: 1px solid rgba(255,255,255,.35);
  font-family: "Rajdhani", sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}

.art-viewer__controls button:hover {
  color: #0b0b0d;
  background: #fff;
}

.art-viewer__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 46px;
  height: 46px;
  padding: 0;
  background: #0a0a0b;
  border: 1px solid rgba(255,255,255,.5);
  cursor: pointer;
}

.art-viewer__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background: #fff;
}

.art-viewer__close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.art-viewer__close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 560ms ease, transform 620ms cubic-bezier(.16,1,.3,1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .gallery-masthead {
    grid-template-columns: minmax(300px, .92fr) minmax(350px, 1.08fr);
  }

  .gallery-masthead__copy {
    padding-left: 42px;
  }

  .gallery-masthead__meta {
    padding-inline: 42px;
  }

  .archive__header {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .filter-bar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .filter-status {
    width: 100%;
    margin-left: 7px;
  }

  .art-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .art-card__info {
    grid-template-columns: 1fr;
  }

  .art-card__info em {
    display: none;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 68px;
    padding-inline: 20px;
  }

  .site-nav > a:not(.site-nav__home) {
    display: none;
  }

  .portfolio-float-switch {
    width: 74px;
    border-width: 2px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .portfolio-float-switch span {
    font-size: 2rem;
  }

  .portfolio-float-switch small {
    font-size: .52rem;
  }

  .gallery-masthead {
    display: block;
    min-height: 650px;
    padding-top: 68px;
  }

  .gallery-masthead__copy {
    position: relative;
    z-index: 4;
    padding: 64px 22px 18px;
  }

  .gallery-masthead h1 {
    font-size: clamp(5.7rem, 27vw, 8rem);
  }

  .gallery-masthead h1 span {
    -webkit-text-stroke-width: 1.4px;
  }

  .gallery-masthead__copy > p:last-child {
    max-width: 350px;
    margin-top: 26px;
  }

  .gallery-masthead__art {
    position: absolute;
    right: 0;
    bottom: 45px;
    left: 0;
    height: 49%;
  }

  .gallery-masthead__art::before {
    top: 0;
    right: -10%;
    bottom: 0;
    left: 10%;
  }

  .gallery-masthead__art img {
    right: -17%;
    width: 135%;
    height: 118%;
  }

  .gallery-masthead__meta {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    gap: 10px;
    padding: 10px 20px;
    font-size: .55rem;
  }

  .gallery-masthead__meta span:last-child,
  .gallery-masthead__meta i:last-of-type {
    display: none;
  }

  .archive {
    padding: 60px 15px 84px;
  }

  .archive__header h2 {
    font-size: clamp(3.7rem, 18vw, 5.2rem);
  }

  .filter-bar {
    top: 8px;
    gap: 8px;
    padding: 10px;
  }

  .filter-bar__label {
    width: 100%;
    padding: 3px 3px 0;
  }

  .filter-bar__buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .filter-button {
    width: 100%;
  }

  .filter-status {
    margin: 3px 3px 0;
  }

  .art-grid {
    grid-template-columns: 1fr;
  }

  .art-card { aspect-ratio: 808 / 632; }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .art-viewer {
    padding: 8px;
    overflow-y: auto;
  }

  .art-viewer__panel {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(300px, 1fr) auto;
    width: 100%;
    height: calc(100dvh - 16px);
    box-shadow: 6px 6px 0 var(--purple);
  }

  .art-viewer__details {
    min-height: 225px;
    padding: 24px 20px;
  }

  .art-viewer__counter {
    top: 20px;
    right: 74px;
    left: auto;
    font-size: 1.7rem;
  }

  .art-viewer__details h2 {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  .art-viewer__controls {
    margin-top: 18px;
  }
}

@media (max-width: 430px) {
  .brand span {
    font-size: .8rem;
  }

  .site-nav__home {
    font-size: .64rem !important;
  }

  .gallery-masthead {
    min-height: 620px;
  }

  .gallery-masthead__copy {
    padding-top: 52px;
  }

  .gallery-masthead h1 {
    font-size: 5.7rem;
  }

  .gallery-masthead__art {
    height: 45%;
  }

  .archive__intro {
    max-width: 340px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
