/* ============================================================================
   BREW & BLOOM  —  Specialty Coffee Shop
   ----------------------------------------------------------------------------
   Customize the whole look from the :root tokens below.
   - Change --accent + the --brown / --cream scale to rebrand.
   - Swap fonts in index.html <head> and update --font-* here.
   ========================================================================== */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Brand palette — warm, earthy, third-wave */
  --brown-900: #241610;   /* darkest — footer, hero text */
  --brown-800: #3a2a1e;   /* deep espresso */
  --brown-700: #5c4033;   /* body brown */
  --brown-500: #8a6a55;   /* muted */
  --cream-50:  #faf6f0;   /* page background */
  --cream-100: #f4ece0;   /* cards / panels */
  --cream-200: #ece0d0;   /* borders */
  --accent:    #c8783c;   /* warm terracotta / caramel — THE accent */
  --accent-dk: #a95f2b;   /* accent hover */

  /* Semantic */
  --bg:        var(--cream-50);
  --surface:   #fffdfa;
  --text:      var(--brown-800);
  --text-soft: var(--brown-700);
  --heading:   var(--brown-900);
  --line:      var(--cream-200);

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rhythm */
  --container: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 10vw, 8rem);
  --radius: 18px;
  --radius-sm: 12px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 4px 16px rgba(58, 42, 30, 0.08);
  --shadow-md: 0 18px 48px -18px rgba(58, 42, 30, 0.35);
  --shadow-lg: 0 40px 80px -32px rgba(36, 22, 16, 0.45);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 84px; /* offset for sticky nav on anchor jumps */
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
address { font-style: normal; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
h3 { font-size: 1.3rem; }

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ---------- LAYOUT HELPERS ---------- */
.section { padding: var(--section-y) var(--gutter); }
.section > * { max-width: var(--container); margin-inline: auto; }

.section__head {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.section__lead {
  color: var(--text-soft);
  margin-top: 1rem;
  font-size: 1.08rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  --btn-py: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--btn-py) 1.7rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease),
              box-shadow 0.35s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}
.btn--sm { --btn-py: 0.7rem; padding: 0.7rem 1.3rem; font-size: 0.9rem; }

.btn--solid {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(200, 120, 60, 0.7);
}
.btn--solid:hover {
  background: var(--accent-dk);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -12px rgba(169, 95, 43, 0.75);
}
.btn--ghost {
  background: transparent;
  color: var(--heading);
  border-color: currentColor;
}
.btn--ghost:hover {
  background: var(--heading);
  color: var(--cream-50);
  transform: translateY(-3px);
}
.btn:active { transform: translateY(-1px) scale(0.98); }

/* Hero buttons sit on dark imagery — tune colors there */
.hero .btn--ghost { color: #fff; }
.hero .btn--ghost:hover { background: #fff; color: var(--brown-900); }

/* ---------- LINK ARROW ---------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.5rem;
}
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }
.link-arrow--sm { font-size: 0.9rem; }

/* ============================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease);
}
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.4rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.4s var(--ease);
}

/* Shrunk state — toggled by JS on scroll */
.nav.is-scrolled {
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(36, 22, 16, 0.5);
}
.nav.is-scrolled .nav__inner { padding-top: 0.85rem; padding-bottom: 0.85rem; }

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: #fff;                 /* over hero by default */
  transition: color 0.4s var(--ease);
  letter-spacing: -0.01em;
}
.nav__mark { font-size: 1.4rem; line-height: 1; }
.nav.is-scrolled .nav__brand { color: var(--heading); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}
.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav.is-scrolled .nav__links a { color: var(--text-soft); }

/* Animated underline on nav links (not the CTA) */
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__links a:not(.nav__cta):hover { color: var(--accent); }
.nav.is-scrolled .nav__links a:not(.nav__cta):hover { color: var(--accent); }
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); }

.nav__cta {
  padding: 0.6rem 1.2rem;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 100px;
  transition: all 0.3s var(--ease) !important;
}
.nav__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff !important;
}
.nav.is-scrolled .nav__cta { border-color: var(--accent); color: var(--accent) !important; }
.nav.is-scrolled .nav__cta:hover { color: #fff !important; }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 110;
}
.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), background 0.4s var(--ease);
}
.nav.is-scrolled .nav__toggle span { background: var(--heading); }

