@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/playfair.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/playfair-italic.woff2") format("woff2");
  font-weight: 500 700;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f3e9;
  --cream: #fffaf0;
  --ink: #2d211e;
  --muted: #655752;
  --wine: #541f2b;
  --wine-dark: #411620;
  --accent: #8a3b44;
  --olive: #353c2d;
  --border: #d9cbbd;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-padding-top: 1.2rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--sans);
}

a { color: inherit; }
a:focus-visible {
  outline: 3px solid #2b704f;
  outline-offset: 4px;
}

.service-strip a:focus-visible,
.hero a:focus-visible,
.order-band a:focus-visible,
.footer a:focus-visible,
.mobile-order:focus-visible {
  outline-color: #eac481;
}

img { display: block; max-width: 100%; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; }
h1, h2 { letter-spacing: -.052em; line-height: 1.04; }
h2 { font-size: clamp(2.5rem, 5.15vw, 4.75rem); }
h2 em, .full-menus h1 em { color: var(--accent); font-weight: 500; }
h3 { line-height: 1.25; }
address { font-style: normal; }

.wrap { width: min(100% - 5rem, 1200px); margin-inline: auto; }

.skip {
  position: fixed;
  z-index: 10;
  inset: .7rem auto auto .7rem;
  transform: translateY(-170%);
  padding: .65rem 1rem;
  background: var(--cream);
  color: var(--wine);
}
.skip:focus { transform: translateY(0); }

.service-strip {
  background: var(--wine);
  color: var(--cream);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .035em;
}
.service-inner {
  min-height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
}
.service-inner a { text-decoration: none; }
.service-inner a:hover { text-decoration: underline; }
.service-inner span { margin-inline: .2em; color: #e7b7ad; }

.header { padding-block: .35rem; }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.4rem;
  min-height: 84px;
}
.brand {
  justify-self: start;
  display: inline-grid;
  text-decoration: none;
  color: var(--wine);
  line-height: 1;
}
.brand-name {
  font: 700 clamp(1.85rem, 3.4vw, 2.35rem)/1 var(--serif);
  letter-spacing: -.075em;
}
.brand-dot { color: var(--accent); }
.brand-detail {
  margin: .38rem 0 0 .14rem;
  font-size: .63rem;
  letter-spacing: .23em;
  text-transform: uppercase;
  font-weight: 700;
}
.brand-detail span { color: var(--accent); }

