/* Buenos Humos, Coffee Pop-Up
   Design tokens locked from the real brand mark: cream paper, near-black ink, sage green.
   Fonts self-hosted: Bevan (display, heritage-badge justified by the actual rope-badge logo)
   + Work Sans (body/UI, variable). */

@font-face {
  font-family: "Bevan";
  src: url("../fonts/bevan-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("../fonts/worksans-variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-italic-700.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #f7f2e6;
  --bg-alt: #efe6d2;
  --card: #fffcf4;
  --ink: #211c16;
  --ink-soft: #4c4335;
  --sage: #55744f;
  --sage-deep: #3d5638;
  --sage-tint: #e2e8d8;
  --on-sage: #fdfbf3;
  --line: rgba(33, 28, 22, 0.14);
  --shadow: 0 18px 40px rgba(33, 28, 22, 0.1);

  --font-display: "Bevan", "Georgia", serif;
  --font-body: "Work Sans", -apple-system, "Segoe UI", sans-serif;
  --font-wordmark: "Playfair Display", "Georgia", serif;

  /* Fixed (non theme-swapped) tones for the intentionally inverted accent bands */
  --ink-fixed: #211c16;
  --cream-fixed: #f7f2e6;

  --radius-card: 20px;
  --radius-input: 12px;
  --radius-pill: 999px;

  --nav-h: 72px;
  --container: 1240px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-base: 220ms;
  --duration-reveal: 520ms;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171309;
    --bg-alt: #1f1a10;
    --card: #221c12;
    --ink: #f3ecda;
    --ink-soft: #cabfa2;
    --sage: #93b98c;
    --sage-deep: #b6d4af;
    --sage-tint: #2a3524;
    --on-sage: #211c16;
    --line: rgba(243, 236, 218, 0.16);
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #171309;
  --bg-alt: #1f1a10;
  --card: #221c12;
  --ink: #f3ecda;
  --ink-soft: #cabfa2;
  --sage: #93b98c;
  --sage-deep: #b6d4af;
  --sage-tint: #2a3524;
  --on-sage: #211c16;
  --line: rgba(243, 236, 218, 0.16);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

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

a {
  color: inherit;
}

/* Visible focus rings everywhere a default outline might get suppressed by a custom control */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--sage);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 999;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 40px;
  }
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  margin: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

.section {
  padding-block: clamp(56px, 8vw, 96px);
}

.section--alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-top: 10px;
}

.section-head p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 52ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  padding: 14px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, color 0.25s ease;
}

.btn .icon {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
  }

  .btn:hover .icon {
    transform: translateX(3px);
  }
}

.btn:active {
  transform: scale(0.97);
  box-shadow: none;
  transition-duration: 0.12s;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .btn:hover .icon {
    transform: none;
  }
}

.btn-primary {
  background: var(--sage);
  color: var(--on-sage);
}

.btn-primary:hover {
  background: var(--sage-deep);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--sage);
  color: var(--sage-deep);
}

/* Icons */
.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

/* Reveal-on-scroll (motivated: sequences content so the story reads in order) */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--duration-reveal) var(--ease-out), transform var(--duration-reveal) var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  /* Keep the fade (functional, low-risk) but drop the vertical movement.
     Windows ships reduced-motion ON by default in many setups, so fully
     disabling this made the whole site feel inert for a lot of visitors
     who never asked for it. */
  [data-reveal] {
    transform: none;
    transition: opacity 250ms ease;
  }
}

/* Staggered entrance for card grids once their parent reveals (hierarchy + storytelling motion) */
@keyframes reveal-item {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-item-fade-only {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.bento .bento-tile {
  opacity: 0;
}

[data-reveal].is-visible .bento-tile {
  animation: reveal-item var(--duration-reveal) var(--ease-out) both;
}

.bento .bento-tile:nth-child(1) {
  animation-delay: 0ms;
}
.bento .bento-tile:nth-child(2) {
  animation-delay: 60ms;
}
.bento .bento-tile:nth-child(3) {
  animation-delay: 120ms;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal].is-visible .bento-tile {
    animation-name: reveal-item-fade-only;
    animation-duration: 250ms;
  }
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  border-bottom: 1px solid var(--line);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-wordmark);
  font-style: italic;
  font-size: 23px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  min-width: 0;
  flex-shrink: 1;
}

