/* Home + menu pages — editorial, immersive layer on top of styles.css */

.home { background: var(--linen); overflow-x: clip; }
.home em { font-style: italic; }

/* Film grain over everything, very quiet */
.home::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .07; mix-blend-mode: multiply;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Top bar ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 16px var(--gutter); color: var(--linen);
  transition: background .4s, color .4s, padding .4s, box-shadow .4s;
}
.top-mark { width: 46px; height: 46px; position: relative; display: block; }
.top-mark img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .4s; }
.top-mark .on-light { opacity: 0; }
.top nav { display: flex; justify-content: center; gap: clamp(18px, 3vw, 40px); }
.top nav a, .top-cta { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; text-decoration: none; font-weight: 500; }
.top nav a { opacity: .8; position: relative; }
.top nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: currentColor; transition: right .35s ease; }
.top nav a:hover, .top nav a[aria-current] { opacity: 1; }
.top nav a:hover::after, .top nav a[aria-current]::after { right: 0; }
.top-cta { grid-column: 3; justify-self: end; padding: 12px 18px; box-shadow: inset 0 0 0 1px currentColor; transition: background .25s, color .25s; }
.top-cta:hover { background: var(--linen); color: var(--currant); }
.top.scrolled { background: rgba(245, 239, 230, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--cocoa); padding-top: 10px; padding-bottom: 10px; box-shadow: 0 1px 0 rgba(183, 154, 136, .5); }
.top.scrolled .on-light { opacity: 1; }
.top.scrolled .on-dark { opacity: 0; }
.top.scrolled .top-cta { background: var(--currant); color: var(--linen); box-shadow: none; }
@media (max-width: 560px) { .top nav { gap: 16px; } .top { gap: 14px; } .top-cta { padding: 10px 12px; } }

/* ---------- Faint venue backdrop ---------- */
.h-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.h-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; mix-blend-mode: luminosity; filter: grayscale(1) contrast(1.1); transform: scale(1.08); transition: transform 3s cubic-bezier(.2, .7, .1, 1); }
.loaded .h-bg img { transform: scale(1); }
.h-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(105, 16, 14, .55) 0%, rgba(105, 16, 14, 0) 35%, rgba(105, 16, 14, .75) 100%); }

/* ---------- Hero ---------- */
.h-hero {
  min-height: 100svh; background: var(--currant); color: var(--linen);
  display: grid; grid-template-rows: auto 1fr auto; padding: 96px var(--gutter) 40px; position: relative; overflow: hidden;
}
.h-hero > :not(.h-bg) { position: relative; z-index: 1; }
.h-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--almond); border-bottom: 1px solid rgba(183, 154, 136, .4); padding-bottom: 14px; }
.h-stage { display: grid; align-content: center; gap: clamp(20px, 3vw, 36px); padding: clamp(32px, 5vw, 56px) 0; }
.h-title { font-size: clamp(76px, 16vw, 248px); line-height: .86; letter-spacing: -.02em; }
.h-title .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.h-title .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s cubic-bezier(.2, .7, .1, 1); }
.h-title .ln-2 { padding-left: 14vw; }
.h-title em { color: var(--almond); }
.loaded .h-title .ln > span { transform: none; }
.loaded .h-title .ln-2 > span { transition-delay: .12s; }
.h-tag { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; opacity: 0; transition: opacity 1s .7s; }
.h-tag em { color: var(--almond); }
.loaded .h-tag { opacity: 1; }

.h-foot { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: end; justify-content: space-between; border-top: 1px solid rgba(183, 154, 136, .4); padding-top: 22px; }
.h-facts { display: flex; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; }
.h-facts dt { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--almond); margin-bottom: 4px; }
.h-facts dd { font-size: 17px; }
@media (max-width: 720px) {
  .h-meta span:nth-child(2) { display: none; }
  .h-title .ln-2 { padding-left: 10vw; }
  .h-foot .btn { width: 100%; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--cocoa); color: var(--linen); overflow: hidden; padding: 22px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; gap: 36px; animation: marquee 38s linear infinite; padding-left: 36px; }
