/* ============================================================
   Jamming Goat 3.0 — Rooftop Resto-Bar
   Luxe: near-black · champagne gold · oxblood
   Motion-first, zero-dependency
   ============================================================ */

:root {
  --bg: #0a0a0c;
  --bg-2: #0f0e12;
  --bg-3: #16141a;
  --ink: #f4efe6;
  --muted: #948e86;
  --gold: #d9b676;
  --gold-2: #b8935a;
  --gold-soft: #f0dcae;
  --wine: #7c1f2b;
  --wine-soft: #b5333f;
  --line: rgba(217, 182, 118, 0.16);
  --line-2: rgba(255, 255, 255, 0.06);
  --card: rgba(255, 255, 255, 0.022);
  --radius: 16px;
  --shadow: 0 44px 100px -44px rgba(0, 0, 0, 0.9);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold); color: #1a1206; }

/* ---------- Backdrops ---------- */
.bg-aurora {
  position: fixed; inset: -25%; z-index: -3;
  background:
    radial-gradient(38% 40% at 20% 16%, rgba(217, 182, 118, 0.12), transparent 62%),
    radial-gradient(42% 44% at 84% 24%, rgba(124, 31, 43, 0.16), transparent 62%),
    radial-gradient(55% 55% at 60% 96%, rgba(22, 20, 26, 0.9), transparent 60%);
  filter: blur(26px);
  animation: aurora 24s var(--ease) infinite alternate;
}
@keyframes aurora {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.06); }
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#spark-canvas { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 420px; height: 420px;
  margin: -210px 0 0 -210px; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(217, 182, 118, 0.08), transparent 62%);
  transition: opacity .3s; opacity: 0;
}

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: rgba(255,255,255,0.04); }
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold), var(--wine-soft));
  box-shadow: 0 0 12px rgba(217, 182, 118, 0.55);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 100px; font-weight: 500; font-size: 0.92rem;
  text-decoration: none; letter-spacing: .3px; cursor: pointer; border: 1px solid transparent;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn-solid {
  background: linear-gradient(120deg, var(--gold-soft), var(--gold-2));
  color: #241704; font-weight: 600;
  box-shadow: 0 12px 34px -14px rgba(184, 147, 90, 0.7);
}
.btn-solid:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 46px -16px rgba(217, 182, 118, 0.85); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,0.015); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--gold-soft); }
.btn.big { padding: 18px 42px; font-size: 1rem; }

