/* L’Ardoise — three colours only: the slate, the chalk, the red of the awning. */
:root {
  --slate: #191d20;
  --chalk: #f1f1ee;
  --red: #c8322b;

  --step-small: 0.9375rem;
  --step-body: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --step-lead: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem);
  --step-head: clamp(3rem, 1.6rem + 5vw, 6.5rem);

  --m: clamp(20px, 2.4vw, 36px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --display: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
  --text: 'EB Garamond', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--slate); color: var(--chalk); font: 400 var(--step-body)/1.45 var(--text); overflow-x: clip; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: var(--chalk); }
h2, h3, .nav__mark, .btn { font-family: var(--display); font-weight: 400; text-transform: uppercase; }
h2 { font-size: var(--step-head); line-height: 0.92; letter-spacing: -0.01em; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 4px 30px 0; background: var(--red); color: var(--chalk); font-size: 1.5rem; letter-spacing: 0.02em; line-height: 1; text-decoration: none; border: 0; cursor: pointer; transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease); }
.btn:hover { background: var(--chalk); color: var(--slate); }
.btn:active { transform: scale(0.97); }
.btn--small { min-height: 44px; padding: 3px 20px 0; font-size: 1.25rem; }
.btn--block { width: 100%; }
.btn--block:hover { background: var(--slate); color: var(--chalk); }
.link { text-underline-offset: 5px; transition: color 0.2s; }
.link:hover { color: var(--red); }

/* Nav: a plain slate bar. */
.nav { position: sticky; top: 0; z-index: 30; height: 64px; display: flex; align-items: center; gap: 30px; padding: 0 var(--m); background: var(--slate); }
.nav__mark { margin-right: auto; font-size: 1.875rem; line-height: 1; padding-top: 3px; text-decoration: none; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { text-decoration: none; transition: color 0.2s; }
.nav__links a:hover { color: var(--red); }

/* Hero: the slate on the left, the room on the right. */
.hero { display: grid; grid-template-columns: 1fr 1fr; height: calc(100svh - 64px); min-height: 600px; }
.hero__side { padding: var(--m); display: flex; flex-direction: column; gap: clamp(16px, 2.6vh, 28px); justify-content: flex-end; }
.hero h1 { font-weight: 400; }
.hero h1 span { display: block; }
.hero__name { font-family: var(--display); text-transform: uppercase; font-size: min(14.4vw, 34svh); line-height: 0.82; letter-spacing: -0.015em; margin-left: -0.02em; }
.hero__what { margin-top: 12px; font-family: var(--display); text-transform: uppercase; font-size: clamp(1.875rem, 3vw, 3rem); line-height: 1; }
.hero__lead { font-size: var(--step-lead); line-height: 1.25; max-width: 30ch; }
.today { padding: 16px 20px 14px; background: var(--chalk); color: var(--slate); }
.today span { display: block; }
.today__when { font-style: italic; }
.today__dish { display: flex !important; justify-content: space-between; align-items: baseline; gap: 18px; font-family: var(--display); text-transform: uppercase; font-size: clamp(2rem, 3.2vw, 3.25rem); line-height: 1.02; }
.today__price { flex: none; color: var(--red); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero__pic { position: relative; overflow: hidden; }
.hero__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.hero__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 20px; padding: 14px var(--m); background: var(--slate); font-size: 1.0625rem; }

/* Intro: the sauce on the left, the words on the right. */
.intro { padding: clamp(96px, 12vw, 180px) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.intro__pic { grid-column: 1 / 7; aspect-ratio: 5 / 4; overflow: hidden; }
.intro__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.intro__text { grid-column: 8 / 13; display: grid; gap: 28px; }
.intro__lead { font-size: var(--step-lead); line-height: 1.3; }
.facts { display: grid; gap: 4px; }
.facts li { font-size: var(--step-body); }
.facts b { font-family: var(--text); font-weight: 500; color: var(--chalk); }

/* La carte: a printed sheet, the dish holding still beside it. */
.carte { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.carte__pic { position: sticky; top: 64px; height: calc(100svh - 64px); overflow: hidden; }
.carte__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.sheet { margin: 0 auto; width: min(100% - 2 * var(--m), 620px); padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 56px); background: var(--chalk); color: var(--slate); } }
.carte { padding: 0; }
.carte .sheet { margin-block: clamp(32px, 5vw, 72px); }
.sheet h2 { text-align: center; }
.sheet__note { margin-top: 10px; text-align: center; font-style: italic; }
.sheet h3 { margin-top: 64px; font-size: 2.25rem; line-height: 1; text-align: center; color: var(--red); }
.items { margin-top: 14px; display: grid; gap: 12px; }
.items div { display: grid; grid-template-columns: 1fr auto; column-gap: 20px; align-items: baseline; }
.items dt { font-weight: 500; font-size: 1.3125rem; line-height: 1.2; }
.items dd { font-weight: 500; font-size: 1.3125rem; font-variant-numeric: lining-nums tabular-nums; }
.items p { grid-column: 1 / -1; font-style: italic; line-height: 1.25; }

/* À la table: two tall columns, one set lower than the other. */
.plats { padding: clamp(96px, 12vw, 180px) var(--m); }
.plats__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; margin-bottom: 36px; }
.plats__head h2 { grid-column: 1 / 8; }
.plats__head p { grid-column: 8 / 13; font-size: var(--step-lead); line-height: 1.25; }
.plats__cols { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: start; }
.plats__col { display: grid; gap: 40px; }
.plats__col + .plats__col { margin-top: clamp(40px, 8vw, 120px); }
.plat { overflow: hidden; }
.plat img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: scale 0.9s var(--ease); }
.plat--tall img { aspect-ratio: 4 / 5; }
.plats__col + .plats__col .plat--tall img { aspect-ratio: 5 / 6; }
.plat:hover img { scale: 1.03; }
.plat figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 12px; }
.plat b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.75rem, 2.4vw, 2.5rem); line-height: 1; }
.plat span { flex: none; font-size: var(--step-lead); color: var(--chalk); font-variant-numeric: lining-nums; }

