/* La Cité du Mandarin — V2. Plain CSS, no framework.
   Identity: deep jade + gold leaf (the golden Buddha of the logo), ivory
   paper, Cinzel capitals (echo of the original gold lettering), moon-gate
   arches and a fret pattern. */

@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: optional; }
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: optional; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: optional; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: optional; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: optional; }

:root {
  --ivory: #F7F3EA;
  --ivory-2: #EEE6D3;
  --paper: #FFFDF8;
  --ink: #1D2926;
  --muted: #4F5D58;
  --jade: #14463E;
  --jade-deep: #0C2B26;
  --night: #081D19;
  --gold: #C9A04B;
  --gold-light: #E8CD85;
  --gold-text: #7A5A12;           /* gold for text on ivory (AA) */
  --seal: #A8321F;                 /* vermilion accent, used sparingly */
  --on-dark: #E9E2D0;
  --line: rgb(var(--jade-rgb) / .16);
  --line-dark: rgba(201, 160, 75, .28);
  --night-rgb: 8 29 25;
  --jade-rgb: 20 70 62;
  --jade-deep-rgb: 12 43 38;
  --shadow: 0 18px 40px -20px rgb(var(--night-rgb) / .45);
  --radius: 14px;
  --shell: min(1160px, 100% - 32px);
  --f-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --f-body: "Alegreya Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gold-leaf: linear-gradient(180deg, #F6E3A6 0%, #D9B45E 45%, #A87C2A 75%, #E3C57A 100%);
  --fret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M4 4h16v16H10V10h4v4M28 28h16v16H34V34h4v4M28 4h16v16H34V10h4v4M4 28h16v16H10V34h4v4' fill='none' stroke='%23C9A04B' stroke-opacity='.09' stroke-width='1.4'/%3E%3C/svg%3E");
}

/* ---------- Variant "rouge": the red of the current site (V1: #A80002 on
   #FAF3ED, near-black reds). DEFAULT theme: <html data-theme="rouge"> is set
   by the build; ?theme=jade removes it, ?theme=rouge brings it back
   (remembered in localStorage, see the <head> script). */