@media (max-width: 420px) {
  .nav-brand {
    font-size: 18px;
    gap: 6px;
  }
}

.nav-brand img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

/* The logo artwork is dark ink on transparent, so it reads great on the
   cream light theme but disappears on dark backgrounds. Flatten it to a
   single light silhouette in dark mode instead of losing it. */
:root[data-theme="dark"] .nav-brand img,
:root[data-theme="dark"] .footer-brand img {
  filter: brightness(0) invert(1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav-brand img,
  :root:not([data-theme="light"]) .footer-brand img {
    filter: brightness(0) invert(1);
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--sage-deep);
}

.nav-context-label {
  margin-left: auto;
  margin-right: 16px;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .nav-context-label {
    display: none;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--duration-base) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.32s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.2s ease;
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle:hover {
  background: var(--sage-tint);
}

.nav-toggle:active {
  transform: scale(0.92);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg);
  z-index: 49;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  gap: 24px;
  font-size: 22px;
  font-family: var(--font-display);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease;
}

.mobile-menu.is-open a {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu.is-open a:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: 0.11s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: 0.16s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: 0.21s; }

.mobile-menu a:hover {
  color: var(--sage-deep);
  border-color: var(--sage);
  padding-left: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu a {
    transform: none;
    transition-delay: 0s !important;
  }
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }
}

/* ---------- HERO ---------- */
.hero {
  padding-block: clamp(40px, 6vw, 64px) clamp(56px, 8vw, 88px);
}

.hero .container {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .hero .container {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
}

.hero-copy h1 {
  font-size: clamp(34px, 4.4vw, 56px);
}

.hero-copy .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
}

.hero-copy p.lede {
  margin-top: 20px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}

.hero-visual-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.hero-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-input);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow);
}

.hero-badge .icon {
  color: var(--sage-deep);
  font-size: 20px;
}

/* ---------- LOCATION STRIP ---------- */
.location-strip {
  background: var(--ink-fixed);
  color: var(--cream-fixed);
}

:root[data-theme="dark"] .location-strip {
  background: var(--sage-tint);
  color: var(--ink);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .location-strip {
    background: var(--sage-tint);
    color: var(--ink);
  }
}

.location-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
}

.location-strip .loc-info {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
}

.location-strip .loc-info strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
}

.location-strip .icon {
  font-size: 22px;
  color: var(--sage);
  flex-shrink: 0;
}

.location-strip .btn-outline {
  border-color: color-mix(in srgb, currentColor 30%, transparent);
  color: inherit;
}

.location-strip .btn-outline:hover {
  border-color: var(--sage);
  color: var(--sage);
}

/* ---------- MENU PAGE (menu.html) ---------- */
.menu-page-head {
  padding-block: clamp(40px, 7vw, 72px) clamp(24px, 4vw, 40px);
}

.menu-page-head h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  margin-top: 10px;
}

.menu-page-head p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 52ch;
}

.menu-page-body {
  padding-top: 0;
}

.menu-toolbar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}

@media (min-width: 860px) {
  .menu-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.menu-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 12px 18px;
  max-width: 360px;
}

.menu-search .icon {
  color: var(--ink-soft);
  font-size: 18px;
  flex-shrink: 0;
}

.menu-search {
  transition: border-color var(--duration-base) var(--ease-out);
}

.menu-search:focus-within {
  border-color: var(--sage);
}

.menu-search input {
  border: none;
  background: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  width: 100%;
}

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

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.menu-tab {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.menu-tab:hover {
  border-color: var(--sage);
  color: var(--sage-deep);
}

.menu-tab.is-active {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--on-sage);
}

/* ---------- MENU (shared card grid) ---------- */
.menu-groups {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .menu-groups {
    grid-template-columns: repeat(2, 1fr);
  }
}

.menu-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out);
}

@media (hover: hover) {
  .menu-card:not(.menu-card--combos):hover {
    transform: translateY(-4px);
    border-color: var(--sage);
    box-shadow: var(--shadow);
  }
}

.menu-card h3 {
  font-size: 21px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-card h3 .icon {
  color: var(--sage-deep);
  font-size: 22px;
}

.menu-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--ink-soft);
}

.menu-item-photo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-input);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-alt);
}

.menu-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.menu-item-name {
  color: var(--ink);
}

