/* ════════════════════════════════════════════════════
   CABO KRUNCH — Design System v2 "LUJO"
   Cormorant Garamond (display) · DM Sans (body) · Bangers (logo)
════════════════════════════════════════════════════ */

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

:root {
  --gold:     #C49A3C;
  --gold-lt:  #E2C06A;
  --gold-dim: rgba(196,154,60,0.13);
  --black:    #070707;
  --bg:       #080808;
  --surface:  #0D0D0D;
  --card:     #111111;
  --raised:   #141414;
  --cream:    #F0EBE1;
  --muted:    #5E5A56;
  --border-g: rgba(196,154,60,0.16);
  --border-w: rgba(240,235,225,0.06);
  --ease:     cubic-bezier(0.23, 1, 0.32, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 52px;
}

/* ── EYEBROW ───────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── SVG ───────────────────────────────────────── */
.ico-wa { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; }

/* ── SCROLL REVEAL ─────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].revealed { opacity: 1; transform: none; }


/* ══════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  padding: 22px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: background .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(7,7,7,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border-g);
  padding-top: 16px;
  padding-bottom: 16px;
}

.nav-logo {
  font-family: 'Bangers', cursive;
  font-size: 1.55rem;
  letter-spacing: 4px;
  color: var(--gold);
  line-height: 1;
}
.nav-logo span {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.42rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav-center {
  display: flex;
  gap: 40px;
}
.nav-center a {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(240,235,225,0.45);
  transition: color .2s;
}
.nav-center a:hover { color: var(--cream); }

.nav-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-g);
  padding: 9px 22px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}
.nav-wa:hover { background: var(--gold-dim); border-color: var(--gold); }


/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.48;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(7,7,7,.98) 0%,
      rgba(7,7,7,.42) 38%,
      rgba(7,7,7,.18) 62%,
      rgba(7,7,7,.55) 100%
    ),
    radial-gradient(ellipse at center, transparent 35%, rgba(7,7,7,.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 920px;
}

.hero-over {
  display: block;
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
  animation: fadeUp .85s var(--ease) both .1s;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(4.5rem, 11vw, 10rem);
  line-height: 0.87;
  letter-spacing: -0.01em;
  color: var(--cream);
  animation: fadeUp .95s var(--ease) both .25s;
  margin-bottom: 40px;
}
.hero-title em {
  color: var(--gold-lt);
  display: block;
  font-style: italic;
}

.hero-rule {
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 36px;
  animation: scaleIn .65s var(--ease) both .52s;
  transform-origin: center;
}
@keyframes scaleIn {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

.hero-sub {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(240,235,225,0.38);
  animation: fadeUp .85s var(--ease) both .58s;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.7; transform: scaleY(1); transform-origin: top; }
  50%       { opacity: 0.2; transform: scaleY(0.45); transform-origin: top; }
}


/* ══════════════════════════════════════════════════
   RIBBON
══════════════════════════════════════════════════ */
.ribbon-wrap {
  background: var(--gold);
  overflow: hidden;
  padding: 11px 0;
}
.ribbon {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
}
.ribbon.go { animation: ticker var(--dur, 30s) linear infinite; }
@keyframes ticker { to { transform: translateX(calc(-1 * var(--sw, 0px))); } }

.r-item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #060606;
}
.r-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
  flex-shrink: 0;
}


/* ══════════════════════════════════════════════════
   SECTION BASE
══════════════════════════════════════════════════ */
.section { padding: 120px 0; }

.section-header {
  text-align: center;
  margin-bottom: 80px;
}
.section-header .eyebrow { margin-bottom: 16px; }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 0.93;
  color: var(--cream);
  margin-top: 14px;
}


/* ══════════════════════════════════════════════════
   MENU SECTION
══════════════════════════════════════════════════ */
.section-menu { background: var(--bg); }

.menu-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-w);
  margin-bottom: 1px;
}

.menu-card {
  background: var(--card);
  overflow: hidden;
  position: relative;
  transition: background .3s;
}
.menu-card.span-2 { grid-column: 1 / -1; }
.menu-card:hover  { background: #131313; }

/* Photo */
.menu-card-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #1a1208 0%, #0e0e0e 100%);
  overflow: hidden;
}
.menu-card.span-2 .menu-card-photo { aspect-ratio: 16 / 7; }

.photo-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0e0b07 0%, #111 100%);
  pointer-events: none;
}
.menu-card-photo img {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .75s var(--ease);
}
.menu-card:hover .menu-card-photo img { transform: scale(1.04); }

/* Card body */
.menu-card-body {
  padding: 28px 36px 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border-w);
}
.menu-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--cream);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.menu-card-desc {
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  max-width: 300px;
}
.menu-card-price { text-align: right; flex-shrink: 0; padding-top: 2px; }
.price-val {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 2.3rem;
  color: var(--gold);
  line-height: 1;
}
.price-cur {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
  text-align: right;
}

