/* La Vita concept. Wine-dark and Amalfi lemon; Gloock headings, Schibsted Grotesk text, Newsreader italic. */
:root {
  --vino: #4A1627;
  --vino-deep: #2C0C17;
  --vino-soft: #6B2A3E;
  --limone: #F2D24C;
  --limone-soft: #FBF0BE;
  --pomodoro: #D9472B;
  --paper: #FBF8F4;
  --ink: #26141B;
  --muted: #6E5A61;
  --line: #E7DCD7;
  --on-dark: #FBEFEA;
  --on-dark-muted: #D9BEC6;
  --serif: 'Gloock', Georgia, serif;
  --display: 'Schibsted Grotesk', system-ui, sans-serif;
  --italic: 'Newsreader', Georgia, serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--display);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.02; }
em, i { font-family: var(--italic); font-style: italic; font-weight: 400; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--pomodoro); outline-offset: 3px; }

.preview-ribbon {
  margin: 0; padding: 7px var(--gutter);
  background: var(--limone); color: var(--vino-deep);
  font-size: 13px; font-weight: 600; text-align: center;
}

/* Unknowns stay visible until the owners confirm them. */
.tbc {
  display: inline-block; margin-left: 6px; padding: 1px 8px;
  border: 1.5px dashed currentColor; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap;
  color: var(--pomodoro); vertical-align: 2px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  border: 2px solid transparent;
  transition: transform 160ms ease-out, background-color 160ms ease-out;
}
.btn:active { transform: scale(0.97); }
.btn-lemon { background: var(--limone); color: var(--vino-deep); }
.btn-lemon:hover { background: #F7DD6E; }
.btn-ghost { border-color: var(--on-dark-muted); color: var(--on-dark); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-vino { background: var(--vino); color: var(--on-dark); }
.btn-vino:hover { background: var(--vino-soft); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* Top bar */
.bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 12px var(--gutter);
  background: var(--vino-deep); color: var(--on-dark);
}
.wordmark {
  font-family: var(--serif); font-size: 28px; letter-spacing: -0.01em; text-decoration: none; line-height: 1;
}
.wordmark span { color: var(--limone); }
.bar-nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; font-weight: 600; }
.bar-nav a { text-decoration: none; color: var(--on-dark-muted); }
.bar-nav a:hover { color: var(--on-dark); }
@media (max-width: 720px) { .bar-nav { display: none; } .bar .btn { margin-left: auto; } }

/* Hero */
.hero {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: 24px;
  padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(56px, 8vw, 112px);
  background: var(--vino); color: var(--on-dark);
  overflow: hidden;
}
.hero-copy { max-width: 640px; position: relative; z-index: 1; }
.status {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  padding: 6px 14px 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.22);
  font-size: 14px; font-weight: 600;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--on-dark-muted); }
