:root {
  --fs-scale: 1;
  --bg: #fdf3ec;
  --text: #2f231f;
  --text-soft: #443733;
  --text-mid: #524440;
  --text-dim: #60524d;
  --muted: #6e605b;
  --maroon: #70312e;
  --olive: #546c3a;
  --band: #f9e7dc;
  --card: #fefbf8;
  --border: #e6dcd5;
  --border-strong: #d8cbc1;
  --invert: #fbf8f5;
  --on-dark: #f1eae5;
  --on-dark-soft: #d3ccc8;
  --on-dark-dim: #a49d99;
  --field: #d9cbc2;
  --field-strong: #c8bbb2;
  --outline: #b9aba2;
  --outline-mid: #8b7c77;
  --catering-card: #3c302b;
  --send: #c02500;
  --scrim: rgba(15, 10, 8, 0.55);
  --header-bg: rgba(253, 243, 236, 0.92);
  --tint: rgba(112, 49, 46, 0.06);
  --shadow-modal: 0 20px 60px rgba(15, 10, 8, 0.3);
  --serif: "Frank Ruhl Libre", Georgia, serif;
  --sans: "Rubik", "Segoe UI", system-ui, sans-serif;
}

@supports (color: oklch(0.5 0.1 40)) {
  :root {
    --bg: oklch(0.97 0.014 60);
    --text: oklch(0.27 0.02 40);
    --text-soft: oklch(0.35 0.02 40);
    --text-mid: oklch(0.4 0.02 40);
    --text-dim: oklch(0.45 0.02 40);
    --muted: oklch(0.5 0.02 40);
    --maroon: oklch(0.4 0.09 25);
    --olive: oklch(0.5 0.08 130);
    --band: oklch(0.94 0.025 55);
    --card: oklch(0.99 0.005 60);
    --border: oklch(0.9 0.015 55);
    --border-strong: oklch(0.85 0.02 60);
    --invert: oklch(0.98 0.005 60);
    --on-dark: oklch(0.94 0.01 55);
    --on-dark-soft: oklch(0.85 0.01 55);
    --on-dark-dim: oklch(0.7 0.01 55);
    --field: oklch(0.85 0.02 55);
    --field-strong: oklch(0.8 0.02 55);
    --outline: oklch(0.75 0.02 55);
    --outline-mid: oklch(0.6 0.02 40);
    --catering-card: oklch(0.32 0.02 40);
    --send: oklch(0.52 0.2 40);
    --scrim: oklch(0.15 0.01 40 / 0.55);
    --header-bg: oklch(0.97 0.014 60 / 0.92);
    --tint: oklch(0.4 0.09 25 / 0.06);
    --shadow-modal: 0 20px 60px oklch(0.15 0.01 40 / 0.3);
  }
}

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

/* components below set display:flex/grid, which would otherwise beat [hidden] */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; }

:where(a, button, input, textarea):focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- shared ---------- */

.wrap { max-width: 1100px; margin: 0 auto; }
.wrap-wide { max-width: 1280px; margin: 0 auto; }

.section { padding: 64px clamp(16px, 4vw, 32px); }
.section-band { background: var(--band); }

.eyebrow {
  font-size: calc(var(--fs-scale, 1) * (15px));
  font-weight: 600;
  color: var(--olive);
  margin-bottom: 12px;
}

h1, h2, h3 { font-family: var(--serif); }

.h2 {
  font-weight: 700;
  font-size: calc(var(--fs-scale, 1) * (clamp(24px, 5.5vw, 36px)));
  line-height: 1.3;
  margin: 0 0 20px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.media {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  background: var(--band);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: calc(var(--fs-scale, 1) * (17px));
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn-primary { background: var(--maroon); color: var(--invert); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--outline-mid); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px clamp(12px, 4vw, 32px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border-strong);
}

@supports (backdrop-filter: blur(6px)) {
  .site-header { backdrop-filter: blur(6px); }
  /* a backdrop-filtered element paints through an overlay in Chromium */
  body.modal-open .site-header { backdrop-filter: none; }
}

body.modal-open { overflow: hidden; }

.site-header__logo {
  height: clamp(38px, 8vw, 52px);
  width: auto;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2.5vw, 18px);
  min-width: 0;
  flex: 1;
  justify-content: flex-end;
}

