/* =====================================================
   TOKENS — playful pastels
   ===================================================== */
:root {
   --c-bg:       #f4f0e6;         /* warm cream */
   --c-fg:       #1a1c26;
   --c-panel:    #1a1c26;         /* dark blueberry */
   --c-panel-fg: #f4f0e6;
   --c-lavender: #c6b8ff;
   --c-lime:     #dcff6a;
   --c-pink:     #ff96b0;
   --c-peach:    #ffc88a;

   --ff-display: 'Unbounded', system-ui, sans-serif;
   --ff-body:    'DM Sans', system-ui, sans-serif;
}

/* =====================================================
   RESET
   ===================================================== */
*, *::before, *::after {
   box-sizing: border-box;
   margin: 0;
   padding: 0;
}

html, body {
   height: 100%;
   overflow: hidden;
}

body {
   background: var(--c-bg);
   color: var(--c-fg);
   font-family: var(--ff-body);
   font-size: 16px;
   -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button {
   font: inherit;
   color: inherit;
   background: none;
   border: 0;
   cursor: pointer;
}

.goo-svg {
   position: absolute;
   width: 0;
   height: 0;
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   z-index: 50;
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 24px 40px;
}

.brand {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   font-family: var(--ff-display);
   font-size: 18px;
   font-weight: 700;
   z-index: 5;
  
}

.brand__dot {
   display: inline-block;
   width: 14px;
   height: 14px;
   border-radius: 50%;
   background: var(--c-pink);
   animation: wobble-scale 2.5s ease-in-out infinite;
}

.brand__name {
   color: var(--c-fg);
  text-shadow:
    -0.4px -0.4px 0 white,
     0.4px -0.4px 0 white,
    -0.4px  0.4px 0 white,
     0.4px  0.4px 0 white;
}

@keyframes wobble-scale {
   0%, 100% { transform: scale(1);    }
   50%      { transform: scale(1.25); }
}

/* =====================================================
   TOGGLE — gooey blob-and-pill button
   The blob + text live in the same container; the blob
   morphs border-radius on hover/click giving a liquid feel.
   ===================================================== */
.toggle {
   position: relative;
   display: inline-flex;
   align-items: center;
   gap: 12px;
   padding: 8px 24px 8px 8px;
   border-radius: 999px;
   background: var(--c-fg);
   color: var(--c-bg);
   font-family: var(--ff-display);
   font-weight: 600;
   font-size: 14px;
   letter-spacing: -0.01em;
   transition: background 0.3s;
   border: 1px solid white;
}

/* Blob starts as a circle; on hover morphs asymmetrically */
.toggle__blob {
   width: 40px;
   height: 40px;
   background: var(--c-lime);
   border-radius: 50%;
   transition: border-radius 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
               background 0.4s;
   will-change: border-radius, transform;
}

.toggle:hover .toggle__blob {
   border-radius: 62% 38% 48% 52% / 55% 62% 38% 45%;
   background: var(--c-pink);
}

.toggle__text {
   white-space: nowrap;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
   position: relative;
   height: 100vh;
   padding: 120px 40px 40px;
   display: flex;
   flex-direction: column;
   justify-content: center;
   gap: 32px;
   max-width: 1400px;
   margin: 0 auto;
}

/* Background blobs — soft pastel blurs drifting around */
.blobs {
   position: absolute;
   inset: 0;
   z-index: -1;

}

.blobs__blob {
   position: absolute;
   border-radius: 50%;
   filter: blur(80px);
   opacity: 0.65;
   will-change: transform;
}

.blobs__blob--1 {
   width: 480px;
   height: 480px;
   background: var(--c-lavender);
   top: -10%;
   left: -10%;
   animation: drift-1 18s ease-in-out infinite;
}

.blobs__blob--2 {
   width: 420px;
   height: 420px;
   background: var(--c-peach);
   bottom: -15%;
   right: 10%;
   animation: drift-2 22s ease-in-out infinite;
}

.blobs__blob--3 {
   width: 360px;
   height: 360px;
   background: var(--c-lime);
   top: 40%;
   right: -12%;
   animation: drift-3 26s ease-in-out infinite;
}

@keyframes drift-1 {
   0%, 100% { transform: translate(0, 0) scale(1); }
   50%      { transform: translate(60px, 80px) scale(1.15); }
}

@keyframes drift-2 {
   0%, 100% { transform: translate(0, 0) scale(1); }
   50%      { transform: translate(-80px, -50px) scale(0.9); }
}

@keyframes drift-3 {
   0%, 100% { transform: translate(0, 0) scale(1); }
   50%      { transform: translate(-100px, 40px) scale(1.1); }
}

/* =====================================================
   HERO TITLE — each word animates individually on load
   ===================================================== */
.hero__title {
   font-family: var(--ff-display);
   font-weight: 700;
   font-size: clamp(64px, 11vw, 180px);
   line-height: 0.92;
   letter-spacing: -0.04em;
   display: flex;
   flex-wrap: wrap;
   gap: 0 0.3em;
}

.hero__word {
   display: inline-block;
   will-change: transform, opacity;
   /* Each word starts translated down and invisible; JS bounces
      them in on page load for an organic entrance. */
}

.hero__word--accent {
   color: var(--c-fg);
   background: var(--c-lime);
   padding: 0 0.25em;
   border-radius: 80px;
   transform-origin: center;
}

.hero__sub {
   max-width: 44ch;
   font-size: 18px;
   color: rgba(26, 28, 38, 0.6);
}

/* =====================================================
   HERO CTA
   ===================================================== */
.hero__cta {
   align-self: flex-start;
   display: inline-flex;
   align-items: center;
   gap: 10px;
   padding: 18px 28px;
   border-radius: 999px;
   background: var(--c-fg);
   color: var(--c-bg);
   font-family: var(--ff-display);
   font-weight: 600;
   font-size: 16px;
   transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
               background 0.3s;
}

.hero__cta:hover {
   transform: scale(1.08);
   background: var(--c-pink);
   color: var(--c-fg);
}

.hero__cta:active {
   transform: scale(0.95);
}

.hero__cta-arrow {
   display: inline-block;
   transition: transform 0.3s;
}

.hero__cta:hover .hero__cta-arrow {
   transform: translateX(4px);
}

/* =====================================================
   MENU OVERLAY — soft panel drops from top
   ===================================================== */
.menu {
   position: fixed;
   inset: 0;
   z-index: 30;
   padding: 24px;
   pointer-events: none;
}

.menu.is-open {
   pointer-events: auto;
}

.menu__panel {
   position: relative;
   width: 100%;
   height: 100%;
   background: var(--c-panel);
   color: var(--c-panel-fg);
   border-radius: 48px;
   padding: 100px 56px 56px;
   display: flex;
   flex-direction: column;
   justify-content: center;
   transform-origin: top center;
   will-change: transform;
   box-shadow: 0 40px 80px -20px rgba(26, 28, 38, 0.3);
   /* Initial transform set by JS (gsap.set) — no CSS transform
      here to avoid conflicts with GSAP. */
}

/* =====================================================
   NAV — bouncing rows
   ===================================================== */
.nav__list {
   display: flex;
   flex-direction: column;
   gap: 0;
   max-width: 1000px;
   margin: 0 auto;
   width: 100%;
}

.nav__item {
   /* Hidden initially — JS bounces each into view */
   will-change: transform, opacity;
   border-top: 1px solid rgba(244, 240, 230, 0.12);
}

.nav__item:last-child {
   border-bottom: 1px solid rgba(244, 240, 230, 0.12);
}

.nav__link {
   display: grid;
   grid-template-columns: 60px 1fr auto;
   align-items: center;
   gap: 28px;
   padding: 22px 0;
   color: var(--c-panel-fg);
   transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Wobble on hover — we apply a custom wobble animation */
.nav__link:hover {
   animation: wobble 0.6s ease-in-out;
}

@keyframes wobble {
   0%   { transform: translateX(0); }
   15%  { transform: translateX(-10px) rotate(-1deg); }
   30%  { transform: translateX(8px)   rotate( 1deg); }
   45%  { transform: translateX(-6px)  rotate(-0.5deg); }
   60%  { transform: translateX(4px)   rotate( 0.5deg); }
   75%  { transform: translateX(-2px); }
   100% { transform: translateX(0); }
}

.nav__num {
   font-family: var(--ff-body);
   font-size: 14px;
   font-weight: 500;
   color: rgba(244, 240, 230, 0.4);
}

.nav__text {
   font-family: var(--ff-display);
   font-weight: 700;
   font-size: clamp(48px, 7vw, 112px);
   line-height: 1;
   letter-spacing: -0.03em;
   transition: color 0.3s;
}

.nav__link:hover .nav__text {
   color: var(--c-lime);
}

.nav__emoji {
   font-size: 40px;
   transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
   display: inline-block;
}

.nav__link:hover .nav__emoji {
   transform: rotate(360deg) scale(1.3);
   color: var(--c-pink);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 720px) {
   .header { padding: 16px 20px; }
   .hero { padding: 90px 20px 20px; }
   .hero__title { font-size: 56px; }

   .menu { padding: 12px; }
   .menu__panel {
      border-radius: 32px;
      padding: 80px 24px 32px;
   }

   .nav__link {
      grid-template-columns: 40px 1fr auto;
      gap: 16px;
      padding: 14px 0;
   }
   .nav__text { font-size: 40px; }
   .nav__emoji { font-size: 28px; }
}
