/* ==========================================================================
   Chez Moi — French dining in Bognor Regis
   Design tokens, base styles, and page components.
   ========================================================================== */

:root {
  /* Navy palette (Home) */
  --navy: #14294A;
  --navy-deep: #0E1E38;
  --navy-mid: #193259;
  --navy-slot: #223E6B;
  --navy-slot-dark: #15223D;
  --ivory: #ECE3D4;
  --ivory-soft: #E2D9CA;
  --ivory-muted: #C6BDB0;
  --sky: #8FB4D4;
  --gold: #D4B36A;
  --cream: #F4EFE8; /* Home hero */
  --brass: #B89C6A; /* underlines on the cream hero */
  --flag-blue: #0055A4;
  --flag-white: #F4F1EA;
  --flag-red: #EF4135;
  --tricolore: linear-gradient(90deg, var(--flag-blue) 0 33.34%, var(--flag-white) 33.34% 66.67%, var(--flag-red) 66.67% 100%);
  --steel: #A9B4C0;
  --silver: #D1D3D2;

  /* Type */
  --serif: 'EB Garamond', Garamond, 'Times New Roman', serif;

  /* Layout */
  --gutter: clamp(18px, 4vw, 56px);
  --content-width: 1360px;
  --section-y: clamp(60px, 9vw, 160px);
  --label-size: 13.5px;
  --label-track: 0.18em;
  --overlap: clamp(50px, 7vw, 120px); /* how far the private dining photo rides up over the About section */
  --header-h: clamp(70px, 6.5vw, 92px); /* the navy bar pinned to the top of every page */
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h); /* anchor links land below the pinned header */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--serif);
  background: var(--navy);
  color: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .5s ease, border-color .5s ease, background-color .55s ease, opacity .6s ease;
}

img { max-width: 100%; display: block; }

h1, h2, h3, p, blockquote { margin: 0; }

h1, h2, h3 {
  font-weight: 400;
  letter-spacing: -0.02em;
}

