/* Tabela - the split-flap board.
   Signal yellow carries the page the way it carries a station; the board is the one
   black object on it. Barlow Condensed is the face on the flaps, Overpass (a Highway
   Gothic descendant) is the signage around them, Overpass Mono is for times. */

:root {
  --sun: #FFCC1A;
  --sun-deep: #F2B800;
  --ink: #121212;
  --ink-2: #2B2B2B;
  --grey: #4A4A4A;
  --paper: #FFFFFF;
  --line: #E4E1D8;
  --board: #151515;
  --board-2: #0C0C0C;
  --flap-top: #262626;
  --flap-bot: #1E1E1E;
  --flap-ink: #F4F1E6;
  --label: #FFCC1A;
  --go: #19B45F;
  --wait: #FFB000;
  --stop: #EE3B2F;

  --display: 'Overpass', ui-sans-serif, system-ui, sans-serif;
  --text: 'Overpass', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Overpass Mono', ui-monospace, Menlo, monospace;
  --flap: 'Barlow Condensed', 'Arial Narrow', sans-serif;

  --gutter: 40px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sun); color: var(--ink); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

/* ── nav: a black station band ── */
.nav {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px;
  height: var(--nav-h); padding: 0 var(--gutter); background: var(--ink); color: #fff;
}
.mark { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.mark-tile { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 7px; background: var(--sun); color: var(--ink); font: 900 22px/1 var(--display); padding-top: 3px; }
.mark-name { font: 800 20px/1 var(--display); letter-spacing: -0.01em; padding-top: 3px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 6px; font: 700 15px/1 var(--display); text-decoration: none; color: #E9E9E9; padding-top: 10px; }
.nav-links a:hover { background: #2A2A2A; color: #fff; }
.nav :focus-visible { outline-color: var(--sun); }
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 8px; background: #262626; }
.lang button { height: 30px; min-width: 40px; border: 0; border-radius: 6px; background: transparent; color: #BDBDBD; font: 600 13px/1 var(--mono); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--sun); color: var(--ink); }

/* ── hero ── */
.hero { padding: 40px var(--gutter) 64px; max-width: 1360px; margin: 0 auto; }
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font: 600 14px/1.3 var(--mono); color: var(--ink-2); }
.kicker-arrow { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 5px; background: var(--ink); color: var(--sun); font: 800 15px/1 var(--display); }

.board {
  position: relative; padding: 22px 28px 30px; border-radius: 22px;
  background: linear-gradient(180deg, #1B1B1B, var(--board) 30%, var(--board-2));
  box-shadow: 0 0 0 1px #000, inset 0 1px 0 rgba(255,255,255,.07), 0 30px 60px -28px rgba(70,50,0,.55), 0 4px 0 #000;
  color: var(--flap-ink);
}
/* four bolts */
.board::before, .board::after {
  content: ""; position: absolute; top: 12px; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #5a5a5a, #222 70%);
}
.board::before { left: 12px; }
.board::after { right: 12px; }
.board-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding: 0 2px; }
.board-title { font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--label); }
.sound {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid #3A3A3A; background: #1C1C1C; color: #CFCFCF; font: 600 12px/1 var(--mono); letter-spacing: .06em;
}
.sound:hover { border-color: #6A6A6A; color: #fff; }
.sound .sound-on { display: none; }
.sound[aria-pressed="true"] { color: var(--sun); border-color: var(--sun); }
.sound[aria-pressed="true"] .sound-on { display: block; }
.sound[aria-pressed="true"] .sound-off { display: none; }
.board :focus-visible { outline-color: var(--sun); }
html:not(.js) .sound { display: none; }

.board-name { margin: 0 0 18px; font-size: inherit; font-weight: inherit; }
.board-rows { display: grid; gap: var(--row-gap, 10px); }
.brow { display: grid; grid-template-columns: var(--label-w, 118px) auto; align-items: center; column-gap: 14px; }
.brow-label { font: 600 12px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--label); }
.brow-label.cont { visibility: hidden; }

/* settled text: what the board says, kept for screen readers and the no-JS page */
.board-text { display: grid; gap: 12px; }
.board-text div { display: grid; grid-template-columns: 118px 1fr; gap: 14px; align-items: baseline; }
.board-text dt { font: 600 12px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--label); }
.board-text dd { font: 600 30px/1.1 var(--flap); text-transform: uppercase; letter-spacing: .04em; }
.js .board-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html:not(.js) .board-name .flaps { display: none; }
html:not(.js) .board-name .sr { position: static; width: auto; height: auto; clip: auto; font: 600 72px/1 var(--flap); text-transform: uppercase; }

/* ── the flap ── */
.flaps { display: inline-flex; gap: var(--gap, 4px); vertical-align: top; }
.f {
  position: relative; flex: none; width: var(--w, 34px); height: var(--h, 48px);
  perspective: calc(var(--h, 48px) * 6); border-radius: calc(var(--w, 34px) * .1);
  font: 600 calc(var(--h, 48px) * .78)/1 var(--flap); color: var(--flap-ink); text-transform: uppercase;
  box-shadow: 0 2px 0 rgba(0,0,0,.9), 0 3px 4px rgba(0,0,0,.5);
}
.f.blank-col { box-shadow: none; }
.h {
  position: absolute; left: 0; right: 0; height: 50%; overflow: hidden;
  background: var(--flap-top); backface-visibility: hidden;
}
.h b { display: block; height: var(--h, 48px); line-height: var(--h, 48px); text-align: center; font-weight: 600; }
.t, .ft { top: 0; border-radius: calc(var(--w, 34px) * .1) calc(var(--w, 34px) * .1) 0 0; transform-origin: 50% 100%; }
.b, .fb { bottom: 0; border-radius: 0 0 calc(var(--w, 34px) * .1) calc(var(--w, 34px) * .1); background: var(--flap-bot); transform-origin: 50% 0; }
.b b, .fb b { transform: translateY(-50%); }
.ft, .fb { visibility: hidden; z-index: 2; }
.fb { transform: rotateX(90deg); }
/* the seam and the faint hinge shadow every real flap has */
.f::after {
  content: ""; position: absolute; left: 0; right: 0; top: calc(50% - .5px); height: 1px; z-index: 3;
  background: #050505; box-shadow: 0 1px 0 rgba(255,255,255,.05);
}
.t::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,0) 45%, rgba(0,0,0,.18)); pointer-events: none; }
.b::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.3), rgba(0,0,0,0) 30%); pointer-events: none; }
/* colour flaps carry the status the way the coloured tiles on a real board do */
.f.chip .h b { color: transparent; }

