:root {
  color-scheme: light;
  --ink: #253128;
  --ink-soft: #657068;
  --forest: #183f31;
  --forest-light: #275d47;
  --cream: #f7f2e8;
  --cream-deep: #ede3d2;
  --paper: #fffdf8;
  --terracotta: #c96b49;
  --gold: #d4a94e;
  --line: rgba(37, 49, 40, 0.12);
  --shadow: 0 18px 48px rgba(34, 43, 37, 0.1);
  --radius-lg: 28px;
  --radius-md: 18px;
  --page: 1120px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f2ede2;
  --ink-soft: #b8bdb8;
  --forest: #102e24;
  --forest-light: #2f7357;
  --cream: #17211c;
  --cream-deep: #202c26;
  --paper: #1d2822;
  --terracotta: #e58a67;
  --gold: #e0b95f;
  --line: rgba(242, 237, 226, 0.12);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 18px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color 260ms ease, color 260ms ease;
}

main {
  position: relative;
  background-color: var(--cream);
  transition: background-color 260ms ease;
}

body.has-page-image main {
  background-image:
    linear-gradient(color-mix(in srgb, var(--cream) var(--page-overlay, 93%), transparent), color-mix(in srgb, var(--cream) var(--page-overlay, 93%), transparent)),
    var(--page-image);
  background-position: center, var(--page-position, center center);
  background-repeat: no-repeat;
  background-size: auto, var(--page-size, cover);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.page-shell {
  width: min(calc(100% - 40px), var(--page));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--paper);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 630px;
  overflow: hidden;
  background: var(--forest);
  color: #fffdf8;
  isolation: isolate;
}

