:root {
  --paper: #f6f0df;
  --paper-light: #fffdf6;
  --ink: #28251f;
  --muted: #6f695e;
  --orange: #dc623f;
  --yellow: #f2b83d;
  --blue: #43899a;
  --green: #6d8763;
  --pink: #d88c91;
  --line: rgba(40, 37, 31, .23);
  --shadow: 0 15px 45px rgba(67, 54, 33, .12);
  --display: "Caveat Brush", "Comic Sans MS", cursive;
  --body: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(242, 184, 61, .12), transparent 18rem),
    repeating-linear-gradient(0deg, transparent 0 4px, rgba(73, 64, 47, .018) 4px 5px),
    var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: .23;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.1'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: .65rem 1rem;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 18px;
  border-bottom: 2px solid var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  transform: rotate(-4deg);
}

.brand-wordmark {
  display: inline-flex;
  color: inherit;
  text-decoration: none;
}

.brand-name {
  position: relative;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.65rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.brand-name::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 1px;
  height: 5px;
  content: "";
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 7C48 2 110 9 198 3' fill='none' stroke='%23dc623f' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}

.brand-name span {
  color: var(--orange);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  font-size: .83rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:not(.nav-button):hover {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: .7rem 1rem;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 700;
  text-decoration: none;
  transform: rotate(1deg);
  transition: .18s ease;
}

.nav-button:hover {
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(3px, 3px) rotate(1deg);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 8px;
  border: 0;
  background: transparent;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 3px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 50%;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  min-height: 565px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 45px 0 58px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-left: 2vw;
}

.eyebrow,
.kicker {
  margin: 0 0 1rem;
  color: var(--orange);
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  margin-right: .75rem;
  padding: .2rem .55rem;
  color: var(--ink);
  background: var(--yellow);
  transform: rotate(-2deg);
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.5rem, 7.5vw, 7.2rem);
  font-weight: 400;
  line-height: .75;
  letter-spacing: -.055em;
}

.hero h1 em {
  position: relative;
  display: inline-block;
  margin-top: .22em;
  color: var(--orange);
  font-style: normal;
  white-space: nowrap;
  transform: rotate(-2deg);
}

.hero h1 em::after {
  position: absolute;
  right: 2%;
  bottom: -.08em;
  left: 3%;
  height: 10px;
  content: "";
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 15' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 9c77-10 182 9 294-3' fill='none' stroke='%2343899a' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}

.hero-intro {
  max-width: 500px;
  margin: 2rem 0 1.4rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-meta strong {
  color: var(--ink);
  font-size: 1rem;
}

.hero-button {
  padding: .9rem 1.35rem;
  transform: rotate(-1deg);
}

.hero-button svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.hero-button:hover {
  transform: translate(3px, 3px) rotate(-1deg);
}

.hero-art {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: center;
  width: min(100%, 410px);
  height: auto;
  margin: 0;
  padding: 22px 22px 52px;
  background: #fffaf0;
  box-shadow: var(--shadow);
  transform: rotate(2.4deg);
}

.hero-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(.93) contrast(1.02);
}

.hero-art figcaption {
  display: flex;
  justify-content: space-between;
  padding: 12px 5px 0;
  font-family: var(--display);
  font-size: 1.35rem;
}

.hero-art figcaption span {
  color: var(--orange);
  transform: rotate(-3deg);
}

.tape {
  position: absolute;
  z-index: 3;
  width: 130px;
  height: 35px;
  background: rgba(225, 203, 151, .58);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.tape-top {
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
}

.doodle {
  position: absolute;
  pointer-events: none;
}

.doodle-star {
  top: 9%;
  left: -1%;
  color: var(--yellow);
  font-size: 4rem;
  transform: rotate(12deg);
}

.lesson {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 110px;
}

.section-heading {
  max-width: 690px;
  margin: 0 auto 65px;
  text-align: center;
}

.section-heading h2,
.about h2,
.newsletter h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 7vw, 5.4rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.04em;
}

.section-heading > p:last-child {
  max-width: 570px;
  margin: 1.2rem auto 0;
  color: var(--muted);
}

.lesson-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

.paper-panel {
  position: sticky;
  top: 25px;
  padding: 34px 28px 28px;
  background: #fffdf4;
  box-shadow: 8px 10px 0 rgba(40, 37, 31, .1);
  transform: rotate(-1.4deg);
  clip-path: polygon(1% 1%, 97% 0, 100% 96%, 82% 98%, 65% 96%, 48% 99%, 31% 97%, 16% 100%, 0 97%);
}

.pushpin {
  position: absolute;
  top: 13px;
  right: 18px;
  width: 14px;
  height: 14px;
  background: var(--orange);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2px 3px 3px rgba(0, 0, 0, .2);
}

.hand-note {
  margin: 0 0 .2rem;
  color: var(--orange);
  font-family: var(--display);
  font-size: 1.3rem;
  transform: rotate(-3deg);
}

.materials h3 {
  margin: 0 0 1.4rem;
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 400;
}

.materials ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.materials li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  border-top: 1px dashed var(--line);
}