.marquee span { font-family: var(--serif); font-size: clamp(30px, 4vw, 54px); line-height: 1; }
.marquee em { color: var(--almond); }
.marquee i { font-style: normal; color: var(--clay); font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- The night (index list) ---------- */
.index-list { background: var(--linen); padding: clamp(80px, 12vw, 150px) var(--gutter); position: relative; }
.rows { list-style: none; border-top: 1px solid var(--almond); margin-top: 22px; }
.rows li { border-bottom: 1px solid var(--almond); }
.rows li > a, .rows li > div {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: baseline; gap: 4px 16px;
  padding: clamp(22px, 3vw, 34px) 0; text-decoration: none; color: inherit;
}
@media (min-width: 760px) { .rows li > a, .rows li > div { grid-template-columns: 80px 1fr auto 48px; } }
.rows .n { font-size: 12px; letter-spacing: .2em; color: var(--clay); }
.rows h3 { font-size: clamp(44px, 7vw, 104px); line-height: .95; transition: transform .6s cubic-bezier(.2, .7, .1, 1), color .3s; }
.rows .who { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--clay); text-align: right; }
.rows .go { font-size: 28px; color: var(--clay); text-align: right; transition: transform .5s cubic-bezier(.2, .7, .1, 1); }
@media (max-width: 759px) {
  .rows .who { grid-column: 2; text-align: left; }
  .rows .go { grid-column: 3; grid-row: 1; }
}
.rows li:hover h3 { transform: translateX(14px); font-style: italic; color: var(--currant); }
.rows li:hover .go { transform: translateX(8px); }

/* Floating image that follows the cursor over the rows */
.preview {
  position: fixed; left: 0; top: 0; width: 260px; aspect-ratio: 4 / 5; z-index: 30; pointer-events: none;
  opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-3deg); transition: opacity .35s, transform .5s cubic-bezier(.2, .7, .1, 1);
  overflow: hidden; background: var(--cocoa); box-shadow: 0 30px 60px -30px rgba(59, 39, 32, .7);
}
.preview img { width: 100%; height: 100%; object-fit: cover; }
.preview.contain img { object-fit: contain; padding: 18px; background: var(--almond); }
.preview.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
@media (hover: none), (max-width: 759px) { .preview { display: none; } }

/* ---------- Finale ---------- */
.finale { background: var(--currant); color: var(--linen); padding: clamp(96px, 14vw, 180px) var(--gutter); text-align: center; position: relative; overflow: hidden; }
.finale .wrap { display: grid; justify-items: center; gap: 18px; position: relative; z-index: 1; }
.finale-mark { width: clamp(110px, 12vw, 150px); }
.finale-title { font-size: clamp(84px, 15vw, 220px); line-height: .9; letter-spacing: -.02em; }
.finale-sub { font-family: var(--serif); font-size: clamp(24px, 3vw, 36px); color: var(--almond); }
.btn-lg { padding: 24px 48px; font-size: 13px; }