/* only the section links scroll — the WhatsApp and basket actions stay pinned */
.site-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.5vw, 22px);
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.site-nav__links::-webkit-scrollbar { display: none; }

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 14px);
  flex-shrink: 0;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: calc(var(--fs-scale, 1) * (clamp(12px, 3vw, 15px)));
  font-weight: 500;
  white-space: nowrap;
}

.nav-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--olive);
  padding: 6px clamp(8px, 2vw, 14px);
  border: 1px solid var(--olive);
  border-radius: 100px;
  font-size: calc(var(--fs-scale, 1) * (clamp(11px, 2.6vw, 13px)));
  font-weight: 600;
  flex-shrink: 0;
  text-decoration: none;
}

@media (max-width: 560px) {
  .nav-wa__label { display: none; }
  .nav-wa { padding: 8px; }
}

.cart-button {
  position: relative;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
  line-height: 0;
}

.cart-button__count {
  position: absolute;
  top: -4px;
  left: -6px;
  background: var(--maroon);
  color: var(--invert);
  font-family: var(--sans);
  font-size: calc(var(--fs-scale, 1) * (11px));
  font-weight: 700;
  border-radius: 100px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.header-spacer { height: 78px; }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  align-items: center;
  gap: clamp(32px, 5vw, 48px);
  padding: clamp(40px, 8vw, 72px) clamp(16px, 4vw, 32px);
}

.hero h1 {
  font-weight: 900;
  font-size: calc(var(--fs-scale, 1) * (clamp(26px, 7vw, 56px)));
  line-height: 1.25;
  margin: 0 0 22px;
}

.hero__lede {
  font-size: calc(var(--fs-scale, 1) * (clamp(16px, 4vw, 19px)));
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 520px;
  margin: 0 0 32px;
}

.hero__kicker {
  font-size: calc(var(--fs-scale, 1) * (15px));
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--olive);
  margin-bottom: 14px;
}

.hero .media { height: clamp(240px, 45vw, 420px); }

/* ---------- story ---------- */

.story .media { height: clamp(240px, 45vw, 380px); object-fit: contain; }

.story p {
  font-size: calc(var(--fs-scale, 1) * (clamp(15px, 3.6vw, 17px)));
  line-height: 1.8;
  color: var(--text-soft);
  margin: 0 0 16px;
}

.stats {
  display: flex;
  gap: clamp(20px, 5vw, 36px);
  flex-wrap: wrap;
  margin-top: 32px;
}

.stats__num {
  font-family: var(--serif);
  font-size: calc(var(--fs-scale, 1) * (32px));
  font-weight: 700;
  color: var(--maroon);
}

.stats__label { font-size: calc(var(--fs-scale, 1) * (14px)); color: var(--text-dim); }

/* ---------- menu ---------- */

.menu-head { text-align: center; margin-bottom: 40px; }
.menu-head .h2 { margin-bottom: 0; }

.tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tabs--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: flex-start;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-bottom: 40px;
  -webkit-overflow-scrolling: touch;
}

.tabs--scroll::-webkit-scrollbar { display: none; }

@media (min-width: 720px) {
  .tabs--scroll { flex-wrap: wrap; justify-content: center; overflow-x: visible; }
}

.tab-type {
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--outline-mid);
  padding: 12px clamp(18px, 5vw, 30px);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: calc(var(--fs-scale, 1) * (clamp(14px, 3.6vw, 16px)));
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.tab-cat {
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--field);
  padding: 10px 22px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: calc(var(--fs-scale, 1) * (15px));
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.tab-type[aria-pressed="true"],
.tab-cat[aria-pressed="true"] {
  background: var(--maroon);
  color: var(--invert);
  border-color: var(--maroon);
  font-weight: 600;
}

.tab-type[aria-pressed="true"] { font-weight: 700; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 3vw, 28px);
}

@media (max-width: 560px) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}

.dish {
  display: flex;
  flex-direction: column;
  text-align: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  font-family: var(--sans);
  color: inherit;
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.15s;
}

.dish:hover { box-shadow: 0 8px 24px rgba(15, 10, 8, 0.09); }
.dish:active { transform: scale(0.99); }

.dish__img {
  width: 100%;
  height: clamp(120px, 30vw, 170px);
  object-fit: cover;
  background: var(--band);
  display: block;
}