.container {
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* One content width for every section so edges line up down the page.
   (--menu is the narrower reading measure used for the menu lists.) */
.container--text,
.container--wide,
.container--full { max-width: var(--content-width); }
.container--menu { max-width: 1000px; }

.label {
  font-size: var(--label-size);
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  line-height: 2;
}

.pretty { text-wrap: pretty; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--ivory);
  padding: 19px 42px;
  font-family: var(--serif);
  font-size: clamp(13px, 1.15vw, 14.5px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .55s ease, color .55s ease, border-color .7s ease;
}

.btn:hover { background: rgba(236, 227, 212, 0.14); color: var(--ivory); }

.btn--small { padding: 15px clamp(20px, 2.2vw, 34px); }

/* Solid navy, for light backgrounds. */
.btn--navy {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  padding: 22px clamp(42px, 4.2vw, 60px);
}

.btn--navy:hover { background: var(--navy); color: var(--ivory); }

.link-underline {
  display: inline-block;
  padding: 20px 4px 10px;
  font-size: clamp(13px, 1.15vw, 14.5px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  border-bottom: 1px solid rgba(236, 227, 212, 0.55);
}

.link-underline:hover { border-bottom-color: var(--ivory); color: var(--ivory); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

/* One navy bar on every page, pinned to the top of the window while scrolling:
   links on the left, the wordmark centred, booking on the right. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy-deep);
  color: var(--ivory);
  box-shadow: 0 1px 0 rgba(236, 227, 212, 0.12); /* hairline that adds no height */
}

.site-header__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(12px, 3vw, 40px);
}

.site-header__brand {
  grid-column: 2;
  grid-row: 1;
  display: block;
  padding: 14px 0;
  line-height: 0;
}

.site-header__brand img {
  height: clamp(40px, 3.9vw, 60px);
  width: auto;
}

.site-nav {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 2.6vw, 42px);
  font-size: clamp(12.5px, 1.1vw, 14px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-nav__link {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .5s ease, color .7s ease;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] { border-bottom-color: currentColor; }

.site-nav__link:hover { color: inherit; }

.site-header__book {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.site-header__brand-navy { display: none; }

/* Home: clear over the cream hero, in navy, from the first paint; main.js adds is-solid once the page scrolls. */
.js .site-header--overlay {
  position: fixed;
  left: 0;
  right: 0;
  transition: background-color .35s ease, color .35s ease, box-shadow .35s ease;
}

.js .site-header--overlay .site-header__inner { transition: padding-top .35s ease; }

.js body:not(.menu-open) .site-header--overlay:not(.is-solid) {
  background: transparent;
  color: var(--navy-deep);
  box-shadow: none;
}

/* A little more room above the links while the header sits over the photo. */
.js body:not(.menu-open) .site-header--overlay:not(.is-solid) .site-header__inner { padding-top: clamp(0px, 3.1vw, 45px); }

.js body:not(.menu-open) .site-header--overlay:not(.is-solid) .site-header__brand img { display: none; }
.js body:not(.menu-open) .site-header--overlay:not(.is-solid) .site-header__brand .site-header__brand-navy { display: block; }

.js body:not(.menu-open) .site-header--overlay:not(.is-solid) .site-nav__link:hover,
.js body:not(.menu-open) .site-header--overlay:not(.is-solid) .site-nav__link[aria-current="page"] { border-bottom-color: var(--brass); }

.js body:not(.menu-open) .site-header--overlay:not(.is-solid) .nav-toggle { color: var(--navy-deep); }

.js body:not(.menu-open) .site-header--overlay:not(.is-solid) .site-header__book { color: var(--navy-deep); border-color: var(--navy-deep); }
.js body:not(.menu-open) .site-header--overlay:not(.is-solid) .site-header__book:hover { background: rgba(14, 30, 56, 0.08); }

/* Hamburger (small screens only) ---------------------------------------- */

.nav-toggle {
  display: none;
  position: relative;
  z-index: 120; /* stays above the open menu and morphs into its close button */
  width: 44px;
  height: 44px;
  padding: 0;
  margin-right: -8px;
  background: transparent;
  border: 0;
  color: var(--ivory);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: color .3s ease;
}

.nav-toggle__bar {
  display: block;
  width: 26px;
  height: 1.5px;
  background: currentColor;
  transform-origin: center;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}

/* Two lines → cross: each bar slides to the centre and rotates. */
.nav-toggle.is-open .nav-toggle__bar:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bar:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* While open, the header (same navy as the overlay) stays on top so its wordmark and close button stay put. */
body.menu-open .site-header { z-index: 120; box-shadow: none; }

/* Small tablets: tighter links so all four fit beside the centred wordmark. */
@media (min-width: 768px) and (max-width: 1023px) {
  .site-nav { gap: 14px; letter-spacing: 0.16em; }
}

@media (max-width: 767px) {
  .site-nav,
  .site-header__book { display: none; }
  .site-header__brand { grid-column: 1; justify-self: start; }
  .nav-toggle { display: inline-flex; grid-column: 3; grid-row: 1; justify-self: end; }
}

/* Full-screen menu ------------------------------------------------------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 0 0 max(24px, env(safe-area-inset-bottom));
  background: var(--navy-deep);
  color: var(--ivory);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility 0s linear .45s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .45s ease, visibility 0s;
}

body.menu-open { overflow: hidden; }

/* Same classes as the page header, so the wordmark sits exactly where it already was. */
.mobile-menu__top { width: 100%; }

.mobile-menu__links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 24px var(--gutter);
}

.mobile-menu__link {
  display: inline-block;
  align-self: flex-start;
  font-size: clamp(38px, 11vw, 56px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ivory);
  border-bottom: 1px solid transparent;
}

.mobile-menu__link[aria-current="page"] { border-bottom-color: rgba(236, 227, 212, 0.55); }

.mobile-menu__foot {
  margin: 0 var(--gutter);
  padding-top: 24px;
  border-top: 1px solid rgba(236, 227, 212, 0.2);
}

.mobile-menu__foot .btn { width: 100%; text-align: center; }

.mobile-menu__phone {
  font-size: 24px;
  margin-top: 22px;
}

.mobile-menu__phone a { color: var(--ivory); border-bottom: 1px solid rgba(236, 227, 212, 0.4); }

.mobile-menu__address {
  font-size: 16px;
  color: var(--steel);
  margin-top: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu { transition: none; }
}

/* --------------------------------------------------------------------------
   Tricolore divider — a slim blue / white / red rule
   -------------------------------------------------------------------------- */

.tricolore {
  position: relative;
  height: 5px;
  overflow: hidden;
}

/* Two viewport-wide tiles side by side; main.js translates this strip sideways
   on scroll and wraps it every 100vw, so the bands slide without a seam. */
.tricolore::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 200vw;
  background-image: var(--tricolore);
  background-size: 100vw 100%;
  background-repeat: repeat-x;
  transform: var(--tricolore-shift, none);
  will-change: transform;
}

/* Tricolore underline beneath a heading, sized to the text. */
.tricolore-underline {
  width: max-content;
  max-width: 100%;
}

.tricolore-underline::after {
  content: '';
  display: block;
  height: 5px;
  margin-top: clamp(14px, 1.6vw, 24px);
  background-image: var(--tricolore);
}

/* --------------------------------------------------------------------------
   Image slots
   Swap the placeholder for a real photo by dropping an <img> inside .slot
   and removing the data-placeholder attribute.
   -------------------------------------------------------------------------- */

.slot-frame {
  overflow: hidden;
  background: var(--navy-slot);
}

.slot-frame--dark { background: var(--navy-slot-dark); }

.slot {
  position: relative;
  width: 100%;
  display: block;
  margin: 0; /* figure's UA margin would inset the photo inside its frame */
}

.slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slot--bottom img { object-position: center bottom; }
.slot--upper img { object-position: center 42%; }

.slot[data-placeholder]::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  font-style: italic;
  font-size: clamp(16px, 1.4vw, 20px);
  color: rgba(236, 227, 212, 0.55);
  background:
    linear-gradient(135deg, rgba(236, 227, 212, 0.05) 0%, rgba(236, 227, 212, 0) 60%);
  border: 1px solid rgba(236, 227, 212, 0.12);
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  will-change: opacity, transform;
}

