:root {
  --sky: #59bce8;
  --sky-dark: #2d96c9;
  --sand: #efb84e;
  --sand-light: #ffd16a;
  --yellow: #ffd21f;
  --brown: #633514;
  --orange: #dd7718;
  --ink: #17130e;
  --paper: #fff8db;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  background: var(--sand);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Trebuchet MS", Arial, sans-serif;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--sky);
}

.topbar {
  position: relative;
  z-index: 4;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.05rem;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  object-fit: cover;
  background: var(--yellow);
}

.channel-label {
  padding: 8px 13px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(1deg);
}

.hero {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 40px));
  min-height: 660px;
  margin: 0 auto;
  padding: 48px 0 138px;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: 56px;
}

.mascot-wrap {
  position: relative;
  width: min(100%, 410px);
  justify-self: end;
  transform: rotate(-1.5deg);
}

.mascot {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 7px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 14px 14px 0 var(--ink);
}

.question {
  position: absolute;
  color: var(--yellow);
  font-family: "Comic Sans MS", "Trebuchet MS", cursive;
  font-weight: 900;
  line-height: 1;
  -webkit-text-stroke: 4px var(--ink);
  paint-order: stroke fill;
}

.question-one {
  top: -46px;
  right: 14px;
  font-size: 6.2rem;
  transform: rotate(12deg);
}

.question-two {
  top: 30px;
  right: -44px;
  font-size: 3.8rem;
  transform: rotate(-8deg);
}

.eyebrow {
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 11px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

h1 {
  margin: 0;
  max-width: 680px;
  font-family: "Comic Sans MS", "Trebuchet MS", cursive;
  font-size: clamp(3.4rem, 6.8vw, 6.6rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

h1 span {
  color: var(--yellow);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
}

.intro {
  max-width: 620px;
  margin: 26px 0 28px;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-weight: 700;
  line-height: 1.55;
}

.watch-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 24px;
  border: 4px solid var(--ink);
  border-radius: 13px 10px 14px 11px;
  background: var(--yellow);
  box-shadow: 7px 7px 0 var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
  text-decoration: none;
  transform: rotate(-0.7deg);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

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

.watch-button:focus-visible {
  outline: 4px solid var(--paper);
  outline-offset: 5px;
}

.play {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid var(--ink);
}

.topics {
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
}

.topics li {
  padding: 6px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 248, 219, 0.92);
  font-size: 0.83rem;
  font-weight: 900;
}

.sand {
  position: absolute;
  z-index: 2;
  right: -2%;
  bottom: -20px;
  left: -2%;
  min-height: 130px;
  border-top: 5px solid var(--ink);
  background: var(--sand);
  transform: rotate(-0.5deg);
}

.sand p {
  width: fit-content;
  max-width: calc(100% - 240px);
  margin: 38px auto 0;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-family: "Comic Sans MS", "Trebuchet MS", cursive;
  font-weight: 900;
  transform: rotate(0.5deg);
}

.wheel {
  position: absolute;
  top: -72px;
  left: 6%;
  width: 105px;
  height: 105px;
  border: 7px solid var(--ink);
  border-radius: 50%;
  background: var(--brown);
}

.wheel::before,
.wheel::after,
.wheel span::before,
.wheel span::after {
  content: "";
  position: absolute;
  top: 46px;
  left: 5px;
  width: 81px;
  height: 6px;
  background: var(--ink);
  transform-origin: center;
}

.wheel::after {
  transform: rotate(90deg);
}

.wheel span::before {
  transform: rotate(45deg);
}

.wheel span::after {
  transform: rotate(-45deg);
}

.campfire {
  position: absolute;
  top: -82px;
  right: 7%;
  width: 115px;
  height: 105px;
}

.flame {
  position: absolute;
  z-index: 2;
  right: 31px;
  bottom: 25px;
  width: 45px;
  height: 67px;
  border: 5px solid var(--ink);
  border-radius: 50% 50% 44% 44%;
  background: var(--yellow);
  transform: rotate(12deg);
}

.flame::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 3px;
  width: 20px;
  height: 35px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
}

.log {
  position: absolute;
  bottom: 12px;
  left: 15px;
  width: 86px;
  height: 14px;
  border: 4px solid var(--ink);
  border-radius: 999px;
  background: var(--brown);
}

.log-one {
  transform: rotate(18deg);
}

.log-two {
  transform: rotate(-18deg);
}

.sun {
  position: absolute;
  z-index: 1;
  top: 100px;
  right: 9%;
  width: 138px;
  height: 138px;
  border: 5px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
}

.mountain {
  position: absolute;
  z-index: 1;
  bottom: 96px;
  width: 0;
  height: 0;
  border-right: 160px solid transparent;
  border-bottom: 260px solid var(--sky-dark);
  border-left: 160px solid transparent;
  opacity: 0.52;
}

.mountain-left {
  left: -70px;
  transform: rotate(-2deg);
}

.mountain-right {
  right: -110px;
  transform: scale(0.8) rotate(3deg);
}

@media (max-width: 840px) {
  .hero {
    min-height: auto;
    padding: 25px 0 170px;
    grid-template-columns: 1fr;
    gap: 38px;
    text-align: center;
  }

  .mascot-wrap {
    width: min(72vw, 330px);
    justify-self: center;
    order: 2;
  }

  .hero-copy {
    order: 1;
  }

  .eyebrow,
  .topics {
    margin-right: auto;
    margin-left: auto;
  }

  .topics {
    justify-content: center;
  }

  .intro {
    margin-right: auto;
    margin-left: auto;
  }

  .question-one {
    top: -28px;
    right: 5px;
    font-size: 4.5rem;
  }

  .question-two {
    right: -27px;
    font-size: 2.9rem;
  }

  .sand {
    min-height: 118px;
  }

  .sand p {
    max-width: calc(100% - 180px);
    margin-top: 35px;
    font-size: 0.83rem;
  }

  .wheel {
    left: 2%;
    transform: scale(0.72);
  }

  .campfire {
    right: 1%;
    transform: scale(0.72);
  }
}

@media (max-width: 520px) {
  .topbar {
    width: min(100% - 28px, 1120px);
  }

  .channel-label {
    display: none;
  }

  .hero {
    width: min(100% - 28px, 1120px);
    padding-top: 18px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  h1 span {
    -webkit-text-stroke-width: 2px;
  }

  .sand p {
    max-width: calc(100% - 135px);
  }

  .wheel {
    left: -12px;
  }

  .campfire {
    right: -15px;
  }
}