/* ============================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 7rem var(--gutter) 5rem;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  /* HERO IMAGE — swap this url. The brown fallback keeps the hero warm and
     legible if the image is slow or fails to load. */
  background: var(--brown-800) url("https://images.unsplash.com/photo-1521017432531-fbd92d768814?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  transform: scale(1.08);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(36, 22, 16, 0.78) 0%, rgba(36, 22, 16, 0.42) 45%, rgba(36, 22, 16, 0.15) 100%),
    linear-gradient(to top, rgba(36, 22, 16, 0.7) 0%, transparent 45%);
}
.hero__content {
  position: relative;
  max-width: var(--container);
  margin-inline: auto;
  width: 100%;
  color: #fff;
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.4rem;
}
.hero__title {
  font-size: clamp(2.7rem, 7.5vw, 5.4rem);
  color: #fff;
  font-weight: 600;
  max-width: 14ch;
  text-wrap: balance;
}
.hero__tagline {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 44ch;
  line-height: 1.55;
}
.hero__actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__scroll-dot {
  width: 4px; height: 8px;
  border-radius: 4px;
  background: #fff;
  animation: scrollBob 1.7s var(--ease) infinite;
}
@keyframes scrollBob {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(9px); opacity: 0.35; }
}

/* ============================================================================
   STORY / ABOUT
   ========================================================================== */
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.story__media { position: relative; }
.story__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.story__badge {
  position: absolute;
  right: -18px; bottom: -24px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: var(--shadow-md);
}
.story__badge-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.story__badge-label { font-size: 0.8rem; line-height: 1.25; font-weight: 500; }

.story__text h2 { margin-bottom: 1.3rem; text-wrap: balance; }
.story__text p { color: var(--text-soft); margin-bottom: 1.1rem; max-width: 46ch; }

/* ============================================================================
   MENU
   ========================================================================== */
.menu { background: linear-gradient(180deg, var(--cream-100), var(--cream-50)); }
.menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.1rem;
}
.menu-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.6rem 1.6rem 1.4rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.menu-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.menu-card:hover::before { transform: scaleY(1); }

.menu-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}
.menu-card__top h3 { font-size: 1.28rem; }
.menu-card__price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--accent);
  white-space: nowrap;
}
.menu-card p { color: var(--text-soft); font-size: 0.96rem; margin-bottom: 1rem; }
.menu-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brown-500);
  background: var(--cream-100);
  padding: 0.32rem 0.7rem;
  border-radius: 100px;
}
.menu__note {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* ============================================================================
   GALLERY
   ========================================================================== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}
