:root {
  --ink: #081b2a;
  --cream: #fff4d2;
  --paper: #f7e8bd;
  --orange: #ff8a00;
  --yellow: #ffc93d;
  --green: #60a934;
  --blue: #159ec9;
  --red: #ef4a33;
  --purple: #281631;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: .08;
  background: repeating-radial-gradient(circle at 20% 30%, var(--ink) 0 1px, transparent 1px 5px);
  background-size: 9px 9px;
  mix-blend-mode: multiply;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: .8rem 1rem;
  border: 3px solid var(--ink);
  background: white;
}

.skip-link:focus { top: 1rem; }

.chomp-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1rem, 4vw, 4rem);
  color: var(--cream);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.chomp-header p { margin: 0; }
.back-link { text-decoration: none; }
.back-link:hover,
.back-link:focus-visible { color: var(--yellow); }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, .9fr);
  align-items: center;
  padding: clamp(7rem, 13vw, 11rem) clamp(1.2rem, 7vw, 7rem) clamp(4rem, 8vw, 7rem);
  color: white;
  background: var(--purple);
}

.hero-burst {
  position: absolute;
  inset: -35%;
  opacity: .36;
  background: repeating-conic-gradient(from 8deg, var(--orange) 0 8deg, transparent 8deg 18deg);
  animation: slowSpin 70s linear infinite;
}

.hero::after {
  content: "";
  position: absolute;
  width: 46vw;
  max-width: 680px;
  aspect-ratio: 1;
  right: -8vw;
  top: -12vw;
  border: clamp(2rem, 5vw, 5rem) solid var(--green);
  border-radius: 50%;
  opacity: .42;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--yellow);
  font-size: .76rem;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--orange);
  font-size: clamp(4rem, 9vw, 8.5rem);
  line-height: .78;
  letter-spacing: -.075em;
  text-transform: uppercase;
  text-shadow: .055em .055em 0 var(--ink), .09em .09em 0 var(--blue);
  transform: rotate(-2deg);
}

.hero h1 span {
  color: var(--cream);
  font-size: .55em;
  text-shadow: .07em .07em 0 var(--red);
}

.hero-lede {
  max-width: 700px;
  margin: 2rem 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.5;
}

.pencil-hero {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  justify-self: end;
  padding: clamp(.65rem, 1.4vw, 1rem);
  border: .45rem solid var(--ink);
  background: #fff;
  box-shadow: .8rem .8rem 0 var(--blue);
  filter: drop-shadow(1rem 1.2rem 0 rgba(0,0,0,.22));
  transform: rotate(2deg) scale(1.08);
}

.pencil-hero.opened-chomp {
  width: min(100%, 860px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transform: rotate(1deg) scale(1.04);
}

.hero-sticker {
  position: absolute;
  z-index: 4;
  right: 5vw;
  bottom: 5vh;
  display: grid;
  place-items: center;
  width: 9rem;
  aspect-ratio: 1;
  border: .35rem solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  text-align: center;
  text-transform: uppercase;
  transform: rotate(10deg);
  box-shadow: .5rem .5rem 0 var(--red);
}

.chomp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0 1.35rem;
  border: 4px solid var(--ink);
  box-shadow: .45rem .45rem 0 var(--blue);
  font-size: .9rem;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .15s ease, box-shadow .15s ease;
}

.chomp-button:hover,
.chomp-button:focus-visible {
  transform: translate(.2rem, .2rem);
  box-shadow: .25rem .25rem 0 var(--blue);
}

.chomp-button-dark {
  color: white;
  background: var(--red);
}

.chomp-button-light {
  background: var(--yellow);
}

.rolling-banner {
  overflow: hidden;
  padding: 1rem 0;
  border-top: 5px solid var(--ink);
  border-bottom: 5px solid var(--ink);
  color: var(--ink);
  background: var(--yellow);
  white-space: nowrap;
  text-transform: uppercase;
}

.rolling-banner div {
  width: max-content;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  animation: marquee 34s linear infinite;
}

.rolling-banner span {
  padding: 0 .8rem;
  color: var(--red);
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(250px, .65fr) minmax(320px, 1fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: center;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 8vw, 9rem);
  background: var(--cream);
}

.manifesto-logo {
  width: min(100%, 520px);
  justify-self: center;
  padding: clamp(.7rem, 2vw, 1.2rem);
  border: .5rem solid var(--ink);
  background: var(--cream);
  box-shadow: 1rem 1rem 0 var(--orange);
  transform: rotate(-3deg);
}

.manifesto h2,
.wall-heading h2,
.meeting-card h2,
.not-required h2,
.final-call h2 {
  margin: 0;
  font-size: clamp(2.7rem, 6.5vw, 6rem);
  line-height: .88;
  letter-spacing: -.06em;
  text-transform: uppercase;
}

.manifesto-copy .eyebrow,
.wall-heading .eyebrow,
.meeting-card .eyebrow,
.not-required .eyebrow,
.final-call .eyebrow { color: var(--red); }