.hero--has-image {
  background-image: linear-gradient(90deg, color-mix(in srgb, #0a2a1f var(--hero-overlay, 82%), transparent) 0%, color-mix(in srgb, #0a2a1f calc(var(--hero-overlay, 82%) - 8%), transparent) 52%, color-mix(in srgb, #0a2a1f calc(var(--hero-overlay, 82%) - 25%), transparent) 100%), var(--hero-image);
  background-position: center, var(--hero-position, center center);
  background-size: cover;
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -4%;
  bottom: -36%;
  width: min(58vw, 640px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-style: italic;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.brand__name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.theme-toggle {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fffdf8;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(8deg);
}

.theme-toggle svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.theme-toggle__moon,
[data-theme="dark"] .theme-toggle__sun {
  display: none;
}

[data-theme="dark"] .theme-toggle__moon {
  display: block;
}

.hero__content {
  padding-top: 118px;
  padding-bottom: 112px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e9bd6b;
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(54px, 8vw, 92px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.hero h1 em {
  color: #e9bd6b;
  font-weight: 600;
}

.hero__copy {
  max-width: 480px;
  margin: 28px 0 32px;
  color: rgba(255, 253, 248, 0.72);
  font-size: 17px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.hero__action {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 22px;
  border-radius: 99px;
  background: #fffdf8;
  color: #183f31;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: gap 180ms ease, transform 180ms ease;
}

.hero__action:hover {
  gap: 19px;
  transform: translateY(-2px);
}

.hero__action svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero__action--mobile {
  display: none;
}

.hero__ornament {
  position: absolute;
  z-index: -1;
  top: 124px;
  right: max(-32px, calc((100vw - var(--page)) / 2 - 76px));
  width: min(38vw, 450px);
  opacity: 0.18;
  transform: rotate(12deg);
}

.hero__ornament svg {
  width: 100%;
  fill: none;
  stroke: #e9bd6b;
  stroke-width: 1.2;
}

.hero__ornament path {
  fill: rgba(233, 189, 107, 0.12);
}

.hero__glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(10px);
}

.hero__glow--one {
  top: -260px;
  left: -180px;
  width: 500px;
  height: 500px;
  background: rgba(62, 131, 99, 0.22);
}

.hero__glow--two {
  right: 10%;
  bottom: -230px;
  width: 480px;
  height: 480px;
  background: rgba(201, 107, 73, 0.14);
}

.menu-section {
  padding-block: 92px 112px;
}

body.has-page-image .menu-section { position: relative; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 6vw, 62px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.result-count {
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 14px;
}

.search-wrap {
  position: relative;
  margin-top: 38px;
}

.search-wrap > svg {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 20px;
  fill: none;
  stroke: var(--ink-soft);
  stroke-linecap: round;
  stroke-width: 1.8;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-wrap input {
  width: 100%;
  height: 58px;
  padding: 0 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.search-wrap input::placeholder {
  color: var(--ink-soft);
}

.search-wrap input:focus {
  border-color: var(--forest-light);
  box-shadow: 0 0 0 4px rgba(39, 93, 71, 0.1);
}

.search-clear {
  position: absolute;
  top: 50%;
  right: 14px;
  display: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--ink-soft);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.search-clear.is-visible {
  display: grid;
  place-items: center;
}

.category-nav-wrap {
  position: relative;
  margin: 24px -2px 0;
}

.category-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-width: none;
}

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

.category-button {
  flex: 0 0 auto;
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.category-button:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.category-button.is-active {
  border-color: var(--forest);
  background: var(--forest);
  color: #fffdf8;
}

[data-theme="dark"] .category-button.is-active {
  border-color: var(--forest-light);
  background: var(--forest-light);
}

.menu-content {
  margin-top: 52px;
}

.menu-group + .menu-group {
  margin-top: 68px;
}

.menu-group__heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.menu-group__heading h3 {
  flex: 0 0 auto;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 31px;
  line-height: 1;
}

.menu-group__heading::after {
  width: 100%;
  height: 1px;
  background: var(--line);
  content: "";
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.menu-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 154px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.menu-card--with-image {
  flex-direction: row;
  align-items: stretch;
}

.menu-card__body {
  display: grid;
  min-width: 0;
  flex: 1;
  padding: 24px;
}

.menu-card__image {
  display: block;
  width: 132px;
  min-height: 154px;
  flex: 0 0 132px;
  align-self: stretch;
  border-right: 1px solid var(--line);
  object-fit: cover;
}

.menu-card:hover {
  border-color: rgba(39, 93, 71, 0.26);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.menu-card--featured {
  border-color: rgba(201, 107, 73, 0.3);
  background: linear-gradient(135deg, var(--paper), color-mix(in srgb, var(--terracotta) 5%, var(--paper)));
}

.menu-card__top {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
  gap: 20px;
}

.menu-card h4 {
  min-width: 0;
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.price {
  max-width: 100%;
  color: var(--terracotta);
  font-size: 17px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.menu-card__description {
  min-width: 0;
  max-width: 100%;
  margin: 10px 0 16px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 7px;
  margin-top: auto;
}

.badge {
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 99px;
  background: var(--cream);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.badge--popular {
  background: color-mix(in srgb, var(--terracotta) 13%, transparent);
  color: var(--terracotta);
}

.badge--vegan,
.badge--vegetarian {
  background: color-mix(in srgb, var(--forest-light) 12%, transparent);
  color: var(--forest-light);
}

[data-theme="dark"] .badge--vegan,
[data-theme="dark"] .badge--vegetarian {
  color: #70bd94;
}

.empty-state {
  padding: 72px 20px;
  text-align: center;
}

.empty-state > span {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--ink-soft);
  font-family: Georgia, serif;
  font-size: 34px;
}

.empty-state h3 {
  margin: 0 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 27px;
}

.empty-state p {
  margin: 0;
  color: var(--ink-soft);
}

.text-button {
  margin-top: 18px;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--terracotta);
  font-weight: 700;
  cursor: pointer;
}

.info-strip {
  padding-block: 54px;
  background: var(--cream-deep);
}

.info-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.info-strip article {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.info-icon {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--forest-light);
}

.info-icon svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.info-strip h3 {
  margin: 1px 0 5px;
  font-size: 14px;
}

.info-strip p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

.social-section {
  padding: 78px 0 86px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(16px);
}

.social-section__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.social-section__heading h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.social-section__heading > p {
  max-width: 430px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.social-profiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.social-profile {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 22px 16px 18px;
  justify-items: center;
  gap: 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  box-shadow: 0 8px 28px rgba(28, 39, 32, 0.05);
  text-align: center;
  text-decoration: none;
  isolation: isolate;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), border-color 220ms ease, box-shadow 220ms ease;
}

.social-profile::before {
  position: absolute;
  z-index: -1;
  inset: auto -25% -65% -25%;
  height: 90%;
  border-radius: 50%;
  background: color-mix(in srgb, var(--terracotta) 11%, transparent);
  content: "";
  transition: transform 260ms ease;
}

.social-profile:hover,
.social-profile:focus-visible {
  border-color: color-mix(in srgb, var(--terracotta) 44%, var(--line));
  box-shadow: 0 16px 38px rgba(28, 39, 32, 0.11);
  outline: 0;
  transform: translateY(-5px);
}

.social-profile:hover::before { transform: translateY(-14%); }

.social-profile__avatar {
  display: grid;
  width: 78px;
  aspect-ratio: 1;
  overflow: hidden;
  place-items: center;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 9px 24px rgba(24, 63, 49, 0.14);
}

.social-profile__avatar img { width: 100%; height: 100%; object-fit: cover; }
.social-profile__copy { display: grid; min-width: 0; gap: 4px; }
.social-profile__copy strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.social-profile__copy small { color: var(--ink-soft); font-size: 11px; }
.social-profile__arrow { width: 18px; fill: none; stroke: var(--terracotta); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.footer {
  padding-block: 52px;
  background: var(--forest);
  color: #fffdf8;
}

.footer__inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand--footer .brand__mark {
  width: 36px;
  height: 36px;
  font-size: 20px;
}

.brand--footer .brand__name {
  font-size: 22px;
}

.footer p {
  margin: 0;
  color: rgba(255, 253, 248, 0.74);
  font-size: 13px;
}

.footer__note {
  margin-left: auto !important;
  text-align: right;
  white-space: pre-line;
  overflow-wrap: anywhere;
  line-height: 1.6;
}

.back-to-top {
  position: fixed;
  z-index: 10;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 10px 24px rgba(75, 40, 28, 0.2);
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.noscript {
  position: fixed;
  z-index: 99;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 14px;
  border-radius: 12px;
  background: #8f2f20;
  color: #fff;
  text-align: center;
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 28px), var(--page));
  }

  main {
    z-index: 2;
    margin-top: 0;
    border-radius: 0;
  }

  .hero {
    min-height: 0;
    background: var(--forest);
  }

  .hero--has-image {
    background-color: var(--cream);
    background-image: var(--hero-image);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .hero--has-image.hero--minimal {
    aspect-ratio: var(--hero-mobile-aspect, 1800 / 625);
  }

  .hero--minimal .hero__content,
  .hero--minimal .hero__ornament,
  .hero--minimal .hero__glow {
    display: none;
  }

  .hero__content > .hero__action {
    display: none;
  }

  .hero__action--mobile {
    display: inline-flex;
    margin-bottom: 32px;
  }

  .topbar {
    padding-top: 20px;
  }

  .brand__name {
    font-size: 22px;
  }

  .hero__content {
    padding-top: 105px;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(51px, 15.5vw, 72px);
  }

  .hero__copy {
    max-width: 330px;
    margin-top: 23px;
    font-size: 15px;
  }

  .hero__ornament {
    top: auto;
    right: -120px;
    bottom: -60px;
    width: 340px;
    opacity: 0.1;
  }

  .menu-section {
    padding-block: 32px 82px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .section-heading h2 {
    font-size: 46px;
  }

  .result-count {
    margin: 0;
  }

  .search-wrap {
    margin-top: 28px;
  }

  .category-nav-wrap {
    margin-right: -14px;
  }

  .category-nav {
    padding-right: 14px;
  }

  .menu-content {
    margin-top: 38px;
  }

  .menu-group + .menu-group {
    margin-top: 50px;
  }

  .menu-group__heading h3 {
    font-size: 27px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .menu-card {
    min-height: 144px;
  }

  .menu-card__body {
    padding: 18px;
  }

  .menu-card--with-image .menu-card__image {
    width: 96px;
    min-height: 144px;
    flex-basis: 96px;
  }

  .menu-card__top {
    gap: 10px;
  }

  .menu-card h4 {
    font-size: 16px;
    line-height: 1.32;
  }

  .price {
    padding-top: 1px;
    font-size: 15px;
  }

  .menu-card__description {
    margin: 8px 0 14px;
    font-size: 13px;
    line-height: 1.55;
  }

  .info-strip__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .social-section { padding: 60px 0 66px; }
  .social-section__heading { align-items: start; flex-direction: column; gap: 14px; margin-bottom: 27px; }
  .social-section__heading > p { max-width: 520px; }
  .social-profiles {
    display: flex;
    margin-right: -14px;
    padding: 2px 14px 14px 0;
    gap: 11px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .social-profiles::-webkit-scrollbar { display: none; }
  .social-profile { width: 154px; flex: 0 0 154px; scroll-snap-align: start; }

  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .footer__note {
    margin-left: 0 !important;
    text-align: left;
  }
}

@media (max-width: 360px) {
  .menu-card__body {
    padding: 15px;
  }

  .menu-card--with-image .menu-card__image {
    width: 88px;
    flex-basis: 88px;
  }

  .menu-card__top {
    gap: 7px;
  }

  .menu-card h4 {
    font-size: 15px;
  }

  .price {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