.gallery__item {
  overflow: hidden;
  border-radius: var(--radius-sm);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(36, 22, 16, 0.35), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.gallery__item:hover img { transform: scale(1.09); }
.gallery__item:hover::after { opacity: 1; }

/* ============================================================================
   VISIT / HOURS & LOCATION
   ========================================================================== */
.visit { background: var(--brown-900); color: var(--cream-100); }
.visit .eyebrow { color: var(--accent); }
.visit h2, .visit h3 { color: #fff; }
.visit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: stretch;
}
.visit__block { margin-top: 2.3rem; }
.visit__block h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--cream-100);
  max-width: 340px;
}
.hours li span:last-child { color: #fff; font-weight: 500; }

.visit address { color: var(--cream-100); line-height: 1.7; margin-bottom: 1rem; }
.visit__contacts { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.4rem; }
.visit__contacts a { color: var(--cream-100); transition: color 0.3s var(--ease); width: fit-content; }
.visit__contacts a:hover { color: var(--accent); }

/* Map placeholder — swap for a real <iframe> embed */
.visit__map {
  border-radius: var(--radius);
  min-height: 340px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(200, 120, 60, 0.18), transparent 45%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 40px),
    linear-gradient(135deg, #34241a, #4a3324);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: box-shadow 0.4s var(--ease);
}
.visit__map:hover { box-shadow: inset 0 0 0 1px var(--accent), var(--shadow-lg); }
.visit__map-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-align: center;
}
.visit__map-pin span { font-size: 2.4rem; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.4)); animation: pinBob 2.6s var(--ease) infinite; }
@keyframes pinBob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-7px);} }
.visit__map-pin strong { font-family: var(--font-display); font-size: 1.4rem; color: #fff; }
.visit__map-pin em { color: var(--cream-100); font-style: normal; font-size: 0.9rem; opacity: 0.8; }
.visit__map-hint {
  position: absolute;
  bottom: 1.1rem;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

/* ============================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--brown-900); color: var(--cream-100); padding: clamp(3rem, 7vw, 5rem) var(--gutter) 2rem; border-top: 1px solid rgba(255,255,255,0.08); }
.footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}
.footer__brand { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__brand .nav__mark { font-size: 1.8rem; }
.footer__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: #fff; }
.footer__tagline { color: var(--cream-100); opacity: 0.75; font-size: 0.95rem; max-width: 30ch; margin-top: 0.3rem; }

.footer__col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.footer__col p, .footer__col a { color: var(--cream-100); font-size: 0.95rem; opacity: 0.85; }
.footer__col a { display: block; margin-bottom: 0.4rem; transition: color 0.3s var(--ease), opacity 0.3s var(--ease); width: fit-content; }
.footer__col a:hover { color: var(--accent); opacity: 1; }
.footer__col .link-arrow { color: var(--accent); opacity: 1; margin-top: 0.6rem; }

.footer__social { display: flex; gap: 0.6rem; margin-bottom: 1.3rem; }
.footer__social a {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  color: var(--cream-100);
  margin: 0;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.footer__social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-4px);
}
.footer__cta { margin-top: 0.3rem; }

.footer__base {
  max-width: var(--container);
  margin: 3rem auto 0;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--cream-100);
  opacity: 0.7;
}

/* ============================================================================
   SCROLL REVEAL  (progressive enhancement — JS adds .is-visible)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Stagger children inside grids for a cascading effect */
.menu-card.reveal, .gallery__item.reveal { transition-delay: var(--reveal-delay, 0s); }

/* ============================================================================
   RESPONSIVE  —  mobile-first refinements
   ========================================================================== */

/* Tablet */
@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
}

/* --- Mobile nav + stacking --- */
@media (max-width: 768px) {
  html { scroll-padding-top: 70px; }

  .nav__toggle { display: flex; }

  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 340px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    padding: 2rem 2.4rem;
    background: var(--brown-900);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { color: var(--cream-100) !important; font-size: 1.15rem; }
  .nav__links a:not(.nav__cta)::after { display: none; }
  .nav__cta {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
    margin-top: 0.5rem;
  }

  /* Hamburger → X animation */
  .nav__toggle.is-open span { background: #fff; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Keep brand + hamburger legible when menu is open over hero */
  .nav.is-menu-open .nav__brand { color: #fff; }
  .nav.is-menu-open .nav__toggle span { background: #fff; }

  /* IMPORTANT: drop the scrolled backdrop-filter while the drawer is open.
     A backdrop-filter on the <header> makes it the containing block for the
     position:fixed drawer, which would trap it inside the short nav bar. */
  .nav.is-menu-open,
  .nav.is-menu-open.is-scrolled {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Stack two-column sections */
  .story__grid { grid-template-columns: 1fr; }
  .story__media { max-width: 460px; margin-inline: auto; order: -1; }
  .story__text p { max-width: none; }
  .story__badge { right: 0; }

  .visit__grid { grid-template-columns: 1fr; }
  .visit__map { min-height: 280px; }

  /* Gallery → simpler 2-col mosaic */
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
}

/* --- Small phones --- */
@media (max-width: 480px) {
  :root { --gutter: 1.25rem; }
  .hero { min-height: 92svh; }
  .hero__actions { gap: 0.7rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .menu__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; text-align: center; align-items: center; }
  .story__badge { padding: 0.9rem 1.1rem; }
  .story__badge-num { font-size: 2rem; }
}

/* ---------- ACCESSIBILITY: honor reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__media { transform: none; }
}

/* Focus visibility for keyboard users */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
