@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  font-family: Manrope, Arial, sans-serif;
  color: #242620;
  background: #f8f5ec;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
svg { display: block; }
[hidden] { display: none !important; }
::selection { color: #242620; background: #c9c4ef; }
:focus-visible { outline: 2px solid #e45331; outline-offset: 5px; }

.page {
  width: min(100% - 112px, 1232px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 20px;
  padding-block: 8px 16px;
}

.hero-copy { position: relative; z-index: 1; padding-bottom: 10px; }
h1 {
  margin: 0;
  font-size: clamp(48px, 6.2vw, 88px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.065em;
  white-space: nowrap;
}
.accent { position: relative; display: inline-block; color: #e45331; }
.accent > svg { position: absolute; width: 100%; height: 20px; left: 0; bottom: -12px; }

.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 43px 0 0;
  padding: 10px 17px;
  border: 1px solid #d7ddc9;
  border-radius: 30px;
  background: #e9ecdf;
  color: #4b6040;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}
.coming-soon > span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.illustration { position: relative; width: min(100%, 520px); min-width: 0; justify-self: end; }
.bubble-scene { width: 100%; height: auto; overflow: visible; }
.scene-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.scene-button:disabled { cursor: default; opacity: 1; }
.mascot { transform-origin: 50% 90%; animation: bob 5s ease-in-out infinite; }
.orbit-one { animation: float 7s ease-in-out infinite; }
.orbit-two { animation: float 8s ease-in-out -3s infinite; }
.small-bubbles { animation: float 4s ease-in-out -1s infinite; }

footer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 18px; padding-block: 8px 12px; }
footer a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-inline: 5px;
  color: #686b60;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: color .2s;
}
footer a > span { font-size: 17px; }
footer a:hover { color: #e45331; }
.cookie-note { margin: 0; color: #686b60; font-size: 11px; line-height: 1.6; text-align: center; }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-7px) rotate(1deg); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 900px) and (min-width: 701px) {
  .page { width: calc(100% - 64px); }
  h1 { font-size: 6.4vw; }
  .hero { gap: 5px; }
}

@media (max-width: 700px) {
  .page { width: calc(100% - 40px); }
  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: center;
    gap: 42px;
    padding-block: 24px 16px;
  }
  .hero-copy { text-align: center; padding-bottom: 0; }
  h1 { font-size: clamp(38px, 10.7vw, 68px); letter-spacing: -.06em; }
  .accent > svg { height: 14px; bottom: -9px; }
  .coming-soon { font-size: 10px; letter-spacing: 1.5px; margin-top: 30px; padding: 8px 14px; }
  .illustration { width: min(100%, 390px); justify-self: center; }
  footer { flex-direction: column; gap: 0; padding-block: 10px 16px; }
  footer a { font-size: 11px; }
  .cookie-note { font-size: 10px; }
}

@media (max-width: 360px) {
  .page { width: calc(100% - 32px); }
  h1 { font-size: 10.6vw; }
  .hero { padding-top: 18px; gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Brand and the illustration's playful details. */
.site-header { display: flex; align-items: center; min-height: 92px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #242620;
  text-decoration: none;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1.2px;
  white-space: nowrap;
}
.brand-mark { width: 46px; height: 50px; flex-shrink: 0; overflow: visible; }
.brand-light { font-weight: 500; }
.brand-period { color: #e45331; }
.art-label {
  pointer-events: none;
  position: absolute;
  left: 14%;
  top: -1%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 1.5px;
  transform: rotate(-7deg);
}
.art-label > span { font-size: 18px; }
.speech-bubble {
  pointer-events: none;
  position: absolute;
  top: 4%;
  right: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 180px;
  min-height: 92px;
  padding: 20px 18px;
  border: 1.5px solid #242620;
  border-radius: 50%;
  color: #242620;
  background: #fffef8;
  box-shadow: 3px 4px 0 #242620;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 700;
  text-align: center;
  transform: rotate(7deg);
}
.speech-bubble > svg { position: absolute; width: 27px; height: 24px; bottom: -18px; left: 32px; }
.art-controls { display: flex; align-items: center; justify-content: center; }
.shake-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 0;
  border: 0;
  color: #242620;
  background: transparent;
  font: 700 12px Manrope, Arial, sans-serif;
  cursor: pointer;
}
.shake-button > svg { width: 20px; height: 20px; }
.shake-button:hover { color: #e45331; }
.energy-lines { opacity: 0; }
.is-shaking .mascot { animation: shake .75s ease-in-out; }
.is-shaking .energy-lines { animation: energy .75s ease-in-out; }
.is-shaking .small-bubbles { animation: bubble-pop .75s ease-out; }

@keyframes shake {
  0%, 100% { transform: rotate(0); }
  15%, 45%, 75% { transform: rotate(-8deg); }
  30%, 60%, 90% { transform: rotate(8deg); }
}
@keyframes energy {
  0%, 100% { opacity: 0; }
  20%, 80% { opacity: 1; }
}
@keyframes bubble-pop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-25px) scale(1.02); }
}

@media (max-width: 900px) and (min-width: 701px) {
  .speech-bubble { width: 146px; min-height: 78px; padding: 17px 12px; font-size: 10px; }
  .art-label { left: 9%; font-size: 7px; letter-spacing: 1px; }
}
@media (max-width: 700px) {
  .site-header { min-height: 88px; justify-content: center; }
  .brand { font-size: 24px; gap: 8px; }
  .brand-mark { width: 40px; height: 44px; }
  .art-label { top: -3%; left: 8%; font-size: 7px; letter-spacing: 1.1px; }
  .art-label > span { font-size: 15px; }
  .speech-bubble { top: 3%; right: 0; width: 146px; min-height: 78px; padding: 16px 12px; font-size: 10px; box-shadow: 2px 3px 0 #242620; }
  .speech-bubble > svg { width: 24px; height: 23px; bottom: -16px; left: 26px; }
  .art-controls { padding-right: 0; }
  .shake-button { font-size: 11px; }
}
@media (max-width: 360px) {
  .site-header { min-height: 76px; }
  .brand { font-size: 23px; }
  .speech-bubble { width: 134px; min-height: 72px; padding: 14px 10px; font-size: 9px; }
  .art-label { left: 4%; font-size: 6px; }
}
