/* ============================================
   TINKER — playful pastel coffee shop
   palette: cream + coral pink + mint + butter yellow + lavender
   typography: Caveat (script) + Quicksand (rounded sans)
   ============================================ */

:root {
  --bg: #fff7ec;
  --bg-2: #ffeed5;
  --bg-3: #fbe2da;
  --pink: #ff7a8a;
  --pink-2: #ff5a6e;
  --mint: #7dd3c0;
  --butter: #ffd372;
  --lavender: #c8b6e2;
  --coral: #ff9b75;
  --ink: #2e2438;
  --muted: #6f6076;
  --line: rgba(46, 36, 56, 0.08);
  --shadow-sm: 0 6px 18px rgba(255, 122, 138, 0.18);
  --shadow-md: 0 16px 40px rgba(255, 122, 138, 0.22);
  --shadow-lg: 0 30px 70px rgba(255, 122, 138, 0.3);

  --font-script: 'Caveat', cursive;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Quicksand', -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* fun blob background */
body::before {
  content: '';
  position: fixed;
  top: 10%; left: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(125, 211, 192, 0.35), transparent 60%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  animation: wobble 16s ease-in-out infinite;
}
body::after {
  content: '';
  position: fixed;
  bottom: 10%; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 122, 138, 0.35), transparent 60%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  animation: wobble 18s ease-in-out infinite alternate-reverse;
}
@keyframes wobble {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, -40px) scale(1.15); }
  66% { transform: translate(-40px, 60px) scale(0.95); }
}

/* hide bean particles + cursor glow */
.bean-particles, .cursor-glow { display: none; }

/* sticker decorations on body */
.section { position: relative; }

/* nav */
.nav {
  position: fixed; top: 16px; left: 50%; right: auto;
  transform: translateX(-50%);
  z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 247, 236, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 122, 138, 0.2);
  width: max-content;
  max-width: calc(100vw - 24px);
  transition: all 0.4s var(--ease);
}
.nav.is-scrolled { box-shadow: var(--shadow-md); }
.nav__brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px; }
.nav__logo {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  background: var(--pink);
  color: #fff;
  border-radius: 50%;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(255, 122, 138, 0.4);
  animation: tada 4s ease-in-out infinite;
}
@keyframes tada {
  0%, 100% { transform: scale(1) rotate(0); }
  10% { transform: scale(1.1) rotate(-8deg); }
  20% { transform: scale(1.1) rotate(8deg); }
  30% { transform: scale(1) rotate(0); }
}
.nav__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}
.nav__links { display: flex; gap: 4px; list-style: none; }
.nav__links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}
.nav__links a:hover {
  background: var(--pink);
  color: #fff;
  transform: scale(1.05);
}
.nav__cta {
  background: var(--ink);
  color: var(--bg);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s var(--bounce);
}
.nav__cta:hover { background: var(--pink); transform: scale(1.06) rotate(-2deg); }
.nav__burger { display: none; flex-direction: column; gap: 4px; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
@media (max-width: 980px) {
  .nav { padding: 8px 12px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid; place-items: center;
  text-align: center;
  padding: 130px 6vw 80px;
  z-index: 1;
}
.hero__bg, .hero__veil { display: none; }
.hero__steam, .hero__scroll { display: none; }
.hero__content { max-width: 800px; position: relative; }
/* sticker decorations */
.hero__content::before {
  content: '☕';
  position: absolute;
  top: -40px; left: -60px;
  font-size: 4rem;
  transform: rotate(-15deg);
  animation: bobby 4s ease-in-out infinite;
}
.hero__content::after {
  content: '🍪';
  position: absolute;
  top: 60px; right: -80px;
  font-size: 4rem;
  transform: rotate(15deg);
  animation: bobby 5s ease-in-out infinite reverse;
}
@keyframes bobby {
  0%, 100% { transform: translateY(0) rotate(-15deg); }
  50% { transform: translateY(-12px) rotate(-10deg); }
}
@media (max-width: 880px) {
  .hero__content::before, .hero__content::after { display: none; }
}

.eyebrow {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--pink);
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--ink);
}
.hero__title .word {
  display: inline-block;
  margin-right: 0.18em;
  opacity: 0;
  transform: translateY(40px) rotate(-5deg);
  animation: pop-in 0.8s var(--bounce) forwards;
  animation-delay: calc(var(--i) * 100ms);
}
.hero__title .word:nth-child(2) {
  color: var(--pink);
  font-style: italic;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.1em;
}
@keyframes pop-in { to { opacity: 1; transform: none; } }

