/* Café Platine — brasserie poster. Red, cream, black. One family (Archivo) on two width axes:
   condensed (62) for headlines and menu items, extended (125) for the wordmark. No scroll reveals. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url("fonts/archivo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url("fonts/archivo-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --rouge: #c4331f;
  --rouge-2: #a5281a;
  --noir: #121212;
  --creme: #f5ecd9;
  --creme-2: #e9dcc2;
  --gris: #5a544b;
  --gutter: max(clamp(1rem, 3.5vw, 3rem), env(safe-area-inset-left), env(safe-area-inset-right));
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; -webkit-tap-highlight-color: transparent; background: var(--creme); color: var(--noir); font-family: var(--font); font-size: 1.0625rem; line-height: 1.45; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, dt { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--noir); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--noir); color: var(--creme); padding: .5rem .75rem; z-index: 100; }
.skip:focus { top: 1rem; }

.cond { font-stretch: 62%; }
h1, h2, h3, .hero__claim, .band, .jour__h, .jour__n, .carte__name, .reserver__tel, .map__title, .infos__row dt { font-stretch: 62%; font-weight: 800; text-transform: uppercase; line-height: .92; letter-spacing: -.01em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; min-height: 3.25rem; padding: .8rem 1.4rem; font-weight: 700; font-stretch: 80%; text-transform: uppercase; font-size: 1rem; letter-spacing: .02em; text-decoration: none; border: 2px solid currentColor; cursor: pointer; font-family: inherit; transition: background-color .15s, color .15s; }
.btn--noir { background: var(--noir); color: var(--creme); border-color: var(--noir); }
.btn--noir:hover, .btn--noir:active { background: var(--creme); color: var(--noir); }
.btn--line { color: var(--creme); }
.btn--line:hover { background: var(--creme); color: var(--rouge); }
.btn--creme { background: var(--creme); color: var(--noir); border-color: var(--creme); }
.btn--creme:hover { background: var(--noir); color: var(--creme); border-color: var(--noir); }

/* Header */
.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem var(--gutter); background: var(--creme); border-bottom: 3px solid var(--noir); min-height: 3.75rem; }
.top__brand { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 1.1rem; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); }
.nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; min-width: 2.75rem; padding-inline: .4rem; margin-inline: -.4rem; font-weight: 700; font-stretch: 80%; text-transform: uppercase; font-size: .95rem; text-decoration: none; padding: .5rem 0; }
.nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .2em; }
.nav__lang { color: var(--rouge); }
.nav__tel { background: var(--noir); color: var(--creme); padding: .55rem .9rem !important; min-height: 2.75rem; }
.nav__tel:hover { background: var(--rouge); text-decoration: none !important; }
.top__toggle { display: none; }
@media (max-width: 820px) {
  .top__toggle { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .4rem .9rem; background: var(--noir); color: var(--creme); border: 0; font: 700 .95rem var(--font); font-stretch: 80%; text-transform: uppercase; cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--creme); border-bottom: 3px solid var(--noir); padding: 0 var(--gutter) 1rem; }
  .nav.is-open { display: flex; }
  .nav a { padding: .9rem 0; border-top: 1px solid var(--noir); font-size: 1.15rem; }
  .nav__tel { margin-top: .75rem; border-top: 0 !important; padding: .9rem 1rem !important; }
}

