/* =========================================================
   Stacey & Seeds Slappin' Soulfood — Site Stylesheet
   Mobile-first, WCAG-conscious, no external framework.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette, pulled from the client's logo/menu art */
  --gold: #f0a81e;
  --gold-deep: #c97a0f;
  --green: #4c9a2a;
  --green-deep: #2f6b1a;
  --red: #9e1b1b;
  --red-bright: #c4272a;
  --black: #0a0a0a;
  --black-soft: #151210;

  /* Functional tokens (light theme — this is a warm, dark-branded site by design) */
  --bg: #fffaf1;
  --bg-alt: #fbeed9;
  --surface: #ffffff;
  --ink: #201a12;
  --ink-soft: #4a4038;
  --on-dark: #fdf8f0;
  --on-dark-soft: #d8cdbd;
  --border: #e7d9c2;
  --focus-ring: #1a6ee0;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-script: "Great Vibes", "Brush Script MT", cursive;
  --font-body: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(20, 14, 4, 0.08);
  --shadow-md: 0 8px 24px rgba(20, 14, 4, 0.16);
  --shadow-lg: 0 18px 48px rgba(20, 14, 4, 0.28);
  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1rem;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 0.5em; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
button { font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* ---------- Accessibility helpers ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3.5rem;
  background: var(--black); color: var(--on-dark);
  padding: 0.75rem 1.25rem; border-radius: 0 0 8px 8px;
  z-index: 1000; transition: top 0.2s ease;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 3.5rem 0; }
.section--tight { padding: 2.5rem 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--black); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3,
.hero h1, .hero h2, .hero h3,
.page-header h1, .page-header h2, .page-header h3 { color: var(--on-dark); }
.section--dark .btn-secondary,
.hero .btn-secondary,
.page-header .btn-secondary { color: var(--on-dark); }
.section-head { max-width: 640px; margin: 0 auto 2.25rem; text-align: center; }
.section-head p { color: var(--ink-soft); }
.section--dark .section-head p { color: var(--on-dark-soft); }
.eyebrow {
  display: inline-block; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 0.78rem; color: var(--red-bright);
  margin-bottom: 0.6em;
}
.section--dark .eyebrow { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.95rem 1.6rem; min-height: 48px;
  border-radius: 999px; font-weight: 800; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  font-size: 1rem; line-height: 1.1;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--black);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { box-shadow: var(--shadow-md); }
.btn-secondary {
  background: transparent;
  border-color: currentColor;
  color: var(--black);
}
.section--dark .btn-secondary { color: var(--on-dark); }
.btn-secondary:hover { background: rgba(0,0,0,0.06); }
.section--dark .btn-secondary:hover { background: rgba(255,255,255,0.1); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: var(--black);
  border-bottom: 3px solid var(--gold);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 0;
  gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none;
  color: var(--on-dark);
  min-height: 48px;
}
.brand img {
  height: 52px; width: auto; border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gold);
  background: var(--black);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text .script {
  font-family: var(--font-script);
  font-size: 1.6rem;
  background: linear-gradient(90deg, var(--gold) 0%, var(--green) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-text .sub {
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--on-dark-soft);
}

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 10px;
  background: transparent; border: 2px solid var(--on-dark-soft);
  color: var(--on-dark);
}
.nav-toggle svg { width: 24px; height: 24px; }

.nav-links {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0.5rem 1.25rem 1.25rem;
}
.nav-links.is-open { display: block; }
.nav-links ul { display: flex; flex-direction: column; gap: 0.25rem; }
.nav-links a {
  display: block; padding: 0.85rem 0.25rem; text-decoration: none;
  color: var(--on-dark); font-weight: 700; letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-links a[aria-current="page"] { color: var(--gold); }
.nav-links .btn {
  display: inline-flex; width: auto; margin-top: 0.85rem;
  padding: 0.95rem 1.6rem; border-bottom: none;
}

@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .nav-links {
    display: block; position: static; background: none; border: 0; padding: 0;
  }
  .nav-links ul { flex-direction: row; align-items: center; gap: 1.75rem; }
  .nav-links a { padding: 0.4rem 0.1rem; border-bottom: 2px solid transparent; }
  .nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--gold); }
  .nav-links .btn {
    padding: 0.95rem 1.6rem; margin-top: 0; border-bottom: none;
  }
  .nav-links .btn:hover { border-bottom: none; }
  .nav-links li:last-child { margin-left: 0.5rem; }
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(ellipse at top, #1a1512 0%, var(--black) 62%);
  color: var(--on-dark);
  padding: 3rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(240,168,30,0.18), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(76,154,42,0.16), transparent 45%);
  pointer-events: none;
}
.hero-inner {
  position: relative; display: grid; gap: 2.25rem; align-items: center;
}
.hero-logo { display: flex; justify-content: center; }
.hero-logo img {
  max-width: 320px; width: 70%;
  border-radius: 28px;
  box-shadow: 0 0 0 3px var(--gold), 0 12px 30px rgba(0,0,0,0.55);
}
.hero-copy { text-align: center; }
.hero-copy h1 { font-size: clamp(1.9rem, 6vw, 2.75rem); margin-bottom: 0.4em; }
.hero-copy .tagline {
  font-family: var(--font-script);
  color: var(--gold);
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  display: block;
  margin-bottom: 0.6em;
}
.hero-copy .desc { color: var(--on-dark-soft); font-size: 1.08rem; max-width: 46ch; margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1.5rem; }
.hero-ctas .btn { width: 100%; }

