/* ==========================================================================
   L'Essence du Rouge
   Design system after Olga Kuznetsova's Dprofile case #102286
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Zodiak';
  src: url('../fonts/zodiak-100.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Zodiak';
  src: url('../fonts/zodiak-100-italic.woff2') format('woff2');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Zodiak';
  src: url('../fonts/zodiak-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Zodiak';
  src: url('../fonts/zodiak-300-italic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Zodiak';
  src: url('../fonts/zodiak-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Zodiak';
  src: url('../fonts/zodiak-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --red: #9c0f1c;
  --red-deep: #7c0a15;
  --cream: #fffbf4;
  --cream-dim: rgba(255, 251, 244, 0.62);
  --red-dim: rgba(156, 15, 28, 0.6);
  --rule: rgba(156, 15, 28, 0.28);
  --rule-on-red: rgba(255, 251, 244, 0.3);

  /* section-scoped: flipped inside .is-red */
  --paper: var(--cream);
  --ink: var(--red);
  --ink-dim: var(--red-dim);
  --hairline: var(--rule);

  --serif: 'Zodiak', 'Didot', 'Times New Roman', serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
  --script: 'Monsieur La Doulaise', 'Snell Roundhand', cursive;
  --script-s: 'Pinyon Script', 'Snell Roundhand', cursive;

  --h-weight: 100;
  --gutter: clamp(20px, 5.2vw, 76px);
  --maxw: 1440px;
  --sect-y: clamp(80px, 11vw, 170px);

  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
  --e-io: cubic-bezier(0.76, 0, 0.24, 1);
}

@media (max-width: 760px) {
  :root {
    --h-weight: 300;
  }
}

.is-red {
  --paper: var(--red);
  --ink: var(--cream);
  --ink-dim: var(--cream-dim);
  --hairline: var(--rule-on-red);
  background: var(--paper);
  color: var(--ink);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--red);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
input,
select {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
h4,
p,
figure,
ul {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Typography ---------- */
.h1 {
  font-family: var(--serif);
  font-weight: var(--h-weight);
  font-size: clamp(2.6rem, 7.3vw, 108px);
  line-height: 1.03;
  letter-spacing: -0.015em;
}
.h2 {
  font-family: var(--serif);
  font-weight: var(--h-weight);
  font-size: clamp(2rem, 4.7vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.6vw, 38px);
  line-height: 1.15;
}
.h1 em,
.h2 em,
.h3 em {
  font-style: italic;
}
.script {
  font-family: var(--script-s);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 36px);
  line-height: 1.2;
  font-style: normal;
}
.eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.body {
  font-size: 15px;
  line-height: 1.62;
  max-width: 46ch;
}
.caption {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-dim);
  margin-top: 10px;
}
.price {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sect {
  position: relative;
  padding-block: var(--sect-y);
  background: var(--paper);
  color: var(--ink);
}
.split {
  display: grid;
  grid-template-columns: 1fr min(340px, 34%);
  gap: clamp(32px, 7vw, 110px);
  align-items: start;
}
.split--top {
  align-items: start;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
.preloader__panel {
  position: absolute;
  top: 0;
  width: 50.2%;
  height: 100%;
  background: var(--red);
  background-image: repeating-linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.22) 0 2px,
    rgba(255, 255, 255, 0.05) 5px,
    rgba(0, 0, 0, 0.14) 11px,
    rgba(0, 0, 0, 0) 18px
  );
}
.preloader__panel--l {
  left: 0;
}
.preloader__panel--r {
  right: 0;
}
.preloader__mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--cream);
  font-family: var(--script);
  font-size: clamp(2.6rem, 8vw, 96px);
  line-height: 1;
  padding-inline: 6vw;
  text-align: center;
}
.preloader.is-done {
  display: none;
}

