:root {
  color-scheme: light;
  --page: #fff4e8;
  --page-stripe: #ffe8d6;
  --surface: rgba(255, 252, 247, 0.92);
  --surface-strong: #fffaf3;
  --cocoa: #542108;
  --brown: #7a310d;
  --coral: #ff8f5b;
  --gold: #ffc21f;
  --sage: #4f8f72;
  --ink: #2e160c;
  --muted: #7a6254;
  --line: rgba(84, 33, 8, 0.14);
  --shadow: 0 18px 54px rgba(84, 33, 8, 0.16);
  --content: min(1120px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(255, 143, 91, 0.11) 0 50%, rgba(255, 255, 255, 0) 50% 100%) 0 0 / 58px 58px,
    linear-gradient(180deg, var(--page) 0%, #fff8ef 36%, #fff0df 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.88);
  backdrop-filter: blur(18px);
  transition:
    box-shadow 220ms ease,
    background 220ms ease;
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--sage));
}

.is-scrolled .site-header {
  background: rgba(255, 250, 243, 0.94);
  box-shadow: 0 12px 30px rgba(84, 33, 8, 0.12);
}

.topbar {
  width: var(--content);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.brand-link {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cocoa);
  text-decoration: none;
}

.brand-link img {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(84, 33, 8, 0.18);
  transition: transform 180ms ease;
}

.brand-link:hover img {
  transform: rotate(-4deg) scale(1.04);
}

.brand-link span {
  min-width: 0;
  display: grid;
  line-height: 1.05;
}

.brand-link strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.brand-link small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mini-action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid var(--brown);
  border-radius: 999px;
  background: var(--brown);
  color: #fffaf3;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.mini-action.outline {
  background: transparent;
  color: var(--brown);
}

.mini-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(84, 33, 8, 0.14);
}

.category-nav {
  width: var(--content);
  margin: 0 auto;
  padding: 0 0 12px;
  display: flex;
  gap: 8px;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.category-nav a {
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid rgba(122, 49, 13, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--brown);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.category-nav a:hover,
.category-nav a.active {
  border-color: rgba(255, 143, 91, 0.58);
  background: #fff0df;
  color: var(--cocoa);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(84, 33, 8, 0.08);
}

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  padding: 76px 16px 112px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 244, 232, 0), #fff4e8);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0.16;
}

.hero-bg img {
  width: min(1000px, 118vw);
  height: auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(790px, 100%);
  text-align: center;
}

.hero-logo {
  width: 148px;
  height: 148px;
  margin: 0 auto 18px;
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(84, 33, 8, 0.2);
  animation: daisyFloat 5s ease-in-out infinite;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 4px;
  color: var(--cocoa);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 12vw, 7.8rem);
  line-height: 0.88;
}

.hero-subtitle {
  margin-bottom: 14px;
  color: var(--brown);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 950;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 650px;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.14rem);
  line-height: 1.72;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 950;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: saturate(1.06);
}

.button.primary {
  background: var(--brown);
  color: #fffaf3;
  box-shadow: 0 14px 30px rgba(122, 49, 13, 0.24);
}

.button.secondary {
  background: var(--coral);
  color: #351305;
  box-shadow: 0 14px 30px rgba(255, 143, 91, 0.24);
}

.button.ghost {
  border-color: rgba(122, 49, 13, 0.24);
  background: rgba(255, 255, 255, 0.62);
  color: var(--brown);
}

.tools {
  width: var(--content);
  margin: -64px auto 50px;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(122, 49, 13, 0.16);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 500ms ease,
    opacity 500ms ease;
}

.tools:focus-within {
  border-color: rgba(255, 143, 91, 0.48);
  box-shadow:
    var(--shadow),
    0 0 0 4px rgba(255, 143, 91, 0.13);
}

.search-box {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.search-box span {
  color: var(--brown);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.search-box input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(122, 49, 13, 0.2);
  border-radius: 8px;
  background: #fffdfa;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  outline: none;
  padding: 0 14px;
}

.search-box input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 143, 91, 0.16);
}

.search-feedback {
  min-height: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.quick-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.quick-info span {
  padding: 8px 10px;
  border: 1px solid rgba(79, 143, 114, 0.24);
  border-radius: 999px;
  background: rgba(79, 143, 114, 0.1);
  color: #315d49;
  font-size: 0.8rem;
  font-weight: 900;
}

.menu-shell,
.source-menu,
.contact,
.footer {
  width: var(--content);
  margin: 0 auto;
}

.menu-section {
  padding: 34px 0 18px;
}

.menu-section,
.menu-item,
.source-grid figure,
.contact,
.tools {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.menu-section.is-visible,
.menu-item.is-visible,
.source-grid figure.is-visible,
.contact.is-visible,
.tools.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.section-heading p {
  margin-bottom: 5px;
  color: var(--sage);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-bottom: 0;
  color: var(--cocoa);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 4vw, 3.55rem);
  line-height: 1;
}

.section-heading > span {
  height: 4px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--gold), rgba(79, 143, 114, 0));
}

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