/* Ticker */
.ticker { background: var(--noir); color: var(--creme); overflow: hidden; border-bottom: 3px solid var(--noir); }
.ticker__track { display: flex; width: max-content; padding: .45rem 0; animation: ticker 40s linear infinite; }
.ticker__track span { font-weight: 700; font-stretch: 80%; text-transform: uppercase; font-size: .9rem; letter-spacing: .04em; white-space: nowrap; padding: 0 1.25rem; }
.ticker__track span::after { content: "●"; color: var(--rouge); margin-left: 2.5rem; font-size: .6em; vertical-align: .2em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Hero */
.hero { container-type: inline-size; background: var(--rouge); color: var(--creme); padding: 1.25rem var(--gutter) clamp(1.5rem, 3vw, 2.5rem); border-bottom: 3px solid var(--noir); }
.hero__top { display: flex; justify-content: space-between; font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 2.6rem); line-height: 1; }
.hero__word { font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; line-height: .82; font-size: 16.8vw; margin: .04em 0 0 -.04em; white-space: nowrap; }
@supports (font-size: 1cqw) { .hero__word { font-size: 18.2cqw; } }
.hero__bottom { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: end; margin-top: clamp(1rem, 2.5vw, 2rem); border-top: 3px solid var(--creme); padding-top: 1.25rem; }
.hero__claim { font-size: clamp(2.2rem, 5.2vw, 5rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 760px) {
  p.band { white-space: normal; text-overflow: clip; line-height: 1; padding-block: .5em; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}

/* Black band */
.band { background: var(--noir); color: var(--creme); padding: .35em var(--gutter); font-size: clamp(1.6rem, 4.1vw, 4rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-bottom: 3px solid var(--noir); }

/* Manifeste */
.manif { padding: clamp(2.5rem, 6vw, 5rem) var(--gutter); }
.manif__title { font-size: clamp(2.6rem, 8.5vw, 8.5rem); }
.manif__grid { display: grid; grid-template-columns: 6fr 3fr 3fr; gap: 2rem clamp(1.5rem, 4vw, 4rem); margin-top: clamp(1.5rem, 4vw, 3rem); border-top: 3px solid var(--noir); padding-top: 1.5rem; }
.manif__text { font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.4; display: grid; gap: 1.2em; max-width: 34em; }
.manif__col h3 { font-size: 1.5rem; padding-bottom: .5rem; border-bottom: 3px solid currentColor; }
.manif__col ul { margin-top: .75rem; display: grid; }
.manif__col li { padding: .45rem 0; border-bottom: 1px solid var(--noir); font-weight: 600; font-stretch: 80%; }
.manif__col--arrive { color: var(--rouge); }
.manif__col--arrive li { border-color: var(--rouge); }
@media (max-width: 900px) { .manif__grid { grid-template-columns: 1fr 1fr; } .manif__text { grid-column: 1 / -1; } }
@media (max-width: 520px) { .manif__grid { grid-template-columns: 1fr; } }

/* La journée: four full-width bands */
.journee__list { border-top: 3px solid var(--noir); }
.jour { display: grid; grid-template-columns: minmax(6rem, 1fr) minmax(6rem, 1fr) 3fr; gap: 1rem clamp(1rem, 3vw, 3rem); align-items: center; padding: clamp(1rem, 2.5vw, 2rem) var(--gutter); border-bottom: 3px solid var(--noir); }
.jour:nth-child(1) { background: var(--creme); }
.jour:nth-child(2) { background: var(--noir); color: var(--creme); }
.jour:nth-child(3) { background: var(--rouge); color: var(--creme); }
.jour:nth-child(4) { background: var(--creme-2); }
.jour__h { font-size: clamp(3rem, 8vw, 8rem); }
.jour__n { font-size: clamp(1.8rem, 4vw, 4rem); }
.jour__d { font-size: clamp(1rem, 1.3vw, 1.25rem); max-width: 40em; font-weight: 500; }
@media (max-width: 640px) { .jour { grid-template-columns: auto 1fr; align-items: baseline; gap: .5rem 1rem; } .jour__d { grid-column: 1 / -1; } }

/* La carte: the board */
.carte { background: var(--noir); color: var(--creme); padding: clamp(2.5rem, 6vw, 5rem) var(--gutter); }
.carte__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 3rem; border-bottom: 3px solid var(--creme); padding-bottom: 1rem; }
.carte__head h2 { font-size: clamp(3.5rem, 11vw, 11rem); color: var(--rouge); line-height: .8; }
.carte__note { max-width: 32em; font-weight: 500; color: var(--creme-2); }
.carte__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 6rem); }
.carte__group { padding: 1.75rem 0 2.25rem; border-bottom: 1px solid var(--creme-2); }
.carte__name { font-size: clamp(2rem, 3.5vw, 3.25rem); display: flex; flex-wrap: wrap; align-items: baseline; gap: .4em 1em; color: var(--creme); }
.carte__name small { font-size: 1rem; font-weight: 600; font-stretch: 80%; letter-spacing: .03em; color: var(--rouge); text-transform: uppercase; }
.carte__list { margin-top: 1.25rem; display: grid; gap: .9rem; }
.carte__list li { display: grid; gap: .1rem; }
.carte__list b { font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(1.4rem, 1.8vw, 1.9rem); line-height: 1; }
.carte__list span { color: var(--creme-2); font-weight: 500; font-size: 1rem; }
@media (max-width: 700px) { .carte__groups { grid-template-columns: 1fr; } }

