/* ==========================================================================
   Paella Casablanca — Valence dans la poêle, Casablanca dans l'âme
   Bordeaux · Or · Crème
   ========================================================================== */

:root {
  --bordeaux: #6b0e21;      /* = backdrop of the ingredient film, keep in sync with FALL_BG */
  --bordeaux-2: #520a19;
  --wine: #2a0610;
  --wine-2: #3b0a16;
  --ink: #1f070d;
  --ink-soft: rgba(31, 7, 13, .66);
  --cream: #f5ebdb;
  --paper: #fbf5ea;
  --gold: #dcae55;
  --gold-2: #f0cd84;
  --gold-deep: #a5762a;
  --paprika: #d8452a;
  --wa: #1fb456;
  --white-soft: rgba(255, 255, 255, .72);
  --line-light: rgba(255, 255, 255, .16);
  /* tiles seamlessly left-right, so it can slide for the sheen */
  --foil: linear-gradient(90deg, #a5762a 0%, #e3b65e 16%, #fff1c4 30%, #e8bf68 42%, #b98a35 58%, #f3d389 76%, #c99a45 88%, #a5762a 100%);
  --foil-v: linear-gradient(180deg, rgba(255, 250, 230, .35) 0%, rgba(255, 255, 255, 0) 46%, rgba(70, 30, 0, .18) 100%);

  --mega: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --arabic: "Aref Ruqaa", "Geeza Pro", serif;

  --pad: clamp(18px, 4vw, 64px);
  --ease: cubic-bezier(.19, 1, .22, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; overflow-x: clip;
  background: var(--wine); color: var(--cream);
  font-family: var(--mega); font-size: 16px; line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
body.is-loading { overflow: hidden; }
img, video, svg, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Type ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.big-h {
  margin-top: 20px;
  font-family: var(--mega); font-weight: 900; font-variation-settings: "wdth" 112;
  font-size: clamp(44px, 7.4vw, 128px); line-height: .9; letter-spacing: -.02em; text-transform: uppercase;
}
.big-h em, .d-final__h em, .ex-h em, .r-intro__h em, .casa__line em {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-variation-settings: normal;
  text-transform: none; letter-spacing: -.02em; color: var(--gold);
}
.lede { max-width: 34em; margin-top: 22px; font-size: clamp(16px, 1.2vw, 19px); color: var(--white-soft); }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px; border: 1px solid transparent; background: transparent;
  font-family: var(--mega); font-weight: 700; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s, border-color .35s, box-shadow .5s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--sm svg { width: 18px; height: 18px; }
.btn--lg { --h: 62px; padding: 0 30px; font-size: 16px; }
.btn--xl { --h: 66px; padding: 0 34px; font-size: 16px; }
.btn--xl svg, .btn--lg svg { width: 22px; height: 22px; }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 14px 44px -14px rgba(220, 174, 85, .8); }
.btn--gold:hover { background: var(--gold-2); }
.btn--glass {
  background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .2); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 16px 44px -16px rgba(31, 180, 86, .95); }
.btn--wa:hover { background: #22c75f; }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--bordeaux); }
.btn--line { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--line:hover { background: #fff; color: var(--bordeaux); }

/* ---------- Grain + cursor ---------- */
.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.cursor {
  position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--gold); opacity: 0;
  display: grid; place-items: center;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), opacity .3s, background-color .3s;
}
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
.cursor__label {
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); opacity: 0; transition: opacity .25s;
}
.cursor.is-big .cursor__label { opacity: 1; transition-delay: .12s; }
@media (hover: none) { .cursor { display: none; } }

/* ==========================================================================
   LOADER
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; color: #fff;
  animation: loaderFallback .6s 8s forwards;
}
.loader__half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--bordeaux); }
.loader__half--top { top: 0; }
.loader__half--bottom { bottom: 0; }
.loader__inner { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; }
.loader__mark { width: 54px; height: 54px; color: var(--gold); animation: spin 4s linear infinite; }
.loader__count {
  font-family: var(--mega); font-weight: 900; font-variation-settings: "wdth" 125;
  font-size: clamp(96px, 20vw, 300px); line-height: .9; letter-spacing: -.04em; color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.loader__count sup { font-size: .22em; vertical-align: top; margin-left: .1em; letter-spacing: 0; color: #fff; }
.loader__msg { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.6vw, 24px); color: rgba(255, 255, 255, .86); min-height: 1.4em; }
.loader__foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 26px;
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .7);
}
.loader.is-done { display: none; }
@keyframes loaderFallback { to { opacity: 0; visibility: hidden; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px var(--pad); color: #fff;
  transition: background-color .5s, border-color .5s, padding .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  padding-top: 11px; padding-bottom: 11px;
  background: rgba(42, 6, 16, .86); border-color: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 34px; height: 34px; color: var(--gold); transition: transform 1.2s var(--ease); }
.brand:hover .brand__mark { transform: rotate(180deg); }
.brand__word { font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1; letter-spacing: -.01em; }
.brand__word em { font-weight: 400; color: var(--gold); }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.nav__links a { position: relative; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .8); transition: color .3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__links a:hover, .nav__links a.is-current { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 10px; }
.sound {
  display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 16px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06);
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  transition: background-color .3s, border-color .3s;
}
.sound:hover { border-color: #fff; }
.sound__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.sound__bars i { width: 2.5px; height: 30%; border-radius: 2px; background: currentColor; transition: height .3s; }
.sound[aria-pressed="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.sound[aria-pressed="true"] .sound__bars i { animation: eq 1s ease-in-out infinite; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(2) { animation-delay: -.3s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(3) { animation-delay: -.6s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* ==========================================================================
   1. LA DESCENTE
   ========================================================================== */
.descent { position: relative; height: 640vh; background: #120a0c; }
.descent__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.descent__poster, .descent__poster img, .seq-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.descent__poster img { object-fit: cover; }
.seq-canvas { opacity: 0; transition: opacity .8s; }
.seq-canvas.is-ready { opacity: 1; }
.descent__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(42, 6, 16, .55) 0%, rgba(42, 6, 16, 0) 18%, rgba(42, 6, 16, 0) 70%, rgba(42, 6, 16, .55) 100%),
    radial-gradient(90% 80% at 30% 70%, rgba(42, 6, 16, var(--shade, 0)) 0%, rgba(42, 6, 16, calc(var(--shade, 0) * .4)) 60%, transparent 100%);
}

