*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; padding: 0; }

:root {
  --paper: #fff8ee;
  --ink: #241c33;
  --pink: #ff4fa3;
  --orange: #ff8c2f;
  --teal: #17c9bd;
  --dim: rgba(36,28,51,0.65);
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.6rem;
  background: rgba(255,248,238,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--ink);
}
.nav__logo { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--orange); }
.nav__links { display: flex; gap: 1.6rem; }
.nav__links a { font-size: 0.95rem; color: var(--ink); }
.nav__burger { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__burger span { width: 20px; height: 2px; background: var(--ink); display: block; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-family: 'Fredoka', sans-serif; font-weight: 600; border-radius: 999px; transition: transform 0.15s, box-shadow 0.15s; }
.btn--pill { font-size: 0.85rem; padding: 0.55rem 1.1rem; background: var(--orange); color: #fff; }
.btn--big { font-size: 1.05rem; padding: 0.9rem 1.9rem; }
.btn--solid { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(255,140,47,0.4); }
.btn--solid:hover { transform: translateY(-2px) scale(1.03); }
.btn--ghost { border: 3px solid var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 6rem 1.6rem 3rem; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,28,51,0.55) 0%, rgba(36,28,51,0.35) 40%, rgba(36,28,51,0.85) 100%); }
.hero__inner { position: relative; z-index: 2; }
.hero__title {
  font-family: 'Fredoka', sans-serif; font-weight: 700;
  font-size: clamp(4rem, 14vw, 8rem);
  color: #fff;
  -webkit-text-stroke: 3px var(--ink);
  text-shadow: 6px 6px 0 var(--orange);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.hero__sub { font-size: 1.2rem; color: #fff; margin-bottom: 2rem; }
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero .btn--ghost { border-color: #fff; color: #fff; background: rgba(36,28,51,0.35); }
.hero .btn--ghost:hover { background: #fff; color: var(--ink); }
.hero__char {
  position: absolute; bottom: 2vh; right: 4vw; z-index: 2;
  max-width: min(24vw, 260px); max-height: 30svh;
  width: auto; height: auto;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.4));
}

/* ---------- About ---------- */
.about { background: var(--teal); padding: 6rem 1.8rem; }
.about__inner { max-width: 980px; margin: 0 auto; display: flex; align-items: center; gap: 3.5rem; flex-wrap: wrap; justify-content: center; }
.about__text { flex: 1; min-width: 280px; max-width: 480px; }
.about__eyebrow { font-family: 'Fredoka', sans-serif; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(36,28,51,0.7); margin-bottom: 0.6rem; }
.about__title { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: clamp(2rem, 4.6vw, 2.8rem); color: var(--ink); margin-bottom: 1.1rem; }
.about__body { font-size: 1.1rem; color: var(--ink); font-weight: 500; }
.about__img { flex: 0 0 340px; max-width: 340px; }

/* ---------- Friend strip ---------- */
.friend { padding: 5rem 1.6rem; text-align: center; }
.friend img { width: min(60vw, 300px); margin: 0 auto 1.4rem; }
.friend p { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 1.3rem; color: var(--ink); max-width: 40ch; margin: 0 auto; }

/* ---------- Closer ---------- */
.closer { background: var(--pink); padding: 6rem 1.8rem; text-align: center; }
.closer__char { width: min(40vw, 180px); margin: 0 auto 1.2rem; filter: drop-shadow(0 10px 16px rgba(0,0,0,0.25)); }
.closer__title { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: clamp(2rem, 4.6vw, 2.8rem); color: #fff; margin-bottom: 1.8rem; line-height: 1.2; }
.closer__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.closer .btn--ghost { border-color: #fff; color: #fff; }
.closer .btn--ghost:hover { background: #fff; color: var(--pink); }

/* ---------- Footer ---------- */
.footer { padding: 2rem 1.8rem; border-top: 3px solid var(--ink); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.85rem; color: var(--dim); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__links.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--paper); padding: 1.1rem 1.6rem; gap: 0.9rem; border-bottom: 3px solid var(--ink); }

  .hero { flex-direction: column; }
  .hero__char { position: static; margin: 1.6rem auto 0; max-width: min(50vw, 200px); max-height: 26svh; }
  .about__inner { flex-direction: column; text-align: center; }
  .about__img { order: -1; max-width: 260px; }
}
