:root {
  --bg: #fdfcf7;
  --surface: #ffffff;
  --brand: #0a8f6a;
  --brand-700: #075341;
  --accent: #ffd166;
  --ink: #1b2a24;
  --muted: #53626a;
  --navbg: rgba(255,255,255,0.98);
  --gold: #d4af37;
  --ring: #92e0cc;
  --line: #e5e7eb;
  --radius: 16px;
  --safe-area-bottom: env(safe-area-inset-bottom);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
img, picture, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { border: none; background: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: #ffffff;
  color: var(--brand);
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  z-index: 9999;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 1400;
  background: var(--navbg);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.top-nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--brand);
}
.brand img {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  object-fit: cover;
}
.brand span { font-size: 1.1rem; }

.links {
  margin-left: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.links a {
  color: var(--brand);
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 12px;
  transition: all 180ms ease;
}
.links a:hover,
.links a:focus-visible { background: rgba(10,103,81,0.08); }
.links .cta {
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.1);
  background: rgba(250,250,250,0.95);
  place-items: center;
}
.menu-toggle .bar {
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: var(--brand);
  transition: transform 180ms ease, opacity 120ms ease;
}
.menu-toggle .bar + .bar { margin-top: 5px; }
.menu-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 66vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 18px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.14), rgba(0,0,0,0.32));
  z-index: 0;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slides .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 800ms ease;
  animation: fade 24s infinite;
}
.hero-slides.init .slide { opacity: 0; }
.hero-slides .s1 { animation-delay: 0s; }
.hero-slides .s2 { animation-delay: 6s; }
.hero-slides .s3 { animation-delay: 12s; }
.hero-slides .s4 { animation-delay: 18s; }
.hero-slides.init .s1 { opacity: 1; }
@keyframes fade { 0%, 6% { opacity: 0; } 8%, 21% { opacity: 1; } 23%, 100% { opacity: 0; } }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  color: #fff;
}
.hero .logo {
  width: 76px !important;
  max-width: 76px !important;
  height: 76px !important;
  object-fit: contain;
  margin: 0 auto 16px;
}
.hero h1 {
  margin: 0 0 12px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0.3px;
}
.hero p {
  margin: 0 auto 24px;
  max-width: 720px;
  font-size: 1.04rem;
  color: rgba(255,255,255,0.92);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 800;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 25px rgba(10,103,81,0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.btn:hover,
.btn:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(10,103,81,0.16); }
.btn.primary { background: var(--brand); color: #fff; }
.btn.secondary { background: rgba(255,255,255,0.92); color: var(--brand-700); border: 1px solid rgba(255,255,255,0.85); box-shadow: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px 80px;
}
.section {
  margin: 40px 0;
}
.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.section-header h2 {
  margin: 0;
  font-size: 1.34rem;
  color: var(--brand);
  border-bottom: 3px solid rgba(212,175,55,0.35);
  display: inline-flex;
  padding-bottom: 6px;
}
.mthumb {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
}
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.hf-hide {
  display: none !important;
}
table.price-align {
  --w-small: 7ch;
  --w-medium: 8ch;
  --w-large: 9ch;
  --w-half: 9ch;
  --w-full: 9ch;
  --w-50: 8ch;
  --w-100: 8ch;
}
table.price-align th[data-col],
table.price-align td[data-col] {
  text-align: right;
  white-space: nowrap;
}
table.price-align td.num > .price {
  display: inline-block;
  min-width: var(--w-medium);
  text-align: right;
  white-space: nowrap;
}
table.price-align th[data-col="portion"],
table.price-align td[data-col="portion"] > .price {
  min-width: var(--w-small);
}
table.price-align th[data-col="half"],
table.price-align td[data-col="half"] > .price {
  min-width: var(--w-half);
}
table.price-align th[data-col="full"],
table.price-align td[data-col="full"] > .price {
  min-width: var(--w-full);
}
table.price-align th[data-col="50"],
table.price-align td[data-col="50"] > .price {
  min-width: var(--w-50);
}
table.price-align th[data-col="100"],
table.price-align td[data-col="100"] > .price {
  min-width: var(--w-100);
}
table.price-align.has-half-full col[data-col="half"],
table.price-align.has-half-full col[data-col="full"] {
  width: var(--w-large);
}
table.price-align.has-50-100 col[data-col="50"],
table.price-align.has-50-100 col[data-col="100"] {
  width: var(--w-medium);
}
table.price-align.has-portion col[data-col="portion"] {
  width: var(--w-small);
}
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,0.06);
}
thead th {
  text-align: left;
  color: var(--brand);
  font-weight: 800;
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(212,175,55,0.25);
  white-space: nowrap;
}
tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
tbody tr:last-child td { border-bottom: none; }
td.num { text-align: right; font-weight: 700; }
td.call { text-align: center; color: #b06b00; font-weight: 700; }
.dish-btn { background:none; border:none; padding:0; font:inherit; color: var(--brand-700); font-weight: 800; cursor: pointer; }
.dish-btn:hover,
.dish-btn:focus-visible { text-decoration: underline; }

.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,0,0,0.08);
}
.theme-switch .track {
  width: 56px;
  height: 28px;
  border-radius: 999px;
  background: #e9e9e9;
  position: relative;
}
.theme-switch .knob {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 220ms cubic-bezier(0.2,0.9,0.2,1);
}
.theme-switch.on .track { background: var(--brand); }
.theme-switch.on .knob { transform: translateX(28px); }
.theme-switch .switch-text { min-width: 64px; font-weight: 800; color: #334; }

footer {
  padding: 28px 18px 40px;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.92);
}
footer div { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1500;
}
.modal.show { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); backdrop-filter: blur(2px); }
.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(780px, 94vw);
  max-height: 92vh;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.24);
  display: flex;
  flex-direction: column;
}
.modal-media { width: 100%; min-height: 210px; background: #000; display: grid; place-items: center; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 22px 24px; }
.modal-body h3 { margin: 0 0 10px; font-size: 1.35rem; color: var(--brand); }
.modal-body p { margin: 0 0 12px; color: #3b4b45; }
.modal-body .ingredients { margin: 0; padding-left: 20px; color: #2b3a34; }
.modal-body .ingredients li { margin: 4px 0; }
.modal-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.modal-tags .tag { display: inline-flex; padding: 7px 12px; border-radius: 999px; background: rgba(10,166,123,0.1); color: var(--brand-700); border: 1px solid rgba(11,104,80,0.2); font-size: 0.9rem; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 14px; background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,0.16); display: grid; place-items: center; }
.modal-close .x { width: 16px; height: 16px; position: relative; }
.modal-close .x::before, .modal-close .x::after { content: ''; position: absolute; inset: 0; margin: auto; width: 2px; height: 16px; background: var(--brand); border-radius: 1px; }
.modal-close .x::before { transform: rotate(45deg); }
.modal-close .x::after { transform: rotate(-45deg); }

@media (max-width: 860px) {
  .top-nav { padding: 12px 16px; }
  .links { display: none; position: fixed; inset: 70px 16px 16px 16px; background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 18px; padding: 18px; box-shadow: 0 24px 60px rgba(0,0,0,0.16); max-height: calc(100vh - 100px); overflow-y: auto; z-index: 1350; width: auto; }
  .links.open { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .links a { display: block; padding: 14px 14px; border-radius: 14px; }
  .menu-toggle { display: grid; }
}

@media (max-width: 640px) {
  .hero { min-height: 56vh; padding: 36px 16px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-ctas { flex-direction: column; }
  .top-nav { gap: 8px; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .mthumb { width: 38px; height: 38px; }
  .hero .logo { width: 64px !important; max-width: 64px !important; height: 64px !important; margin-bottom: 14px; }
  .table-wrap { overflow-x: auto; }
  .table-wrap table { display: table; min-width: 560px; }
  .table-wrap thead { display: table-header-group; position: static; height: auto; width: auto; overflow: visible; }
  .table-wrap tbody { display: table-row-group; }
  .table-wrap tr { display: table-row; }
  .table-wrap th, .table-wrap td { display: table-cell; }
  .table-wrap td:not(:first-child)::before { content: none; }
  .theme-switch { width: 100%; justify-content: space-between; }
  footer div { justify-content: center; }
}

@supports (padding: max(0px)) {
  .container { padding-bottom: max(120px, var(--safe-area-bottom)); }
}

@media (max-width: 860px) {
  .table-wrap { overflow-x: auto; }
  .table-wrap table { display: table !important; min-width: 560px; }
  .table-wrap thead { display: table-header-group !important; position: static !important; height: auto !important; width: auto !important; overflow: visible !important; }
  .table-wrap tbody { display: table-row-group !important; }
  .table-wrap tr { display: table-row !important; }
  .table-wrap th, .table-wrap td { display: table-cell !important; }
  .table-wrap td:not(:first-child)::before { content: none !important; }
}

/* Utility and section-level helpers */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: #fff;
  color: var(--brand);
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  z-index: 9999;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

:where(a, button, input, select, textarea):where(:focus-visible) {
  outline: 3px solid #92e0cc;
  outline-offset: 3px;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

.social-bar {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 10px;
  z-index: 1100;
}
.social-bar a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.social-bar svg {
  width: 22px;
  height: 22px;
  fill: var(--brand);
}
@media (max-width: 640px) {
  .social-bar {
    top: auto;
    bottom: 84px;
    right: 12px;
    transform: none;
  }
  .social-bar a {
    width: 44px;
    height: 44px;
  }
}

.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: #fff;
  border-top: 1px solid #eaeaea;
  display: none;
}
.action-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  padding: 10px 16px calc(10px + var(--safe-area-bottom));
  align-items: center;
}
.action-inner a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--brand);
  color: #fff;
  background: var(--brand);
}
.action-inner a.secondary {
  background: #fff;
  color: var(--brand);
}
@media (max-width: 640px) {
  .action-bar { display: block; }
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(780px, 94vw);
  max-height: 92vh;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.24);
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .modal-dialog {
    display: grid !important;
    grid-template-columns: 48% 1fr;
    grid-template-areas: "media body" "media footer";
    max-height: min(86vh, 900px);
    overflow: hidden;
  }
  .modal-media { grid-area: media; height: auto !important; min-height: 100%; }
  .modal-body { grid-area: body; padding: 18px 18px 10px; overflow: auto; }
  .modal-footer { grid-area: footer; padding: 12px 18px 18px; border-top: 1px solid #eee; }
  .modal-media img { height: 100%; object-fit: cover; }
}

#weekend-specials .ws-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
#weekend-specials .ws-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  gap: 0;
}
#weekend-specials .ws-media {
  flex: 0 0 34%;
  max-width: 34%;
  background: #000;
  display: grid;
  place-items: center;
}
#weekend-specials .ws-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#weekend-specials .ws-body {
  padding: 12px 14px;
}
#weekend-specials .ws-body h3 {
  margin: 0 0 6px;
  color: #0a624c;
  font-size: 1.05rem;
}
#weekend-specials .ws-body p {
  margin: 0;
  color: #3b4b45;
}
#weekend-specials .tag {
  display: inline-block;
  margin-top: 6px;
  font-size: .8rem;
  background: #eaf6f2;
  color: #0a684f;
  border: 1px dashed #bfe3d7;
  padding: 6px 10px;
  border-radius: 999px;
}
@media (max-width: 640px) {
  #weekend-specials .ws-card { flex-direction: column; }
  #weekend-specials .ws-media { max-width: none; flex: 0 0 auto; height: 180px; }
  #weekend-specials .ws-body { padding: 12px 14px 14px; }
  #weekend-specials .ws-body h3 { font-size: 1.02rem; }
  #weekend-specials .ws-body p { font-size: .95rem; line-height: 1.45; }
}

