/* =====================================================================
   SIP & SING — Tambayan & Karaoke Bar
   Global stylesheet — black marble + gold luxe aesthetic
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --black:      #0a0a0b;
  --ink:        #101012;
  --charcoal:   #17171a;
  --panel:      #1c1c20;
  --line:       rgba(201, 162, 75, 0.22);
  --line-soft:  rgba(255, 255, 255, 0.08);

  --gold:       #c9a24b;
  --gold-lite:  #e6c877;
  --gold-deep:  #a67c2e;
  --cream:      #f3ead6;
  --red:        #d1233b;
  --red-glow:   #ff2e46;

  --text:       #ece8e1;
  --muted:      #a49f97;
  --faint:      #6f6b64;

  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --radius: 14px;

  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Playfair Display", Georgia, serif;
  --script: "Tangerine", cursive;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Reading text sizes (editable from the CMS Style page) */
  --body-size: 0.94rem;
  --lead-size: 1.04rem;
  --heading-scale: 1;    /* H1 / big titles */
  --subhead-scale: 1;    /* H2 / H3 / card titles */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--text);
  font-size: var(--body-size);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* subtle film-grain / vignette overlay for depth */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(201,162,75,0.10), transparent 60%),
    radial-gradient(100% 60% at 50% 120%, rgba(209,35,59,0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
}
.script { font-family: var(--script); }

.section-title {
  font-size: calc(clamp(2rem, 4.6vw, 3.4rem) * var(--heading-scale, 1));
  color: var(--cream);
}
.lead { color: var(--muted); font-size: var(--lead-size); max-width: 64ch; }

/* gold hairline flourish */
.flourish {
  display: inline-flex; align-items: center; gap: 0.7rem;
  color: var(--gold); font-size: 0.9rem;
}
.flourish::before, .flourish::after {
  content: ""; width: 46px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 1; }
section { position: relative; z-index: 1; }
.section-pad { padding-block: clamp(5rem, 10vw, 9rem); }
.center { text-align: center; }
.stack > * + * { margin-top: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
  border-radius: 100px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-lite), var(--gold-deep));
  color: #1a1206;
  box-shadow: 0 8px 30px rgba(201,162,75,0.28);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(201,162,75,0.42); }