.menu-item-desc {
  font-size: 13px;
}

.menu-card--combos {
  grid-column: 1 / -1;
  background: var(--sage-tint);
  border-color: transparent;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

/* ---------- View switch (menu.html: clásica / deluxe) ---------- */
.view-switch {
  display: inline-flex;
  gap: 4px;
  margin-top: 18px;
  padding: 4px;
  background: var(--bg-alt);
  border-radius: var(--radius-pill);
}

.view-switch__btn {
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.view-switch__btn.is-active {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* ---------- Vista deluxe: dark chocolate + gold, photo-forward cards ---------- */
/* A visual-only alternate skin, toggled on menu.html. Same data, same
   structure, just restyled: nothing here changes layout logic or content. */
body[data-view="deluxe"] {
  --deluxe-bg: #17110b;
  --deluxe-card: #241a10;
  --deluxe-gold: #d4a574;
  --deluxe-gold-deep: #c08a4e;
  --deluxe-ink: #f3ece0;
  --deluxe-ink-soft: #b8a48d;
  --deluxe-line: rgba(212, 165, 116, 0.22);

  background: var(--deluxe-bg);
}

/* Deluxe is a fully self-contained dark skin, independent of the site's own
   light/dark toggle — without this the header/footer would keep following
   whatever theme is active and clash with the always-dark card grid below. */
body[data-view="deluxe"] .nav {
  background: var(--deluxe-bg);
  border-bottom-color: var(--deluxe-line);
}

body[data-view="deluxe"] .nav-brand,
body[data-view="deluxe"] .nav-toggle__bar {
  color: var(--deluxe-ink);
}

body[data-view="deluxe"] .nav-toggle__bar {
  background: var(--deluxe-ink);
}

body[data-view="deluxe"] .nav-links a {
  color: var(--deluxe-ink-soft);
}

body[data-view="deluxe"] .nav-links a:hover {
  color: var(--deluxe-gold);
}

/* Deluxe is a fixed dark aesthetic with no light variant, so the light/dark
   toggle would have nothing to do — a button whose icon changes but visibly
   does nothing reads as broken, so hide it while deluxe is active. */
body[data-view="deluxe"] .theme-toggle {
  display: none;
}

body[data-view="deluxe"] .lang-toggle,
body[data-view="deluxe"] .nav-toggle:hover {
  border-color: var(--deluxe-line);
  color: var(--deluxe-ink);
}

body[data-view="deluxe"] .lang-toggle:hover {
  border-color: var(--deluxe-gold);
  color: var(--deluxe-gold);
}

body[data-view="deluxe"] .nav-brand img,
body[data-view="deluxe"] .footer-brand img {
  filter: brightness(0) invert(1);
}

body[data-view="deluxe"] .mobile-menu {
  background: var(--deluxe-bg);
}

body[data-view="deluxe"] .mobile-menu a {
  color: var(--deluxe-ink);
  border-color: var(--deluxe-line);
}

body[data-view="deluxe"] .mobile-menu a:hover {
  color: var(--deluxe-gold);
  border-color: var(--deluxe-gold);
}

body[data-view="deluxe"] .site-footer {
  background: var(--deluxe-bg);
  color: var(--deluxe-ink);
  border-top-color: var(--deluxe-line);
}

body[data-view="deluxe"] .footer-meta a {
  color: var(--deluxe-ink-soft);
}

body[data-view="deluxe"] .footer-meta a:hover {
  color: var(--deluxe-gold);
}

body[data-view="deluxe"] .view-switch {
  background: var(--deluxe-card);
}

body[data-view="deluxe"] .view-switch__btn {
  color: var(--deluxe-ink-soft);
}

body[data-view="deluxe"] .view-switch__btn.is-active {
  background: var(--deluxe-gold);
  color: #1a1208;
}

body[data-view="deluxe"] .menu-page-body,
body[data-view="deluxe"] .menu-page-head {
  background: var(--deluxe-bg);
  color: var(--deluxe-ink);
}

body[data-view="deluxe"] .menu-page-head .eyebrow {
  color: var(--deluxe-gold);
}

body[data-view="deluxe"] .menu-page-head p {
  color: var(--deluxe-ink-soft);
}

body[data-view="deluxe"] .menu-search {
  background: var(--deluxe-card);
  border-color: var(--deluxe-line);
}

body[data-view="deluxe"] .menu-search input {
  color: var(--deluxe-ink);
}

body[data-view="deluxe"] .menu-search .icon {
  color: var(--deluxe-gold);
}

body[data-view="deluxe"] .menu-tab {
  border-color: var(--deluxe-line);
  color: var(--deluxe-ink-soft);
}

body[data-view="deluxe"] .menu-tab:hover {
  border-color: var(--deluxe-gold);
  color: var(--deluxe-gold);
}

body[data-view="deluxe"] .menu-tab.is-active {
  background: var(--deluxe-gold);
  border-color: var(--deluxe-gold);
  color: #1a1208;
}

body[data-view="deluxe"] .menu-card {
  background: var(--deluxe-card);
  border-color: var(--deluxe-line);
}

body[data-view="deluxe"] .menu-card h3 {
  color: var(--deluxe-ink);
}

body[data-view="deluxe"] .menu-card h3 .icon {
  color: var(--deluxe-gold);
}

body[data-view="deluxe"] .menu-card--combos {
  background: color-mix(in srgb, var(--deluxe-gold) 14%, var(--deluxe-card));
}

body[data-view="deluxe"] .menu-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

body[data-view="deluxe"] .menu-item {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: color-mix(in srgb, var(--deluxe-gold) 6%, transparent);
  border: 1px solid var(--deluxe-line);
  border-radius: var(--radius-input);
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out);
}

@media (hover: hover) {
  body[data-view="deluxe"] .menu-item:hover {
    transform: translateY(-3px);
    border-color: var(--deluxe-gold);
  }
}

body[data-view="deluxe"] .menu-item-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 0;
}

body[data-view="deluxe"] .menu-item-text {
  padding: 12px;
  gap: 4px;
}

body[data-view="deluxe"] .menu-item-name {
  color: var(--deluxe-ink);
  font-weight: 600;
}

body[data-view="deluxe"] .menu-item-desc {
  color: var(--deluxe-gold);
}

@media (min-width: 480px) {
  body[data-view="deluxe"] .menu-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 700px) {
  .menu-card--combos {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.combo-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 16px;
}

.combo-item strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
}

.menu-more {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* ---------- DIFFERENTIATOR (bento) ---------- */
.bento {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 620px) and (max-width: 859px) {
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .bento-tile--lead {
    grid-column: 1 / -1;
  }
}

@media (min-width: 860px) {
  .bento {
    grid-template-columns: 1.3fr 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .bento-tile--lead {
    grid-row: 1 / 3;
  }
}

.bento-tile {
  border-radius: var(--radius-card);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}

@media (hover: hover) {
  .bento-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }
}

.bento-tile--lead {
  background: var(--ink-fixed);
  color: var(--cream-fixed);
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.bento-tile--lead::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 17, 11, 0.15), rgba(20, 17, 11, 0.85));
}