/* Text: a short, small lift. */
.js [data-reveal="up"] {
  transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease;
}

/* Images: fade only. */
.js [data-reveal="img"] {
  transition: opacity 1.2s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   HOME
   ========================================================================== */

/* Hero ------------------------------------------------------------------ */

/* The photo fills the window under the clear header and fades to cream at the
   bottom, behind the address, booking and awards. */
.hero {
  --hero-fade: 38%; /* how far up the cream fade reaches */
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: var(--cream);
  color: var(--navy-deep);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  container-type: size;
}

/* The plate's centre is 47% across the photo (1500 × 1120), so the photo is drawn a
   little wider than the frame and slid across until the curve of the plate is centred.
   106.4cqw keeps the left edge covered; 134cqh keeps the height covered. */
.hero__media img {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 107%;
  width: max(106.4cqw, 134cqh);
  max-width: none;
  height: auto;
  transform: translate(-47%, -45%);
}

/* A light cream wash under the header, and the fade behind the row at the bottom. */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(244, 239, 232, 0.6) 0%, rgba(244, 239, 232, 0) 22%),
    linear-gradient(to top, var(--cream) 0%, rgba(244, 239, 232, 0.94) calc(var(--hero-fade) * 0.4), rgba(244, 239, 232, 0) var(--hero-fade));
}

/* Address on the left, booking in the middle, awards on the right. */
.hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(32px, 6vh, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px clamp(24px, 3vw, 48px);
}

.hero__address {
  justify-self: start;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  line-height: 2.2;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px clamp(24px, 3vw, 44px);
  align-items: center;
  justify-content: center;
}

.hero .link-underline { color: var(--navy-deep); border-bottom-color: var(--brass); }
.hero .link-underline:hover { color: var(--navy-deep); border-bottom-color: var(--navy-deep); }

.hero__proof {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 36px);
}

.hero__rating {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 16px);
}