.btn-ghost { border: 1px solid var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-lite); transform: translateY(-3px); }
.btn-lg { padding: 1.1rem 2.4rem; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, border-color 0.4s, padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,11,0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
/* While the mobile menu is open, drop the nav's backdrop-filter. A filtered
   ancestor becomes the containing block for the fixed slide-in panel, which
   otherwise collapses it to the nav bar's height (transparent sliver bug). */
.nav.menu-open {
  background: rgba(10,10,11,0.92);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem var(--gutter);
  transition: padding 0.4s var(--ease);
}
.nav.scrolled .nav-inner { padding-block: 0.75rem; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand .mark { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--cream); letter-spacing: 0.02em; }
.brand .mark span { color: var(--gold); }
.brand .sub { font-size: 0.56rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
/* text links only — excludes the gold CTA button so its padding isn't overridden */
.nav-links a:not(.nav-cta) {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text); position: relative; padding: 0.3rem 0; opacity: 0.85;
  transition: opacity 0.25s, color 0.25s;
}
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
  background: var(--gold); transition: width 0.3s var(--ease);
}
.nav-links a:not(.nav-cta):hover, .nav-links a:not(.nav-cta).active { opacity: 1; color: var(--gold-lite); }
.nav-links a:not(.nav-cta):hover::after, .nav-links a:not(.nav-cta).active::after { width: 100%; }
/* gold CTA button in nav keeps full button styling and never gets cramped */
.nav-cta { margin-left: 0.5rem; text-transform: uppercase; white-space: nowrap; line-height: 1; }
.nav-cta.active { color: #1a1206; }

.nav-toggle { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.35) 40%, rgba(10,10,11,0.92) 100%),
    linear-gradient(90deg, rgba(10,10,11,0.7) 0%, transparent 55%);
}
.hero-content { position: relative; z-index: 2; padding-top: 7rem; }
.hero-content .eyebrow { display: block; line-height: 1.7; margin-bottom: 1.4rem; }
.hero h1 { font-size: calc(clamp(2.8rem, 8vw, 6rem) * var(--heading-scale, 1)); color: #fff; text-shadow: 0 4px 40px rgba(0,0,0,0.5); margin-bottom: 1.4rem; }
.hero h1 .script { color: var(--gold-lite); font-size: 1.28em; line-height: 0.8; display: inline-block; }
.hero-tag { font-size: clamp(1rem, 2vw, 1.35rem); color: var(--cream); font-family: var(--serif); font-weight: 500; letter-spacing: 0.02em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.6rem; color: var(--muted); font-size: 0.86rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-meta b { color: var(--gold-lite); font-weight: 600; }

.scroll-cue { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 3; color: var(--muted); font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; cursor: pointer; transition: color 0.3s var(--ease); }
.scroll-cue:hover { color: var(--gold-lite); }
.scroll-cue .line { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0%,100% { opacity: 0.3; transform: scaleY(0.7); } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- Announcement bar ---------- */
.ticker { background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-deep)); color: #1a1206; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 3rem; padding: 0.5rem 0; animation: ticker 26s linear infinite; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.ticker-track span { display: inline-flex; align-items: center; gap: 3rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Feature / story ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.reverse { direction: rtl; } .split.reverse > * { direction: ltr; }
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.2; transition: transform 0.9s var(--ease); }
.media-frame:hover img { transform: scale(1.05); }
.media-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05); border-radius: var(--radius); pointer-events: none; }

