/* Rosatti Restaurante — site styles
   Palette sampled from the supplied photography:
   sky   #6198D5  lettering of the frontage sign
   blue  #3A6BA5  "Restaurant +" line of the sign, deepened for text contrast
   navy  #0E1D3A  the night sky behind the frontage, lifted for legibility
   linen #F7F5F0  the table linen                                            */

@font-face {
  font-family: 'Bodoni Moda';
  src: url('/assets/fonts/bodoni-moda.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bodoni Moda';
  src: url('/assets/fonts/bodoni-moda-italic.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('/assets/fonts/instrument-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --white: #ffffff;
  --linen: #f7f5f0;
  --mist: #eef4fa;
  --sky: #6198d5;
  --sky-soft: #a9c6e8;
  --blue: #3a6ba5;
  --navy: #0e1d3a;
  --navy-2: #1a2d55;
  --ink: #1b2333;
  --muted: #4a5466;
  --line: #dde3eb;
  --line-navy: rgba(14, 29, 58, 0.9);

  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --max: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --gap: clamp(16px, 2.2vw, 32px);
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --section: clamp(72px, 10vw, 152px);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 64px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; }
address { font-style: normal; }
a { color: inherit; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; }
main { display: block; outline: none; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.site-footer :focus-visible,
.booking :focus-visible,
.lightbox :focus-visible { outline-color: var(--white); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; background: var(--navy); color: var(--white);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 1.5rem + 3.1vw, 4.25rem);
  font-variation-settings: 'opsz' 14;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--navy);
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--sky); }
.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 1.35rem + 1.7vw, 2.75rem);
  font-variation-settings: 'opsz' 12;
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--navy);
  text-wrap: balance;
}
.h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: 'opsz' 11;
  font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.75rem);
  line-height: 1.2;
  color: var(--navy);
}
.lead {
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  line-height: 1.55;
  color: #303a4c;
  max-width: 38ch;
}
p { max-width: 62ch; }
p + p { margin-top: 1em; }
em { font-style: italic; }