.hero__rating-score {
  font-size: clamp(30px, 2.8vw, 40px);
  line-height: 0.9;
}

/* The ivory logo used as a stencil, filled navy. */
.hero__tripadvisor {
  display: block;
  height: clamp(22px, 1.9vw, 27px);
  aspect-ratio: 867 / 229;
  background: var(--navy-deep);
  -webkit-mask: url("../assets/tripadvisor-ivory.png") center / contain no-repeat;
  mask: url("../assets/tripadvisor-ivory.png") center / contain no-repeat;
}

.hero__divider {
  width: 1px;
  height: clamp(30px, 3vw, 44px);
  background: var(--brass);
}

.hero__award {
  display: block;
  width: clamp(118px, 10vw, 144px);
}

.hero__award:hover { opacity: 0.8; }

.hero__award img { width: 100%; height: auto; }

/* Narrower screens: the three parts stack in the middle, booking first. */
@media (max-width: 1279px) {
  .hero { --hero-fade: 52%; }

  .hero__content {
    display: flex;
    flex-direction: column;
    gap: 22px;
    text-align: center;
  }

  .hero__address { order: 1; }
  .hero__proof { order: 2; }
}

/* Phones: a full-height frame would crop the landscape photo to a sliver,
   so the photo gets a 4:5 frame that fits the whole dish, with the rest below it. */
@media (max-width: 767px) {
  .hero {
    --hero-fade: 30%;
    height: auto;
    min-height: 0;
  }

  .hero__media {
    position: relative;
    aspect-ratio: 4 / 5;
  }

  .hero__content {
    position: relative;
    margin-top: -40px;
  }
}

/* Intro ----------------------------------------------------------------- */

.intro {
  padding-top: clamp(60px, 10vw, 170px);
  padding-bottom: clamp(60px, 10vw, 170px);
}

.intro__title { max-width: 20ch; }

/* Title on the left, the house logo in a white circle on the right. */
.intro__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 72px);
}

.intro__logo {
  flex: none;
  width: clamp(130px, 15vw, 220px);
  height: auto;
  border-radius: 50%;
  background: #fff;
  outline: 1px solid rgba(236, 227, 212, 0.35);
  outline-offset: clamp(6px, 0.8vw, 10px);
}

/* Phones: the logo sits above the title. */
@media (max-width: 767px) {
  .intro__head {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 32px;
  }

  .intro__logo { width: 120px; }
}

.intro__columns {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(40px, 5vw, 78px);
}

.intro__lead {
  flex: 1 1 320px;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.62;
  color: var(--ivory-soft);
}

.intro__body {
  flex: 1 1 320px;
}

.body-copy {
  font-size: clamp(16.5px, 1.35vw, 18.5px);
  line-height: 1.85;
  color: var(--ivory-muted);
}

/* Food ------------------------------------------------------------------ */

.food {
  padding-bottom: clamp(60px, 9vw, 150px);
}

.food__wide .slot { height: clamp(300px, 58vh, 720px); }

.food__row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(28px, 4vw, 64px);
  align-items: center;
}

.food__tall { flex: 1 1 300px; }
.food__tall .slot { aspect-ratio: 4 / 5; }
.food__tall .slot img { object-position: center 75%; } /* portrait shot: whole plate and glass, less empty table above */

.food__text {
  flex: 1 1 320px;
  padding-bottom: clamp(8px, 3vw, 48px);
}

.food__text .body-copy {
  margin-top: clamp(22px, 3vw, 34px);
  max-width: 46ch;
}

.food__text .body-copy + .body-copy { margin-top: 1em; }

/* Room ------------------------------------------------------------------ */

.room {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.room__grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 90px);
  align-items: center;
}

.room__text {
  flex: 1 1 340px;
  min-width: min(280px, 100%);
}

.room__media {
  flex: 1 1 480px;
  min-width: min(280px, 100%);
}

.room__media .slot { aspect-ratio: 4 / 5; }
.room__media .slot img { object-position: center 85%; } /* portrait shot: whole plate, less empty table above */