.materials strong,
.materials small {
  display: block;
}

.materials strong {
  font-size: .86rem;
}

.materials small {
  color: var(--muted);
  font-size: .7rem;
}

.material-icon {
  position: relative;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
}

.pencil-icon::before {
  position: absolute;
  top: 15px;
  left: 2px;
  width: 31px;
  height: 7px;
  content: "";
  background: var(--yellow);
  border: 2px solid var(--ink);
  transform: rotate(-35deg);
}

.paper-icon {
  width: 28px;
  height: 33px;
  margin-left: 3px;
  border: 2px solid var(--ink);
  background: white;
  transform: rotate(5deg);
}

.paper-icon::after {
  position: absolute;
  inset: 8px 4px;
  content: "";
  background: repeating-linear-gradient(to bottom, transparent 0 5px, var(--blue) 5px 6px);
  opacity: .5;
}

.eraser-icon {
  width: 28px;
  height: 17px;
  margin-left: 2px;
  border: 2px solid var(--ink);
  background: var(--pink);
  transform: rotate(-8deg);
}

.colors-icon::before,
.colors-icon::after {
  position: absolute;
  top: 5px;
  width: 7px;
  height: 29px;
  content: "";
  border: 2px solid var(--ink);
  transform: rotate(22deg);
}

.colors-icon::before {
  left: 8px;
  background: var(--orange);
}

.colors-icon::after {
  left: 20px;
  background: var(--blue);
}

.materials-note {
  margin: 18px -6px 0;
  padding: 13px;
  color: #4e5140;
  background: rgba(242, 184, 61, .28);
  font-size: .72rem;
  line-height: 1.5;
  transform: rotate(1deg);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, .8fr) 1.2fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  min-height: 335px;
  margin-bottom: 34px;
  padding: 36px 38px;
  border: 2px solid var(--ink);
  background: rgba(255, 253, 246, .66);
  box-shadow: 6px 7px 0 var(--ink);
}

.step-card:nth-child(even) {
  transform: rotate(.35deg);
}

.step-card:nth-child(odd) {
  transform: rotate(-.25deg);
}

.step-number {
  position: absolute;
  top: -19px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 55px;
  height: 45px;
  color: white;
  background: var(--orange);
  border: 2px solid var(--ink);
  font-family: var(--display);
  font-size: 1.5rem;
  transform: rotate(-5deg);
}

.step-card:nth-child(2n) .step-number {
  background: var(--blue);
  transform: rotate(4deg);
}

.step-card:nth-child(3n) .step-number {
  color: var(--ink);
  background: var(--yellow);
}

.step-check {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  padding: 0;
  border: 2px solid var(--line);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
}

.step-check:hover {
  border-color: var(--green);
}

.step-check[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--green);
}

.step-check[aria-pressed="true"] span {
  width: 8px;
  height: 14px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: translateY(-2px) rotate(42deg);
}

.step-art {
  display: grid;
  place-items: center;
  min-height: 230px;
  background:
    linear-gradient(rgba(67, 137, 154, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67, 137, 154, .08) 1px, transparent 1px);
  background-size: 20px 20px;
  border: 1px solid rgba(67, 137, 154, .16);
}