.dish__img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: calc(var(--fs-scale, 1) * (13px));
  text-align: center;
  padding: 12px;
  line-height: 1.5;
}

.dish__body { display: block; padding: clamp(12px, 3vw, 18px) clamp(12px, 3vw, 20px); }

.dish__name {
  display: block;
  font-family: var(--sans);
  font-size: calc(var(--fs-scale, 1) * (clamp(15px, 3.8vw, 18px)));
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 6px;
}

.dish__tag {
  display: block;
  font-size: calc(var(--fs-scale, 1) * (clamp(13px, 3.2vw, 14px)));
  color: var(--olive);
  font-weight: 500;
  line-height: 1.5;
}

.menu-note {
  margin-top: 36px;
  background: var(--band);
  border-radius: 8px;
  padding: 20px clamp(16px, 4vw, 28px);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: calc(var(--fs-scale, 1) * (clamp(15px, 3.6vw, 16px)));
  line-height: 1.6;
}

.menu-note__star { font-size: calc(var(--fs-scale, 1) * (22px)); color: var(--maroon); }

/* ---------- reviews ---------- */

.reviews { background: var(--tint); }

.reviews__title {
  text-align: center;
  font-family: var(--sans);
  font-size: calc(var(--fs-scale, 1) * (15px));
  font-weight: 600;
  color: var(--olive);
  margin: 0 0 32px;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 3vw, 28px);
}

.reviews__grid p {
  background: var(--card);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 28px);
  font-size: calc(var(--fs-scale, 1) * (16px));
  line-height: 1.7;
  margin: 0;
}

/* ---------- visit ---------- */

.visit .split { align-items: stretch; }
.visit .media { height: 100%; min-height: 300px; }

.visit__block { margin-bottom: 26px; }

.visit__label {
  font-size: calc(var(--fs-scale, 1) * (15px));
  font-weight: 600;
  color: var(--olive);
  margin-bottom: 6px;
}

.visit__value { font-size: calc(var(--fs-scale, 1) * (clamp(16px, 4vw, 18px))); line-height: 1.9; }

/* ---------- catering ---------- */

.catering {
  background: var(--text);
  color: var(--on-dark);
}

.catering h2 {
  font-weight: 700;
  font-size: calc(var(--fs-scale, 1) * (clamp(26px, 6vw, 40px)));
  line-height: 1.3;
  margin: 0 0 24px;
  text-align: center;
}

.catering p {
  font-size: calc(var(--fs-scale, 1) * (clamp(15px, 3.6vw, 17px)));
  line-height: 1.8;
  margin: 0 0 16px;
  text-align: center;
  color: var(--on-dark-soft);
}

.catering__cta { text-align: center; margin: 40px 0 44px; }
.catering__cta strong { display: block; font-size: calc(var(--fs-scale, 1) * (clamp(16px, 4vw, 19px))); margin-bottom: 6px; }
.catering__cta a { color: var(--invert); font-size: calc(var(--fs-scale, 1) * (22px)); font-weight: 700; text-decoration: none; }

.catering__form {
  max-width: 520px;
  margin: 0 auto;
  background: var(--catering-card);
  border-radius: 14px;
  padding: clamp(20px, 5vw, 32px);
}

.catering__form legend {
  font-size: calc(var(--fs-scale, 1) * (15px));
  font-weight: 600;
  color: var(--on-dark-soft);
  text-align: center;
  width: 100%;
  padding: 0 0 20px;
}

.catering__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.catering__form input,
.catering__form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--muted);
  background: var(--on-dark);
  color: var(--text);
  font-family: var(--sans);
  font-size: calc(var(--fs-scale, 1) * (15px));
}

.catering__form textarea { min-height: 110px; resize: vertical; margin-bottom: 20px; }
.catering__form > input { margin-bottom: 14px; }

.catering__send {
  display: block;
  margin: 0 auto;
  background: var(--send);
  color: var(--invert);
  border: none;
  padding: 14px 44px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: calc(var(--fs-scale, 1) * (16px));
  font-weight: 700;
  cursor: pointer;
}

/* ---------- about / faq ---------- */

.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  font-size: calc(var(--fs-scale, 1) * (16px));
  line-height: 1.8;
}

.about p, .faq p {
  font-size: calc(var(--fs-scale, 1) * (clamp(15px, 3.6vw, 17px)));
  line-height: 1.8;
  color: var(--text-soft);
  margin: 0 0 20px;
}