/* Every section heading on the Home page shares this size. */
.section-title,
.intro__title,
.reviews__title {
  font-size: clamp(34px, 4.6vw, 68px);
  line-height: 1.06;
}

.section-title { max-width: 18ch; }

.room__text .body-copy {
  margin-top: clamp(26px, 3vw, 40px);
  line-height: 1.9;
  max-width: 48ch;
}

/* About ----------------------------------------------------------------- */

.about {
  background: var(--navy-mid);
  border-top: 1px solid rgba(236, 227, 212, 0.12);
}

.about .container {
  padding-top: var(--section-y);
  /* The private dining photo rides up over the bottom of this section. */
  padding-bottom: calc(var(--section-y) * 0.6 + var(--overlap));
}

.about__grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 90px);
}

.about__media {
  flex: 1 1 380px;
  min-width: min(280px, 100%);
}

.about__media .slot { aspect-ratio: 4 / 5; }
.about__media .slot img { object-position: center 95%; } /* portrait shot: whole plate, less empty table above */

.about__text {
  flex: 1 1 380px;
  min-width: min(280px, 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about__text .section-title { max-width: 20ch; }

.about__lead {
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.62;
  color: var(--ivory-soft);
  margin-top: clamp(26px, 3vw, 40px);
  max-width: 44ch;
}

.about__text .body-copy {
  margin-top: clamp(20px, 2.4vw, 30px);
  line-height: 1.9;
  max-width: 48ch;
}

/* Private dining -------------------------------------------------------- */

.private {
  background: var(--navy-deep);
}

.private .container {
  padding-top: 0;
  padding-bottom: clamp(60px, 9vw, 150px);
  display: flow-root; /* stop the photo's negative margin collapsing through and dragging the seam up */
}

/* Pulled up so the photo straddles the seam with the About section above. */
.private__media {
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * var(--overlap));
}

/* Capped at 62vw so narrow screens stay about 3:2 and the whole plate fits. */
.private__media .slot { height: clamp(200px, min(60vh, 62vw), 700px); }

.private__row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 80px);
  margin-top: clamp(36px, 5vw, 72px);
  align-items: flex-start;
}

.private__row .section-title {
  flex: 1 1 380px;
  max-width: 20ch;
}

.private__text { flex: 1 1 340px; }

.private__text .body-copy {
  line-height: 1.9;
  color: rgba(236, 227, 212, 0.86);
  max-width: 46ch;
}

.private__text .btn { margin-top: clamp(26px, 3vw, 40px); }

/* Tablet and up: photo and text stay side by side. Wrapping would stretch the
   portrait photos to full width and strand the text in half the row. */
@media (min-width: 768px) {
  .food__row,
  .room__grid,
  .about__grid {
    flex-wrap: nowrap;
    align-items: center;
  }
}

/* Reviews --------------------------------------------------------------- */

.reviews {
  padding: clamp(60px, 10vw, 160px) 0;
}

.reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
}


.reviews__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: clamp(28px, 4vw, 56px);
}

.reviews__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  color: rgba(236, 227, 212, 0.75);
  cursor: pointer;
  transition: color .4s ease, transform .5s cubic-bezier(.22, .61, .36, 1);
}

.reviews__arrow svg { width: 32px; height: 17px; }
.reviews__arrow:hover { color: var(--ivory); }
.reviews__arrow[data-review-prev]:hover { transform: translateX(-4px); }
.reviews__arrow[data-review-next]:hover { transform: translateX(4px); }
.reviews__arrow:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

.reviews__track {
  margin-top: clamp(34px, 5vw, 70px);
  display: flex;
  gap: clamp(24px, 4vw, 72px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0 clamp(18px, 7vw, 120px);
  cursor: grab;
}

.reviews__track::-webkit-scrollbar { display: none; }

.reviews__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }

.review {
  flex: 0 0 min(680px, 86%);
  margin: 0; /* figure's UA margin would push the neighbouring cards off screen */
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 52px);
  background: var(--navy-mid);
  border: 1px solid rgba(236, 227, 212, 0.18);
}

.review__stars {
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: 0.18em;
  line-height: 1;
  color: var(--gold);
  margin-bottom: clamp(20px, 2.4vw, 30px);
}