[data-range] { will-change: opacity, transform; }
.d-title {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  display: flex; align-items: center; justify-content: center; padding: 80px var(--pad) 60px;
}
.d-title__h { width: 100%; display: grid; color: #fff; text-shadow: 0 18px 70px rgba(40, 10, 0, .35); }
.d-title__row {
  display: block;
  font-family: var(--mega); font-weight: 900; font-variation-settings: "wdth" var(--wdth, 125), "wght" 900;
  font-size: min(18vw, 31vh); line-height: .8; letter-spacing: -.035em; white-space: nowrap;
}
.d-title__row--a { justify-self: center; }
.d-title__row--b { justify-self: center; color: var(--gold); font-size: min(10.05vw, 17.3vh); line-height: .86; }
.d-title__mid {
  justify-self: center; max-width: 44ch; margin: 2.2vh 0 2.6vh; text-align: center;
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(16px, 1.6vw, 24px); line-height: 1.3;
}
.d-title__row { --wdth: 125; }
.d-title__row .ch { display: inline-block; font-variation-settings: "wdth" var(--wdth), "wght" 900; }

.d-line {
  position: absolute; left: 50%; top: 50%; z-index: 3; width: min(92vw, 1150px);
  transform: translate(-50%, -50%); text-align: center; opacity: 0; pointer-events: none;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(30px, 4.6vw, 80px); line-height: 1.06; letter-spacing: -.02em; color: #fff;
  text-shadow: 0 10px 60px rgba(20, 6, 0, .55);
}
.d-final {
  position: absolute; left: var(--pad); bottom: max(12vh, 90px); z-index: 4; max-width: min(960px, 92vw); opacity: 0;
}
.d-final__h {
  margin-top: 18px; color: #fff;
  font-family: var(--mega); font-weight: 900; font-variation-settings: "wdth" 110;
  font-size: clamp(40px, 6.4vw, 112px); line-height: .9; letter-spacing: -.025em; text-transform: uppercase;
  text-shadow: 0 10px 50px rgba(42, 6, 16, .45);
}
.d-final__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; color: #fff; font-family: var(--mono); }
.hud__corner { position: absolute; width: 24px; height: 24px; border: 0 solid rgba(255, 255, 255, .75); }
.hud__corner--tl { top: 82px; left: var(--pad); border-top-width: 1.5px; border-left-width: 1.5px; }
.hud__corner--tr { top: 82px; right: var(--pad); border-top-width: 1.5px; border-right-width: 1.5px; }
.hud__corner--bl { bottom: 26px; left: var(--pad); border-bottom-width: 1.5px; border-left-width: 1.5px; }
.hud__corner--br { bottom: 26px; right: var(--pad); border-bottom-width: 1.5px; border-right-width: 1.5px; }
.hud__coords {
  position: absolute; left: calc(var(--pad) + 36px); bottom: 30px;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.7;
}
.hud__coords span { opacity: .65; }
.hud__alt {
  position: absolute; right: calc(var(--pad) + 4px); top: 50%; transform: translateY(-50%);
  display: grid; justify-items: end; gap: 6px; text-align: right;
}
.hud__alt-label { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; opacity: .7; }
.hud__alt-value { font-size: 13px; letter-spacing: .1em; }
.hud__alt-value b { font-size: 30px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hud__ruler {
  position: relative; width: 26px; height: 34vh; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}
.hud__ruler span {
  position: absolute; left: 0; right: 0; top: -100%; height: 300%;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .85) 0 1px, transparent 1px 12px),
              repeating-linear-gradient(180deg, rgba(255, 255, 255, .85) 0 1.5px, transparent 1.5px 60px);
  background-size: 50% 100%, 100% 100%; background-repeat: no-repeat; background-position: right top, right top;
}
.hud__ruler::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--gold); }
.hud__hint {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; transition: opacity .5s;
}
.hud__hint i { width: 1px; height: 38px; background: linear-gradient(180deg, #fff, transparent); animation: drip 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.hud__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .12); }
.hud__progress span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ==========================================================================
   2. MANIFESTE
   ========================================================================== */
.manifesto { position: relative; overflow: hidden; background: var(--cream); color: var(--ink); padding: clamp(110px, 16vh, 200px) var(--pad); }
.manifesto__inner { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; }
.manifesto .label { color: var(--bordeaux); }
.manifesto__text {
  margin-top: 34px;
  font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.3vw, 72px); line-height: 1.1; letter-spacing: -.02em;
}
.manifesto__text em { font-style: italic; color: var(--bordeaux); }
.manifesto__text .w { opacity: .13; transition: opacity .25s linear; }
.manifesto__text .w.is-lit { opacity: 1; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(60px, 9vh, 110px); padding-top: 28px; border-top: 1.5px solid var(--ink); }
.facts li { display: grid; gap: 8px; }
.facts b {
  font-family: var(--mega); font-weight: 900; font-variation-settings: "wdth" 125;
  font-size: clamp(64px, 9vw, 160px); line-height: .85; color: var(--bordeaux); letter-spacing: -.04em;
}
.facts span { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; max-width: 16em; }
.manifesto__arabic {
  position: absolute; right: -2vw; bottom: -8vw; z-index: 0; pointer-events: none;
  font-family: var(--arabic); font-size: 26vw; line-height: 1; color: var(--bordeaux); opacity: .06; white-space: nowrap;
}

/* ==========================================================================
   3. L'EXPLOSION
   ========================================================================== */
.explode { position: relative; height: 440vh; background: var(--bordeaux); }
.explode__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.explode__labels { position: absolute; z-index: 2; pointer-events: none; }
.ex-label {
  position: absolute; display: flex; align-items: center; gap: 0;
  transform: translate(-6px, -50%);
}
.ex-label--l { flex-direction: row-reverse; transform: translate(calc(-100% + 6px), -50%); }
.ex-label__dot { width: 12px; height: 12px; flex: none; border-radius: 50%; border: 2px solid #fff; background: var(--gold); box-shadow: 0 0 0 6px rgba(220, 174, 85, .25); }
.ex-label__line { width: clamp(24px, 3vw, 54px); height: 1.5px; background: rgba(255, 255, 255, .85); }
.ex-label__txt {
  padding: 7px 12px; border-radius: 999px; white-space: nowrap;
  background: rgba(42, 6, 16, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .25);
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #fff;
}
.explode__copy { position: absolute; left: var(--pad); bottom: 9vh; z-index: 3; width: min(30vw, 440px); }
.explode__heads { position: relative; margin-top: 16px; min-height: 2.1em; font-size: clamp(34px, 3.8vw, 66px); }
.ex-h {
  position: absolute; left: 0; top: 0; width: 100%; opacity: 0;
  font-family: var(--mega); font-weight: 900; font-variation-settings: "wdth" 108;
  font-size: 1em; line-height: .95; letter-spacing: -.02em; text-transform: uppercase; color: #fff;
}
.ex-h em { color: var(--gold); }
.explode__list {
  position: absolute; right: var(--pad); bottom: 9vh; z-index: 3;
  display: grid; gap: 7px; counter-reset: ing;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .78);
}
.explode__list li { counter-increment: ing; display: flex; gap: 12px; }
.explode__list li::before { content: counter(ing, decimal-leading-zero); color: var(--gold); }
.explode__meter { position: absolute; left: var(--pad); right: var(--pad); bottom: 4vh; height: 2px; background: rgba(255, 255, 255, .2); }
.explode__meter span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ==========================================================================
   4. LE RITUEL (horizontal)
   ========================================================================== */
.ritual { position: relative; background: var(--wine); }
.ritual__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.ritual__track {
  position: absolute; left: 0; top: 0; height: 100%;
  display: flex; align-items: center; gap: clamp(40px, 6vw, 110px);
  padding: 80px var(--pad) 40px; will-change: transform;
}
.r-intro { flex: none; width: min(560px, 80vw); }
.r-intro__h {
  margin-top: 20px;
  font-family: var(--mega); font-weight: 900; font-variation-settings: "wdth" 112;
  font-size: clamp(48px, 6.4vw, 112px); line-height: .9; letter-spacing: -.025em; text-transform: uppercase;
}
.r-intro__hint { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--white-soft); }
.r-intro__hint svg { width: 22px; height: 22px; color: var(--gold); animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.r-panel {
  position: relative; flex: none; width: min(80vw, 1040px); height: min(70vh, 640px);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center;
}
.r-media {
  position: relative; height: 100%; overflow: hidden; border-radius: 999px 999px 28px 28px;
  background: var(--wine-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.r-media::after {
  content: ""; position: absolute; inset: 12px; pointer-events: none;
  border: 1px solid rgba(255, 220, 160, .5); border-radius: 999px 999px 20px 20px;
}
.r-media img, .r-media video { width: 100%; height: 100%; object-fit: cover; }
.r-media--round { display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, var(--bordeaux), var(--wine) 72%); }
.r-media--round video { width: 86%; height: auto; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(220, 174, 85, .5), 0 0 0 12px rgba(220, 174, 85, .08); }
.tag {
  position: absolute; left: 50%; bottom: 28px; z-index: 2; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(42, 6, 16, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #fff; white-space: nowrap;
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }
.r-text { position: relative; }
.r-num {
  display: block;
  font-family: var(--mega); font-weight: 900; font-variation-settings: "wdth" 125;
  font-size: clamp(110px, 15vw, 260px); line-height: .8; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold);
}
.r-text h3 {
  margin-top: 18px;
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(40px, 4.4vw, 76px); line-height: 1; letter-spacing: -.02em;
}
.r-text p { max-width: 26em; margin-top: 16px; font-size: clamp(16px, 1.2vw, 19px); color: var(--white-soft); }
.ritual__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 30px; height: 2px; background: var(--line-light); }
.ritual__progress span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ==========================================================================
   5. LA TABLÉE
   ========================================================================== */
.tablee { background: var(--cream); color: var(--ink); padding: clamp(110px, 15vh, 190px) var(--pad) clamp(90px, 12vh, 150px); }
.tablee .label, .faq .label { color: var(--bordeaux); }
.tablee .big-h em, .faq .big-h em { color: var(--bordeaux); }
.tablee__head { max-width: 1400px; margin: 0 auto clamp(40px, 6vh, 70px); }
.tablee__grid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center;
}
.guests { display: flex; align-items: center; gap: 18px; }
.guests__n {
  min-width: 2.1ch; text-align: center;
  font-family: var(--mega); font-weight: 900; font-variation-settings: "wdth" 125;
  font-size: clamp(110px, 11vw, 190px); line-height: .82; letter-spacing: -.05em; color: var(--bordeaux); font-variant-numeric: tabular-nums;
}
.guests__btn {
  width: 56px; height: 56px; flex: none; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent;
  font-size: 26px; line-height: 1; transition: background-color .3s, color .3s;
}
.guests__btn:hover { background: var(--ink); color: var(--cream); }
.guests__unit { margin: 10px 0 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.range { --p: 26%; -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--bordeaux) var(--p), rgba(31, 7, 13, .15) var(--p)); }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(31, 7, 13, .15); }
.range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--bordeaux); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -13px; border-radius: 50%; background: var(--gold); border: 3px solid var(--ink); }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--gold); border: 3px solid var(--ink); }
.reco { margin-top: 26px; padding: 24px; border-radius: 26px; background: var(--paper); border: 1px solid rgba(31, 7, 13, .1); box-shadow: 0 30px 60px -45px rgba(31, 7, 13, .5); }
.reco__combo {
  margin-top: 12px;
  font-family: var(--mega); font-weight: 900; font-variation-settings: "wdth" 112;
  font-size: clamp(30px, 2.8vw, 44px); line-height: 1; letter-spacing: -.02em; text-transform: uppercase;
}
.reco__total { margin: 10px 0 20px; font-family: var(--mono); font-size: 14px; color: var(--ink-soft); }
.reco__total b { font-size: 22px; font-weight: 500; color: var(--ink); }
.reco__total span { display: block; margin-top: 2px; font-size: 11px; letter-spacing: .06em; }
.reco .btn { width: 100%; }