.kicker {
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ---------- links & buttons ---------- */
.link {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--sky);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}
.link:hover { color: var(--blue); text-decoration-color: currentColor; }
.link--light { color: var(--white); text-decoration-color: rgba(169, 198, 232, 0.6); }
.link--light:hover { color: var(--sky-soft); }
.link--big {
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.link--big:hover { text-decoration: underline; text-decoration-color: var(--sky); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: 48px;
  padding: 0.9em 1.5em;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn--sm { min-height: 40px; padding: 0.7em 1.1em; font-size: 0.75rem; }
.btn--lg { min-height: 54px; padding: 1em 1.75em; }
.btn--primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--light:hover { background: var(--mist); border-color: var(--mist); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }

.i-ext { width: 0.7em; height: 0.7em; flex: none; }
.i-arrow { width: 1.25em; height: 0.75em; flex: none; transition: transform 0.25s var(--ease); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  padding-block: 0.4em;
  border-bottom: 1px solid var(--sky);
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.link-arrow:hover { color: var(--blue); border-color: var(--navy); }
.link-arrow:hover .i-arrow { transform: translateX(4px); }
.link-arrow--ext::after {
  content: '';
  width: 0.65em; height: 0.65em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 1.5h7v7M10.5 1.5 1.5 10.5' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 1.5h7v7M10.5 1.5 1.5 10.5' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.actions--links { gap: 1.25rem 2.25rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--navy);
  text-decoration: none;
}
.brand__mark { width: 40px; height: 40px; }
.brand__name {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
}
.brand__sub {
  margin-top: 5px;
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--blue);
}

.site-nav__list { display: flex; gap: clamp(18px, 2vw, 32px); list-style: none; }
.site-nav__list a {
  position: relative;
  display: inline-block;
  padding-block: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.site-nav__list a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--sky);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav__list a:hover { color: var(--navy); }
.site-nav__list a:hover::after { transform: scaleX(1); }
.site-nav__list a[aria-current='page'] { color: var(--navy); }
.site-nav__list a[aria-current='page']::after { transform: scaleX(1); background: var(--navy); }
.site-nav__extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 18px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding-inline: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-decoration: none;
}
.lang-switch span:first-child { color: var(--navy); }
.lang-switch span:last-child { transition: color 0.2s; }
.lang-switch:hover span:last-child { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.lang-switch__sep { color: var(--line); }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  margin-right: -10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle__bars { top: 18px; }
.nav-toggle__bars::before { content: ''; left: 0; right: 0; top: 7px; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars::before { top: 0; transform: rotate(-90deg); }

@media (max-width: 1179px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px var(--gutter) 32px;
    background: var(--white);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .site-header.is-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list li { border-bottom: 1px solid var(--line); }
  .site-nav__list a {
    display: block;
    padding-block: 14px;
    font-family: var(--serif);
    font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.4rem);
    font-weight: 400;
    color: var(--navy);
  }
  .site-nav__list a::after { display: none; }
  .site-nav__list a[aria-current='page'] { color: var(--blue); font-style: italic; }
  .site-nav__extra { display: block; margin-top: 32px; }
  .site-nav__book { width: 100%; }
  .site-nav__contact { margin-top: 20px; font-size: 0.9375rem; color: var(--muted); }
}
@media (max-width: 560px) {
  .brand__sub { display: none; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 1.35rem; }
  .site-header__actions { gap: 10px; }
  .header-book { padding-inline: 0.85em; letter-spacing: 0.08em; }
}
.header-book__short { display: none; }
@media (max-width: 479px) {
  .header-book__long { display: none; }
  .header-book__short { display: inline; }
  .lang-switch__cur, .lang-switch__sep { display: none; }
}
@media (max-width: 339px) {
  .brand__name { display: none; }
}

/* ---------- hero (home) ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr);
  align-items: stretch;
  min-height: min(calc(100vh - var(--header-h)), 860px);
}
.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 96px) clamp(28px, 4.5vw, 72px) clamp(48px, 6vw, 96px) var(--edge);
}
.hero__text .display { margin-bottom: 1.75rem; }
.hero__hours {
  margin-top: 2.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 36ch;
}
.hero__media {
  display: flex;
  flex-direction: column;
  padding: clamp(16px, 2vw, 28px) 0 clamp(16px, 2vw, 28px) 0;
}
.hero__media img {
  flex: 1;
  width: 100%;
  min-height: 0;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 959px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; padding: 0; }
  .hero__media img { aspect-ratio: 4 / 3.3; height: auto; }
  .hero__text { padding: 40px var(--gutter) 24px; }
}

/* ---------- home sections ---------- */
.intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 24px;
  padding-block: var(--section);
}
.intro .h2 { grid-column: 1 / 6; }
.intro__body { grid-column: 7 / 13; }
.intro__lead { font-size: 1.25rem; line-height: 1.55; color: var(--navy); }
@media (max-width: 959px) {
  .intro .h2, .intro__body { grid-column: 1 / -1; }
}

.food { padding-bottom: var(--section); }
.food__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 32px;
  align-items: start;
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
  margin-bottom: clamp(32px, 4vw, 56px);
}
.food__head > div { grid-column: 1 / 6; }
.food__head .h2 { margin-bottom: 1rem; }
.food__menu { grid-column: 7 / 13; }
.category-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gap);
  list-style: none;
  margin-bottom: 1.75rem;
  border-top: 1px solid var(--navy);
}
.category-links li { border-bottom: 1px solid var(--line); }
.category-links a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}
.category-links a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 959px) {
  .food__head > div, .food__menu { grid-column: 1 / -1; }
}

.photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.photo-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-row--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.photo-row--four img { aspect-ratio: 3 / 4; }
@media (max-width: 639px) {
  .photo-row { grid-template-columns: 1fr; }
  .photo-row img { aspect-ratio: 4 / 3; }
  .photo-row--four { grid-template-columns: 1fr 1fr; }
  .photo-row--four img { aspect-ratio: 3 / 4; }
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-bottom: var(--section);
}
.split__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.split__text .h2 { margin-bottom: 1.25rem; }
.split__text .link-arrow { margin-top: 2rem; }
.split--reverse .split__media { order: 2; }
@media (max-width: 859px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 0; }
}

.section-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.section-head p { color: var(--muted); }
@media (max-width: 859px) { .section-head { grid-template-columns: 1fr; } }
.details { padding-bottom: var(--section); }

/* ---------- location (home) ---------- */
.location { background: var(--mist); padding-block: var(--section); }
.location__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: center;
}
.location__media { grid-column: 1 / 5; }
.location__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.location__text { grid-column: 6 / 13; }
.location__text .h2 { margin-bottom: 1.25rem; }
.location__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--navy);
}
.location__address { font-size: 1.0625rem; font-weight: 500; line-height: 1.6; color: var(--navy); }
.location .actions--links { margin-top: 2.25rem; }
@media (max-width: 959px) {
  .location__media { grid-column: 1 / 9; margin-bottom: 40px; }
  .location__text { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .location__media { grid-column: 1 / -1; }
  .location__facts { grid-template-columns: 1fr; }
}

.hours-compact div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.45rem;
  border-bottom: 1px solid rgba(14, 29, 58, 0.14);
}
.hours-compact div:first-child { padding-top: 0; }
.hours-compact dt { color: inherit; }
.hours-compact dd { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }

