:root {
  --paper: #fff4dc;
  --ink: #171713;
  --red: #ee3d19;
  --blue: #09699e;
  --green: #14803c;
  --yellow: #ffd118;
  --purple: #6d3cc9;
  --soft: #f8e8bf;
  --display-font: "Arial Black", Impact, system-ui, sans-serif;
  --body-font: "Avenir Next", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body-font);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 14% 22%, rgba(238, 61, 25, 0.18), transparent 19rem),
    radial-gradient(circle at 86% 14%, rgba(9, 105, 158, 0.16), transparent 18rem),
    linear-gradient(110deg, rgba(255, 255, 255, 0.75), rgba(255, 244, 220, 0.84));
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(23, 23, 19, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 19, 0.16) 1px, transparent 1px);
  background-size: 56px 56px;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(255, 244, 220, 0.88);
  border-bottom: 4px solid var(--ink);
  backdrop-filter: blur(10px);
}

.brand,
nav,
.actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand {
  font-family: var(--display-font);
  text-decoration: none;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  text-transform: uppercase;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 3px solid var(--ink);
}

nav a,
.text-link {
  font-family: var(--body-font);
  font-weight: 750;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.9rem;
}

.panel {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(5.5rem, 10vw, 7rem) clamp(1rem, 6vw, 5rem) clamp(3rem, 7vw, 5rem);
}

.hero {
  grid-template-columns: minmax(0, 760px);
}

.hero-copy,
.section-copy,
.story-form,
.artist-card {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-family: var(--body-font);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  font-family: var(--display-font);
  max-width: 760px;
  margin-bottom: 0.9rem;
  font-size: clamp(4.5rem, 14vw, 11rem);
  line-height: 0.82;
  text-transform: uppercase;
  text-shadow:
    9px 9px 0 var(--yellow),
    17px 17px 0 var(--purple);
}

h2 {
  font-family: var(--display-font);
  max-width: 760px;
  font-size: clamp(2.1rem, 6vw, 5.2rem);
  line-height: 0.92;
  text-transform: uppercase;
}

p {
  max-width: 720px;
  font-family: var(--body-font);
  font-size: clamp(1.02rem, 2.2vw, 1.35rem);
  font-weight: 650;
  line-height: 1.45;
}

.lede {
  font-size: clamp(1.18rem, 2.7vw, 1.7rem);
}

.event-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: 760px;
  margin: 1.4rem 0;
  font-family: var(--body-font);
  font-weight: 800;
}

.event-strip > * {
  padding: 0.65rem 0.85rem;
  background: var(--yellow);
  border: 4px solid var(--ink);
  box-shadow: 7px 7px 0 var(--purple);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--blue);
  font-family: var(--display-font);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--red);
  color: #fff;
  box-shadow: 6px 6px 0 var(--yellow);
}

.button.danger {
  background: var(--ink);
  color: #fff;
  box-shadow: 6px 6px 0 var(--red);
}

