/* ============ TOKENS ============ */
:root{
  --charcoal:#15100c;
  --charcoal-2:#1e1712;
  --charcoal-3:#241c15;
  --ember:#c2410c;
  --ember-light:#e8823d;
  --ember-deep:#8a2a10;
  --maroon:#5b1a1e;
  --brass:#c9a24b;
  --brass-soft:#d9bd7a;
  --ivory:#f3ede1;
  --ivory-dim:#cfc6b4;
  --smoke:#0d0a08;
  --font-display:'Fraunces', serif;
  --font-body:'Jost', sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}

body{
  background:var(--charcoal);
  color:var(--ivory);
  font-family:var(--font-body);
  font-weight:300;
  letter-spacing:.01em;
  overflow-x:hidden;
}

h1,h2,h3,h4,.display-font{
  font-family:var(--font-display);
  font-weight:600;
  letter-spacing:-0.01em;
}

a{ text-decoration:none; }
::selection{ background:var(--ember); color:var(--ivory); }

.eyebrow{
  font-family:var(--font-body);
  font-size:.72rem;
  letter-spacing:.32em;
  text-transform:uppercase;
  color:var(--brass-soft);
  font-weight:500;
}

.btn-ember{
  background:linear-gradient(135deg, var(--ember) 0%, var(--ember-deep) 100%);
  color:var(--ivory);
  border:none;
  padding:.9rem 2.2rem;
  font-family:var(--font-body);
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:.78rem;
  font-weight:500;
  border-radius:2px;
  position:relative;
  overflow:hidden;
  transition:transform .35s ease, box-shadow .35s ease;
  box-shadow:0 8px 24px -8px rgba(194,65,12,.55);
  display:inline-block;
}
.btn-ember:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 32px -10px rgba(194,65,12,.75);
  color:var(--ivory);
}
.btn-outline-brass{
  background:transparent;
  border:1px solid rgba(201,162,75,.5);
  color:var(--brass-soft);
  padding:.85rem 2.1rem;
  font-family:var(--font-body);
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:.78rem;
  font-weight:500;
  border-radius:2px;
  transition:all .35s ease;
  display:inline-block;
}
.btn-outline-brass:hover{
  background:rgba(201,162,75,.1);
  border-color:var(--brass);
  color:var(--brass);
}

/* ============ NAV ============ */
.navbar-custom{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding:1.4rem 0;
  transition:background .4s ease, padding .4s ease, backdrop-filter .4s ease, border-color .4s ease;
  border-bottom:1px solid transparent;
  background:rgba(21,16,12,.5);
}
.navbar-custom.scrolled{
  background:rgba(21,16,12,.86);
  backdrop-filter:blur(14px);
  padding:.85rem 0;
  border-bottom:1px solid rgba(201,162,75,.15);
}
.brand-mark{
  font-family:var(--font-display);
  font-size:1.5rem;
  color:var(--ivory);
  letter-spacing:.06em;
}
.brand-mark span{ color:var(--ember-light); }
.nav-links a{
  color:var(--ivory-dim);
  font-size:.78rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:500;
  margin-left:2.4rem;
  position:relative;
  transition:color .3s ease;
}
.nav-links a::after{
  content:'';
  position:absolute; left:0; bottom:-6px;
  width:0; height:1px;
  background:var(--ember-light);
  transition:width .3s ease;
}
.nav-links a:hover{ color:var(--ivory); }
.nav-links a:hover::after{ width:100%; }
.nav-links a.active{ color:var(--ivory); }
.nav-links a.active::after{ width:100%; background:var(--brass); }

/* ============ HERO (home page only) ============ */
.hero{
  position:relative;
  height:100vh;
  min-height:640px;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:
    linear-gradient(180deg, rgba(13,10,8,.35) 0%, rgba(13,10,8,.55) 55%, var(--charcoal) 100%),
    url('https://images.unsplash.com/photo-1544025162-d76694265947?q=80&w=1887&auto=format&fit=crop') center 30%/cover no-repeat;
}
#emberCanvas{
  position:absolute; inset:0; width:100%; height:100%;
  z-index:2; pointer-events:none;
}
.hero-inner{ position:relative; z-index:3; }
.hero-eyebrow{
  color:var(--brass-soft);
  font-size:.78rem;
  letter-spacing:.4em;
  text-transform:uppercase;
  margin-bottom:1.6rem;
  opacity:0;
  animation:fadeUp 1s ease .3s forwards;
}
.hero-title{
  font-size:clamp(3.6rem, 10vw, 8.5rem);
  line-height:.92;
  color:var(--ivory);
  margin-bottom:1.4rem;
  opacity:0;
  animation:fadeUp 1.1s ease .55s forwards;
}
.hero-sub{
  font-size:clamp(1.05rem,2vw,1.35rem);
  color:var(--ivory-dim);
  max-width:34rem;
  font-weight:300;
  margin-bottom:2.4rem;
  opacity:0;
  animation:fadeUp 1.1s ease .85s forwards;
}
.hero-cta{ opacity:0; animation:fadeUp 1.1s ease 1.1s forwards; }

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

