:root {
  --bg: #1a0e12;
  --bg-raise: #2a1218;
  --paper: #f6ead2;
  --paper-deep: #ead7b4;
  --ink: #2a1c14;
  --ink-soft: #5c4636;
  --wine: #582040;
  --wine-deep: #582040;
  --gold: #885C16;
  --gold-bright: #885C16;
  --line: rgba(136, 92, 22, 0.4);
  --serif: "Source Serif 4", "Palatino Linotype", Palatino, serif;
  --display: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --script: "Great Vibes", cursive;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
  --radius: 18px;
  --max: 1080px;
  --dock: 0px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.6;
  background:
    radial-gradient(900px 480px at 50% -10%, #3a1824 0%, transparent 60%),
    var(--bg);
  padding-bottom: calc(var(--dock) + 1.5rem);
}

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

a { color: var(--wine-deep); }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  z-index: 20;
}

.skip:focus { top: 0.6rem; }

.wrap {
  width: min(var(--max), calc(100% - 1.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 234, 210, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(136, 92, 22, 0.35);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0 0.35rem;
}

.header-logo {
  display: block;
  line-height: 0;
}

.header-logo img {
  height: 72px;
  width: auto;
}

.langs {
  display: flex;
  gap: 0.25rem;
}

.langs button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--wine);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  border-radius: 999px;
  cursor: pointer;
}

.langs button[aria-pressed="true"] {
  background: var(--wine);
  color: var(--paper);
  border-color: var(--wine);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.15rem;
  padding: 0 0 0.55rem;
}

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

.nav a {
  flex: 0 0 auto;
  color: var(--wine);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
}

.nav a[aria-current="true"] {
  background: rgba(88, 32, 64, 0.1);
  color: var(--wine);
}

.sheet[id] { scroll-margin-top: 8.4rem; }

.sheet {
  position: relative;
  background-color: var(--paper);
  background-image: url("../images/parchment.jpg");
  background-size: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.15rem 1.4rem;
  margin: 1rem auto;
}

.sheet::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  pointer-events: none;
}

.sheet > * { position: relative; z-index: 1; }

.kicker {
  margin: 0 0 0.2rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

h2, .menu-cat h3 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--wine);
  line-height: 1.05;
  margin: 0 0 0.7rem;
}

h2 { font-size: clamp(2.1rem, 6vw, 3.3rem); }

.lead, .sheet p { margin: 0 0 0.85rem; }

.owner-line {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--wine-deep);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(760px, calc(100svh - 6.5rem));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto;
  border-radius: var(--radius);
  background: #1a0e12;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-photo.is-shown { opacity: 1; }

.hero-card {
  position: relative;
  z-index: 1;
  width: min(28rem, calc(100% - 1.4rem));
  margin: 1.1rem;
  padding: 1.15rem 1rem 1.25rem;
  text-align: center;
  background-color: var(--paper);
  background-image: url("../images/parchment.jpg");
  background-size: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.brand-logo {
  width: min(250px, 78%);
  height: auto;
  margin: 0.2rem auto 0.15rem;
}

.herb {
  position: absolute;
  width: 108px;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

.herb-rosemary { top: 10px; left: 6px; }
.herb-sage { right: 4px; bottom: 8px; width: 120px; }

.subtitle {
  margin: 0.2rem 0 0.85rem;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.2rem, 3.4vw, 1.55rem);
  color: var(--ink-soft);
}

.hero-actions, .btn-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border: 1.5px solid transparent;
}

.btn-wine {
  background: var(--wine);
  color: #fbf6ea;
}

.btn-line {
  background: transparent;
  color: var(--wine-deep);
  border-color: var(--gold);
}

.hero-meta {
  margin: 0.95rem 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.hero-meta a { color: inherit; }

.rating {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
  font-family: var(--sans);
  font-size: 0.92rem;
}

.rating a { color: var(--wine); }

.about-layout { display: grid; gap: 1rem; }

.about-photo,
.feature-row figure { margin: 0; }

.about-photo img,
.feature-row img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.kitchen {
  margin: 0.9rem 0 0;
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--wine);
}

.chips, .pay-list, .services {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chips li, .pay-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-family: var(--sans);
  font-size: 0.86rem;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.35);
}

.known-label {
  margin: 1rem 0 0.35rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.services {
  display: grid;
  gap: 0.7rem;
}

.service-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.15rem 0.75rem;
  align-items: center;
  padding: 0.7rem 0.15rem;
  border-bottom: 1px solid var(--line);
}

.service-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--wine);
}

.service-card p {
  grid-column: 2;
  margin: 0;
  color: var(--ink-soft);
}

.service-icon {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  color: var(--gold);
}

.pay-title {
  margin: 1.2rem 0 0.45rem;
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--wine);
}

.pay-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.hours {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.4rem;
}

.hours th, .hours td {
  text-align: left;
  padding: 0.72rem 0.2rem;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}

.hours th {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}