.stage {
  position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; border-radius: 34px;
  background-color: #ecdfca;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><rect width='120' height='120' fill='%23f3e7d3'/><g fill='%236b0e21'><path d='M60 14l9 22 22-9-9 22 22 9-22 9 9 22-22-9-9 22-9-22-22 9 9-22-22-9 22-9-9-22 22 9z'/></g><g fill='%23f3e7d3'><circle cx='60' cy='60' r='12'/></g><g fill='%23dcae55'><circle cx='60' cy='60' r='5'/><circle cx='0' cy='0' r='6'/><circle cx='120' cy='0' r='6'/><circle cx='0' cy='120' r='6'/><circle cx='120' cy='120' r='6'/></g></svg>");
  background-size: 92px 92px;
  box-shadow: inset 0 0 120px rgba(31, 7, 13, .35), 0 40px 90px -50px rgba(31, 7, 13, .6);
}
.stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 80% at 50% 50%, transparent 55%, rgba(31, 7, 13, .35)); }
.stage__scene { position: absolute; left: 50%; top: 50%; transition: width .9s var(--ease), height .9s var(--ease), transform .9s var(--ease); }
.stage__table {
  position: absolute; left: 0; top: 0; z-index: 0; border-radius: 22px;
  transition: transform .9s var(--ease), width .9s var(--ease), height .9s var(--ease), opacity .5s;
  background-color: #f8f2e6;
  background-image:
    repeating-linear-gradient(0deg, rgba(150, 120, 80, .05) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(150, 120, 80, .05) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, rgba(255, 255, 255, .6), rgba(0, 0, 0, .03));
  box-shadow: 0 30px 50px -20px rgba(31, 7, 13, .55), 0 0 0 6px rgba(255, 255, 255, .5);
}
.t-plate, .t-pan { position: absolute; left: 0; top: 0; transition: transform .9s var(--ease), width .9s var(--ease), height .9s var(--ease), opacity .5s; }
.t-plate { z-index: 1; filter: drop-shadow(0 4px 6px rgba(31, 7, 13, .18)); }
.t-pan { z-index: 2; }
.stage__table.is-entering { opacity: 0; }
.t-plate.is-entering, .t-pan.is-entering { opacity: 0; }
.t-pan img { width: 100%; height: 100%; filter: drop-shadow(0 14px 18px rgba(31, 7, 13, .45)); animation: spin 90s linear infinite; }
.t-pan__tag {
  position: absolute; left: 50%; top: 100%; transform: translate(-50%, 4px);
  padding: 3px 9px; border-radius: 999px; background: var(--ink); color: var(--gold);
  font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .1em; white-space: nowrap;
}