.scroll-cue{
  position:absolute; bottom:2.6rem; left:50%; transform:translateX(-50%);
  z-index:3; color:var(--ivory-dim); font-size:.7rem;
  letter-spacing:.3em; text-transform:uppercase;
  display:flex; flex-direction:column; align-items:center; gap:.7rem;
  opacity:0; animation:fadeUp 1s ease 1.5s forwards;
}
.scroll-cue .line{
  width:1px; height:44px;
  background:linear-gradient(var(--ember-light), transparent);
  animation:pulseLine 2s ease-in-out infinite;
}
@keyframes pulseLine{
  0%,100%{ opacity:.3; } 50%{ opacity:1; }
}

/* ============ PAGE HEADER (inner pages) ============ */
.page-header{
  position:relative;
  height:52vh;
  min-height:340px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background-attachment:fixed;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
.page-header::before{
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(13,10,8,.45) 0%, rgba(13,10,8,.55) 40%, var(--charcoal) 100%);
}
.page-header-inner{ position:relative; z-index:2; padding-bottom:3.2rem; }
.page-header .eyebrow{ opacity:0; animation:fadeUp 1s ease .2s forwards; }
.page-header h1{
  font-size:clamp(2.8rem, 6vw, 5rem);
  color:var(--ivory);
  margin:.6rem 0 0;
  opacity:0; animation:fadeUp 1.1s ease .4s forwards;
}
.page-header .lede{
  color:var(--ivory-dim); max-width:36rem; margin-top:1rem; font-weight:300;
  opacity:0; animation:fadeUp 1.1s ease .6s forwards;
}
@media (max-width:767px){
  .page-header{ background-attachment:scroll; }
}

/* ============ FIRE DIVIDER ============ */
.fire-divider{ width:100%; display:block; height:60px; margin:0; padding:0; }
.fire-divider path{ fill:var(--charcoal-2); }
.fire-divider.flip path{ fill:var(--charcoal); }

/* ============ SECTION GENERIC ============ */
section{ position:relative; }
.section-pad{ padding:8rem 0; }
.section-pad-sm{ padding:5.5rem 0; }
.bg-2{ background:var(--charcoal-2); }
.bg-3{ background:var(--charcoal-3); }

.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:opacity .9s cubic-bezier(.16,.84,.44,1), transform .9s cubic-bezier(.16,.84,.44,1);
}
.reveal.is-visible{ opacity:1; transform:translateY(0); }
.reveal-delay-1{ transition-delay:.12s; }
.reveal-delay-2{ transition-delay:.24s; }
.reveal-delay-3{ transition-delay:.36s; }

/* ============ STORY ============ */
.story-img-wrap{ position:relative; overflow:hidden; border-radius:4px; height:520px; }
.story-img-wrap img{
  width:100%; height:130%; object-fit:cover;
  position:absolute; top:-15%; left:0;
  will-change:transform;
}
.story-glow{
  position:absolute; inset:0;
  background:radial-gradient(circle at 30% 80%, rgba(194,65,12,.45), transparent 60%);
  mix-blend-mode:screen;
  opacity:.4;
  transition:opacity .2s ease;
}
.story-heading{ font-size:clamp(2.4rem, 4vw, 3.6rem); line-height:1.05; margin-bottom:1.6rem; }
.story-text{ color:var(--ivory-dim); font-size:1.06rem; line-height:1.85; font-weight:300; max-width:34rem; }
.story-text strong{ color:var(--ivory); font-weight:500; }
.quote-mark{ font-family:var(--font-display); font-size:4rem; color:var(--ember); line-height:.5; display:block; margin-bottom:1rem; }

