/* ============================================================
   kf-menu.css — Koh-fee | Minimalist Clean Menu
   ─────────────────────────────────────────────────────────
   Structure mirrors Leh-muhn. Brand accent = green (#0d542b).
   Yellow used only in CTA button. White canvas, product-first.
   Fonts: Fraunces (display) · DM Sans (body)
   ============================================================ */

/* ── 1. Tokens ────────────────────────────────────────────── */
:root {
  /* Palette */
  --green:        #0d542b;   /* PRIMARY accent — replaces yellow */
  --green-hover:  #0a4322;
  --green-mid:    #16a34a;   /* tag, eyebrow dot */
  --green-light:  #dcfce7;   /* sage tag bg */

  --yellow:       #eab308;   /* CTA button only */
  --yellow-hover: #ca8a04;

  --white:        #ffffff;
  --off-white:    #f8f8f8;
  --border:       #efefef;
  --border-dark:  #e2e2e2;

  --ink:          #332616;
  --ink-mid:      #444444;
  --ink-light:    #888888;

  /* Fonts */
  --font-display: 'Fraunces', serif;
  --font-body:    'DM Sans', sans-serif;

  /* Layout */
  --max-w:     1380px;
  --px:        clamp(20px, 5vw, 80px);
  --navbar-h:  68px;

  /* Shape */
  --r-card: 16px;
  --r-pill: 9999px;

  /* Shadows */
  --sh-card:  0 1px 3px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.04);
  --sh-hover: 0 8px 28px rgba(0,0,0,.09), 0 2px 6px rgba(0,0,0,.04);
  --sh-bs:    0 2px 8px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);

  /* Transitions */
  --t-fast:   .18s ease;
  --t-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── 2. Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── 3. NAVBAR ────────────────────────────────────────────── */
/* ── 3. NAVBAR ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--navbar-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-fast);
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
}
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: calc(var(--max-w) + 80px);
  margin-inline: auto;
  padding-inline: var(--px);
  height: 100%;
}

/* Logo */
.navbar__logo {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.navbar__logo-img {
  width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
}
.navbar__logo-text {
  font-family: sans-serif;
  font-size: 18px; font-weight: 600;
  color: var(--ink); letter-spacing: -.3px;
}

/* Nav */
.navbar__nav { display: flex; gap: 28px; margin-left: auto; }
.navbar__link {
  font-size: 14px; font-weight: 400;
  color: var(--ink-light);
  position: relative; padding-bottom: 2px;
  transition: color var(--t-fast);
}
.navbar__link::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 1.5px; background: var(--yellow);
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--t-spring);
}
.navbar__link:hover,
.navbar__link--active { color: var(--ink); }
.navbar__link:hover::after,
.navbar__link--active::after { transform: scaleX(1); }

/* Search */
.navbar__search {
  display: flex; align-items: center; gap: 8px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  color: var(--ink-light); flex-shrink: 0;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.navbar__search:focus-within {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(234,179,8,.12);
}
.navbar__search input {
  border: none; background: none; outline: none;
  font-family: sans-serif; font-size: 13px;
  color: var(--ink); width: 160px;
}
.navbar__search input::placeholder { color: var(--ink-light); }

/* Burger */
.navbar__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px; margin-left: auto;
}
.navbar__burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform .22s, opacity .22s;
}