#testimonials .t-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 900px) {
  #testimonials .t-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  #testimonials .t-grid { grid-template-columns: 1fr; }
}
#testimonials .t-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#testimonials .t-stars {
  display: flex;
  gap: 4px;
  color: var(--gold);
}
#testimonials .t-quote {
  margin: 0;
  color: #3b4b45;
  line-height: 1.6;
}
#testimonials .t-meta {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.94rem;
}
#testimonials .t-author {
  color: var(--brand);
  font-weight: 800;
}
#testimonials .t-dot {
  opacity: 0.5;
}

#recommended .rec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 900px) {
  #recommended .rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  #recommended .rec-grid { grid-template-columns: 1fr; }
}
#recommended .rec-card {
  display: flex;
  gap: 12px;
  align-items: stretch;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  overflow: hidden;
}
#recommended .rec-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  flex: 0 0 120px;
}
#recommended .rec-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#recommended .rec-title {
  font-weight: 800;
  color: #0a684f;
  text-decoration: none;
}
#recommended .rec-title:hover { text-decoration: underline; }
#recommended .rec-desc {
  margin: 0;
  color: #3b4b45;
}
#recommended .rec-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
#recommended .rec-tags span {
  font-size: 0.85rem;
  color: var(--brand-700);
  background: rgba(10,166,123,0.1);
  border-radius: 999px;
  padding: 6px 10px;
}