.review__quote {
  font-size: clamp(21px, 2.4vw, 34px);
  line-height: 1.34;
  letter-spacing: -0.01em;
  color: var(--ivory);
}

.review__source {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.5;
  color: var(--steel);
  margin-top: auto;
  padding-top: clamp(22px, 2.6vw, 34px);
}

/* Phones: narrower cards so the neighbours overlap the screen edges, a cue to swipe. */
@media (max-width: 767px) {
  .reviews__track {
    gap: 14px;
    padding: 0 var(--gutter);
    scroll-padding: 0 var(--gutter);
  }

  .review { flex-basis: 84%; }
}

/* Footer ---------------------------------------------------------------- */

.site-footer {
  background: var(--navy-deep);
  color: var(--ivory);
}

.site-footer .container {
  padding-top: clamp(60px, 9vw, 140px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.site-footer__title {
  font-size: clamp(40px, 8vw, 120px);
  line-height: 0.94;
  margin-bottom: clamp(40px, 6vw, 90px);
}

.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 80px);
}

.site-footer__contact { flex: 1 1 250px; }
.site-footer__address { flex: 1 1 220px; }
.site-footer__hours { flex: 1 1 380px; max-width: 560px; }

.site-footer__phone {
  font-size: clamp(21px, 1.8vw, 27px);
  line-height: 1.6;
}

.site-footer__phone a {
  color: var(--ivory);
  border-bottom: 1px solid rgba(236, 227, 212, 0.4);
}

.site-footer__phone a:hover { border-bottom-color: var(--ivory); color: var(--ivory); }

.site-footer__email {
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.6;
  margin-top: 14px;
}

.site-footer__email a {
  color: rgba(236, 227, 212, 0.86);
  border-bottom: 1px solid rgba(236, 227, 212, 0.4);
}

.site-footer__email a:hover { border-bottom-color: var(--ivory); color: var(--ivory); }

.site-footer__note {
  font-size: 16.5px;
  line-height: 1.85;
  color: rgba(236, 227, 212, 0.78);
  margin-top: clamp(22px, 3vw, 34px);
}

.site-footer__address p {
  font-size: 16.5px;
  line-height: 1.9;
  color: rgba(236, 227, 212, 0.86);
}

/* Opening hours: one row per day, each time with its service beneath it.
   Breakfast, lunch and dinner always fall in the same column. */
.hours-list { margin: 0; }

.hours {
  display: grid;
  grid-template-columns: 6.2em minmax(0, 1fr);
  gap: 6px 14px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(236, 227, 212, 0.2);
  font-size: 16px;
  color: rgba(236, 227, 212, 0.88);
}

.hours:last-child { border-bottom: 0; }

.hours__day { color: var(--ivory); }

.hours__slots {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 14px;
}

.hours__slot {
  display: flex;
  flex-direction: column;
}

/* Each service keeps its column, so a day with only lunch or dinner still lines up. */
.hours__slot--breakfast { grid-column: 1; }
.hours__slot--lunch { grid-column: 2; }
.hours__slot--dinner { grid-column: 3; }

.hours__time { white-space: nowrap; }

.hours__service {
  margin-top: 2px;
  font-size: 14px;
  color: var(--steel);
}

.hours__closed { grid-column: 1 / -1; }

/* Narrow phones: the day sits above its times. */
@media (max-width: 479px) {
  .hours { grid-template-columns: minmax(0, 1fr); }
}

.site-footer__extra {
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(236, 227, 212, 0.74);
  margin-top: clamp(20px, 2.4vw, 30px);
}

.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(48px, 7vw, 110px);
  padding-top: clamp(20px, 3vw, 32px);
  border-top: 1px solid rgba(236, 227, 212, 0.2);
  font-size: 13px;
  letter-spacing: var(--label-track);
  text-transform: uppercase;
  color: rgba(236, 227, 212, 0.62);
}

.site-footer__bar-brand {
  letter-spacing: 0.28em;
  font-size: 15px;
  color: rgba(236, 227, 212, 0.88);
}

