:root {
  color-scheme: light;
  --ink: oklch(24% 0.045 55);
  --ink-soft: oklch(39% 0.055 57);
  --green-900: oklch(25% 0.07 145);
  --green-700: oklch(37% 0.08 145);
  --green-100: oklch(91% 0.04 132);
  --orange-700: oklch(54% 0.15 48);
  --orange-300: oklch(78% 0.1 65);
  --paper: oklch(95% 0.045 83);
  --paper-soft: oklch(98% 0.025 86);
  --clay: oklch(52% 0.105 45);
  --gold: oklch(78% 0.11 84);
  --line: oklch(63% 0.045 78 / 0.32);
  --shadow: 0 26px 80px oklch(25% 0.07 145 / 0.16);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 17px;
  --content: min(1180px, calc(100% - 28px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -10%, oklch(78% 0.12 63 / 0.34), transparent 34rem),
    radial-gradient(circle at 88% 4%, oklch(68% 0.08 147 / 0.32), transparent 28rem),
    linear-gradient(145deg, var(--paper-soft), var(--paper) 54%, oklch(91% 0.05 95));
  font-family: "Atkinson Hyperlegible", "Source Sans 3", "Trebuchet MS", sans-serif;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(oklch(24% 0.045 55 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, oklch(24% 0.045 55 / 0.04) 1px, transparent 1px),
    url("assets/brand/background.png");
  background-size: 30px 30px, 30px 30px, 560px auto;
  background-position: center top;
  opacity: 0.12;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, oklch(98% 0.025 86 / 0.72), oklch(95% 0.045 83 / 0.94));
  pointer-events: none;
}

button,
input {
  font: inherit;
}

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

img {
  max-width: 100%;
}

.paper-grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.17;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 30% 20%, oklch(25% 0.04 55 / 0.18) 0 1px, transparent 1px),
    radial-gradient(circle at 72% 64%, oklch(58% 0.08 55 / 0.12) 0 1px, transparent 1px);
  background-size: 18px 18px, 23px 23px;
}

.skip-link {
  position: absolute;
  left: 18px;
  top: 12px;
  transform: translateY(-140%);
  z-index: 30;
  padding: 10px 13px;
  border-radius: 999px;
  background: var(--green-900);
  color: var(--paper-soft);
  text-decoration: none;
  font-weight: 850;
}

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

.site-header {
  width: var(--content);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 18px 0 4px;
}

.brand-lockup {
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: oklch(98% 0.025 86 / 0.86);
  box-shadow: 0 16px 36px oklch(25% 0.07 145 / 0.12);
}

.brand-lockup img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

main,
.site-footer {
  width: var(--content);
  margin-inline: auto;
}

.hero-shell {
  display: grid;
  gap: 22px;
  align-items: end;
  padding: 14px 0 24px;
}

.hero-copy {
  position: relative;
  padding: 18px 0 0;
  animation: rise-in 560ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 9px;
  color: var(--green-700);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 720px;
  margin: 0;
  color: var(--green-900);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(4.1rem, 18vw, 9rem);
  line-height: 0.78;
  letter-spacing: -0.075em;
}