.about a, .faq a { color: var(--maroon); }

.faq { max-width: 800px; }
.faq h2 { text-align: center; margin-bottom: 32px; }
.faq article { margin-bottom: 28px; }
.faq h3 { font-family: var(--sans); font-size: calc(var(--fs-scale, 1) * (18px)); font-weight: 700; margin: 0 0 8px; }
.faq p { margin: 0; }

.section-narrow { max-width: 800px; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--text);
  color: var(--on-dark);
  padding: 48px clamp(16px, 4vw, 32px);
}

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

.site-footer img { height: 44px; width: auto; }

.site-footer__links {
  display: flex;
  gap: clamp(14px, 3vw, 24px);
  font-size: calc(var(--fs-scale, 1) * (15px));
  flex-wrap: wrap;
}

.site-footer__links a { color: var(--on-dark); text-decoration: none; white-space: nowrap; }
.site-footer__address { font-size: calc(var(--fs-scale, 1) * (13px)); color: var(--on-dark-dim); }

/* ---------- modals ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--scrim);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 4vw, 24px);
}

.modal__panel {
  background: var(--card);
  border-radius: 14px;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  -webkit-overflow-scrolling: touch;
}

.modal__panel--cart { max-width: 440px; }

.modal__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--band);
  display: block;
}

.modal__body { padding: clamp(18px, 5vw, 26px); }

.modal__title { font-family: var(--sans); font-size: calc(var(--fs-scale, 1) * (clamp(18px, 4.5vw, 21px))); font-weight: 700; margin: 0 0 6px; }
.modal__tag { font-size: calc(var(--fs-scale, 1) * (15px)); color: var(--olive); font-weight: 500; margin-bottom: 20px; }
.modal__sub { font-size: calc(var(--fs-scale, 1) * (14px)); color: var(--muted); margin-bottom: 22px; }

.qty {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.qty__label { font-size: calc(var(--fs-scale, 1) * (15px)); font-weight: 500; color: var(--text-dim); }
.qty__controls { display: flex; align-items: center; gap: 14px; }

.qty__btn {
  width: 34px;
  height: 34px;
  border-radius: 100px;
  border: 1px solid var(--field-strong);
  background: transparent;
  color: var(--text);
  font-size: calc(var(--fs-scale, 1) * (18px));
  line-height: 1;
  cursor: pointer;
}

.qty__value { font-size: calc(var(--fs-scale, 1) * (17px)); font-weight: 600; min-width: 20px; text-align: center; }

.field { margin-bottom: 16px; }
.field:last-of-type { margin-bottom: 20px; }
.field label, .field__label { display: block; font-size: calc(var(--fs-scale, 1) * (15px)); font-weight: 600; margin-bottom: 8px; }

.field input,
.field textarea,
.modal textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--field);
  background: var(--invert);
  color: var(--text);
  font-family: var(--sans);
  font-size: calc(var(--fs-scale, 1) * (16px));
}

.modal textarea { min-height: 70px; resize: vertical; margin-bottom: 22px; }

.field input:disabled {
  background: var(--band);
  color: var(--muted);
  cursor: not-allowed;
}

.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }

.choice { display: flex; gap: 10px; }

.choice__btn {
  flex: 1;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid var(--field-strong);
  background: transparent;
  color: var(--text-soft);
  font-family: var(--sans);
  font-size: calc(var(--fs-scale, 1) * (15px));
  font-weight: 600;
  cursor: pointer;
}

.choice__btn[aria-pressed="true"] {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--invert);
}

.modal__actions { display: flex; gap: 12px; }

.modal__actions button {
  padding: 14px;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: calc(var(--fs-scale, 1) * (16px));
  font-weight: 600;
  cursor: pointer;
}

.action-secondary {
  flex: 1;
  border: 1px solid var(--outline);
  background: transparent;
  color: var(--text);
}

.action-primary {
  flex: 2;
  border: none;
  background: var(--maroon);
  color: var(--invert);
}

.cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.cart-line__name { font-size: calc(var(--fs-scale, 1) * (15px)); font-weight: 600; }
.cart-line__meta { font-size: calc(var(--fs-scale, 1) * (13px)); color: var(--muted); }

.cart-line__remove {
  border: none;
  background: transparent;
  font-size: calc(var(--fs-scale, 1) * (22px));
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
}

.cart-empty { color: var(--muted); font-size: calc(var(--fs-scale, 1) * (15px)); padding: 20px 0; }

.pay-notice {
  background: var(--band);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: calc(var(--fs-scale, 1) * (14px));
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 20px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

.catering__fieldset { border: 0; margin: 0; padding: 0; }
.modal__actions--spaced { margin-top: 22px; }

/* ==================== accessibility widget ==================== */