/* ==========================================================================
   Cursor
   ========================================================================== */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  pointer-events: none;
  display: grid;
  place-items: center;
  mix-blend-mode: normal;
  opacity: 0;
  will-change: transform;
}
.cursor__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0;
  white-space: nowrap;
}
.cursor.is-hot {
  width: 74px;
  height: 74px;
}
.cursor.is-hot .cursor__label {
  opacity: 1;
}
.cursor.on-red {
  background: var(--cream);
}
.cursor.on-red .cursor__label {
  color: var(--red);
}
@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none !important;
  }
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  padding-block: 22px;
  color: var(--cream);
  transition: color 0.4s ease, background-color 0.4s ease, backdrop-filter 0.4s ease;
}
.header.is-onlight {
  color: var(--red);
}
.header.is-stuck {
  background: color-mix(in srgb, var(--red) 84%, transparent);
  backdrop-filter: blur(14px);
  padding-block: 14px;
}
.header.is-stuck.is-onlight {
  background: color-mix(in srgb, var(--cream) 82%, transparent);
}
/* the overlay supplies its own red field — the bar must disappear into it */
.header.is-navopen,
.header.is-navopen.is-stuck,
.header.is-navopen.is-stuck.is-onlight {
  color: var(--cream);
  background: transparent;
  backdrop-filter: none;
}
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 20px;
}
.header__logo {
  font-family: var(--script);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.1;
  white-space: nowrap;
  justify-self: center;
  transition: opacity 0.3s ease;
}
.header__logo:hover {
  opacity: 0.65;
}
.header__meta {
  justify-self: end;
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.85;
}
.header__meta a {
  position: relative;
}
.lang {
  display: inline-flex;
  gap: 6px;
}
.lang button {
  font-size: 11px;
  letter-spacing: 0.07em;
  opacity: 0.5;
  transition: opacity 0.25s ease;
}
.lang button.is-on,
.lang button:hover {
  opacity: 1;
}

/* Phones carry the reference's stripped bar: wordmark left, burger right. */
@media (max-width: 760px) {
  .header__inner {
    grid-template-columns: 1fr auto;
  }
  .header__logo {
    justify-self: start;
    order: -1;
  }
  .header__meta {
    display: none;
  }
  .burger {
    justify-self: end;
  }
}

/* burger */
.burger {
  width: 30px;
  height: 16px;
  position: relative;
  display: block;
}
.burger span {
  position: absolute;
  left: 0;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transition: transform 0.45s var(--e-io), width 0.35s var(--e-out);
}
.burger span:nth-child(1) {
  top: 0;
}
.burger span:nth-child(2) {
  bottom: 0;
  width: 62%;
}
.burger:hover span:nth-child(2) {
  width: 100%;
}
.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  width: 100%;
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Nav overlay
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--red);
  color: var(--cream);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  display: flex;
  align-items: center;
}
.nav.is-open {
  visibility: visible;
}
.nav__inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr min(340px, 34%);
  gap: clamp(32px, 7vw, 110px);
  align-items: end;
}
.nav__list {
  display: flex;
  flex-direction: column;
  gap: clamp(2px, 0.6vw, 8px);
}
.nav__item {
  overflow: hidden;
}
.nav__link {
  display: inline-block;
  font-family: var(--serif);
  font-weight: var(--h-weight);
  font-size: clamp(2.2rem, 6.4vw, 92px);
  line-height: 1.12;
  transition: transform 0.5s var(--e-out), opacity 0.4s ease;
}
.nav__link em {
  font-style: italic;
}
.nav__link:hover {
  transform: translateX(28px);
}
.nav__list:hover .nav__link {
  opacity: 0.42;
}
.nav__list .nav__link:hover {
  opacity: 1;
}
.nav__aside {
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--cream-dim);
  padding-bottom: 8px;
}
.nav__aside strong {
  display: block;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-size: 11px;
}
.nav__thumb {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 320px;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  z-index: 85;
  will-change: transform;
}
.nav__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 900px) {
  .nav__inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 40px;
  }
  .nav__thumb {
    display: none;
  }
}

/* ==========================================================================
   Buttons & links
   ========================================================================== */
