:root {
  --paper: #f6f2ea;
  --ink: #1c1a22;
  --ink-soft: #57536a;
  --deep: #3e2f5b;
  --lavender: #afb3f7;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-variation-settings: "opsz" 14;
  font-size: 1.125rem;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: var(--deep);
  text-decoration-color: var(--lavender);
  text-decoration-thickness: 0.16em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: var(--deep);
}

a:focus-visible,
.toy:focus-visible {
  outline: 3px solid var(--deep);
  outline-offset: 4px;
  border-radius: 6px;
}

.top,
main,
.bottom {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.top {
  padding: 1.5rem 0;
}

.logo {
  display: inline-block;
  width: 9rem;
}

.logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.logo-ink {
  fill: var(--ink);
}

.logo-deep {
  fill: var(--deep);
}

.logo-light {
  fill: var(--lavender);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas:
    "title toy"
    "intro toy"
    "poke toy";
  align-items: end;
  column-gap: 2rem;
  padding: clamp(2rem, 8vw, 6rem) 0 clamp(3rem, 8vw, 6rem);
}

h1 {
  position: relative;
  z-index: 1;
  grid-area: title;
  margin: 0;
  font-variation-settings: "opsz" 96, "wdth" 78;
  font-weight: 750;
  font-size: clamp(3rem, 1.6rem + 6.4vw, 7.25rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--deep);
}

.intro {
  grid-area: intro;
  max-width: 31rem;
  margin: 1.75rem 0 0;
  font-size: 1.25rem;
  color: var(--ink);
}

.poke {
  grid-area: poke;
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.toy {
  grid-area: toy;
  align-self: center;
  justify-self: center;
  width: min(100%, 30rem);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform: rotate(-8deg);
}

.toy svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

#blob {
  fill: var(--lavender);
  transition: d 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toy:hover #blob {
  fill: #a3a8f5;
}

.toy:active {
  transform: rotate(-8deg) scale(0.96);
}

.things {
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

h2 {
  margin: 0 0 2rem;
  font-variation-settings: "opsz" 40, "wdth" 90;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.things ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
}

.thing {
  position: relative;
  max-width: 40rem;
  padding-left: 5.5rem;
}

.thing-brat {
  margin-left: clamp(0rem, 18vw, 16rem);
}

.dot {
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 4rem;
  height: 4rem;
}

.thing-vcr .dot {
  fill: var(--deep);
  transform: rotate(12deg);
}

.thing-brat .dot {
  fill: var(--lavender);
  transform: rotate(-20deg);
}

h3 {
  margin: 0 0 0.5rem;
  font-variation-settings: "opsz" 72, "wdth" 85;
  font-weight: 700;
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.thing p {
  margin: 0;
  color: var(--ink);
}

.bottom {
  padding: 2.5rem 0 3rem;
  border-top: 2px dashed var(--lavender);
}

.hello {
  margin: 0 0 1rem;
  font-variation-settings: "opsz" 72, "wdth" 85;
  font-weight: 650;
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.fine {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

@media (max-width: 44rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "toy"
      "title"
      "intro"
      "poke";
  }

  .toy {
    width: min(70%, 16rem);
    justify-self: end;
    margin-bottom: -2.5rem;
  }

  .thing {
    padding-left: 0;
    padding-top: 3.5rem;
  }

  .thing-brat {
    margin-left: 0;
  }

  .dot {
    width: 3rem;
    height: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #blob {
    transition: none;
  }
}
