/* ══════════════════════════════════════════════════════════════
   SAISON NOIR — style.css (v3, kinetic)
   Palette: soot (wine-black), ember orange, oxblood, brass, parchment
   Type: Bodoni Moda (didone display) · IBM Plex Mono (labels)
   Hero: full-bleed scroll-scrubbed fire footage under the type
   ══════════════════════════════════════════════════════════════ */

:root {
  --soot:   #160a0c;
  --soot-2: #1f0e10;
  --ember:  #e3561d;
  --ember-hot: #ff7a33;
  --oxblood: #5e1c26;
  --brass:  #b98a4e;
  --parch:  #f0e3d3;
  --parch-dim: rgba(240, 227, 211, 0.6);
  --rule: rgba(227, 86, 29, 0.35);

  --didone: "Bodoni Moda", "Didot", "Bodoni MT", serif;
  --mono: "IBM Plex Mono", "SF Mono", monospace;

  --ease-cine: cubic-bezier(0.32, 0.72, 0, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--soot);
  color: var(--parch);
  font-family: var(--didone);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--ember); color: var(--soot); }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; }
.mono { font-family: var(--mono); }

/* ── Film grain — fixed, 5% ── */
.grain {
  position: fixed;
  inset: -100%;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(6) infinite;
}
@keyframes grain-shift {
  0%   { transform: translate3d(0,0,0); }
  20%  { transform: translate3d(-4%,3%,0); }
  40%  { transform: translate3d(3%,-5%,0); }
  60%  { transform: translate3d(-5%,-2%,0); }
  80%  { transform: translate3d(4%,4%,0); }
  100% { transform: translate3d(0,0,0); }
}

/* ── Micro label with ember tick ── */
.tick {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--ember);
  vertical-align: middle;
  margin-right: 12px;
}
.act__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--brass);
}
.act__label--ember { color: var(--ember-hot); }

/* ── Top bar — full width, hairline bottom ── */
.bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 3.5vw, 48px);
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(22, 10, 12, 0.85), rgba(22, 10, 12, 0.35) 70%, transparent);
}
.bar__brand {
  font-family: var(--didone);
  font-weight: 800;
  font-size: clamp(17px, 1.6vw, 22px);
  letter-spacing: 0.14em;
}
.bar__brand em { font-style: italic; color: var(--ember); }
.bar__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--parch-dim);
}
.bar__reserve {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--soot);
  background: var(--ember);
  padding: 12px 20px;
  transition: background 0.5s var(--ease-cine);
}
.bar__reserve:hover { background: var(--ember-hot); }
.bar__arrow { display: inline-block; margin-left: 10px; }

.magnetic { display: inline-block; will-change: transform; }
.magnetic__inner { display: inline-flex; align-items: center; will-change: transform; }

/* ══ ACT I · HERO — full-bleed scrubbed footage ══ */
.hero { position: relative; }
.hero__stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.hero__poster,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__video { opacity: 0; transition: opacity 0.8s var(--ease-cine); }
.hero__video.is-ready { opacity: 1; }
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22,10,12,0.45) 0%, transparent 30%, transparent 52%, rgba(22,10,12,0.92) 100%),
    linear-gradient(90deg, rgba(22,10,12,0.55) 0%, transparent 45%);
}

.hero__act {
  position: absolute;
  top: 92px;
  left: clamp(18px, 3.5vw, 48px);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ember-hot);
}

.hero__copy {
  position: absolute;
  left: clamp(18px, 3.5vw, 48px);
  bottom: clamp(28px, 6vh, 64px);
  max-width: 90vw;
}
.hero__title {
  font-weight: 850;
  font-size: clamp(2.6rem, 8.2vw, 8.2rem);
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-shadow: 0 2px 34px rgba(22, 10, 12, 0.75), 0 1px 8px rgba(22, 10, 12, 0.6);
}
.ht__line { display: block; }
.hero__title em { font-style: italic; font-weight: 500; color: var(--ember-hot); }
.hero__sub {
  margin-top: 26px;
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: var(--parch-dim);
  border-left: 2px solid var(--ember);
  padding-left: 16px;
}

.hero__scene {
  position: absolute;
  right: clamp(18px, 3.5vw, 48px);
  bottom: clamp(28px, 6vh, 64px);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--parch-dim);
  text-align: right;
  opacity: 0;
}
.hero__scene--1 { opacity: 1; }

.hero__num {
  position: absolute;
  top: 92px;
  right: clamp(18px, 3.5vw, 48px);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--parch-dim);
}
.hero__num span { color: var(--ember-hot); }

/* ══ Acts — shared stage ══ */
.act { position: relative; background: var(--soot); }
.act__stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.act__body {
  font-family: var(--didone);
  font-weight: 400;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.8;
  color: var(--parch-dim);
  max-width: 44ch;
}
.act__numeral {
  position: absolute;
  bottom: -0.16em;
  right: clamp(6px, 2vw, 30px);
  z-index: 3;
  font-family: var(--didone);
  font-weight: 900;
  font-size: clamp(9rem, 26vw, 22rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(227, 86, 29, 0.4);
  pointer-events: none;
}
.act__numeral--right { right: auto; left: clamp(6px, 2vw, 30px); }

/* ══ ACT II · ROOM — full-bleed photo, panel slides over ══ */
.room__fig {
  position: absolute;
  inset: 0;
}
.room__fig img { width: 100%; height: 100%; object-fit: cover; }
.room__fig::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22,10,12,0.88) 0%, rgba(22,10,12,0.25) 55%, rgba(22,10,12,0.5) 100%);
}
.room__panel {
  position: absolute;
  left: clamp(18px, 3.5vw, 48px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 560px;
}
.room__title {
  margin: 26px 0 24px;
  font-weight: 850;
  font-size: clamp(2rem, 4.8vw, 4.6rem);
  line-height: 1.02;
}
.room__title em { font-style: italic; font-weight: 500; color: var(--brass); }

/* ══ ACT III · FIRE — full-bleed flambé, copy over the dark half ══ */
.fireact__fig {
  position: absolute;
  inset: 0;
}
.fireact__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.fireact__fig::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22,10,12,0.92) 0%, rgba(22,10,12,0.55) 40%, rgba(22,10,12,0.1) 70%);
}
.fireact__copy {
  position: absolute;
  left: clamp(18px, 3.5vw, 48px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: min(480px, 86vw);
}
.fireact__title {
  margin: 26px 0 34px;
  font-weight: 850;
  font-size: clamp(2.6rem, 6.5vw, 6rem);
  line-height: 0.95;
}
.fireact__title em { font-style: italic; font-weight: 500; color: var(--ember-hot); }
.fireact__list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--parch-dim);
}
.fireact__list li span:last-child { color: var(--ember-hot); }