.site-footer__bar img {
  height: 26px;
  width: auto;
}

/* Designer credit: a small line under the bar. */
.site-footer__credit {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__credit a { color: rgba(236, 227, 212, 0.45); }
.site-footer__credit a:hover { color: var(--ivory); }

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact-hero {
  padding-top: clamp(50px, 8vw, 120px);
  padding-bottom: clamp(50px, 7vw, 110px);
}

.contact-hero__title {
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.94;
}

.contact-hero__grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 6vw, 110px);
  margin-top: clamp(40px, 5vw, 72px);
  align-items: flex-start;
}

.contact-hero__primary { flex: 1 1 380px; }
.contact-hero__hours { flex: 1 1 380px; max-width: 560px; }

.contact-hero__lead {
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.6;
  color: var(--ivory-soft);
  max-width: 40ch;
}

.contact-hero__phone,
.contact-hero__email {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.4;
}

.contact-hero__phone { margin-top: clamp(26px, 3vw, 40px); }

.contact-hero__phone a {
  color: var(--ivory);
  border-bottom: 1px solid rgba(236, 227, 212, 0.4);
}

.contact-hero__phone a:hover { border-bottom-color: var(--ivory); color: var(--ivory); }

.contact-hero__email { margin-top: 12px; }

.contact-hero__email a {
  color: rgba(236, 227, 212, 0.86);
  border-bottom: 1px solid rgba(236, 227, 212, 0.4);
}

.contact-hero__email a:hover { border-bottom-color: var(--ivory); color: var(--ivory); }

/* Find us --------------------------------------------------------------- */

.find {
  background: var(--navy-deep);
  border-top: 1px solid rgba(236, 227, 212, 0.12);
}

.find .container {
  padding-top: clamp(56px, 8vw, 130px);
  padding-bottom: clamp(56px, 8vw, 130px);
}

.find__grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 90px);
  align-items: center;
}

.find__text { flex: 1 1 300px; max-width: 480px; }
.find__map { flex: 1 1 480px; min-width: min(280px, 100%); }

.find__address {
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.6;
  color: var(--ivory-soft);
  margin-top: clamp(26px, 3vw, 40px);
}

.find__text .body-copy { margin-top: clamp(20px, 2.4vw, 30px); max-width: 42ch; }
.find__text .btn { margin-top: clamp(26px, 3vw, 40px); }

.find__map iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 56vh, 620px);
  border: 0;
  filter: saturate(0.55) contrast(1.05);
}

/* ==========================================================================
   MENUS
   ========================================================================== */

.menus-hero {
  padding-top: clamp(50px, 8vw, 120px);
  padding-bottom: clamp(40px, 6vw, 90px);
  text-align: center;
}

.menus-hero__title {
  font-size: clamp(54px, 10vw, 150px);
  line-height: 0.94;
  letter-spacing: -0.025em;
}

.menus-hero__lead {
  font-size: clamp(20px, 1.9vw, 27px);
  line-height: 1.55;
  color: var(--ivory-soft);
  margin: clamp(26px, 3vw, 44px) auto 0;
  max-width: 46ch;
}

/* Menus index — set like the cover of a printed carte: centred, typographic,
   service names between hairlines, each menu large with its times beneath. */

.carte {
  max-width: 760px;
  margin: clamp(48px, 7vw, 104px) auto 0;
  text-align: center;
}

.carte__group + .carte__group { margin-top: clamp(40px, 5vw, 72px); }

.carte__service {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--steel);
  margin-bottom: clamp(8px, 1vw, 14px);
}

.carte__service::before,
.carte__service::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(236, 227, 212, 0.22);
}

.carte__item {
  padding: clamp(14px, 1.6vw, 22px) 0;
}

