/* Below-fold styles. Critical CSS (variables, reset, nav, hero) is inlined in <style> in index.html for render performance. */

/* ---------- 2. Story ---------- */

.story {
  display: flex;
  align-items: center;
  padding-block: clamp(5rem, 12vh, 9rem);
  border-top: 1px solid var(--hairline);
  overflow: hidden;
}

.ember-pulse {
  position: absolute;
  width: clamp(20rem, 48vw, 44rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 100, 43, 0.16), transparent 62%);
  pointer-events: none;
  will-change: transform, opacity;
}

.ember-pulse--a { top: 8%; left: -12%; }
.ember-pulse--b { bottom: -6%; left: 26%; background: radial-gradient(circle, rgba(201, 165, 87, 0.1), transparent 62%); }

.story-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2.75rem);
  align-items: center;
}

.story-copy { grid-column: 1 / 7; }

.story-heading {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(2.3rem, 5.4vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 14em;
}

.story-body {
  margin-top: clamp(1.75rem, 4vh, 3rem);
  max-width: 34rem;
  display: grid;
  gap: 1.25rem;
  color: var(--smoke);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
}

.story-panel {
  grid-column: 8 / 13;
  position: relative;
  height: min(76svh, 46rem);
  margin-top: clamp(2rem, 9vh, 6rem);
  overflow: hidden;
}

.story-panel img {
  position: absolute;
  left: 0;
  top: -15%;
  width: 100%;
  height: 130%;
  object-fit: cover;
  will-change: transform;
}

.story-caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.1rem;
  z-index: 2;
  color: rgba(237, 232, 225, 0.85);
}

/* ---------- 3. Tasting menu ---------- */

.menu { border-top: 1px solid var(--hairline); background: var(--charcoal); }

.menu-inner {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(5.5rem, 12vh, 8rem) clamp(2.5rem, 7vh, 5rem);
}

.menu-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2.5rem;
}

.menu-head .section-label { margin-bottom: 0; }

.menu-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  color: var(--smoke);
}

.menu-price { color: var(--gold); font-style: normal; margin-left: 0.75rem; }

.menu-stack {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2.5rem, 7vh, 4.5rem);
  padding-block: clamp(2rem, 6vh, 4rem);
}

html.motion-ok .menu-stack { display: grid; align-items: center; }
html.motion-ok .course { grid-area: 1 / 1 / 2 / 2; will-change: transform, opacity; }

.course-index { color: var(--gold); margin-bottom: clamp(0.8rem, 2vh, 1.4rem); }

.course-name {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: clamp(2.1rem, 6.8vw, 6.2rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  max-width: 11em;
}

.course-desc {
  margin-top: clamp(1rem, 2.6vh, 1.75rem);
  max-width: 33rem;
  color: var(--smoke);
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
}

.menu-progress {
  position: relative;
  height: 1px;
  background: var(--hairline);
}

#menu-bar {
  position: absolute;
  inset: 0;
  display: block;
  background: var(--gold);
  transform-origin: left center;
  will-change: transform;
}

/* ---------- 4 & 7. Media sections (Fire / Room) ---------- */

.media-section {
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-top: 1px solid var(--hairline);
}

.media-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -15%;
  bottom: -15%;
}

.media-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.flicker {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(75% 60% at 50% 72%, rgba(216, 100, 43, 0.4), transparent 70%);
  mix-blend-mode: screen;
  opacity: 0.08;
  pointer-events: none;
  will-change: opacity;
}

.media-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(rgba(19, 18, 16, 0.35), rgba(19, 18, 16, 0.1) 35%, rgba(19, 18, 16, 0.88)),
    linear-gradient(100deg, rgba(19, 18, 16, 0.55), transparent 55%);
  pointer-events: none;
}

.media-scrim--room {
  background:
    linear-gradient(rgba(19, 18, 16, 0.35), rgba(19, 18, 16, 0.1) 35%, rgba(19, 18, 16, 0.88)),
    linear-gradient(-100deg, rgba(19, 18, 16, 0.55), transparent 55%);
}

.media-copy-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-block: clamp(4rem, 11vh, 7rem);
}

.media-copy { max-width: 38rem; }

.media-copy-wrap--right .media-copy { margin-left: auto; }