.bento-tile--lead > * {
  position: relative;
}

.bento-tile--sage {
  background: var(--sage);
  color: var(--on-sage);
}

.bento-tile--card {
  background: var(--card);
  border: 1px solid var(--line);
}

.bento-tile .icon {
  font-size: 26px;
}

.bento-tile h3 {
  font-size: 22px;
}

.bento-tile p {
  font-size: 15px;
  opacity: 0.92;
}

.bento-tile--card p,
.bento-tile--card .eyebrow {
  color: var(--ink-soft);
}

/* ---------- STORY ---------- */
.story .container {
  display: grid;
  gap: 44px;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 900px) {
  .story .container {
    grid-template-columns: 0.95fr 1.05fr;
  }
  .story.story--reverse .container {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .story.story--reverse .story-visual {
    order: 2;
  }
}

.story-visual {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-copy h2 {
  font-size: clamp(28px, 3.6vw, 38px);
}

.story-copy p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 50ch;
}

.story-copy p + p {
  margin-top: 12px;
}

.story-stats {
  margin-top: 26px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.story-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--sage-deep);
}

.story-stats div span {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- SOCIAL / CONTACT ---------- */
.contact-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 780px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.schedule-card,
.social-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 30px;
}

.schedule-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 12px;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 480px) {
  .schedule-list li {
    flex-direction: column;
    gap: 2px;
  }
}

.schedule-list li:last-child {
  border-bottom: none;
}

.schedule-list li span:first-child {
  font-weight: 600;
}

