:root {
  --bg: #ffffff;
  --text: #201b17;
  --muted: #4f473f;
  --surface: #f9f9f9;
  --surface-strong: #f0f0f0;
  --brand-red: #992f12;
  --brand-red-dark: #6f210f;
  --brand-gold: #d8b84f;
  --brand-olive: #bea23e;
  --brand-green: #3f628f;
  --brand-night: #342d26;
  --border: #b8a67f;
  --success: #2f6c4f;
  --danger: #9f2f1e;
  --shadow: 0 10px 24px rgba(53, 35, 16, 0.14);
  --font-display: "Ewert", serif;
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Quicksand", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: #ffffff;
  color: var(--text);
  line-height: 1.58;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand-red-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(63, 98, 143, 0.58);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  letter-spacing: 0.015em;
  line-height: 1.12;
  font-weight: 700;
}

p {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-weight: 400;
}

.container {
  width: min(1120px, calc(100vw - 2rem));
  margin-inline: auto;
}

.section {
  padding: 3.6rem 0;
}

.section-accent {
  background: var(--surface-strong);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 1.2rem;
}

.section-head > .subtle {
  margin-top: 0.45rem;
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 0.65rem;
}

.page-banner {
  padding: 4.1rem 0 2rem;
}

.page-banner h1 {
  font-size: clamp(2.2rem, 5.6vw, 4rem);
}

.page-banner .container > p.subtle {
  margin-top: 0.55rem;
  max-width: 62ch;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(184, 166, 127, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  line-height: 1;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(63, 98, 143, 0.55);
  box-shadow: 0 6px 14px rgba(37, 30, 24, 0.24);
}

.brand-top {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  color: var(--brand-red-dark);
}

.brand-bottom {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-green);
  font-weight: 700;
}

.mobile-nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  font-weight: 700;
  min-height: 44px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.site-nav a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-night);
}

.site-nav a.active {
  color: var(--brand-red-dark);
  border-bottom: 2px solid var(--brand-red);
}

.admin-link {
  color: var(--brand-green) !important;
}

.inline-form {
  margin: 0;
}

.link-button {
  border: none;
  background: none;
  color: var(--brand-red-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
  border: 1px solid rgba(54, 40, 32, 0.18);
  background: linear-gradient(130deg, var(--brand-red), var(--brand-red-dark));
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 0.72rem 1.2rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease;
  min-height: 44px;
}

.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  text-decoration: none;
}

.button-sm {
  padding: 0.58rem 0.95rem;
  font-size: 0.85rem;
}

.button-outline {
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid var(--brand-green);
  color: var(--brand-green);
}

.order-now {
  background: linear-gradient(130deg, var(--brand-gold), var(--brand-olive));
  color: #342b1a;
  border: 1px solid rgba(71, 56, 26, 0.24);
}

.button-danger {
  background: linear-gradient(130deg, var(--danger), #7e1e12);
}

.hero-section {
  position: relative;
  padding: 3.2rem 0 3.8rem;
  overflow: hidden;
}

.hero-noise {
  display: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
}

.hero-content h1 {
  font-size: clamp(2.3rem, 5.8vw, 4rem);
  color: var(--brand-night);
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  line-height: 1.08;
}

.hero-tagline {
  font-size: clamp(1.03rem, 2.2vw, 1.3rem);
  color: var(--brand-red);
  margin-bottom: 0.65rem;
  max-width: 36ch;
  font-family: var(--font-body);
  font-weight: 700;
}

.home-page .hero-content {
  max-width: 58ch;
}

.home-page .hero-content h1 {
  margin-bottom: 0.35rem;
  letter-spacing: 0.01em;
}

.home-page .hero-card h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  margin-bottom: 0.35rem;
}

.home-page .hero-card p {
  font-size: 0.95rem;
}

.home-page .hero-content .hero-card {
  margin-top: 1.05rem;
}