:root[data-theme="rouge"] {
  --ivory: #FAF3ED;
  --ivory-2: #F2E5D9;
  --paper: #FFFCF9;
  --ink: #2A0B09;
  --muted: #6C5F5B;
  --jade: #A80002;
  --jade-deep: #6E0002;
  --night: #1E0000;
  --seal: #C9A04B;
  --line: rgba(168, 0, 2, .15);
  --night-rgb: 30 0 0;
  --jade-rgb: 168 0 2;
  --jade-deep-rgb: 110 0 2;
  --shadow: 0 18px 40px -20px rgba(30, 0, 0, .45);
}
:root[data-theme="rouge"] { --link-hover: var(--jade-deep); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 1.125rem/1.6 var(--f-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--jade); text-underline-offset: 3px; }
a:hover { color: var(--link-hover, var(--seal)); }
/* Links on dark backgrounds never take the (dark) hover colour. */
.site-head a:not(.btn):hover, .site-foot a:hover, .section--jade a:not(.btn):hover, .section--night a:not(.btn):hover { color: #fff; }
h1, h2, h3 { font-weight: 400; line-height: 1.15; color: var(--ink); margin: 0 0 .5em; }
h1, h2 { font-family: var(--f-display); letter-spacing: .02em; }
h1 { font-size: clamp(2.1rem, 4.6vw + 1rem, 3.9rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 2.2vw + 1rem, 2.5rem); }
h3 { font-family: var(--f-body); font-weight: 700; font-size: 1.3rem; letter-spacing: .01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--night); padding: 10px 16px; border-radius: 0 0 8px 8px; font-weight: 700; }
.skip-link:focus { top: 0; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header (dark jade, golden Buddha) ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgb(var(--jade-deep-rgb) / .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-dark); color: var(--on-dark); }
.site-head .shell { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; padding: 6px 0; }
.logo__mark { width: auto; height: 60px; flex: none; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .45)); }
.logo__text { display: flex; flex-direction: column; font-family: var(--f-display); font-weight: 600; text-transform: uppercase; line-height: 1; letter-spacing: .06em; background: var(--gold-leaf); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .5)); }
.logo__text span:first-child { font-size: 1.02rem; letter-spacing: .12em; }
.logo__text span:last-child { font-size: 1.62rem; }
.logo:hover .logo__text { filter: drop-shadow(0 0 6px rgba(232, 205, 133, .35)); }
.nav { display: flex; gap: 2px; }
/* Main menu: bright text, gold underline that grows on hover, clear current page. */
.nav a { position: relative; padding: 10px 14px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.06rem; letter-spacing: .02em; border-radius: 6px; transition: color .2s, background-color .2s; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--gold-light); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-head .nav a:hover, .site-head .nav a:focus-visible { color: var(--gold-light); background: rgba(255, 255, 255, .08); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--gold-light); }
.head__tel { white-space: nowrap; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 8px; background: transparent; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--gold-light); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  .site-head .shell { gap: 12px; }
  .nav-toggle { display: block; order: 3; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--jade-deep); border-bottom: 1px solid var(--line-dark); box-shadow: var(--shadow); padding: 8px 16px 16px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { background: rgba(255, 255, 255, .06); box-shadow: inset 3px 0 0 var(--gold); }
}
@media (max-width: 640px) {
  .site-head .head__tel { display: none; } /* the bottom call bar takes over */
  .logo__mark { height: 50px; }
  .logo__text span:first-child { font-size: .9rem; }
  .logo__text span:last-child { font-size: 1.4rem; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 4px; font: 700 .95rem/1.2 var(--f-body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--jade); color: #fff; }
.btn--primary:hover { background: var(--jade-deep); color: var(--gold-light); }
.btn--gold { background: var(--gold); color: var(--night); }
.btn--gold:hover { background: var(--gold-light); color: var(--night); }
.btn--light { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn--light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--outline { border-color: var(--jade); color: var(--jade); }
.btn--outline:hover { background: var(--jade); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; min-height: min(80vh, 720px); display: grid; align-items: end; isolation: isolate; overflow: hidden; background: var(--night); }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(var(--night-rgb) / .25) 0%, rgb(var(--night-rgb) / .35) 40%, rgb(var(--night-rgb) / .9) 100%), linear-gradient(90deg, rgb(var(--night-rgb) / .55), transparent 70%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--gold-leaf); z-index: 1; }
.hero .shell { padding: 140px 0 64px; }
.hero h1 { color: #fff; margin-bottom: .25em; text-shadow: 0 2px 24px rgba(0, 0, 0, .45); max-width: 16em; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; margin-bottom: 12px; }
.hero__kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.hero__lead { font-size: clamp(1.15rem, 1vw + 1rem, 1.4rem); max-width: 36em; margin-bottom: 1.5em; color: #F2EBDD; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 22px; }
.hero__meta:not(:has(> :not([hidden]))) { display: none; }
.hero__rating { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: .98rem; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: rgb(var(--night-rgb) / .45); backdrop-filter: blur(4px); }
.hero__rating:hover { color: var(--gold-light); border-color: var(--gold); }
.hero--page { min-height: 360px; }
.hero--page .shell { padding: 110px 0 44px; }

/* Home slideshow: 4 slides × 7 s, cross-fade + slow zoom (Ken Burns). */
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; animation: slide-fade 28s infinite; }
.hero__slide .hero__img { z-index: 0; animation: slide-zoom 28s infinite; transform-origin: 60% 40%; }
.hero__slide:nth-child(1) { opacity: 1; animation-name: slide-fade-first; }
.hero__slide:nth-child(2), .hero__slide:nth-child(2) .hero__img { animation-delay: 7s; }
.hero__slide:nth-child(3), .hero__slide:nth-child(3) .hero__img { animation-delay: 14s; }
.hero__slide:nth-child(4), .hero__slide:nth-child(4) .hero__img { animation-delay: 21s; }
.hero__slide:nth-child(3) .hero__img { transform-origin: 30% 60%; }
@keyframes slide-fade { 0% { opacity: 0; } 5% { opacity: 1; } 25% { opacity: 1; } 31% { opacity: 0; } 100% { opacity: 0; } }
@keyframes slide-fade-first { 0% { opacity: 1; } 25% { opacity: 1; } 31% { opacity: 0; } 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes slide-zoom { 0% { transform: scale(1); } 31% { transform: scale(1.12); } 100% { transform: scale(1.12); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--ivory { background: var(--ivory-2); }
.section--jade { background: var(--jade) var(--fret); color: var(--on-dark); }
.section--night { background: var(--night) var(--fret); color: var(--on-dark); }
.section--jade h2, .section--jade h3, .section--night h2, .section--night h3 { color: #fff; }
.section--jade .eyebrow, .section--night .eyebrow { color: var(--gold-light); }
.section--jade a:not(.btn), .section--night a:not(.btn) { color: var(--gold-light); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); font-weight: 700; margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--seal); transform: rotate(45deg); }
.section__head { max-width: 46em; margin-bottom: 44px; }
.section__head--center { text-align: center; margin-inline: auto; }
.lead { font-size: 1.22rem; color: var(--muted); }
.ornament { display: block; width: 96px; height: 14px; margin: 16px 0 0; color: var(--gold); }
.section__head--center .ornament { margin-inline: auto; }
.ornament + p { margin-top: 20px; }
.h3 { font-size: 1.3rem; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.btn-row--center { justify-content: center; }
.on-dark { color: #fff; }
.on-dark:hover { color: var(--gold-light); }
.foot-pin { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.hours + .note, .hours + .open-status { margin-top: 14px; }

.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

/* Moon-gate arch frame with an offset gold outline. */
.arch { position: relative; max-width: 480px; justify-self: center; width: 100%; }
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius); box-shadow: var(--shadow); }
.arch::before { content: ""; position: absolute; inset: -12px 12px 12px -12px; border: 1.5px solid var(--gold); border-radius: 999px 999px var(--radius) var(--radius); z-index: -1; }
@media (max-width: 860px) { .arch { max-width: 380px; margin-top: 12px; } .arch::before { inset: -10px 10px 10px -2px; } }

.facts { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; }
.facts svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 3px; }

/* ---------- Menu cards (on jade) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.card { background: rgb(var(--night-rgb) / .55); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 34px 30px 30px; display: flex; flex-direction: column; position: relative; transition: transform .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: var(--gold); }
.card::before { content: ""; position: absolute; top: 0; left: 30px; right: 30px; height: 3px; background: var(--gold-leaf); border-radius: 0 0 3px 3px; }
.card h3 { margin-bottom: 4px; color: #fff; }
.card__tag { color: #C9C2B0; font-style: italic; margin-bottom: 16px; }
.card__price { font-family: var(--f-display); font-weight: 600; font-size: 2.3rem; color: var(--gold-light); line-height: 1; margin-bottom: 4px; }
.card ul { padding-left: 1.1em; margin: 14px 0 22px; color: #D4CDBB; }
.card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Menu detail / carte ---------- */
.anchor-bar { position: sticky; top: 76px; z-index: 40; background: var(--ivory); border-bottom: 1px solid var(--line); }
.anchor-bar .shell { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: thin; }
.anchor-bar a { flex: none; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem; }
.anchor-bar a:hover { border-color: var(--jade); background: var(--jade); color: #fff; }

.menu-block { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); margin-bottom: 32px; }
.menu-block__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 20px; }
.menu-block__head h2 { margin: 0; }
.menu-block__prices { display: flex; flex-wrap: wrap; gap: 6px 20px; font-family: var(--f-display); font-weight: 600; font-size: 1.45rem; color: var(--jade); }
.menu-block__prices span small { font-family: var(--f-body); font-weight: 400; font-size: .95rem; color: var(--muted); margin-right: 6px; }
.courses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 48px; }
@media (max-width: 760px) { .courses { grid-template-columns: 1fr; } }
.course h3 { font-size: 1.1rem; color: var(--gold-text); letter-spacing: .08em; text-transform: uppercase; margin: 12px 0 6px; }
.course ul { list-style: none; padding: 0; margin: 0 0 12px; }
.course li { padding: 5px 0; border-bottom: 1px dotted var(--line); }
.course li small, .dish small { display: block; color: var(--muted); font-size: .95rem; }
.note { color: var(--muted); font-size: 1rem; }

.carte-section { margin-bottom: 44px; scroll-margin-top: 150px; }
.carte-section h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(1.4rem, 1.4vw + 1rem, 1.9rem); }
.carte-section h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.dishes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
@media (max-width: 760px) { .dishes { grid-template-columns: 1fr; } }
.dish { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 10px 0; border-bottom: 1px dotted var(--line); }
.dish__name { font-weight: 700; }
.dish__price { font-family: var(--f-display); font-weight: 600; color: var(--jade); white-space: nowrap; font-size: 1.05rem; }
.dish small { grid-column: 1 / -1; }

/* ---------- Photo mosaic + lightbox ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 220px); grid-auto-flow: dense; gap: 14px; }
.tile { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--jade-deep); }
.tile--big { grid-column: span 2; grid-row: span 2; }
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile__btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1), filter .6s; }
.tile:hover img, .tile__btn:focus-visible img { transform: scale(1.07); filter: saturate(1.1); }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; color: #fff; font-weight: 700; font-size: .98rem; letter-spacing: .03em; background: linear-gradient(transparent, rgb(var(--night-rgb) / .85)); pointer-events: none; transform: translateY(6px); opacity: .92; transition: transform .4s, opacity .4s; }
.tile:hover figcaption { transform: none; opacity: 1; }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; gap: 10px; }
  .tile--wide { grid-column: span 2; }
}
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgb(var(--night-rgb) / .92); }
.lightbox[open] { animation: lb-in .35s ease-out; }
.lightbox img { max-width: 100%; max-height: 84vh; border-radius: 8px; margin: 0 auto; }
.lightbox__caption { color: #fff; text-align: center; margin: 12px 0 0; font-weight: 700; }
.lightbox__close { position: absolute; top: -46px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold); background: var(--night); color: var(--gold-light); font-size: 1.6rem; line-height: 1; cursor: pointer; }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* Scroll reveal (only once JS has marked the page; content stays visible without JS). */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .tile.reveal { transform: translateY(26px) scale(.97); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reviews ---------- */
.platform { background: rgba(255, 255, 255, .03); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 36px); margin-bottom: 28px; }
.platform--ta { border-color: rgba(201, 160, 75, .55); background: rgba(201, 160, 75, .06); }
.platform__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-bottom: 24px; }
.platform__id { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.platform__logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.5rem; color: #fff; }
.platform__logo svg { width: 34px; height: 34px; }
.platform__logo--ta svg { color: #34E0A1; }
.platform__score { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; color: var(--on-dark); }
.platform__score strong { font-family: var(--f-display); font-size: 1.7rem; color: var(--gold-light); }
.platform__score img { height: 20px; width: auto; }
.platform__rank { flex-basis: 100%; font-size: .95rem; color: #BDB6A3; }
.review-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-list:empty { display: none; }
@media (max-width: 960px) { .review-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .review-list { grid-template-columns: 1fr; } }
.review { margin: 0; background: rgb(var(--night-rgb) / .6); border: 1px solid rgba(201, 160, 75, .2); border-radius: 10px; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.review p { margin: 0; font-size: 1.05rem; color: #EDE6D5; }
.review__title { font-weight: 700; color: #fff; }
.review__text { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review footer { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: var(--gold-light); font-weight: 700; font-size: .95rem; }
.review footer span { color: #A9A390; font-weight: 400; }
.review footer > :first-child { color: var(--gold-light); font-weight: 700; }
.review a { color: var(--gold-light); font-size: .95rem; }
.stars { position: relative; display: inline-block; font-size: 1.1rem; letter-spacing: 2px; color: rgba(255, 255, 255, .2); line-height: 1; }
.stars::before { content: "★★★★★"; position: absolute; inset: 0; width: calc(var(--r, 5) / 5 * 100%); overflow: hidden; color: #F4B400; }
.bubbles { height: 18px; width: auto; }

/* ---------- Hours / info ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }
.info { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset; }
.info h3, .info .h3 { color: var(--jade); font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; letter-spacing: .04em; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 6px 0; border-bottom: 1px dotted var(--line); vertical-align: top; }
.hours th { font-weight: 700; padding-right: 16px; }
.hours .closed { color: var(--muted); font-style: italic; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--jade); font-weight: 700; }
.open-status { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; font-size: .98rem; }
.open-status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #9AA39F; flex: none; }
.open-status.is-open::before { background: #2FBF71; box-shadow: 0 0 0 4px rgba(47, 191, 113, .22); animation: pulse 2s infinite; }
.hero .open-status { color: #fff; padding: 6px 14px; border-radius: 999px; background: rgb(var(--night-rgb) / .45); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(4px); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(47, 191, 113, 0); } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; transition: border-color .2s; }
.faq details[open] { border-color: var(--gold); }
.faq summary { cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--gold-text); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 22px 18px; }

/* ---------- Map ---------- */
.map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--ivory-2) var(--fret); aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; padding: 24px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map p { max-width: 28em; color: var(--muted); }

/* ---------- Breadcrumb ---------- */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 10px; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.breadcrumb a { color: rgba(255, 255, 255, .85); }

/* ---------- Footer ---------- */
.site-foot { background: var(--jade-deep) var(--fret); color: #CFC8B6; padding: 64px 0 28px; font-size: 1rem; border-top: 4px solid var(--gold); }
.site-foot a { color: var(--gold-light); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot h2 { font-size: 1.2rem; color: #fff; }
.site-foot .foot-h { margin-top: 24px; }
.site-foot .hours th, .site-foot .hours td { border-color: rgba(201, 160, 75, .2); }
.site-foot .hours .closed { color: #A9A390; }
.site-foot .hours tr.is-today th, .site-foot .hours tr.is-today td { color: var(--gold-light); }
.site-foot .open-status { color: #fff; }
.foot-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-bottom { border-top: 1px solid rgba(201, 160, 75, .2); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; color: #A9A390; }

/* Mobile call bar */
.call-bar { display: none; }
@media (max-width: 640px) {
  .call-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgb(var(--night-rgb) / .97); border-top: 1px solid var(--line-dark); }
  .call-bar .btn { flex: 1; padding: 12px 10px; }
  body { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero__slide:not(:first-child) { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-head, .call-bar, .anchor-bar, .hero__slides, .hero__img, .mosaic, .reviews-sec, .site-foot .foot-nav { display: none !important; }
  body { background: #fff; padding: 0; }
  .hero { color: var(--ink); min-height: 0; background: none; }
  .hero::before, .hero::after { display: none; }
  .hero h1 { color: var(--ink); text-shadow: none; }
}

/* Reviews without API keys: a slim, quiet band instead of the full section. */
.quiet-reviews { padding: clamp(36px, 5vw, 56px) 0; border-block: 1px solid var(--line); background: var(--ivory); }
.quiet-reviews .shell { display: grid; grid-template-columns: auto 1fr; gap: 12px 40px; align-items: center; }
.quiet-reviews__title { margin: 0; font-family: var(--f-body); font-size: .82rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); }
.quiet-reviews__quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 36px; }
.quiet-reviews .review { background: none; border: 0; border-left: 2px solid var(--gold); border-radius: 0; padding: 2px 0 2px 16px; gap: 4px; }
.quiet-reviews .review p { color: var(--muted); font-style: italic; font-size: 1rem; }
.quiet-reviews .review footer { color: var(--ink); font-size: .9rem; }
.quiet-reviews .review-links { grid-column: 2; }
@media (max-width: 760px) {
  .quiet-reviews .shell, .quiet-reviews__quotes { grid-template-columns: 1fr; }
  .quiet-reviews .review-links { grid-column: auto; }
}
.review-links { margin: 0; font-size: .95rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.review-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--jade); }
.review-links svg { width: 18px; height: 18px; }
.review-links .ta-ico { color: #00AA6C; }
.section--night .review-links { justify-content: center; color: var(--on-dark); }
.section--night .review-links .ta-ico { color: #34E0A1; }

/* ---------- Language switcher (FR · EN · ES) ---------- */
.lang-switch { display: flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--line-dark); border-radius: 999px; }
.lang-switch a { min-width: 34px; padding: 4px 8px; border-radius: 999px; text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--on-dark); text-decoration: none; }
.site-head .lang-switch a:hover { color: var(--gold-light); background: rgba(255, 255, 255, .08); }
.site-head .lang-switch a[aria-current]:hover { color: var(--night); background: var(--gold-light); }
.lang-switch a[aria-current] { background: var(--gold); color: var(--night); }
@media (max-width: 980px) { .lang-switch { order: 2; } }
@media (max-width: 400px) { .lang-switch a { min-width: 28px; padding: 4px 5px; } .site-head .shell { gap: 8px; } }

/* Rouge variant — home "Nos formules" band: red lacquer texture.
   Gold auspicious clouds (xiangyun) in a staggered pattern, a fine grain like
   lacquered wood, and a light/shadow gradient for depth. */
:root[data-theme="rouge"] .section--jade {
  background-color: var(--jade);
  background-image:
    radial-gradient(120% 70% at 50% 0%, rgba(255, 210, 150, .16), transparent 60%),
    radial-gradient(120% 80% at 50% 115%, rgba(30, 0, 0, .55), transparent 65%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='180' viewBox='0 0 280 180'%3E%3Cg fill='none' stroke='%23E8CD85' stroke-opacity='.15' stroke-width='1.5' stroke-linecap='round'%3E%3Cg id='c'%3E%3Cpath d='M58 46a15 15 0 1 1 15 11a9 9 0 1 1-7-14a4 4 0 1 1 3 6'/%3E%3Cpath d='M34 54a9 9 0 1 1 9 5a4.5 4.5 0 1 1-2-8'/%3E%3Cpath d='M110 54a9 9 0 1 0-9 5a4.5 4.5 0 1 0 2-8'/%3E%3Cpath d='M14 66c18 0 28-7 44-7s30 9 52 7c10-1 18-5 26-10'/%3E%3Cpath d='M40 74c16 0 32 5 52 0'/%3E%3C/g%3E%3Cuse href='%23c' x='140' y='90'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, auto, 180px 180px, 280px 180px;
}

/* ---------- Decorations: lanterns, dragon, golden Buddha ---------- */
.logo__mark { width: auto; }
/* Hanging lanterns, top right of the photo heroes, swaying gently. */
.hero__lanterns { position: absolute; top: -6px; right: max(16px, calc((100% - 1160px) / 2)); display: flex; align-items: flex-start; gap: clamp(14px, 3vw, 40px); pointer-events: none; z-index: 0; }
.lantern { width: auto; transform-origin: 50% 0; filter: drop-shadow(0 6px 22px rgba(255, 140, 60, .45)); animation: sway 6.5s ease-in-out infinite alternate; }
.lantern--1 { height: clamp(120px, 15vw, 190px); }
.lantern--2 { height: clamp(150px, 19vw, 240px); margin-top: -18px; animation-duration: 8s; animation-delay: -2s; }
.lantern--3 { height: clamp(100px, 12vw, 150px); margin-top: 20px; animation-duration: 7s; animation-delay: -4s; }
.hero--page .lantern--1 { height: clamp(100px, 11vw, 150px); }
.hero--page .lantern--2 { height: clamp(120px, 14vw, 180px); }
@keyframes sway { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }
@media (max-width: 700px) {
  .hero__lanterns { right: 12px; gap: 10px; }
  .lantern--1 { height: 92px; }
  .lantern--2 { height: 112px; margin-top: -10px; }
  .lantern--3 { display: none; }
  .hero--page .lantern--1 { height: 78px; }
  .hero--page .lantern--2 { height: 96px; }
}
/* Dragon: faint gilded watermark behind the set menus, slowly floating. */
.section--dragon { overflow: hidden; }
.section--dragon > .shell { position: relative; z-index: 1; }
.dragon-watermark { position: absolute; left: 50%; top: clamp(20px, 4vw, 56px); width: min(1100px, 118%); max-width: none; transform: translateX(-50%); opacity: .3; mix-blend-mode: screen; pointer-events: none; z-index: 0; animation: dragon-float 14s ease-in-out infinite alternate; }
@keyframes dragon-float { from { transform: translate(-51%, 0); } to { transform: translate(-49%, -10px); } }
/* Golden Buddha standing at the foot of the moon-gate arch, with a halo. */
.arch--buddha { isolation: isolate; }
.arch .arch__buddha { position: absolute; left: -56px; bottom: -26px; width: 150px; aspect-ratio: auto; height: auto; border-radius: 0; box-shadow: none; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(8, 29, 25, .35)); }
.arch--buddha::after { content: ""; position: absolute; left: -100px; bottom: -40px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 205, 133, .55), rgba(232, 205, 133, 0) 65%); z-index: -1; pointer-events: none; }
@media (max-width: 860px) {
  .arch .arch__buddha { width: 96px; left: -8px; bottom: -18px; }
  .arch--buddha::after { left: -50px; bottom: -30px; width: 170px; height: 170px; }
}
@media (prefers-reduced-motion: reduce) { .lantern, .dragon-watermark { animation: none !important; } .dragon-watermark { transform: translateX(-50%); } }
@media print { .hero__lanterns, .dragon-watermark, .arch__buddha { display: none !important; } }

/* Home hero, mobile only: Chinese New Year video (injected by main.js),
   faded in over the photo slideshow once it actually plays. */
.hero__video { display: none; }
@media (max-width: 700px) {
  .hero__video { display: block; position: absolute; inset: 0; z-index: -2; pointer-events: none; }
  .hero__video video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
  .hero.has-video .hero__video video { opacity: 1; }
  .hero.has-video .hero__lanterns { display: none; } /* the video has its own lanterns */
}

/* Home hero on phones: exactly the visible screen between the sticky header
   (76 px) and the call bar (72 px), content centred, so the title, the
   buttons and the open/closed status are all visible over the centred
   video. svh = height with the browser address bar shown (stable). */
@media (max-width: 700px) {
  .hero--home { min-height: calc(100vh - 148px); min-height: calc(100svh - 148px); align-items: center; }
  .hero--home .shell { padding: 24px 0; }
  .hero--home .hero__lanterns { display: none; } /* the video has its own lanterns */
  .hero--home .hero__kicker { font-size: .78rem; letter-spacing: .14em; }
  .hero--home .hero__lead { margin-bottom: 1.1em; }
  .hero--home .hero__meta { margin-top: 16px; }
}
@media (max-width: 700px) and (max-height: 760px) {
  .hero--home h1 { font-size: 1.85rem; }
  .hero--home .hero__lead { font-size: 1.02rem; line-height: 1.5; }
  .hero--home .btn-row { gap: 10px; }
  .hero--home .btn-row .btn { padding: 10px 20px; }
}

/* ---------- News ("À la une") under the home hero ---------- */
.news { background: var(--paper); border-bottom: 1px solid var(--line); padding: clamp(28px, 4vw, 44px) 0; }
.news .shell { display: grid; grid-template-columns: auto 1fr; gap: 20px clamp(24px, 4vw, 56px); align-items: start; }
.news__title { display: flex; align-items: center; gap: 12px; margin: 0; padding-top: 14px; font-size: 1.05rem; letter-spacing: .2em; text-transform: uppercase; color: var(--jade); white-space: nowrap; }
.news__title::before { content: ""; width: 10px; height: 10px; background: var(--seal); transform: rotate(45deg); flex: none; }
.news__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.news-item { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px 18px 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: 0 10px 28px -22px rgb(var(--night-rgb) / .55); animation: news-in .6s cubic-bezier(.2, .7, .2, 1) both; }
.news-item:nth-child(2) { animation-delay: .1s; }
.news-item:nth-child(3) { animation-delay: .2s; }
.news-item__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none; background: rgb(201 160 75 / .16); color: var(--gold-text); }
.news-item__icon svg { width: 21px; height: 21px; }
.news-item h3 { font-size: 1.08rem; line-height: 1.3; margin: 0 0 4px; color: var(--ink); }
.news-item p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.news-item__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 700; font-size: .95rem; }
.news-item__link svg { width: 16px; height: 16px; transition: transform .2s; }
.news-item__link:hover svg { transform: translateX(3px); }
.news-item--alerte { border-left-color: var(--seal); background: #FFF8F4; }
.news-item--alerte .news-item__icon { background: rgb(168 50 31 / .12); color: var(--seal); }
.news-item--alerte .news-item__icon svg { transform-origin: 50% 10%; animation: bell 4s ease-in-out 1s infinite; }
@keyframes news-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes bell { 0%, 88%, 100% { transform: rotate(0); } 91% { transform: rotate(14deg); } 94% { transform: rotate(-12deg); } 97% { transform: rotate(6deg); } }
@media (max-width: 760px) {
  .news .shell { grid-template-columns: 1fr; gap: 14px; }
  .news__title { padding-top: 0; font-size: .95rem; }
  .news__list { grid-template-columns: 1fr; }
}
/* Hero: current closures announced above the fold, links to the news. */
.hero__alert { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--seal); color: #fff; font-weight: 700; font-size: .98rem; text-decoration: none; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .6); }
.hero__alert svg { width: 17px; height: 17px; flex: none; }
.hero__alert:hover { background: #8E2615; color: #fff; }
@media (prefers-reduced-motion: reduce) { .news-item, .news-item--alerte .news-item__icon svg { animation: none; } }
@media print { .hero__alert { display: none !important; } .news-item { box-shadow: none; } }