.primary-nav { display: flex; align-items: center; gap: clamp(1.3rem, 3vw, 2.8rem); }
.primary-nav a, .footer-inner > a:last-child {
  font-size: .91rem;
  font-weight: 700;
  text-decoration: none;
}
.primary-nav a { padding-block: .7rem; }
.primary-nav a:hover, .footer-inner > a:last-child:hover { text-decoration: underline; text-underline-offset: .35em; }
.header-order { justify-self: end; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .72rem;
  min-height: 48px;
  padding: .72rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.button span, .text-link span, .mobile-order span { font-size: 1.12em; }
.button-primary { background: var(--wine); color: var(--cream); }
.button-primary:hover { background: var(--wine-dark); }
.button-paper { background: var(--cream); color: var(--wine-dark); }
.button-paper:hover { background: #f1dfc8; }
.button-outline-light { color: var(--cream); border-color: #b88988; }
.button-outline-light:hover { background: #ffffff16; }
.button-outline { color: var(--wine); border-color: #b09087; }
.button-outline:hover { background: #f0e4d6; }

.hero {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  min-height: clamp(440px, 43vw, 555px);
  border-radius: 10px;
  overflow: hidden;
  background: var(--wine);
  color: var(--cream);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 5.4vw, 5.05rem);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .9rem;
  font-size: .72rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.accent { color: var(--accent); }
.italian-rule {
  width: 29px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, #8baa79 33%, #f4e6d4 33% 66%, #d88281 66%);
}
.hero h1 { font-size: clamp(3.3rem, 6.2vw, 6rem); }
.hero h1 em, .order-band h2 em { color: #f0c3b3; font-weight: 500; }
.hero-description {
  margin-top: 1.25rem;
  max-width: 34ch;
  color: #f1dcd4;
  font-size: clamp(1rem, 1.45vw, 1.15rem);
}
.actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.hero-actions { margin-top: 1.65rem; }
.hero-photo { position: relative; min-width: 0; min-height: 0; }
.hero-photo img, .booking-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption {
  position: absolute;
  inset: auto 1rem 1rem auto;
  border-radius: 3px;
  background: #332019eb;
  color: var(--cream);
  padding: .35rem .65rem;
  font-size: .72rem;
  font-weight: 600;
}

.menu-section { padding-block: clamp(3.1rem, 7vw, 6rem); }
.section-heading, .menu-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.25rem;
}
.section-heading { margin-bottom: 1.8rem; }
.menu-switch {
  display: inline-flex;
  gap: .22rem;
  border: 1px solid var(--border);
  padding: .24rem;
  border-radius: 6px;
  background: #efe6da;
  width: fit-content;
}
.menu-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .5rem .9rem;
  min-height: 44px;
  border-radius: 4px;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: var(--wine);
}
.menu-switch a:hover { background: #fff8ec; }
.menu-switch a[aria-selected="true"] { background: var(--wine); color: var(--cream); }

.menu-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.menu-card {
  display: grid;
  grid-template-columns: minmax(130px, .81fr) 1fr;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
}
.menu-card img {
  width: 100%;
  height: 100%;
  max-height: 250px;
  object-fit: cover;
}
.menu-card-copy { padding: clamp(1rem, 2.5vw, 2rem); align-self: center; }
.menu-card h3 { font-size: clamp(1.25rem, 2.3vw, 1.85rem); }
.menu-card p { margin-top: .55rem; color: var(--muted); font-size: .94rem; }

.menu-panel { margin-top: 2.05rem; }
.menu-panel-heading h3 { font-size: clamp(1.35rem, 2.9vw, 2.12rem); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .48em;
  min-height: 44px;
  color: var(--wine);
  width: fit-content;
  font-weight: 700;
  font-size: .92rem;
  text-decoration-thickness: 1px;
  text-underline-offset: .27em;
}
.text-link:hover { color: var(--accent); }
.menu-items {
  display: grid;
  grid-auto-flow: column;
  grid-template: repeat(4, auto) / repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 5vw, 4.5rem);
  margin-top: .55rem;
}
.menu-items div, .hours div {
  display: flex;
  justify-content: space-between;
  gap: .6rem;
}
.menu-items div {
  align-items: baseline;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
}
.menu-items dt { font-weight: 600; }
.menu-items dd { font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu-items small { margin-inline-start: .25rem; color: var(--muted); font-weight: 500; }
.menu-note { margin-top: 1rem; color: var(--muted); font-size: .86rem; }

.order-band { background: var(--olive); color: var(--cream); }
.order-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.6rem;
  padding-block: clamp(2.45rem, 5.6vw, 4.65rem);
}
.order-band .eyebrow { color: #f0c3b3; }
.order-band h2 { font-size: clamp(2.6rem, 5.15vw, 4.4rem); }
.order-band h2 + p { margin-top: .85rem; color: #f4ead9; }
.order-actions { display: grid; gap: .32rem; justify-items: stretch; }
.order-phone { padding-block: .55rem; font-size: .84rem; text-align: center; text-underline-offset: .25em; }

.booking-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.25rem, 6.5vw, 6.9rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 7.15rem);
}
.booking-photo { aspect-ratio: 1.52; overflow: hidden; border-radius: 8px; }
.booking-photo img { object-position: center 52%; }
.booking-copy > p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); max-width: 40ch; }
.booking-copy .actions { margin-top: 1.35rem; }
.booking-copy .booking-note { font-size: .87rem; }

.visit-section { background: #efe5d8; }
.visit-inner { padding-block: clamp(2.9rem, 6.4vw, 5.25rem); }
.visit-title { margin-bottom: 1.8rem; }
.visit-info {
  display: grid;
  grid-template-columns: 1fr 1.22fr .88fr;
  gap: clamp(1.25rem, 4.4vw, 4rem);
}
.visit-info > div { border-top: 1px solid #c9b9aa; padding-top: 1rem; }
.visit-info h3 { margin-bottom: .75rem; font-size: 1.45rem; }
.visit-info address, .hours, .contact { color: var(--muted); }
.visit-info address { margin-bottom: .35rem; }
.hours div + div { margin-top: .34rem; }
.hours dd { text-align: right; }
.contact { list-style: none; padding: 0; margin: 0; }
.contact a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  text-underline-offset: .23em;
  font-weight: 600;
  color: var(--wine);
}
.contact a[href^="mailto:"] { display: block; padding-block: .45rem; overflow-wrap: anywhere; }
.contact a:hover { color: var(--accent); }

.footer { background: var(--wine); color: var(--cream); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 1rem; }
.footer-brand { font: 600 1.55rem/1 var(--serif); text-decoration: none; }
.mobile-actions { display: none; }

.menu-page .header-inner { display: flex; justify-content: space-between; }
.full-menus { padding-block: clamp(2.15rem, 5vw, 4.15rem) 4rem; }
.full-menus h1 { font-size: clamp(3rem, 7vw, 5.75rem); margin-bottom: 1.15rem; }
.full-menu-section { margin-top: 2.55rem; }
.full-menu-section h2 { font-size: clamp(1.75rem, 4vw, 3.1rem); }
.menu-scans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: .95rem; }
.menu-scans a { display: block; overflow: hidden; border: 1px solid var(--border); border-radius: 6px; background: var(--cream); text-decoration: none; }
.menu-scans a:hover { border-color: var(--accent); }
.menu-scans img { width: 100%; height: auto; border-bottom: 1px solid var(--border); }
.menu-scans span { display: flex; justify-content: space-between; gap: .5rem; padding: .8rem 1rem; color: var(--wine); font-weight: 700; }

@media (max-width: 970px) {
  .wrap { width: calc(100% - 3.5rem); }
  .hero-copy { padding-inline: clamp(1.5rem, 4.7vw, 2.8rem); }
  .hero .button { padding-inline: .72rem; gap: .4rem; }
  .menu-card { grid-template-columns: minmax(100px, .73fr) 1fr; }
  .menu-card img { max-height: none; }
  .visit-info { gap: 1.3rem; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 70px; }
  .primary-nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 2.15rem clamp(1.25rem, 5vw, 2.65rem) 2rem; }
  .hero h1 { font-size: clamp(2.9rem, 10vw, 5rem); }
  .hero-photo { aspect-ratio: 1.53; }
  .hero-photo img { object-position: center 56%; }
  .hero-description { margin-top: .95rem; }
  .hero-actions { margin-top: 1.2rem; }
  .eyebrow { margin-bottom: .62rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 1rem; margin-bottom: 1.15rem; }
  .menu-feature { gap: .65rem; }
  .menu-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .menu-card img { aspect-ratio: 1.36; height: auto; }
  .menu-card-copy { padding: .8rem; align-self: start; }
  .menu-card h3 { font-size: clamp(1rem, 4.4vw, 1.5rem); }
  .menu-card p { font-size: .87rem; }
  .menu-items { display: block; }
  .order-inner { grid-template-columns: 1fr; gap: 1rem; }
  .order-actions { justify-self: start; }
  .order-phone { text-align: left; }
  .booking-section { grid-template-columns: 1fr; gap: 1.45rem; }
  .booking-photo { order: 1; }
  .visit-info { grid-template-columns: 1fr; gap: 1rem; }
  .hours { max-width: 28rem; }
  .mobile-actions {
    position: fixed;
    z-index: 3;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: .7fr 1.1fr 1.25fr;
    gap: .25rem;
    padding: .4rem .6rem max(.4rem, env(safe-area-inset-bottom));
    background: var(--cream);
    box-shadow: 0 -1px 0 var(--border);
  }
  .mobile-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .32em;
    min-height: 44px;
    border-radius: 4px;
    padding: .15rem;
    font-size: .845rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    color: var(--wine);
  }
  .mobile-actions a:hover { text-decoration: underline; }
  .mobile-actions .mobile-order { background: var(--wine); color: var(--cream); }
  .footer { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .footer-inner { min-height: 68px; }
  .menu-scans { grid-template-columns: 1fr; }
}

@media (max-width: 370px) {
  .service-strip { font-size: .67rem; }
  .service-inner { gap: .4rem; }
  .hero h1 { font-size: 2.65rem; }
  .hero .button { font-size: .79rem; }
  .menu-panel-heading .text-link { font-size: .8rem; }
  .menu-panel-heading { gap: .7rem; }
}

.external-arrow {
  display: inline-block;
  position: relative;
  flex: none;
  width: .76em;
  height: .76em;
}
.external-arrow::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: .48em;
  height: .48em;
  border-top: .1em solid currentColor;
  border-right: .1em solid currentColor;
}
.external-arrow::after {
  content: "";
  position: absolute;
  left: .02em;
  bottom: .01em;
  width: .93em;
  border-top: .1em solid currentColor;
  transform: rotate(-45deg);
  transform-origin: left center;
}

@media (max-width: 760px) {
  .brand-name, .brand-detail { white-space: nowrap; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, auto) minmax(0, auto); }
  .hero-actions .button { padding-inline: .58rem; }
}

@media (max-width: 370px) {
  .header-inner { gap: .65rem; }
  .header-order { padding-inline: .75rem; font-size: .82rem; gap: .45rem; }
  .service-inner a { white-space: nowrap; }
  .service-inner span { margin-inline: 0; }
  .hero-actions { gap: .38rem; }
  .hero-actions .button { padding-inline: .42rem; gap: .3rem; }
}