/* ---------- CTA ---------- */
.cta { padding-block: clamp(64px, 8vw, 120px); border-top: 1px solid var(--line); }
.cta__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 32px;
  align-items: end;
}
.cta__text { grid-column: 1 / 8; }
.cta__text .h2 { font-size: clamp(2.3rem, 1.4rem + 3vw, 4rem); }
.cta__body { margin-top: 1rem; color: var(--muted); }
.cta__actions { grid-column: 8 / 13; display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta__phone { flex-basis: 100%; text-align: right; font-size: 0.9375rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 959px) {
  .cta__text, .cta__actions { grid-column: 1 / -1; }
  .cta__actions { justify-content: flex-start; }
  .cta__phone { text-align: left; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.82); font-size: 0.9375rem; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px var(--gap);
  padding-block: clamp(56px, 7vw, 96px) 48px;
}
.site-footer__mark { width: 52px; height: 52px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.site-footer__name { font-family: var(--serif); font-size: 1.6rem; color: var(--white); line-height: 1.1; }
.site-footer__note { margin: 0.75rem 0 1.5rem; max-width: 30ch; }
.site-footer__title {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky-soft);
}
.site-footer__address { margin-bottom: 0.75rem; }
.site-footer__list { list-style: none; display: grid; gap: 0.4rem; }
.site-footer .hours-compact div { border-color: rgba(255, 255, 255, 0.14); }
.site-footer .hours-compact dd { color: var(--white); }
.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  position: relative;
  padding-block: 24px 32px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.66);
}
.site-footer__base::before,
.page-head--gallery .wrap::after,
.page-head--contact .wrap::after {
  content: '';
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
}
.site-footer__base::before { top: 0; background: rgba(255, 255, 255, 0.14); }
.page-head--gallery .wrap::after,
.page-head--contact .wrap::after { bottom: 0; background: var(--line); }
.site-footer__base a { color: rgba(255, 255, 255, 0.86); text-underline-offset: 3px; }
.site-footer__base a:hover { color: var(--white); }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; }
.site-footer__nav a { text-decoration: none; }
.site-footer__nav a:hover { text-decoration: underline; }
@media (max-width: 959px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- page heads (inner pages) ---------- */
.page-head { padding-block: clamp(48px, 7vw, 112px) clamp(48px, 6vw, 96px); }
.page-head__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 40px;
  align-items: end;
}
.page-head__text { grid-column: 1 / 7; }
.page-head .display { margin-bottom: 1.5rem; }
.page-head__media { grid-column: 8 / 13; }
.page-head__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-head__media--portrait { grid-column: 8 / 12; }
.page-head__media--portrait img { aspect-ratio: 4 / 5; }
.page-head__count { display: block; margin-top: 0.75rem; font-size: 0.875rem; color: var(--blue); letter-spacing: 0.04em; }
.page-head--gallery .wrap,
.page-head--contact .wrap { position: relative; padding-bottom: clamp(40px, 5vw, 72px); }
.page-head--gallery,
.page-head--contact { padding-bottom: 0; }
@media (max-width: 959px) {
  .page-head__text, .page-head__media, .page-head__media--portrait { grid-column: 1 / -1; }
  .page-head__media--portrait { max-width: 520px; }
}

.pdf-links { margin-top: 2.5rem; }
.pdf-links__title {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.5rem;
}
.pdf-links ul { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; list-style: none; }
.pdf-links__meta { font-weight: 500; letter-spacing: 0.04em; text-transform: none; color: var(--muted); }

