/* ========================================================================
   Maison Noir - Flagship tier · micro.netweb
   Fine dining, editorial & cinematic. Charcoal, gold, film grain, big type.
   ===================================================================== */

:root {
  --noir:    #0c0b0a;
  --noir-2:  #100f0d;
  --panel:   #15130f;
  --bone:    #f4ede0;
  --bone-d:  #a59c8b;
  --gold:    #c8a35a;
  --gold-lt: #e9d6a4;
  --line:    rgba(200,163,90,.2);
  --line-2:  rgba(244,237,224,.1);
  --ff-disp: "Cormorant Garamond", Georgia, serif;
  --ff-body: "Jost", system-ui, sans-serif;
  --wrap:    1280px;
  --gut:     clamp(1.3rem, 4vw, 4rem);
  --ease:    cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body); background: var(--noir); color: var(--bone);
  line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
::selection { background: var(--gold); color: var(--noir); }

h1,h2,h3 { font-family: var(--ff-disp); font-weight: 500; line-height: 1.02; letter-spacing: .005em; }
.eyebrow {
  font-family: var(--ff-body); font-size: .7rem; letter-spacing: .44em; text-transform: uppercase;
  color: var(--gold); font-weight: 400; display: inline-flex; align-items: center; gap: .9rem; margin-bottom: 1.6rem;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); opacity: .7; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 32px; height: 1px; background: var(--gold); opacity: .7; }

/* Film grain + vignette atmosphere */
.grain {
  position: fixed; inset: -50%; z-index: 9000; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(6) infinite;
}
@keyframes grain { 0%,100%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)} 40%{transform:translate(3%,-3%)} 60%{transform:translate(-2%,2%)} 80%{transform:translate(2%,-1%)} }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 200px 40px rgba(0,0,0,.55); }

/* Custom cursor */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; }
.cursor { width: 44px; height: 44px; border: 1px solid rgba(232,210,164,.6); transform: translate(-50%,-50%);
  transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s; }
.cursor-dot { width: 4px; height: 4px; background: var(--gold-lt); transform: translate(-50%,-50%); }
.cursor.grow { width: 78px; height: 78px; background: rgba(200,163,90,.1); border-color: transparent; }
@media (hover: none) { .cursor, .cursor-dot { display: none; } }

/* Preloader */
.preloader { position: fixed; inset: 0; background: var(--noir); z-index: 10000; display: grid; place-items: center; }
.pl-inner { text-align: center; }
.pl-mark { font-family: var(--ff-disp); font-style: italic; font-size: clamp(2.2rem,6vw,3.8rem); color: var(--bone); letter-spacing: .03em; }
.pl-mark span { color: var(--gold); }
.pl-line { width: 1px; height: 0; background: var(--gold); margin: 1.4rem auto; }
.pl-count { font-family: var(--ff-body); font-size: .8rem; letter-spacing: .4em; color: var(--bone-d); }
body.loaded .preloader { opacity: 0; visibility: hidden; transition: opacity .9s ease .2s, visibility .9s .2s; }

/* Buttons (refined, with sliding fill) */
.btn {
  --bg: transparent; --fg: var(--bone); --bd: var(--gold);
  position: relative; display: inline-flex; align-items: center; gap: .7rem; overflow: hidden;
  font-family: var(--ff-body); font-weight: 400; font-size: .76rem; letter-spacing: .22em; text-transform: uppercase;
  padding: 1.15rem 2.3rem; border: 1px solid var(--bd); background: var(--bg); color: var(--fg); cursor: pointer;
  transition: color .5s var(--ease), border-color .5s;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: 0; }
.btn > * { position: relative; z-index: 1; }
.btn:hover { color: var(--noir); border-color: var(--gold); }
.btn:hover::before { transform: scaleY(1); }
.btn--solid { --bg: var(--gold); --fg: var(--noir); }
.btn--solid::before { background: var(--bone); transform: scaleY(0); }
.btn--solid:hover { color: var(--noir); }
.btn--wa { --bd:#2dbd61; } .btn--wa::before { background:#2dbd61; } .btn--wa:hover { color:#fff; }

/* Demo tier notice (fixed top bar) */
.demobar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9100; text-align: center;
  background: rgba(12,11,10,.96); border-bottom: 1px solid var(--line); color: var(--bone);
  font-size: .72rem; letter-spacing: .03em; line-height: 1.55; padding: .55rem 1.3rem;
}
.demobar b { color: var(--gold); font-weight: 500; }