@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; justify-content: center; }
  .hero-ctas .btn { width: auto; min-width: 190px; }
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 0.9fr 1.1fr; text-align: left; }
  .hero-copy, .hero-copy .desc { text-align: left; margin-left: 0; }
  .hero-ctas { justify-content: flex-start; }
}

/* ---------- Credibility strip ---------- */
.credibility {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.credibility ul {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 2.5rem;
  padding: 1.5rem 0;
}
.credibility li {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 800; font-size: 0.95rem; color: var(--ink);
  text-align: center;
}
.credibility li svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--gold-deep); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 0.4em; }

/* ---------- About teaser (home) ---------- */
.about-teaser {
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 900px) {
  .about-teaser { grid-template-columns: 1fr 1fr; }
}
.about-teaser .photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ---------- Placeholder photo tiles (until real photos arrive) ---------- */
.ph-tile {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--on-dark);
  isolation: isolate;
}
.ph-tile::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--ph-bg, linear-gradient(135deg, #2a2119, #100c09));
  z-index: -2;
}
.ph-tile::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(240,168,30,0.35), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(158,27,27,0.35), transparent 55%);
  z-index: -1;
}
.ph-tile .ph-icon { font-size: 2.4rem; line-height: 1; margin-bottom: 0.35rem; }
.ph-tile .ph-label {
  padding: 1.1rem;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.68), transparent);
}
.ph-tile .ph-name { font-weight: 800; font-size: 1.05rem; display: block; }
.ph-tile .ph-tag { font-size: 0.78rem; color: var(--on-dark-soft); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Real dish photos (replacing placeholder tiles) ---------- */
.dish-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.ph-tile .ph-label { position: relative; z-index: 1; }

/* ---------- Real family photo (About teaser) ---------- */
.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Carousel ---------- */
.carousel {
  position: relative;
}
.carousel-track {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-deep) transparent;
}
.carousel-track:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }
.carousel-track .ph-tile,
.carousel-track .carousel-slide {
  flex: 0 0 78%; scroll-snap-align: start; min-height: 260px;
}
@media (min-width: 640px) {
  .carousel-track .ph-tile, .carousel-track .carousel-slide { flex-basis: 46%; }
}
@media (min-width: 980px) {
  .carousel-track .ph-tile, .carousel-track .carousel-slide { flex-basis: 31%; }
}
.carousel-controls {
  display: flex; justify-content: center; gap: 0.75rem; margin-top: 1rem;
}
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.section--dark .carousel-btn { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.05); color: var(--on-dark); }
.carousel-btn svg { width: 20px; height: 20px; }