.btn {
  --btn-bg: var(--red);
  --btn-fg: var(--cream);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 34px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  /* Matches the fill, so the shape survives the hover inversion instead of
     dissolving into a same-coloured section. */
  border: 1px solid var(--btn-bg);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--e-out);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fg);
  transform: translateY(101%);
  transition: transform 0.55s var(--e-io);
}
.btn:hover::before {
  transform: translateY(0);
}
.btn:hover {
  color: var(--btn-bg);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--ghost::before {
  background: var(--ink);
}
.btn--ghost:hover {
  color: var(--paper);
}
.btn--light {
  --btn-bg: var(--cream);
  --btn-fg: var(--red);
}
.btn__arrow {
  display: inline-block;
  transition: transform 0.45s var(--e-io);
}
.btn:hover .btn__arrow {
  animation: arrow-pass 0.55s var(--e-io);
}
@keyframes arrow-pass {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  45% {
    transform: translateX(22px);
    opacity: 0;
  }
  55% {
    transform: translateX(-22px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding-bottom: 4px;
}
.link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--e-io);
}
.link:hover::after {
  transform: scaleX(1);
}
.link:hover .btn__arrow {
  animation: arrow-pass 0.55s var(--e-io);
}

/* ==========================================================================
   Figures
   ========================================================================== */
.fig {
  margin: 0;
}
.fig__frame {
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}
.fig__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  transition: transform 0.75s var(--e-out), filter 0.6s ease;
}
.fig--hover .fig__frame img {
  filter: saturate(0.82);
}
.fig--hover:hover .fig__frame img {
  transform: scale(1.05);
  filter: saturate(1.05);
}
.fig--hover .fig__cap {
  transition: transform 0.5s var(--e-out);
}
.fig--hover:hover .fig__cap {
  transform: translateX(6px);
}
.fig__cap {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-dim);
  margin-top: 11px;
}
.ratio-45 .fig__frame {
  aspect-ratio: 4 / 5;
}
.ratio-34 .fig__frame {
  aspect-ratio: 3 / 4;
}
.ratio-43 .fig__frame {
  aspect-ratio: 4 / 3;
}
.ratio-11 .fig__frame {
  aspect-ratio: 1 / 1;
}
.ratio-169 .fig__frame {
  aspect-ratio: 16 / 9;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  color: var(--cream);
  display: grid;
  align-items: center;
}
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__media picture,
.hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 78% at 50% 34%, rgba(30, 2, 6, 0.52) 0%, rgba(30, 2, 6, 0) 72%),
    linear-gradient(to bottom, rgba(30, 2, 6, 0.62) 0%, rgba(30, 2, 6, 0.22) 46%, rgba(30, 2, 6, 0.5) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 4vh;
  padding-inline: clamp(20px, 3.2vw, 50px);
  max-width: 1560px;
}
.hero__title {
  margin-inline: auto;
  font-size: clamp(2.3rem, 6.5vw, 98px);
}
.br-lg {
  display: none;
}
@media (min-width: 1000px) {
  .br-lg {
    display: inline;
  }
}
.hero__sub {
  margin: clamp(24px, 3.4vw, 44px) auto 0;
  max-width: 44ch;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 251, 244, 0.88);
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 251, 244, 0.75);
}
.hero__scroll i {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, rgba(255, 251, 244, 0.85), rgba(255, 251, 244, 0));
  animation: scroll-hint 2.4s ease-in-out infinite;
  transform-origin: top;
}
/* Portrait crops are brighter behind the headline — hold the contrast. */
@media (max-width: 760px) {
  .hero__media::after {
    background: radial-gradient(130% 62% at 50% 44%, rgba(30, 2, 6, 0.6) 0%, rgba(30, 2, 6, 0) 76%),
      linear-gradient(to bottom, rgba(30, 2, 6, 0.55) 0%, rgba(30, 2, 6, 0.34) 46%, rgba(30, 2, 6, 0.55) 100%);
  }
  .hero__inner {
    padding-top: 0;
  }
}
@keyframes scroll-hint {
  0%,
  100% {
    transform: scaleY(0.3);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* ==========================================================================
   About
   ========================================================================== */
/* Tops align, bottoms stagger with the aspect ratios — as in the reference. */
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
  margin-top: clamp(44px, 6vw, 92px);
  align-items: start;
}
@media (max-width: 900px) {
  .grid4 {
    grid-template-columns: repeat(2, 1fr);
    row-gap: clamp(24px, 5vw, 40px);
  }
}

/* ==========================================================================
   Story / stats
   ========================================================================== */
.story__lead {
  display: grid;
  grid-template-columns: 1fr min(560px, 46%);
  gap: clamp(32px, 6vw, 90px);
  align-items: end;
}
.story__media {
  margin-top: clamp(40px, 5vw, 76px);
}
.story__media .fig__frame {
  aspect-ratio: 21 / 8;
}
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: clamp(50px, 6vw, 96px);
  border-top: 1px solid var(--hairline);
  padding-top: clamp(28px, 3vw, 48px);
}
.stat__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.2rem, 4.4vw, 62px);
  line-height: 1;
}
.stat__label {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.07em;
  line-height: 1.6;
  color: var(--ink-dim);
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .story__lead {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 24px;
  }
}