/* The morning: a whole red field, the hours and the service on film. */
.service { background: var(--red); color: var(--chalk); padding: clamp(72px, 9vw, 130px) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.service__text { grid-column: 1 / 6; display: grid; gap: 32px; }
.service__film { grid-column: 6 / 13; aspect-ratio: 16 / 10; overflow: hidden; background: var(--slate); }
.service__film video { width: 100%; height: 100%; object-fit: cover; }
.hours { display: grid; gap: 8px; }
.hours li { display: grid; grid-template-columns: 4em 1fr; gap: 12px; align-items: baseline; line-height: 1.25; }
.hours b { font-family: var(--display); font-weight: 400; font-size: 1.625rem; line-height: 1; }

/* L’ardoise de la semaine: six days chalked on the slate. */
.semaine { padding: clamp(96px, 12vw, 180px) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.semaine__side { grid-column: 1 / 6; display: grid; gap: 22px; }
.semaine__side > p { font-size: var(--step-lead); line-height: 1.25; max-width: 26ch; }
.semaine__side figure { width: 66%; aspect-ratio: 4 / 5; overflow: hidden; }
.semaine__side img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.days { grid-column: 6 / 13; display: grid; gap: 6px; }
.days a { display: grid; grid-template-columns: 6.5em 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.days a:hover { background: var(--chalk); color: var(--slate); }
.days__name { font-style: italic; font-size: var(--step-lead); line-height: 1; }
.days__dish { display: block; font-family: var(--display); text-transform: uppercase; font-size: clamp(2rem, 3.4vw, 3.5rem); line-height: 1; }
.days__what { display: grid; gap: 2px; }
.days__more { line-height: 1.25; }
.days__price { font-family: var(--display); font-size: clamp(2rem, 3.4vw, 3.5rem); line-height: 1; }
.days li.is-today a { background: var(--red); color: var(--chalk); }
.days li.is-today a:hover { background: var(--chalk); color: var(--slate); }

/* Venir: the terrace, and one solid card on it. */
.venir { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: flex-end; padding: 64px var(--m); overflow: hidden; }
.venir__pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; }
.card { position: relative; width: min(100%, 480px); padding: 32px; background: var(--chalk); color: var(--slate); display: grid; gap: 12px; }
.card h2 { font-size: 3.5rem; }
.status { font-style: italic; color: var(--red); font-weight: 500; }
.book { margin-top: 10px; display: grid; gap: 12px; }
.book h3 { font-size: 2rem; line-height: 1; }
.pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pick--four { grid-template-columns: repeat(4, 1fr); }
.pick button { min-height: 52px; padding: 4px 2px; border: 2px solid var(--slate); background: none; color: var(--slate); font-size: 1.0625rem; line-height: 1.05; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.pick button small { display: block; font-size: 0.9375rem; }
.pick button:hover { background: var(--slate); color: var(--chalk); }
.pick button[aria-pressed="true"] { background: var(--slate); color: var(--chalk); }
.covers { display: grid; grid-template-columns: 1fr 48px 40px 48px; align-items: center; gap: 6px; }
.covers button { height: 48px; border: 2px solid var(--slate); background: none; color: var(--slate); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.covers button:hover { background: var(--slate); color: var(--chalk); }
.covers output { text-align: center; font-family: var(--display); font-size: 1.875rem; line-height: 1; }
.book__sum { font-style: italic; }

/* Footer: the phone number is the close. */
.foot { padding: clamp(56px, 7vw, 96px) var(--m) 24px; }
.foot__tel { display: block; font-family: var(--display); font-size: min(17.6vw, 26rem); line-height: 0.86; text-decoration: none; white-space: nowrap; transition: color 0.25s; }
.foot__tel:hover { color: var(--red); }
.foot__row { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.credits { margin-top: 32px; font-size: var(--step-small); max-width: 90ch; }
.credits summary { cursor: pointer; }
.foot__legal { margin-top: 12px; font-size: var(--step-small); }

/* Entrances, once, as a section arrives. */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] { opacity: 0; translate: 0 24px; transition: opacity 0.9s var(--ease), translate 0.9s var(--ease); }
  html.js [data-reveal].in { opacity: 1; translate: 0 0; }
  html.js .hero__side > * { animation: rise 0.9s var(--ease) backwards; }
  html.js .hero__side > *:nth-child(2) { animation-delay: 0.08s; }
  html.js .hero__side > *:nth-child(3) { animation-delay: 0.16s; }
  html.js .hero__side > *:nth-child(4) { animation-delay: 0.24s; }
  .hero__pic img { animation: drift 14s ease-out both; }
  @keyframes rise { from { opacity: 0; translate: 0 24px; } }
  @keyframes drift { from { scale: 1.07; } }
}

@media (max-width: 1023px) {
  .nav__links { display: none; }
  .hero { height: auto; min-height: 0; grid-template-columns: 1fr; }
  .hero__pic { order: -1; height: 38svh; }
  .hero__name { font-size: 24.5vw; }
  .hero__what { font-size: 7vw; }
  .hero__lead { max-width: none; }
  .today__dish { font-size: 7.4vw; }
  .intro, .service, .semaine, .plats__head { grid-template-columns: minmax(0, 1fr); }
  .intro__pic, .intro__text { grid-column: 1; }
  .carte { grid-template-columns: 1fr; }
  .carte__pic { position: static; height: 56svh; }
  .carte .sheet { width: calc(100% - 20px); max-width: 680px; }
  .plats__head h2, .plats__head p { grid-column: 1; }
  .service__text, .service__film { grid-column: 1; }
  .service { gap: 36px; }
  .semaine__side, .days { grid-column: 1; }
  .semaine__side figure { display: none; }
  .semaine { gap: 32px; }
}

@media (max-width: 767px) {
  .nav { height: 58px; }
  .carte__pic { top: 0; }
  html { scroll-padding-top: 64px; }
  .hero__side { padding: 18px 20px 28px; gap: 14px; }
  .hero__pic { height: 40svh; }
  .hero__bar { display: none; }
  .hero__lead { font-size: 1.25rem; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .link { display: none; }
  .intro { padding: 72px 20px; }
  .plats { padding: 72px 20px; }
  .plats__cols { grid-template-columns: 1fr; }
  .plats__col { gap: 28px; }
  .plats__col + .plats__col { margin-top: 4px; }
  .plat:nth-child(2) { width: 88%; margin-left: auto; }
  .plat--tall img, .plats__col + .plats__col .plat--tall img { aspect-ratio: 4 / 5; }
  .days a { grid-template-columns: 1fr auto; padding: 14px 16px; gap: 2px 12px; }
  .days__name { grid-column: 1 / -1; }
  .days__dish { font-size: 2rem; }
  .days__price { font-size: 2rem; align-self: start; }
  .venir { display: block; padding: 0; min-height: 0; }
  .venir__pic { position: static; height: 62svh; }
  .card { width: calc(100% - 32px); margin: -80px auto 0; padding: 24px 20px; }
  .card h2 { font-size: 3rem; }
  .foot__row { grid-template-columns: 1fr; gap: 8px; }
}