.hero__sub {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 36px;
  font-weight: 500;
  line-height: 1.65;
}
.hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.4s var(--bounce);
}
.btn--primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 122, 138, 0.45);
}
.btn--primary:hover {
  background: var(--pink-2);
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 14px 30px rgba(255, 122, 138, 0.55);
}
.btn--ghost {
  background: var(--bg);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn--ghost:hover {
  background: var(--butter);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn__arrow { transition: transform 0.3s var(--bounce); }
.btn:hover .btn__arrow { transform: translateX(4px) rotate(-15deg); }

/* sections */
.section {
  padding: clamp(80px, 12vw, 160px) 6vw;
  z-index: 1;
}
.section__head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 70px);
  text-align: center;
}
.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
  color: var(--ink);
}
.display em {
  font-family: var(--font-script);
  font-style: normal;
  color: var(--pink);
  font-size: 1.15em;
  font-weight: 700;
}
.lead { font-size: 1.08rem; color: var(--muted); font-weight: 500; }
.section__cta { text-align: center; margin-top: 60px; }
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* about */
.about__grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.about__text .display { text-align: left; }
.about__text .lead { color: var(--ink); margin-bottom: 36px; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.stat {
  background: var(--bg-3);
  padding: 18px 16px;
  border-radius: 18px;
  text-align: center;
  transition: transform 0.4s var(--bounce);
}
.stat:nth-child(1) { background: rgba(255, 122, 138, 0.18); }
.stat:nth-child(2) { background: rgba(125, 211, 192, 0.22); }
.stat:nth-child(3) { background: rgba(255, 211, 114, 0.22); }
.stat:hover { transform: translateY(-4px) rotate(-2deg); }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}
.stat__label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}
.about__visual {
  position: relative;
  aspect-ratio: 4 / 5;
}
.about__photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  border-radius: 60% 40% 60% 40% / 50% 60% 40% 50%;
  box-shadow: var(--shadow-lg);
  transition: all 0.6s var(--ease);
  z-index: 2;
}
.about__visual:hover .about__photo {
  border-radius: 40% 60% 40% 60% / 60% 50% 60% 40%;
  transform: rotate(-2deg);
}
.about__sticker {
  position: absolute;
  top: -10px; right: -10px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--butter);
  display: grid; place-items: center;
  z-index: 3;
  box-shadow: var(--shadow-md);
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.about__sticker .caveat {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 700;
  transform: rotate(-10deg);
}
.about__ring {
  position: absolute;
  bottom: -20px; left: -20px;
  width: 140px; height: 140px;
  background: var(--mint);
  border-radius: 50%;
  z-index: 1;
}
.about__ring::after {
  content: '★';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: #fff;
}
@media (max-width: 880px) {
  .about__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}

/* menu cards */
.menu-preview { background: transparent; }
.menu-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.menu-card {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--bounce);
  position: relative;
}
.menu-card:hover {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow: var(--shadow-lg);
}
.menu-card:nth-child(2n):hover { transform: translateY(-10px) rotate(1deg); }
.menu-card__img {
  height: 220px;
  background-size: cover; background-position: center;
  position: relative;
  margin: 14px 14px 0;
  border-radius: 22px;
}
.menu-card__cat {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--pink);
  color: #fff;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.menu-card:nth-child(3n) .menu-card__cat { background: var(--mint); color: var(--ink); }
.menu-card:nth-child(3n+1) .menu-card__cat { background: var(--butter); color: var(--ink); }
.menu-card__body { padding: 22px 26px 28px; }
.menu-card__head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 14px;
  margin-bottom: 10px;
}
.menu-card__head h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink);
}
.menu-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--pink);
  font-size: 1.2rem;
}
.menu-card__body p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; }