/* ---------- Email capture ---------- */
.email-capture {
  background: linear-gradient(135deg, var(--red) 0%, #6e1212 100%);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.email-capture h2 { color: var(--on-dark); }
.email-capture .desc { color: #f4ded8; max-width: 46ch; margin: 0 auto 1.25rem; }
.email-form {
  display: flex; flex-direction: column; gap: 0.75rem;
  max-width: 420px; margin: 0 auto;
}
.email-form .field { text-align: left; }
.email-form label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 0.35rem; }
.email-form input[type="email"], .email-form input[type="text"] {
  width: 100%; padding: 0.85rem 1rem; border-radius: 10px; border: 2px solid transparent;
  min-height: 48px; font-size: 1rem;
}
.email-form input:invalid[aria-invalid="true"] { border-color: #ffd1d1; }
.email-form .btn { min-height: 52px; }
.form-note { font-size: 0.78rem; color: #f4ded8; margin-top: 0.75rem; }
.email-capture .form-error { font-size: 0.95rem; font-weight: 700; color: var(--on-dark); margin-top: 0.75rem; }
.email-capture .form-error[hidden] { display: none; }
.form-success {
  display: none; background: rgba(255,255,255,0.12); border-radius: 10px;
  padding: 1rem; font-weight: 700;
}
.form-success.is-visible { display: block; }
.form-success[hidden] { display: none; }
.form-success { scroll-margin-top: 6rem; } /* keep the message clear of the sticky header */

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--on-dark-soft); padding: 3rem 0 2rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-brand img { height: 64px; margin-bottom: 0.75rem; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold); }
.footer-brand p { max-width: 34ch; }
.site-footer h4 { color: var(--on-dark); font-family: var(--font-body); font-weight: 800; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.85rem; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { text-decoration: none; color: var(--on-dark-soft); }
.footer-links a:hover { color: var(--gold); }
.social-row { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.social-row a {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.25);
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  color: var(--on-dark);
}
.social-row a:hover { border-color: var(--gold); color: var(--gold); }
.social-row svg { width: 20px; height: 20px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2.5rem; padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: 0.85rem;
}
.footer-bottom a { text-decoration: underline; color: var(--on-dark-soft); }
.mow-note {
  background: rgba(255,255,255,0.06); border-radius: 10px; padding: 1rem 1.1rem; margin-top: 1.75rem;
  font-size: 0.88rem; max-width: 60ch;
}
.mow-note a { color: var(--gold); font-weight: 700; }

/* ---------- Accessibility widget button ---------- */
.a11y-btn {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 400;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--black); color: var(--gold);
  border: 2px solid var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); cursor: pointer;
}
.a11y-btn svg { width: 26px; height: 26px; }
.a11y-panel {
  position: fixed; right: 1rem; bottom: 4.5rem; z-index: 400;
  width: min(300px, calc(100vw - 2rem));
  background: var(--surface); color: var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 1.25rem; display: none;
  border: 1px solid var(--border);
}
.a11y-panel.is-open { display: block; }
.a11y-panel h2 { font-size: 1.05rem; margin-bottom: 0.75rem; }
.a11y-panel .a11y-row { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.a11y-panel .a11y-row:last-of-type { border-bottom: 0; }
.a11y-toggle {
  width: 44px; height: 26px; border-radius: 999px; background: #ddd0b8; position: relative; border: 0; cursor: pointer; flex-shrink: 0;
}
.a11y-toggle::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; transition: transform 0.15s ease; box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.a11y-toggle[aria-pressed="true"] { background: var(--green); }
.a11y-toggle[aria-pressed="true"]::after { transform: translateX(18px); }
.a11y-panel .close-panel { margin-top: 0.9rem; }

/* Large-text mode toggled via the accessibility widget */
html.a11y-large-text { font-size: 118%; }
/* High-contrast mode toggled via the accessibility widget */
html.a11y-high-contrast body { background: #fff; color: #000; }
html.a11y-high-contrast .section--dark { background: #000; color: #fff; }
html.a11y-high-contrast a { text-decoration: underline; }
html.a11y-high-contrast .btn-primary { background: #000; color: #fff; border-color: #fff; }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: var(--black); color: var(--on-dark);
  padding: 2.75rem 0 2.25rem; text-align: center;
  border-bottom: 3px solid var(--gold);
}
.page-header .eyebrow { color: var(--gold); }
.page-header p { color: var(--on-dark-soft); max-width: 60ch; margin: 0 auto; }
.breadcrumb { font-size: 0.85rem; margin-bottom: 0.75rem; color: var(--on-dark-soft); }
.breadcrumb a { color: var(--on-dark-soft); text-decoration: underline; }

/* ---------- Menu page ---------- */
.menu-tabs {
  display: flex; gap: 0.6rem; overflow-x: auto; padding-bottom: 0.5rem; margin-bottom: 2rem;
  -webkit-overflow-scrolling: touch;
}
.menu-tab {
  flex: 0 0 auto; padding: 0.7rem 1.1rem; border-radius: 999px;
  border: 2px solid var(--border); background: var(--surface); color: var(--ink);
  font-weight: 700; cursor: pointer; min-height: 44px; white-space: nowrap;
}
.menu-tab[aria-selected="true"] {
  background: var(--black); color: var(--gold); border-color: var(--black);
}
.menu-panel { display: none; }
.menu-panel.is-active { display: block; }
.menu-panel > .menu-note {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px;
  padding: 0.85rem 1.1rem; margin-bottom: 1.5rem; font-weight: 700; font-size: 0.92rem;
}
.menu-item {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--border);
}
.menu-item:last-child { border-bottom: 0; }
.menu-item-name { font-weight: 800; font-size: 1.05rem; }
.menu-item-desc { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.2rem; }
.menu-item-price { font-weight: 800; color: var(--red-bright); white-space: nowrap; font-size: 1.05rem; }
.menu-subhead { margin-top: 2rem; margin-bottom: 0.25rem; font-size: 1.15rem; }
.menu-subhead:first-child { margin-top: 0; }
.price-note { color: var(--ink-soft); font-size: 0.85rem; margin: -0.5rem 0 1rem; }

.catering-callout {
  margin-top: 2.5rem; padding: 1.75rem; border-radius: var(--radius);
  background: var(--black); color: var(--on-dark); text-align: center;
}
.catering-callout h3 { color: var(--gold); }

/* ---------- Forms (catering inquiry) ---------- */
.form-grid { display: grid; gap: 1.1rem; }
.form-grid[hidden] { display: none; } /* display:grid would otherwise override the hidden attribute */
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.form-field label { display: block; font-weight: 700; margin-bottom: 0.4rem; }
.form-field .req { color: var(--red-bright); }
.form-field input:invalid[aria-invalid="true"] { border-color: var(--red-bright); }
.field-error { display: block; margin-top: 0.35rem; font-size: 0.85rem; color: var(--red-bright); }
.field-error[hidden] { display: none; } /* display:block would otherwise override the hidden attribute */
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: 10px; border: 2px solid var(--border);
  min-height: 48px; background: var(--surface);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field small { display: block; color: var(--ink-soft); margin-top: 0.3rem; font-size: 0.82rem; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold-deep); }

/* ---------- Hours table ---------- */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--border); }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { width: 55%; }

