:root {
  color-scheme: light;
  --bg: #f6f6f5;
  --paper: #ffffff;
  --text: #242322;
  --muted: #716a64;
  --accent: #ff474b;
  --page-width: min(1280px, calc(100vw - 96px));
  --logo-width: clamp(560px, 44vw, 760px);
  --line: #dfd8cf;
  --warm: #f1e7d8;
  --blue: #164d73;
  --yellow: #f0bd41;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
}

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

.site-header {
  position: relative;
  top: 0;
  z-index: 20;
  padding: 54px 0 46px;
  background: #fff;
  color: var(--text);
  box-shadow: none;
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, var(--logo-width));
  align-items: center;
  justify-content: center;
  gap: 0;
  width: var(--page-width);
  margin: 0 auto;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
}

.brand-base {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
}

.brand-gusanito {
  position: absolute;
  left: 46.6%;
  top: 47.7%;
  z-index: 1;
  width: 13.4%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.brand.is-active,
.brand:visited {
  color: #111;
  font-weight: 700;
}

.main-nav {
  position: relative;
  z-index: 2;
  display: flex;
  gap: clamp(28px, 2.2vw, 42px);
  align-items: center;
  width: 100%;
  margin-top: clamp(-44px, -3.1vw, -30px);
  font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
  font-size: clamp(0.68rem, 0.72vw, 0.84rem);
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1;
  text-transform: uppercase;
}

.main-nav a {
  text-decoration: none;
  white-space: nowrap;
}

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.38em;
}

.external-link-icon {
  display: block;
  width: 0.9em;
  height: 0.9em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 60;
  transform: translateY(-0.08em);
}

.main-nav a:nth-child(3) {
  margin-left: auto;
}

.insta-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
}

.insta-wordmark svg {
  display: block;
  width: 1.05em;
  height: 1.05em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transform: translateY(-0.095em);
}

.main-nav a:hover {
  color: var(--accent);
}

.menu-toggle {
  position: absolute;
  right: 22px;
  top: 28px;
  display: none;
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 50;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #111;
}

main {
  width: var(--page-width);
  min-height: calc(100vh - 60px);
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
}

.view {
  display: none;
  padding: 0 0 76px;
  position: relative;
}

.cover-hero {
  position: relative;
  display: grid;
  height: clamp(378px, 38.7vw, 607px);
  margin: 0 0 16px;
  overflow: hidden;
  background: #fff;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  font-size: 1.05em;
  line-height: 1;
}

.cover-art {
  position: absolute;
  inset: 0;
  background:
    var(--cover-image)
    var(--cover-position, 12% center) /
    var(--cover-size, auto var(--cover-zoom, 138%))
    no-repeat;
  transform-origin: center;
  animation:
    var(--cover-animation, cover-travel-x)
    var(--cover-duration, 42s)
    var(--cover-easing, linear)
    infinite
    alternate;
  transition: opacity 1600ms ease;
  will-change: background-position, opacity;
}

.cover-art-b {
  opacity: 0;
}

.cover-art::before {
  display: none;
}

.cover-art.has-lightning::before {
  position: absolute;
  left: var(--lightning-left);
  top: var(--lightning-top);
  display: block;
  width: var(--lightning-width);
  aspect-ratio: 2483 / 3357;
  content: "";
  background: var(--lightning-image) center / contain no-repeat;
  opacity: 0;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.75));
  animation: lightning-flicker 6.7s steps(1, end) infinite;
  pointer-events: none;
}

.cover-art::after {
  display: none;
}

.cover-art.has-floating-creature::after {
  display: none;
}

.creature-rig {
  position: absolute;
  left: var(--creature-left);
  top: var(--creature-top);
  display: none;
  width: var(--creature-width);
  aspect-ratio: 4404 / 3986;
  transform: translate(-50%, -50%);
  animation: creature-float 4.6s ease-in-out infinite alternate;
  will-change: transform;
  pointer-events: none;
}

.cover-art.has-floating-creature .creature-rig {
  display: block;
}

.creature-body {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  will-change: transform;
  background-image: var(--creature-body-image);
}

@keyframes cover-travel-x {
  from {
    background-position: 8% center;
  }

  to {
    background-position: 92% center;
  }
}

@keyframes cover-travel-y {
  from {
    background-position: center top;
  }

  to {
    background-position: center bottom;
  }
}

@keyframes creature-travel-y {
  from { transform: translateY(-18%); }
  to   { transform: translateY(18%); }
}

