@font-face {
  font-family: "Palmore";
  src: url("../fonts/palmore-regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Palmore";
  src: url("../fonts/palmore-semibold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

:root {
  --ink: #15170f;
  --ink-soft: #34362a;
  --paper: #f2ead7;
  --paper-deep: #e7dcc3;
  --sun: #ffd600;
  --tomato: #ef4d31;
  --forest: #173f2b;
  --sky: #72b9b3;
  --clay: #8f4c2d;
  --white: #fffaf0;
  --line: color-mix(in oklab, var(--ink) 19%, transparent);
  --line-light: color-mix(in oklab, var(--paper) 26%, transparent);
  --font-display: "Palmore", Georgia, serif;
  --font-body: "Aptos", "Segoe UI", system-ui, -apple-system, sans-serif;
  --page: min(100% - 40px, 1480px);
  --reading: 68ch;
  --header-h: 84px;
  --space-section: clamp(76px, 9vw, 144px);
  --e-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
  --e-decisive: cubic-bezier(0.7, 0, 0.3, 1);
  --d-fast: 180ms;
  --d-medium: 350ms;
  --d-slow: 700ms;
}

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

html {
  color: var(--ink);
  background: var(--paper);
  font-size: 100%;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.94rem + 0.22vw, 1.125rem);
  font-feature-settings: "kern" 1, "liga" 1;
  font-optical-sizing: auto;
  line-height: 1.55;
}

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

img {
  height: auto;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

p,
li {
  hanging-punctuation: first last;
  orphans: 3;
  text-wrap: pretty;
  widows: 3;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

::selection {
  background: var(--tomato);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--tomato);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  min-height: 44px;
  padding: 11px 18px;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--sun);
  transition: transform var(--d-fast) var(--e-standard);
}

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

.eyebrow {
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-shell {
  width: var(--page);
  margin-inline: auto;
}

.section-block {
  padding-block: var(--space-section);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(240px, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 96px);
}

.section-head h2 {
  max-width: 11ch;
  margin-bottom: 0;
  font-size: clamp(3.2rem, 7vw, 7.5rem);
}

.section-head-copy {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.section-head-copy p:last-child {
  margin-bottom: 0;
}

.link-arrow {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 14px;
  padding-block: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.link-arrow span {
  display: inline-block;
  transition: transform var(--d-medium) var(--e-standard);
}

.link-arrow:is(:hover, :focus-visible) span {
  transform: translate3d(5px, -5px, 0);
}

.button-solid {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--sun);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: background var(--d-fast) var(--e-standard), color var(--d-fast) var(--e-standard);
}

.button-solid:is(:hover, :focus-visible) {
  background: var(--tomato);
  color: var(--white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  margin-top: 28px;
}

/* Header */

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
}

.header-rule {
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--tomato);
  transition: transform 80ms linear;
}

.header-inner {
  width: var(--page);
  min-width: 0;
  min-height: calc(var(--header-h) - 4px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 160px;
  align-items: stretch;
}

.brand {
  display: flex;
  min-height: 44px;
  align-items: center;
  border-right: 1px solid var(--line);
}

.brand-logo {
  width: 102px;
  height: auto;
}

.site-nav {
  display: flex;
  min-width: 0;
  align-items: stretch;
  justify-content: center;
}

.site-nav a {
  position: relative;
  display: flex;
  min-width: 105px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding-inline: 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--tomato);
  transition: transform var(--d-medium) var(--e-decisive);
}

.site-nav a:is(:hover, :focus-visible)::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-index {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  border-left: 1px solid var(--line);
}

.header-index span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-index strong {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
}

.menu-toggle {
  display: none;
}

/* Home hero */

.home-hero {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(38px, 5.5vw, 92px) max(24px, calc((100vw - min(100vw - 40px, 1480px)) / 2 + 20px));
  padding-right: clamp(32px, 5vw, 84px);
  overflow: hidden;
  background: var(--sun);
}

.hero-copy::after {
  position: absolute;
  right: -13vw;
  bottom: -18vw;
  width: 40vw;
  aspect-ratio: 1;
  border: 1px solid color-mix(in oklab, var(--ink) 30%, transparent);
  border-radius: 50%;
  content: "";
}

.hero-topline,
.hero-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero-topline p {
  margin: 0;
}

.issue-chip {
  display: flex;
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 2rem;
}

.hero-title {
  position: relative;
  z-index: 1;
  max-width: 9.5ch;
  margin: 50px 0;
  font-size: clamp(5rem, 10.2vw, 12rem);
  line-height: 0.73;
  letter-spacing: -0.045em;
}

.hero-title span {
  display: block;
  padding-left: clamp(44px, 7vw, 120px);
}

.hero-foot {
  align-items: flex-end;
}

.hero-foot p {
  max-width: 42ch;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.25vw, 1.25rem);
}

.hero-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--forest);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.04);
  object-fit: cover;
  object-position: 54% center;
  filter: saturate(0.85) contrast(1.04);
  transition: transform var(--d-slow) var(--e-standard);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(to top, color-mix(in oklab, var(--forest) 62%, transparent), transparent 60%),
    color-mix(in oklab, var(--sky) 14%, transparent);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-visual:hover .hero-photo {
  transform: scale(1.075);
}