/* ── 4. HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 88vh;
  padding: calc(var(--navbar-h) + 72px) var(--px) 0;
  background: var(--white);
  overflow: hidden;
}

.hero__content { position: relative; z-index: 2; padding-bottom: 96px; }

.hero__eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--green-mid); margin-bottom: 24px;
}
.eyebrow-dot {
  display: inline-block; width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: dotPulse 2.5s ease infinite;
}

.hero__headline {
  font-family: sans-serif;
  font-size: clamp(52px, 6vw, 96px);
  font-weight: 600; line-height: .98;
  color: var(--ink); letter-spacing: -3px;
  margin-bottom: 24px;
}
.hero__headline em {
  font-style: italic; color: var(--green);
}

.hero__sub {
  font-size: 17px; font-weight: 300;
  color: var(--ink-light); line-height: 1.75;
  max-width: 420px; margin-bottom: 40px;
}

.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px;
  border-radius: var(--r-pill);
  font-family: sans-serif; font-size: 14px; font-weight: 600;
  transition: transform .22s var(--t-spring), box-shadow .22s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--green); color: var(--white);
  box-shadow: 0 4px 16px rgba(13,84,43,.25);
}
.btn--primary:hover { box-shadow: 0 8px 24px rgba(13,84,43,.32); }
.btn--outline {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--border-dark);
}
.btn--outline:hover { border-color: var(--ink); }

/* Visual */
.hero__visual {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center;
  height: 560px;
}

.hero__bean-bg {
  position: absolute;
  width: 460px; height: 460px;
  top: 50%; left: 50%;
  transform: translate(-50%,-52%);
  animation: lemonSpin 60s linear infinite;
  pointer-events: none; z-index: 1;
}

.hero__drink {
  position: absolute;
  object-fit: cover; border-radius: 50%;
}
.hero__drink--main {
  width: 260px; height: 260px;
  bottom: 24px; left: 45%; transform: translateX(-50%);
  z-index: 3;
  box-shadow: 0 24px 64px rgba(0,0,0,.13);
  animation: floatUp 5s ease-in-out infinite;
}
.hero__drink--left {
  width: 175px; height: 175px;
  bottom: 80px; left: 8%; z-index: 2;
  box-shadow: 0 12px 32px rgba(0,0,0,.09);
  animation: floatUp 3s ease-in-out infinite;
  opacity: .88;
}
.hero__drink--right {
  width: 140px; height: 140px;
  bottom: 140px; right: 1px; z-index: 2;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  animation: floatUp 3s ease-in-out infinite;
  opacity: .78;
}

.hero__wave {
  position: absolute; bottom: -1px; left: 0; right: 0;
  z-index: 4; line-height: 0; grid-column: 1/-1;
  pointer-events: none;
}
.hero__wave svg { display: block; width: 100%; height: auto; }

/* ── 5. SECTION CHROME ────────────────────────────────────── */
.eyebrow {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--green); display: block; margin-bottom: 8px;
}
.section-title {
  font-family: sans-serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600; color: var(--ink);
  letter-spacing: -1px; line-height: 1.1;
}
.section-sub {
  font-size: 15px; font-weight: 300;
  color: var(--ink-light); line-height: 1.7;
  max-width: 500px;
}
.section-header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  gap: 24px; margin-bottom: 40px;
  flex-wrap: wrap;
}

/* ── 6. BEST SELLERS ──────────────────────────────────────── */
.bs-section {
  background: var(--off-white);
  padding: 80px 0 88px;
}
.bs-section__inner {
  max-width: var(--max-w); margin-inline: auto; padding-inline: var(--px);
}
.bs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bs-card {
  background: var(--white);
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--sh-bs);
  transition: transform .28s var(--t-spring), box-shadow .28s;
}
.bs-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.1);
}
.bs-card__img-wrap {
  position: relative;
  height: 220px; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.bs-card__img {
  width: 175px; height: 175px;
  object-fit: cover; border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0,0,0,.1);
  transition: transform .35s var(--t-spring);
}
.bs-card:hover .bs-card__img { transform: scale(1.07); }
.bs-card__body {
  padding: 16px 18px 20px;
  display: flex; flex-direction: column; gap: 3px; flex: 1;
  border-top: 1px solid var(--border);
}
.bs-card__name {
  font-family: sans-serif;
  font-size: 17px; font-weight: 600;
  color: var(--ink); letter-spacing: -.4px; line-height: 1.25;
  margin-top: 4px;
}
.bs-card__variant {
  font-size: 12px; font-weight: 300;
  color: var(--ink-light); flex: 1; margin-bottom: 14px;
}
.bs-card__footer {
  display: flex; align-items: center; justify-content: space-between;
}
.bs-card__price {
  font-family: sans-serif;
  font-size: 22px; font-weight: 600; color: var(--ink);
}