@keyframes creature-float {
  from {
    transform: translate(calc(-50% - 5px), calc(-50% - 15px)) rotate(-1.1deg);
  }

  48% {
    transform: translate(calc(-50% + 4px), calc(-50% + 4px)) rotate(0.25deg);
  }

  to {
    transform: translate(calc(-50% + 8px), calc(-50% + 15px)) rotate(1.2deg);
  }
}

@keyframes lightning-flicker {
  0%,
  5%,
  8%,
  14%,
  38%,
  44%,
  70%,
  100% {
    opacity: 0;
  }

  6%,
  7% {
    opacity: 0.95;
  }

  9% {
    opacity: 0.28;
  }

  10%,
  12% {
    opacity: 1;
  }

  39% {
    opacity: 0.7;
  }

  41% {
    opacity: 0.18;
  }

  42% {
    opacity: 0.9;
  }

  74% {
    opacity: 1;
  }

  76% {
    opacity: 0.34;
  }
}

.publications-head {
  margin-bottom: 22px;
}

.publications-head h1 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
  font-size: clamp(1.09rem, 1.92vw, 1.92rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

.publications-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
}

.publication-filter {
  border: 0;
  padding: 0;
  background: transparent;
  color: #a5a5a5;
  cursor: pointer;
  font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.publication-filter:hover,
.publication-filter.is-active {
  color: var(--accent);
}

.publication-filter:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.pub-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 0;
}

.pub-masonry figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
}

.pub-masonry img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 200ms ease;
}