.hero-cover {
  position: absolute;
  z-index: 2;
  top: clamp(32px, 5vw, 80px);
  right: clamp(24px, 4vw, 68px);
  width: min(45%, 370px);
  transform: translate3d(calc(var(--pointer-x, 0) * -7px), calc(var(--pointer-y, 0) * -7px), 0);
  border: 1px solid var(--paper);
  background: var(--paper);
  transition: transform var(--d-medium) var(--e-standard);
}

.hero-cover img {
  width: 100%;
  aspect-ratio: 0.75;
  object-fit: cover;
}

.hero-cover p {
  margin: 0;
  padding: 12px 14px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-sideword {
  position: absolute;
  z-index: 2;
  bottom: 38px;
  left: 30px;
  margin: 0;
  transform: rotate(-90deg) translateY(100%);
  transform-origin: left bottom;
  color: var(--sun);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 7rem);
  line-height: 0.8;
  white-space: nowrap;
}

.hero-caption {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 4vw, 68px);
  bottom: 32px;
  max-width: 270px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-light);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--sun);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-run 28s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  min-height: 55px;
  align-items: center;
  padding-inline: 24px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}

.ticker-track span::after {
  padding-left: 48px;
  content: "○";
  font-family: var(--font-body);
  font-size: 0.8rem;
}

@keyframes ticker-run {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Magazine grid */

.mag-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 78px) 18px;
}

.mag-card {
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.mag-card-visual {
  position: relative;
  display: block;
  min-width: 0;
}

.mag-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 0.75;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.real-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--d-slow) var(--e-standard), filter var(--d-medium) var(--e-standard);
}

.real-cover figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 9px 10px;
  transform: translate3d(0, 100%, 0);
  background: color-mix(in oklab, var(--ink) 88%, transparent);
  color: var(--white);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform var(--d-medium) var(--e-standard);
}

.mag-card-visual:is(:hover, :focus-visible) .real-cover img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.mag-card-visual:is(:hover, :focus-visible) figcaption {
  transform: translate3d(0, 0, 0);
}

.cover-art {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}

.cover-art::before {
  position: absolute;
  inset: 12% 11%;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.45;
  transition: transform var(--d-slow) var(--e-standard);
}

.cover-art::after {
  position: absolute;
  right: -12%;
  bottom: 22%;
  left: -12%;
  height: 1px;
  content: "";
  transform: rotate(-19deg);
  background: currentColor;
  opacity: 0.55;
}

.mag-card-visual:is(:hover, :focus-visible) .cover-art::before {
  transform: scale(1.18);
}

.cover-art strong {
  position: relative;
  z-index: 1;
  max-width: 8ch;
  margin: auto 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.78;
  overflow-wrap: anywhere;
}