/* ── 7. ORDER BUTTON ──────────────────────────────────────── */
.btn-order {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green); color: var(--white);
  font-size: 12px; font-weight: 700;
  padding: 8px 18px; border-radius: var(--r-pill);
  transition: background var(--t-fast), transform .22s var(--t-spring), box-shadow .22s;
}
.btn-order:hover {
  background: var(--green-hover); color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13,84,43,.28);
}

/* ── 8. TAGS ──────────────────────────────────────────────── */
.card-tag {
  position: absolute; top: 10px; left: 10px;
  font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  padding: 3px 9px; border-radius: var(--r-pill);
}
.tag--green { background: var(--green); color: var(--white); }
.tag--sage  { background: var(--green-light); color: #14532d; }
.tag--grey  { background: var(--off-white); color: var(--ink-light); border: 1px solid var(--border-dark); }

/* ── 9. RULE DIVIDER ──────────────────────────────────────── */
.rule-divider {
  height: 1px; background: var(--border);
  max-width: var(--max-w); margin: 0 auto;
}

/* ── 10. FILTER BAR ───────────────────────────────────────── */
.filter-bar {
  position: sticky; top: var(--navbar-h); z-index: 900;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.filter-bar__inner {
  display: flex; gap: 6px; align-items: center;
  max-width: var(--max-w); margin-inline: auto;
  padding: 12px var(--px);
  overflow-x: auto; scrollbar-width: none;
}
.filter-bar__inner::-webkit-scrollbar { display: none; }

.filter-pill {
  flex-shrink: 0; padding: 7px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-dark);
  background: transparent; color: var(--ink-light);
  font-family: sans-serif; font-size: 13px; font-weight: 400;
  white-space: nowrap; cursor: pointer;
  transition: all .2s var(--t-spring);
}
.filter-pill:hover {
  border-color: var(--ink-light); color: var(--ink);
  transform: translateY(-1px);
}
.filter-pill.active {
  background: rgb(104, 51, 28); border-color: rgb(104, 51, 28);
  color: var(--white);
}

/* ── 11. MAIN MENU ────────────────────────────────────────── */
.menu-main {
  background: var(--white);
  padding: 64px 0 80px;
}
.menu-main__inner {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: var(--px);
  display: flex; flex-direction: column; gap: 72px;
}

/* ── 12. MENU SECTION ─────────────────────────────────────── */
.menu-section { display: flex; flex-direction: column; gap: 24px; }
.menu-section.hidden { display: none; }

.menu-section__title {
  font-family: sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600; color: var(--ink);
  letter-spacing: -.7px; margin-bottom: 4px;
}
/* Green left-bar accent */
.menu-section__title::before {
  content: '';
  display: inline-block;
  width: 3px; height: 1em;
  background: var(--green);
  border-radius: 2px;
  margin-right: 12px;
  vertical-align: middle;
  margin-top: -3px;
}
.menu-section__sub {
  font-size: 14px; font-weight: 300;
  color: var(--ink-light); padding-left: 15px;
}

/* ── 13. 4-COLUMN PRODUCT GRID ────────────────────────────── */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* ── 14. PRODUCT CARD ─────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--sh-card);
  transition: transform .28s var(--t-spring), box-shadow .28s, border-color .2s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-hover);
  border-color: rgba(13,84,43,.2);
}

.card__img-wrap {
  position: relative;
  height: 200px; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.card__img {
  width: 155px; height: 155px;
  object-fit: cover; border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0,0,0,.09);
  transition: transform .35s var(--t-spring);
}
.card:hover .card__img { transform: scale(1.07); }

