/* =========================================================================
   ROMAN'S CAFE — Brick Oven Pizza
   Re-skin to the real brand identity:
   bright, light, photo-forward, slightly scrapbook/handmade.
   ========================================================================= */

/* -------------------------------------------------------------------------
   DESIGN TOKENS
   ------------------------------------------------------------------------- */
:root {
  /* --- Surfaces --- */
  --bg: #fcfbf9;            /* warm near-white page base */
  --bg-warm: #f4eee4;       /* warm paper tint (Instagram strip, torn paper) */
  --paper: #ffffff;         /* modal / clean card surface */

  /* --- Ink --- */
  --ink: #2a2a2a;           /* near-black text */
  --ink-soft: #5b5853;      /* muted secondary text */

  /* --- Accent (logo flame / dashes / hovers / dividers) --- */
  --accent: #e07b1f;        /* brand orange-gold — decorative + large text */
  --accent-ink: #a04e08;    /* deeper orange for small text on light (AA) */
  --accent-hover: #c96a12;

  /* --- Per-location pastel panels --- */
  --sage: #dce4d4;          /* Bluebonnet */
  --beige: #e4decf;         /* Airline */
  --lavender: #dde0ea;      /* Government */

  /* --- Footer --- */
  --footer-bg: #1c1917;
  --footer-ink: #f3efe9;
  --footer-ink-soft: rgba(243, 239, 233, 0.72);

  /* --- Lines & shadows (warm-tinted) --- */
  --line: rgba(42, 42, 42, 0.14);
  --shadow-card: 0 14px 30px rgba(80, 55, 30, 0.18);
  --shadow-soft: 0 6px 16px rgba(80, 55, 30, 0.12);
  --shadow-pop: 0 24px 60px rgba(40, 28, 14, 0.30);

  /* --- Type --- */
  --font-display: "Oswald", "Arial Narrow", sans-serif; /* condensed, uppercase */
  --font-serif: "Marcellus", Georgia, serif;            /* logo wordmark */
  --font-script: "Yellowtail", cursive;                 /* "Brick Oven Pizza" */
  --font-body: "Mulish", "Segoe UI", Helvetica, sans-serif;

  /* --- Layout --- */
  --container: 1180px;
  --radius: 10px;
  --header-h: 64px;

  --space-xs: 0.5rem;
  --space-sm: 0.9rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 { margin: 0; }

p { margin: 0; }

a { color: var(--accent-ink); }

address { font-style: normal; }

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

/* -------------------------------------------------------------------------
   UTILITIES
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.visually-hidden,
.skip-link:not(:focus):not(:focus-within) {
  position: absolute !important;
  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;
  top: var(--space-xs);
  left: var(--space-xs);
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

/* -------------------------------------------------------------------------
   BRACKET LABELS — "[ LOCATION 1 ]" with orange dash accents
   ------------------------------------------------------------------------- */
.bracket {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
  color: var(--accent-ink);
}
.bracket::before,
.bracket::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
}
.bracket--center { justify-content: center; }

/* -------------------------------------------------------------------------
   SECTION HEADINGS
   ------------------------------------------------------------------------- */
.section__head {
  text-align: center;
  margin-bottom: var(--space-xl);
  display: grid;
  justify-items: center;
  gap: var(--space-sm);
}
.section__heading {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem);
  color: var(--ink);
}