.cover-year,
.cover-line,
.cover-glyph {
  position: relative;
  z-index: 1;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cover-glyph {
  align-self: flex-end;
  font-size: 0.75rem;
}

.tone-sun {
  background: var(--sun);
  color: var(--ink);
}

.tone-tomato {
  background: var(--tomato);
  color: var(--ink);
}

.tone-forest {
  background: var(--forest);
  color: var(--sun);
}

.tone-ocean,
.tone-sky {
  background: var(--sky);
  color: var(--ink);
}

.tone-clay {
  background: var(--clay);
  color: var(--white);
}

.tone-ink {
  background: var(--ink);
  color: var(--sun);
}

.tone-sand,
.tone-paper {
  background: var(--paper-deep);
  color: var(--ink);
}

.card-index {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--paper);
  font-size: 0.62rem;
  font-weight: 700;
}

.mag-card-copy {
  padding-top: 17px;
}

.mag-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.status::before {
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  background: transparent;
}

.status-active::before {
  background: var(--forest);
}

.status-paused::before {
  background: var(--sun);
}

.status-archive::before {
  background: var(--tomato);
}

.mag-card h3 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 2.6vw, 3.5rem);
  transition: color var(--d-fast) var(--e-standard);
}

.mag-card h3:has(a:hover) {
  color: var(--tomato);
}

.mag-card-copy > p {
  min-height: 6.2em;
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.55;
}

.mag-card .link-arrow {
  font-size: 0.65rem;
}

.mag-card.is-hidden {
  display: none;
}

/* Directory */

.page-intro {
  padding: clamp(60px, 8vw, 130px) 0 clamp(50px, 6vw, 90px);
  border-bottom: 1px solid var(--line);
}

.page-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.28fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: end;
}

.page-intro h1 {
  max-width: 11ch;
  margin-bottom: 0;
  font-size: clamp(4.3rem, 10.5vw, 11.5rem);
  line-height: 0.78;
}

.page-intro h1 span {
  display: block;
  padding-left: 11%;
  color: var(--tomato);
}

.page-intro-copy {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.page-intro-copy p:last-child {
  margin-bottom: 0;
}

.breadcrumbs {
  width: var(--page);
  margin: 22px auto 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.breadcrumbs li:not(:last-child)::after {
  padding-left: 8px;
  content: "→";
  color: var(--tomato);
}

.directory-tools {
  position: sticky;
  z-index: 20;
  top: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--paper) 96%, transparent);
  backdrop-filter: blur(12px);
}

.directory-tools-inner {
  width: var(--page);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding-block: 13px;
}

.search-field {
  position: relative;
}

.search-field label {
  position: absolute;
  top: 8px;
  left: 14px;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.search-field input {
  width: 100%;
  min-height: 58px;
  padding: 24px 48px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.search-field span {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--d-fast) var(--e-standard), color var(--d-fast) var(--e-standard);
}

.filter-button:is(:hover, :focus-visible),
.filter-button.is-active {
  background: var(--ink);
  color: var(--sun);
}

.filter-select {
  min-height: 44px;
  padding: 10px 34px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.results-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.results-line p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.results-line strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
}

.no-results {
  padding: 70px 0;
  border-block: 1px solid var(--line);
}

.no-results h2 {
  margin-bottom: 15px;
  font-size: 3rem;
}

.directory-note {
  margin-top: clamp(70px, 9vw, 130px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: clamp(35px, 7vw, 100px);
  padding: clamp(34px, 6vw, 82px);
  background: var(--forest);
  color: var(--white);
}

.directory-note h2 {
  max-width: 11ch;
  margin-bottom: 0;
  color: var(--sun);
  font-size: clamp(3rem, 6vw, 6.5rem);
}

.directory-note-copy {
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
}

.directory-note a {
  color: var(--sun);
}

/* Story cards */

.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(60px, 8vw, 120px) 22px;
}

.story-card {
  min-width: 0;
}

.story-card-large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: end;
}

.story-image {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  background: var(--forest);
}