.card__body {
  padding: 14px 16px 18px;
  display: flex; flex-direction: column; flex: 1;
}
.card__brand {
  font-size: 9px; font-weight: 500;
  letter-spacing: 1px;
  color: var(--green); margin-bottom: 4px;
}
.card__name {
  font-family: sans-serif;
  font-size: 16px; font-weight: 600;
  color: var(--ink); letter-spacing: -.4px; line-height: 1.25;
  margin-bottom: 4px;
}
.card__variant {
  font-size: 12px; font-weight: 300;
  color: var(--ink-light); flex: 1; margin-bottom: 14px;
  line-height: 1.4;
}
.card__footer {
  display: flex; align-items: center;
  justify-content: space-between; gap: 8px;
}
.card__price {
  font-family: sans-serif;
  font-size: 19px; font-weight: 600; color: var(--ink);
}

/* ── 15. CTA BAND ─────────────────────────────────────────── */
.cta-band {
  background: var(--green);   /* green for Koh-fee */
  padding: 88px var(--px); text-align: center;
}
.cta-band__inner { max-width: 600px; margin-inline: auto; }
.cta-band__title {
  font-family: sans-serif;
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 600; color: var(--white);
  letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 16px;
}
.cta-band__sub {
  font-size: 16px; font-weight: 300;
  color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 36px;
}
.cta-band__btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--yellow); color: var(--ink);
  font-size: 14px; font-weight: 700;
  padding: 14px 36px; border-radius: var(--r-pill);
  transition: transform .22s var(--t-spring), box-shadow .22s, background .18s;
}
.cta-band__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(234,179,8,.4);
  background: var(--yellow-hover); color: var(--white);
}

/* ── 16. FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding-top: 60px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
  max-width: var(--max-w); margin-inline: auto;
  padding: 0 var(--px) 52px;
}
.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer__logo-icon {
  width: 56px; height: 56px;
  background: var(--green);
  color: var(--white);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: sans-serif;
  font-size: 26px; font-weight: 700;
}
.footer__tagline {
  font-family: sans-serif; font-style: italic;
  font-size: 16px; font-weight: 300; color: var(--ink-mid);
}
.footer__heading {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--ink); margin-bottom: 18px;
}
.footer__list { display: flex; flex-direction: column; gap: 10px; }
.footer__link {
  font-size: 14px; font-weight: 300; color: var(--ink-light);
  transition: color var(--t-fast);
}
.footer__link:hover { color: var(--ink); }
.footer__contact { font-size: 13px; color: var(--ink-light); margin-bottom: 6px; }
.footer__socials { display: flex; gap: 8px; margin-top: 16px; }
.footer__social {
  width: 34px; height: 34px;
  background: var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mid);
  transition: background var(--t-fast), color var(--t-fast), transform .22s var(--t-spring);
}
.footer__social:hover {
  background: var(--green); color: var(--white);
  transform: translateY(-2px);
}
.footer__bottom {
  border-top: 1px solid var(--border);
  text-align: center; padding: 22px var(--px);
}
.footer__bottom p { font-size: 12px; color: var(--ink-light); }

/* ── 17. SCROLL REVEAL ────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ── 18. ANIMATIONS ───────────────────────────────────────── */
@keyframes floatUp {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(-10px); }
}
@keyframes lemonSpin {
  to { transform: translate(-50%,-52%) rotate(360deg); }
}
@keyframes dotPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.6); opacity: .5; }
}

/* ── 19. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1100px) {
  :root { --px: 44px; }
  .bs-grid   { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --px: 24px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-bottom: 56px; }
  .hero__visual { display: none; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .navbar__nav, .navbar__search { display: none; }
  .navbar__burger { display: flex; }
  .navbar.nav-open .navbar__nav {
    display: flex; flex-direction: column;
    position: fixed; top: var(--navbar-h); left: 0; right: 0;
    background: rgba(255,255,255,.98);
    padding: 24px var(--px); gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.08); z-index: 999;
  }
}
@media (max-width: 520px) {
  :root { --px: 16px; }
  .bs-grid, .menu-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; }
  .btn { justify-content: center; }
  .section-header { flex-direction: column; align-items: flex-start; }
}