:root {
  --ink: #24182d;
  --muted: #745e80;
  --paper: #fffdf8;
  --milk: #fff7fb;
  --pink: #ff6fb4;
  --hot: #ff3d7f;
  --lemon: #ffe66d;
  --mint: #83f5bf;
  --sky: #80d8ff;
  --violet: #c9a4ff;
  --orange: #ffad5f;
  --shadow: 0 24px 60px rgba(86, 50, 120, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Nunito", system-ui, sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 111, 180, 0.2), transparent 28%),
    radial-gradient(circle at 88% 6%, rgba(128, 216, 255, 0.28), transparent 25%),
    radial-gradient(circle at 60% 88%, rgba(131, 245, 191, 0.2), transparent 30%),
    linear-gradient(180deg, #fffdf8 0%, #fff4fb 46%, #f6fffb 100%);
  cursor: none;
  overflow-x: hidden;
}

body.extra-sparkle {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 61, 127, 0.24), transparent 25%),
    radial-gradient(circle at 86% 12%, rgba(255, 230, 109, 0.32), transparent 24%),
    radial-gradient(circle at 72% 78%, rgba(131, 245, 191, 0.25), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #fff0f9 44%, #efffff 100%);
}

a,
button {
  color: inherit;
  cursor: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 18px 18px;
  mix-blend-mode: soft-light;
}

.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  pointer-events: none;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.cursor {
  width: 38px;
  height: 38px;
  border: 2px solid var(--hot);
  background: rgba(255, 255, 255, 0.38);
  transition: width 180ms ease, height 180ms ease, background 180ms ease;
}

.cursor-dot {
  width: 9px;
  height: 9px;
  background: var(--hot);
}

.cursor.is-hovering {
  width: 58px;
  height: 58px;
  background: rgba(255, 230, 109, 0.42);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 28px));
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(36, 24, 45, 0.09);
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(255, 111, 180, 0.16);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand,
.nav-links,
.sound-pill {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: max-content;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--hot);
  border-radius: 50%;
  box-shadow: inset -4px -5px 0 rgba(0, 0, 0, 0.1);
}

.nav-links {
  gap: 6px;
  padding: 4px;
  background: #fff;
  border-radius: 999px;
}

.nav-links a,
.sound-pill {
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.nav-links a {
  transition: background 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  background: var(--lemon);
  transform: rotate(-2deg) scale(1.05);
}

.sound-pill {
  color: #fff;
  background: var(--ink);
}

.section {
  position: relative;
  min-height: 100vh;
  padding: 120px max(22px, 6vw);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(310px, 0.76fr);
  gap: 48px;
  align-items: center;
  overflow: hidden;
}

.kicker {
  margin: 0 0 16px;
  color: var(--hot);
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Baloo 2", "Nunito", system-ui, sans-serif;
  line-height: 0.92;
  letter-spacing: 0;
}

h1 {
  max-width: 1180px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5.7vw, 6.6rem);
  line-height: 0.98;
}

h2 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 7.7rem);
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 4.7rem);
}

.hero-text,
.about-copy p,
.contact-panel p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.45rem);
  font-weight: 700;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 34px;
}

.bubble-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  text-decoration: none;
  font-weight: 900;
}