/* ==========================================================================
   Chef
   ========================================================================== */
.chef__grid {
  display: grid;
  grid-template-columns: 1fr 0.55fr 1.2fr;
  gap: clamp(18px, 3vw, 48px);
  align-items: end;
  margin-top: clamp(40px, 5vw, 74px);
}
.chef__note {
  padding-bottom: clamp(10px, 1.4vw, 24px);
}
.chef__quote {
  margin-top: clamp(34px, 4vw, 60px);
  display: grid;
  gap: 14px;
  justify-items: end;
  text-align: right;
}
.chef__quote p {
  max-width: 42ch;
  font-size: 14px;
}
.chef__sign {
  font-family: var(--script-s);
  font-size: clamp(1.4rem, 2.2vw, 30px);
}
@media (max-width: 900px) {
  .chef__grid {
    grid-template-columns: 1fr 1fr;
  }
  .chef__note {
    grid-column: 1 / -1;
    padding-bottom: 0;
  }
  .chef__quote {
    justify-items: start;
    text-align: left;
  }
}

/* ==========================================================================
   Menu
   ========================================================================== */
.menu__head {
  display: grid;
  grid-template-columns: 1fr min(340px, 34%);
  gap: clamp(32px, 7vw, 110px);
  align-items: end;
}
.menu__body {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) 2.1fr;
  gap: clamp(30px, 5vw, 80px);
  margin-top: clamp(44px, 5.5vw, 86px);
  align-items: start;
}
.tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 120px;
}
.tab {
  position: relative;
  text-align: left;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.5vw, 36px);
  line-height: 1.25;
  color: var(--ink);
  opacity: 0.4;
  padding: 4px 0 4px 0;
  transition: opacity 0.4s ease, transform 0.5s var(--e-out);
}
.tab:hover {
  opacity: 0.75;
}
.tab.is-on {
  opacity: 1;
}
.tab.is-on .tab__sub {
  opacity: 1;
  transform: none;
}
.tab em {
  font-style: italic;
}
.tab__sub {
  display: block;
  font-family: var(--script-s);
  font-size: 17px;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.45s ease, transform 0.45s var(--e-out);
  color: var(--ink-dim);
}
.dishes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 3.4vw, 54px) clamp(24px, 3vw, 48px);
}
/* display:grid would otherwise beat the UA [hidden] rule */
.dishes[hidden] {
  display: none;
}
.dish {
  border-top: 1px solid var(--hairline);
  padding-top: 16px;
  transition: border-color 0.4s ease;
}
.dish h3 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.5;
}
.dish p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-dim);
}
.dish .price {
  display: block;
  margin-top: 16px;
}
.dish:hover {
  border-color: var(--ink);
}
@media (max-width: 900px) {
  .menu__head,
  .menu__body {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .tabs {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 22px;
  }
  .tab__sub {
    display: none;
  }
  .dishes {
    grid-template-columns: 1fr;
  }
}

/* carousel */
.carousel {
  margin-top: clamp(44px, 5vw, 82px);
  overflow: hidden;
  cursor: grab;
  /* horizontal drag is ours, vertical still scrolls the page */
  touch-action: pan-y;
}
.carousel.is-dragging {
  cursor: grabbing;
}
.carousel__track {
  display: flex;
  gap: clamp(14px, 1.6vw, 24px);
  will-change: transform;
}
.carousel__item {
  flex: 0 0 clamp(240px, 26vw, 380px);
}
.carousel__item .fig__frame {
  aspect-ratio: 1 / 1;
}
.carousel__nav {
  display: flex;
  gap: 22px;
  justify-content: center;
  margin-top: 28px;
}
.carousel__nav button {
  width: 46px;
  height: 30px;
  display: grid;
  place-items: center;
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.4s var(--e-out);
}
.carousel__nav button:hover {
  opacity: 1;
}
.carousel__nav button:first-child:hover {
  transform: translateX(-5px);
}
.carousel__nav button:last-child:hover {
  transform: translateX(5px);
}

/* ==========================================================================
   Reserve
   ========================================================================== */
.reserve__grid {
  display: grid;
  grid-template-columns: 1fr min(470px, 38%);
  gap: clamp(34px, 6vw, 96px);
  align-items: start;
}
.form {
  margin-top: clamp(32px, 4vw, 54px);
  display: grid;
  gap: 14px;
  max-width: 560px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--hairline);
  transition: border-color 0.35s ease, background-color 0.35s ease;
}
.field:hover,
.field:focus-within {
  border-color: var(--ink);
}
.field svg {
  flex: none;
  width: 15px;
  height: 15px;
  opacity: 0.75;
}
.field select,
.field input,
.field button.field__value {
  width: 100%;
  background: none;
  border: 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  text-align: left;
  padding: 0;
  appearance: none;
  cursor: pointer;
}
.field select:focus,
.field input:focus {
  outline: none;
}
.field select option {
  color: #111;
}
.form .btn {
  width: 100%;
}

