:root {
  --paper: #fff8e8;
  --ink: #24172b;
  --acid: #d7d71e;
  --salmon: #ff8a7a;
  --pink: #e65b95;
  --magenta: #c530a6;
  --orange: #fc9840;
  --blue: #00276f;
  --white: #ffffff;
  --border: 3px solid var(--ink);
  --shadow: 8px 8px 0 var(--acid);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

a:hover,
a:focus-visible {
  color: var(--blue);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 4vw;
  background: var(--acid);
  border-bottom: var(--border);
}

.site-title {
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.site-nav a {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  border: 2px solid var(--ink);
  background: var(--orange);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--ink);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: var(--magenta);
  color: var(--white);
}

main {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 4rem;
}

.hero-copy {
  padding: clamp(1.5rem, 4vw, 4rem);
  background: var(--salmon);
  border: var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.kicker,
.section-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.page-intro h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.hero-copy p:last-child {
  max-width: 42rem;
  margin-bottom: 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-card {
  transform: rotate(2deg);
  background: var(--white);
  border: var(--border);
  box-shadow: 8px 8px 0 var(--pink);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-card p {
  margin: 0;
  padding: 0.8rem 1rem 1rem;
  font-weight: 700;
}

.home-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.big-link {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  border: var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 7px 7px 0 var(--ink);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.big-link:hover,
.big-link:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
}

.big-link:nth-child(1) { background: var(--magenta); color: var(--white); }
.big-link:nth-child(2) { background: var(--orange); }
.big-link:nth-child(3) { background: var(--pink); }

.big-link strong {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.feature-grid,
.zine-grid,
.art-grid,
.about-grid {
  display: grid;
  gap: 1.5rem;
}

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

.card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--acid);
}

.card-body {
  padding: 1rem 1.1rem 1.25rem;
}

.card h2,
.card h3 {
  margin: 0 0 0.45rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.page-intro {
  margin-bottom: 2.5rem;
  padding: 1.5rem 0;
}

.page-intro p {
  max-width: 50rem;
  font-size: 1.15rem;
}

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

.zine-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: var(--border);
  box-shadow: 7px 7px 0 var(--pink);
}

.zine-cover {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: var(--salmon);
  border-bottom: var(--border);
  text-align: center;
}

.zine-cover span {
  display: block;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.zine-card:nth-child(2n) .zine-cover { background: var(--acid); }
.zine-card:nth-child(3n) .zine-cover { background: var(--orange); }
.zine-card:nth-child(4n) .zine-cover { background: var(--pink); }

.zine-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem;
}

.zine-meta p {
  flex: 1;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.button {
  display: inline-block;
  padding: 0.6rem 0.85rem;
  border: 2px solid var(--ink);
  background: var(--paper);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 3px 3px 0 var(--ink);
}

.button:hover,
.button:focus-visible {
  background: var(--acid);
  color: var(--ink);
}

.about-grid {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

.about-photo {
  transform: rotate(-2deg);
  border: var(--border);
  box-shadow: 8px 8px 0 var(--pink);
  background: var(--white);
  padding: 0.75rem;
}

.about-photo img {
  width: 100%;
}

.about-copy {
  display: grid;
  gap: 1rem;
}

.about-block {
  padding: 1.25rem;
  border: var(--border);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--acid);
}

.about-block:nth-child(2) { background: var(--salmon); }
.about-block:nth-child(3) { background: var(--orange); }

.about-block h2 {
  margin-top: 0;
}

.simple-list {
  margin: 0;
  padding-left: 1.2rem;
}

.site-footer {
  padding: 1.25rem 4vw 2rem;
  border-top: var(--border);
  background: var(--ink);
  color: var(--paper);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .hero,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .home-links,
  .zine-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  main {
    width: min(92vw, 700px);
    padding-top: 2rem;
  }

  .hero-card {
    transform: none;
  }
}


@media (max-width: 820px) {
  .art-viewer {
    grid-template-columns: 1fr;
  }

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

  .art-display-card {
    height: 520px;
  }
}

@media (max-width: 520px) {
  .art-thumbnails {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .art-display-card {
    height: 420px;
  }
}


/* ART PAGE */
.art-page {
  width: 1200px;
  margin: 0 auto;
}

.lightbox-panel {
  width: 50%;
  height: 30vh;
  margin: 1.5rem auto 2rem;
}

.lightbox-panel img {
  width: auto;
  height: auto;
  max-width: calc(100vw - 128px);
  max-height: calc(100vh - 520px);
  object-fit: contain;
}

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

.art-tile {
  appearance: none;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--white, #fff);
  border: 3px solid var(--ink, #321c3d);
}

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

.art-tile:hover,
.art-tile:focus-visible,
.art-tile.is-active {
  outline: none;
  border-color: var(--magenta, #c530a6);
  box-shadow: 5px 5px 0 var(--acid, #d7d71e);
}

@media (max-width: 800px) {
  .lightbox-panel {
    height: 430px;
  }

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

@media (max-width: 520px) {
  .lightbox-panel {
    height: 320px;
  }

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