.menu-item {
  min-height: 172px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 250, 243, 0.9)),
    var(--surface-strong);
  box-shadow: 0 12px 28px rgba(84, 33, 8, 0.08);
  position: relative;
  overflow: hidden;
}

.menu-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--coral), var(--gold));
  opacity: 0;
  transition: opacity 180ms ease;
}

.menu-item.is-visible:hover {
  border-color: rgba(255, 143, 91, 0.45);
  box-shadow: 0 18px 38px rgba(84, 33, 8, 0.14);
  transform: translateY(-4px);
}

.menu-item:hover::before {
  opacity: 1;
}

.item-copy {
  min-width: 0;
}

.menu-item h3 {
  margin-bottom: 5px;
  color: var(--cocoa);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.25;
  text-transform: uppercase;
}

.menu-item .translation {
  margin-bottom: 12px;
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
  font-style: italic;
  font-weight: 700;
}

.ingredient-lines {
  display: grid;
  gap: 7px;
}

.ingredient-lines p {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.ingredient-lines span {
  align-self: start;
  padding: 3px 6px;
  border-radius: 999px;
  background: #fff0df;
  color: var(--brown);
  font-size: 0.68rem;
  font-weight: 950;
  text-align: center;
}

.menu-item strong {
  min-width: 76px;
  padding: 8px 10px;
  border: 2px solid rgba(84, 33, 8, 0.16);
  border-radius: 999px;
  background: #fff0df;
  color: var(--brown);
  font-size: 1.02rem;
  text-align: center;
  white-space: nowrap;
  transition:
    background 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.menu-item:hover strong {
  border-color: rgba(255, 143, 91, 0.42);
  background: #ffe3cc;
  transform: scale(1.04);
}

.empty-state {
  padding: 56px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  text-align: center;
}

.empty-state h2 {
  color: var(--cocoa);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
}

.empty-state p {
  margin-bottom: 0;
  color: var(--muted);
}

.source-menu {
  padding: 72px 0 36px;
}

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

.source-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(84, 33, 8, 0.08);
}

.source-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  transition: transform 260ms ease;
}

.source-grid figure:hover img {
  transform: scale(1.035);
}

.source-grid figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  margin-bottom: 54px;
  padding: 28px;
  border: 1px solid rgba(255, 143, 91, 0.35);
  border-radius: 8px;
  background:
    linear-gradient(100deg, rgba(255, 143, 91, 0.2), rgba(255, 194, 31, 0.14)),
    var(--surface);
  box-shadow: var(--shadow);
}

.contact h2 {
  margin-bottom: 8px;
  color: var(--cocoa);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact p {
  margin-bottom: 6px;
  color: var(--muted);
  line-height: 1.6;
}

.contact p:last-child {
  margin-bottom: 0;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  gap: 8px;
  align-items: center;
}

.floating-actions a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(84, 33, 8, 0.24);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.floating-actions a:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(84, 33, 8, 0.28);
}

.floating-order {
  background: var(--brown);
  color: #fffaf3;
}

.floating-map {
  border: 1px solid rgba(122, 49, 13, 0.22);
  background: #fffaf3;
  color: var(--brown);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 92px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer p {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 150px;
  }

  .category-nav {
    justify-content: flex-start;
  }

  .tools,
  .contact,
  .footer {
    grid-template-columns: 1fr;
  }

  .quick-info {
    justify-content: flex-start;
  }

  .menu-grid,
  .source-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  :root {
    --content: min(100vw - 22px, 1120px);
  }

  html {
    scroll-padding-top: 158px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0 8px;
  }

  .brand-link img {
    width: 46px;
    height: 46px;
  }

  .brand-link strong {
    font-size: 1.35rem;
  }

  .header-actions {
    width: 100%;
  }

  .mini-action {
    flex: 1 1 0;
    padding-inline: 10px;
  }

  .category-nav {
    padding-bottom: 10px;
  }

  .category-nav a {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 530px;
    padding: 46px 12px 92px;
  }

  .hero-logo {
    width: 116px;
    height: 116px;
  }

  .hero-copy {
    line-height: 1.58;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .tools {
    margin-top: -54px;
    padding: 14px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-heading > span {
    width: 100%;
  }

  .menu-item {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 17px;
  }

  .menu-item strong {
    width: max-content;
  }

  .source-grid img {
    aspect-ratio: 3 / 4;
  }

  .contact {
    padding: 22px;
  }

  .contact-actions .button {
    flex: 1 1 100%;
  }

  .floating-actions {
    display: none;
  }

  .footer {
    padding-bottom: 34px;
  }
}

@keyframes daisyFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