.sizes { max-width: 1400px; margin: clamp(48px, 7vh, 80px) auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.size-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; align-items: center;
  padding: 22px; border-radius: 28px; background: var(--bordeaux); color: #fff;
}
.size-card--hero { background: var(--ink); }
.size-card__pan { grid-row: span 3; width: calc(64px + var(--s) * 56px); transition: transform 1.4s var(--ease); }
.size-card:hover .size-card__pan { transform: rotate(60deg); }
.size-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.size-card__letter { font-family: var(--mega); font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(42px, 4vw, 64px); line-height: .85; letter-spacing: -.03em; }
.size-card__price { font-family: var(--mono); font-size: 15px; font-weight: 500; color: var(--gold); white-space: nowrap; }
.size-card__guests { font-size: 14px; color: var(--white-soft); }
.size-card .btn { justify-self: start; margin-top: 8px; }
.size-card__badge {
  position: absolute; top: 14px; right: 14px; padding: 5px 10px; border-radius: 999px; background: var(--gold); color: var(--ink);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
}
.truth {
  max-width: 1400px; margin: clamp(56px, 8vh, 96px) auto 0;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 4vw, 64px); align-items: center;
}
.truth img { width: 100%; border-radius: 28px; box-shadow: 0 40px 80px -50px rgba(31, 7, 13, .6); }
.truth__q {
  margin: 14px 0 16px;
  font-family: var(--mega); font-weight: 900; font-variation-settings: "wdth" 110;
  font-size: clamp(32px, 3.4vw, 56px); line-height: .95; letter-spacing: -.02em; text-transform: uppercase;
}
.truth__q em { font-family: var(--serif); font-style: italic; font-weight: 400; font-variation-settings: normal; text-transform: none; color: var(--bordeaux); }
.truth figcaption > p:last-child { color: var(--ink-soft); font-size: 17px; }
.sizes__note { max-width: 1400px; margin: 18px auto 0; font-size: 14px; color: var(--ink-soft); }
.sizes__note a { color: var(--bordeaux); font-weight: 700; border-bottom: 1px solid currentColor; }