/* ── hero foot ── */
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: 34px; }
.tagline { max-width: 22ch; font: 800 clamp(30px, 3.4vw, 46px)/1.05 var(--display); letter-spacing: -0.025em; text-wrap: balance; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 3px 22px 0;
  border-radius: 10px; border: 2.5px solid transparent; font: 800 16px/1 var(--display); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .15s, background-color .15s, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: var(--sun); }
.btn-ink:hover { background: #000; color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--sun); }
.btn-text { padding: 3px 8px 0; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.btn-yellow { background: var(--sun); color: var(--ink); }
.btn-yellow:hover { background: #fff; }
.btn-line-light { border-color: #fff; color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--ink); }

/* ── section signs ── */
.sign {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 7px 10px; border-radius: 10px;
  background: var(--ink); color: #fff; font: 800 clamp(22px, 2.2vw, 28px)/1 var(--display); letter-spacing: -0.01em;
}
.sign-arrow { display: grid; place-items: center; width: 34px; height: 34px; margin-top: -3px; border-radius: 6px; background: var(--sun); color: var(--ink); font-size: 22px; }
.sign-dark { background: var(--sun); color: var(--ink); }
.sign-dark .sign-arrow { background: var(--ink); color: var(--sun); }
.lead { font: 600 clamp(20px, 1.8vw, 24px)/1.45 var(--text); letter-spacing: -0.01em; text-wrap: pretty; }
.small { margin-top: 14px; font-size: 16px; color: var(--grey); }

/* ── offer ── */
.offer { background: var(--paper); padding: 104px 0; }
.offer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: start; }
.offer-copy .sign { margin-bottom: 30px; }
.picto { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.picto li {
  display: flex; flex-direction: column; gap: 14px; padding: 16px 14px 14px; border-radius: 12px;
  background: var(--ink); color: #fff; font: 700 15px/1.2 var(--display); min-height: 148px;
}
.picto svg { width: 46px; height: 46px; padding: 6px; border-radius: 8px; background: var(--sun); color: var(--ink); }
.picto span { margin-top: auto; }

/* ── photos ── */
.photos { background: var(--ink); color: #fff; padding: 96px 0 80px; }
.photos .sign { margin-bottom: 36px; }
.strip { display: flex; gap: 16px; overflow-x: auto; padding: 0 var(--gutter) 18px; scroll-snap-type: x mandatory; scrollbar-color: var(--sun) #2A2A2A; }
.strip:focus-visible { outline-color: var(--sun); outline-offset: -3px; }
.ph { flex: none; width: 380px; scroll-snap-align: start; }
.ph-wide { width: 560px; }
.ph-tall { width: 300px; }
.ph img { width: 100%; height: 420px; object-fit: cover; border-radius: 12px; background: #222; }
.ph figcaption { display: flex; align-items: center; gap: 10px; margin-top: 12px; font: 400 12.5px/1.3 var(--mono); color: #C9C9C9; }
.ph figcaption b { display: grid; place-items: center; min-width: 30px; height: 22px; padding: 2px 6px 0; border-radius: 4px; background: var(--sun); color: var(--ink); font: 800 12px/1 var(--display); }
@media (min-width: 1361px) { .strip { padding-left: calc((100vw - 1280px) / 2 + var(--gutter)); } }

/* ── hours: timetable ── */
.hours { background: var(--paper); padding: 104px 0; }
.hours-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.hours-note { font: 600 15px/1.3 var(--mono); color: var(--ink); }
.hours-note i { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 2px; vertical-align: 0; }
.timetable { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-variant-numeric: tabular-nums; }
.timetable th, .timetable td { text-align: left; padding: 14px 16px 11px; }
.timetable thead th { padding-top: 0; padding-bottom: 6px; font: 600 12px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.timetable tbody th { width: 22%; font: 800 19px/1.1 var(--display); background: #F4F3EF; border-radius: 10px 0 0 10px; }
.timetable tbody td { font: 600 17px/1.1 var(--mono); background: #F4F3EF; white-space: nowrap; }
.timetable tbody td:last-child { border-radius: 0 10px 10px 0; width: 42%; }
.timetable tbody td.closed { color: var(--grey); }
.timetable tr.today th, .timetable tr.today td { background: var(--sun); }
.timetable tr.today th::after { content: attr(data-today); display: inline-block; margin-left: 10px; padding: 4px 7px 2px; border-radius: 4px; background: var(--ink); color: var(--sun); font: 600 11px/1 var(--mono); letter-spacing: .1em; vertical-align: 2px; }
.tl-head { display: flex; justify-content: space-between; }
.tl { position: relative; height: 14px; border-radius: 3px; background: #E2E0D9; }
.today .tl { background: rgba(0,0,0,.14); }
.tl span { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: var(--ink); }
.tl .now { position: absolute; top: -7px; bottom: -7px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--stop); box-shadow: 0 0 0 2px var(--sun); }

/* ── book ── */
.book { padding: 104px 0; }
.book-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.book-copy .sign { margin-bottom: 30px; }
.ticket {
  position: relative; padding: 26px; border-radius: 18px; background: var(--paper);
  box-shadow: 0 0 0 2.5px var(--ink), 6px 6px 0 var(--ink);
}
.ticket-board { display: grid; justify-items: start; padding: 18px; margin-bottom: 22px; border-radius: 12px; background: var(--board); overflow: hidden; }
.flaps-ticket { display: grid; gap: 6px; }
.flaps-ticket .flaps { display: inline-flex; }
.pick + .pick { margin-top: 18px; }
.pick-label { margin-bottom: 10px; font: 600 12px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  min-height: 42px; padding: 4px 14px 1px; border-radius: 8px; border: 2px solid var(--ink); background: var(--paper);
  font: 700 15px/1.15 var(--display); cursor: pointer; text-align: center;
}
.chips button small { display: block; font: 400 12px/1.2 var(--mono); color: var(--grey); }
.chips button:hover { background: #FFF6CF; }
.chips button[aria-checked="true"] { background: var(--ink); color: var(--sun); }
.chips button[aria-checked="true"] small { color: #D9D9D9; }
.chips button:disabled { border-color: #CFCCC4; color: #8A8A8A; background: #F4F3EF; cursor: not-allowed; text-decoration: line-through; }
.chips button:disabled small { color: #8A8A8A; }
.chips-time button { min-width: 72px; font-family: var(--mono); font-weight: 600; }
.pick-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pick-row .pick-label { margin: 0; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; }
.stepper button { width: 48px; height: 44px; border: 0; background: var(--paper); font: 800 22px/1 var(--display); cursor: pointer; }
.stepper button:hover { background: #FFF6CF; }
.stepper button:disabled { color: #B5B5B5; cursor: not-allowed; background: var(--paper); }
.stepper output { min-width: 52px; text-align: center; font: 600 20px/1 var(--mono); }
.ticket-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-top: 22px; border-top: 2px dashed #CFCCC4; }
.btn-wa svg { color: #3DDC79; }

/* ── rating ── */
.rating { background: var(--paper); padding: 104px 0; }
.rating-grid { display: grid; grid-template-columns: auto auto 1fr; gap: 24px 64px; align-items: center; }
.rating-grid .sign { grid-column: 1 / -1; justify-self: start; margin-bottom: 8px; }
.score { display: flex; align-items: flex-start; font: 900 clamp(110px, 13vw, 190px)/.8 var(--display); letter-spacing: -0.06em; padding-top: .08em; }
.score-of { font-size: .25em; letter-spacing: 0; margin: .25em 0 0 .25em; color: var(--grey); }
.rating-side { grid-column: 3; max-width: 520px; }
.rating-count { margin-bottom: 16px; font: 700 18px/1.2 var(--display); }
.bars { display: grid; gap: 9px; }
.bars li { display: grid; grid-template-columns: 40px 1fr 48px; gap: 12px; align-items: center; font: 600 14px/1 var(--mono); }
.bars i { height: 16px; border-radius: 3px; background: #ECEAE4; position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; width: calc(var(--n) * 100%); border-radius: 3px; background: var(--ink); }
.bars li:first-child i::after { background: var(--sun-deep); box-shadow: inset 0 0 0 2px var(--ink); }
.bars b { text-align: right; font-weight: 600; }
.link { display: inline-block; margin-top: 20px; font: 700 16px/1.2 var(--display); text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* ── find ── */
.find { background: var(--ink); color: #fff; padding: 104px 0; }
.find-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.find .sign { margin-bottom: 30px; }
.addr { font: 800 clamp(28px, 2.7vw, 38px)/1.12 var(--display); font-style: normal; letter-spacing: -0.02em; }
.find-note { margin: 14px 0 30px; color: #D0D0D0; font-size: 17px; }
.find :focus-visible { outline-color: var(--sun); }
.map { position: relative; height: 420px; border-radius: 16px; overflow: hidden; background: #2A2A2A; box-shadow: 0 0 0 4px var(--sun); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }

/* ── footer ── */
.foot { background: var(--sun); padding: 72px 0 120px; }
.foot-name { font: 900 clamp(72px, 15vw, 230px)/.82 var(--display); letter-spacing: -0.06em; white-space: nowrap; overflow: hidden; }
.foot-notes { display: grid; gap: 6px; margin-top: 32px; max-width: 70ch; font-size: 14.5px; color: var(--ink-2); }

/* ── phone dock ── */
.dock { display: none; }

/* ── responsive ── */
@media (max-width: 1100px) {
  .offer-grid, .book-grid, .find-grid { grid-template-columns: 1fr; gap: 44px; }
  .picto { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rating-grid { grid-template-columns: auto 1fr; }
  .rating-side { grid-column: 2; }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; --nav-h: 60px; }
  body { font-size: 16px; }
  .nav { gap: 12px; }
  .nav-links { display: none; }
  .mark-name { font-size: 18px; }
  .hero { padding: 22px 12px 44px; }
  .kicker { font-size: 12px; margin: 0 6px 16px; }
  .kicker-arrow { width: 22px; height: 22px; font-size: 13px; flex: none; }
  .board { padding: 16px 12px 20px; border-radius: 16px; }
  .board::before, .board::after { top: 9px; width: 6px; height: 6px; }
  .board::before { left: 9px; }
  .board::after { right: 9px; }
  .board-head { margin-bottom: 12px; padding: 0 6px; }
  .board-name { margin-bottom: 14px; }
  .brow { grid-template-columns: 1fr; row-gap: 6px; }
  .brow-label { padding-left: 2px; }
  .brow-label.cont { display: none; }
  .board-text div { grid-template-columns: 1fr; gap: 4px; }
  .hero-foot { margin: 26px 6px 0; gap: 22px; }
  .tagline { font-size: 30px; }
  .actions { width: 100%; }
  .hero-foot .btn-ink, .hero-foot .btn-line { flex: 1 1 auto; }
  .offer, .hours, .book, .rating, .find { padding: 72px 0; }
  .photos { padding: 72px 0 80px; }
  .picto { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .picto li { min-height: 124px; }
  .ph, .ph-wide, .ph-tall { width: 78vw; }
  .ph img { height: 320px; }
  .timetable thead .tl-head, .timetable td:last-child { display: none; }
  .timetable th, .timetable td { padding: 13px 10px 10px; }
  .timetable tbody th { font-size: 16px; width: auto; }
  .timetable tbody td { font-size: 14px; }
  .timetable tbody td:nth-child(3) { border-radius: 0 10px 10px 0; }
  .timetable tr.today th::after { display: block; width: max-content; margin: 6px 0 0; }
  .ticket { padding: 16px; }
  .ticket-board { padding: 12px; }
  .rating-grid { grid-template-columns: 1fr; gap: 20px; }
  .rating-side { grid-column: 1; }
  .score { font-size: 120px; }
  .map { height: 320px; }
  .foot { padding: 56px 0 110px; }
  .dock {
    position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 4px; padding: 5px; border-radius: 14px; background: var(--ink); box-shadow: 0 10px 30px -8px rgba(0,0,0,.5);
  }
  /* the dock waits until the hero's own buttons have scrolled away */
  .js .dock { transform: translateY(calc(100% + 16px)); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
  .js .dock.show { transform: none; }
  .dock a { display: grid; place-items: center; height: 46px; padding-top: 3px; border-radius: 10px; color: #fff; text-decoration: none; font: 800 14px/1 var(--display); }
  .dock a:first-child { background: var(--sun); color: var(--ink); }
  .dock :focus-visible { outline-color: var(--sun); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