.schedule-list li span:last-child {
  color: var(--ink-soft);
}

.social-links {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-input);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.social-link:hover {
  border-color: var(--sage);
  background: var(--sage-tint);
}

.social-link img {
  width: 22px;
  height: 22px;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--ink-fixed);
  color: var(--cream-fixed);
  padding-block: 48px;
}

:root[data-theme="dark"] .site-footer {
  background: var(--bg-alt);
  color: var(--ink);
  border-top: 1px solid var(--line);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-footer {
    background: var(--bg-alt);
    color: var(--ink);
    border-top: 1px solid var(--line);
  }
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-wordmark);
  font-style: italic;
  font-size: 21px;
  white-space: nowrap;
}

.footer-brand img {
  height: 34px;
  width: 34px;
  object-fit: contain;
}

.footer-meta {
  font-size: 13px;
  opacity: 0.7;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-meta a {
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--sage);
}

/* ---------- MENU LOADING / EMPTY STATES ---------- */
.menu-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--ink-soft);
  font-size: 15px;
}

.menu-skeleton {
  pointer-events: none;
}

.sk-line {
  height: 14px;
  border-radius: 6px;
  background: var(--line);
  margin-top: 14px;
  overflow: hidden;
  position: relative;
}

.sk-title {
  height: 20px;
  width: 55%;
  margin-top: 0;
}

.sk-line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--card) 60%, transparent), transparent);
  animation: sk-shimmer 1.6s infinite;
}

@keyframes sk-shimmer {
  100% {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sk-line::after {
    animation: none;
  }
}

/* ---------- STORIES BAR ---------- */
.stories-bar {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 20px 24px 24px;
  scrollbar-width: none;
}

.stories-bar::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .stories-bar {
    padding: 24px 40px 28px;
  }
}

.story-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  width: 76px;
  font-family: var(--font-body);
}

.story-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--sage), var(--sage-deep));
  display: block;
}

.story-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg);
}

.story-label {
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 76px;
}

/* ---------- STORY VIEWER (full screen) ---------- */
.story-viewer {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 200;
  display: none;
  flex-direction: column;
  outline: none;
}

.story-viewer.is-open {
  display: flex;
}

.story-viewer__progress {
  display: flex;
  gap: 6px;
  padding: 12px 12px 0;
}

.story-viewer__segment {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.story-viewer__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: #fff;
}

.story-viewer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  color: #fff;
}

.story-viewer__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-viewer__title {
  font-family: var(--font-display);
  font-size: 16px;
}

.story-viewer__close {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.story-viewer__image {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: contain;
  background: #000;
}

.story-viewer__caption {
  color: #fff;
  padding: 16px 20px;
  font-size: 15px;
  text-align: center;
}

.story-viewer__cta {
  margin: 0 auto 20px;
}

.story-viewer__zone {
  position: absolute;
  top: 60px;
  bottom: 60px;
  width: 35%;
  cursor: pointer;
}

.story-viewer__zone--prev {
  left: 0;
}

.story-viewer__zone--next {
  right: 0;
}

/* ---------- ADMIN ---------- */
.admin-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.admin-sidebar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.admin-sidebar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.admin-sidebar__item .icon {
  font-size: 18px;
}

.admin-sidebar__item:hover {
  border-color: var(--sage);
  color: var(--sage-deep);
}

.admin-sidebar__item.is-active {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--on-sage);
}

.admin-main {
  min-width: 0;
}

.admin-panel {
  display: none;
}

.admin-panel.is-active {
  display: block;
  animation: reveal-item-fade-only 200ms var(--ease-out) both;
}

@media (min-width: 900px) {
  .admin-shell {
    grid-template-columns: 220px 1fr;
    gap: 32px;
  }

  .admin-sidebar {
    flex-direction: column;
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    overflow-x: visible;
  }

  .admin-sidebar__item {
    justify-content: flex-start;
  }
}

.admin-notice {
  display: flex;
  gap: 14px;
  background: var(--sage-tint);
  border: 1px solid var(--sage);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  margin-block: 24px;
}

.admin-notice .icon {
  color: var(--sage-deep);
  font-size: 22px;
  flex-shrink: 0;
}

.admin-notice code {
  background: color-mix(in srgb, var(--ink) 10%, transparent);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}