/* Header */
.site-head { position: fixed; top: var(--demobar-h, 42px); left: 0; right: 0; z-index: 80; transition: background .5s, border-color .5s, padding .4s; border-bottom: 1px solid transparent; }
.site-head.scrolled { background: rgba(12,11,10,.78); backdrop-filter: blur(14px); border-color: var(--line-2); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 1.7rem 0; transition: padding .4s; }
.site-head.scrolled .nav { padding: 1.05rem 0; }
.brand { font-family: var(--ff-disp); font-size: 1.75rem; letter-spacing: .14em; }
.brand b { color: var(--gold); font-weight: 500; }
.nav-links { display: flex; gap: 2.6rem; list-style: none; }
.nav-links a { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--bone-d); position: relative; transition: color .35s; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-7px; height:1px; width:0; background: var(--gold); transition: width .4s var(--ease); }
.nav-links a:hover { color: var(--gold-lt); } .nav-links a:hover::after { width: 100%; }
.nav-tools { display: flex; align-items: center; gap: 1.3rem; }
.lang { display: inline-flex; border: 1px solid var(--line-2); }
.lang button { border:0; background: transparent; color: var(--bone-d); font-family: var(--ff-body); font-size: .7rem; letter-spacing: .14em; padding: .5rem .75rem; cursor: pointer; transition: .35s; }
.lang button.active { background: var(--gold); color: var(--noir); }
.burger { display: none; background: none; border: 0; color: var(--bone); font-size: 1.6rem; cursor: pointer; }
.nav-tools .btn { padding: .85rem 1.6rem; }

/* ---- Hero ----------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; overflow: hidden; padding: 96px 0 clamp(2rem,5vw,4rem); }
.hero-media { position: absolute; inset: -10% 0; z-index: -2; }
.hero-media img { width: 100%; height: 118%; object-fit: cover; filter: brightness(.4) saturate(.92) contrast(1.05); }
.hero::before { content:""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(12,11,10,.7) 0%, rgba(12,11,10,.15) 35%, rgba(12,11,10,.55) 70%, rgba(12,11,10,.96) 100%); }
.hero-inner { width: 100%; max-width: 920px; margin-inline: auto; }
.hero .overline { display: block; font-size: .74rem; letter-spacing: .5em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.6rem; }
.hero h1 { font-size: clamp(3.6rem, 14vw, 12rem); line-height: .86; letter-spacing: -.01em; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; }
.hero h1 em { font-style: italic; color: var(--gold-lt); }
.hero .sub { font-family: var(--ff-disp); font-style: italic; font-size: clamp(1.3rem,2.6vw,2rem); color: var(--bone); margin: clamp(6.5rem,20vh,13rem) auto 2.6rem; max-width: 34ch; }
.hero-cta { display: flex; gap: 1.1rem; flex-wrap: wrap; justify-content: center; }
.hero-foot { display: flex; justify-content: center; gap: clamp(2rem,6vw,4.5rem); flex-wrap: wrap; border-top: 1px solid var(--line-2); margin-top: clamp(2.5rem,6vw,5rem); padding-top: 1.6rem; }
.hero-foot div { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-d); }
.hero-foot b { color: var(--gold); font-weight: 400; }

/* ---- Section rhythm ------------------------------------------------- */
section { padding: clamp(5.5rem, 12vw, 12rem) 0; position: relative; }
.sec-head { max-width: 62ch; margin-bottom: clamp(3rem,6vw,5rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
.sec-head h2 em { font-style: italic; color: var(--gold-lt); }
.sec-head p { color: var(--bone-d); font-size: 1.12rem; font-weight: 300; margin-top: 1.2rem; }

/* ---- Chapter / philosophy ------------------------------------------- */
.chapter { background: var(--noir-2); }
.chap-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(3rem,7vw,7rem); align-items: center; }
.chap-num { font-family: var(--ff-disp); font-size: clamp(5rem,14vw,11rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--line); margin-bottom: 1.2rem; }
.chapter h2 { font-size: clamp(2.6rem,6vw,4.6rem); margin-bottom: 1.6rem; }
.chapter h2 em { font-style: italic; color: var(--gold-lt); }
.chapter p { color: var(--bone-d); font-size: 1.12rem; font-weight: 300; margin-bottom: 1.2rem; max-width: 46ch; }
.chap-stats { display: flex; gap: clamp(1.5rem,4vw,3rem); margin-top: 2.6rem; border-top: 1px solid var(--line-2); padding-top: 2rem; }
.chap-stats .n { font-family: var(--ff-disp); font-size: clamp(2.4rem,5vw,3.4rem); color: var(--gold); line-height: 1; }
.chap-stats small { display: block; color: var(--bone-d); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-top: .4rem; }
.reveal-img { position: relative; overflow: hidden; }
.reveal-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: saturate(.95) brightness(.92); transform: scale(1.18); transition: transform 1.4s var(--ease); }
.reveal-img .mask { position: absolute; inset: 0; background: var(--noir); transform-origin: right; }
.reveal-img.in img { transform: scale(1); }
.no-gsap .reveal-img img { transform: none; } .no-gsap .reveal-img .mask { display: none; }