/* Infos + map */
.infos { display: grid; grid-template-columns: 1fr 1fr; border-top: 3px solid var(--noir); }
.infos__data { padding: clamp(2rem, 5vw, 4rem) var(--gutter); }
.infos__data h2 { font-size: clamp(3.5rem, 9vw, 8rem); line-height: .8; }
.infos__list { margin-top: 1.5rem; border-top: 3px solid var(--noir); }
.infos__row { display: grid; grid-template-columns: minmax(7rem, 1fr) 2fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--noir); align-items: baseline; }
.infos__row dt { font-size: 1.5rem; }
.infos__row dd { font-weight: 600; font-size: 1.15rem; line-height: 1.3; }
.infos__row a { display: inline-block; padding: .75rem 0; margin: -.75rem 0; text-decoration-thickness: 3px; text-underline-offset: .15em; }
.infos__note { margin-top: 1rem; color: var(--gris); font-weight: 500; font-size: .95rem; }
.map { background: var(--rouge); color: var(--creme); position: relative; min-height: 26rem; border-left: 3px solid var(--noir); }
.map__facade { position: absolute; inset: 0; padding: clamp(2rem, 5vw, 4rem) var(--gutter); display: grid; align-content: space-between; gap: 1rem; }
.map__title { font-size: clamp(4rem, 12vw, 12rem); line-height: .8; }
.map__addr { font-weight: 700; font-stretch: 80%; font-size: clamp(1.2rem, 2vw, 1.6rem); text-transform: uppercase; line-height: 1.15; }
.map__load { justify-self: start; }
.map__hint { font-size: .95rem; font-weight: 500; max-width: 36em; }
.map__hint a { display: inline-block; font-weight: 700; padding: .8rem 0; margin: -.8rem 0; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 26rem; border: 0; }
.map.is-loaded .map__facade { display: none; }
@media (max-width: 860px) { .infos { grid-template-columns: 1fr; } .map { border-left: 0; border-top: 3px solid var(--noir); } }
@media (max-width: 420px) { .infos__row { grid-template-columns: 1fr; gap: .15rem; } .infos__row dt { font-size: 1.15rem; } }
@media (max-height: 460px) and (orientation: landscape) { .top { position: static; } }

