/* ─────────────────────────────────────────────
   JOLLOFA — TEASER LANDING PAGE
   Brand tokens mirrored from src/app/globals.css
───────────────────────────────────────────── */

:root {
  --near-black:   #010602;
  --dark-green:   #031A08;
  --deep:         #031C0A;
  --forest:       #0A3D18;
  --earth:        #28A04A;
  --sage:         #C2DBC8;
  --sage-wash:    #E8F2EA;
  --burnt:        #C07800;
  --gold:         #D19427;
  --gold-bright:  #F1C14B;

  --font-sans:    'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --font-caveat:  'Caveat', cursive;
}

* , *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--near-black);
  background: #FBFBF8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.font-caveat { font-family: var(--font-caveat); }

a { color: inherit; text-decoration: none; }

/* ── Background scene ───────────────────────── */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-scene__photo {
  position: absolute;
  inset: 0;
  background-image: url('hero-restaurant.jpg');
  background-size: cover;
  background-position: center 32%;
  opacity: 0.62;
  filter: saturate(1.15) contrast(1.04);
  transform: scale(1.04);
}

.bg-scene__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(251,251,248,0.05) 0%, rgba(251,251,248,0.55) 28%, rgba(251,251,248,0.94) 56%, #FBFBF8 78%),
    radial-gradient(120% 90% at 50% 0%, rgba(251,251,248,0) 0%, rgba(251,251,248,0.5) 55%);
}

.grain {
  position: absolute;
  inset: -200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.25;
  animation: grain-shift 8s steps(6) infinite;
}
@keyframes grain-shift {
  0%, 100% { transform: translate(0,0); }
  20% { transform: translate(-2%,2%); }
  40% { transform: translate(2%,-2%); }
  60% { transform: translate(-1%,-1%); }
  80% { transform: translate(1%,1%); }
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: drift 16s ease-in-out infinite alternate;
}
.glow--gold {
  width: 38vw; height: 38vw;
  top: -12%; right: -8%;
  background: radial-gradient(circle, var(--gold-bright) 0%, transparent 70%);
  animation-delay: -4s;
}
.glow--green {
  width: 46vw; height: 46vw;
  bottom: -18%; left: -10%;
  background: radial-gradient(circle, var(--sage) 0%, transparent 70%);
}
@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(4%, 6%) scale(1.12); }
}

#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── Nav ─────────────────────────────────────── */
.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px clamp(20px, 4vw, 40px) 0;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 26px;
  line-height: 1;
  color: var(--near-black);
  letter-spacing: -0.01em;
}

.nav__name-gold {
  font-style: normal;
  font-weight: 700;
  color: var(--gold);
}

.nav__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(10, 61, 24, 0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  box-shadow: 0 2px 10px -4px rgba(10,61,24,0.12);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--forest);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 0 rgba(241,193,75,0.6);
  animation: pulse-dot 2s ease-out infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(241,193,75,0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(241,193,75,0); }
  100% { box-shadow: 0 0 0 0 rgba(241,193,75,0); }
}

/* ── Hero ────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(48px, 9vw, 96px) clamp(20px, 4vw, 40px) 40px;
  text-align: center;
}

.hero__kicker {
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--burnt);
  margin: 0 0 6px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-size: clamp(34px, 6.2vw, 68px);
  color: var(--near-black);
  margin: 0 0 22px;
}
.hero__title span { display: block; }
.hero__title .reveal--gold {
  background: linear-gradient(100deg, var(--gold) 0%, var(--burnt) 60%, var(--forest) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  color: rgba(1, 6, 2, 0.62);
  max-width: 620px;
  margin: 0 auto 38px;
}

/* ── Countdown ───────────────────────────────── */
.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 2vw, 18px);
  margin-bottom: 40px;
}
.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
  padding: 14px 6px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(10,61,24,0.08);
  box-shadow: 0 8px 24px -12px rgba(1,6,2,0.18);
}
.countdown__num {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 700;
  color: var(--near-black);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.countdown__label {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(1,6,2,0.45);
}
.countdown__sep {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  color: rgba(1,6,2,0.2);
  margin-top: -16px;
}

/* ── Notify form ─────────────────────────────── */
.notify {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 14px;
  max-width: 480px;
}

.notify__field {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  height: 54px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(10,61,24,0.12);
  box-shadow: 0 8px 24px -14px rgba(1,6,2,0.18);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.notify__field:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(209,148,39,0.15);
}
.notify__icon { color: rgba(1,6,2,0.4); flex-shrink: 0; }

.notify__field input {
  flex: 1;
  height: 100%;
  border: none;
  background: transparent;
  outline: none;
  color: var(--near-black);
  font-family: var(--font-sans);
  font-size: 15px;
}
.notify__field input::placeholder { color: rgba(1,6,2,0.35); }

.notify__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  padding: 0 26px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 60%, var(--burnt));
  color: var(--near-black);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 8px 24px -8px rgba(209,148,39,0.55);
}
.notify__btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(209,148,39,0.65); }
.notify__btn:active { transform: translateY(0); }
.notify__btn:disabled { opacity: 0.7; cursor: default; transform: none; }

.notify__btn svg { transition: transform 0.2s ease; }
.notify__btn:hover svg { transform: translateX(2px); }

.notify__hint {
  font-size: 13.5px;
  color: rgba(1,6,2,0.5);
  margin: 0 0 30px;
  min-height: 18px;
  transition: color 0.2s;
}
.notify__hint.is-error { color: #DC2626; }
.notify__hint.is-success { color: var(--forest); }

/* ── Avatars ─────────────────────────────────── */
.avatars {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.avatars__stack { display: flex; }
.avatars__dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  border: 2px solid #FBFBF8;
  margin-left: -8px;
}
.avatars__stack .avatars__dot:first-child { margin-left: 0; }
.avatars__text {
  font-size: 13px;
  color: rgba(1,6,2,0.5);
}

/* ── Footer ──────────────────────────────────── */
.social-footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 20px 40px;
  text-align: center;
}
.social-footer__links { display: flex; gap: 16px; }
.social-footer__links a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(10,61,24,0.12);
  background: #fff;
  color: rgba(1,6,2,0.55);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-footer__links a:hover {
  background: var(--sage-wash);
  color: var(--burnt);
  border-color: rgba(209,148,39,0.35);
}
.social-footer p {
  font-size: 12.5px;
  color: rgba(1,6,2,0.35);
  margin: 0;
}

/* ── Reveal-on-load animation ────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal-in 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
  animation-delay: calc(var(--d, 0) * 90ms + 120ms);
}
@keyframes reveal-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 520px) {
  .notify { flex-direction: column; }
  .notify__field { flex-basis: auto; width: 100%; height: 48px; }
  .notify__btn { width: 100%; height: 48px; }
  .countdown { gap: 8px; }
  .countdown__unit { min-width: 54px; padding: 10px 4px; }
}

/* ── Reduced motion ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