.map-frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

.contact-card { display: flex; gap: 1rem; align-items: flex-start; }
.contact-card svg { width: 28px; height: 28px; color: var(--gold-deep); flex-shrink: 0; margin-top: 0.15rem; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }

/* ---------- Deals section ---------- */
.deals-empty {
  text-align: center; color: var(--ink-soft); font-style: italic;
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 0.75rem; }
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(240,168,30,0.15); color: var(--red);
  font-weight: 800; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.35rem 0.75rem; border-radius: 999px; margin-bottom: 0.75rem;
}

/* ---------- Text-only About block (no photo beside it) ---------- */
.about-teaser.about-teaser--solo { grid-template-columns: 1fr; max-width: 70ch; margin-left: auto; margin-right: auto; }

/* ---------- Family photo slideshow (home About teaser) ---------- */
/* Fixed frame sized to the first photo. object-fit: contain means nobody in a
   group photo is ever cropped; a slightly different photo shape just gets thin
   dark bars. */
.slideshow { position: relative; aspect-ratio: 1290 / 1117; background: var(--black); }
.slideshow .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; }
.slideshow .slide.is-active { opacity: 1; z-index: 1; }
.slideshow .slide img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Looping story video (Our Story) ---------- */
.video-frame { position: relative; width: 100%; max-width: 420px; margin-left: auto; margin-right: auto; aspect-ratio: 3 / 4; background: var(--black); }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Pause / play button on moving media ---------- */
.media-toggle {
  position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 2;
  width: 44px; height: 44px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--on-dark-soft); border-radius: 50%;
  background: rgba(0,0,0,0.6); color: var(--on-dark); cursor: pointer;
}
.media-toggle:hover { background: rgba(0,0,0,0.8); }
.media-toggle svg { width: 20px; height: 20px; }
.media-toggle .icon-play { display: none; }
.media-toggle[aria-pressed="true"] .icon-pause { display: none; }
.media-toggle[aria-pressed="true"] .icon-play { display: inline; }

/* ---------- Footer credit link (Kultivate Kulture) ---------- */
/* Solid cyan first, so any browser without gradient-text support still shows a
   bright readable link. Both colors are well above the 4.5:1 contrast minimum
   on the black footer (orange 6.9:1, cyan 11.2:1). */
.footer-bottom .credit-link {
  font-weight: 800;
  text-decoration: none;
  padding-bottom: 2px;
  color: #00D4FF;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .footer-bottom .credit-link {
    /* layer 1 = the gradient text; layer 2 = a gradient underline that slides in on hover/focus */
    background-image: linear-gradient(90deg, #FF6B1A, #00D4FF), linear-gradient(90deg, #FF6B1A, #00D4FF);
    background-repeat: no-repeat;
    background-position: 0 0, 0 100%;
    background-size: 100% 100%, 0 2px;
    -webkit-background-clip: text, border-box;
    background-clip: text, border-box;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transition: background-size 0.2s ease;
  }
  .footer-bottom .credit-link:hover,
  .footer-bottom .credit-link:focus-visible { background-size: 100% 100%, 100% 2px; }
}
/* The site's High contrast toggle and the operating system's forced-colors mode: plain, underlined text. */
html.a11y-high-contrast .footer-bottom .credit-link {
  background: none; -webkit-text-fill-color: #fff; color: #fff; text-decoration: underline;
}
@media (forced-colors: active) {
  .footer-bottom .credit-link { background: none; -webkit-text-fill-color: LinkText; color: LinkText; text-decoration: underline; }
}