/* ---------- Stat / highlight row ---------- */
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.hl-card {
  background: linear-gradient(160deg, var(--charcoal), var(--ink));
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 2rem 1.6rem; transition: transform 0.4s var(--ease), border-color 0.4s;
}
.hl-card:hover { transform: translateY(-6px); border-color: var(--line); }
.hl-card .ic { font-size: 1.8rem; margin-bottom: 0.8rem; }
.hl-card h3 { font-family: var(--display); font-size: calc(1.25rem * var(--subhead-scale, 1)); color: var(--cream); margin-bottom: 0.4rem; }
.hl-card p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Menu ---------- */
.menu-tabs { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin-bottom: 3.6rem; }
.menu-tab {
  padding: 0.6rem 1.4rem; border-radius: 100px; border: 1px solid var(--line-soft);
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  transition: all 0.3s var(--ease);
}
.menu-tab.active, .menu-tab:hover { color: var(--gold-lite); border-color: var(--gold); background: rgba(201,162,75,0.08); }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2.2rem; }
.dish {
  background: linear-gradient(165deg, var(--charcoal), var(--ink));
  border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  display: flex; flex-direction: column;
}
.dish:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.dish-img {
  aspect-ratio: 1/1; position: relative; overflow: hidden;
  background:
    radial-gradient(80% 80% at 60% 40%, rgba(201,162,75,0.12), transparent 70%),
    repeating-linear-gradient(135deg, #141416 0 12px, #101012 12px 24px);
  display: flex; align-items: center; justify-content: center;
}
.dish-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); z-index: 1; }
.dish:hover .dish-img img { transform: scale(1.06); }
.dish-img .placeholder { position: absolute; z-index: 0; color: var(--faint); font-size: 2rem; }
.dish-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.dish-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.dish-head h3 { font-family: var(--display); font-size: calc(1.2rem * var(--subhead-scale, 1)); color: var(--cream); }
.dish-price { color: var(--gold-lite); font-weight: 600; font-family: var(--serif); font-size: 1.25rem; white-space: nowrap; }
.dish-body p { color: var(--muted); font-size: 0.88rem; }
.dish-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: auto; padding-top: 0.7rem; }
.tag { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line); padding: 0.2rem 0.55rem; border-radius: 100px; }
.tag.hot { color: var(--red-glow); border-color: rgba(255,46,70,0.4); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 0.9rem; }
.gallery a { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), filter 0.5s; filter: saturate(0.95); }
.gallery a:hover img { transform: scale(1.08); filter: saturate(1.1); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* ---------- Rooms (booking spaces) ---------- */
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.room {
  border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
  background: var(--ink); transition: transform 0.4s var(--ease), border-color 0.4s;
}
.room:hover { transform: translateY(-6px); border-color: var(--line); }
.room-img { aspect-ratio: 16/10; overflow: hidden; }
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.room:hover .room-img img { transform: scale(1.06); }
.room-body { padding: 1.3rem 1.4rem 1.5rem; }
.room-body h3 { font-family: var(--display); font-size: calc(1.3rem * var(--subhead-scale, 1)); color: var(--cream); margin-bottom: 0.3rem; }
.room-body .cap { color: var(--gold-lite); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.6rem; }
.room-body p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Forms ---------- */
.form-shell {
  background: linear-gradient(165deg, var(--charcoal), var(--ink));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 1.15rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  background: rgba(0,0,0,0.35); border: 1px solid var(--line-soft); border-radius: 10px;
  padding: 0.85rem 1rem; color: var(--text); font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(0,0,0,0.5);
  box-shadow: 0 0 0 3px rgba(201,162,75,0.14);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c9a24b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: 0.72rem; color: var(--faint); }
.form-note { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.78rem; color: var(--faint); margin-top: 0.4rem; }
.form-actions { margin-top: 1.6rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
fieldset { border: 1px solid var(--line-soft); border-radius: 12px; padding: 1.2rem 1.2rem 1.4rem; grid-column: 1 / -1; }
fieldset legend { padding: 0 0.6rem; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.secure-badge { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.74rem; color: var(--muted); }

/* ---------- Contact info cards ---------- */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.info-card { background: linear-gradient(160deg, var(--charcoal), var(--ink)); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.8rem; }
.info-card .ic { font-size: 1.5rem; margin-bottom: 0.7rem; }
.info-card h3 { font-family: var(--display); font-size: calc(1.15rem * var(--subhead-scale, 1)); color: var(--cream); margin-bottom: 0.4rem; }
.info-card p, .info-card a { color: var(--muted); font-size: 0.92rem; }
.info-card a:hover { color: var(--gold-lite); }

/* ---------- Map ---------- */
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,0.5); line-height: 0; }
.map-frame iframe { width: 100%; height: 460px; border: 0; filter: grayscale(0.3) contrast(1.05); }

/* ---------- Hours ---------- */
.hours { display: grid; gap: 0.2rem; }
.hours li { display: flex; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); font-size: 0.92rem; }
.hours li span:first-child { color: var(--text); }
.hours li span:last-child { color: var(--gold-lite); font-variant-numeric: tabular-nums; }
.hours li.today { color: var(--gold-lite); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(2.5rem, 6vw, 5rem); text-align: center; }
.cta-band .bg { position: absolute; inset: 0; z-index: 0; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,0.78), rgba(10,10,11,0.9)); }
.cta-band > * { position: relative; z-index: 1; }

