:root {
  --wine: #7d2025;
  --wine-dark: #56151a;
  --tomato: #b94638;
  --cream: #f5efe3;
  --cream-light: #fffaf1;
  --paper: #fffdf8;
  --ink: #211b18;
  --ink-soft: #71665f;
  --olive: #536046;
  --line: rgba(62, 42, 31, 0.14);
  --line-strong: rgba(62, 42, 31, 0.25);
  --white: #fff;
  --page-space: clamp(20px, 5vw, 76px);
  --section-space: clamp(76px, 10vw, 138px);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --shadow-sm: 0 12px 36px rgba(47, 27, 18, 0.09);
  --shadow-md: 0 28px 80px rgba(47, 27, 18, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-light);
  font-family: "DM Sans", sans-serif;
  line-height: 1.55;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 82px;
  padding: 12px var(--page-space);
  align-items: center;
  border-bottom: 1px solid rgba(125, 32, 37, 0.12);
  background: rgba(255, 250, 241, 0.94);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; width: max-content; gap: 11px; align-items: center; color: var(--ink); text-decoration: none; }
.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 50% 50% 50% 12px;
  color: var(--cream-light);
  background: var(--wine);
  font-family: "Fraunces", serif;
  font-size: 24px;
  transform: rotate(-4deg);
}
.brand > span:last-child { display: grid; line-height: 1; }
.brand strong { font-family: "Fraunces", serif; font-size: 20px; letter-spacing: -0.02em; }
.brand small { margin-top: 4px; color: var(--wine); font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
nav { display: flex; gap: clamp(20px, 3vw, 42px); }
nav a { position: relative; padding: 10px 0; color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; }
nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
nav a:hover::after, nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.phone-button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 20px;
  align-items: center;
  justify-self: end;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}
.phone-button:hover { color: var(--white); background: var(--ink); transform: translateY(-2px); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  min-height: calc(100svh - 82px);
  padding: clamp(58px, 8vw, 118px) var(--page-space) clamp(76px, 9vw, 128px);
  gap: clamp(50px, 7vw, 110px);
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(125, 32, 37, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 32, 37, 0.04) 1px, transparent 1px),
    var(--cream-light);
  background-size: 32px 32px;
}
.hero::before {
  position: absolute;
  top: -16vw;
  right: -11vw;
  width: 44vw;
  height: 44vw;
  border-radius: 50%;
  content: "";
  background: rgba(185, 70, 56, 0.08);
}
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 15px;
  color: var(--wine);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}
h1, h2 { margin: 0; font-family: "Fraunces", serif; font-weight: 700; letter-spacing: -0.045em; line-height: 0.98; }
h1 { max-width: 760px; font-size: clamp(54px, 6.6vw, 104px); }
h1 em { color: var(--wine); font-weight: inherit; }
h2 { font-size: clamp(42px, 5.2vw, 72px); }
.hero-text { max-width: 590px; margin: 28px 0 32px; color: var(--ink-soft); font-size: clamp(17px, 1.5vw, 20px); }
.hero-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.primary-button, .submit-button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 25px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--wine);
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.primary-button:hover, .submit-button:hover { background: var(--wine-dark); box-shadow: 0 12px 28px rgba(86, 21, 26, 0.22); transform: translateY(-2px); }
.text-link { color: var(--ink); font-size: 14px; font-weight: 700; text-underline-offset: 5px; }
.text-link span { display: inline-block; margin-left: 7px; transition: transform 160ms ease; }
.text-link:hover span { transform: translateX(5px); }
.hero-notes { display: flex; margin: 36px 0 0; padding: 0; gap: 22px; color: var(--ink-soft); list-style: none; font-size: 12px; font-weight: 600; }
.hero-notes li { display: flex; gap: 8px; align-items: center; }
.hero-notes li::before { width: 5px; height: 5px; border-radius: 50%; content: ""; background: var(--tomato); }
.hero-visual { min-height: 560px; }
.hero-image-frame {
  position: absolute;
  top: 0;
  right: 0;
  width: 92%;
  height: 88%;
  overflow: hidden;
  border: 10px solid var(--paper);
  border-radius: 44% 44% 18px 18px;
  box-shadow: var(--shadow-md);
}
.hero-image-frame::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 55%, rgba(33, 27, 24, 0.26)); }
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-board {
  position: absolute;
  right: 6%;
  bottom: 0;
  width: min(390px, 78%);
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-md);
  color: var(--white);
  background: var(--wine);
  box-shadow: var(--shadow-md);
}
.hero-board-label { display: block; margin-bottom: 7px; color: #eecbc0; font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.hero-board strong { display: block; margin-bottom: 4px; font-family: "Fraunces", serif; font-size: 23px; line-height: 1.15; }
.hero-board > span:last-child { color: rgba(255, 255, 255, 0.76); font-size: 12px; }
.hero-stamp {
  position: absolute;
  bottom: 32px;
  left: 0;
  display: grid;
  width: 122px;
  height: 122px;
  place-items: center;
  border: 1px solid var(--wine);
  border-radius: 50%;
  color: var(--wine);
  background: var(--cream-light);
  font-family: "Fraunces", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  transform: rotate(-9deg);
}

.service-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); color: var(--cream); background: var(--wine-dark); }
.service-strip span, .service-strip a { display: grid; min-height: 58px; padding: 13px 24px; place-items: center; color: inherit; font-size: 12px; font-weight: 600; text-align: center; }
.service-strip a { font-weight: 700; }
.service-strip > * + * { border-left: 1px solid rgba(255, 255, 255, 0.15); }