/* ---------- menus ---------- */
.menu-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: rgba(255, 255, 255, 0.97);
  border-block: 1px solid var(--line);
}
.menu-nav__list {
  display: flex;
  gap: clamp(20px, 2.2vw, 32px);
  list-style: none;
  overflow-x: auto;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
  padding-right: 32px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.menu-nav__list::-webkit-scrollbar { display: none; }
.menu-nav__list li { flex: none; scroll-snap-align: start; }
.menu-nav__list a {
  display: block;
  padding-block: 16px 14px;
  border-bottom: 2px solid transparent;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.menu-nav__list a:hover { color: var(--navy); }
.menu-nav__list a[aria-current='true'] { color: var(--navy); border-bottom-color: var(--sky); }

.menu-body { padding-top: clamp(48px, 6vw, 96px); }

.menu-feature {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 24px;
  padding: clamp(32px, 4.5vw, 64px);
  background: var(--mist);
}
.menu-feature__head { grid-column: 1 / 5; }
.menu-feature__head .h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); margin-bottom: 1rem; }
.menu-feature__head p { color: var(--muted); }
.menu-feature .dishes { grid-column: 5 / 13; columns: 2; column-gap: var(--gap); }
.menu-feature .dish { break-inside: avoid; border-color: rgba(14, 29, 58, 0.12); }
@media (max-width: 959px) {
  .menu-feature__head, .menu-feature .dishes { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .menu-feature .dishes { columns: 1; }
}

.special {
  margin-top: clamp(32px, 4vw, 56px);
  padding: clamp(28px, 4.5vw, 64px);
  border: 1px solid var(--navy);
}
.special__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px 32px;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.special__head .h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }
.special__price { display: flex; align-items: baseline; gap: 0.75rem; }
.special__price-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); }
.special__price strong { font-family: var(--sans); font-weight: 500; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: var(--navy); line-height: 1; }
.special__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--gap); }
.special__title {
  margin-bottom: 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.special__list { list-style: none; }
.special__list li { padding-block: 0.6rem; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 1rem; line-height: 1.45; color: var(--navy); }
.special__desc { font-weight: 400; font-size: 0.9375rem; color: var(--muted); }
.special__list--priced li { display: flex; justify-content: space-between; gap: 1rem; }
.special__list--priced li span:last-child { font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.special__note { margin-top: 0.9rem; font-size: 0.875rem; color: var(--muted); }
@media (max-width: 959px) { .special__cols { grid-template-columns: 1fr; } }

.menu-section {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 24px;
  padding-block: clamp(56px, 7vw, 112px);
  border-bottom: 1px solid var(--line);
}
.menu-section__aside {
  grid-column: 1 / 5;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 80px);
}
.menu-section__title { margin-bottom: 0.75rem; }
.menu-section__note { font-size: 0.9375rem; color: var(--muted); max-width: 34ch; }
.menu-section__media { margin-top: 2rem; }
.menu-section__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.menu-section__list { grid-column: 6 / 13; }
@media (max-width: 959px) {
  .menu-section__aside { grid-column: 1 / -1; position: static; }
  .menu-section__media { margin-top: 1.5rem; }
  .menu-section__media img { aspect-ratio: 16 / 10; }
  .menu-section__list { grid-column: 1 / -1; }
}

.dishes { list-style: none; border-top: 1px solid var(--navy); }
.dish {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  column-gap: 1rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--line);
}
.dish__no {
  padding-top: 0.2em;
  font-size: 0.75rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: #7a8394;
}
.dish__name {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}
.dish__desc { margin-top: 0.25rem; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
.dish__desc::first-letter { text-transform: uppercase; }
.dish__note { margin-top: 0.35rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.dish__price {
  padding-top: 0.2em;
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
  white-space: nowrap;
}
.dishes--compact { border-top-color: var(--navy); }
.dishes--compact .dish { padding-block: 0.75rem; }
.dishes--compact .dish__name { font-size: 1rem; }
@media (max-width: 560px) {
  .dish { grid-template-columns: 2.4rem minmax(0, 1fr) auto; column-gap: 0.75rem; }
}

.menu-extras { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 2rem; }
.menu-extras__box { padding: 24px 28px; background: var(--linen); }
.menu-extras__title { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.75rem; line-height: 1.5; }
.menu-extras__price { color: var(--blue); white-space: nowrap; }
.menu-extras__list { padding-left: 1.4rem; font-size: 0.9375rem; color: var(--ink); }
.menu-extras__list li { padding-block: 0.25rem; }
.menu-extras__list li::marker { font-weight: 600; color: var(--blue); }
@media (max-width: 640px) { .menu-extras { grid-template-columns: 1fr; } }

.menu-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  padding-block: 40px clamp(56px, 7vw, 96px);
  font-size: 0.9375rem;
  color: var(--muted);
}
.menu-notes p + p { margin-top: 0; }
.menu-notes p:first-child span:last-child { font-weight: 600; color: var(--navy); }

/* ---------- restaurant ---------- */
.page-head--restaurant { padding-bottom: var(--section); }

/* ---------- gallery ---------- */
.gallery { padding-block: clamp(40px, 5vw, 72px) var(--section); }
.g-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(220px, 24vw, 360px);
  grid-auto-flow: dense;
  gap: clamp(8px, 1.2vw, 16px);
  list-style: none;
}
.g-item { min-height: 0; }
.g-item--wide { grid-column: span 2; }
.g-item__btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--mist);
  overflow: hidden;
  cursor: zoom-in;
}
.g-item__btn img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.25s; }
.g-item__btn:hover img { opacity: 0.88; }
.g-item__btn:focus-visible { outline-offset: 4px; }
@media (max-width: 959px) { .g-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 32vw; } }
@media (max-width: 639px) { .g-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 58vw; } }

.lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(8, 15, 32, 0.97);
  color: var(--white);
}
.lightbox::backdrop { background: rgba(8, 15, 32, 0.6); }
.lightbox__frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 72px 88px 32px;
}
.lightbox__figure { display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lightbox__img {
  max-width: min(100%, 1400px);
  max-height: calc(100dvh - 160px);
  width: auto;
  height: auto;
  object-fit: contain;
  touch-action: pan-y;
  user-select: none;
}
.lightbox__caption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin-top: 16px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
}
.lightbox__count { font-variant-numeric: tabular-nums; color: var(--sky-soft); white-space: nowrap; }
.lightbox__btn,
.lightbox__close {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 48px;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.lightbox__btn:hover,
.lightbox__close:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }
.lightbox__btn svg { width: 20px; height: 12px; }
.lightbox__btn--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next .i-arrow { width: 20px; height: 12px; }
.lightbox__close {
  top: 16px;
  right: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lightbox__close svg { width: 12px; height: 12px; }
@media (max-width: 719px) {
  .lightbox__frame { padding: 72px 16px 96px; }
  .lightbox__img { max-height: calc(100dvh - 220px); }
  .lightbox__btn--prev, .lightbox__btn--next { top: auto; bottom: 24px; transform: none; }
  .lightbox__btn--prev { left: 16px; }
  .lightbox__btn--next { right: 16px; }
  .lightbox__close { right: 16px; }
}

/* ---------- contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: clamp(48px, 6vw, 80px);
  padding-block: clamp(48px, 6vw, 88px);
}
.booking {
  grid-column: 1 / 8;
  padding: clamp(28px, 4.5vw, 64px);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
}
.booking .h2 { color: var(--white); margin-bottom: 1.25rem; }
.booking__notes { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.booking__notes-title {
  margin-bottom: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky-soft);
}
.booking__notes ul { list-style: none; display: grid; gap: 0.35rem; font-size: 0.9375rem; }
.booking__notes li::before { content: '—'; margin-right: 0.6em; color: var(--sky); }

.contact-hours { grid-column: 9 / 13; grid-row: 1 / 3; }
.contact-hours .h3 { margin-bottom: 1.25rem; }
.hours { width: 100%; border-top: 1px solid var(--navy); font-size: 1rem; }
.hours th, .hours td { padding: 0.85rem 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 500; color: var(--ink); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--navy); white-space: nowrap; }
.hours tr.is-today th,
.hours tr.is-today td { background: var(--mist); }
.hours tr.is-today th { padding-left: 12px; font-weight: 600; color: var(--navy); }
.hours tr.is-today td { padding-right: 12px; }
.hours tr.is-today th::after {
  content: attr(data-today);
  margin-left: 0.6em;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.contact-details { grid-column: 1 / 8; }
.details-list { display: grid; grid-template-columns: 1fr 1fr; gap: 40px var(--gap); }
.details-list > div { padding-top: 1rem; border-top: 1px solid var(--navy); min-width: 0; }
.details-list dt {
  margin-bottom: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.details-list address { line-height: 1.6; }
.social-list { list-style: none; display: grid; gap: 0.4rem; }

@media (max-width: 959px) {
  .booking, .contact-details { grid-column: 1 / -1; }
  .contact-hours { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 560px) { .details-list { grid-template-columns: 1fr; } }

.map { padding-bottom: var(--section); }
.map__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 16px 32px;
  margin-bottom: 1.5rem;
}
.map__head .actions { margin-top: 0; }
.map__frame { position: relative; aspect-ratio: 16 / 7; background: var(--mist); border: 1px solid var(--line); }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 719px) { .map__frame { aspect-ratio: 4 / 5; } }

/* ---------- 404 ---------- */
.page-head--404 { padding-bottom: var(--section); }
.notfound__en { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.notfound__en .h3 { margin-bottom: 0.5rem; }

/* ---------- motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .site-header, .menu-nav, .cta, .site-footer, .skip-link, .menu-section__media, .page-head__media, .actions { display: none !important; }
  .menu-section { break-inside: avoid-page; padding-block: 24px; }
  .menu-section__aside { position: static; }
  body { font-size: 11pt; }
}