/* -------------------------------------------------------------------------
   BUTTONS — light, thin-outlined, condensed uppercase; orange on hover
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 0.75rem 1.4rem;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease,
    background-color 0.18s ease, transform 0.14s ease;
}
.btn:hover {
  color: var(--accent-hover);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.btn__arrow { font-size: 1.05em; line-height: 0; }

/* Filled accent button (Instagram CTA) */
.btn--solid {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--solid:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

/* Order Now hover shifts arrow */
.btn--order:hover .btn__arrow { transform: translateX(2px); }

/* Catering CTA — full-width FILLED accent button, the most prominent action on
   each location card. Dark ink on orange clears WCAG AA: #2A2A2A on #E07B1F
   ≈ 4.78:1 (default), and on hover #000 on #C96A12 ≈ 5.6:1. */
.btn-catering-cta {
  display: block;
  width: 100%;
  margin-top: var(--space-sm);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;                 /* bold for prominence + contrast */
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;            /* matches the .btn controls */
  line-height: 1;
  padding: 0.95rem 1.4rem;          /* taller than the outline buttons */
  background: var(--accent);
  color: var(--ink);
  border: 1.5px solid var(--accent);
  border-radius: 4px;               /* matches .btn */
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
    transform 0.14s ease, box-shadow 0.18s ease;
}
.btn-catering-cta:hover {
  background: var(--accent-hover);
  color: #000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.btn-catering-cta:focus-visible {
  outline: 3px solid var(--ink);    /* dark ring — visible on the orange fill */
  outline-offset: 2px;
}
.btn-catering-cta .btn__arrow { transition: transform 0.16s ease; }
.btn-catering-cta:hover .btn__arrow { transform: translateX(2px); }

/* -------------------------------------------------------------------------
   TEL LINK — phone icon + number
   ------------------------------------------------------------------------- */
.tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}
.tel:hover { color: var(--accent-hover); }
.tel__icon {
  width: 18px;
  height: 18px;
  fill: var(--accent);
  flex: none;
}

/* -------------------------------------------------------------------------
   LOGO WORDMARK (serif)
   ------------------------------------------------------------------------- */
.logo { text-decoration: none; line-height: 1; }
.logo__word {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
/* Header logo image (replaces the text wordmark); footer wordmark unchanged */
.logo__img {
  /* Large, prominent left-aligned mark. Taller than the slim header band, so
     the header row grows past --header-h — the hero title padding accounts
     for this so the logo never overlaps it. */
  height: 120px;
  width: auto;
  display: block;
}

/* -------------------------------------------------------------------------
   HEADER (transparent, overlaid on the hero — NOT sticky, scrolls away)
   ------------------------------------------------------------------------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}
.nav { display: flex; align-items: center; }
.nav__menu {
  list-style: none;
  display: flex;
  gap: var(--space-md);
  margin: 0; padding: 0;
}
.nav__link {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1.1rem;
  color: #fff;                                  /* white over the dark/photo hero */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);  /* legibility on busy photos */
  text-decoration: none;
  padding: 0.4rem 0.2rem;
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}
.nav__link:hover::after { width: 100%; }
/* Current page: same orange bar as hover, but always on (reads on both the
   dark hero and the cream mobile drawer since --accent is orange). */