.menu-section, .order-section, .contact-section { padding: var(--section-space) var(--page-space); }
.menu-section { background: var(--cream); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); margin-bottom: 44px; gap: 42px; align-items: end; }
.section-heading > p { margin: 0 0 4px; color: var(--ink-soft); }
.category-nav {
  position: sticky;
  top: 94px;
  z-index: 15;
  display: flex;
  margin-bottom: 36px;
  padding: 8px;
  gap: 7px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow-sm);
  scrollbar-width: none;
  backdrop-filter: blur(15px);
}
.category-nav::-webkit-scrollbar { display: none; }
.category-nav button {
  min-height: 42px;
  padding: 0 17px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}
.category-nav button:hover { color: var(--wine); background: rgba(125, 32, 37, 0.07); }
.category-nav button[aria-pressed="true"] { color: var(--white); background: var(--wine); }
.menu-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); align-items: stretch; }
.menu-card {
  display: grid;
  grid-template-rows: 188px 1fr;
  min-height: 500px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 5px 0 rgba(125, 32, 37, 0);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  animation: card-in 360ms ease both;
}
.menu-card:hover { border-color: rgba(125, 32, 37, 0.28); box-shadow: 0 8px 0 rgba(125, 32, 37, 0.09), var(--shadow-sm); transform: translateY(-5px); }
.menu-card-image { position: relative; overflow: hidden; background: #ddc9b6; }
.menu-card-image::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 44%, rgba(33, 27, 24, 0.42)); }
.menu-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.2,.8,.2,1); }
.menu-card:hover .menu-card-image img { transform: scale(1.045); }
.menu-card-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(255, 250, 241, 0.84);
  background:
    radial-gradient(circle at 68% 28%, rgba(255,255,255,.13) 0 8%, transparent 8.5%),
    linear-gradient(135deg, var(--wine-dark), var(--tomato));
}
.menu-card-initial {
  font-family: "Fraunces", serif;
  font-size: 82px;
  font-weight: 700;
  line-height: 1;
  opacity: .72;
  transform: rotate(-7deg);
}
.menu-card-category {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 13px;
  left: 14px;
  overflow: hidden;
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.menu-card-body { display: grid; grid-template-rows: minmax(52px, auto) minmax(0, 1fr) auto; min-height: 0; padding: 20px; }
.menu-card header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.menu-card h3 { margin: 0; overflow-wrap: anywhere; font-family: "Fraunces", serif; font-size: 21px; line-height: 1.08; letter-spacing: -0.025em; }
.price { color: var(--wine); font-size: 11px; font-weight: 700; white-space: nowrap; }
.description {
  display: -webkit-box;
  margin: 12px 0 18px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}
.card-actions { display: grid; grid-template-columns: 1fr; gap: 8px; align-self: end; }
.extra-options { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--cream-light); }
.extra-options summary { padding: 11px; color: var(--ink); cursor: pointer; font-size: 11px; font-weight: 700; }
.extra-options-list { display: grid; max-height: 190px; padding: 0 10px 10px; gap: 3px; overflow-y: auto; }
.extra-options-list label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; padding: 7px 4px; gap: 7px; align-items: center; border-top: 1px solid var(--line); color: var(--ink-soft); cursor: pointer; font-size: 10px; }
.extra-options-list input { width: auto; min-height: 0; margin: 0; }
.extra-options-list strong { color: var(--wine); font-size: 10px; white-space: nowrap; }
select {
  min-width: 0;
  min-height: 44px;
  padding: 0 31px 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--paper);
  font-size: 11px;
  font-weight: 600;
}
.card-actions > a {
  display: grid;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  place-items: center;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--white);
  background: var(--wine);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}
.card-actions > a:hover { background: var(--wine-dark); transform: translateY(-1px); }
.empty-menu { grid-column: 1 / -1; padding: 60px; text-align: center; }