.story-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform var(--d-slow) var(--e-standard), filter var(--d-medium) var(--e-standard);
}

.story-card:not(.story-card-large) .story-image img {
  aspect-ratio: 4 / 3;
}

.story-image > span {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 9px 12px;
  background: var(--sun);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-image:is(:hover, :focus-visible) img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.story-copy {
  padding-top: 22px;
}

.story-copy h3 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 4.5vw, 5.3rem);
}

.story-card:not(.story-card-large) .story-copy h3 {
  max-width: 13ch;
  font-size: clamp(2.3rem, 3.7vw, 4.3rem);
}

.story-copy > p:not(.eyebrow) {
  max-width: 50ch;
  color: var(--ink-soft);
}

.interlude {
  position: relative;
  min-height: min(780px, 78svh);
  display: grid;
  place-items: end start;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.interlude img {
  position: absolute;
  inset: -7%;
  width: 114%;
  height: 114%;
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(0.7) contrast(1.08);
}

.interlude::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(70deg, color-mix(in oklab, var(--forest) 88%, transparent), transparent 70%);
}

.interlude-copy {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin-left: max(20px, calc((100vw - min(100vw - 40px, 1480px)) / 2 + 20px));
  padding-bottom: clamp(42px, 7vw, 100px);
}

.interlude-copy h2 {
  margin-bottom: 26px;
  color: var(--sun);
  font-size: clamp(3.5rem, 7.5vw, 8rem);
}

.interlude-copy p:not(.eyebrow) {
  max-width: 48ch;
}

/* Magazine detail */

.mag-detail-hero {
  width: var(--page);
  margin-inline: auto;
  padding: clamp(54px, 8vw, 120px) 0 clamp(70px, 9vw, 130px);
  display: grid;
  grid-template-columns: minmax(300px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: center;
}

.mag-detail-cover {
  position: relative;
}

.mag-detail-cover .mag-cover {
  max-width: 540px;
  margin-inline: auto;
}

.mag-detail-number {
  position: absolute;
  right: -20px;
  bottom: -28px;
  color: var(--tomato);
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 10rem);
  line-height: 0.65;
}

.mag-detail-copy h1 {
  max-width: 10ch;
  margin-bottom: 30px;
  font-size: clamp(4rem, 8vw, 9rem);
}

.mag-detail-lede {
  max-width: 47ch;
  margin-bottom: 32px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.2vw, 2.4rem);
  line-height: 1.22;
}

.data-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 34px 0;
  border-top: 1px solid var(--line);
}

.data-item {
  min-width: 0;
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--line);
}

.data-item span {
  display: block;
  margin-bottom: 7px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.data-item strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.1;
}

.mag-detail-body {
  border-top: 1px solid var(--line);
}

.detail-columns {
  width: var(--page);
  margin-inline: auto;
  padding-block: var(--space-section);
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(45px, 10vw, 160px);
}

.detail-rail {
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 36px);
}

.detail-rail h2 {
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 4vw, 5rem);
}

.focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.focus-list li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-prose {
  min-width: 0;
  max-width: var(--reading);
}

.detail-prose h2 {
  margin: 0 0 24px;
  font-size: clamp(2.8rem, 4.6vw, 5.4rem);
}

.detail-prose p {
  font-size: clamp(1.08rem, 1.3vw, 1.28rem);
}

.detail-prose p + h2 {
  margin-top: 70px;
}