.login-card {
  max-width: 420px;
  margin: 48px auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px;
}

.login-card h1 {
  font-size: 26px;
}

.login-card p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14px;
}

.admin-form {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: end;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-top: 24px;
}

.login-card .admin-form {
  grid-template-columns: 1fr;
  padding: 0;
  border: none;
  margin-top: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.form-field--narrow {
  max-width: 100px;
}

.form-field--checkbox {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.form-field input,
.form-field select {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  padding: 12px 14px;
  min-height: 44px;
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--sage);
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  width: 100%;
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: none;
  color: var(--ink-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--duration-base) var(--ease-out);
}

.password-toggle:hover {
  color: var(--sage-deep);
}

.form-actions {
  display: flex;
  gap: 12px;
  grid-column: 1 / -1;
}

.form-error {
  grid-column: 1 / -1;
  color: #b3452f;
  font-size: 13px;
  margin: 0;
  min-height: 1em;
}

.admin-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.admin-list-group h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.admin-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  margin-bottom: 8px;
  background: var(--card);
}

.admin-item-row.is-unavailable {
  opacity: 0.55;
}

.admin-item-row__thumb {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-input);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-alt);
}

.admin-item-row__thumb--empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 18px;
  border: 1px dashed var(--line);
}

.admin-item-row__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  flex: 1;
  min-width: 0;
}

.admin-item-row__info span {
  color: var(--ink-soft);
  font-size: 13px;
}

.admin-item-row__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.icon-btn:hover {
  border-color: var(--sage);
  color: var(--sage-deep);
}

.icon-btn:active {
  transform: scale(0.92);
}

.icon-btn--danger:hover {
  border-color: #b3452f;
  color: #b3452f;
}

.admin-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sage-deep);
  background: var(--sage-tint);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.admin-list--stories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.admin-story-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--card);
}

.admin-story-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.admin-story-card__body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.admin-story-card__body .icon-btn {
  align-self: flex-start;
}

.ai-result {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
}

.ai-result__photo {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-result__photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-input);
  background: var(--bg-alt);
}

.ai-result__photo-label {
  font-size: 12px;
  color: var(--ink-soft);
}

.ai-result__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-result__text textarea {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  padding: 12px 14px;
  resize: vertical;
}

.ai-result__text textarea:focus {
  border-color: var(--sage);
}

@media (max-width: 720px) {
  .ai-result {
    grid-template-columns: 1fr;
  }

  .ai-result__photo img {
    aspect-ratio: 16 / 9;
  }
}

.ai-reference-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 6px;
}

.ai-reference-picker__item {
  position: relative;
  cursor: pointer;
}

.ai-reference-picker__item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-input);
  border: 2px solid transparent;
  display: block;
  opacity: 0.55;
  transition: opacity var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}

.ai-reference-picker__item input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.ai-reference-picker__item input:checked + img {
  opacity: 1;
  border-color: var(--sage);
}

.ai-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.ai-gallery__item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  overflow: hidden;
  cursor: pointer;
  background: none;
  padding: 0;
  transition: border-color var(--duration-base) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.ai-gallery__item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.ai-gallery__item:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
}

.ai-gallery__delete {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
}

.ai-gallery__delete:hover {
  background: #b3452f;
}

/* ---------- Site content editor ---------- */
.content-row {
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  padding: 16px;
  margin-bottom: 12px;
  background: var(--card);
}

.content-row__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.content-row__fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.content-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.content-field span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.content-field input,
.content-field textarea {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  padding: 10px 12px;
  min-height: 44px;
}

.content-field input:focus,
.content-field textarea:focus {
  border-color: var(--sage);
}

.content-row--image .content-row__fields {
  align-items: center;
}

.content-row__image-preview {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-input);
  object-fit: cover;
  background: var(--bg-alt);
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink-fixed);
  color: var(--cream-fixed);
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 300;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast--error {
  background: #b3452f;
  color: #fff;
}

/* ---------- Theme toggle ---------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
  transition: border-color var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.theme-toggle:hover {
  border-color: var(--sage);
  color: var(--sage-deep);
}

.theme-toggle:active {
  transform: scale(0.92);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: border-color var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.lang-toggle:hover {
  border-color: var(--sage);
  color: var(--sage-deep);
}

.lang-toggle:active {
  transform: scale(0.92);
}