/* text size — a CSS variable multiplying every font-size declaration.
   (zoom/transform were tried first: both change the containing block for
   position:fixed descendants and broke the header and this widget itself.) */
html.a11y-fs-1 { --fs-scale: 1.15; }
html.a11y-fs-2 { --fs-scale: 1.3; }

/* high contrast — every component already reads color from these tokens,
   so redefining them here is enough; no component-level overrides needed */
html.a11y-contrast {
  --bg: #ffffff;
  --text: #000000;
  --text-soft: #000000;
  --text-mid: #000000;
  --text-dim: #000000;
  --muted: #000000;
  --maroon: #7a0000;
  --olive: #0d3d0d;
  --band: #e8e8e8;
  --card: #ffffff;
  --border: #000000;
  --border-strong: #000000;
  --invert: #ffffff;
  --on-dark: #ffffff;
  --on-dark-soft: #ffffff;
  --on-dark-dim: #ffffff;
  --field: #000000;
  --field-strong: #000000;
  --outline: #000000;
  --outline-mid: #000000;
  --catering-card: #000000;
  --send: #7a0000;
  --scrim: rgba(0, 0, 0, 0.85);
  --header-bg: #ffffff;
  --tint: #ffffff;
  --shadow-modal: none;
}

html.a11y-contrast :where(a, button, input, textarea):focus-visible {
  outline: 3px solid #000000;
  outline-offset: 2px;
}

html.a11y-underline-links .site-nav a,
html.a11y-underline-links .site-footer__links a,
html.a11y-underline-links .visit__value a,
html.a11y-underline-links .about a,
html.a11y-underline-links .faq a,
html.a11y-underline-links .catering__cta a {
  text-decoration: underline;
}

html.a11y-no-motion,
html.a11y-no-motion * {
  scroll-behavior: auto !important;
  transition: none !important;
  animation: none !important;
}

.a11y-widget {
  position: fixed;
  inset-block-end: 18px;
  inset-inline-start: 18px;
  z-index: 40;
}

.a11y-widget__toggle {
  width: 48px;
  height: 48px;
  border-radius: 100px;
  border: none;
  background: var(--maroon);
  color: var(--invert);
  box-shadow: 0 4px 16px rgba(15, 10, 8, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.a11y-widget__panel {
  position: absolute;
  inset-block-end: 58px;
  inset-inline-start: 0;
  width: min(280px, calc(100vw - 36px));
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(15, 10, 8, 0.2);
  padding: 16px;
}

.a11y-widget__panel[hidden] { display: none; }

.a11y-widget__title {
  font-family: var(--sans);
  font-size: calc(var(--fs-scale, 1) * (15px));
  font-weight: 700;
  margin: 0 0 12px;
}

.a11y-widget__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.a11y-widget__label { font-size: calc(var(--fs-scale, 1) * (14px)); font-weight: 500; }

.a11y-widget__steps {
  display: flex;
  align-items: center;
  gap: 8px;
}

.a11y-widget__steps button {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--field-strong);
  background: transparent;
  color: var(--text);
  font-size: calc(var(--fs-scale, 1) * (14px));
  line-height: 1;
  cursor: pointer;
}

.a11y-widget__toggle-btn {
  border: 1px solid var(--field-strong);
  background: transparent;
  color: var(--text-soft);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: calc(var(--fs-scale, 1) * (13px));
  font-weight: 600;
  cursor: pointer;
}

.a11y-widget__toggle-btn[aria-pressed="true"] {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--invert);
}

.a11y-widget__reset {
  width: 100%;
  margin-top: 6px;
  padding: 9px;
  border-radius: 6px;
  border: 1px solid var(--field-strong);
  background: transparent;
  color: var(--text-soft);
  font-size: calc(var(--fs-scale, 1) * (13px));
  font-weight: 600;
  cursor: pointer;
}