.sources {
  margin-top: 70px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.sources h2 {
  font-size: 2.2rem;
}

.sources ol {
  padding-left: 20px;
}

.sources li + li {
  margin-top: 10px;
}

.sources a {
  text-decoration: underline;
  text-decoration-color: var(--tomato);
  text-underline-offset: 4px;
}

.related-section {
  padding-block: var(--space-section);
  border-top: 1px solid var(--line);
}

.related-section h2 {
  margin-bottom: 46px;
  font-size: clamp(3rem, 5vw, 6rem);
}

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

/* Article */

.article-hero {
  padding: clamp(56px, 8vw, 125px) 0 clamp(50px, 7vw, 100px);
}

.article-heading {
  width: var(--page);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.26fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: end;
}

.article-heading h1 {
  max-width: 12ch;
  margin-bottom: 0;
  font-size: clamp(4rem, 8.2vw, 9rem);
  line-height: 0.84;
}

.article-meta {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.article-meta p {
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-figure {
  position: relative;
  margin: 0;
  max-height: 850px;
  overflow: hidden;
  background: var(--forest);
}

.article-figure img {
  width: 100%;
  max-height: 850px;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center 44%;
}

.article-figure figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 10px 13px;
  background: var(--paper);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.article-layout {
  width: var(--page);
  margin-inline: auto;
  padding-block: var(--space-section);
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: clamp(48px, 10vw, 170px);
}

.article-share {
  position: sticky;
  top: calc(var(--header-h) + 35px);
  align-self: start;
}

.article-share p {
  margin-bottom: 12px;
}

.article-share a,
.article-share button {
  display: block;
  width: fit-content;
  min-height: 38px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
  border-top: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-body {
  min-width: 0;
  max-width: var(--reading);
}

.article-dek {
  margin-bottom: 70px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 3rem);
  line-height: 1.2;
}

.article-section + .article-section {
  margin-top: clamp(60px, 8vw, 100px);
}

.article-section h2 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 5vw, 5.8rem);
}

.article-section p {
  font-size: clamp(1.08rem, 1.25vw, 1.25rem);
  line-height: 1.65;
}

.article-section p + p {
  margin-top: 1.35em;
}

.article-section:first-of-type p:first-of-type::first-letter {
  float: left;
  margin: 0.05em 0.1em 0 0;
  color: var(--tomato);
  font-family: var(--font-display);
  font-size: 5.5em;
  line-height: 0.72;
}

.network-callout {
  width: var(--page);
  margin: 0 auto var(--space-section);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(250px, 0.7fr);
  gap: clamp(35px, 7vw, 100px);
  align-items: end;
  padding: clamp(38px, 6vw, 86px);
  background: var(--sun);
}

.network-callout h2 {
  max-width: 12ch;
  margin-bottom: 0;
  font-size: clamp(3.4rem, 6vw, 7rem);
}

.network-callout-copy {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* Static pages */

.static-layout {
  width: var(--page);
  margin-inline: auto;
  padding-block: var(--space-section);
  display: grid;
  grid-template-columns: minmax(210px, 0.35fr) minmax(0, 1fr);
  gap: clamp(50px, 10vw, 170px);
}

.static-rail {
  position: sticky;
  top: calc(var(--header-h) + 35px);
  align-self: start;
}

.static-content {
  max-width: var(--reading);
}

.static-content h2 {
  margin: 70px 0 24px;
  font-size: clamp(2.8rem, 4.5vw, 5.3rem);
}

.static-content h2:first-child {
  margin-top: 0;
}

.static-content h3 {
  margin: 42px 0 16px;
  font-size: 2.1rem;
}

.static-content p,
.static-content li {
  font-size: clamp(1.04rem, 1.2vw, 1.2rem);
  line-height: 1.65;
}

.static-content a {
  text-decoration: underline;
  text-decoration-color: var(--tomato);
  text-underline-offset: 4px;
}

.static-content details {
  padding-block: 18px;
  border-top: 1px solid var(--line);
}

.static-content details:last-child {
  border-bottom: 1px solid var(--line);
}

.static-content summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.7rem;
  list-style-position: outside;
}

.static-content details p {
  padding-top: 16px;
}

/* Footer */

.site-footer {
  position: relative;
  min-height: 670px;
  padding: clamp(70px, 9vw, 130px) max(20px, calc((100vw - min(100vw - 40px, 1480px)) / 2 + 20px)) 28px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.footer-masthead {
  position: absolute;
  right: clamp(-30px, -2vw, 0px);
  bottom: clamp(-48px, -3vw, -20px);
  width: clamp(360px, 48vw, 760px);
  opacity: 0.07;
  pointer-events: none;
}

.footer-masthead img {
  width: 100%;
  height: auto;
  filter: invert(1);
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(180px, 0.4fr));
  gap: clamp(40px, 7vw, 110px);
}

.footer-intro h2 {
  max-width: 10ch;
  margin-bottom: 30px;
  color: var(--sun);
  font-size: clamp(3.5rem, 6vw, 7rem);
}

.footer-intro > p:last-child {
  max-width: 46ch;
  color: color-mix(in oklab, var(--paper) 72%, transparent);
}

.footer-label {
  margin-bottom: 20px;
  color: var(--sun);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid nav a {
  display: block;
  width: fit-content;
  min-height: 38px;
  padding-block: 8px;
  border-bottom: 1px solid transparent;
  font-size: 0.82rem;
}

.footer-grid nav a:is(:hover, :focus-visible) {
  border-bottom-color: var(--sun);
  color: var(--sun);
}

.footer-bottom {
  position: absolute;
  z-index: 2;
  right: max(20px, calc((100vw - min(100vw - 40px, 1480px)) / 2 + 20px));
  bottom: 26px;
  left: max(20px, calc((100vw - min(100vw - 40px, 1480px)) / 2 + 20px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

/* Consent */

.consent {
  position: fixed;
  z-index: 300;
  right: 18px;
  bottom: 18px;
  left: 18px;
  width: min(680px, calc(100% - 36px));
  margin-left: auto;
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  border: 1px solid var(--line-light);
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 22px 50px color-mix(in oklab, var(--ink) 28%, transparent);
}

.consent[hidden] {
  display: none;
}

.consent p:last-child {
  margin-bottom: 0;
  font-size: 0.8rem;
}

.consent-actions {
  display: flex;
  gap: 7px;
}

.consent-actions button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line-light);
  border-radius: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.consent-actions .consent-accept {
  border-color: var(--sun);
  background: var(--sun);
  color: var(--ink);
}

/* Reveal */

.reveal.is-pending {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  letter-spacing: 0.012em;
}

.reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity var(--d-slow) var(--e-standard),
    transform var(--d-slow) var(--e-standard),
    letter-spacing var(--d-slow) var(--e-standard);
}

/* Error */

.error-page {
  min-height: 72svh;
  display: grid;
  place-items: center;
  padding: 70px 20px;
  text-align: left;
}

.error-inner {
  width: min(900px, 100%);
}

.error-code {
  margin: 0;
  color: var(--tomato);
  font-family: var(--font-display);
  font-size: clamp(8rem, 25vw, 22rem);
  line-height: 0.6;
}

.error-page h1 {
  margin: 40px 0 18px;
  font-size: clamp(3.5rem, 7vw, 7rem);
}

@media (max-width: 1180px) {
  :root {
    --header-h: 76px;
  }

  .header-inner {
    grid-template-columns: 175px minmax(0, 1fr) 105px;
  }

  .site-nav a {
    min-width: 82px;
    padding-inline: 10px;
  }

  .header-index span {
    display: none;
  }

  .home-hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.8fr);
  }

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

  .directory-tools-inner {
    grid-template-columns: minmax(220px, 1fr) auto;
  }

  .filter-select {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 820px) {
  :root {
    --page: min(100% - 28px, 1480px);
    --header-h: 69px;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: calc(var(--header-h) - 4px);
  }

  .brand {
    border-right: 0;
  }

  .brand-logo {
    width: 78px;
  }

  .menu-toggle {
    display: flex;
    min-width: 84px;
    min-height: 44px;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .menu-mark {
    position: relative;
    width: 22px;
    height: 12px;
    border-block: 1px solid currentColor;
  }

  .menu-mark::after {
    position: absolute;
    top: 5px;
    right: 0;
    width: 14px;
    height: 1px;
    content: "";
    background: currentColor;
    transition: transform var(--d-medium) var(--e-standard);
  }

  .menu-toggle[aria-expanded="true"] .menu-mark {
    border-color: transparent;
  }

  .menu-toggle[aria-expanded="true"] .menu-mark::after {
    width: 22px;
    transform: rotate(45deg);
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: grid;
    transform: translate3d(0, calc(-100% - var(--header-h)), 0);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    transition: transform var(--d-medium) var(--e-decisive);
  }

  .site-nav.is-open {
    transform: translate3d(0, 0, 0);
  }

  .site-nav a {
    justify-content: flex-start;
    min-height: 62px;
    padding-inline: 14px;
    border-top: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .site-nav a::after {
    display: none;
  }

  .header-index {
    display: none;
  }

  .home-hero {
    min-height: auto;
    display: block;
  }

  .hero-copy {
    min-height: 640px;
    padding: 32px 14px 42px;
  }

  .hero-title {
    max-width: none;
    margin: 48px 0;
    font-size: clamp(4.9rem, 21vw, 8rem);
  }

  .hero-title span {
    padding-left: 10%;
  }

  .hero-foot {
    display: block;
  }

  .hero-foot .link-arrow {
    margin-top: 20px;
  }

  .hero-visual {
    min-height: 680px;
  }

  .hero-cover {
    top: 36px;
    right: 22px;
    width: min(52%, 330px);
  }

  .hero-caption {
    right: 22px;
  }

  .section-head,
  .page-intro-grid,
  .directory-note,
  .article-heading,
  .network-callout {
    grid-template-columns: 1fr;
  }

  .section-head h2 {
    max-width: 12ch;
  }

  .section-head-copy,
  .page-intro-copy {
    max-width: 50ch;
  }

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

  .directory-tools {
    position: relative;
    top: auto;
  }

  .directory-tools-inner {
    grid-template-columns: 1fr;
  }

  .filter-group {
    overflow-x: auto;
    padding-bottom: 2px;
    overscroll-behavior-inline: contain;
  }

  .filter-button {
    flex: 0 0 auto;
  }

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

  .story-card-large {
    grid-column: auto;
    display: block;
  }

  .interlude {
    min-height: 650px;
  }

  .mag-detail-hero {
    grid-template-columns: 1fr;
  }

  .mag-detail-cover .mag-cover {
    width: min(78vw, 480px);
  }

  .mag-detail-copy h1 {
    max-width: 12ch;
  }

  .detail-columns,
  .article-layout,
  .static-layout {
    grid-template-columns: 1fr;
  }

  .detail-rail,
  .article-share,
  .static-rail {
    position: static;
  }

  .article-share {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
  }

  .article-share p {
    width: 100%;
  }

  .article-figure img {
    aspect-ratio: 4 / 3;
  }

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

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

  .footer-intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {

  .hero-copy {
    min-height: 580px;
  }

  .hero-title {
    font-size: clamp(4.1rem, 21vw, 6.5rem);
  }

  .hero-topline .eyebrow {
    max-width: 21ch;
  }

  .issue-chip {
    width: 66px;
    height: 66px;
    font-size: 1.55rem;
  }

  .hero-visual {
    min-height: 590px;
  }

  .hero-cover {
    width: 58%;
  }

  .hero-sideword {
    left: 22px;
    font-size: 3.4rem;
  }

  .section-head h2,
  .page-intro h1 {
    font-size: clamp(3.45rem, 17vw, 5.8rem);
  }

  .mag-grid {
    grid-template-columns: 1fr;
    row-gap: 55px;
  }

  .mag-card-copy > p {
    min-height: 0;
  }

  .cover-art strong {
    font-size: clamp(3.6rem, 16vw, 6rem);
  }

  .results-line {
    align-items: flex-start;
  }

  .data-rail {
    grid-template-columns: 1fr;
  }

  .article-heading h1,
  .mag-detail-copy h1 {
    font-size: clamp(3.6rem, 17vw, 6rem);
  }

  .mag-detail-number {
    right: 0;
  }

  .article-figure figcaption {
    position: static;
  }

  .network-callout {
    width: 100%;
  }

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

  .consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-intro {
    grid-column: auto;
  }

  .site-footer {
    min-height: 900px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom div {
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .reveal.is-pending {
    opacity: 1;
    transform: none;
    letter-spacing: inherit;
  }

  .hero-photo,
  .hero-cover,
  .interlude img {
    transform: none !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .ticker,
  .consent,
  .article-share,
  .network-callout {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  a {
    text-decoration: underline;
  }

  .article-layout,
  .static-layout,
  .detail-columns {
    width: 100%;
    display: block;
  }
}

/* Editorial photo essay */

.interlude-credit {
  margin-top: 22px;
  color: color-mix(in oklab, var(--paper) 68%, transparent);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.photo-essay {
  padding-block: var(--space-section);
  overflow: hidden;
  border-top: 1px solid var(--line-light);
  background: var(--ink);
  color: var(--white);
}

.photo-essay-head {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(260px, 1fr);
  gap: clamp(34px, 7vw, 110px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 96px);
}

.photo-essay-head h2 {
  max-width: 10ch;
  margin-bottom: 0;
  color: var(--sun);
  font-size: clamp(3.6rem, 7.5vw, 8rem);
}

.photo-essay-intro {
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
}

.photo-essay-intro p {
  margin-bottom: 0;
  color: color-mix(in oklab, var(--paper) 78%, transparent);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(10, clamp(70px, 5.8vw, 104px));
  gap: 8px;
}

.photo-frame {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--forest);
}

.photo-frame::after {
  position: absolute;
  inset: 52% 0 0;
  content: "";
  background: linear-gradient(to top, color-mix(in oklab, var(--ink) 55%, transparent), transparent);
  pointer-events: none;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--d-slow) var(--e-standard), filter var(--d-medium) var(--e-standard);
}

.photo-frame:is(:hover, :focus-within) img {
  transform: scale(1.025);
  filter: saturate(1.08);
}

.photo-frame figcaption {
  position: absolute;
  z-index: 1;
  right: 12px;
  bottom: 10px;
  left: 12px;
  color: var(--white);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.photo-frame-lupita {
  grid-column: 1 / 6;
  grid-row: 1 / 8;
}

.photo-frame-resin {
  grid-column: 6 / 13;
  grid-row: 1 / 4;
}

.photo-frame-bottom {
  grid-column: 6 / 9;
  grid-row: 4 / 8;
}

.photo-frame-salvage {
  grid-column: 9 / 13;
  grid-row: 4 / 8;
}

.photo-frame-night {
  grid-column: 1 / 7;
  grid-row: 8 / 11;
}

.photo-frame-colorboard {
  grid-column: 7 / 13;
  grid-row: 8 / 11;
}

.photo-frame-lupita img {
  object-position: center 44%;
}

.photo-frame-salvage img {
  object-position: center 68%;
}

.photo-frame-colorboard img {
  object-position: center 62%;
}

.photo-credit {
  margin: 16px 0 0;
  color: color-mix(in oklab, var(--paper) 56%, transparent);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .photo-essay-head {
    grid-template-columns: 1fr;
  }

  .photo-essay-intro {
    max-width: 50ch;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
  }

  .photo-frame {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 3 / 4;
  }

  .photo-frame-lupita,
  .photo-frame-resin,
  .photo-frame-night,
  .photo-frame-colorboard {
    grid-column: 1 / -1;
  }

  .photo-frame-lupita {
    aspect-ratio: 4 / 5;
  }

  .photo-frame-resin,
  .photo-frame-night,
  .photo-frame-colorboard {
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 560px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-frame,
  .photo-frame-lupita,
  .photo-frame-resin,
  .photo-frame-night,
  .photo-frame-colorboard {
    grid-column: 1;
  }

  .photo-frame-lupita,
  .photo-frame-bottom,
  .photo-frame-salvage {
    aspect-ratio: 4 / 5;
  }

  .photo-frame-resin,
  .photo-frame-night,
  .photo-frame-colorboard {
    aspect-ratio: 3 / 2;
  }
}