.manifesto-copy > p:not(.eyebrow) {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.6;
}

.work-wall {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 7vw, 7rem);
  color: var(--cream);
  background: var(--ink);
}

.wall-heading {
  display: grid;
  grid-template-columns: .45fr 1fr .55fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.wall-heading > p:last-child {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.2rem;
}

.work-card {
  grid-column: span 4;
  min-height: 320px;
  padding: 1.5rem;
  border: 5px solid var(--cream);
  color: var(--ink);
  background: var(--orange);
  box-shadow: .55rem .55rem 0 var(--red);
  transform: rotate(1deg);
}

.work-card:nth-child(2) {
  background: var(--green);
  transform: rotate(-1.5deg);
}

.work-card:nth-child(4) {
  background: var(--blue);
  transform: rotate(1.5deg);
}

.work-card-wide {
  grid-column: span 8;
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 1.5rem;
  background: var(--cream);
}

.work-card-image {
  padding: 0;
  overflow: hidden;
  background: var(--purple);
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card span {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.work-card h3 {
  margin: 1.2rem 0 .7rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: .9;
  text-transform: uppercase;
}

.work-card p {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.5;
}

.work-card-quote {
  grid-column: span 8;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: var(--red);
}

.work-card blockquote {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4.3rem);
  line-height: .95;
  text-transform: uppercase;
}

.meeting-section {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(300px, .7fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 8vw, 9rem);
  background:
    radial-gradient(circle at 15% 15%, rgba(255,255,255,.2), transparent 18rem),
    var(--green);
}

.meeting-card {
  padding: clamp(2rem, 5vw, 4rem);
  border: 6px solid var(--ink);
  background: var(--cream);
  box-shadow: 1rem 1rem 0 var(--orange);
}

.meeting-big {
  max-width: 700px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
}

.meeting-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.meeting-details > div {
  display: grid;
  gap: .25rem;
  padding: 1.2rem;
  border: 3px solid var(--ink);
  background: white;
}

.meeting-details small {
  color: var(--red);
  text-transform: uppercase;
}

.meeting-details strong { font-size: 1.3rem; }

.meeting-details span {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.35;
}

.meeting-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.meeting-actions .chomp-button {
  margin-top: 0;
}

.invite-note {
  max-width: 42rem;
  margin: 1.2rem 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.45;
}

.first-night {
  align-self: center;
  padding: 2rem;
  border: 5px dashed var(--ink);
  background: var(--yellow);
  transform: rotate(2deg);
}

.first-night .eyebrow { color: var(--red); }

.first-night ol {
  display: grid;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.first-night li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .25rem .8rem;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.4;
}

.first-night li span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  color: white;
  background: var(--red);
  font-family: "Arial Black", sans-serif;
}

.not-required {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 6px solid var(--ink);
  border-bottom: 6px solid var(--ink);
}

.not-required > div {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 6vw, 6rem);
  background: var(--orange);
}

.not-required > div + div {
  border-left: 6px solid var(--ink);
  background: var(--blue);
}

.not-required h2 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.final-call {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 5rem 1.2rem;
}

.final-call > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-call::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8,27,42,.38);
}

.final-call > div {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  padding: clamp(2rem, 6vw, 5rem);
  border: 6px solid var(--ink);
  background: rgba(255,244,210,.95);
  text-align: center;
  box-shadow: 1rem 1rem 0 var(--green);
}

.final-call p:not(.eyebrow) {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.chomp-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem clamp(1.2rem, 5vw, 5rem);
  color: var(--cream);
  background: var(--ink);
  font-size: .8rem;
}

.chomp-footer p { margin: 0; }

.chomp-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

@keyframes slowSpin { to { transform: rotate(1turn); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .hero,
  .manifesto,
  .wall-heading,
  .meeting-section {
    grid-template-columns: 1fr;
  }

  .pencil-hero {
    max-width: 620px;
    justify-self: center;
    box-shadow: .55rem .55rem 0 var(--blue);
  }

  .pencil-hero.opened-chomp {
    aspect-ratio: 16 / 10;
  }

  .hero-sticker { bottom: 2rem; }
  .work-card,
  .work-card-wide,
  .work-card-quote { grid-column: span 12; }
  .work-card-wide { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .chomp-header { align-items: flex-start; }
  .chomp-header p { max-width: 10rem; text-align: right; }
  .hero { padding-bottom: 7rem; }
  .hero h1 { font-size: clamp(3.5rem, 18vw, 5.7rem); }
  .hero-sticker { width: 7rem; right: 1rem; }
  .manifesto-logo { box-shadow: .55rem .55rem 0 var(--orange); }
  .work-card-wide { grid-template-columns: 1fr; }
  .meeting-details,
  .not-required { grid-template-columns: 1fr; }
  .not-required > div + div {
    border-left: 0;
    border-top: 6px solid var(--ink);
  }
  .final-call > div { box-shadow: .55rem .55rem 0 var(--green); }
  .chomp-footer { flex-direction: column; }
}

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