/* Réserver */
.reserver { container-type: inline-size; background: var(--rouge); color: var(--creme); padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(3rem, 7vw, 6rem); border-top: 3px solid var(--noir); }
.reserver__title { font-size: clamp(2rem, 5vw, 5rem); }
.reserver__tel { display: block; padding-block: .12em; font-size: clamp(2rem, 9.2vw, 13rem); text-decoration: none; letter-spacing: -.02em; margin: .1em 0 .15em -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.reserver__tel:hover { color: var(--noir); }
@supports (font-size: 1cqw) { .reserver__tel { font-size: min(14.6cqw, 13rem); } html[lang="en"] .reserver__tel { font-size: min(10.2cqw, 13rem); } }
.reserver__text { max-width: 34em; font-size: clamp(1.05rem, 1.4vw, 1.35rem); font-weight: 500; border-top: 3px solid var(--creme); padding-top: 1rem; }

/* Legal page */
.top--static { position: static; }
.nav--simple { display: flex !important; position: static !important; flex-direction: row !important; border: 0 !important; padding: 0 !important; background: none !important; }
.nav--simple a { border: 0 !important; font-size: .95rem !important; padding: .5rem 0 !important; }
.legal { max-width: 46rem; padding: clamp(2rem, 5vw, 4rem) var(--gutter) clamp(3rem, 7vw, 6rem); }
.legal h1 { font-size: clamp(3rem, 9vw, 6rem); }
.legal__intro { margin-top: 1rem; font-size: 1.15rem; max-width: 60ch; }
.legal__todo { margin-top: 1rem; font-size: .95rem; }
.legal__section { margin-top: 2.5rem; border-top: 3px solid var(--noir); padding-top: 1rem; }
.legal__section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.legal__section p { margin-top: .8rem; max-width: 62ch; }
.legal__rows { margin-top: .75rem; }
.legal__rows > div { display: grid; grid-template-columns: minmax(9rem, 1fr) 2fr; gap: .5rem 1rem; padding: .55rem 0; border-bottom: 1px solid var(--noir); }
.legal__rows dt { font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: 1.05rem; }
.legal__rows dd { font-weight: 500; }
.legal__rows a { display: inline-block; padding: .55rem 0; margin: -.55rem 0; }
mark.todo { background: #ffe58a; color: var(--noir); padding: .05em .25em; }
@media (max-width: 480px) { .legal__rows > div { grid-template-columns: 1fr; gap: .15rem; } }
.foot__links { display: inline-flex; gap: 1.5rem; }

/* Footer */
.foot { background: var(--noir); color: var(--creme); padding: 1.25rem var(--gutter) 0; font-weight: 600; font-stretch: 80%; font-size: .95rem; text-transform: uppercase; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-bottom: 1.25rem; }
.foot a.foot__credit { display: flex; width: 100%; min-height: 0; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1.5rem; margin-inline: calc(-1 * var(--gutter)); padding: 1rem var(--gutter) 1.4rem; border-top: 1px solid #3a3733; text-decoration: none; color: var(--creme); transition: background-color .2s, color .2s; }
.foot__credit-label { font-size: .8rem; letter-spacing: .06em; color: var(--creme-2); }
.foot__credit-name { font-weight: 900; font-stretch: 125%; font-size: clamp(1.6rem, 3.2vw, 2.6rem); letter-spacing: -.03em; line-height: 1; }
.foot__credit-tld { font-weight: 700; font-stretch: 80%; font-size: .45em; letter-spacing: .04em; margin-left: .15em; vertical-align: .15em; color: var(--rouge); }
.foot a.foot__credit:hover, .foot a.foot__credit:focus-visible { background: var(--rouge); }
.foot__credit:hover .foot__credit-label, .foot__credit:hover .foot__credit-tld { color: var(--creme); }
@media (max-width: 520px) { .foot__credit { flex-direction: column; align-items: flex-start; gap: .35rem; } }
.foot a { color: var(--creme); display: inline-flex; align-items: center; min-height: 2.75rem; }
.foot p { display: inline-flex; align-items: center; min-height: 2.75rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  .btn { transition: none; }
}

/* ============================================================
   MOTION
   1. Landing sequence: plays once, after the font is ready (html.is-ready).
   2. Scroll motion: native scroll-driven animations (reversible by construction)
      where supported, IntersectionObserver fallback elsewhere (html.sa-io).
   Everything is off under prefers-reduced-motion. Without JS nothing is hidden.
   ============================================================ */
[id] { scroll-margin-top: 4.5rem; }
.top { transition: transform .35s cubic-bezier(.22,1,.36,1); will-change: transform; }
.top.is-hidden { transform: translateY(-100%); }
.hero__letters { display: inline-block; clip-path: inset(-15% -5% -8% -5%); }
.ltr { display: inline-block; }

@media (prefers-reduced-motion: no-preference) {
  /* ---- landing ---- */
  html.js:not(.is-ready) .top, html.js:not(.is-ready) .ticker, html.js:not(.is-ready) .hero__top span,
  html.js:not(.is-ready) .ltr, html.js:not(.is-ready) .hero__claim, html.js:not(.is-ready) .hero__cta, html.js:not(.is-ready) .band { opacity: 0; }
  html.js:not(.is-ready) .hero { clip-path: inset(0 0 100% 0); }
  html.is-ready .top { animation: land-down .6s cubic-bezier(.22,1,.36,1) both; }
  html.is-ready .ticker { animation: land-fade .5s .25s ease-out both; }
  html.is-ready .hero { animation: land-wipe .7s .1s cubic-bezier(.76,0,.24,1) both; }
  html.is-ready .hero__top span:first-child { animation: land-left .6s .45s cubic-bezier(.22,1,.36,1) both; }
  html.is-ready .hero__top span:last-child { animation: land-right .6s .45s cubic-bezier(.22,1,.36,1) both; }
  html.is-ready .ltr { animation: land-letter .8s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(.32s + var(--i, 0) * 45ms); }
  html.is-ready .hero__claim { animation: land-rise .7s .75s cubic-bezier(.22,1,.36,1) both; }
  html.is-ready .hero__cta { animation: land-rise .7s .9s cubic-bezier(.22,1,.36,1) both; }
  html.is-ready .band { animation: land-fade .5s 1s ease-out both; }

  @keyframes land-down { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes land-fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes land-wipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes land-left { from { opacity: 0; transform: translateX(-1.5em); } to { opacity: 1; transform: none; } }
  @keyframes land-right { from { opacity: 0; transform: translateX(1.5em); } to { opacity: 1; transform: none; } }
  @keyframes land-letter { from { opacity: 0; transform: translateY(105%) rotate(4deg); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
  @keyframes land-rise { from { opacity: 0; transform: translateY(1.2rem); } to { opacity: 1; transform: none; } }

  /* ---- scroll: native, scrubbed by the element's own position in the viewport ---- */
  @supports (animation-timeline: view()) {
    [data-sa] { animation: sa-rise linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    [data-sa="slide"] { animation-name: sa-slide; }
    [data-sa="slide-r"] { animation-name: sa-slide-r; }
    [data-sa="zoom"] { animation-name: sa-zoom; }
    [data-sa="wipe"] { animation-name: sa-wipe; animation-range: entry 0% entry 90%; }
  }
  /* enter from below in the first 22% of the path, hold, fade out in the last 12% */
  @keyframes sa-rise  { 0% { opacity: 0; translate: 0 2.5rem; } 22% { opacity: 1; translate: 0 0; } 88% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 0 -1.5rem; } }
  @keyframes sa-slide { 0% { opacity: 0; translate: -3rem 0; } 22% { opacity: 1; translate: 0 0; } 88% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 1.5rem 0; } }
  @keyframes sa-slide-r { 0% { opacity: 0; translate: 3rem 0; } 22% { opacity: 1; translate: 0 0; } 88% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: -1.5rem 0; } }
  @keyframes sa-zoom  { 0% { opacity: 0; scale: 1.12; } 22% { opacity: 1; scale: 1; } 88% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: .96; } }
  @keyframes sa-wipe  { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

  /* ---- scroll: fallback, direction-aware, toggled both ways by IntersectionObserver ---- */
  html.sa-io [data-sa] { opacity: 0; translate: 0 2.5rem; transition: opacity .6s ease-out, translate .8s cubic-bezier(.22,1,.36,1), scale .8s cubic-bezier(.22,1,.36,1); transition-delay: calc(var(--i, 0) * 70ms); }
  html.sa-io[data-dir="up"] [data-sa] { translate: 0 -2.5rem; }
  html.sa-io [data-sa="slide"] { translate: -3rem 0; }
  html.sa-io [data-sa="slide-r"] { translate: 3rem 0; }
  html.sa-io [data-sa="zoom"] { translate: 0 0; scale: 1.12; }
  html.sa-io [data-sa="wipe"] { translate: 0 0; opacity: 1; clip-path: inset(0 100% 0 0); transition: clip-path .9s cubic-bezier(.76,0,.24,1); }
  html.sa-io [data-sa].is-in { opacity: 1; translate: 0 0; scale: 1; clip-path: inset(0 0 0 0); }
}