.media-heading {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(2.4rem, 5.8vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.media-body {
  margin-top: 1.25rem;
  color: rgba(237, 232, 225, 0.82);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  max-width: 32rem;
}

/* ---------- 5. Drinks marquee ---------- */

.drinks {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: clamp(5.5rem, 13vh, 8rem) clamp(3.5rem, 9vh, 6rem);
  border-top: 1px solid var(--hairline);
  background: var(--charcoal-2);
  overflow: hidden;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--hairline);
  padding-block: clamp(2rem, 6vh, 4rem);
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-right: clamp(2rem, 5vw, 4.5rem);
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 360;
  font-size: clamp(2.6rem, 8vw, 7.5rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.marquee-group .outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--smoke);
}

@supports not (-webkit-text-stroke: 1px black) {
  .marquee-group .outline { color: var(--smoke); }
}

.marquee-group .sep,
.marquee-group .sep-dot { color: var(--ember); font-size: 0.5em; }

.drinks-foot { display: flex; justify-content: flex-end; }

.wine-note {
  max-width: 36rem;
  color: var(--smoke);
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  line-height: 1.75;
  border-left: 1px solid var(--hairline-gold);
  padding-left: clamp(1.25rem, 2.5vw, 2rem);
}

/* ---------- 6. Word ---------- */

.word {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--hairline);
}

.word-inner {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(5.5rem, 12vh, 8rem);
}

.quote-mark {
  width: clamp(3.25rem, 7vw, 5.5rem);
  height: auto;
  margin-bottom: clamp(1.5rem, 4vh, 2.75rem);
}

.quote-mark path {
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  fill: none;
}

.quote-stack { position: relative; }

html.motion-ok .quote-stack { display: grid; }
html.motion-ok .quote-blk { grid-area: 1 / 1 / 2 / 2; will-change: transform, opacity; }

.quote-blk + .quote-blk { margin-top: clamp(2.5rem, 7vh, 4.5rem); }
html.motion-ok .quote-blk + .quote-blk { margin-top: 0; }

.review-stars { color: #D8642B; font-size: 1rem; letter-spacing: 0.1em; }

.quote-text {
  font-family: var(--font-display);
  font-weight: 360;
  font-style: italic;
  font-size: clamp(1.7rem, 4.4vw, 3.7rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 22em;
}

.quote-cite {
  display: inline-block;
  margin-top: clamp(1.25rem, 3.5vh, 2.25rem);
  color: var(--gold);
  font-style: normal;
}

.quote-cite::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 2.5rem;
  height: 1px;
  background: var(--hairline-gold);
  margin-right: 1rem;
}

/* ---------- 8. Reservations / footer ---------- */

.reserve {
  border-top: 1px solid var(--hairline);
  background: var(--charcoal-2);
}

.reserve-inner {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(3rem, 8vh, 5rem);
  padding-block: clamp(6rem, 14vh, 9rem) 0;
}

.reserve-title {
  font-family: var(--font-display);
  font-weight: 380;
  font-size: clamp(2.8rem, 9.5vw, 8.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 8.5em;
}

.reserve-sub {
  margin-top: clamp(1.5rem, 3.5vh, 2.25rem);
  max-width: 34rem;
  color: var(--smoke);
}

.reserve-actions {
  margin-top: clamp(1.75rem, 4.5vh, 3rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-top: clamp(2rem, 5vh, 3.5rem);
  border-top: 1px solid var(--hairline);
}

.footer-label { color: var(--gold); margin-bottom: 1.1rem; }

.footer-list {
  list-style: none;
  font-style: normal;
  color: var(--smoke);
  font-size: 0.92rem;
  line-height: 1.7;
  display: grid;
  gap: 0.85rem;
}

.footer-list a { color: var(--bone); border-bottom: 1px solid var(--hairline-gold); transition: color 0.3s ease; }
.footer-list a:hover { color: var(--ember); }

.footer-quiet { color: rgba(138, 133, 128, 0.7); font-style: italic; }

.footer-credit {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--hairline);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-copy { grid-column: auto; }
  .story-panel { grid-column: auto; height: min(58svh, 30rem); margin-top: clamp(2.5rem, 6vh, 4rem); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-brand-sub { display: none; }
}

@media (max-width: 540px) {
  .hero-end { flex-direction: column; align-items: flex-start; gap: 1.75rem; }
  .hero-hint { flex-direction: row; align-items: center; }
  .hint-line { width: 3.4rem; height: 1px; background: linear-gradient(90deg, var(--ember), transparent); }
  .hero-word--ember { margin-left: clamp(1.5rem, 14vw, 5rem); }
  .footer-grid { grid-template-columns: 1fr; }
  .drinks-foot { justify-content: flex-start; }
}