/* ---- The Tasting (seven acts) - sticky image + list ----------------- */
.tasting { background: var(--noir); }
.acts { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2.5rem,6vw,6rem); align-items: start; }
.acts-media { position: sticky; top: 14vh; height: 72vh; overflow: hidden; }
.acts-media figure { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); margin: 0; }
.acts-media figure.active { opacity: 1; }
.acts-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.82) saturate(.95); }
.acts-media .cap { position: absolute; left: 1.4rem; bottom: 1.4rem; font-family: var(--ff-disp); font-style: italic; font-size: 1.5rem; color: var(--bone); text-shadow: 0 2px 16px rgba(0,0,0,.7); }
.acts-list { display: flex; flex-direction: column; }
.act { display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: baseline; padding: 1.7rem 0; border-top: 1px solid var(--line-2); cursor: pointer; transition: padding-left .45s var(--ease); }
.act:last-child { border-bottom: 1px solid var(--line-2); }
.act .no { font-family: var(--ff-disp); font-style: italic; font-size: 1.05rem; color: var(--gold); letter-spacing: .1em; min-width: 3.2rem; }
.act h3 { font-size: clamp(1.6rem,3.2vw,2.4rem); transition: color .4s; }
.act p { color: var(--bone-d); font-size: .95rem; font-weight: 300; margin-top: .3rem; max-width: 44ch; }
.act.active, .act:hover { padding-left: 1.2rem; }
.act.active h3, .act:hover h3 { color: var(--gold-lt); }

/* ---- Horizontal gallery --------------------------------------------- */
.hgallery { padding: 0; }
.hgal-head { padding: clamp(5rem,10vw,9rem) 0 0; }
.hpin { height: 100svh; display: flex; align-items: center; overflow: hidden; }
.htrack { display: flex; gap: 2.2rem; padding-inline: var(--gut); will-change: transform; }
.hcard { position: relative; flex: 0 0 auto; width: 58vh; max-width: 480px; overflow: hidden; }
.hcard img { width: 100%; aspect-ratio: 3/4; object-fit: cover; filter: brightness(.84); transition: transform 1s var(--ease); }
.hcard:hover img { transform: scale(1.05); }
.hcard figcaption { position: absolute; left: 1.5rem; bottom: 1.5rem; font-family: var(--ff-disp); font-size: 1.9rem; color: var(--bone); text-shadow: 0 2px 22px rgba(0,0,0,.7); }
.hcard figcaption small { display: block; font-family: var(--ff-body); font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: .3rem; }
.hgal-foot { padding: 2.2rem 0 clamp(5rem,10vw,9rem); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--bone-d); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }

/* ---- À la carte menu ------------------------------------------------ */
.menu { background: var(--noir-2); }
.menu-filter { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 3.2rem; }
.menu-filter button { background: transparent; border: 1px solid var(--line-2); color: var(--bone-d); font-family: var(--ff-body);
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; padding: .7rem 1.5rem; cursor: pointer; transition: .4s var(--ease); }
.menu-filter button.active { background: var(--gold); color: var(--noir); border-color: var(--gold); }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem 4.5rem; max-width: 1040px; margin-inline: auto; }
.dish { border-bottom: 1px solid var(--line-2); padding-bottom: 1.5rem; }
.dish.hide { display: none; }
.dish .top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.dish h3 { font-size: 1.8rem; }
.dish .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-6px); }
.dish .price { font-family: var(--ff-disp); font-size: 1.55rem; color: var(--gold); }
.dish p { color: var(--bone-d); font-size: .94rem; margin-top: .4rem; font-weight: 300; }
.dish .cat { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); opacity: .7; }

/* ---- Quote band ----------------------------------------------------- */
.band { background:
  linear-gradient(rgba(12,11,10,.78), rgba(12,11,10,.82)),
  url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1600&q=80") center/cover fixed;
  text-align: center; }
.band blockquote { font-family: var(--ff-disp); font-style: italic; font-size: clamp(2rem,5vw,3.8rem); line-height: 1.28; max-width: 20ch; margin: 0 auto 1.8rem; }
.band cite { font-style: normal; font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }

/* ---- Press / accolades ---------------------------------------------- */
.press { background: var(--noir); border-block: 1px solid var(--line-2); padding: clamp(3rem,6vw,5rem) 0; }
.press-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1.5rem,4vw,3rem); text-align: center; }
.press-grid .item .stars { color: var(--gold); letter-spacing: .2em; font-size: .9rem; margin-bottom: .7rem; }
.press-grid .item b { display: block; font-family: var(--ff-disp); font-size: 1.5rem; color: var(--bone); }
.press-grid .item small { color: var(--bone-d); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }

/* ---- Reserve -------------------------------------------------------- */
.reserve { text-align: center; }
.reserve .wrap { max-width: 760px; }
.reserve h2 { font-size: clamp(2.8rem,8vw,5.5rem); margin-bottom: 1.4rem; }
.reserve h2 em { font-style: italic; color: var(--gold-lt); }
.reserve p { color: var(--bone-d); font-size: 1.14rem; margin-bottom: 2.6rem; font-weight: 300; }
.reserve-cta { display: flex; gap: 1.1rem; justify-content: center; flex-wrap: wrap; }
.reserve .hours { margin-top: 3.4rem; display: flex; gap: clamp(2rem,5vw,3.4rem); justify-content: center; flex-wrap: wrap; }
.reserve .hours div { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-d); }
.reserve .hours b { color: var(--gold); display: block; font-family: var(--ff-disp); font-size: 1.4rem; letter-spacing: .02em; text-transform: none; margin-bottom: .3rem; }

/* ---- Footer --------------------------------------------------------- */
.site-foot { border-top: 1px solid var(--line-2); padding: clamp(3.5rem,6vw,5rem) 0 2.8rem; background: var(--noir-2); }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.foot-top .brand { font-size: 2.2rem; }
.foot-top .brand + p { color: var(--bone-d); font-size: .92rem; font-weight: 300; margin-top: .6rem; max-width: 30ch; }
.foot-col h4 { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; font-family: var(--ff-body); font-weight: 400; }
.foot-col p, .foot-col a { color: var(--bone-d); font-size: .92rem; display: block; margin-bottom: .45rem; font-weight: 300; }
.foot-col a:hover { color: var(--gold-lt); }
.foot-bottom { border-top: 1px solid var(--line-2); padding-top: 1.9rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.powered { font-size: .84rem; color: var(--bone-d); letter-spacing: .03em; }
.powered a { color: var(--gold); border-bottom: 1px dotted currentColor; }

/* ---- Modal ---------------------------------------------------------- */
.modal-bg { position: fixed; inset: 0; background: rgba(8,7,6,.86); backdrop-filter: blur(8px); z-index: 200; display: none; place-items: center; padding: 1.5rem; }
.modal-bg.open { display: grid; }
.modal { background: var(--panel); border: 1px solid var(--line); max-width: 500px; width: 100%; padding: 3.2rem 2.8rem; position: relative; }
.modal h3 { font-size: 2.4rem; margin-bottom: .4rem; }
.modal h3 em { font-style: italic; color: var(--gold-lt); }
.modal p.sub { color: var(--bone-d); font-size: .92rem; margin-bottom: 2rem; font-weight: 300; }
.modal .close { position: absolute; top: 1rem; right: 1.3rem; background: none; border: 0; color: var(--bone-d); font-size: 1.8rem; cursor: pointer; }
.modal label { display: block; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 .5rem; }
.modal input, .modal select { width: 100%; background: rgba(244,237,224,.04); border: 1px solid var(--line-2); color: var(--bone);
  padding: .9rem 1rem; font-family: var(--ff-body); font-size: 1rem; margin-bottom: 1.2rem; }
.modal input:focus, .modal select:focus { outline: none; border-color: var(--gold); }
.modal .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.modal select option { background: var(--panel); }
.modal .btn { width: 100%; justify-content: center; }
.modal .note { font-size: .76rem; color: var(--bone-d); margin-top: 1rem; text-align: center; font-weight: 300; }

/* ---- Reveal --------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(42px); }
.no-gsap [data-reveal] { opacity: 1; transform: none; }

/* ---- Responsive ----------------------------------------------------- */
@media (max-width: 980px) {
  .chap-grid, .acts, .menu-list, .foot-top { grid-template-columns: 1fr; }
  .chap-grid .reveal-img { order: -1; max-width: 460px; }
  .press-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
  .foot-top { gap: 2.2rem; }
  .acts-media { position: relative; top: 0; height: 56vh; margin-bottom: 1.5rem; }
  .acts-media figure { opacity: 0; } .acts-media figure.active { opacity: 1; }
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(82vw,340px); flex-direction: column; background: var(--panel);
    padding: 6rem 2rem; gap: 1.7rem; transform: translateX(100%); transition: transform .45s var(--ease); border-left: 1px solid var(--line); z-index: 85; }
  .nav-links.open { transform: none; }
  .burger { display: block; z-index: 90; }
  .nav-tools .btn { display: none; }
  .hpin { height: auto; padding: 2rem 0; }
  .htrack { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
  .hcard { width: 78vw; scroll-snap-align: center; }
  .band { background-attachment: scroll; }
}
@media (max-width: 560px) { .modal .two { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .grain { display: none; }
  .reveal-img img { transform: none !important; } .reveal-img .mask { display: none; }
}