.carte__name {
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.carte__meta {
  margin-top: 8px;
  font-size: clamp(15px, 1.2vw, 17.5px);
  line-height: 1.5;
  color: var(--steel);
}

/* Each menu opens from its own button, not from its name. */
.carte__btn { margin-top: clamp(16px, 1.8vw, 24px); }

/* Menu sections --------------------------------------------------------- */

.menu {
  border-top: 1px solid rgba(236, 227, 212, 0.1);
}

.menu--alt { background: var(--navy-mid); }

.menu .container {
  padding-top: clamp(56px, 8vw, 140px);
  padding-bottom: clamp(56px, 8vw, 140px);
}

.menu__back {
  display: inline-block;
  margin-bottom: clamp(22px, 3vw, 40px);
  font-size: 17px;
  color: var(--steel);
  border-bottom: 1px solid transparent;
}

.menu__back:hover {
  color: var(--ivory);
  border-bottom-color: rgba(236, 227, 212, 0.5);
}

.menu__back span {
  display: inline-block;
  margin-right: 4px;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}

.menu__back:hover span { transform: translateX(-4px); }

.menu__back--bottom {
  margin: clamp(40px, 5vw, 72px) 0 0;
}

.menu__title {
  font-size: clamp(36px, 5.6vw, 80px);
  line-height: 1;
}

/* The lines under the title: when it's served, then prices. */
.menu__detail {
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.5;
  color: var(--ivory-soft);
  margin-top: clamp(6px, 0.8vw, 10px);
}

.menu__title + .menu__detail { margin-top: clamp(16px, 1.8vw, 24px); }

.menu__note {
  font-size: 16px;
  line-height: 1.8;
  color: var(--steel);
  margin-top: clamp(26px, 3vw, 40px);
  max-width: 62ch;
}

.menu__course {
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin: clamp(44px, 5vw, 80px) 0 clamp(12px, 1.6vw, 22px);
}

.menu__list { margin-top: clamp(40px, 5vw, 72px); }

.menu__course + .menu__list { margin-top: 0; }

.dish {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 20px;
  padding: clamp(14px, 1.8vw, 22px) 0;
  border-top: 1px solid rgba(236, 227, 212, 0.16);
}

.dish:last-child { border-bottom: 1px solid rgba(236, 227, 212, 0.16); }

.dish__name {
  flex: 1 1 260px;
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.3;
}

.dish__tag {
  font-size: 0.6em;
  color: var(--steel);
}

.dish__price {
  font-size: clamp(21px, 1.8vw, 27px);
  color: var(--ivory-soft);
}

.dish__supplement {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--steel);
}

.dish__desc {
  /* Always its own line; the padding keeps the measure to ~62ch. */
  flex: 0 0 100%;
  padding-right: max(0px, calc(100% - 62ch));
  font-size: clamp(16.5px, 1.35vw, 18.5px);
  line-height: 1.7;
  color: var(--ivory-muted);
  margin-top: 8px;
}

/* ==========================================================================
   Small screens — let text run the full content width
   (the ch-based reading measures above are for wide layouts).
   ========================================================================== */

@media (max-width: 767px) {
  .intro__title,
  .intro__lead,
  .intro__body,
  .body-copy,
  .food__text .body-copy,
  .section-title,
  .private__row .section-title,
  .about__text .section-title,
  .room__text .body-copy,
  .about__lead,
  .about__text .body-copy,
  .private__text .body-copy,
  .menus-hero__lead,
  .menu__note,
  .dish__desc,
  .contact-hero__lead,
  .find__text .body-copy {
    max-width: none;
  }

  .dish__desc { padding-right: 0; }

  /* Stacked photo + text sections: one even gap between each part. */
  .food__row,
  .room__grid,
  .about__grid,
  .private__row {
    gap: 44px;
  }

  .food__row,
  .private__row { margin-top: 44px; }

  /* Photo above text on phones, like the other sections. */
  .room__media { order: -1; }

  /* Section spacing follows the same 44px rhythm. */
  .intro { padding-top: 44px; padding-bottom: 44px; }
  .food { padding-bottom: 0; }
  .food__text { padding-bottom: 0; }
  .room { padding-top: 44px; padding-bottom: 44px; }
  .about .container { padding-top: 44px; padding-bottom: calc(44px + var(--overlap)); }
  .private .container { padding-bottom: 44px; }
  .reviews { padding-top: 44px; padding-bottom: 44px; }
  .site-footer .container { padding-top: 44px; }
}