/* ==========================================================================
   6. LE BON DE COMMANDE
   ========================================================================== */
.order {
  position: relative; isolation: isolate; overflow: clip;
  background: var(--bordeaux); color: #fff;
  padding: clamp(110px, 15vh, 190px) var(--pad) clamp(100px, 13vh, 170px);
}
.order::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'><g fill='none' stroke='%23dcae55' stroke-width='1'><rect x='28' y='28' width='40' height='40'/><rect x='28' y='28' width='40' height='40' transform='rotate(45 48 48)'/><circle cx='48' cy='48' r='8'/><path d='M0 0l20 20M96 0L76 20M0 96l20-20M96 96L76 76'/></g></svg>");
  -webkit-mask-image: radial-gradient(70% 60% at 25% 40%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 25% 40%, #000, transparent 75%);
}
.order__inner { max-width: 1400px; margin: 0 auto; }
.order .label { color: var(--gold); }
.order__head { margin-bottom: clamp(48px, 7vh, 90px); }
.order__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.field-group { border: 0; margin: 0 0 42px; padding: 0; min-width: 0; }
.field-group legend {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 0;
  font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #fff;
}
.field-group legend span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 11px; letter-spacing: 0; }
.qty-row { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.qty-row:first-child { border-top: 1px solid var(--line-light); }
.qty-row img { width: 60px; height: 60px; transition: transform 1s var(--ease); }
.qty-row.has-qty img { transform: rotate(120deg); }
.qty-row__name { font-family: var(--mega); font-weight: 900; font-variation-settings: "wdth" 115; font-size: 26px; line-height: 1; text-transform: uppercase; }
.qty-row__name em { font-family: var(--serif); font-weight: 400; font-variation-settings: normal; text-transform: none; color: var(--gold); }
.qty-row__meta { margin-top: 5px; font-family: var(--mono); font-size: 12px; color: var(--white-soft); }
.stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); }
.stepper button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; font-size: 22px; line-height: 1; transition: background-color .3s, color .3s; }
.stepper button:hover { background: var(--gold); color: var(--ink); }
.stepper button:disabled { opacity: .3; pointer-events: none; }
.stepper output { min-width: 26px; text-align: center; font-family: var(--mono); font-size: 17px; font-weight: 500; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; margin-top: 16px; }
.row .field { margin-top: 0; }
.field__label { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--white-soft); }
.field__label i { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .7; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 56px; padding: 14px 18px; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(42, 6, 16, .22); color: #fff;
  font: 500 16px/1.4 var(--mega); color-scheme: dark;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'><path fill='none' stroke='%23dcae55' stroke-width='2.4' stroke-linecap='round' d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 18px center;
}
.field select option { background: var(--wine); color: #fff; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(42, 6, 16, .35); box-shadow: 0 0 0 4px rgba(220, 174, 85, .2); }
.segmented { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(42, 6, 16, .25); border: 1px solid rgba(255, 255, 255, .2); }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: block; padding: 12px 20px; border-radius: 999px; text-align: center; font-weight: 700; font-size: 14px; color: var(--white-soft); transition: background-color .4s var(--ease), color .4s; }
.segmented input:checked + span { background: #fff; color: var(--bordeaux); }
.segmented input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.order__aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.printer {
  position: relative; z-index: 2; height: 30px; margin: 0 -14px; border-radius: 14px;
  background: linear-gradient(180deg, #4a0d1b, #1e050b); box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.printer__slot { position: absolute; left: 16px; right: 16px; bottom: 7px; height: 4px; border-radius: 3px; background: #0d0205; }
.printer__led { position: absolute; right: 18px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.printer.is-printing .printer__led { animation: blink .25s steps(2) 4; }
@keyframes blink { 50% { opacity: .2; } }
.ticket-wrap { margin-top: -22px; padding-top: 8px; overflow: hidden; }
.ticket {
  position: relative; padding: 34px 28px 34px;
  background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 13.5px;
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 14px) no-repeat,
                radial-gradient(circle at 10px 100%, transparent 7px, #000 7.5px) bottom / 20px 15px repeat-x;
  mask: linear-gradient(#000, #000) top / 100% calc(100% - 14px) no-repeat,
        radial-gradient(circle at 10px 100%, transparent 7px, #000 7.5px) bottom / 20px 15px repeat-x;
}
.ticket.is-printing { animation: print .7s var(--ease); }
@keyframes print { from { transform: translateY(-34px); } }
.ticket__head { display: grid; justify-items: center; text-align: center; gap: 6px; }
.ticket__head svg { width: 38px; height: 38px; color: var(--bordeaux); }
.ticket__brand { font-weight: 500; letter-spacing: .2em; font-size: 13px; }
.ticket__sub { font-size: 11px; letter-spacing: .08em; color: var(--ink-soft); text-transform: uppercase; }
.ticket__rule { margin: 18px 0; border-top: 1.5px dashed rgba(31, 7, 13, .3); }
.ticket__rule--double { border-top: 3px double rgba(31, 7, 13, .45); }
.ticket__lines { display: grid; gap: 8px; min-height: 26px; }
.ticket__lines li { display: flex; justify-content: space-between; gap: 12px; animation: lineIn .6s var(--ease) both; }
.ticket__lines li.is-empty { justify-content: center; color: var(--ink-soft); font-style: italic; animation: none; }
@keyframes lineIn { from { opacity: 0; background: rgba(220, 174, 85, .45); } }
.ticket__meta { display: grid; gap: 7px; }
.ticket__meta div { display: flex; justify-content: space-between; gap: 18px; }
.ticket__meta dt { color: var(--ink-soft); text-transform: uppercase; font-size: 11px; letter-spacing: .1em; padding-top: 2px; }
.ticket__meta dd { text-align: right; max-width: 70%; overflow-wrap: anywhere; }
.ticket__total { display: flex; justify-content: space-between; align-items: baseline; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.ticket__total b { font-size: 26px; letter-spacing: 0; font-weight: 500; }
.ticket__foot { margin-top: 12px; text-align: center; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.ticket__stamp {
  position: absolute; right: 18px; top: 30px; padding: 7px 10px; border: 2px solid var(--bordeaux); border-radius: 8px;
  color: var(--bordeaux); font-size: 11px; font-weight: 500; letter-spacing: .14em; line-height: 1.15; text-align: center; text-transform: uppercase;
  transform: rotate(-14deg) scale(1.6); opacity: 0; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), opacity .3s;
}
.ticket.is-filled .ticket__stamp { transform: rotate(-14deg) scale(1); opacity: .8; }
.order__aside .btn { width: 100%; }
.order__aside .btn.is-disabled { filter: grayscale(.7); opacity: .6; }
.order__aside .btn.is-shake { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.order__hint { text-align: center; font-size: 13px; color: var(--white-soft); }
.order__hint.is-alert { color: var(--gold-2); }

/* ==========================================================================
   7. CASABLANCA
   ========================================================================== */
.casa { position: relative; isolation: isolate; min-height: 112vh; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; overflow: hidden; padding: 0 var(--pad) clamp(70px, 12vh, 140px); }
.casa__media { position: absolute; inset: 0; z-index: -2; }
.casa__media video { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.casa__veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--bordeaux) 0%, rgba(107, 14, 33, 0) 16%, rgba(42, 6, 16, 0) 45%, rgba(42, 6, 16, .9) 100%),
              linear-gradient(90deg, rgba(42, 6, 16, .55), rgba(42, 6, 16, 0) 60%);
}
.casa__line {
  margin-top: 18px; color: #fff;
  font-family: var(--mega); font-weight: 900; font-variation-settings: "wdth" 112;
  font-size: clamp(44px, 7.4vw, 132px); line-height: .9; letter-spacing: -.025em; text-transform: uppercase;
}
.casa__line--alt { margin-top: 6px; }
.casa__line--alt em { color: var(--gold); }
.casa__cards { position: relative; width: 340px; height: 300px; }
.occ {
  position: absolute; left: 50%; bottom: 0; width: 220px; padding: 10px 10px 14px; border-radius: 10px;
  background: var(--paper); color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  transform-origin: 50% 120%; transition: transform .8s var(--ease);
}
.occ img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 4px; }
.occ span { display: block; margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1; }
.occ:nth-child(1) { transform: translateX(-50%) rotate(-12deg); }
.occ:nth-child(2) { transform: translateX(-50%) rotate(-1deg); z-index: 1; }
.occ:nth-child(3) { transform: translateX(-50%) rotate(11deg); z-index: 2; }
.casa__cards:hover .occ:nth-child(1) { transform: translateX(-118%) rotate(-14deg) translateY(-10px); }
.casa__cards:hover .occ:nth-child(3) { transform: translateX(18%) rotate(14deg) translateY(-10px); }
.casa__cards .occ:hover { z-index: 5; }

/* ==========================================================================
   8. FAQ
   ========================================================================== */
.faq { background: var(--cream); color: var(--ink); padding: clamp(110px, 15vh, 190px) var(--pad); }
.faq__grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.faq__grid > header { position: sticky; top: 110px; }
.faq__list details { border-bottom: 1.5px solid rgba(31, 7, 13, .15); }
.faq__list details:first-child { border-top: 1.5px solid rgba(31, 7, 13, .15); }
.faq__list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(22px, 2vw, 32px); line-height: 1.15; transition: color .3s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--bordeaux); }
.faq__list summary i { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--ink); transition: transform .6s var(--ease), background-color .3s, color .3s; }
.faq__list summary i::before, .faq__list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; }
.faq__list summary i::after { transform: rotate(90deg); }
.faq__list details[open] summary i { transform: rotate(135deg); background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
.faq__list details > div { padding: 0 60px 28px 0; color: var(--ink-soft); font-size: 17px; }
.faq__list details[open] > div { animation: fadeDown .6s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } }

/* ==========================================================================
   9. FINALE + FOOTER
   ========================================================================== */
.finale {
  position: relative; overflow: hidden; background: var(--gold); color: var(--ink);
  padding: clamp(100px, 14vh, 170px) var(--pad) clamp(70px, 10vh, 120px); text-align: center;
}
.finale__label { color: var(--ink); }
.finale__word {
  display: block; margin: 4vh auto 0; white-space: nowrap;
  font-family: var(--mega); font-weight: 900; font-size: min(13.4vw, 280px); line-height: .82; letter-spacing: -.035em;
  color: var(--ink); transition: color .3s;
}
.finale__word .ch { display: inline-block; font-variation-settings: "wdth" var(--w, 100), "wght" var(--g, 850); }
.finale__row { display: inline-flex; align-items: center; gap: 22px; margin-top: 6vh; text-align: left; }
.finale__pan { width: 96px; height: 96px; animation: spin 24s linear infinite; filter: drop-shadow(0 12px 18px rgba(31, 7, 13, .35)); }
.finale__phone { font-family: var(--mega); font-weight: 900; font-variation-settings: "wdth" 110; font-size: clamp(26px, 2.6vw, 40px); line-height: 1; }
.finale__phone a { border-bottom: 2px solid currentColor; }
.finale__city { margin-top: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }

.footer {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px 30px;
  padding: 40px var(--pad) calc(36px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--cream);
}
.footer > p:not(.footer__legal) { color: var(--white-soft); font-size: 14px; }
.footer__legal { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line-light); font-family: var(--mono); font-size: 12px; color: rgba(245, 235, 219, .5); }
.footer__legal [lang="ar"] { font-family: var(--arabic); font-size: 16px; color: var(--gold); margin-left: 8px; }

