:root {
  --paper: #fcfaf6;
  --paper-soft: #fcfaf6;
  --olive: #3b4a2b;
  --olive-deep: #2c3b24;
  --olive-ui: #5a819b;
  --accent: #5a819b;
  --about-bg: #5a819b;
  --about-text: #fcfaf6;
  --line: rgba(59, 74, 43, 0.18);
  --font-mono: "Fraunces", "Times New Roman", Georgia, serif;
  --font-display: "Fraunces", "Times New Roman", Georgia, serif;
  --font-body: "Fraunces", "Times New Roman", Georgia, serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  color: var(--olive-deep);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select,
a {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.65;
}

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

/* Author `svg { display:block }` otherwise overrides HTML [hidden] */
[hidden] {
  display: none !important;
}

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

/* ========== HOME HERO ========== */

.hero {
  position: relative;
  min-height: 100dvh;
  background: var(--paper);
  overflow: hidden;
}

.hero__stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__art {
  position: relative;
  /* same aspect as sketch → identical crop on phone and desktop */
  width: min(100vw, calc(100dvh * 1024 / 1536));
  height: min(100dvh, calc(100vw * 1536 / 1024));
  max-width: 100vw;
  max-height: 100dvh;
  pointer-events: none;
}

.logo {
  width: min(140px, 32vw);
  height: auto;
  flex: 0 0 auto;
  mix-blend-mode: multiply;
}

.sketch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.92;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(
    ellipse 78% 72% at 50% 48%,
    #000 42%,
    rgba(0, 0, 0, 0.75) 68%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 78% 72% at 50% 48%,
    #000 42%,
    rgba(0, 0, 0, 0.75) 68%,
    transparent 100%
  );
}

.frame-link {
  position: absolute;
  z-index: 5;
  font-size: clamp(1rem, 2.2vw, 1.55rem);
  font-weight: 400;
  color: var(--olive);
  white-space: nowrap;
}

.frame-link--menu { top: 22px; right: 22px; }

.hero-meta {
  position: absolute;
  z-index: 6;
  top: 22px;
  left: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  max-width: min(42vw, 280px);
  color: var(--olive);
  font-size: clamp(0.82rem, 1.35vw, 1rem);
  line-height: 1.35;
  pointer-events: none;
}

.hero-meta > * {
  pointer-events: auto;
  margin: 0;
}

.hero-meta__tag {
  margin-bottom: 4px;
  font-weight: 700;
}

.hero-meta__line {
  font-weight: 400;
}

.hero-meta__address {
  margin-top: 4px;
  color: var(--olive-ui);
  text-decoration: none;
}

.hero-meta__address:hover {
  opacity: 0.65;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-meta__row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  line-height: 1;
}

.hero-meta__phone {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  text-align: left;
}

.hero-meta__phone:hover {
  opacity: 0.65;
}

.hero-meta__ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  margin: 0;
  color: var(--olive);
  flex: 0 0 auto;
  line-height: 0;
}

.hero-meta__ig svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
}

.lang-switch button {
  margin: 0;
  padding: 1px 4px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: var(--olive);
  font-family: var(--font-body) !important;
  font-optical-sizing: auto;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  line-height: 1.2;
}

.lang-switch button:hover {
  opacity: 0.7;
}

.lang-switch button.is-active {
  border-color: var(--line);
  font-weight: 600;
}

.lang-switch--mobile {
  display: none;
}

.lang-switch--page {
  margin-top: 0;
}

.page__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.page__top .back-pill {
  margin-bottom: 0;
}

.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: calc(28px + var(--safe-b));
  transform: translateX(-50%);
  padding: 10px 16px;
  background: var(--olive-deep);
  color: var(--paper);
  font-size: 0.9rem;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(44, 59, 36, 0.18);
  pointer-events: none;
}

.toast[hidden] {
  display: none !important;
}

.mobile-cta {
  display: none;
}

.menu-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 30;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--olive);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
  margin: 0 auto;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle.is-open .icon-bars {
  display: none;
}

.menu-toggle.is-open .icon-close {
  display: block;
}

.drawer {
  display: none;
}

/* ========== ABOUT ========== */

.about {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 48px 24px;
  background: var(--about-bg);
  color: var(--about-text);
  text-align: center;
}

.about__inner {
  max-width: 38ch;
}

.about p {
  max-width: none;
  margin: 0 0 1.25em;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  line-height: 1.65;
}

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