.bubble-button {
  padding: 16px 24px;
  color: #fff;
  background: var(--hot);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 7px 8px 0 var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.text-link {
  padding: 0 8px;
  color: var(--ink);
  background-image: linear-gradient(var(--lemon), var(--lemon));
  background-position: 0 88%;
  background-repeat: no-repeat;
  background-size: 100% 14px;
}

.hero-stage {
  position: relative;
  min-height: 610px;
}

.poster-card,
.mini-card,
.about-badge,
.contact-panel,
.work-card,
.site-header {
  will-change: transform;
}

.poster-card,
.mini-card,
.work-card,
.about-badge,
.contact-panel {
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
}

.poster-main {
  position: absolute;
  top: 56px;
  right: 7%;
  width: min(390px, 80vw);
  min-height: 460px;
  padding: 24px;
  background: #fff;
  border-radius: 42px;
  transform: rotate(5deg);
}

.poster-label {
  display: inline-flex;
  padding: 8px 14px;
  color: #fff;
  background: var(--violet);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
}

.poster-face,
.face-art {
  position: relative;
  display: flex;
  gap: 34px;
  align-items: center;
  justify-content: center;
  min-height: 270px;
  margin: 24px 0;
  background:
    radial-gradient(circle at 25% 28%, var(--lemon) 0 14%, transparent 15%),
    radial-gradient(circle at 78% 68%, var(--mint) 0 13%, transparent 14%),
    var(--pink);
  border: 3px solid var(--ink);
  border-radius: 34px;
}

.eye {
  width: 34px;
  height: 46px;
  background: var(--ink);
  border-radius: 999px;
  animation: blink 4.5s infinite;
}

.smile {
  position: absolute;
  bottom: 72px;
  width: 92px;
  height: 44px;
  border-bottom: 8px solid var(--ink);
  border-radius: 0 0 999px 999px;
}

.poster-main p {
  margin: 0;
  font-family: "Baloo 2", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 0.95;
}

.mini-card {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 148px;
  min-height: 102px;
  padding: 16px;
  border-radius: 26px;
  font-weight: 900;
}

.card-one {
  top: 14px;
  left: 2%;
  background: var(--lemon);
  transform: rotate(-10deg);
}

.card-two {
  right: 0;
  bottom: 72px;
  color: #fff;
  background: var(--hot);
  transform: rotate(12deg);
}

.card-three {
  bottom: 18px;
  left: 7%;
  background: var(--mint);
  transform: rotate(-6deg);
}

.shape,
.toy-cloud,
.contact-stickers span {
  position: absolute;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  box-shadow: 6px 7px 0 rgba(36, 24, 45, 0.9);
  font-weight: 900;
  user-select: none;
}

.shape {
  z-index: 2;
  min-width: 90px;
  min-height: 74px;
  padding: 14px;
}

.heart {
  top: 17%;
  left: 43%;
  color: #fff;
  background: var(--hot);
  border-radius: 58% 58% 46% 46%;
}

.star {
  top: 72%;
  left: 43%;
  background: var(--lemon);
  clip-path: polygon(50% 0, 61% 33%, 96% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 4% 35%, 39% 33%);
}

.flower {
  top: 36%;
  right: 3%;
  background: var(--mint);
  border-radius: 44% 56% 48% 52%;
}

.cloud,
.toy-cloud {
  background: #fff;
  border-radius: 999px;
}

.cloud {
  bottom: 16%;
  left: 2%;
}

.sticker {
  top: 12%;
  right: 35%;
  background: var(--orange);
  border-radius: 24px;
  transform: rotate(-12deg);
}

.toy-cloud {
  position: fixed;
  z-index: 1;
  min-width: 170px;
  min-height: 72px;
  opacity: 0.74;
}

.cloud-a {
  top: 16%;
  left: -54px;
}

.cloud-b {
  right: -46px;
  bottom: 20%;
}

.scroll-note {
  position: absolute;
  bottom: 30px;
  left: max(22px, 6vw);
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.scroll-line {
  width: 90px;
  height: 3px;
  overflow: hidden;
  background: rgba(36, 24, 45, 0.16);
  border-radius: 999px;
}

.scroll-line::after {
  display: block;
  width: 38px;
  height: 100%;
  content: "";
  background: var(--hot);
  border-radius: inherit;
  animation: scrollPulse 1.4s infinite;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 40px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.work-card {
  position: relative;
  display: flex;
  min-height: 440px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 18px;
  background: #fff;
  border-radius: 36px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.work-card:focus-visible {
  outline: 4px solid var(--sky);
  outline-offset: 6px;
}

.work-card::after {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #fff;
  content: "+";
  background: var(--ink);
  border: 2px solid #fff;
  border-radius: 50%;
  font-family: "Baloo 2", sans-serif;
  font-size: 2.2rem;
  line-height: 1;
  transform: rotate(8deg) scale(0.92);
  transition: transform 180ms ease, background 180ms ease;
}

.work-card:hover {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow: 0 34px 70px rgba(86, 50, 120, 0.24);
}

.work-card:hover::after {
  background: var(--hot);
  transform: rotate(-8deg) scale(1.08);
}

.work-card-large {
  grid-column: span 3;
}

.work-card:not(.work-card-large) {
  grid-column: span 3;
}

.work-art {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 28px;
}

.melon .work-art {
  background: linear-gradient(135deg, var(--mint), #fff 48%, var(--pink));
}

.lemon .work-art {
  background: var(--lemon);
}

.sky .work-art {
  background: var(--sky);
}

.pink .work-art {
  background: var(--pink);
}

.art-flower,
.art-heart,
.art-dot {
  position: absolute;
  border: 3px solid var(--ink);
}

.art-flower {
  top: 34px;
  left: 42px;
  width: 120px;
  height: 120px;
  background: var(--lemon);
  border-radius: 45% 55% 40% 60%;
}

.art-heart {
  right: 54px;
  bottom: 36px;
  width: 120px;
  height: 96px;
  background: var(--hot);
  border-radius: 50% 50% 38% 38%;
  transform: rotate(-11deg);
}

.art-dot {
  top: 55px;
  right: 28%;
  width: 64px;
  height: 64px;
  background: var(--sky);
  border-radius: 50%;
}

.stack-art {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.stack-art span {
  width: 74px;
  height: 154px;
  border: 3px solid var(--ink);
  border-radius: 999px;
}

.stack-art span:nth-child(1) {
  background: var(--lemon);
  transform: translateY(24px) rotate(-8deg);
}

.stack-art span:nth-child(2) {
  background: #fff;
}

.stack-art span:nth-child(3) {
  background: var(--mint);
  transform: translateY(-22px) rotate(8deg);
}

.sticker-art {
  display: grid;
  place-items: center;
}

.sticker-art b {
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(4.8rem, 10vw, 8rem);
  line-height: 0.8;
  color: #fff;
  text-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-7deg);
}

.sticker-art i {
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 8px 16px;
  background: var(--lemon);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-style: normal;
  font-weight: 900;
}

.work-info {
  padding: 22px 6px 4px;
}

.work-info span {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.work-info p {
  max-width: 540px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.about {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 44px;
  align-items: center;
}

.about-badge {
  display: flex;
  min-height: 490px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background:
    radial-gradient(circle at 24% 28%, var(--lemon) 0 14%, transparent 15%),
    radial-gradient(circle at 78% 58%, var(--sky) 0 15%, transparent 16%),
    linear-gradient(135deg, #fff, #ffe3f1);
  border-radius: 44px;
  transform: rotate(-3deg);
}

.about-badge span {
  align-self: flex-start;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  font-weight: 900;
}

.about-badge strong {
  max-width: 500px;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(3.2rem, 6vw, 6.2rem);
  line-height: 0.92;
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 650px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.skill-cloud li {
  padding: 12px 16px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 5px 0 var(--ink);
  font-weight: 900;
}

.contact {
  display: grid;
  min-height: 86vh;
  grid-template-columns: 1fr 0.58fr;
  gap: 28px;
  align-items: center;
}

.contact-panel {
  padding: clamp(28px, 6vw, 70px);
  background: #fff;
  border-radius: 46px;
}

.contact-stickers {
  position: relative;
  min-height: 480px;
}

.contact-stickers span {
  min-width: 138px;
  min-height: 108px;
  border-radius: 28px;
  font-family: "Baloo 2", sans-serif;
  font-size: 2.1rem;
}

.contact-stickers span:nth-child(1) {
  top: 8%;
  left: 18%;
  color: #fff;
  background: var(--hot);
  transform: rotate(-12deg);
}

.contact-stickers span:nth-child(2) {
  top: 31%;
  right: 5%;
  background: var(--lemon);
  border-radius: 50%;
}

.contact-stickers span:nth-child(3) {
  bottom: 24%;
  left: 4%;
  background: var(--mint);
  transform: rotate(9deg);
}

.contact-stickers span:nth-child(4) {
  right: 12%;
  bottom: 4%;
  background: var(--sky);
  border-radius: 999px;
}

.work-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 26px;
  pointer-events: none;
  visibility: hidden;
}

.work-modal.is-open {
  pointer-events: auto;
  visibility: visible;
}

.work-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 24%, rgba(255, 230, 109, 0.42), transparent 24%),
    radial-gradient(circle at 78% 18%, rgba(128, 216, 255, 0.36), transparent 25%),
    rgba(255, 247, 251, 0.82);
  backdrop-filter: blur(18px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.work-modal.is-open .work-modal-backdrop {
  opacity: 1;
}

.work-modal-card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1180px, 100%);
  max-height: calc(100vh - 52px);
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.72fr);
  gap: clamp(18px, 3vw, 34px);
  overflow: auto;
  padding: clamp(18px, 3vw, 34px);
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 44px;
  box-shadow: 12px 14px 0 var(--ink), 0 34px 90px rgba(86, 50, 120, 0.28);
  opacity: 0;
  transform: translateY(24px) scale(0.94) rotate(-1deg);
  transition: opacity 240ms ease, transform 240ms ease;
}

.work-modal.is-open .work-modal-card {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  min-width: 72px;
  min-height: 46px;
  padding: 10px 15px;
  color: #fff;
  background: var(--hot);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 5px 0 var(--ink);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.modal-close:hover {
  transform: translate(2px, 3px) rotate(3deg);
  box-shadow: 2px 2px 0 var(--ink);
}

.modal-art {
  min-height: min(68vh, 650px);
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 34px;
}

.modal-art .work-art {
  width: 100%;
  min-height: min(68vh, 650px);
  border: 0;
  border-radius: 0;
}

.modal-art .face-art {
  margin: 0;
}

.modal-art .sticker-art b {
  font-size: clamp(6rem, 15vw, 13rem);
}

.modal-copy {
  align-self: end;
  padding: 54px 10px 8px;
}

.modal-meta {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
}

.modal-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 7vw, 7rem);
}

.modal-copy p {
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  font-weight: 800;
  line-height: 1.45;
}

body.modal-open {
  overflow: hidden;
}

@keyframes blink {
  0%,
  93%,
  100% {
    transform: scaleY(1);
  }
  96% {
    transform: scaleY(0.08);
  }
}

@keyframes scrollPulse {
  from {
    transform: translateX(-42px);
  }
  to {
    transform: translateX(92px);
  }
}

@media (max-width: 900px) {
  body {
    cursor: auto;
  }

  a,
  button {
    cursor: pointer;
  }

  .cursor,
  .cursor-dot {
    display: none;
  }

  .site-header {
    align-items: stretch;
    border-radius: 28px;
  }

  .brand span:last-child,
  .sound-pill span {
    display: none;
  }

  .nav-links {
    flex: 1;
    justify-content: center;
  }

  .nav-links a {
    padding: 10px 11px;
  }

  .sound-pill {
    width: 42px;
    padding: 0;
  }

  .hero,
  .about,
  .contact,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .section {
    min-height: auto;
    padding: 108px 18px 70px;
  }

  .hero {
    min-height: 100vh;
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 4.9rem);
  }

  .hero-stage {
    min-height: 520px;
  }

  .poster-main {
    right: 50%;
    width: min(330px, calc(100vw - 48px));
    min-height: 410px;
    transform: translateX(50%) rotate(4deg);
  }

  .mini-card {
    min-width: 118px;
    min-height: 86px;
  }

  .shape {
    display: none;
  }

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

  .work-card,
  .work-card-large,
  .work-card:not(.work-card-large) {
    grid-column: auto;
  }

  .about-badge,
  .contact-panel {
    border-radius: 32px;
  }

  .contact-stickers {
    min-height: 330px;
  }

  .work-modal {
    padding: 14px;
  }

  .work-modal-card {
    max-height: calc(100vh - 28px);
    grid-template-columns: 1fr;
    border-radius: 30px;
  }

  .modal-art,
  .modal-art .work-art {
    min-height: 48vh;
  }

  .modal-copy {
    padding-top: 12px;
  }
}

@media (max-width: 560px) {
  .site-header {
    top: 10px;
    width: calc(100% - 18px);
    padding: 8px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .nav-links a {
    font-size: 0.84rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bubble-button,
  .text-link {
    width: 100%;
  }

  .toy-cloud {
    display: none;
  }

  .poster-face,
  .face-art {
    min-height: 230px;
  }
}