@media (max-width: 900px) { .pub-masonry { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .pub-masonry { grid-template-columns: repeat(2, 1fr); } }

.home-masonry {
  columns: 4;
  column-gap: 10px;
  margin-top: 10px;
}

.home-masonry figure {
  position: relative;
  break-inside: avoid;
  margin: 0 0 10px;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
}

.home-masonry img,
.home-masonry video {
  display: block;
  width: 100%;
  height: auto;
}

.home-masonry figure:has(video) {
  overflow: hidden;
}

.home-masonry video {
  transform: scale(1.20);
}

.home-hover-info {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 2.2vw, 34px);
  background: var(--hover-color, #ff90a0);
  color: #111;
  opacity: 0;
  text-align: center;
  transition: opacity 180ms ease;
}

.home-hover-info strong,
.home-hover-info small {
  display: block;
  font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.home-hover-info strong {
  max-width: 12ch;
  font-size: clamp(0.92rem, 1.6vw, 1.6rem);
  font-weight: 300;
  line-height: 1.02;
}

.home-hover-info small {
  position: absolute;
  right: clamp(18px, 2.2vw, 34px);
  bottom: clamp(18px, 2.2vw, 34px);
  left: clamp(18px, 2.2vw, 34px);
  font-size: clamp(0.72rem, 0.9vw, 0.92rem);
  font-weight: 300;
  line-height: 1.2;
}

.home-masonry .has-hover-info:hover .home-hover-info,
.home-masonry .has-hover-info:focus-visible .home-hover-info,
.pub-masonry .has-hover-info:hover .home-hover-info,
.pub-masonry .has-hover-info:focus-visible .home-hover-info {
  opacity: 1;
}

.home-masonry .has-hover-info:focus-visible,
.pub-masonry .has-hover-info:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .home-masonry { columns: 3; }
}

@media (max-width: 600px) {
  .home-masonry { columns: 2; }
}

.view.is-active {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(280px, 1fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 22px;
}

.section-head h1,
.split-head h1 {
  margin: 0;
  font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
  font-size: clamp(1.09rem, 1.92vw, 1.92rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.3;
}

.editorial-head {
  display: block;
  margin-bottom: 22px;
}

.editorial-masonry {
  margin-top: 0;
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 6vw, 96px);
}

.subfilter {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.subfilter.is-active {
  color: var(--accent);
  font-weight: 700;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 58px 36px;
  align-items: start;
}

.home-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 58px 44px;
  padding-top: 22px;
}

.index-card,
.work-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.index-card:nth-child(6n + 1),
.index-card:nth-child(6n + 2),
.index-card:nth-child(6n + 3),
.index-card:nth-child(6n + 4),
.index-card:nth-child(6n + 5) {
  grid-column: span 1;
}

.index-card:nth-child(6n + 6) {
  grid-column: span 2;
}

.index-card:nth-child(6n + 5),
.index-card:nth-child(6n + 6) {
  grid-column: span 2;
}

.index-card[hidden],
.work-card[hidden] {
  display: none;
}

.image-box {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  border: 2px solid rgba(36, 35, 34, 0.12);
  border-radius: 8px;
  background: #ddd;
  aspect-ratio: var(--ratio, 1 / 1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.image-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.index-card:hover .image-box,
.work-card:hover .image-box {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 var(--text);
}

.card-title {
  display: block;
  max-width: 19rem;
  font-weight: 700;
  line-height: 1.25;
}

.placeholder-art {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 38% 30%, rgba(255, 255, 255, 0.42) 0 8%, transparent 9%),
    radial-gradient(circle at 70% 68%, rgba(0, 0, 0, 0.18) 0 18%, transparent 19%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.28), transparent 35%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0 2px, transparent 2px 22px),
    var(--art-color);
}

.placeholder-art::before {
  position: absolute;
  inset: 11%;
  content: "";
  border: 4px solid rgba(255, 255, 255, 0.6);
}

.placeholder-art::after {
  position: absolute;
  right: 12%;
  bottom: 13%;
  left: 12%;
  height: 28%;
  content: "";
  background:
    linear-gradient(135deg, transparent 0 40%, rgba(0, 0, 0, 0.22) 41% 60%, transparent 61%),
    rgba(0, 0, 0, 0.12);
}

.placeholder-art span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 1;
  color: white;
  font-size: clamp(0.68rem, 1.1vw, 1.05rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
  overflow-wrap: anywhere;
}

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

.masonry-grid .work-card {
  grid-column: span 3;
}

.masonry-grid .work-card:nth-child(4n) {
  grid-column: span 4;
}

.masonry-grid .work-card:nth-child(5n) {
  grid-column: span 2;
}

.split-head {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 94px);
  margin-bottom: 22px;
  padding-bottom: 0;
  border-bottom: 0;
}

.split-head p {
  max-width: 630px;
  margin: 0 0 20px;
  line-height: 1.28;
}

.date-line {
  margin-bottom: 24px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 36px;
  align-items: start;
}

.editorial-grid .work-card {
  grid-column: span 4;
}

.editorial-grid .work-card:nth-child(5n + 1) {
  grid-column: span 5;
}

.editorial-grid .work-card:nth-child(5n + 2) {
  grid-column: span 3;
  margin-top: 46px;
}

.editorial-grid .work-card:nth-child(5n + 4) {
  grid-column: span 5;
}

.wide-feature {
  position: relative;
  overflow: hidden;
  margin: 70px 0 0;
  border: 2px solid var(--text);
  border-radius: 8px;
  aspect-ratio: 16 / 8.1;
  background: #d7d7d7;
}

.wide-feature .placeholder-art {
  background:
    radial-gradient(circle at 48% 46%, #80b7d1 0 16%, transparent 17%),
    linear-gradient(90deg, rgba(40, 30, 30, 0.65), transparent 22%, transparent 78%, rgba(40, 30, 30, 0.65)),
    linear-gradient(#532333 0 42%, #77b4db 43% 100%);
}

.wide-feature .placeholder-art::before {
  inset: 8% 18%;
  border-color: rgba(255, 255, 255, 0.22);
  border-radius: 50% 50% 0 0;
}

.bio-text {
  width: min(650px, 100%);
  margin-left: auto;
  margin-right: clamp(20px, 5vw, 120px);
  line-height: 1.24;
}

.bio-text p {
  margin: 0 0 18px;
}

.bio-contact {
  font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.bio-contact a {
  color: var(--accent);
  text-decoration: none;
}

.bio-contact a:hover {
  text-decoration: underline;
}

.bio-text h2 {
  margin: 26px 0 24px;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
}

.pub-list {
  display: grid;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pub-list li::before {
  content: "• ";
}

.pub-list strong {
  font-weight: 400;
  text-transform: uppercase;
}

.pub-list span {
  display: block;
  margin-left: 1.1em;
}

.image-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: clamp(42px, 5vw, 74px) clamp(58px, 7vw, 110px) clamp(34px, 4vw, 64px);
  border: 0;
  background: #fff;
  color: #111;
}

.image-lightbox::backdrop {
  background: #fff;
}

.image-lightbox[open] {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
}

.lightbox-figure {
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 18px;
  width: 100%;
  height: 100%;
  margin: 0;
  min-width: 0;
  min-height: 0;
}

.lightbox-media {
  display: grid;
  place-items: center;
  align-self: center;
  max-height: min(72vh, 720px);
  min-width: 0;
  min-height: 0;
}

.lightbox-media img,
.lightbox-media video {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(72vh, 720px);
  object-fit: contain;
}

.lightbox-title {
  min-height: 1.2em;
  font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
  font-size: clamp(0.88rem, 1vw, 1.06rem);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.lightbox-title span,
.lightbox-title a {
  display: block;
}

.lightbox-title a {
  margin-top: 0.45em;
  color: #ff4050;
  font-size: 0.78em;
  font-weight: 500;
  text-decoration: none;
}

.lightbox-title a:hover {
  text-decoration: underline;
}

.lightbox-close,
.lightbox-arrow {
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 2;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lightbox-arrow {
  width: 44px;
  height: 72px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 300;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-arrow:hover {
  color: var(--accent);
}

.site-footer {
  background: #f48f9f;
  color: #fff;
}

.footer-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  flex-wrap: wrap;
  width: var(--page-width);
  margin: 0 auto;
  padding: 22px 0;
  font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-gusanito {
  height: 36px;
  width: auto;
  transform: translateY(-3px);
}

.footer-insta svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.footer-copy {
  margin-left: auto;
}

.footer-top {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  color: #000 !important;
  font-size: 0.85rem;
}

.footer-top:hover {
  color: #ff474b !important;
  text-decoration: none !important;
}

@media (max-width: 600px) {
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 0 22px;
    font-size: 0.78rem;
    line-height: 1.15;
    justify-items: center;
    text-align: center;
  }

  .site-footer a {
    min-height: 44px;
    align-items: center;
  }

  .footer-brand {
    align-items: center;
    justify-content: center;
    order: 2;
  }

  .footer-email {
    overflow-wrap: anywhere;
  }

  .footer-copy {
    margin-left: 0;
    order: 3;
  }

  .footer-top {
    position: static;
    justify-self: center;
    transform: none;
    order: 1;
  }
}

@media (max-width: 1000px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 24px 0 20px;
    background: #fff;
  }

  .header-inner {
    width: min(100% - 44px, 520px);
    grid-template-columns: minmax(0, 1fr);
  }

  .brand {
    justify-self: center;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: -10px;
    top: auto;
    bottom: -15px;
  }

  .main-nav {
    display: none;
  }
}

.nav-toggle-check {
  display: none;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nav-toggle-check:checked ~ .mobile-overlay {
  display: flex;
}

.overlay-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  color: #fff;
}

.overlay-close:hover {
  color: var(--accent);
}

.overlay-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.overlay-nav a {
  text-decoration: none;
  color: #fff;
}

.overlay-nav a:hover {
  color: var(--accent);
}

.overlay-nav .insta-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.overlay-nav .insta-wordmark svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

@media (max-width: 1000px) {
  main {
    padding-top: clamp(170px, 24vw, 220px);
  }

  .home-grid,
  .section-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .index-card,
  .index-card:nth-child(n),
  .editorial-grid .work-card,
  .editorial-grid .work-card:nth-child(n),
  .masonry-grid .work-card,
  .masonry-grid .work-card:nth-child(n) {
    grid-column: span 1;
  }
}

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

  main {
    width: min(100% - 32px, 720px);
    box-shadow: none;
  }

  .view {
    padding: 0 0 58px;
  }

  .section-head,
  .split-head {
    grid-template-columns: 1fr;
  }

  .cover-hero {
    height: clamp(260px, 56vw, 440px);
  }

  .home-gallery {
    grid-template-columns: 1fr;
  }

  .home-tile.is-horizontal {
    grid-column: auto;
    aspect-ratio: 1 / 1.18;
  }

  .home-grid,
  .section-grid,
  .editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 18px;
  }

  .subnav {
    gap: 18px;
  }

  .bio-text {
    margin-right: 0;
  }

  .image-lightbox {
    padding: 58px 16px 28px;
  }

  .image-lightbox[open] {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 8px;
  }

  .lightbox-arrow {
    width: 34px;
    height: 56px;
  }

  .lightbox-media {
    max-height: 68vh;
  }

  .lightbox-media img,
  .lightbox-media video {
    max-height: 68vh;
  }

  .lightbox-close {
    top: 8px;
    right: 10px;
  }
}

@media (max-width: 460px) {
  .home-grid,
  .section-grid,
  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    gap: 10px 14px;
  }
}