.about a {
  color: var(--about-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about a:hover {
  opacity: 0.8;
}

/* ========== INNER PAGES ========== */

.page {
  min-height: 100dvh;
  background: var(--paper-soft);
  padding: 24px 20px 64px;
}

.page__inner {
  max-width: 560px;
  margin: 0 auto;
}

@media screen and (min-width: 1100px) {
  .menu-decor {
    width: min(42vw, 480px);
  }
}

.menu-panel[hidden] {
  display: none;
}

.menu-panel--decor {
  position: relative;
  display: block;
  max-width: 560px;
  margin: 0 auto;
}

.menu-panel--decor-right {
  /* same content column */
}

.menu-panel__content {
  min-width: 0;
  width: 100%;
  position: relative;
  z-index: 1;
}

.menu-decor {
  position: fixed;
  top: 0;
  bottom: 0;
  height: 100dvh;
  width: min(40vw, 440px);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.menu-decor--left {
  left: 0;
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 42%,
    rgba(0, 0, 0, 0.55) 68%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 42%,
    rgba(0, 0, 0, 0.55) 68%,
    transparent 100%
  );
}

.menu-decor--right {
  right: 0;
  -webkit-mask-image: linear-gradient(
    to left,
    #000 0%,
    #000 42%,
    rgba(0, 0, 0, 0.55) 68%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to left,
    #000 0%,
    #000 42%,
    rgba(0, 0, 0, 0.55) 68%,
    transparent 100%
  );
}

.menu-decor img {
  position: absolute;
  top: 0;
  height: 100dvh;
  width: auto;
  max-width: none;
  opacity: 0.88;
  mix-blend-mode: multiply;
}

.menu-decor--left img {
  left: 0;
}

.menu-decor--right img {
  right: 0;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

.back-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--olive-ui);
  color: var(--paper);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.back-pill:hover {
  opacity: 1;
  filter: brightness(1.08);
}

.page-logo {
  display: block;
  width: fit-content;
  margin: 8px auto 28px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  font-weight: 700;
  color: var(--olive);
  letter-spacing: -0.04em;
  text-align: center;
}

.page-kicker {
  text-align: center;
  font-size: 1.05rem;
  color: var(--olive-deep);
  margin: 0 0 36px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Menu tabs */

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
}

.menu-tabs button {
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--olive);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
}

.menu-tabs button.is-active {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}

.menu-col--art {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section-title {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 600;
  font-optical-sizing: auto;
  font-size: 1.45rem;
  color: var(--olive-deep);
}

.unit-ml {
  font-size: 0.62em;
  font-style: normal;
  font-weight: 500;
  opacity: 0.72;
  letter-spacing: 0.01em;
  font-family: inherit;
}

.section-note {
  margin: -6px 0 12px;
  opacity: 0.75;
  font-size: 0.88rem;
  font-family: var(--font-body);
  font-style: normal;
}

.menu-section {
  margin-bottom: 8px;
}

.menu-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.menu-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: baseline;
  padding: 6px 0;
  font-family: var(--font-body);
}

.menu-row__name {
  min-width: 0;
  font-family: inherit;
}

.menu-row__desc {
  display: block;
  margin-top: 2px;
  opacity: 0.72;
  font-size: 0.92rem;
  font-family: inherit;
}

.menu-row__price {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-family: inherit;
}

.art-slot {
  display: none;
}

/* Today blocks */

.today-stack {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.today-block {
  margin-bottom: 42px;
}

.today-block h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 700;
}

.today-block p {
  margin: 0 0 6px;
}

.today-block .muted {
  opacity: 0.7;
}

.page-foot {
  margin-top: 48px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.55;
}

/* ========== MOBILE ========== */

@media screen and (max-width: 600px) {
  .frame-link {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .mobile-cta {
    display: flex;
    position: absolute;
    z-index: 5;
    left: auto;
    right: 0;
    bottom: calc(22px + var(--safe-b));
    justify-content: flex-end;
    padding: 0 28px;
    font-size: 1.4rem;
    color: var(--olive);
  }

  .lang-switch--mobile {
    display: flex;
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 6;
    margin-top: 0;
  }

  .lang-switch--desktop {
    display: none;
  }

  .hero-meta {
    display: none;
  }

  .hero__stage {
    padding: 0;
  }

  .hero__art {
    width: min(100vw, calc(100dvh * 1024 / 1536));
    height: min(100dvh, calc(100vw * 1536 / 1024));
  }

  .drawer {
    display: block;
    position: absolute;
    top: 58px;
    right: 14px;
    z-index: 25;
    min-width: 220px;
    max-width: min(86vw, 280px);
    padding: 18px 20px 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(44, 59, 36, 0.08);
  }

  .drawer[hidden] {
    display: none;
  }

  .drawer nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
  }

  .drawer a {
    font-size: 1.25rem;
    color: var(--olive);
  }

  .drawer__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .drawer__tag {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--olive);
  }

  .drawer__hours {
    margin: 0;
    font-size: 0.92rem;
    color: var(--olive);
  }

  .drawer__address {
    margin-top: 6px !important;
    font-size: 0.88rem !important;
    color: var(--olive-ui) !important;
    text-decoration: none;
  }

  .drawer__address:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .drawer__row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    line-height: 1;
  }

  .drawer__phone {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--olive);
    font: inherit;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    text-align: left;
  }

  .drawer__ig {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 1.15em;
    height: 1.15em;
    margin: 0;
    flex: 0 0 auto;
    line-height: 0;
  }

  .drawer__ig svg {
    display: block;
    width: 100%;
    height: 100%;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: none;
  }

  .menu-panel--decor,
  .menu-panel--decor-right {
    max-width: 560px;
  }

  .menu-decor {
    display: none;
  }

  .art-slot {
    display: none;
  }
}

@media screen and (min-width: 601px) and (max-width: 900px) {
  .frame-link {
    font-size: 1.25rem;
  }

  .menu-decor {
    display: none;
  }
}

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

/* ===== Age gate ===== */

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(44, 59, 36, 0.45);
  backdrop-filter: blur(4px);
}

.age-gate[hidden] {
  display: none;
}

.age-gate__card {
  width: min(360px, 100%);
  padding: 28px 24px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(44, 59, 36, 0.18);
}

.age-gate__kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive-ui);
}

.age-gate__title {
  margin: 0 0 10px;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--olive-deep);
}

.age-gate__text {
  margin: 0 0 22px;
  font-size: 0.95rem;
  line-height: 1.45;
  opacity: 0.8;
}

.age-gate__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.age-gate__btn {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--olive);
  cursor: pointer;
}

.age-gate__btn--yes {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}

.age-gate__btn:active {
  transform: scale(0.98);
}

.page-foot--soft {
  margin-top: 8px;
  margin-bottom: 0;
}