.hero-subtitle {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 3.7vw, 1.42rem);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-actions a,
.result-line button,
.filter-pill,
.category-chip {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.hero-actions a {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  color: var(--paper-soft);
  background: var(--green-900);
  font-weight: 900;
}

.hero-actions a + a {
  color: var(--green-900);
  background: oklch(98% 0.025 86 / 0.74);
}

.hero-actions a:hover,
.result-line button:hover,
.filter-pill:hover,
.category-chip:hover,
.featured-card:hover {
  transform: translateY(-2px);
}

.hero-art {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--green-900);
  box-shadow: var(--shadow);
  animation: rise-in 640ms 90ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-art img {
  display: block;
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
}

.hero-art figcaption {
  position: absolute;
  inset: auto 12px 12px 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  padding: 13px 14px;
  border-radius: 22px;
  color: var(--paper-soft);
  background: linear-gradient(135deg, oklch(25% 0.07 145 / 0.92), oklch(31% 0.08 70 / 0.9));
}

.hero-art span {
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.hero-art strong {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: 1.35rem;
  line-height: 0.95;
  text-align: right;
}

.menu-tools {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  gap: 12px;
  padding: 13px 0;
  background: linear-gradient(to bottom, oklch(96% 0.04 84 / 0.98), oklch(96% 0.04 84 / 0.86));
  backdrop-filter: blur(16px);
}

.search-box {
  display: grid;
  gap: 7px;
}

.search-box span {
  color: var(--green-700);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-box input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 20px;
  outline: none;
  padding: 15px 17px;
  color: var(--ink);
  background: oklch(98% 0.025 86 / 0.92);
  box-shadow: 0 14px 38px oklch(24% 0.045 55 / 0.08);
}

.search-box input:focus {
  border-color: oklch(37% 0.08 145 / 0.62);
  box-shadow:
    0 0 0 4px oklch(68% 0.08 147 / 0.18),
    0 14px 38px oklch(24% 0.045 55 / 0.08);
}

.filter-row,
.category-nav {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar,
.category-nav::-webkit-scrollbar,
.featured-items::-webkit-scrollbar {
  display: none;
}

.filter-pill,
.category-chip,
.result-line button {
  white-space: nowrap;
  padding: 10px 14px;
  color: var(--ink);
  background: oklch(98% 0.025 86 / 0.78);
  font-weight: 900;
}

.filter-pill.is-active,
.category-chip.is-active {
  color: var(--paper-soft);
  border-color: transparent;
  background: var(--green-900);
}

.category-nav {
  padding: 4px 0 18px;
}

.featured-panel {
  overflow: hidden;
  margin: 2px 0 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, oklch(78% 0.1 65 / 0.24), transparent 22rem),
    linear-gradient(135deg, oklch(98% 0.025 86 / 0.86), oklch(93% 0.05 86 / 0.78));
  box-shadow: 0 22px 70px oklch(24% 0.045 55 / 0.1);
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 14px;
}

.panel-heading h2 {
  margin: 0;
  color: var(--green-900);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(2.1rem, 9vw, 4rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.featured-items {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(204px, 248px);
  gap: 12px;
  overflow-x: auto;
  padding: 2px 1px 8px;
  scrollbar-width: none;
}

.featured-card {
  display: grid;
  min-height: 100%;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--ink);
  background: oklch(98% 0.025 86 / 0.82);
  text-decoration: none;
  transition:
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 180ms ease;
}

.featured-card:hover {
  box-shadow: 0 18px 40px oklch(24% 0.045 55 / 0.12);
}

.featured-card span {
  color: var(--green-700);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.featured-card strong {
  min-height: 2.4em;
  font-size: 1.02rem;
  line-height: 1.18;
}

.featured-card em {
  color: var(--orange-700);
  font-family: "Georgia", serif;
  font-size: 1.36rem;
  font-style: normal;
  font-weight: 950;
}

.result-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 8px 0 18px;
  color: var(--ink-soft);
}

.result-line p {
  margin: 0;
}

.result-line button {
  min-height: 38px;
  padding: 8px 12px;
}

.menu-content {
  display: grid;
  gap: 30px;
  padding-bottom: 44px;
}

.menu-section {
  scroll-margin-top: 154px;
  animation: rise-in 480ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--section-index) * 30ms);
}

.section-heading {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  margin-bottom: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, oklch(98% 0.025 86 / 0.92), oklch(93% 0.05 90 / 0.84)),
    radial-gradient(circle at 88% 0%, oklch(78% 0.1 65 / 0.22), transparent 17rem);
}