/* ══ ACT IV · PLATES — full-bleed dish, chapters over the shadow side ══ */
.plates__fig {
  position: absolute;
  inset: 0;
}
.plates__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 22% center; transform-origin: center; }
.plates__fig::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(22,10,12,0.94) 0%, rgba(22,10,12,0.62) 45%, rgba(22,10,12,0.08) 78%);
}
.plates__panel {
  position: absolute;
  right: clamp(18px, 3.5vw, 48px);
  left: max(46%, calc(100% - 760px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.chapters { margin-top: 30px; }
.chap {
  padding: 26px 0;
  border-top: 1px solid var(--rule);
}
.chap:last-child { border-bottom: 1px solid var(--rule); }
.chap__name {
  font-weight: 850;
  font-size: clamp(1.7rem, 3.4vw, 3.2rem);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.chap__no {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--ember-hot);
}
.chap__dishes {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.8;
  color: var(--parch-dim);
}
.plates__note {
  margin-top: 22px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--brass);
}

/* ══ ACT V · CELLAR — photo revealed through widening slab ══ */
.cellar__fig {
  position: absolute;
  inset: 0;
  clip-path: inset(0 42% 0 42%);
  will-change: clip-path;
}
.cellar__fig img { width: 100%; height: 100%; object-fit: cover; }
.cellar__fig::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22,10,12,0.55) 0%, transparent 40%, rgba(22,10,12,0.85) 100%);
}
.cellar__copy {
  position: absolute;
  left: clamp(18px, 3.5vw, 48px);
  bottom: clamp(40px, 9vh, 90px);
  z-index: 2;
  max-width: 640px;
}
.cellar__title {
  margin: 24px 0 22px;
  font-weight: 850;
  font-size: clamp(2.2rem, 5.4vw, 5rem);
  line-height: 1;
}
.cellar__title em { font-style: italic; font-weight: 500; color: var(--ember-hot); }

/* ══ ACT VI · RESERVE ══ */
.reserve {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: left;
}
.reserve__ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.reserve__shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 80% at 50% 50%, rgba(22,10,12,0.25) 0%, rgba(22,10,12,0.95) 100%);
}
.reserve__inner {
  position: relative;
  z-index: 2;
  width: min(1100px, 92vw);
  padding: 18vh 0 16vh;
}
.reserve__title {
  margin: 26px 0 44px;
  font-weight: 900;
  font-size: clamp(3.2rem, 10.5vw, 10rem);
  line-height: 0.9;
}
.reserve__title em { font-style: italic; font-weight: 500; color: var(--ember-hot); }
.reserve__actions { display: flex; flex-wrap: wrap; gap: 18px; }
.cta {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
}
.cta .cta__inner {
  color: var(--soot);
  background: var(--ember);
  padding: 18px 30px;
  transition: background 0.5s var(--ease-cine);
}
.cta:hover .cta__inner { background: var(--ember-hot); }
.cta--line .cta__inner {
  color: var(--parch);
  background: transparent;
  border: 1px solid var(--rule);
  transition: border-color 0.5s var(--ease-cine), color 0.5s var(--ease-cine);
}
.cta--line:hover .cta__inner { border-color: var(--ember-hot); color: var(--ember-hot); }
.reserve__note {
  margin-top: 30px;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--parch-dim);
}

/* ── Footer ── */
.foot {
  border-top: 1px solid var(--rule);
  padding: 46px clamp(18px, 3.5vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.foot__brand { font-weight: 800; font-size: 15px; letter-spacing: 0.14em; }
.foot__addr, .foot__fine { font-size: 10px; letter-spacing: 0.18em; color: var(--parch-dim); }

/* ── Mobile ── */
@media (max-width: 767px) {
  .bar__tag { display: none; }
  .hero__act { top: 80px; }
  .hero__num { top: 80px; }
  .hero__scene { display: none; }
  .hero__sub br { display: none; }
  .act__numeral { font-size: 8rem; opacity: 0.7; }
  .fireact__fig::after { background: rgba(22,10,12,0.72); }
  .plates__fig::after { background: rgba(22,10,12,0.82); }
  .plates__panel { left: 18px; right: 18px; }
  .cellar__fig { clip-path: inset(0 20% 0 20%); }
  .room__panel, .fireact__copy { max-width: calc(100vw - 36px); }
}

/* ── Reduced motion: freeze on poster, photos fully revealed ── */
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .hero__video { display: none; }
  .hero__scene { opacity: 0; }
  .hero__scene--1 { opacity: 1; }
  .cellar__fig { clip-path: none; }
  * { transition-duration: 0.01ms !important; }
}