.nav__link[aria-current="page"]::after { width: 100%; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);  /* subtle over the hero photo */
  border-radius: 6px;
  cursor: pointer;
}
.nav__bar {
  display: block;
  width: 22px; height: 2px;
  margin-inline: auto;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* -------------------------------------------------------------------------
   HERO — full-width food-photo banner, centered logo + script subtitle
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  /* Slim band on the homepage — a thin strip of the photo behind the logo,
     title, subtitle, and location line (matches the original site). */
  min-height: min(38vh, 320px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
/* Menu / contact pages keep the taller hero — pinned to its prior height so the
   shorter homepage band above does not also shrink these. */
.hero--menu {
  min-height: min(88vh, 820px);
}
.hero__photo {
  position: absolute;
  inset: 0;
  background-color: #c98b4a;   /* warm fallback when photo missing */
  background-image:
    linear-gradient(180deg, rgba(40, 28, 16, 0.28), rgba(40, 28, 16, 0.42)),
    linear-gradient(135deg, #d99a52, #b5703a 55%, #8c5326);
  background-size: cover;
  background-position: center;
}
/* When a real photo is set inline, keep a readability scrim above it */
.hero__photo[style*="url"] {
  background-blend-mode: multiply, normal;
}
.hero__inner {
  position: relative;
  z-index: 2;
  /* top padding clears the overlaid 120px logo so the title never sits under
     it; bottom stays above the ~76px brush edge. */
  padding: calc(120px + var(--space-sm)) var(--space-md) var(--space-xl);
}
/* White brush-overlay edge at the bottom of the hero (homepage).
   Sits above the photo (z-index 1) but below the .hero__inner text (z-index 2). */
.hero__brush {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 76px;
  z-index: 1;
  pointer-events: none;
  background: url('../images/Brushoverlay03.png') no-repeat;
  /* 100% 100% stretches the PNG to the full width so the brush spans edge to
     edge; on very wide screens it stretches horizontally but the organic edge
     still reads cleanly. (cover would keep texture proportions but crop the
     sides, hiding part of the brush — so we favor full-width coverage here.) */
  background-size: 100% 100%;
  background-position: center bottom;
}
.hero__heading { display: grid; gap: 0.2rem; }
.hero__brand {
  font-family: var(--font-serif);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(2.6rem, 1.6rem + 5vw, 5rem);
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}
.hero__script {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 1rem + 3vw, 2.8rem);
  color: var(--accent);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
}
.hero__place {
  margin-top: var(--space-md);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
}

/* -------------------------------------------------------------------------
   TORN-PAPER DIVIDERS
   ------------------------------------------------------------------------- */
.torn {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50px;
  display: block;
  pointer-events: none;
}
.torn--hero { bottom: -1px; }                 /* white base brushes up over photo */
.torn--insta { top: 0; transform: translateY(-99%); }   /* warm paper over locations */
.torn--footer { top: 0; transform: translateY(-99%); }  /* warm paper over footer */

/* -------------------------------------------------------------------------
   PHOTO CARDS (tilted, soft shadow, rounded) + placeholder warm box
   ------------------------------------------------------------------------- */
.photo-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background-color: #e7d8c2;     /* warm placeholder fill if image missing */
  background-image: linear-gradient(135deg, #ecdcc4, #ddc4a3);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-card);
  border: 5px solid #fff;        /* white photo-print border */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
/* Faint "PHOTO" hint shows only while the placeholder gradient is visible */
.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* -------------------------------------------------------------------------
   LOCATIONS — stacked full-width rows, alternating photo side
   ------------------------------------------------------------------------- */
.locations {
  position: relative;
  padding-block: var(--space-2xl);
  overflow: hidden;
}
.coffee-ring {
  position: absolute;
  top: 6%;
  right: -40px;
  width: 240px;
  height: 240px;
  opacity: 0.07;
  pointer-events: none;
}

.loc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}
.loc-row:last-child { margin-bottom: 0; }

.loc-photo { display: flex; justify-content: center; }
.loc-photo .photo-card {
  width: 100%;
  max-width: 460px;
  transform: rotate(-3deg);
}
.loc-row:hover .photo-card { transform: rotate(-1deg) scale(1.01); }
.loc-row--reverse .loc-photo .photo-card { transform: rotate(3deg); }
.loc-row--reverse:hover .photo-card { transform: rotate(1deg) scale(1.01); }

/* Photo overlaps the pastel panel for the scrapbook feel */
.loc-row .loc-photo { z-index: 2; }
.loc-row:not(.loc-row--reverse) .loc-photo { margin-right: -2.5rem; }
.loc-row--reverse .loc-photo { order: 2; margin-left: -2.5rem; }

.loc-panel {
  position: relative;
  z-index: 1;
  padding: var(--space-lg) var(--space-lg) var(--space-lg) calc(var(--space-lg) + 1rem);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.loc-row--reverse .loc-panel {
  order: 1;
  padding: var(--space-lg) calc(var(--space-lg) + 1rem) var(--space-lg) var(--space-lg);
  text-align: right;
}
.loc-panel--sage { background: var(--sage); }
.loc-panel--beige { background: var(--beige); }
.loc-panel--lavender { background: var(--lavender); }

.loc-panel__name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
  margin: 0.4rem 0 var(--space-sm);
  color: var(--ink);
}
.loc-panel__address {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
}
.loc-panel__note {
  margin: 0.5rem 0 var(--space-md);
  color: var(--ink-soft);
  font-style: italic;
}
.loc-row--reverse .loc-panel .tel,
.loc-row--reverse .loc-panel .bracket { flex-direction: row-reverse; }
.loc-panel__actions {
  display: flex;
  flex-direction: column;          /* stacks the button row + full-width catering CTA */
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.loc-panel__row {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}
.loc-row--reverse .loc-panel__row { justify-content: flex-end; }

/* -------------------------------------------------------------------------
   INSTAGRAM STRIP
   ------------------------------------------------------------------------- */
.insta {
  position: relative;
  background: var(--bg-warm);
  padding-block: var(--space-2xl);
}
.insta__cta { text-align: center; margin-top: var(--space-xl); }

/* --- Swipeable carousel ("From The Oven") ---------------------------------
   One centered card with the prev/next slides peeking at the edges, scaled
   down and dimmed. JS assigns position classes (is-center / is-prev /
   is-next / is-far); CSS owns all the visuals so breakpoints can adjust the
   peek behavior without fighting inline styles.
   ------------------------------------------------------------------------- */
.insta-carousel {
  --insta-card: clamp(260px, 42vw, 400px);  /* width of the centered card */
  position: relative;
  margin-inline: auto;
  max-width: 820px;
  outline-offset: 6px;
}

.insta-carousel__viewport {
  position: relative;
  height: calc(var(--insta-card) * 0.75);   /* 4:3 cards */
  overflow: hidden;
}

.insta-carousel__track {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

/* No-JS fallback: before JS marks it ready, show a simple readable stack. */
.insta-carousel:not(.is-ready) .insta-carousel__viewport { height: auto; overflow: visible; }
.insta-carousel:not(.is-ready) .insta-carousel__track {
  display: grid;
  gap: var(--space-md);
  justify-items: center;
}
.insta-carousel:not(.is-ready) .insta-carousel__arrow,
.insta-carousel:not(.is-ready) .insta-carousel__dots { display: none; }

/* Each slide is stacked center-stage; position classes move/scale it. */
.insta-carousel.is-ready .insta-slide {
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  margin: auto;
  width: var(--insta-card);
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: transform 0.45s ease, opacity 0.45s ease;
  z-index: 1;
}
.insta-slide .photo-card--insta {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.insta-carousel.is-ready .insta-slide.is-center {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  z-index: 3;
}
.insta-carousel.is-ready .insta-slide.is-prev {
  opacity: 0.5;
  transform: translateX(-72%) scale(0.8);
  z-index: 2;
}
.insta-carousel.is-ready .insta-slide.is-next {
  opacity: 0.5;
  transform: translateX(72%) scale(0.8);
  z-index: 2;
}
.insta-carousel.is-ready .insta-slide.is-far {
  opacity: 0;
  transform: scale(0.7);
  z-index: 1;
}

/* Prev / next arrows — circular, subtle, orange on hover */
.insta-carousel__arrow {
  position: absolute;
  top: calc(var(--insta-card) * 0.375);   /* vertical middle of the viewport */
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.insta-carousel__arrow:hover {
  color: var(--accent-hover);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.08);
}
.insta-carousel__arrow--prev { left: 0; }
.insta-carousel__arrow--next { right: 0; }

/* Dot indicators */
.insta-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: var(--space-lg);
}
.insta-carousel__dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.insta-carousel__dot:hover { transform: scale(1.2); }
.insta-carousel__dot[aria-current="true"] { background: var(--accent); }

/* Below 700px: centered slide only, no side peeks; arrows tuck to the edges */
@media (max-width: 700px) {
  .insta-carousel { --insta-card: min(86vw, 340px); }
  .insta-carousel.is-ready .insta-slide.is-prev,
  .insta-carousel.is-ready .insta-slide.is-next {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
  }
  .insta-carousel__arrow--prev { left: -4px; }
  .insta-carousel__arrow--next { right: -4px; }
}

/* -------------------------------------------------------------------------
   FOOTER — dark, 4 columns, orange bracket labels
   ------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding-block: var(--space-2xl) var(--space-lg);
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.footer__col .bracket { color: var(--accent); margin-bottom: var(--space-sm); }
.footer__name {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}
.footer__address {
  color: var(--footer-ink-soft);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}
.footer__tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--footer-ink);
  text-decoration: none;
}
.footer__tel:hover { color: var(--accent); }
.footer__tel .tel__icon { fill: var(--accent); }

.footer__social { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--footer-ink);
  text-decoration: none;
  font-weight: 600;
}
.social-link:hover { color: var(--accent); }
.social-link__icon { width: 22px; height: 22px; fill: currentColor; }

.footer__legal {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(243, 239, 233, 0.16);
  color: var(--footer-ink-soft);
  font-size: 0.85rem;
}

/* -------------------------------------------------------------------------
   MODALS — light, white card, condensed uppercase heading
   ------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}
.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.55);
  backdrop-filter: blur(2px);
  animation: fade-in 0.18s ease;
}
.modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: var(--paper);
  border-radius: var(--radius);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow-pop);
  padding: var(--space-lg);
  animation: pop-in 0.2s ease;
}
.modal__close {
  position: absolute;
  top: 0.4rem; right: 0.5rem;
  width: 40px; height: 40px;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.modal__close:hover { color: var(--accent-hover); background: rgba(0,0,0,0.05); }
.modal__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.7rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.modal__intro { color: var(--ink-soft); margin-bottom: var(--space-md); }
.modal__options { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.modal__option {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.14s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.modal__option:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow-soft);
}
.modal__option-title {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.1rem;
  color: var(--ink);
}
.modal__option-meta { font-size: 0.85rem; color: var(--ink-soft); }

/* Order modal only: provider/call cards lay out as a row — logo or phone icon
   to the LEFT of the name, vertically centered. Scoped to #orderModalOptions so
   the menu popup's stacked (column) cards stay exactly as they are. */
#orderModalOptions .modal__option {
  flex-direction: row;
  align-items: center;
  gap: 0.9rem;
}
#orderModalOptions .modal__option-logo {
  flex: 0 0 auto;
  height: 26px;
  max-height: 26px;
  width: auto;              /* honor each logo's own aspect ratio */
  max-width: 96px;
  object-fit: contain;
}
#orderModalOptions .modal__option-icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  fill: var(--accent);
}
#orderModalOptions .modal__option-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* -------------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------------- */
@media (max-width: 860px) {
  /* Stack location rows: photo on top, panel below, no overlap, un-rotate */
  .loc-row,
  .loc-row--reverse {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: var(--space-xl);
  }
  .loc-row:not(.loc-row--reverse) .loc-photo,
  .loc-row--reverse .loc-photo {
    order: 1;
    margin: 0 0 -1.5rem;          /* slight overlap onto panel below */
    z-index: 2;
  }
  .loc-photo .photo-card,
  .loc-row--reverse .loc-photo .photo-card {
    transform: rotate(0deg);
    max-width: 100%;
  }
  .loc-panel,
  .loc-row--reverse .loc-panel {
    order: 2;
    text-align: center;
    padding: calc(var(--space-lg) + 1rem) var(--space-lg) var(--space-lg);
  }
  .loc-panel .bracket,
  .loc-panel .tel { justify-content: center; }
  .loc-row--reverse .loc-panel .tel,
  .loc-row--reverse .loc-panel .bracket { flex-direction: row; }
  .loc-panel__row,
  .loc-row--reverse .loc-panel__row { justify-content: center; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl) var(--space-lg); }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .loc-panel__actions .btn { flex: 1 1 auto; }
}

/* Mobile nav drawer */
@media (max-width: 767px) {
  .logo__img { height: 72px; }   /* smaller so it doesn't crowd the hamburger */
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    padding: var(--space-xs) var(--space-md) var(--space-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  /* Drawer is a solid cream panel below the header — links must read dark,
     unlike the white collapsed top-bar links over the hero. */
  .nav__link {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    text-shadow: none;
  }
  .nav__toggle[aria-expanded="true"] .nav__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__bar:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] .nav__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .photo-card { transform: none !important; }
}