.status[data-open='true'] .dot { background: #8BD48F; box-shadow: 0 0 0 4px rgba(139, 212, 143, 0.18); }
.hero-title {
  font-size: clamp(76px, 14vw, 184px); line-height: 0.86; letter-spacing: -0.025em; color: var(--paper);
}
.hero-place {
  display: block; margin-top: 14px;
  font-family: var(--display); font-size: clamp(16px, 1.8vw, 20px); letter-spacing: 0.34em; text-transform: uppercase; font-weight: 600;
  color: var(--limone);
}
.hero-line { margin: 28px 0 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; color: var(--limone-soft); }
.hero-sub { margin: 14px 0 0; max-width: 34em; color: var(--on-dark-muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.award {
  margin: 28px 0 0; font-size: 14px; font-weight: 600; color: var(--on-dark-muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.award::before { content: ''; width: 22px; height: 2px; background: var(--limone); }

.hero-plate { position: relative; margin: 0; justify-self: center; width: min(100%, 520px); aspect-ratio: 1; }
.hero-plate img {
  position: absolute; inset: 11%; width: 78%; height: 78%;
  border-radius: 50%; object-fit: cover; object-position: 50% 48%;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}
.plate-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate-ring text {
  fill: var(--on-dark-muted); font: 600 15px var(--display); letter-spacing: 0.24em; text-transform: uppercase;
}
@media (prefers-reduced-motion: no-preference) {
  .plate-ring { animation: turn 90s linear infinite; }
  @keyframes turn { to { transform: rotate(360deg); } }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-plate { width: min(72vw, 360px); margin-top: 8px; }
}

/* Facts strip */
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: var(--max); margin: -36px auto 0; padding: 0 var(--gutter); position: relative; z-index: 2;
}
.fact {
  display: grid; gap: 4px; padding: 20px 22px; background: var(--paper); border: 1.5px solid var(--line);
}
.fact + .fact { border-left: 0; }
.fact strong { font-size: 22px; letter-spacing: -0.02em; }
.fact span { font-size: 15px; color: var(--muted); }
.fact[data-now='true'] { background: var(--limone-soft); }
@media (max-width: 720px) {
  .facts { grid-template-columns: 1fr; margin-top: -24px; }
  .fact + .fact { border-left: 1.5px solid var(--line); border-top: 0; }
}

/* Larder */
.larder { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--gutter) clamp(40px, 6vw, 72px); }
.larder-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; }
.larder-head h2 { font-size: clamp(40px, 6vw, 72px); color: var(--vino); }
.larder-head p { margin: 0; color: var(--muted); max-width: 32em; }
.larder-split {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: center;
  margin-top: 48px; padding-top: 36px; border-top: 2px solid var(--vino);
}
.larder-col h3 { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--pomodoro); margin-bottom: 14px; }
.larder-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.larder-col li { font-size: 20px; line-height: 1.3; }
.larder-col li b { font-weight: 800; }
.larder-col li i { display: block; font-size: 17px; color: var(--muted); }
.larder-amp {
  font-family: var(--italic); font-style: italic; font-size: clamp(96px, 12vw, 168px); line-height: 0.8;
  color: var(--limone); -webkit-text-stroke: 2px var(--vino); paint-order: stroke fill;
}
@media (max-width: 760px) {
  .larder-head { grid-template-columns: 1fr; }
  .larder-split { grid-template-columns: 1fr; gap: 20px; }
  .larder-amp { font-size: 88px; justify-self: start; }
}

/* Menu */
.menu { background: var(--limone-soft); padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); }
.menu-head, .menu-body, .menu-foot, .menu-empty { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.menu-head { display: grid; grid-template-columns: auto 1fr; gap: 12px 48px; align-items: end; }
.menu-head h2 { font-size: clamp(48px, 8vw, 104px); color: var(--vino); letter-spacing: -0.02em; }
.menu-head p { margin: 0; color: var(--muted); max-width: 36em; }
.search { grid-column: 1 / -1; display: block; margin-top: 18px; }
.search input {
  width: 100%; max-width: 520px; min-height: 52px; padding: 0 20px;
  border: 2px solid var(--vino); border-radius: 999px; background: var(--paper);
  font: 500 17px var(--display); color: var(--ink);
}
.search input::placeholder { color: #9A878D; }
@media (max-width: 720px) { .menu-head { grid-template-columns: 1fr; } }

.cats {
  position: sticky; top: 64px; z-index: 10;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 28px 0 8px; padding: 12px var(--gutter);
  background: var(--limone-soft);
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.cats::-webkit-scrollbar { display: none; }
@media (min-width: 1240px) { .cats { padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); } }
.cats a {
  flex: none; padding: 9px 16px; border-radius: 999px;
  border: 1.5px solid rgba(74, 22, 39, 0.28); background: var(--paper);
  font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; color: var(--vino);
}
.cats a[aria-current='true'] { background: var(--vino); border-color: var(--vino); color: var(--on-dark); }

.cat { display: grid; grid-template-columns: 300px 1fr; gap: 24px 56px; padding: 40px 0; border-top: 1.5px solid rgba(74, 22, 39, 0.18); }
.cat:first-child { border-top: 0; }
@media (min-width: 961px) { .cat-side { position: sticky; top: 150px; align-self: start; } }
.cat-side h3 { font-size: clamp(28px, 3.2vw, 40px); color: var(--vino); }
.cat-side p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.cat-live { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 999px; background: var(--vino); color: var(--limone); font-size: 13px; font-weight: 700; }
.cat-photo { margin: 20px 0 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 50% 50% 0 0 / 38% 38% 0 0; }
.cat-photo img { width: 100%; height: 100%; object-fit: cover; }
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.item { padding: 14px 0; border-bottom: 1px dotted rgba(74, 22, 39, 0.3); }
.item-top { display: flex; align-items: baseline; gap: 12px; }
.item-name { font-weight: 700; font-size: 18px; line-height: 1.25; }
.item-price { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--vino); white-space: nowrap; }
.item-desc { margin: 3px 0 0; font-family: var(--italic); font-style: italic; font-size: 17px; line-height: 1.4; color: var(--muted); }
.pop { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pomodoro); white-space: nowrap; }
mark { background: var(--limone); color: inherit; padding: 0 2px; border-radius: 3px; }
@media (max-width: 960px) {
  .cat { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
  .cat-photo { max-width: 420px; aspect-ratio: 21 / 9; border-radius: 999px 999px 0 0 / 100% 100% 0 0; }
}
@media (max-width: 640px) { .items { grid-template-columns: 1fr; } }

.menu-empty { color: var(--muted); padding-block: 24px; }
.menu-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 40px; }
.menu-foot span { color: var(--muted); font-size: 15px; max-width: 36em; }

/* Visit */
.visit {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(32px, 6vw, 96px);
  padding: clamp(64px, 9vw, 120px) var(--gutter);
}
.visit h2 { font-size: clamp(40px, 5vw, 64px); color: var(--vino); }
.visit-note { margin: 10px 0 24px; color: var(--muted); font-size: 15px; }
.hours { width: 100%; border-collapse: collapse; font-size: 19px; }
.hours th, .hours td { padding: 13px 0; border-bottom: 1.5px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr[data-today='true'] th, .hours tr[data-today='true'] td { font-weight: 800; color: var(--vino); }
.hours tr[data-today='true'] th::after { content: 'Today'; margin-left: 10px; padding: 2px 9px; border-radius: 999px; background: var(--limone); font-size: 12px; font-weight: 700; vertical-align: 2px; }
address { margin: 20px 0 0; font-style: normal; font-size: 22px; line-height: 1.4; }
.visit-links { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 4px; }
.visit-links a { display: inline-block; padding: 6px 0; font-weight: 700; color: var(--vino); text-underline-offset: 4px; overflow-wrap: anywhere; }
.visit-dine { margin: 18px 0 0; color: var(--muted); }
.visit-photo { margin: 28px 0 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .visit { grid-template-columns: 1fr; } }

/* Footer */
.foot {
  display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center;
  padding: 40px var(--gutter) 48px; background: var(--vino-deep); color: var(--on-dark-muted); font-size: 14px;
}
.wordmark-foot { font-size: 40px; color: var(--on-dark); }
.foot-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; justify-self: end; font-weight: 600; font-size: 15px; }
.foot-social a { color: var(--on-dark); }
.foot-credits { grid-column: 1 / -1; margin: 0; max-width: 70em; line-height: 1.6; }
@media (max-width: 560px) { .foot { grid-template-columns: 1fr; } .foot-social { justify-self: start; } }
