/* ===== Lime & Latte — tropical café ===== */
:root {
  --lime: #7fc242;
  --lime-bright: #94d64f;
  --leaf: #3f6d1f;
  --leaf-deep: #2c4f14;
  --cream: #f7efe0;
  --foam: #fdf9f0;
  --espresso: #3a2a1c;
  --caramel: #b07d4f;
  --red: #e8413d;
  --red-deep: #c22f2c;
  --font-display: 'Shrikhand', 'Georgia', serif;
  --font-script: 'Pacifico', cursive;
  --font-body: 'Karla', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--espresso);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}

/* grain texture over everything */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.045'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1.2rem; }
h2.light { color: var(--foam); }

.section-kicker {
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: var(--red);
  margin-bottom: 0.8rem;
}
.section-kicker.light { color: var(--lime-bright); }

.squiggle {
  position: relative;
  color: var(--red);
  white-space: nowrap;
}
.squiggle::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.12em;
  height: 0.28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M0,8 Q12,2 25,8 T50,8 T75,8 T100,8' fill='none' stroke='%237fc242' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem clamp(1rem, 4vw, 2.5rem);
  background: color-mix(in srgb, var(--foam) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid color-mix(in srgb, var(--espresso) 10%, transparent);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--espresso);
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.nav-brand img { height: 40px; width: auto; }
.nav-brand em { color: var(--red); font-style: normal; }
.nav-links { display: flex; gap: clamp(0.8rem, 2.5vw, 1.8rem); }
.nav-links a {
  text-decoration: none;
  color: var(--espresso);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.3rem 0.15rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--red); border-color: var(--red); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem clamp(1.2rem, 5vw, 4rem) 6rem;
  background:
    radial-gradient(1200px 700px at 85% -10%, color-mix(in srgb, var(--lime) 26%, transparent), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, color-mix(in srgb, var(--caramel) 22%, transparent), transparent 55%),
    var(--cream);
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.blob-1 {
  width: 340px; height: 340px;
  right: -80px; top: 8%;
  background: color-mix(in srgb, var(--lime) 30%, transparent);
  animation: drift 9s ease-in-out infinite alternate;
}
.blob-2 {
  width: 220px; height: 220px;
  left: -60px; bottom: 18%;
  background: color-mix(in srgb, var(--red) 14%, transparent);
  animation: drift 11s ease-in-out infinite alternate-reverse;
}
.ring {
  position: absolute;
  border: 3px dashed color-mix(in srgb, var(--leaf) 35%, transparent);
  border-radius: 50%;
}
.ring-1 { width: 180px; height: 180px; left: 12%; top: 14%; animation: spin 40s linear infinite; }
.ring-2 { width: 120px; height: 120px; right: 18%; bottom: 22%; animation: spin 30s linear infinite reverse; }
@keyframes drift { to { transform: translate(24px, -30px) scale(1.06); } }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-kicker {
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--leaf);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  margin-bottom: 1.4rem;
}
.hero h1 .line {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}
.hero h1 .line:nth-child(1) { animation-delay: 0.1s; }
.hero h1 .line:nth-child(2) { animation-delay: 0.25s; }
.hero h1 .line:nth-child(3) { animation-delay: 0.4s; }
.hero h1 .line:nth-child(4) { animation-delay: 0.6s; }
.hero h1 .accent { color: var(--leaf); }
.hero h1 .script {
  font-family: var(--font-script);
  color: var(--red);
  font-size: 0.85em;
  text-shadow: 0 0 18px color-mix(in srgb, var(--red) 45%, transparent);
}
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-sub {
  max-width: 46ch;
  font-size: 1.08rem;
  margin-bottom: 1.8rem;
  color: color-mix(in srgb, var(--espresso) 82%, transparent);
  opacity: 0;
  animation: rise 0.7s 0.75s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}
.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; opacity: 0; animation: rise 0.7s 0.9s cubic-bezier(0.2,0.8,0.3,1) forwards; }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}
.btn-red {
  background: var(--red);
  color: var(--foam);
  box-shadow: 0 6px 0 var(--red-deep);
}
.btn-red:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--red-deep); }
.btn-red:active { transform: translateY(2px); box-shadow: 0 3px 0 var(--red-deep); }
.btn-ghost {
  border: 3px solid var(--espresso);
  color: var(--espresso);
}
.btn-ghost:hover { background: var(--espresso); color: var(--cream); transform: translateY(-3px); }