/* ============ PHILOSOPHY STRIP ============ */
.philosophy-strip{ border-top:1px solid rgba(201,162,75,.15); border-bottom:1px solid rgba(201,162,75,.15); }
.philosophy-item{ padding:3.2rem 1.5rem; text-align:center; border-left:1px solid rgba(201,162,75,.12); }
.philosophy-item:first-child{ border-left:none; }
.philosophy-item i{ font-size:1.6rem; color:var(--brass); margin-bottom:1.1rem; display:inline-block; }
.philosophy-item h4{ font-size:1.15rem; color:var(--ivory); margin-bottom:.6rem; }
.philosophy-item p{ color:var(--ivory-dim); font-size:.92rem; line-height:1.6; margin:0; }

/* ============ MENU ============ */
.menu-tabs{ border:none; justify-content:center; gap:.5rem; margin-bottom:4rem; flex-wrap:wrap; }
.menu-tabs .nav-link{
  background:transparent; border:none; color:var(--ivory-dim);
  font-family:var(--font-body); letter-spacing:.14em; text-transform:uppercase;
  font-size:.82rem; font-weight:500; padding:.7rem 1.6rem; position:relative; border-radius:0;
}
.menu-tabs .nav-link::after{
  content:''; position:absolute; bottom:0; left:50%; transform:translateX(-50%);
  width:0; height:2px; background:linear-gradient(90deg, var(--ember), var(--brass));
  transition:width .35s ease;
}
.menu-tabs .nav-link.active{ background:transparent; color:var(--ivory); }
.menu-tabs .nav-link.active::after{ width:60%; }

.menu-item{ display:flex; justify-content:space-between; align-items:baseline; padding:1.6rem 0; border-bottom:1px solid rgba(201,162,75,.14); gap:1.5rem; }
.menu-item .name{ font-family:var(--font-display); font-size:1.28rem; color:var(--ivory); font-weight:500; }
.menu-item .tag{ color:var(--brass-soft); font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; margin-left:.7rem; vertical-align:middle; }
.menu-item .desc{ color:var(--ivory-dim); font-size:.9rem; margin-top:.4rem; max-width:32rem; font-weight:300; }
.menu-item .price{ font-family:var(--font-display); color:var(--brass); font-size:1.05rem; white-space:nowrap; }
.menu-item .dots{ flex:1; border-bottom:1px dotted rgba(207,198,180,.25); margin-bottom:.5rem; min-width:20px; display:none; }
@media (min-width:768px){ .menu-item .dots{ display:block; } }

/* ============ GALLERY ============ */
.gallery-grid{ display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:190px; gap:.6rem; }
.gallery-item{ position:relative; overflow:hidden; border-radius:2px; cursor:pointer; }
.gallery-item img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .8s cubic-bezier(.16,.84,.44,1), filter .8s ease;
  filter:saturate(.9) brightness(.88);
}
.gallery-item:hover img{ transform:scale(1.08); filter:saturate(1.05) brightness(1); }
.gallery-item::before{
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 50%, rgba(13,10,8,.8) 100%);
  opacity:.6; transition:opacity .4s ease; z-index:1;
}
.gallery-item .cap{
  position:absolute; left:1rem; bottom:.9rem; z-index:2;
  color:var(--ivory); font-size:.78rem; letter-spacing:.08em;
  opacity:0; transform:translateY(8px); transition:all .4s ease;
}
.gallery-item:hover .cap{ opacity:1; transform:translateY(0); }
.gallery-item.tall{ grid-row:span 2; }
.gallery-item.wide{ grid-column:span 2; }
@media (max-width:767px){
  .gallery-grid{ grid-template-columns:repeat(2,1fr); grid-auto-rows:150px; }
  .gallery-item.wide{ grid-column:span 2; }
}

/* Lightbox */
.lightbox{
  position:fixed; inset:0; z-index:2000; background:rgba(10,8,6,.94);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transition:opacity .35s ease;
  padding:2rem;
}
.lightbox.is-open{ opacity:1; visibility:visible; }
.lightbox img{ max-width:90vw; max-height:82vh; object-fit:contain; border-radius:2px; }
.lightbox .lb-cap{ position:absolute; bottom:2.2rem; left:0; right:0; text-align:center; color:var(--ivory-dim); font-size:.85rem; letter-spacing:.08em; }
.lightbox .lb-close{
  position:absolute; top:1.6rem; right:2rem; color:var(--ivory); font-size:1.8rem;
  background:none; border:none; cursor:pointer; line-height:1; opacity:.8; transition:opacity .3s ease;
}
.lightbox .lb-close:hover{ opacity:1; }

