:root {
  --bg: #f4f0e6;
  --ink: #111111;
  --lime: #c6ff3d;
  --pink: #ff7ad9;
  --yellow: #ffe14d;
  --purple: #a78bfa;
  --blue: #6ee7ff;
  --orange: #ff9a3d;
  --white: #ffffff;
  --border: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-hover: 10px 10px 0 var(--ink);
  --radius: 22px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(17, 17, 17, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--ink);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--lime); }

.mono { font-family: "Space Mono", monospace; }

/* Custom cursor */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--lime);
  border: 2px solid var(--ink);
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-dot.grow { width: 54px; height: 54px; background: var(--pink); mix-blend-mode: multiply; }
@media (hover: none) { .cursor-dot { display: none; } }

/* Buttons & chips */
.btn, .chip {
  display: inline-block;
  border: var(--border);
  box-shadow: var(--shadow);
  font-weight: 800;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn { padding: 16px 28px; border-radius: 999px; font-size: 1.05rem; }
.btn:hover, .chip:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hover); }
.btn:active, .chip:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn-lime { background: var(--lime); }
.btn-white { background: var(--white); }
.btn.big { font-size: clamp(1rem, 3vw, 1.6rem); padding: 20px 36px; }

.chip {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 0.95rem;
}
.chip-pink { background: var(--pink); }

/* Navbar */
.nav {
  position: fixed;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 92%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 12px 24px;
  background: var(--white);
  border: var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  z-index: 100;
}
.logo { font-weight: 800; font-size: 1.4rem; letter-spacing: -1px; }
.logo span { color: var(--pink); }
.nav-links { display: flex; align-items: center; gap: 26px; font-weight: 600; }
.nav-links a:not(.chip):hover { text-decoration: underline wavy var(--pink); text-underline-offset: 6px; }

.menu-btn {
  display: none;
  width: 46px; height: 46px;
  border: var(--border);
  border-radius: 50%;
  background: var(--lime);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.menu-btn span { width: 18px; height: 3px; background: var(--ink); border-radius: 3px; transition: transform 0.3s; }
.menu-btn.open span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-btn.open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 6% 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1300px;
  margin: 0 auto;
}
.hello { font-size: 1.2rem; margin-bottom: 10px; }
.hero-title {
  font-size: clamp(3.4rem, 15vw, 13rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.05em;
}
.hero-title .line { display: block; animation: slideUp 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
.hero-title .line:nth-child(2) { animation-delay: 0.15s; }
.outline { color: transparent; -webkit-text-stroke: 3px var(--ink); position: relative; }
.star {
  display: inline-block;
  color: var(--pink);
  -webkit-text-stroke: 3px var(--ink);
  font-size: 0.5em;
  vertical-align: top;
  margin-left: 0.1em;
  animation: spin 8s linear infinite;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(80px) rotate(3deg); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-desc { max-width: 520px; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.6; }
.highlight {
  background: var(--lime);
  padding: 0 8px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  display: inline-block;
  transform: rotate(-2deg);
  font-weight: 800;
}
.rotating {
  background: var(--ink);
  color: var(--lime);
  padding: 2px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.sticker {
  position: absolute;
  padding: 10px 18px;
  border: var(--border);
  border-radius: 999px;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 4px 4px 0 var(--ink);
  animation: wobble 4s ease-in-out infinite;
  z-index: 2;
}
.sticker-1 { top: 140px; right: 8%; background: var(--yellow); --r: 6deg; }
.sticker-2 { top: 48%; right: 4%; background: var(--blue); --r: -8deg; animation-delay: -2s; }
.sticker-3 { top: -22px; right: 30px; background: var(--pink); --r: 5deg; }
@keyframes wobble {
  0%, 100% { transform: rotate(var(--r)) translateY(0); }
  50% { transform: rotate(calc(var(--r) * -1)) translateY(-8px); }
}

/* Marquee */
.marquee {
  background: var(--ink);
  color: var(--lime);
  border-block: var(--border);
  padding: 18px 0;
  overflow: hidden;
  transform: rotate(-2deg) scale(1.05);
  margin: 20px 0 60px;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee-track span {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 800;
  white-space: nowrap;
  padding-right: 20px;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 80px 6%; max-width: 1300px; margin: 0 auto; }
.section-title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 40px;
}
.emoji-spin { display: inline-block; animation: spin 6s linear infinite; }

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(170px, auto);
  gap: 20px;
}
.card {
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translate(-4px, -4px) rotate(-1deg); box-shadow: var(--shadow-hover); }
.card-big { grid-column: span 2; grid-row: span 2; }
.card-yellow { background: var(--yellow); }
.card-purple { background: var(--purple); }
.card-pink { background: var(--pink); }
.card-white { background: var(--white); grid-column: span 2; }
.card-lime { background: var(--lime); grid-column: span 2; }
.label { font-size: 0.9rem; opacity: 0.7; }
.big-text { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 600; line-height: 1.35; }
.stat { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 800; line-height: 1; }
.stat::after { content: "+"; }
.now-list { list-style: none; display: grid; gap: 8px; font-weight: 600; font-size: 1.1rem; margin-top: 10px; }
.small { font-size: 0.95rem; }

/* Skills */
.skills { display: flex; flex-wrap: wrap; gap: 16px; }
.skill {
  padding: 14px 26px;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 800;
  border: var(--border);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  transition: background 0.2s, transform 0.2s;
  cursor: default;
}
.skill:hover { background: var(--c); transform: rotate(-4deg) scale(1.08); }

/* Works */
.works { display: grid; gap: 20px; }
.work {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 24px 30px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
}
.work:hover { background: var(--accent); transform: translate(-4px, -4px); box-shadow: var(--shadow-hover); }
.work:hover .work-emoji { transform: rotate(-12deg) scale(1.1); }
.work:hover .arrow { transform: rotate(45deg); background: var(--ink); color: var(--lime); }
.work-emoji {
  width: 80px; height: 80px;
  display: grid; place-items: center;
  font-size: 2.4rem;
  border: var(--border);
  border-radius: 18px;
  background: var(--bg);
  transition: transform 0.3s;
}
.work-info h3 { font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: -0.03em; line-height: 1.1; }
.work-info p:last-child { opacity: 0.75; margin-top: 4px; }
.work-info .mono { font-size: 0.85rem; opacity: 0.7; }
.arrow {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  font-size: 1.6rem;
  border: var(--border);
  border-radius: 50%;
  transition: transform 0.3s, background 0.3s, color 0.3s;
}

/* Contact */
.contact {
  position: relative;
  background: var(--purple);
  border: var(--border);
  border-radius: 32px;
  box-shadow: 10px 10px 0 var(--ink);
  padding: clamp(40px, 7vw, 80px);
  text-align: center;
}
.contact-title {
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 14px 0 36px;
}
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 30px 6%;
  border-top: var(--border);
  font-size: 0.9rem;
}
.footer a:hover { color: var(--pink); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2); }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 860px) {
  .menu-btn { display: flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + 12px); left: 0; right: 0;
    flex-direction: column;
    padding: 24px;
    background: var(--white);
    border: var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.25s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card-big, .card-white, .card-lime { grid-column: span 2; }
  .card-big { grid-row: auto; }
  .sticker-1 { top: 110px; right: 6%; }
  .sticker-2 { display: none; }
  .work { grid-template-columns: auto 1fr; padding: 20px; gap: 18px; }
  .work .arrow { display: none; }
  .work-emoji { width: 60px; height: 60px; font-size: 1.8rem; }
  .outline, .star { -webkit-text-stroke-width: 2px; }
}