.hours td {
  text-align: right;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}

.hours .split {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}

.hours .is-today th { color: var(--wine); }

.hours .is-closed td { letter-spacing: 0.04em; }

.today-badge {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: var(--wine);
  color: #fbf6ea;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 0.2rem;
}

.menu-todo {
  margin-top: 0.4rem;
  padding: 1rem 0.9rem;
  border: 1.5px dashed var(--gold);
  border-radius: 12px;
  background: rgba(255, 250, 240, 0.45);
}

.menu-todo h3 {
  margin: 0 0 0.4rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wine-deep);
}

.menu-cat { margin-top: 1.3rem; }

.menu-cat h3 {
  font-size: 2rem;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.2rem;
}

.dish {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dotted rgba(141, 107, 52, 0.55);
}

.dish h4 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  overflow-wrap: break-word;
}

.price {
  margin: 0;
  font-family: var(--sans);
  color: var(--wine);
  font-weight: 600;
}

.dish-desc {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink-soft);
}

.menu-actions { margin-top: 1rem; }

.notes { margin-top: 1rem; }
.notes h3 {
  font-family: var(--display);
  color: var(--wine);
  margin: 0 0 0.3rem;
}

.gallery {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.6rem;
}

.frame {
  margin: 0;
  position: relative;
  min-height: 180px;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(246, 234, 210, 0.2), rgba(114, 47, 73, 0.08)),
    url("../images/parchment.jpg");
  background-size: cover;
  border: 1px solid var(--line);
}

.frame img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.frame figcaption {
  padding: 0.7rem 0.8rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.frame figcaption strong {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--wine);
}

.frame figcaption span, .todo-mark {
  font-family: var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
}

.is-placeholder {
  min-height: 210px;
  background-image:
    url("../images/herb-sage.svg"),
    url("../images/parchment.jpg");
  background-repeat: no-repeat, no-repeat;
  background-position: right 8px bottom 8px, center;
  background-size: 90px, cover;
}

.is-placeholder figcaption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.7rem;
}

.todo-mark {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  background: rgba(246, 234, 210, 0.8);
}

.contacts {
  display: grid;
  gap: 0.6rem;
  margin: 0.3rem 0 1rem;
}

.contact-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.4);
  min-height: 48px;
}

.contact-link span {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-link strong {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--wine-deep);
}

.map-frame {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #ddd;
  min-height: 260px;
}

.map-frame iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

.address-block { margin: 0.8rem 0; }
.address-block span { display: block; }
.address-block span:first-child {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.address-block span:last-child {
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.45;
}

.site-footer {
  width: min(var(--max), calc(100% - 1.5rem));
  margin: 0.4rem auto 1rem;
  color: #e7d7b8;
  text-align: center;
  padding: 0.4rem 0 0.2rem;
}

.site-footer p { margin: 0.25rem 0; }

.site-footer a { color: #f3e6c8; }

.footer-name {
  font-family: var(--display);
  font-size: 1.4rem;
}

.piva {
  font-family: var(--sans);
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: #1a120e;
  border-top: 1px solid rgba(198, 161, 92, 0.35);
}

.dock a {
  color: var(--paper);
  text-decoration: none;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 0.3rem calc(0.85rem + env(safe-area-inset-bottom));
  min-height: 48px;
}

.dock a + a { border-left: 1px solid rgba(198, 161, 92, 0.25); }

@media (max-width: 719px) {
  :root { --dock: 58px; }
}

@media (min-width: 720px) {
  .dock { display: none; }
  .sheet[id] { scroll-margin-top: 6.2rem; }
  .wrap { width: min(var(--max), calc(100% - 3rem)); }
  .sheet { padding: 2.2rem 2.2rem 1.8rem; margin: 1.4rem auto; }
  .hero { margin: 1.4rem auto; }
  .nav { flex-wrap: nowrap; justify-content: flex-end; padding-bottom: 0.7rem; }
  .hero-actions, .btn-row { flex-direction: row; justify-content: center; }
  .services { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr 1fr; }
  .visit-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.2rem;
    align-items: start;
  }
  .map-frame iframe { height: 100%; min-height: 420px; }
  .hero-card .herb { width: 88px; }
  .hero-card .herb-sage { width: 100px; }
  .about-layout { grid-template-columns: 1.15fr 0.85fr; align-items: stretch; }
  .about-photo img { height: 100%; min-height: 320px; }
  .feature-row { grid-template-columns: repeat(4, 1fr); }
  .feature-row img { height: 180px; }
  .header-logo img { height: 84px; }
  .brand-logo { width: min(280px, 80%); }
  .nav a { font-size: 0.82rem; padding: 0.45rem 0.7rem; }
  .header-bar { padding-top: 0.7rem; }
  .hours .split { flex-direction: row; gap: 0.45rem; }
  .hours .split span + span::before { content: "·"; margin-right: 0.45rem; color: var(--gold); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo { transition: none; }
}