.hero-art { position: relative; display: flex; justify-content: center; }
.hero-logo {
  width: min(88%, 430px);
  height: auto;
  filter: drop-shadow(0 24px 32px color-mix(in srgb, var(--leaf-deep) 30%, transparent));
  animation: bob 5s ease-in-out infinite;
}
.hero-shadow {
  position: absolute;
  bottom: -18px; left: 50%;
  transform: translateX(-50%);
  width: 55%; height: 26px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--leaf-deep) 20%, transparent);
  filter: blur(6px);
  animation: shadow 5s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-16px) rotate(1.2deg); } }
@keyframes shadow { 0%, 100% { transform: translateX(-50%) scaleX(1); opacity: 0.9; } 50% { transform: translateX(-50%) scaleX(0.8); opacity: 0.55; } }

.wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.wave svg { width: 100%; height: clamp(40px, 7vw, 90px); display: block; }

/* ===== TICKER ===== */
.ticker {
  background: var(--leaf);
  color: var(--cream);
  overflow: hidden;
  padding: 0.75rem 0;
  border-top: 3px solid var(--leaf-deep);
  border-bottom: 3px solid var(--leaf-deep);
}
.ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.05rem;
  animation: ticker 26s linear infinite;
}
.ticker-track i { font-style: normal; color: var(--lime-bright); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ===== STORY ===== */
.story { padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 5vw, 4rem); }
.story-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.story-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
  text-align: left;
}
.story-card {
  padding: 2rem 1.8rem;
  border-radius: 22px;
  border: 3px solid var(--espresso);
  box-shadow: 8px 8px 0 var(--espresso);
  transition: transform 0.2s, box-shadow 0.2s;
}
.story-card:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--espresso); }
.lime-side { background: color-mix(in srgb, var(--lime) 32%, var(--foam)); transform: rotate(-1deg); }
.latte-side { background: color-mix(in srgb, var(--caramel) 28%, var(--foam)); transform: rotate(1deg); }
.lime-side:hover { transform: rotate(-1deg) translate(-3px, -3px); }
.latte-side:hover { transform: rotate(1deg) translate(-3px, -3px); }
.story-badge { font-size: 2rem; margin-bottom: 0.6rem; }
.story-card h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.story-footnote {
  max-width: 60ch;
  margin: 0 auto;
  font-size: 1.05rem;
  color: color-mix(in srgb, var(--espresso) 85%, transparent);
}

/* ===== MENU ===== */
.menu {
  background:
    radial-gradient(900px 500px at 110% 0%, color-mix(in srgb, var(--lime) 14%, transparent), transparent 55%),
    var(--leaf-deep);
  padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 5vw, 4rem);
}
.menu-inner { max-width: 1150px; margin: 0 auto; text-align: center; }
.neon {
  font-family: var(--font-script);
  color: #ffdada;
  font-size: 0.9em;
  text-shadow:
    0 0 6px var(--red),
    0 0 18px var(--red),
    0 0 42px color-mix(in srgb, var(--red) 70%, transparent);
  animation: flicker 4.5s linear infinite;
}
@keyframes flicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.55; }
  94% { opacity: 1; }
  96.5% { opacity: 0.7; }
  97% { opacity: 1; }
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
  margin: 2.6rem 0 1.6rem;
  align-items: stretch;
}
.menu-card {
  position: relative;
  background: var(--foam);
  border-radius: 20px;
  padding: 1.9rem 1.4rem 1.5rem;
  text-align: left;
  border: 3px solid var(--espresso);
  box-shadow: 0 10px 24px color-mix(in srgb, black 35%, transparent);
  transition: transform 0.22s;
}
.menu-card:hover { transform: translateY(-8px) rotate(-0.6deg); }
.menu-card.featured {
  background: linear-gradient(160deg, color-mix(in srgb, var(--lime) 38%, var(--foam)), var(--foam) 70%);
  outline: 3px solid var(--lime-bright);
  outline-offset: 4px;
}
.menu-flag {
  position: absolute;
  top: -14px; right: 14px;
  background: var(--red);
  color: var(--foam);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  transform: rotate(3deg);
  box-shadow: 0 3px 0 var(--red-deep);
}
.menu-icon { font-size: 1.9rem; margin-bottom: 0.5rem; }
.menu-card h3 { font-size: 1.25rem; margin-bottom: 0.7rem; }
.menu-card ul { list-style: none; }
.menu-card li {
  padding: 0.28rem 0;
  font-weight: 500;
  border-bottom: 1px dashed color-mix(in srgb, var(--espresso) 25%, transparent);
}
.menu-card li:last-child { border-bottom: none; }
.menu-note {
  margin-top: 0.8rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--leaf);
}
.menu-disclaimer {
  color: color-mix(in srgb, var(--cream) 75%, transparent);
  font-size: 0.9rem;
  max-width: 62ch;
  margin: 0 auto;
}