.home-page .section-head h2 {
  font-size: clamp(1.9rem, 3.1vw, 2.35rem);
}

.home-page .card h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
}

.hero-subtitle {
  font-size: 0.98rem;
  max-width: 48ch;
  color: #474039;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.home-page .hero-internal-lede {
  margin-top: 0.85rem;
  max-width: 52ch;
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero-card {
  align-self: start;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.1rem 1rem;
  box-shadow: var(--shadow);
}

.hero-side-stack {
  display: grid;
  gap: 0.9rem;
}

.hero-gallery-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0.7rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.hero-gallery-main-frame {
  grid-row: 1 / 3;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-gallery-main-frame .hero-gallery-main,
.hero-gallery-side {
  width: 100%;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(53, 43, 34, 0.2);
}

.hero-gallery-main-frame .hero-gallery-main {
  display: block;
}

.hero-gallery-caption {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-style: italic;
  color: var(--brand-red-dark);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stack {
  display: grid;
  gap: 0.9rem;
}

.stack-lg {
  display: grid;
  gap: 1.6rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.95rem;
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(53, 35, 16, 0.18);
}

.card h2,
.card h3 {
  color: var(--brand-night);
}

.card .price,
.price {
  color: var(--brand-red-dark);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.card-media {
  width: calc(100% + 2rem);
  max-width: calc(100% + 2rem);
  margin: -1rem -1rem 0.8rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  border-bottom: 1px solid var(--border);
}

.menu-item-image {
  width: calc(100% + 2rem);
  max-width: calc(100% + 2rem);
  margin: -1rem -1rem 0.8rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  border-bottom: 1px solid var(--border);
}

.menu-item-body {
  display: grid;
  gap: 0.25rem;
}

.menu-page .page-banner h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
}

.menu-page .menu-category h2 {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  margin-bottom: 0.6rem;
}

.menu-page .menu-item-body h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  margin-bottom: 0.2rem;
}

.menu-page .menu-item-body p {
  font-size: 0.95rem;
}

.about-banner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.1rem;
  align-items: start;
}

.about-page .page-banner h1 {
  font-size: clamp(2.25rem, 5.4vw, 3.85rem);
  max-width: 12ch;
}

.about-page .page-banner p:not(.eyebrow) {
  max-width: 60ch;
}

.about-intro-card {
  padding: 1.1rem;
  display: grid;
  gap: 0.7rem;
  background:
    linear-gradient(160deg, rgba(216, 184, 79, 0.18), rgba(63, 98, 143, 0.08)),
    var(--surface);
}

.about-intro-card > p {
  margin-bottom: 0;
}

.about-intro-card h2 {
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  margin-bottom: 0.15rem;
}

.about-intro-visual {
  margin: 0.15rem 0 0.2rem;
  border-radius: 14px;
  border: 1px solid rgba(53, 43, 34, 0.2);
  background: rgba(244, 236, 221, 0.92);
  overflow: hidden;
}

.about-intro-visual-media {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.about-intro-visual figcaption {
  padding: 0.45rem 0.65rem;
  color: var(--brand-night);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-top: 1px solid rgba(53, 43, 34, 0.15);
}

.about-intro-card .meta-line {
  margin-top: 0.2rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(53, 43, 34, 0.2);
}

.about-awards-grid .award-card,
.about-bio-grid .bio-card {
  height: 100%;
}

.award-card h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.award-years {
  margin: 0 0 0.5rem;
  color: var(--brand-red-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bio-card {
  padding: 1.05rem;
}

.bio-card-media {
  width: calc(100% + 2.1rem);
  max-width: calc(100% + 2.1rem);
  margin: -1.05rem -1.05rem 0.85rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px 16px 0 0;
  border-bottom: 1px solid var(--border);
}

.bio-card .chip {
  margin-bottom: 0.55rem;
}

.bio-card h3 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  margin-bottom: 0.65rem;
}

.bio-copy {
  display: grid;
  gap: 0.2rem;
}

.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(63, 98, 143, 0.4);
  color: var(--brand-green);
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  font-size: 0.76rem;
  margin-bottom: 0.35rem;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.5rem;
  font-size: 0.88rem;
}

.review-summary-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #faf4e8;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.review-summary-text {
  margin: 0;
  color: var(--brand-night);
  font-size: 1rem;
  font-weight: 700;
}

.review-quote {
  margin: 0;
  color: var(--brand-night);
  font-style: italic;
  line-height: 1.5;
}

.trust-card h3 {
  margin-bottom: 0.4rem;
}

.faq-item {
  padding: 0.9rem 1rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.faq-item summary::after {
  content: "\25BC";
  font-size: 0.7rem;
  color: var(--muted);
  transition: transform 250ms ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item h2 {
  font-size: clamp(1.3rem, 3.4vw, 1.8rem);
  margin: 0;
}

.faq-item p {
  margin-top: 0.8rem;
}

.media-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.instagram-widget-wrap {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.instagram-widget-wrap iframe {
  width: 100%;
  min-height: 560px;
  border: 0;
  display: block;
}

.media-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.media-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  font-size: 1.2rem;
  color: var(--brand-red-dark);
  background:
    linear-gradient(160deg, rgba(216, 184, 79, 0.42), rgba(194, 191, 206, 0.4)),
    var(--surface-strong);
}

.media-content {
  padding: 0.9rem;
}

.cta-strip {
  padding-top: 2.2rem;
}

.cta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.cta-inline-actions {
  margin-top: 0.8rem;
}

.site-footer {
  margin-top: 1.6rem;
  background: var(--brand-night);
  color: #f7e8cf;
  padding: 2rem 0 1.4rem;
}

.site-footer h3 {
  color: #ffd680;
}

.site-footer p,
.site-footer a,
.site-footer small {
  color: #f7e8cf;
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0;
}

.footer-bottom {
  margin-top: 1.2rem;
  border-top: 1px solid rgba(247, 232, 207, 0.2);
  padding-top: 1rem;
}

.footer-clarity-note {
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0 0 0.85rem;
  max-width: 52rem;
  opacity: 0.92;
}

.footer-clarity-note a {
  display: inline;
  min-height: unset;
  padding: 0;
  text-decoration: underline;
}

.menu-category {
  border-top: 2px solid var(--border);
  padding-top: 1rem;
}

.event-card {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
}

.event-meta {
  min-width: 220px;
}

.ical-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
}
.ical-link:hover { text-decoration: underline; }

.error-screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.error-card {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  width: min(560px, 100%);
}

.error-status {
  margin: 0;
  color: var(--brand-red);
  font-weight: 700;
}

.alert {
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}

.alert-success {
  background: #e5f7ec;
  border-color: #b4e4c7;
  color: #145e34;
}

.alert-error {
  background: #fde9e5;
  border-color: #f8c0b8;
  color: #7f1f14;
}

.subtle {
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: transform 380ms ease, opacity 380ms ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ---- External link indicator ---- */
a[target="_blank"]::after {
  content: " \2197";
  font-size: 0.75em;
  opacity: 0.7;
}

/* ---- Loading state for external CTAs ---- */
a.button[target="_blank"].is-loading {
  pointer-events: none;
  opacity: 0.7;
}

a.button[target="_blank"].is-loading::before {
  content: "";
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-right: 0.4em;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: cta-spin 0.6s linear infinite;
  vertical-align: -0.1em;
}

@keyframes cta-spin {
  to { transform: rotate(360deg); }
}

/* ---- Skip-to-content ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
  padding: 0.6rem 1.2rem;
  background: var(--brand-green);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}

.skip-link:focus {
  position: fixed;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  overflow: visible;
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal.show {
    transform: none;
    transition: none;
  }

  .button,
  .button-outline {
    transition: none;
  }

  .card {
    transition: none;
  }

  .card:hover {
    transform: none;
  }

  .faq-item summary::after {
    transition: none;
  }
}

.admin-auth-body {
  background: radial-gradient(circle at 20% 15%, rgba(216, 184, 79, 0.25), transparent 40%),
    radial-gradient(circle at 75% 10%, rgba(63, 98, 143, 0.16), transparent 35%),
    var(--surface-strong);
}

.admin-auth-shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.admin-auth-card {
  width: min(560px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.stacked-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.9rem;
}

/* Visually hidden from real users but present in the DOM for bots */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.admin-body {
  background: linear-gradient(180deg, #e6d4b5 0%, #d8c39e 100%);
  overflow-x: hidden;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(240, 232, 217, 0.92);
  backdrop-filter: blur(8px);
}

.admin-topbar-inner {
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.admin-topbar-actions {
  display: flex;
  gap: 0.7rem;
}

.admin-main {
  padding: 1.2rem 0 2.2rem;
  display: grid;
  gap: 1.2rem;
}

.admin-main,
.admin-section,
.admin-grid,
.admin-grid > *,
.settings-subpanel,
.settings-subpanel > * {
  min-width: 0;
}

.admin-section-tabs {
  position: sticky;
  top: 86px;
  z-index: 16;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(249, 243, 233, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.admin-section-tabs-scroll {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.45rem;
  max-width: 100%;
  min-width: 0;
  width: 100%;
  padding-bottom: 0.15rem;
  row-gap: 0.5rem;
}

.admin-section-tab {
  flex: 0 1 auto;
  max-width: min(100%, 15rem);
  border: 1px solid #d7bf96;
  background: #fff;
  color: var(--brand-night);
  border-radius: 999px;
  padding: 0.48rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.admin-section-tab.active,
.admin-section-tab[aria-selected="true"] {
  background: var(--brand-red);
  color: #fff;
  border-color: var(--brand-red);
}

.admin-section-tab:focus-visible {
  outline: 2px solid rgba(197, 67, 30, 0.35);
  outline-offset: 2px;
}

.settings-subtabs {
  margin: 0.25rem 0 0.35rem;
  max-width: 100%;
  min-width: 0;
}

.settings-subtabs-scroll {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.45rem;
  max-width: 100%;
  min-width: 0;
  width: 100%;
  padding-bottom: 0.15rem;
  row-gap: 0.45rem;
}

.settings-subtab {
  flex: 0 1 auto;
  max-width: min(100%, 14rem);
  border: 1px solid #d7bf96;
  background: #fff;
  color: var(--brand-night);
  border-radius: 999px;
  padding: 0.42rem 0.78rem;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.settings-subtab.active,
.settings-subtab[aria-selected="true"] {
  background: var(--brand-night);
  color: #fff;
  border-color: var(--brand-night);
}

.settings-subtab:focus-visible {
  outline: 2px solid rgba(63, 98, 143, 0.35);
  outline-offset: 2px;
}

.settings-subpanel {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-subpanel > .full-width {
  grid-column: 1 / -1;
}

.settings-subpanel[hidden] {
  display: none;
}

.settings-save-row {
  position: sticky;
  bottom: 0;
  z-index: 3;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(249, 243, 233, 0), rgba(249, 243, 233, 0.96) 46%);
}

.admin-section[hidden] {
  display: none;
}

.admin-prose {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.6rem 2rem;
  box-shadow: var(--shadow);
  max-width: 780px;
}

.admin-prose h1 { font-size: 1.6rem; margin: 0 0 1.2rem; }
.admin-prose h2 { font-size: 1.2rem; margin: 2rem 0 0.5rem; border-bottom: 1px solid var(--border); padding-bottom: 0.3rem; }
.admin-prose h3 { font-size: 1rem; margin: 1.4rem 0 0.35rem; }
.admin-prose p  { margin: 0 0 0.8rem; line-height: 1.65; }
.admin-prose strong { font-weight: 700; }

.admin-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.admin-grid {
  display: grid;
  gap: 0.85rem;
}

.admin-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-grid label,
.admin-grid .checkbox-row {
  min-width: 0;
}

.admin-grid input,
.admin-grid textarea,
.admin-grid select {
  max-width: 100%;
}

.admin-grid .full-width {
  grid-column: 1 / -1;
}

/* Password form: always one column — comfortable on all widths */
#account-security form.admin-grid.two-col {
  grid-template-columns: 1fr;
  max-width: min(26rem, 100%);
}

.section-divider {
  border-top: 1px dashed var(--border);
  margin-top: 0.35rem;
  padding-top: 0.85rem;
}

.section-divider h3 {
  margin: 0 0 0.2rem;
}

.section-divider p {
  margin: 0;
}

.field-note {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.upload-widget {
  display: grid;
  gap: 0.55rem;
}

.upload-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.upload-dropzone {
  border: 2px dashed #d2b27e;
  border-radius: 12px;
  padding: 0.85rem;
  background: #fffdf7;
  display: grid;
  gap: 0.4rem;
  position: relative;
  min-height: 124px;
  align-content: center;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.upload-dropzone.is-dragover {
  border-color: var(--brand-red);
  background: #fff4e6;
}

.upload-dropzone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.upload-dropzone:focus,
.upload-dropzone:focus-within {
  outline: 2px solid rgba(197, 67, 30, 0.32);
  outline-offset: 2px;
}

.drop-title {
  margin: 0;
  color: var(--brand-night);
  font-size: 0.92rem;
  font-weight: 600;
}

.upload-preview {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.6rem;
  background: #fff;
}

.upload-preview-canvas {
  width: 100%;
  max-width: 360px;
  aspect-ratio: var(--upload-preview-ratio, 4 / 3);
  border-radius: 10px;
  border: 1px solid var(--border);
  display: block;
  background: #f8f3e8;
}

.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.checkbox-row input {
  width: auto;
  margin: 0;
}

.image-preview-wrap {
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 0.55rem;
  background: #fffdf7;
}

.menu-admin-preview {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.admin-asset-preview {
  width: 100%;
  max-width: 280px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: block;
  background: #f8f3e8;
}

.admin-asset-preview-logo {
  aspect-ratio: 3 / 1;
  object-fit: contain;
  padding: 0.55rem;
}

.admin-asset-preview-portrait {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.admin-asset-preview-square {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--text);
}

input,
textarea,
select {
  width: 100%;
  font: inherit;
  border: 1px solid #d7bf96;
  border-radius: 10px;
  padding: 0.58rem 0.65rem;
  background: #fff;
  color: var(--text);
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(197, 67, 30, 0.32);
  outline-offset: 0;
  border-color: rgba(197, 67, 30, 0.52);
}

.admin-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.admin-item,
.admin-item-block {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.admin-item {
  padding: 0.55rem;
}

.admin-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.admin-item summary::-webkit-details-marker {
  display: none;
}

.admin-item summary span {
  color: var(--muted);
  font-size: 0.86rem;
}

.admin-item[open] summary {
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 0.7rem;
}

.admin-form-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.admin-delete-form {
  margin-top: 0.7rem;
}

.admin-item-block {
  padding: 0.8rem;
}

.admin-item-block h3 {
  margin-bottom: 0.65rem;
}

.catering-details-grid p {
  margin: 0;
}

/* Admin forms: single column at laptop widths so fields don’t clip between ~1025–1280px */
@media (max-width: 1280px) {
  .admin-body .admin-grid.two-col,
  .admin-body .settings-subpanel {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1025px) {
  .about-banner-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 1.25rem;
  }

  .about-page .page-banner {
    padding: 3.4rem 0 1.35rem;
  }

  .about-page .page-banner h1 {
    max-width: 15ch;
    line-height: 1.04;
  }

  .about-page .page-banner p:not(.eyebrow) {
    max-width: 52ch;
  }
}

@media (max-width: 1024px) {
  .three-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .instagram-widget-wrap iframe {
    min-height: 520px;
  }

  .hero-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .about-banner-grid {
    grid-template-columns: 1fr;
  }

  .hero-gallery-card {
    grid-template-columns: 1fr 1fr;
  }

  .hero-gallery-main-frame .hero-gallery-main,
  .hero-gallery-side {
    min-height: 128px;
  }

  .admin-topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 0;
  }

  .admin-topbar-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .admin-topbar-actions .button,
  .admin-topbar-actions .button-outline {
    flex: 1 1 48%;
    text-align: center;
    justify-content: center;
  }

}

@media (max-width: 760px) {
  .container {
    width: min(1120px, calc(100vw - 1.1rem));
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 6px);
    right: 0.6rem;
    left: 0.6rem;
    padding: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a,
  .link-button {
    padding: 0.35rem 0;
    font-size: 1rem;
  }

  .section {
    padding: 2.8rem 0;
  }

  .two-col,
  .three-col,
  .media-grid,
  .footer-grid,
  .admin-grid.two-col {
    grid-template-columns: 1fr;
  }

  .instagram-widget-wrap iframe {
    min-height: 460px;
  }

  .event-card {
    flex-direction: column;
  }

  .event-meta {
    min-width: 0;
  }

  .admin-main {
    gap: 0.9rem;
    padding-top: 0.95rem;
  }

  .admin-section {
    padding: 0.8rem;
  }

  .admin-section-tabs {
    position: static;
    top: auto;
  }

  .admin-section-tab,
  .settings-subtab {
    min-height: 44px;
    max-width: min(100%, 12rem);
  }

  .settings-save-row {
    padding-top: 0.55rem;
    padding-bottom: 0.15rem;
  }

  .button,
  .button-outline {
    width: auto;
  }

  input,
  textarea,
  select,
  button {
    font-size: 16px;
  }

  .hero-gallery-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 0.5rem;
  }

  .hero-gallery-main-frame {
    grid-row: auto;
  }

  .hero-gallery-main-frame .hero-gallery-main {
    min-height: 168px;
  }

  .hero-gallery-side {
    display: none;
  }

  .hero-gallery-card {
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-content h1 {
    font-size: clamp(1.95rem, 10.5vw, 2.7rem);
  }

  .about-page .page-banner h1 {
    max-width: none;
  }

  .home-page .section-head h2,
  .menu-page .menu-category h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .menu-page .menu-item-body h3 {
    font-size: 1.25rem;
  }
}

/* ---- Admin site analytics ---- */
.analytics-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.analytics-stat-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.analytics-stat-number {
  margin: 0;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--brand-red);
}

.analytics-stat-card-muted h3 {
  color: var(--muted);
}

.analytics-stat-number-muted {
  color: var(--brand-night);
  font-size: 1.65rem;
}

.analytics-daily {
  display: grid;
  gap: 0.45rem;
}

.analytics-bar-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) 3rem;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.analytics-bar-label {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.analytics-bar-track {
  height: 0.65rem;
  border-radius: 999px;
  background: rgba(197, 67, 30, 0.12);
  overflow: hidden;
}

.analytics-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-red), #e07850);
  min-width: 4px;
}

.analytics-bar-count {
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.analytics-split {
  align-items: start;
}

.analytics-ranked {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.35rem;
}

.analytics-ranked li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}

.analytics-rank-path {
  min-width: 0;
  word-break: break-word;
}

.analytics-rank-count {
  flex-shrink: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.analytics-ua-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.analytics-ua-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(39, 34, 29, 0.08);
}

/* ---- Print stylesheet ---- */
@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .mobile-nav-toggle,
  .hero-section,
  .instagram-widget-wrap,
  .button,
  .button-outline,
  .order-now {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .container {
    width: 100%;
    max-width: none;
  }

  .card {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }

  a[target="_blank"]::after {
    content: none;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