/* ---------- Monogram ---------- */
.brand-mono {
  font-family: "Fraunces", serif; font-style: italic; font-weight: 500;
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  border: 1px solid var(--line); color: var(--gold-soft); font-size: 0.95rem; letter-spacing: .5px;
  background: rgba(217,182,118,.05);
}
.brand-mono.big {
  width: 74px; height: 74px; border-radius: 18px; font-size: 2rem; margin: 0 auto 26px;
  box-shadow: 0 0 40px -10px rgba(217,182,118,.5);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(18px, 5vw, 68px);
  border-bottom: 1px solid transparent;
  transition: background .4s, backdrop-filter .4s, padding .4s, border-color .4s;
}
.nav.scrolled { background: rgba(10, 10, 12, 0.78); backdrop-filter: blur(16px); border-bottom-color: var(--line); padding-top: 13px; padding-bottom: 13px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-text { font-family: "Fraunces", serif; font-size: 1.26rem; font-weight: 400; letter-spacing: .3px; }
.brand-text b { color: var(--gold); font-weight: 500; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; position: relative; padding: 4px 0; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0; background: linear-gradient(90deg, var(--gold), var(--wine-soft)); transition: width .35s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 10px 22px; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-burger span { width: 26px; height: 1.5px; background: var(--ink); transition: .3s; }

/* ---------- Hero (split: text + photo) ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(30px, 5vw, 80px);
  padding: 130px clamp(20px, 6vw, 80px) 90px;
}
.hero-text { position: relative; z-index: 2; }
.eyebrow { text-transform: uppercase; letter-spacing: 4px; font-size: 0.72rem; color: var(--gold); margin-bottom: 22px; font-weight: 500; }
.hero-title {
  font-family: "Fraunces", serif; font-weight: 300; letter-spacing: -0.5px;
  font-size: clamp(2.9rem, 6.6vw, 5.6rem); line-height: 1.02; margin-bottom: 24px;
}
.ital { font-style: italic; font-weight: 400; }
.hl { background: linear-gradient(120deg, var(--gold-soft), var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 500px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }
.hero-badges { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.badge { display: flex; flex-direction: column; }
.badge b { font-family: "Fraunces", serif; font-size: 1.55rem; font-weight: 400; color: var(--gold-soft); line-height: 1; }
.badge span { font-size: 0.66rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 6px; }
.badge-div { width: 1px; height: 34px; background: var(--line); }

/* Hero photo */
.hero-photo { position: relative; z-index: 2; display: flex; justify-content: center; }
.photo-frame {
  position: relative; width: min(100%, 440px); aspect-ratio: 4/5; border-radius: 20px;
  padding: 8px; background: linear-gradient(150deg, var(--gold), rgba(124,31,43,.5) 55%, rgba(217,182,118,.2));
  box-shadow: var(--shadow); transform: perspective(1200px) rotateY(-4deg); transition: transform .5s var(--ease);
}
.photo-frame:hover { transform: perspective(1200px) rotateY(0) translateY(-4px); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; display: block; }
.photo-frame::after {
  content: ""; position: absolute; inset: 8px; border-radius: 14px; pointer-events: none;
  box-shadow: inset 0 0 60px rgba(10,10,12,.5); border: 1px solid rgba(255,255,255,.06);
}
.frame-tag {
  position: absolute; bottom: 20px; left: 20px; z-index: 3;
  font-size: .66rem; text-transform: uppercase; letter-spacing: 2px; color: var(--gold-soft);
  background: rgba(10,10,12,.65); backdrop-filter: blur(6px); padding: 7px 14px; border-radius: 100px;
  border: 1px solid var(--line);
}

.scroll-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: var(--muted); text-decoration: none; font-size: .66rem; letter-spacing: 3px; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-hint span { width: 20px; height: 34px; border: 1.5px solid var(--line); border-radius: 12px; position: relative; }
.scroll-hint span::after { content: ""; position: absolute; top: 6px; left: 50%; margin-left: -2px; width: 3px; height: 7px; border-radius: 4px; background: var(--gold); animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; overflow: hidden; white-space: nowrap; background: linear-gradient(90deg, rgba(217,182,118,.03), rgba(124,31,43,.05)); }
.marquee-track { display: inline-flex; align-items: center; gap: 30px; animation: scrollx 32s linear infinite; }
.marquee-track span { font-family: "Fraunces", serif; font-style: italic; font-size: 1.6rem; font-weight: 300; color: var(--ink); }
.marquee-track i { color: var(--gold); font-style: normal; font-size: .7rem; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- Section shells ---------- */
section { position: relative; z-index: 2; }
.section-tag { text-transform: uppercase; letter-spacing: 4px; font-size: .68rem; color: var(--wine-soft); font-weight: 600; margin-bottom: 16px; }
h2 { font-family: "Fraunces", serif; font-weight: 300; line-height: 1.04; letter-spacing: -0.5px; font-size: clamp(2.1rem, 5vw, 3.7rem); }
.muted { color: var(--muted); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding: clamp(80px, 12vw, 150px) clamp(18px, 6vw, 90px); }
.about-copy p { color: var(--muted); margin-top: 18px; max-width: 520px; }
.about-copy h2 { margin-top: 8px; }
.quote-card { position: relative; aspect-ratio: 4/5; border-radius: 20px; padding: clamp(30px,5vw,52px); background: radial-gradient(130% 130% at 30% 0, #1c1922, var(--bg-2)); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; }
.quote-mark { font-family: "Fraunces", serif; font-size: 6rem; line-height: 0.5; color: var(--gold); opacity: .5; margin-bottom: 20px; }
.quote-text { font-family: "Fraunces", serif; font-style: italic; font-weight: 300; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3; }
.quote-by { margin-top: 24px; color: var(--muted); font-size: .82rem; letter-spacing: .5px; }
.tilt-corner { position: absolute; width: 16px; height: 16px; border: 1.5px solid var(--gold); opacity: .6; }
.tc-tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.tc-tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.tc-bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.tc-br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.stat-row { display: flex; gap: 40px; margin-top: 38px; flex-wrap: wrap; }
.stat b { font-family: "Fraunces", serif; font-size: clamp(2rem, 5vw, 3rem); font-weight: 400; color: var(--gold-soft); display: block; }
.stat span { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: 1.5px; }

/* ---------- Menu ---------- */
.menu { padding: clamp(60px, 10vw, 120px) clamp(18px, 6vw, 90px); }
.menu-head { text-align: center; margin-bottom: 46px; }
.menu-head .muted { margin-top: 14px; }
.menu-tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; padding: 6px; border: 1px solid var(--line); border-radius: 100px; background: rgba(255,255,255,.02); }
.tab { border: 0; background: transparent; color: var(--muted); font-family: inherit; font-size: .84rem; font-weight: 400; padding: 9px 18px; border-radius: 100px; cursor: pointer; transition: color .3s, background .3s; letter-spacing: .3px; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: #241704; background: linear-gradient(120deg, var(--gold-soft), var(--gold-2)); font-weight: 600; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.dish { padding: 26px 26px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line-2); position: relative; overflow: hidden; transition: transform .45s var(--ease), border-color .45s, background .45s, opacity .4s, scale .4s; }
.dish::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity .45s; }
.dish:hover { transform: translateY(-6px); border-color: var(--line); background: rgba(255,255,255,.035); }
.dish:hover::before { opacity: .7; }
.dish.hide { display: none; }
.dish.pop { animation: pop .5s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.dish-kicker { font-size: .62rem; text-transform: uppercase; letter-spacing: 2.5px; color: var(--muted); }
.dish-kicker.gold { color: var(--gold); }
.dish-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 12px 0 8px; }
.dish h3 { font-family: "Fraunces", serif; font-size: 1.2rem; font-weight: 400; letter-spacing: -0.2px; }
.price { font-family: "Fraunces", serif; font-size: 1.28rem; font-weight: 400; color: var(--gold-soft); white-space: nowrap; }
.dish p { color: var(--muted); font-size: .88rem; margin-bottom: 16px; }
.tag { display: inline-flex; align-items: center; gap: 7px; font-size: .64rem; text-transform: uppercase; letter-spacing: 1.5px; padding: 5px 12px; border-radius: 100px; border: 1px solid var(--line-2); color: var(--muted); }
.tag .ic { width: 13px; height: 13px; }
.tag .dot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; }
.tag.veg { color: #86c98f; border-color: rgba(134,201,143,.32); }
.tag.veg .dot { background: #86c98f; }
.tag.nonveg { color: #e08f7a; border-color: rgba(224,143,122,.32); }
.tag.nonveg .dot { background: #e08f7a; }
.tag.bar { color: var(--gold-soft); border-color: rgba(217,182,118,.4); }
.dish.feature { background: linear-gradient(150deg, rgba(217,182,118,.1), rgba(124,31,43,.1)); border-color: var(--line); }
.menu-note { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 36px; }

/* ---------- Vibe ---------- */
.vibe { padding: clamp(60px, 10vw, 120px) clamp(18px, 6vw, 90px); }
.vibe-head { text-align: center; margin-bottom: 52px; }
.vibe-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.vibe-tile { aspect-ratio: 1/0.74; border-radius: var(--radius); border: 1px solid var(--line-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; position: relative; overflow: hidden; background: radial-gradient(130% 130% at 50% 0, #16141a, var(--bg-2)); transition: transform .5s var(--ease), border-color .5s; }
.v-ic { width: 40px; height: 40px; color: var(--gold); transition: transform .5s var(--ease); }
.vibe-tile p { font-family: "Fraunces", serif; font-size: 1.2rem; font-weight: 400; }
.vibe-tile::after { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s; background: linear-gradient(150deg, rgba(217,182,118,.1), rgba(124,31,43,.12)); }
.vibe-tile:hover { transform: translateY(-6px); border-color: var(--line); }
.vibe-tile:hover .v-ic { transform: scale(1.14) translateY(-2px); }
.vibe-tile:hover::after { opacity: 1; }

/* ---------- Visit ---------- */
.visit { padding: clamp(60px, 10vw, 120px) clamp(18px, 6vw, 90px); }
.visit-card { display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); box-shadow: var(--shadow); }
.visit-info { padding: clamp(30px, 5vw, 58px); }
.visit-info h2 { margin-bottom: 34px; }
.info-row { display: flex; gap: 16px; margin-bottom: 26px; align-items: flex-start; }
.info-ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); background: rgba(217,182,118,.05); }
.info-ico svg { width: 20px; height: 20px; }
.info-row b { display: block; margin-bottom: 4px; font-weight: 500; }
.info-row p { color: var(--muted); font-size: .9rem; }
.info-row a { color: var(--gold-soft); text-decoration: none; }
.visit-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.visit-map { position: relative; min-height: 380px; }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.5) invert(.92) contrast(.9) brightness(.95) sepia(.2); }
.map-glow { position: absolute; inset: 0; z-index: 2; pointer-events: none; box-shadow: inset 0 0 120px rgba(10,10,12,.92); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 40px; }
.footer-cta { text-align: center; padding: clamp(64px, 10vw, 120px) 20px; }
.footer-cta h2 { margin-bottom: 32px; }
.footer-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px clamp(18px, 6vw, 90px); border-top: 1px solid var(--line); }
.footer-bar .brand { font-family: "Fraunces", serif; font-size: 1.08rem; gap: 10px; }
.footer-bar .brand b { color: var(--gold); }
.footer-bar .brand-mono { width: 28px; height: 28px; font-size: .82rem; }
.socials { display: flex; gap: 22px; }
.socials a { color: var(--muted); text-decoration: none; font-size: .88rem; transition: color .3s; }
.socials a:hover { color: var(--gold-soft); }
.copy { color: var(--muted); font-size: .74rem; width: 100%; text-align: center; margin-top: 4px; }

/* ---------- Reveal ---------- */
.reveal, .reveal-up, .reveal-left, .reveal-right { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal { transform: translateY(18px); }
.reveal-up { transform: translateY(38px); }
.reveal-left { transform: translateX(-38px); }
.reveal-right { transform: translateX(38px); }
.is-visible { opacity: 1 !important; transform: none !important; }
.menu-grid .reveal-up { transition-delay: calc(var(--i, 0) * 55ms); }
.vibe-grid .reveal-up { transition-delay: calc(var(--i, 0) * 65ms); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 110px; gap: 40px; }
  .hero-text { order: 2; }
  .hero-photo { order: 1; }
  .hero-actions, .hero-badges { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .photo-frame { transform: none; width: min(86%, 380px); }
  .photo-frame:hover { transform: translateY(-4px); }
}
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about-visual { max-width: 380px; margin: 0 auto; }
  .visit-card { grid-template-columns: 1fr; }
  .visit-map { min-height: 300px; order: 2; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; right: 16px; background: rgba(10,10,12,.97); border: 1px solid var(--line); border-radius: 16px; padding: 18px 28px; gap: 16px; backdrop-filter: blur(16px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-up, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}