.order-section { display: grid; grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1.28fr); gap: clamp(50px, 8vw, 130px); background: var(--paper); }
.order-intro { position: sticky; top: 128px; height: fit-content; }
.order-intro > p:not(.eyebrow) { max-width: 470px; margin: 24px 0 0; color: var(--ink-soft); }
.phone-order-card { width: 100%; max-width: 760px; padding: clamp(30px, 5vw, 58px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream-light); box-shadow: var(--shadow-sm); justify-self: end; text-align: center; }
.phone-order-label { margin: 0 0 8px; color: var(--wine); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.phone-order-card > a:first-of-type { display: inline-block; color: var(--ink); font-family: "Fraunces", serif; font-size: clamp(38px, 6vw, 66px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.phone-order-card > p:nth-of-type(2) { margin: 22px auto 28px; color: var(--ink-soft); font-size: 13px; }
.phone-order-button { width: 100%; }
.payment-information { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); text-align: left; }
.payment-information p { display: grid; margin: 0; padding: 18px 20px; gap: 4px; }
.payment-information p + p { border-left: 1px solid var(--line); }
.payment-information strong { color: var(--wine); font-size: 13px; }
.payment-information span { color: var(--ink-soft); font-size: 12px; }

.contact-section { position: relative; overflow: hidden; color: var(--cream-light); background: var(--wine); text-align: center; }
.contact-section::before, .contact-section::after { position: absolute; width: 280px; height: 280px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; content: ""; }
.contact-section::before { top: -150px; left: -70px; }
.contact-section::after { right: -80px; bottom: -170px; }
.contact-section .eyebrow { color: #efc6b8; }
.contact-section p:last-child { margin: 26px 0 0; font-size: 16px; }
.contact-section span { font-weight: 700; }
footer { display: flex; min-height: 78px; padding: 23px var(--page-space); align-items: center; justify-content: space-between; color: #d8cbc0; background: var(--ink); font-size: 12px; }
footer p { margin: 0; }
footer a { color: inherit; }

[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #d49b64; outline-offset: 3px; }
@keyframes card-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1180px) {
  .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { grid-template-columns: minmax(0, 0.85fr) minmax(390px, 1.15fr); }
}
@media (max-width: 920px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 570px; }
  .hero-image-frame { width: 92%; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-section { grid-template-columns: 1fr; }
  .order-intro { position: static; max-width: 720px; }
  .phone-order-card { max-width: none; justify-self: stretch; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 78px; }
  .site-header { min-height: 68px; padding: 8px 14px; }
  .brand { gap: 8px; }
  .brand-mark { width: 39px; height: 39px; flex-basis: 39px; font-size: 21px; }
  .brand strong { font-size: 17px; }
  .brand small { font-size: 8px; }
  .phone-button { min-height: 42px; padding: 0 13px; font-size: 11px; }
  .hero { padding: 62px 18px 74px; gap: 42px; }
  h1 { font-size: clamp(48px, 14.5vw, 68px); }
  .hero-actions { gap: 18px; }
  .hero-notes { gap: 12px; flex-wrap: wrap; }
  .hero-visual { min-height: 410px; }
  .hero-image-frame { width: 94%; height: 88%; border-width: 7px; border-radius: 40% 40% 14px 14px; }
  .hero-board { right: 1%; width: 82%; padding: 18px 19px; }
  .hero-board strong { font-size: 19px; }
  .hero-stamp { bottom: 24px; width: 92px; height: 92px; font-size: 14px; }
  .service-strip { grid-template-columns: 1fr; }
  .service-strip span, .service-strip a { min-height: 46px; }
  .service-strip > * + * { border-top: 1px solid rgba(255,255,255,.15); border-left: 0; }
  .menu-section, .contact-section { padding-right: 16px; padding-left: 16px; }
  .section-heading { grid-template-columns: 1fr; margin-bottom: 30px; gap: 17px; }
  .category-nav { top: 76px; margin-right: -4px; margin-left: -4px; padding: 7px; border-radius: 14px; }
  .menu-card { grid-template-rows: 170px 1fr; min-height: 486px; }
  .menu-card-body { padding: 18px; }
  .order-section { padding-right: 14px; padding-left: 14px; }
  .phone-order-card { padding: 30px 16px; border-radius: var(--radius-md); }
  .payment-information { grid-template-columns: 1fr; }
  .payment-information p + p { border-top: 1px solid var(--line); border-left: 0; }
  footer { display: grid; min-height: 96px; gap: 7px; justify-content: center; text-align: center; }
}
@media (max-width: 460px) {
  .menu-grid { grid-template-columns: 1fr; }
  .menu-card { grid-template-rows: 190px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