/* ===== RUMFRESHING ===== */
.rumfreshing {
  background:
    radial-gradient(700px 380px at 50% 50%, color-mix(in srgb, var(--caramel) 20%, transparent), transparent 70%),
    var(--cream);
  padding: clamp(3rem, 7vw, 5rem) clamp(1.2rem, 5vw, 4rem) 1rem;
  text-align: center;
  overflow: hidden;
}
.rumfreshing-inner { max-width: 760px; margin: 0 auto; }
.rumfreshing-art {
  width: min(100%, 640px);
  height: auto;
  filter: drop-shadow(0 14px 22px color-mix(in srgb, var(--caramel) 35%, transparent));
  transform: rotate(-2deg);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.rumfreshing-art:hover { transform: rotate(1deg) scale(1.03); }
.rumfreshing-copy {
  margin-top: 0.8rem;
  font-size: 1.15rem;
  font-weight: 700;
}
.rumfreshing-copy span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: color-mix(in srgb, var(--espresso) 55%, transparent);
}

/* ===== EVENTS ===== */
.events { padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 5vw, 4rem); }
.events-inner {
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.events-copy p { margin-bottom: 1.6rem; max-width: 52ch; font-size: 1.05rem; }
.events-pouch { display: flex; justify-content: center; }
.pouch {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(4deg);
  transition: transform 0.25s;
}
.pouch:hover { transform: rotate(-2deg) scale(1.04); }
.pouch-cap {
  width: 34px; height: 22px;
  background: var(--espresso);
  border-radius: 6px 6px 0 0;
}
.pouch-body {
  width: 190px; height: 250px;
  background: linear-gradient(165deg, var(--red) 0%, var(--red-deep) 60%, #8f201e 100%);
  border-radius: 14px 14px 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  color: var(--foam);
  box-shadow: 12px 14px 0 color-mix(in srgb, var(--espresso) 22%, transparent), inset -14px 0 24px rgba(0,0,0,0.25);
}
.pouch-script { font-family: var(--font-script); font-size: 1.9rem; text-shadow: 0 0 12px rgba(255,255,255,0.5); }
.pouch-label { font-size: 0.6rem; font-weight: 800; letter-spacing: 0.14em; }
.pouch-size { font-family: var(--font-display); font-size: 0.85rem; opacity: 0.85; }

/* ===== VISIT ===== */
.visit {
  position: relative;
  background:
    radial-gradient(800px 500px at 50% 120%, color-mix(in srgb, var(--lime) 25%, transparent), transparent 60%),
    var(--espresso);
  padding: clamp(4.5rem, 10vw, 8rem) clamp(1.2rem, 5vw, 4rem);
  text-align: center;
  overflow: hidden;
}
.visit-inner { position: relative; max-width: 700px; margin: 0 auto; }
.visit-logo {
  width: 110px;
  height: auto;
  margin-bottom: 1.2rem;
  animation: bob 6s ease-in-out infinite;
}
.visit-sub { color: color-mix(in srgb, var(--cream) 82%, transparent); font-size: 1.08rem; margin: 0.6rem 0 1.8rem; }
.visit-sub strong { color: var(--lime-bright); }
.visit-tags { display: flex; justify-content: center; gap: 0.7rem; flex-wrap: wrap; }
.visit-tags span {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  border: 2px solid var(--lime);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.visit-tags span:hover { background: var(--lime); color: var(--leaf-deep); transform: translateY(-3px); }

/* ===== FOOTER ===== */
.footer {
  background: var(--leaf-deep);
  color: color-mix(in srgb, var(--cream) 80%, transparent);
  padding: 2rem clamp(1.2rem, 5vw, 4rem);
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.3rem; color: var(--cream); }
.footer-brand em { color: var(--red); font-style: normal; }
.footer-line { font-family: var(--font-script); color: var(--lime-bright); font-size: 1.02rem; }
.footer-copy { font-size: 0.8rem; opacity: 0.7; margin-top: 0.4rem; }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
.menu-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.menu-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.menu-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-art { order: 1; }
  .hero-logo { width: min(60%, 300px); }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .events-inner { grid-template-columns: 1fr; text-align: center; }
  .events-copy p { margin-inline: auto; }
}
@media (max-width: 600px) {
  .nav-links a:not(:last-child) { display: none; }
  .menu-grid { grid-template-columns: 1fr; }
  .story-cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}