/* Papa strip */
.papa-strip {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--card);
  border-top: 1px solid var(--border-g);
  padding: 30px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.papa-tag {
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.papa-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.55rem;
  color: var(--cream);
  margin-bottom: 4px;
}
.papa-desc {
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--muted);
}
.papa-price-val {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
  white-space: nowrap;
  text-align: right;
}
.papa-price-cur {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
  text-align: right;
}


/* ══════════════════════════════════════════════════
   CRAFT / VIDEO SECTION
══════════════════════════════════════════════════ */
.section-craft {
  position: relative;
  height: 75vh;
  min-height: 520px;
  overflow: hidden;
}
.craft-media {
  position: absolute;
  inset: 0;
}
.craft-video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.craft-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(7,7,7,0.94) 0%,
    rgba(7,7,7,0.52) 45%,
    rgba(7,7,7,0.08) 100%
  );
}
.craft-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 0 64px 80px;
  max-width: 640px;
}
.craft-eyebrow { margin-bottom: 18px; }
.craft-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.9;
  color: var(--cream);
  margin-bottom: 20px;
}
.craft-body {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(240,235,225,0.45);
  line-height: 1.85;
  max-width: 380px;
}


/* ══════════════════════════════════════════════════
   LOCATION SECTION
══════════════════════════════════════════════════ */
.section-loc {
  background: var(--surface);
  padding: 0;
}
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}
.loc-info {
  padding: 88px 64px;
  border-right: 1px solid var(--border-w);
  display: flex;
  flex-direction: column;
}
.loc-info .eyebrow { margin-bottom: 52px; }

.loc-detail {
  padding: 26px 0;
  border-bottom: 1px solid var(--border-w);
}
.loc-detail:first-of-type { border-top: 1px solid var(--border-w); }
.loc-detail-label {
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.loc-detail-value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--cream);
}
.loc-detail-sub {
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 4px;
}
.loc-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-g);
  padding: 10px 24px;
  border-radius: 100px;
  margin-top: 40px;
  align-self: flex-start;
  transition: background .2s, border-color .2s;
}
.loc-map-link:hover { background: var(--gold-dim); border-color: var(--gold); }

.loc-map { overflow: hidden; }
.loc-map iframe {
  width: 100%; height: 100%;
  min-height: 440px;
  border: none;
  display: block;
  filter: invert(88%) hue-rotate(180deg) saturate(0.5) brightness(0.88);
}


/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border-w);
  padding: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-logo {
  font-family: 'Bangers', cursive;
  font-size: 1.4rem;
  letter-spacing: 4px;
  color: var(--gold);
}
.footer-nav {
  display: flex;
  gap: 36px;
}
.footer-nav a {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--cream); }
.footer-copy {
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 0.15em;
}


/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  #navbar { padding: 18px 32px; }
  #navbar.scrolled { padding: 14px 32px; }
  .craft-content { padding: 0 36px 56px; }
  .loc-info { padding: 68px 40px; }
  .footer { padding: 40px 32px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }

  #navbar { padding: 16px 20px; }
  #navbar.scrolled { padding: 12px 20px; }
  .nav-center { display: none; }

  .hero-title { font-size: clamp(3.5rem, 13vw, 5.5rem); }
  .hero-over  { letter-spacing: 0.28em; }
  .hero-sub   { letter-spacing: 0.16em; font-size: 0.62rem; }

  /* Menu */
  .menu-grid { grid-template-columns: 1fr; }
  .menu-card.span-2 .menu-card-photo { aspect-ratio: 4/3; }
  .menu-card-body { padding: 20px 22px 24px; }
  .menu-card-name { font-size: 1.45rem; }
  .papa-strip { flex-direction: column; align-items: flex-start; padding: 24px 22px; }

  /* Craft */
  .section-craft { height: auto; min-height: 0; overflow: visible; }
  .craft-media   { position: relative; height: min(72vw, 380px); overflow: hidden; }
  .craft-video   { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
  .craft-veil    { background: linear-gradient(to top, rgba(7,7,7,.96) 0%, rgba(7,7,7,.2) 65%, transparent 100%); }
  .craft-content { position: relative; height: auto; padding: 36px 20px 52px; max-width: 100%; }

  /* Location */
  .loc-grid { grid-template-columns: 1fr; }
  .loc-info { padding: 52px 20px; border-right: none; border-bottom: 1px solid var(--border-w); }
  .loc-map iframe { min-height: 300px; }

  /* Footer */
  .footer { flex-direction: column; gap: 24px; align-items: flex-start; padding: 36px 20px; }
  .footer-nav { flex-wrap: wrap; gap: 20px; }

  .section-header { margin-bottom: 52px; }
  .section-title { font-size: clamp(2.5rem, 9vw, 3.5rem); }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(3rem, 16vw, 4.5rem); }
  .hero-over  { letter-spacing: 0.2em; }
  .hero-sub   { letter-spacing: 0.1em; font-size: 0.6rem; }
  .menu-card-body { padding: 18px 18px 22px; }
}

/* ── REDUCED MOTION ────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-over, .hero-title, .hero-rule, .hero-sub { animation: none; opacity: 1; transform: none; }
}