/* ============ TESTIMONIALS ============ */
.testi-section{
  background:
    linear-gradient(180deg, rgba(13,10,8,.75), rgba(13,10,8,.9)),
    url('https://images.unsplash.com/photo-1424847651672-bf20a4b0982b?q=80&w=1974&auto=format&fit=crop') center/cover fixed;
}
@media (max-width:767px){ .testi-section{ background-attachment:scroll; } }
.testi-card{ text-align:center; max-width:44rem; margin:0 auto; }
.testi-card .quote-mark{ margin:0 auto 1rem; }
.testi-text{ font-family:var(--font-display); font-style:italic; font-size:clamp(1.3rem,2.4vw,1.9rem); line-height:1.5; color:var(--ivory); font-weight:400; }
.testi-name{ margin-top:1.8rem; color:var(--brass-soft); letter-spacing:.1em; font-size:.8rem; text-transform:uppercase; }
#testiCarousel .carousel-indicators [data-bs-target]{ background-color:var(--brass); width:6px; height:6px; border-radius:50%; opacity:.4; }
#testiCarousel .carousel-indicators .active{ opacity:1; }

/* ============ RESERVATION ============ */
.reserve-card{ background:var(--charcoal-3); border:1px solid rgba(201,162,75,.16); border-radius:4px; padding:3.2rem; }
.form-control-custom{
  background:transparent; border:none; border-bottom:1px solid rgba(207,198,180,.3);
  border-radius:0; color:var(--ivory); padding:.7rem .1rem; font-family:var(--font-body); font-weight:300;
}
.form-control-custom:focus{ background:transparent; color:var(--ivory); box-shadow:none; border-bottom-color:var(--ember-light); }
.form-control-custom::placeholder{ color:rgba(207,198,180,.4); }
label.form-label-custom{ font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; color:var(--brass-soft); margin-bottom:.5rem; font-weight:500; }
select.form-control-custom option{ background:var(--charcoal-3); }

/* ============ CREDIT STRIP ============ */
.credit-strip{
  background:var(--smoke);
  border-top:1px solid rgba(201,162,75,.12);
  padding:1.1rem 0;
  text-align:center;
}
.credit-strip p{
  margin:0; font-size:.78rem; color:rgba(207,198,180,.55); letter-spacing:.03em;
}
.credit-strip a{
  color:var(--brass-soft);
  border-bottom:1px solid rgba(201,162,75,.35);
  transition:color .3s ease, border-color .3s ease;
}
.credit-strip a:hover{ color:var(--ember-light); border-color:var(--ember-light); }

/* ============ FOOTER ============ */
footer{ background:var(--smoke); padding:4.5rem 0 0; }
.footer-top{ border-top:1px solid rgba(201,162,75,.14); padding-top:4.5rem; }
footer .brand-mark{ font-size:1.7rem; }
.footer-col h5{ font-size:.72rem; letter-spacing:.22em; text-transform:uppercase; color:var(--brass-soft); margin-bottom:1.3rem; font-weight:500; }
.footer-col p, .footer-col a{ color:var(--ivory-dim); font-size:.92rem; line-height:1.9; font-weight:300; }
.footer-col a{ display:block; transition:color .3s ease; }
.footer-col a:hover{ color:var(--ember-light); }
.social-row a{
  display:inline-flex; width:38px; height:38px; align-items:center; justify-content:center;
  border:1px solid rgba(201,162,75,.3); border-radius:50%; margin-right:.6rem; color:var(--ivory-dim);
  transition:all .3s ease;
}
.social-row a:hover{ background:var(--ember); border-color:var(--ember); color:var(--ivory); }
.footer-bottom{ border-top:1px solid rgba(201,162,75,.1); margin-top:3rem; padding-top:1.6rem; padding-bottom:2rem; font-size:.78rem; color:rgba(207,198,180,.5); }
.footer-bottom a{ color:rgba(207,198,180,.6); transition:color .3s ease; }
.footer-bottom a:hover{ color:var(--brass-soft); }

@media (max-width:991px){
  .section-pad{ padding:5.5rem 0; }
  .philosophy-item{ border-left:none; border-top:1px solid rgba(201,162,75,.12); }
  .philosophy-item:first-child{ border-top:none; }
}