/* ---------- Menu page ---------- */
.m-hero {
  min-height: 100svh; background: var(--herb); color: var(--linen); position: relative; overflow: hidden;
  display: grid; align-items: center; padding: 120px var(--gutter) 64px;
}
.m-hero .h-bg::after { background: linear-gradient(180deg, rgba(50, 82, 50, .5), rgba(50, 82, 50, .8)); }
.m-grid { position: relative; z-index: 1; display: grid; gap: clamp(40px, 6vw, 80px); max-width: 1180px; margin: 0 auto; width: 100%; }
@media (min-width: 900px) { .m-grid { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.m-copy { display: grid; gap: 22px; justify-items: start; }
.m-copy .eyebrow { color: var(--almond); }
.m-title { font-size: clamp(72px, 11vw, 168px); line-height: .88; letter-spacing: -.02em; }
.m-title em { color: var(--almond); }
.m-sub { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; max-width: 22ch; }
.m-chef { position: relative; justify-self: center; width: min(100%, 400px); }
.m-chef .arch { border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 3 / 4; }
.m-chef .arch img { width: 100%; height: 100%; object-fit: cover; }
.m-chef figcaption { margin-top: 16px; display: flex; justify-content: space-between; gap: 12px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--almond); }
.m-seal { position: absolute; width: clamp(90px, 9vw, 120px); left: -40px; bottom: 60px; }

/* ---------- Spades page ---------- */
.s-hero { min-height: 78svh; }
.s-hero .h-title { font-size: clamp(68px, 13vw, 200px); }
.s-bracket { background: var(--cocoa); color: var(--linen); padding: clamp(72px, 10vw, 120px) var(--gutter) clamp(56px, 8vw, 96px); }
.s-bracket-head { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: end; max-width: 1400px; margin: 0 auto 36px; }
.s-bracket-head .eyebrow { color: var(--almond); }
.s-bracket-head h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1; margin-top: 10px; }
.s-count { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); color: var(--almond); }
.s-bracket-foot { max-width: 1400px; margin: 0 auto; }
.s-wait { margin-top: 14px; font-size: 14px; color: var(--almond); }
.s-signup-grid { display: grid; gap: clamp(48px, 7vw, 96px); }
@media (min-width: 900px) { .s-signup-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.s-h { font-size: clamp(44px, 6vw, 80px); line-height: 1; margin: 12px 0 36px; }
.s-h em { color: var(--clay); }
.s-rules { border-top: 1px solid var(--almond); padding-top: 18px; }
.s-rules ol { list-style: none; margin-top: 12px; }
.s-rules li { display: grid; grid-template-columns: 84px 1fr; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--almond); }
.s-rules b { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; color: var(--currant); }
.s-rules span { font-size: 16px; }

/* ---------- Mobile ticket bar ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: none;
  justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px;
  background: var(--currant); color: var(--linen); text-decoration: none;
  transform: translateY(150%); transition: transform .45s cubic-bezier(.2, .7, .1, 1);
  box-shadow: 0 16px 40px -16px rgba(59, 39, 32, .6);
}
.mobile-cta span { font-size: 14px; color: rgba(245, 239, 230, .78); }
.mobile-cta b { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; background: var(--linen); color: var(--currant); padding: 10px 14px; }
.mobile-cta.show { transform: none; }
@media (max-width: 720px) { .mobile-cta { display: flex; } .home .site-footer { padding-bottom: 110px; } }

/* ---------- Scroll reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s cubic-bezier(.2, .7, .1, 1), transform 1s cubic-bezier(.2, .7, .1, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(12% 0 0 0); transition: clip-path 1.3s cubic-bezier(.2, .7, .1, 1); }
.js .reveal-img img { transform: scale(1.12); transition: transform 1.8s cubic-bezier(.2, .7, .1, 1); }
.js .reveal-img.in { clip-path: inset(0 0 0 0); }
.js .reveal-img.in img { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .js .reveal, .js .reveal-img, .js .reveal-img img, .h-title .ln > span, .h-tag, .h-bg img, .preview { transition: none !important; transform: none !important; opacity: 1 !important; clip-path: none !important; }
  .h-bg img { opacity: .16 !important; }
  .preview { display: none; }
}

.m-diet { font-size: 16px; color: var(--almond); max-width: 44ch; }

/* ---------- Landing (public) ---------- */
.h-about { max-width: 46ch; font-size: clamp(17px, 1.6vw, 20px); color: rgba(245, 239, 230, .8); opacity: 0; transition: opacity 1s .9s; }
.loaded .h-about { opacity: 1; }
.h-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.h-signin { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--almond); text-decoration: none; }
.h-signin:hover { color: var(--linen); }
@media (max-width: 720px) { .h-actions { width: 100%; } .h-actions .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .h-about { opacity: 1 !important; transition: none !important; } }