.step-art svg {
  width: 100%;
  max-height: 245px;
  padding: 14px;
  overflow: visible;
}

.step-art img {
  width: 100%;
  height: 100%;
  max-height: 245px;
  padding: 10px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.construction {
  fill: none;
  stroke: #9c9385;
  stroke-width: 2;
  stroke-dasharray: 6 6;
  stroke-linecap: round;
  opacity: .78;
}

.faint-construction {
  opacity: .42;
}

.drawing {
  fill: none;
  stroke: #403c35;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drawing .bold-line,
.bold-line {
  stroke-width: 4;
}

.refined {
  stroke-width: 2.5;
}

.fur {
  stroke-width: 2;
}

.step-copy h3 {
  margin: 0 0 .65rem;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1;
}

.step-copy > p {
  margin: 0;
  color: var(--muted);
}

.artist-tip {
  position: relative;
  margin: 1.35rem 4px 0 7px !important;
  padding: 14px 17px 13px 44px;
  color: var(--ink) !important;
  background: #f8df93;
  box-shadow: 3px 4px 0 rgba(40, 37, 31, .12);
  clip-path: polygon(1% 4%, 98% 0, 100% 93%, 84% 97%, 65% 94%, 46% 100%, 27% 95%, 0 98%);
  font-family: var(--display);
  font-size: 1.08rem;
  line-height: 1.15;
  transform: rotate(-.8deg);
}

.artist-tip::before {
  position: absolute;
  top: 10px;
  left: 13px;
  content: "✎";
  color: var(--orange);
  font-size: 1.55rem;
  transform: rotate(-12deg);
}

.artist-tip strong {
  color: var(--orange);
  font-weight: 400;
}

.step-card:nth-child(even) .artist-tip {
  background: #f4e6b7;
  transform: rotate(.6deg);
}

.final-step {
  background: rgba(220, 98, 63, .08);
}

.finished-mini {
  padding: 14px;
  background: #fff9ec;
}

.finished-mini img {
  width: 100%;
  height: 250px;
  max-height: 250px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.library {
  padding: 110px max(20px, calc((100vw - 1180px) / 2)) 130px;
  background: #e9e1cf;
}

.library-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
  margin-bottom: 50px;
  text-align: left;
}

.library-heading h2 {
  max-width: 700px;
}

.library-heading > a {
  margin-bottom: .4rem;
  font-weight: 700;
  text-underline-offset: 5px;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.sketch-card {
  position: relative;
  padding: 16px 16px 27px;
  color: var(--ink);
  background: var(--paper-light);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .2s ease;
}

.sketch-card:nth-child(1) {
  transform: rotate(-1.5deg);
}

.sketch-card:nth-child(2) {
  transform: translateY(12px) rotate(1deg);
}

.sketch-card:nth-child(3) {
  transform: rotate(-.5deg);
}

.sketch-card:hover {
  z-index: 2;
  transform: translateY(-8px) rotate(0);
}

.card-art {
  display: grid;
  place-items: center;
  aspect-ratio: 4/3;
  margin-bottom: 20px;
}

.card-art svg {
  width: 78%;
  max-height: 190px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-art img {
  width: 82%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.card-blue .card-art {
  background: rgba(67, 137, 154, .26);
}

.card-yellow .card-art {
  background: rgba(242, 184, 61, .32);
}

.card-red .card-art {
  background: rgba(220, 98, 63, .24);
}

.card-orange .card-art {
  background: rgba(224, 105, 68, .2);
}

.sketch-card p {
  margin: 0 0 .6rem;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sketch-card p span {
  margin-right: .5rem;
  color: var(--orange);
}

.sketch-card h2,
.sketch-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.card-link {
  display: inline-block;
  margin-top: 1.25rem;
  border-bottom: 2px solid var(--ink);
  font-size: .78rem;
  font-weight: 700;
}

.archive-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .8fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  width: min(1080px, calc(100% - 40px));
  min-height: 610px;
  margin: 0 auto;
  padding: 85px 0 110px;
}

.archive-intro h1 {
  margin: .8rem 0 2rem;
  font-family: var(--display);
  font-size: clamp(5rem, 9vw, 8.5rem);
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.04em;
}

.archive-intro h1 em {
  position: relative;
  color: var(--orange);
  font-style: normal;
}

.archive-intro h1 em::after {
  position: absolute;
  right: 0;
  bottom: -.08em;
  left: .02em;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg width='260' height='12' viewBox='0 0 260 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 8C58 2 132 13 258 4' fill='none' stroke='%23dc623f' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  content: "";
}

.archive-intro > p:not(.eyebrow) {
  max-width: 610px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.archive-stack {
  position: relative;
  min-height: 410px;
}

.archive-sheet {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(310px, 72vw);
  padding: 18px 18px 42px;
  background: var(--paper-light);
  box-shadow: 10px 14px 28px rgba(48, 45, 39, .17);
}

.archive-sheet::after {
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: var(--orange);
  font-family: var(--display);
  font-size: 1.1rem;
  content: "daily sketch";
}

.archive-sheet:nth-child(1) {
  z-index: 3;
  transform: translate(-45%, -47%) rotate(3deg);
}

.archive-sheet:nth-child(2) {
  z-index: 2;
  transform: translate(-67%, -54%) rotate(-8deg);
}

.archive-sheet:nth-child(3) {
  z-index: 1;
  transform: translate(-29%, -55%) rotate(11deg);
}

.archive-sheet img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.archive-library {
  min-height: 620px;
}

.archive-count {
  margin: 0 0 .4rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.archive-grid {
  grid-template-columns: repeat(4, 1fr);
}

.archive-grid .sketch-card:nth-child(4n) {
  transform: translateY(8px) rotate(1.4deg);
}

.archive-grid .card-art {
  aspect-ratio: 1;
}

.archive-grid .sketch-card p {
  line-height: 1.6;
}

.archive-grid .sketch-card h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
}

.lab-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .74fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  width: min(1080px, calc(100% - 40px));
  min-height: 640px;
  margin: 0 auto;
  padding: 80px 0 110px;
}

.lab-copy h1 {
  margin: .8rem 0 1.7rem;
  font-family: var(--display);
  font-size: clamp(4.8rem, 9vw, 8.4rem);
  font-weight: 400;
  line-height: .84;
  letter-spacing: -.04em;
}

.lab-copy h1 em {
  position: relative;
  color: var(--blue);
  font-style: normal;
}

.lab-copy h1 em::after {
  position: absolute;
  right: .02em;
  bottom: -.08em;
  left: .04em;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg width='260' height='12' viewBox='0 0 260 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 8C61 1 139 13 258 4' fill='none' stroke='%2343899a' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  content: "";
}

.lab-copy > p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.lab-hero-card {
  position: relative;
  margin: 0;
  padding: 22px 22px 50px;
  background: var(--paper-light);
  box-shadow: 12px 15px 32px rgba(48, 45, 39, .16);
  transform: rotate(2deg);
}

.lab-hero-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.lab-hero-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 17px;
  font-family: var(--display);
  font-size: 1.22rem;
}

.lab-hero-card figcaption span {
  color: var(--orange);
}

.lab-board {
  padding: 110px max(20px, calc((100vw - 1180px) / 2)) 130px;
  background:
    radial-gradient(circle at 16% 20%, rgba(242, 184, 61, .16), transparent 30%),
    radial-gradient(circle at 78% 8%, rgba(67, 137, 154, .14), transparent 29%),
    #e9e1cf;
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.4rem);
  align-items: start;
}

.lab-card {
  position: relative;
  padding: 16px 16px 28px;
  background: var(--paper-light);
  box-shadow: var(--shadow);
}

.lab-card:nth-child(1) {
  transform: rotate(-1.4deg);
}

.lab-card:nth-child(2) {
  margin-top: 42px;
  transform: rotate(1deg);
}

.lab-card:nth-child(3) {
  transform: rotate(-.4deg);
}

.lab-card::before {
  position: absolute;
  top: -14px;
  left: 42%;
  width: 78px;
  height: 27px;
  background: rgba(238, 209, 137, .7);
  content: "";
  transform: rotate(-3deg);
}

.lab-tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: .32rem .55rem;
  background: var(--yellow);
  color: var(--ink);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

.detailed-test .lab-tag {
  background: #e9c1a4;
}

.scene-test .lab-tag {
  background: #cbd8b5;
}

.lab-card figure {
  margin: 0;
  background: #fff8ec;
}

.lab-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.lab-card-copy {
  padding: 20px 4px 0;
}

.lab-card-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 400;
  line-height: .96;
}

.lab-card-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.lab-card-copy ul {
  display: grid;
  gap: .5rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .9rem;
}

.lab-card-copy li {
  padding-top: .55rem;
  border-top: 1px dashed rgba(64, 60, 53, .22);
}

.lab-card-copy strong {
  color: var(--orange);
}

.about {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 130px 0;
}

.about-drawing {
  transform: rotate(-3deg);
}

.about-drawing img {
  width: 100%;
  filter: drop-shadow(8px 10px 0 rgba(67, 137, 154, .14));
}

.about-copy > p:not(.kicker) {
  max-width: 620px;
  color: var(--muted);
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--ink);
}

.about-points p {
  margin: 0;
}

.about-points strong,
.about-points span {
  display: block;
}

.about-points strong {
  margin-bottom: .35rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}

.about-points span {
  color: var(--muted);
  font-size: .72rem;
}

.newsletter {
  position: relative;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto 130px;
  padding: 68px 50px 58px;
  overflow: hidden;
  border: 3px solid var(--ink);
  background: var(--blue);
  color: white;
  text-align: center;
  box-shadow: 12px 12px 0 var(--yellow);
  transform: rotate(.5deg);
}

.archive-tutorial .hero h1 em,
.archive-tutorial .eyebrow,
.archive-tutorial .kicker,
.archive-tutorial .hand-note {
  color: var(--lesson-accent);
}

.archive-tutorial .hero h1 em::after {
  filter: hue-rotate(28deg);
}

.archive-tutorial .hero-art img,
.archive-tutorial .finished-mini img {
  mix-blend-mode: multiply;
}

.related-library .library-grid {
  grid-template-columns: repeat(3, 1fr);
}

.newsletter::before,
.newsletter::after {
  position: absolute;
  width: 120px;
  height: 120px;
  content: "";
  border: 3px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
}

.newsletter::before {
  top: -70px;
  left: -40px;
}

.newsletter::after {
  right: -20px;
  bottom: -85px;
}

.newsletter .hand-note {
  color: var(--yellow);
}

.newsletter > p:not(.hand-note, .form-message) {
  margin: 1rem 0 1.8rem;
}

.signup-form {
  display: flex;
  max-width: 630px;
  margin: 0 auto 14px;
}

.signup-form input {
  flex: 1;
  min-width: 0;
  padding: 1rem 1.15rem;
  border: 2px solid var(--ink);
  border-right: 0;
  outline: 0;
  background: var(--paper-light);
}

.signup-form input:focus {
  box-shadow: inset 0 0 0 3px var(--yellow);
}

.signup-form button {
  padding: .85rem 1.15rem;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: var(--yellow);
  font-weight: 700;
  cursor: pointer;
}

.newsletter small {
  opacity: .75;
  font-size: .68rem;
}

.form-message {
  min-height: 1.5rem;
  margin: .7rem 0 0;
  color: var(--yellow);
  font-family: var(--display);
  font-size: 1.25rem;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 2.5rem;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 35px 0 45px;
  border-top: 2px solid var(--ink);
}

.footer-brand .brand-name {
  font-size: 2rem;
}

.site-footer p {
  color: var(--muted);
  font-family: var(--display);
  font-size: 1.3rem;
}

.site-footer nav {
  display: flex;
  gap: 1.5rem;
}

.site-footer nav a,
.site-footer small {
  font-size: .72rem;
  font-weight: 700;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise-in .65s ease forwards;
  }

  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-copy > :nth-child(5) { animation-delay: .32s; }

  .hero-art {
    animation: art-in .8s .15s cubic-bezier(.2, .8, .2, 1) forwards;
  }

  @keyframes rise-in {
    from { transform: translateY(18px); }
    to { transform: translateY(0); }
  }

  @keyframes art-in {
    from { transform: translateY(25px) rotate(5deg) scale(.96); }
    to { transform: translateY(0) rotate(2.4deg) scale(1); }
  }
}