/* ---------- Hero announcement banner (above the fold) - bold gold pill ---------- */
.hero-banner {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 0.7rem 0.7rem 1.25rem; margin-bottom: 1.7rem;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--gold-lite) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color: #1a1206; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
  box-shadow: 0 10px 34px rgba(201,162,75,0.45);
  animation: bannerGlow 2.6s ease-in-out infinite;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  max-width: 100%;
}
.hero-banner:hover { transform: translateY(-2px) scale(1.015); box-shadow: 0 18px 52px rgba(201,162,75,0.65); }
@keyframes bannerGlow { 0%,100% { box-shadow: 0 10px 34px rgba(201,162,75,0.4); } 50% { box-shadow: 0 14px 48px rgba(201,162,75,0.68); } }
.hero-banner[hidden] { display: none; }
/* sheen sweep */
.hero-banner::after {
  content: ""; position: absolute; top: 0; left: -140%; width: 55%; height: 100%; z-index: 0;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg); animation: sheen 3.6s ease-in-out infinite;
}
.hero-banner > * { position: relative; z-index: 1; }
.hero-banner .live-dot { width: 9px; height: 9px; border-radius: 50%; background: #c20f2e; animation: livePulseDark 1.7s infinite; flex: none; }
@keyframes livePulseDark { 0% { box-shadow: 0 0 0 0 rgba(194,15,46,0.6); } 70% { box-shadow: 0 0 0 8px rgba(194,15,46,0); } 100% { box-shadow: 0 0 0 0 rgba(194,15,46,0); } }
.hero-banner b { color: #241705; font-weight: 800; }
.hero-banner .go { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #17120a; color: var(--gold-lite); font-weight: 800; font-size: 1rem; flex: none; transition: transform 0.3s var(--ease); }
.hero-banner:hover .go { transform: translateX(3px); }

/* ---------- Featured Event / Promo band (CMS-driven, split w/ image) ---------- */
.promo { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 6.5rem);
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(201,162,75,0.14), transparent 60%),
    radial-gradient(80% 120% at 85% 20%, rgba(209,35,59,0.06), transparent 55%),
    linear-gradient(180deg, #14111a, #0b0910);
  border-block: 1px solid var(--line);
}
.promo[hidden] { display: none; }

/* the grand feature card */
.promo-card {
  position: relative; border-radius: 22px;
  background: linear-gradient(160deg, rgba(28,26,34,0.9), rgba(14,12,18,0.92));
  border: 1px solid var(--line);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
  overflow: hidden;
}
.promo-card::before { /* gold spotlight sweep */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 20% 0%, rgba(201,162,75,0.14), transparent 70%);
}
.promo-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 50px 140px rgba(0,0,0,0.7), 0 0 60px rgba(201,162,75,0.12); }
/* gold corner brackets */
.promo-card .corner { position: absolute; width: 26px; height: 26px; border: 2px solid var(--gold-lite); z-index: 2; opacity: 0.8; }
.promo-card .corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.promo-card .corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.promo-card .corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.promo-card .corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }

.promo-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(1.8rem, 4vw, 3.6rem); align-items: center; }
.promo-text { position: relative; z-index: 1; }
.promo .event-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold-lite), var(--gold-deep));
  color: #1a1206; font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.5rem 1.1rem; border-radius: 100px; margin-bottom: 1.1rem;
  box-shadow: 0 8px 30px rgba(201,162,75,0.3);
  animation: badgePulse 2.6s ease-in-out infinite;
}
@keyframes badgePulse { 0%,100% { box-shadow: 0 8px 30px rgba(201,162,75,0.28); } 50% { box-shadow: 0 8px 42px rgba(201,162,75,0.5); } }
.promo .eyebrow { display: block; margin-bottom: 0.7rem; }
.promo-headline {
  font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: 1.02; margin-bottom: 1rem;
  background: linear-gradient(180deg, #fff 20%, var(--gold-lite) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 2px 30px rgba(201,162,75,0.15);
}
.promo .lead { color: #ded9d0; margin-bottom: 1rem; }
.promo-dates { color: var(--gold-lite); font-size: 0.92rem; letter-spacing: 0.03em; margin-bottom: 1.7rem; }
.promo-actions { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; }
.promo-link { color: var(--cream); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: color 0.3s, border-color 0.3s; }
.promo-link:hover { color: var(--gold-lite); border-color: var(--gold); }

/* big glowing CTA with animated sheen */
.btn-xl { padding: 1.15rem 2.6rem; font-size: 0.9rem; }
.btn-shine { position: relative; overflow: hidden; box-shadow: 0 10px 34px rgba(201,162,75,0.4); animation: ctaGlow 2.8s ease-in-out infinite; }
.btn-shine::after {
  content: ""; position: absolute; top: 0; left: -140%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg); animation: sheen 3.4s ease-in-out infinite;
}
@keyframes sheen { 0% { left: -140%; } 55%,100% { left: 160%; } }
@keyframes ctaGlow { 0%,100% { box-shadow: 0 10px 34px rgba(201,162,75,0.34); } 50% { box-shadow: 0 14px 46px rgba(201,162,75,0.6); } }
.btn-shine .arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.btn-shine:hover .arrow { transform: translateX(5px); }

/* event image with tilted 50% OFF seal */
.promo-media { position: relative; border-radius: 16px; overflow: visible; }
.promo-media .frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.promo-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/4.2; transition: transform 0.9s var(--ease); display: block; }
.promo-media:hover img { transform: scale(1.06); }
.promo-seal {
  position: absolute; top: -22px; right: -18px; z-index: 3;
  width: 116px; height: 116px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; line-height: 1;
  background: radial-gradient(circle at 35% 30%, var(--gold-lite), var(--gold-deep));
  color: #1a1206; transform: rotate(-14deg);
  box-shadow: 0 12px 34px rgba(201,162,75,0.5), inset 0 0 0 2px rgba(26,18,6,0.25), inset 0 0 0 5px rgba(255,255,255,0.25);
  animation: sealPop 3s ease-in-out infinite;
}
@keyframes sealPop { 0%,100% { transform: rotate(-14deg) scale(1); } 50% { transform: rotate(-14deg) scale(1.06); } }
.promo-seal b { display: block; font-family: var(--display); font-size: 1.9rem; font-weight: 700; }
.promo-seal span { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; margin-top: 2px; }

/* Booking page: event RSVP banner (set from ?event= URL param) */
.event-rsvp-banner {
  display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(201,162,75,0.16), rgba(201,162,75,0.05));
  border: 1px solid var(--gold); border-radius: var(--radius);
  padding: 1rem 1.3rem; margin: 0 auto 1.8rem; max-width: 840px;
  color: var(--cream); font-size: 0.98rem;
}
.event-rsvp-banner[hidden] { display: none; }
.event-rsvp-banner b { color: var(--gold-lite); }
.event-rsvp-banner .tag { border-color: var(--gold); }