.scene-one {
  background: linear-gradient(155deg, #fff4dc 0%, #fff9ec 52%, #d7ecff 100%);
}

.scene-two {
  background:
    linear-gradient(rgba(255, 244, 220, 0.84), rgba(255, 244, 220, 0.78)),
    url("assets/remember-fabric.png") center / cover;
}

.scene-three {
  background:
    radial-gradient(circle at 18% 26%, rgba(255, 209, 24, 0.44), transparent 15rem),
    radial-gradient(circle at 84% 20%, rgba(238, 61, 25, 0.24), transparent 18rem),
    #d8f0e1;
}

.scene-four {
  background:
    radial-gradient(circle at 18% 78%, rgba(9, 105, 158, 0.2), transparent 19rem),
    linear-gradient(140deg, #fff4dc, #f8e8bf 58%, #ffe170);
}

.scene-five {
  min-height: 84vh;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    var(--purple);
  background-size: 90px 90px;
  color: #fff;
}

.shapes span {
  position: absolute;
  display: block;
}

.blob {
  border: 5px solid var(--ink);
  transform: rotate(-8deg);
}

.blob.red {
  top: 16%;
  right: 11%;
  width: 180px;
  height: 120px;
  background: var(--red);
  border-radius: 55% 42% 54% 34%;
}

.blob.blue {
  right: 20%;
  bottom: 14%;
  width: 260px;
  height: 72px;
  background: var(--blue);
  border-radius: 58% 42% 10% 8%;
}

.blob.green {
  top: 52%;
  right: 8%;
  width: 94px;
  height: 190px;
  background: var(--green);
  border-radius: 49% 34% 55% 44%;
}

.eye {
  top: 20%;
  right: 32%;
  width: 150px;
  height: 78px;
  border: 12px solid var(--ink);
  border-radius: 70% 0 70% 0;
  transform: rotate(45deg);
}

.eye::after {
  position: absolute;
  top: 16px;
  left: 43px;
  width: 36px;
  height: 36px;
  content: "";
  background: var(--ink);
  border-radius: 50%;
}

.bottle {
  right: 13%;
  bottom: 36%;
  width: 84px;
  height: 152px;
  background: #fff;
  border: 9px solid var(--ink);
  border-radius: 17px;
}

.bottle::before {
  position: absolute;
  top: -46px;
  left: 17px;
  width: 32px;
  height: 44px;
  content: "";
  background: var(--yellow);
  border: 8px solid var(--ink);
  border-radius: 50% 50% 8px 8px;
}

.pacifier {
  right: 39%;
  bottom: 19%;
  width: 110px;
  height: 74px;
  background: var(--yellow);
  border: 8px solid var(--ink);
  border-radius: 50%;
}

.pacifier::before {
  position: absolute;
  top: -36px;
  left: 22px;
  width: 52px;
  height: 52px;
  content: "";
  background: var(--red);
  border: 8px solid var(--ink);
  border-radius: 55% 46% 40% 55%;
}

.fabric,
.media,
.artists,
.share {
  gap: 2rem;
}

.quilt-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1120px;
}

.story-card {
  min-height: 220px;
  padding: 1.1rem;
  background: var(--paper);
  border: 5px solid var(--ink);
  box-shadow: 10px 10px 0 var(--yellow);
  transform: rotate(-1.5deg);
}

.story-card:nth-child(2n) {
  background: #fff;
  box-shadow: 10px 10px 0 var(--red);
  transform: rotate(1.5deg);
}

.story-card:nth-child(3n) {
  box-shadow: 10px 10px 0 var(--blue);
}

.story-card p {
  font-size: 1.1rem;
}

.story-card span,
.form-note {
  font-family: var(--body-font);
  font-weight: 750;
}

.video-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  max-width: 1100px;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  padding: 0.8rem;
  background: var(--yellow);
  border: 6px solid var(--ink);
  box-shadow: 14px 14px 0 var(--purple);
}

.video-frame.tape-blue {
  background: var(--blue);
  box-shadow: 14px 14px 0 var(--red);
}

.video-frame iframe,
.video-placeholder {
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--ink);
}

.video-placeholder {
  display: grid;
  place-items: center;
  font-family: var(--display-font);
  color: #fff;
  border: 4px solid var(--ink);
  font-size: clamp(1.3rem, 4vw, 3rem);
  text-align: center;
  text-transform: uppercase;
}

.artist-card {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  max-width: 1120px;
}

.artist-card.reverse {
  grid-template-columns: 1fr 0.55fr;
}

.artist-card.reverse img {
  order: 2;
}

.artist-card img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border: 6px solid var(--ink);
  box-shadow: 14px 14px 0 var(--red);
}

.story-form {
  display: grid;
  gap: 1rem;
  width: min(100%, 740px);
  padding: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 6px solid var(--ink);
  box-shadow: 14px 14px 0 var(--yellow);
}

label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--body-font);
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  padding: 0.9rem;
  color: var(--ink);
  background: #fff;
  border: 4px solid var(--ink);
  font: 650 1rem/1.35 var(--body-font);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.site-footer {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem clamp(1rem, 6vw, 5rem);
  background: var(--ink);
  color: #fff;
}

.site-footer img {
  width: 120px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 4px solid #fff;
}

.site-footer p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.moderation-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 209, 24, 0.34), transparent 16rem),
    radial-gradient(circle at 84% 18%, rgba(238, 61, 25, 0.2), transparent 18rem),
    var(--paper);
}

.moderation-shell {
  display: grid;
  gap: 1.4rem;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(1rem, 5vw, 3rem);
}

.moderation-shell h1 {
  margin-bottom: 0.7rem;
  font-size: clamp(2.6rem, 10vw, 6rem);
}

.moderation-list {
  display: grid;
  gap: 1rem;
}

.moderation-item {
  padding: 1rem;
  background: #fff;
  border: 5px solid var(--ink);
  box-shadow: 10px 10px 0 var(--blue);
}

.moderation-item p {
  font-size: 1.05rem;
}

.moderation-item span {
  display: block;
  margin-bottom: 0.8rem;
  font-family: var(--body-font);
  font-weight: 750;
}

.moderation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

@media (max-width: 840px) {
  .site-header {
    position: sticky;
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .actions,
  .quilt-grid,
  .video-row,
  .artist-card,
  .artist-card.reverse,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  h1 {
    font-size: clamp(4rem, 22vw, 7rem);
  }

  .shapes {
    opacity: 0.42;
  }

  .artist-card.reverse img {
    order: 0;
  }
}