/* ---------- FAB + toast ---------- */
.fab {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 110;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55);
  transform: translateY(140%) scale(.6); opacity: 0; transition: transform .7s var(--ease), opacity .4s;
}
.fab.is-visible { transform: none; opacity: 1; }
.fab svg { width: 30px; height: 30px; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 130;
  display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 20px; border-radius: 999px;
  background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 700;
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .55);
  transform: translate(-50%, 160%); transition: transform .7s var(--ease);
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast a { padding: 8px 14px; border-radius: 999px; background: var(--bordeaux); color: #fff; font-size: 13px; }
.sound-hint {
  position: fixed; top: 74px; right: var(--pad); z-index: 125;
  padding: 10px 14px; border-radius: 14px; background: var(--paper); color: var(--ink);
  font-size: 13px; font-weight: 600; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(-8px); transition: opacity .5s, transform .6s var(--ease); pointer-events: none;
}
.sound-hint.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   GOLD: foil, sheen, hairlines
   ========================================================================== */
@property --sheen { syntax: '<number>'; inherits: true; initial-value: 0; }
@keyframes sheen { 0% { --sheen: 0; } 55%, 100% { --sheen: 1; } }
@keyframes sheenLoop { to { --sheen: 1; } }

/* Metallic letters. Each char of a .foil-row carries the same foil strip, offset by its
   position in the row (--cx, --rw set in JS), so the gold reads as one sheet of metal. */
.foil-row { filter: drop-shadow(0 1.5px 1.5px rgba(48, 8, 18, .6)) drop-shadow(0 10px 28px rgba(26, 4, 9, .55)); animation: sheen 8s cubic-bezier(.5, 0, .3, 1) 2.6s infinite; }
.foil-row .ch {
  text-shadow: none;
  background-image: var(--foil-v), var(--foil);
  background-size: 100% 100%, var(--rw, 100%) 100%;
  background-repeat: no-repeat, repeat-x;
  background-position: 0 0, calc(var(--sheen) * var(--rw, 0px) - var(--cx, 0px)) 0;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.loader__count span {
  background-image: var(--foil-v), var(--foil);
  background-size: 100% 100%, 200% 100%;
  background-repeat: no-repeat, repeat-x;
  background-position: 0 0, calc(var(--sheen) * 200%) 0;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: sheenLoop 2.4s linear infinite;
}
.loader__half--top { z-index: 1; box-shadow: inset 0 -1px 0 var(--gold); }
.loader__inner, .loader__foot { z-index: 2; }
.loader__half--bottom { box-shadow: inset 0 1px 0 var(--gold); }
.loader__half { background-image: radial-gradient(120% 90% at 50% 100%, rgba(150, 25, 50, .5), transparent 60%); }
.loader__half--bottom { background-image: radial-gradient(120% 90% at 50% 0%, rgba(150, 25, 50, .5), transparent 60%); }

/* Gold buttons: foil that slides on hover */
.btn--gold {
  background-color: var(--gold);
  background-image: var(--foil-v), var(--foil);
  background-size: 100% 100%, 220% 100%;
  background-position: 0 0, 0 0;
  color: var(--ink);
  box-shadow: 0 14px 44px -14px rgba(220, 174, 85, .75), inset 0 0 0 1px rgba(255, 244, 210, .45);
  transition: background-position 1.1s var(--ease), color .35s, box-shadow .5s var(--ease);
}
.btn--gold:hover { background-color: var(--gold-2); background-position: 0 0, 100% 0; }

/* Velvet vignette over the ingredient film */
.explode__sticky::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(80% 75% at 50% 52%, transparent 55%, rgba(30, 5, 11, .55) 100%);
}
.explode__meter { z-index: 3; }

/* Gold hairlines on the size cards */
.size-card::after {
  content: ""; position: absolute; inset: 7px; border-radius: 22px; pointer-events: none;
  border: 1px solid rgba(220, 174, 85, .32);
}
.size-card--hero { background: var(--wine); }
.size-card--hero::after { border-color: rgba(220, 174, 85, .75); }

/* Finale: a sheet of gold with light passing over it */
.finale {
  background-color: var(--gold);
  background-image: radial-gradient(90% 70% at 50% 0%, rgba(255, 244, 210, .6), transparent 62%), var(--foil);
  background-size: 100% 100%, 160% 100%;
}
.finale::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -45%; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 251, 232, .55) 50%, transparent);
  transform: translateX(0) skewX(-14deg); animation: sweep 9s cubic-bezier(.6, 0, .3, 1) infinite;
}
@keyframes sweep { 0% { transform: translateX(0) skewX(-14deg); } 40%, 100% { transform: translateX(360%) skewX(-14deg); } }
.finale > * { position: relative; }
.finale__word { color: var(--bordeaux); }
.finale__word:hover { color: var(--ink); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .tablee__grid { grid-template-columns: minmax(0, 1fr); }
  .sizes { grid-template-columns: minmax(0, 1fr); }
  .casa { grid-template-columns: minmax(0, 1fr); }
  .casa__cards { justify-self: center; }
}