/* gallery */
.gallery { background: transparent; }
.gallery__grid {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
}
.gallery__grid .gallery__item:nth-child(1) { grid-row: span 2; }
.gallery__grid .gallery__item:nth-child(4) { grid-row: span 2; }
.gallery__item {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.5s var(--bounce);
}
.gallery__item:hover { transform: scale(1.04) rotate(-1deg); }
.gallery__item:nth-child(2n):hover { transform: scale(1.04) rotate(1deg); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
@media (max-width: 880px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery__grid .gallery__item:nth-child(1),
  .gallery__grid .gallery__item:nth-child(4) { grid-row: span 1; }
}

/* testimonials */
.testimonials {
  background: var(--bg-3);
  position: relative;
}
.testimonials::before {
  content: '★';
  position: absolute;
  top: 60px; left: 8vw;
  font-size: 4rem;
  color: var(--butter);
  animation: tada 5s ease-in-out infinite;
}
.testimonials::after {
  content: '✿';
  position: absolute;
  bottom: 60px; right: 8vw;
  font-size: 5rem;
  color: var(--mint);
  animation: spin 30s linear infinite;
}
.testimonials__grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 2;
}
.testimonial {
  background: #fff;
  padding: 36px 32px 28px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.4s var(--bounce);
}
.testimonial:nth-child(1) { transform: rotate(-1.5deg); }
.testimonial:nth-child(3) { transform: rotate(1.5deg); }
.testimonial:hover { transform: rotate(0) translateY(-6px) scale(1.02); box-shadow: var(--shadow-lg); }
.testimonial__quote {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--pink);
  display: block;
  margin-bottom: 8px;
}
.testimonial blockquote {
  font-size: 1.08rem;
  line-height: 1.55;
  margin-bottom: 22px;
  color: var(--ink);
  font-weight: 500;
}
.testimonial figcaption strong {
  display: block;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--pink);
  margin-bottom: 0;
}
.testimonial figcaption span { font-size: 0.82rem; color: var(--muted); font-weight: 600; }

/* contact */
.contact { background: transparent; }
.contact__grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.contact__list { list-style: none; margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.contact__list li {
  display: flex; gap: 16px;
  align-items: flex-start;
  background: #fff;
  padding: 14px 18px;
  border-radius: 18px;
  transition: transform 0.3s var(--bounce);
}
.contact__list li:hover { transform: translateX(6px); }
.contact__icon {
  font-size: 1.4rem;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--bg-3);
  border-radius: 14px;
  flex-shrink: 0;
}
.contact__list li:nth-child(2n) .contact__icon { background: rgba(125,211,192,0.4); }
.contact__list li:nth-child(3n) .contact__icon { background: rgba(255,211,114,0.4); }
.contact__list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.contact__list p { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.contact__map {
  border-radius: 28px;
  overflow: hidden;
  height: 460px;
  box-shadow: var(--shadow-md);
  border: 4px solid #fff;
}
.contact__map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 880px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__map { height: 320px; }
}

/* footer */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 6vw 40px;
  border-radius: 60px 60px 0 0;
  margin-top: 60px;
}
.footer__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
}
.footer__brand h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  margin: 14px 0 8px;
}
.footer__tagline { color: rgba(255, 247, 236, 0.7); font-family: var(--font-script); font-size: 1.5rem; }
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--butter);
  margin-bottom: 14px;
}
.footer__col p { color: rgba(255, 247, 236, 0.75); font-size: 0.92rem; line-height: 1.7; }
.footer__sign .caveat {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--pink);
}
.footer__admin {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 247, 236, 0.5);
  transition: color 0.3s ease;
}
.footer__admin:hover { color: var(--pink); }
.footer__bottom {
  max-width: 1200px; margin: 60px auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 247, 236, 0.12);
  display: flex; justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 247, 236, 0.5);
  flex-wrap: wrap; gap: 12px;
}
@media (max-width: 880px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* page hero (menu page) */
.page-hero {
  position: relative;
  padding: 200px 6vw 100px;
  text-align: center;
  z-index: 1;
}
.page-hero__inner { max-width: 800px; margin: 0 auto; position: relative; }
.page-hero__inner::before {
  content: '🍩';
  position: absolute;
  top: -40px; left: 0;
  font-size: 3rem;
  transform: rotate(-15deg);
  animation: bobby 4s ease-in-out infinite;
}
.page-hero__inner::after {
  content: '☕';
  position: absolute;
  bottom: 40px; right: 0;
  font-size: 3rem;
  animation: bobby 5s ease-in-out infinite reverse;
}
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 22px;
  color: var(--ink);
}
.menu-full { padding-top: 70px; padding-bottom: 0; }
.menu-filters { max-width: 1280px; margin: 0 auto 50px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.chip {
  padding: 10px 22px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: all 0.3s var(--bounce);
}
.chip:hover { background: var(--butter); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.chip.is-active { background: var(--pink); color: #fff; border-color: var(--pink); box-shadow: 3px 3px 0 var(--pink-2); }
.menu-grid--full { padding-bottom: 80px; }
.menu-card.is-hidden { display: none; }