/* ---------- Thank-you ---------- */
.ty { min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 7rem var(--gutter) 4rem; }
.ty-mark { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.8rem; border: 1px solid var(--gold); color: var(--gold-lite); font-size: 2.4rem; box-shadow: 0 0 0 8px rgba(201,162,75,0.08), 0 20px 60px rgba(201,162,75,0.18); animation: pop 0.6s var(--ease) both; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.ty h1 { font-size: clamp(2.2rem, 6vw, 4rem); color: var(--cream); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer h4 { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer a, .footer p { color: var(--muted); font-size: 0.9rem; }
.footer li + li { margin-top: 0.55rem; }
.footer a:hover { color: var(--gold-lite); }
.footer .brand .mark { font-size: 1.6rem; }
.footer-socials { display: flex; gap: 0.8rem; margin-top: 1.1rem; }
.footer-socials a { width: 40px; height: 40px; border: 1px solid var(--line-soft); border-radius: 50%; display: grid; place-items: center; transition: all 0.3s var(--ease); }
.footer-socials a:hover { border-color: var(--gold); color: var(--gold-lite); transform: translateY(-3px); }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.8rem; color: var(--faint); }

/* anchor scroll offset so fixed nav doesn't cover section headings */
[id] { scroll-margin-top: 92px; }

/* guarantee no image is ever stretched/distorted */
img { object-fit: cover; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; } .reveal.d4 { transition-delay: 0.32s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .rooms, .info-cards { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { position: fixed; inset: 0 0 0 auto; z-index: 55; width: min(82vw, 340px); height: 100vh; height: 100svh; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.6rem; padding: 5rem 2.4rem 2rem; background: #101013; transform: translateX(100%); transition: transform 0.4s var(--ease); border-left: 1px solid var(--line); box-shadow: -20px 0 60px rgba(0,0,0,0.6); overflow-y: auto; }
  .nav-links.open { transform: translateX(0); }
  .nav-links a:not(.nav-cta) { font-size: 1rem; }
  .nav-toggle { display: flex; z-index: 60; }
  /* keep Book a Room visible in the mobile menu as a full-width button */
  .nav-cta { display: inline-flex; margin-left: 0; margin-top: 0.4rem; width: 100%; justify-content: center; }
  .split, .split.reverse { grid-template-columns: 1fr; direction: ltr; }
  .split.reverse .media-frame { order: -1; }
  .promo-grid { grid-template-columns: 1fr; }
  .promo-media { order: -1; }
  .promo-media img { aspect-ratio: 16/11; }
  .promo-seal { width: 92px; height: 92px; top: -14px; right: -6px; }
  .promo-seal b { font-size: 1.5rem; }
  .promo-headline { font-size: calc(clamp(2rem, 8vw, 2.8rem) * var(--heading-scale, 1)); }
  .promo-actions { gap: 1rem; }
  .promo-actions .btn { width: 100%; justify-content: center; }
  .btn-xl { padding: 1rem 1.8rem; }
  .hero-banner { font-size: 0.8rem; padding: 0.55rem 0.55rem 0.55rem 0.95rem; gap: 0.55rem; }
  .hero-banner .go { width: 28px; height: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr; }
  .rooms, .info-cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery .wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; justify-content: center; }

  /* Mobile hero: top-align content and reserve space at the bottom so the
     "Discover More" cue never overlaps the hero text. */
  .hero { align-items: flex-start; }
  .hero-content { padding-top: 5rem; padding-bottom: 6rem; }
  .hero-meta { gap: 1rem; margin-top: 1.8rem; }
  .scroll-cue { bottom: 1.1rem; }
  .scroll-cue .line { height: 30px; }
}
/* Very short viewports (landscape phones): the cue has no room — hide it. */
@media (max-width: 760px) and (max-height: 680px) {
  .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .hero-bg img { animation: none; transform: none; }
}

/* =====================================================================
   DB-VERSION COMPONENTS  (menu list, rooms, events, popup, sub-hero)
   ===================================================================== */

/* Simple page sub-hero for interior pages */
.subhero { padding: 10.5rem 0 3.5rem; text-align: center; position: relative; }
.subhero .flourish { justify-content: center; }
.subhero h1 { font-family: var(--display); font-size: calc(clamp(2.2rem, 6vw, 3.6rem) * var(--heading-scale, 1)); color: var(--cream); margin: .4rem 0 .6rem; }
.subhero p { color: var(--muted); max-width: 60ch; margin: 0 auto; }

/* (Menu card styles are already defined earlier - the large-image .dish cards.
   No overrides here on purpose so the menu keeps the big beautiful photos.) */

/* ---- Rooms ---- */
.room-row { margin-bottom: 3.5rem; align-items: center; }

/* ---- Events ---- */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2.2rem; }
.event-card { background: var(--charcoal); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .25s var(--ease); }
.event-card:hover { border-color: var(--line); transform: translateY(-3px); }
.event-img { aspect-ratio: 16/10; overflow: hidden; }
.event-img img { width: 100%; height: 100%; object-fit: cover; }
.event-info { padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.event-date { color: var(--gold); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.event-info h3 { font-family: var(--display); font-size: calc(1.35rem * var(--subhead-scale, 1)); color: var(--cream); }
.event-sub { color: var(--gold-lite); font-style: italic; }
.event-info p { color: var(--muted); font-size: .92rem; }
.event-info .btn { margin-top: auto; align-self: flex-start; }

/* ---- Promo popup ---- */
.ss-pop { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 1.2rem; background: rgba(0,0,0,.72); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.ss-pop.show { opacity: 1; pointer-events: auto; }
.ss-pop-card { position: relative; width: min(460px, 100%); background: var(--ink); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transform: translateY(14px) scale(.98); transition: transform .35s var(--ease); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.ss-pop.show .ss-pop-card { transform: none; }
.ss-pop-bg { position: absolute; inset: 0; opacity: .18; }
.ss-pop-bg img { width: 100%; height: 100%; object-fit: cover; }
.ss-pop-body { position: relative; padding: 2.2rem 1.8rem; text-align: center; }
.ss-pop-hero { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; margin: 0 auto 1rem; border: 2px solid var(--gold); }
.ss-pop-body h3 { font-family: var(--display); color: var(--cream); font-size: 1.6rem; margin: .3rem 0 .5rem; }
.ss-pop-body p { color: var(--muted); margin-bottom: 1.2rem; }
.ss-pop-form { display: flex; gap: .5rem; margin-bottom: .8rem; }
.ss-pop-form input { flex: 1; padding: .75rem 1rem; border-radius: 10px; border: 1px solid var(--line); background: var(--charcoal); color: var(--text); }
.ss-pop-x { position: absolute; top: .6rem; right: .8rem; z-index: 3; font-size: 1.8rem; line-height: 1; color: var(--muted); width: 2rem; height: 2rem; }
.ss-pop-x:hover { color: var(--cream); }

/* ---- Deposit box on booking form ---- */
.deposit-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; margin-top: 1rem; background: rgba(201,162,75,.05); }
.deposit-box h4 { font-family: var(--display); color: var(--gold-lite); margin-bottom: .3rem; }
.deposit-note { color: var(--muted); font-size: .88rem; margin-bottom: 1rem; }

@media (max-width: 640px) { .subhero { padding-top: 7rem; } }

/* ---- Simple stacked forms (contact / booking) ---- */
.ss-form { display: flex; flex-direction: column; gap: 1.1rem; background: var(--charcoal); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.4rem); }
.ss-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.ss-form button[type="submit"] { align-self: flex-start; margin-top: .4rem; }
.event-banner { background: rgba(201,162,75,.1); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.6rem; color: var(--cream); }
@media (max-width: 640px) { .ss-form .row2 { grid-template-columns: 1fr; } }

/* ---- Logo image is the default brand; text wordmark is the fallback ---- */
/* Sizes are CSS variables so the CMS Style page can change them live. */
:root { --logo-nav-h: 72px; --logo-nav-scrolled-h: 58px; --logo-footer-h: 100px; }
.brand { align-items: flex-start; }
.brand-logo { height: var(--logo-nav-h); width: auto; max-width: 440px; object-fit: contain; display: block; }
.nav.scrolled .brand-logo { height: var(--logo-nav-scrolled-h); }
.footer .brand-logo { height: var(--logo-footer-h); max-width: 460px; }
.brand .mark, .brand .sub { display: none; }              /* hidden while the logo shows */
.brand.no-logo .brand-logo { display: none; }              /* logo missing -> show text */
.brand.no-logo .mark { display: block; }
.brand.no-logo .sub { display: block; }
.nav-inner { padding-block: 0.85rem; }
.nav.scrolled .nav-inner { padding-block: 0.6rem; }
@media (max-width: 640px) { .brand-logo { max-width: 260px; } }

/* ---- Language selector (shown only when multi-language is ON in the CMS) ---- */
.lang-select { display: inline-flex; gap: 2px; margin-left: 1.2rem; border: 1px solid var(--line); border-radius: 100px; overflow: hidden; }
.lang-select button { padding: 0.35rem 0.7rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); background: transparent; }
.lang-select button.on { background: var(--gold); color: #14110a; }
.lang-select button:not(.on):hover { color: var(--cream); }
@media (max-width: 820px) { .lang-select { margin-left: auto; margin-right: 0.6rem; } }