@media (max-width: 860px) {
  .nav { padding-top: 12px; padding-bottom: 12px; }
  .brand__word { font-size: 22px; }
  .sound__label { display: none; }
  .sound { padding: 0 13px; }

  .d-title__row { font-size: 17.4vw; }
  .d-title__row--b { font-size: 9.72vw; }
  .d-title__mid { font-size: 15px; max-width: 24ch; }
  .d-line { font-size: clamp(28px, 8.4vw, 44px); }
  .d-line br { display: none; }
  .d-final { left: var(--pad); right: var(--pad); bottom: 92px; }
  .d-final__h { font-size: clamp(34px, 10vw, 54px); }
  .d-final__actions .btn { flex: 1 1 100%; }
  .hud__corner--tl, .hud__corner--tr { top: 70px; }
  .hud__coords { font-size: 9.5px; left: calc(var(--pad) + 30px); bottom: 26px; }
  .hud__alt { right: calc(var(--pad) - 4px); }
  .hud__alt-value b { font-size: 22px; }
  .hud__ruler { height: 22vh; width: 18px; }
  .hud__hint { display: none; }

  .facts { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .truth { grid-template-columns: minmax(0, 1fr); }

  .explode__copy { left: var(--pad); right: var(--pad); top: 84px; bottom: auto; width: auto; }
  .explode__heads { font-size: clamp(30px, 8.6vw, 44px); }
  .explode__labels { display: none; }
  .explode__list {
    left: var(--pad); right: var(--pad); bottom: 96px;
    display: flex; flex-wrap: wrap; gap: 6px; font-size: 10px; letter-spacing: .08em;
  }
  .explode__list li { padding: 6px 10px; border-radius: 999px; background: rgba(42, 6, 16, .4); border: 1px solid rgba(255, 255, 255, .22); gap: 6px; }

  .ritual { height: auto !important; }
  .ritual__sticky { position: static; height: auto; overflow: visible; }
  .ritual__track { position: static; flex-direction: column; align-items: stretch; gap: 72px; padding: 110px var(--pad) 90px; transform: none !important; }
  .r-intro { width: auto; }
  .r-panel { width: auto; height: auto; grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .r-media { height: 64vh; max-height: 560px; }
  .r-num { font-size: 96px; }
  .ritual__progress { display: none; }

  .stage { aspect-ratio: 4 / 5; border-radius: 26px; }
  .guests { justify-content: space-between; }

  .order__grid { grid-template-columns: minmax(0, 1fr); }
  .order__aside { position: relative; top: 0; }
  .segmented { display: grid; width: 100%; }
  .segmented span { padding: 12px 10px; font-size: 13.5px; }
  .qty-row { grid-template-columns: 50px minmax(0, 1fr) auto; gap: 12px; }
  .qty-row img { width: 50px; height: 50px; }
  .qty-row__name { font-size: 22px; }

  .casa { min-height: 100svh; }
  .casa__cards { width: 300px; height: 260px; }
  .occ { width: 180px; }

  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__grid > header { position: static; }
  .faq__list details > div { padding-right: 0; }

  .finale__row { flex-direction: column; text-align: center; }
  .footer { grid-template-columns: minmax(0, 1fr); }
  .fab { width: 56px; height: 56px; }
}

@media (max-width: 480px) {
  .brand__word { font-size: 20px; }
  .brand { gap: 8px; }
  .brand__mark { width: 30px; height: 30px; }
  .nav__right .btn--sm { width: 42px; padding: 0; }
  .nav__right .btn--sm span { display: none; }
}

@media (max-width: 420px) {
  .row { grid-template-columns: minmax(0, 1fr); }
  .btn { padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .loader { display: none; }
}