/* calendar */
.cal {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  width: min(340px, 92vw);
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--ink);
  display: none;
}
.cal.is-open {
  display: block;
}
.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.cal__head button {
  padding: 4px 8px;
  opacity: 0.6;
  transition: opacity 0.25s ease;
}
.cal__head button:hover {
  opacity: 1;
}
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}
.cal__dow {
  font-size: 9px;
  letter-spacing: 0.08em;
  opacity: 0.5;
  padding-bottom: 8px;
  text-transform: uppercase;
}
.cal__day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-size: 12px;
  border-radius: 50%;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.cal__day:disabled {
  opacity: 0.25;
  cursor: default;
}
.cal__day:not(:disabled):hover {
  background: color-mix(in srgb, var(--ink) 16%, transparent);
}
.cal__day.is-sel {
  background: var(--ink);
  color: var(--paper);
}
/* Native ratio — a portrait crop cut one of the two wine glasses off. */
.reserve__aside .fig__frame {
  aspect-ratio: 4 / 3;
}
@media (max-width: 900px) {
  .reserve__grid {
    grid-template-columns: 1fr;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews__wall {
  position: relative;
  margin-top: clamp(40px, 5vw, 40px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  row-gap: clamp(34px, 4vw, 56px);
}
.quote {
  max-width: 34ch;
}
.quote:nth-child(1) {
  grid-column: 5 / span 4;
}
.quote:nth-child(2) {
  grid-column: 9 / span 4;
  margin-top: clamp(30px, 4vw, 66px);
}
.quote:nth-child(3) {
  grid-column: 5 / span 4;
  margin-top: clamp(10px, 2vw, 30px);
}
.quote__by {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.6;
}
.quote__text {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--ink-dim);
  transition: color 0.4s ease;
}
.quote:hover .quote__text {
  color: var(--ink);
}
@media (max-width: 900px) {
  .quote:nth-child(n) {
    grid-column: 1 / -1;
    margin-top: 0;
    max-width: none;
  }
}

/* ==========================================================================
   Services
   ========================================================================== */
.services__grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr;
  gap: clamp(14px, 1.6vw, 24px);
  margin-top: clamp(44px, 5.5vw, 88px);
  align-items: start;
}
.services__grid .fig:first-child .fig__frame {
  aspect-ratio: 16 / 11;
}
.services__grid .fig:not(:first-child) .fig__frame {
  aspect-ratio: 4 / 3;
}
@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }
  .services__grid .fig:first-child {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.acc {
  display: grid;
}
.acc__item {
  border-bottom: 1px solid var(--hairline);
}
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding: 22px 0;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  position: relative;
}
.acc__btn::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: currentColor;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--e-io);
}
.acc__btn:hover::before {
  transform: scaleY(1);
}
.acc__icon {
  flex: none;
  position: relative;
  width: 14px;
  height: 14px;
}
.acc__icon::before,
.acc__icon::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: currentColor;
}
.acc__icon::before {
  width: 14px;
  height: 1px;
}
.acc__icon::after {
  width: 1px;
  height: 14px;
  transition: transform 0.45s var(--e-io);
}
.acc__item.is-open .acc__icon::after {
  transform: rotate(90deg) scaleX(0);
}
.acc__item.is-open .acc__icon {
  transform: rotate(180deg);
  transition: transform 0.45s var(--e-io);
}
.acc__panel {
  overflow: hidden;
  height: 0;
}
.acc__panel p {
  padding: 0 60px 24px 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-dim);
}
@media (max-width: 900px) {
  .faq {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1fr;
  gap: clamp(30px, 5vw, 76px);
  margin-top: clamp(40px, 5vw, 70px);
  align-items: start;
}
.contact__grid .fig__frame {
  aspect-ratio: 4 / 3;
}
.contact__links {
  display: grid;
  gap: 14px;
  margin-top: clamp(28px, 3vw, 44px);
}
.contact__link {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.03em;
  width: fit-content;
  transition: font-family 0s;
}
.contact__link:hover {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 21px;
  letter-spacing: 0;
}
@media (max-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--red);
  color: var(--cream);
  padding-block: clamp(48px, 6vw, 84px) clamp(30px, 3vw, 46px);
  overflow: hidden;
}
/* font-size is refined by fitFooterMark() once the script face has loaded */
.footer__mark {
  font-family: var(--script);
  font-size: clamp(3rem, 10.4vw, 152px);
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  padding-block: 0.06em 0.12em;
  will-change: transform;
}
.footer__bottom {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 200px)) 1fr;
  gap: 24px;
  margin-top: clamp(30px, 4vw, 56px);
  font-size: 12px;
  line-height: 1.75;
  letter-spacing: 0.03em;
}
.footer__bottom p {
  color: var(--cream-dim);
}
.footer__bottom p + p {
  margin-top: 18px;
}
.footer__cta {
  justify-self: end;
  align-self: end;
}
.footer__legal {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: clamp(34px, 4vw, 60px);
  padding-top: 20px;
  border-top: 1px solid var(--rule-on-red);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
@media (max-width: 760px) {
  .footer__bottom {
    grid-template-columns: 1fr 1fr;
  }
  .footer__cta {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

/* ==========================================================================
   Toast
   ========================================================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 120;
  transform: translate(-50%, 140%);
  background: var(--red);
  color: var(--cream);
  padding: 16px 26px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  visibility: hidden;
  transition: transform 0.6s var(--e-out), visibility 0s linear 0.6s;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.is-on {
  transform: translate(-50%, 0);
  visibility: visible;
  transition-delay: 0s, 0s;
}

/* ==========================================================================
   Split lines + reveal initial states (only when JS is running)
   ========================================================================== */
.line {
  display: block;
  overflow: hidden;
}
.line__inner {
  display: block;
  will-change: transform;
}
.w--em {
  font-style: italic;
}

.js [data-reveal='lines'] {
  visibility: hidden;
}
.js [data-reveal='lines'].is-split {
  visibility: visible;
}
.js [data-reveal='up'] {
  opacity: 0;
}
.js [data-reveal='img'] .fig__frame,
.js [data-reveal='img'].fig__frame {
  clip-path: inset(0 0 100% 0);
}

/* GSAP unavailable — never leave content hidden */
.no-anim [data-reveal] {
  visibility: visible !important;
  opacity: 1 !important;
}
.no-anim [data-reveal='img'] .fig__frame,
.no-anim [data-reveal='img'].fig__frame {
  clip-path: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal='lines'] {
    visibility: visible;
  }
  .js [data-reveal] .line__inner,
  .js [data-reveal='up'] {
    opacity: 1 !important;
  }
  .js [data-reveal='img'] .fig__frame,
  .js [data-reveal='img'].fig__frame {
    clip-path: none !important;
  }
  .hero__scroll i {
    animation: none;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