@media (max-width: 960px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 2px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 15px;
    border: 2px solid var(--ink);
    background: var(--paper-light);
    box-shadow: 7px 7px 0 var(--ink);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-button {
    margin-top: 8px;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    grid-template-columns: 1.08fr .92fr;
    gap: 2rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 9vw, 6rem);
  }

  .lesson-layout {
    grid-template-columns: 1fr;
  }

  .paper-panel {
    position: relative;
    top: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 2rem;
  }

  .paper-panel .hand-note,
  .paper-panel h3,
  .materials-note {
    grid-column: 1 / -1;
  }

  .materials ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column: 1 / -1;
    gap: 0 1.5rem;
  }

  .about {
    grid-template-columns: .65fr 1.35fr;
    gap: 3rem;
  }

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

  .site-footer p {
    display: none;
  }

  .archive-hero {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

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

  .lab-hero {
    grid-template-columns: 1fr .8fr;
    gap: 2.5rem;
  }

  .lab-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: 0 auto;
  }

  .lab-card:nth-child(n) {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    width: min(100% - 36px, 620px);
    padding: 55px 0 75px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 20vw, 6.5rem);
  }

  .hero-art {
    width: 74%;
    margin: 25px auto 0;
  }

  .doodle-star {
    display: none;
  }

  .lesson {
    width: min(100% - 28px, 620px);
    padding: 90px 0;
  }

  .section-heading {
    margin-bottom: 45px;
  }

  .paper-panel {
    display: block;
  }

  .materials ul {
    display: block;
  }

  .step-card {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 38px 20px 25px;
  }

  .step-art {
    min-height: 210px;
  }

  .library {
    padding-top: 90px;
    padding-bottom: 105px;
  }

  .library-heading {
    display: block;
  }

  .library-heading > a {
    display: inline-block;
    margin-top: 1.5rem;
  }

  .library-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .archive-hero {
    grid-template-columns: 1fr;
    width: min(100% - 36px, 620px);
    min-height: 0;
    padding: 60px 0 55px;
  }

  .archive-intro h1 {
    font-size: clamp(5rem, 22vw, 7rem);
  }

  .archive-stack {
    min-height: 360px;
    margin-top: 15px;
  }

  .archive-library {
    padding-top: 80px;
  }

  .archive-count {
    margin-top: 1.5rem;
  }

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

  .lab-hero {
    grid-template-columns: 1fr;
    width: min(100% - 36px, 620px);
    min-height: 0;
    padding: 60px 0 75px;
  }

  .lab-copy h1 {
    font-size: clamp(4.4rem, 19vw, 6.6rem);
  }

  .lab-hero-card {
    width: 82%;
    margin: 20px auto 0;
  }

  .lab-board {
    padding-top: 85px;
  }

  .lab-card:nth-child(n) {
    transform: none;
  }

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

  .sketch-card:nth-child(n) {
    transform: none;
  }

  .about {
    grid-template-columns: 1fr;
    width: min(100% - 36px, 620px);
    padding: 95px 0;
  }

  .about-drawing {
    max-width: 330px;
    margin: 0 auto;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .newsletter {
    width: min(100% - 28px, 620px);
    margin-bottom: 100px;
    padding: 50px 20px 42px;
  }

  .signup-form {
    flex-direction: column;
    gap: 8px;
  }

  .signup-form input {
    border-right: 2px solid var(--ink);
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .hero-meta {
    gap: 1rem;
  }

  .hero h1 em {
    white-space: normal;
  }

  .step-card {
    box-shadow: 4px 5px 0 var(--ink);
  }

  .newsletter h2 {
    font-size: 3.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