.section-heading h2 {
  margin: 0;
  color: var(--green-900);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(2.05rem, 8vw, 4rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.section-heading p:not(.section-kicker) {
  max-width: 58ch;
  margin: 8px 0 0;
  color: var(--ink-soft);
  line-height: 1.4;
}

.section-art {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 16px 36px oklch(24% 0.045 55 / 0.14);
}

.section-items {
  display: grid;
  gap: 10px;
}

.menu-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: stretch;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: oklch(98% 0.025 86 / 0.88);
  box-shadow: 0 12px 34px oklch(24% 0.045 55 / 0.06);
}

.menu-item--highlight {
  background:
    radial-gradient(circle at top right, oklch(78% 0.11 84 / 0.18), transparent 18rem),
    oklch(98% 0.025 86 / 0.93);
}

.menu-item--text-only {
  grid-template-columns: 1fr;
  padding: 13px;
}

.menu-item--text-only .menu-item__body {
  padding: 3px;
}

.item-image {
  overflow: hidden;
  align-self: stretch;
  width: 84px;
  min-height: 84px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 20%, oklch(98% 0.02 86 / 0.68), transparent 40%),
    linear-gradient(135deg, oklch(91% 0.04 132), oklch(78% 0.1 65 / 0.72));
}

.item-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-image--feature {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
}

.menu-item__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  min-width: 0;
  padding: 5px 5px 5px 0;
}

.menu-item h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.15;
  letter-spacing: -0.018em;
}

.menu-item p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.35;
}

.item-note {
  color: oklch(42% 0.075 48);
}

.price {
  color: var(--green-900);
  font-family: "Georgia", serif;
  font-size: clamp(1.18rem, 5vw, 1.56rem);
  line-height: 1;
  white-space: nowrap;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--green-900);
  background: var(--green-100);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.badge--quiet {
  color: var(--ink-soft);
  background: oklch(94% 0.035 80);
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 18px 0 58px;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-xl);
  background: oklch(98% 0.025 86 / 0.74);
  text-align: center;
}

.empty-state[hidden] {
  display: none;
}

.empty-state img {
  width: 94px;
  height: 94px;
  object-fit: contain;
}

.empty-state h2,
.empty-state p {
  margin: 0;
}

.social-panel {
  display: grid;
  gap: 16px;
  margin: 4px 0 34px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, oklch(78% 0.1 65 / 0.22), transparent 22rem),
    linear-gradient(135deg, oklch(98% 0.025 86 / 0.9), oklch(93% 0.05 90 / 0.78));
  box-shadow: 0 18px 46px oklch(24% 0.045 55 / 0.08);
}

.social-panel h2 {
  margin: 0;
  color: var(--green-900);
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-size: clamp(2rem, 8vw, 3.6rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.social-panel p:not(.eyebrow) {
  max-width: 58ch;
  margin: 9px 0 0;
  color: var(--ink-soft);
  line-height: 1.42;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 15px;
  color: var(--paper-soft);
  background: var(--green-900);
  text-decoration: none;
  font-weight: 950;
  transition:
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
    background 180ms ease;
}

.social-link--map {
  color: var(--ink);
  background: var(--gold);
}

.social-link:hover {
  transform: translateY(-2px);
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px 0 44px;
  color: var(--ink-soft);
}

.site-footer img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.site-footer strong {
  display: block;
  color: var(--green-900);
}

.site-footer p,
.site-footer small {
  margin: 3px 0 0;
}

.site-footer small {
  grid-column: 1 / -1;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 430px) {
  .menu-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .item-image {
    width: 72px;
    min-height: 72px;
  }

  .menu-item__body {
    gap: 8px;
  }
}

@media (max-width: 360px) {
  .menu-item {
    grid-template-columns: 1fr;
  }

  .item-image {
    width: 100%;
    aspect-ratio: 5 / 2;
  }
}

@media (min-width: 760px) {
  .site-header {
    padding-top: 26px;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    gap: 30px;
    padding-top: 26px;
  }

  .menu-tools {
    grid-template-columns: minmax(360px, 1fr) auto;
    align-items: end;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 34%);
    align-items: center;
  }

  .social-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .section-art {
    height: 160px;
  }

  .section-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .hero-shell {
    min-height: 570px;
  }

  .section-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-item {
    min-height: 132px;
  }
}
