/*
 * styles.css
 * Generated by scaffold-site.py — design tokens applied as custom properties.
 * Build agent: fill in layout, component, and typographic rules.
 */

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --color-primary: #006090;
  --color-secondary: #187890;
  --color-accent: #c0392b;
  --color-bg: #fff8e7;
  --color-text: #001830;
  --color-text-secondary: #3b4a5a;
  --font-primary: 'Bowlby One', sans-serif;
  --font-secondary: 'Libre Franklin', sans-serif;
  --font-size-base: 17px;
  --spacing-base: 8px;
  --motion-duration: 220ms;
  --motion-duration-slow: 600ms;
  --motion-ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ============================================================
   Base Reset
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base, 16px);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary, sans-serif);
  background-color: var(--color-bg, #ffffff);
  color: var(--color-text, #1a1a1a);
  line-height: 1.6;
  padding-bottom: 42px; /* required */
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent, inherit);
}

/* Focus states — WCAG AA required */
:focus-visible {
  outline: 3px solid var(--color-accent, #005fcc);
  outline-offset: 2px;
}

/* Skip navigation link — WCAG 2.4.1 (managed by fix_ada_safe.py) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--color-surface, #ffffff);
  color: var(--color-accent, #005fcc);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--color-accent, #005fcc);
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  left: 0;
}


/* ============================================================
   Layout — fill in during build
   ============================================================ */

/* ============================================================
   Components — fill in during build
   ============================================================ */


/* ============================================================
   Gallery lightbox — scaffolded shared mechanism (binding default)
   Inert until a data-lightbox group container exists on the page.
   Restyle this chrome freely to match the brand; do not remove
   the mechanism. (frontend-design.md § "Gallery lightbox")
   ============================================================ */
.lightbox-zoomable {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
}
.lightbox.is-open {
  display: flex;
  animation: lightbox-in var(--motion-duration) var(--motion-ease);
}
@keyframes lightbox-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox.is-open { animation: none; }
}
.lightbox__scrim {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--color-text) 85%, transparent);
}
.lightbox__frame {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 80px -16px color-mix(in srgb, var(--color-text) 60%, transparent);
}
.lightbox__caption {
  font-family: var(--font-secondary, inherit);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-bg);
  text-align: center;
  max-width: 60ch;
}
.lightbox__counter {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-family: var(--font-secondary, inherit);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--color-bg);
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  background: var(--color-bg);
  color: var(--color-text);
  box-shadow: 0 2px 10px color-mix(in srgb, var(--color-text) 25%, transparent);
  font-size: 1.15rem;
  line-height: 1;
}
.lightbox__close:hover,
.lightbox__close:focus-visible,
.lightbox__prev:hover,
.lightbox__prev:focus-visible,
.lightbox__next:hover,
.lightbox__next:focus-visible {
  color: var(--color-accent);
}
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev  { left: 1rem;  top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__caption[hidden],
.lightbox__counter[hidden],
.lightbox__prev[hidden],
.lightbox__next[hidden] {
  display: none;
}

/* ============================================================
   Habana Café — the two-tone car body
   Fields: blue body, red pinstripe, teal second coat, navy shadow,
   cream script. Mango for tags only. Chrome only as a rim or a line.
   ============================================================ */
:root {
  --blue: #006090;
  --red: #c0392b;
  --red-dark: #9e2b20;
  --teal: #187890;
  --navy: #001830;
  --cream: #fff8e7;
  --mango: #f2b53a;
  --chrome: #b9c0c5;
  --glass: #d9ebf2;
  --ink-2: #3b4a5a;
  --hair: #c9c2ae;
  --font-display: 'Bowlby One', 'Arial Black', sans-serif;
  --font-body: 'Libre Franklin', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --bar-h: 64px;
  --util-h: 36px;
  --logo-h: 120px;
  --logo-top: 6px;
  --motion-duration: 220ms;
  --motion-duration-slow: 600ms;
  --motion-ease: cubic-bezier(0.25, 0.8, 0.25, 1);
  --lcrm-cart-accent: #c0392b;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
body { background: var(--teal); }
main { display: block; background: var(--cream); }
body.drawer-open { overflow: hidden; }
.nw { white-space: nowrap; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); line-height: 0.98; }
h2 { font-size: clamp(1.875rem, 3.6vw, 3rem); line-height: 1.02; }
h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.1; }
p { max-width: 62ch; }

a { color: inherit; }
.tnum { font-variant-numeric: tabular-nums; }

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

.wrap {
  width: min(1280px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.on-red :focus-visible,
.on-blue :focus-visible,
.on-navy :focus-visible,
.on-teal :focus-visible { outline-color: var(--mango); }

/* Text links with an arrow — the restrained CTA */
.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
  transition: gap var(--motion-duration) var(--motion-ease);
}
.textlink:hover { gap: 0.7em; }
.textlink i { font-size: 0.95em; }

/* ---------- Painted plates: door numbers, license plates ---------- */
.plate {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--font-display);
  line-height: 1;
  border: 3px solid currentColor;
  border-radius: 10px;
  padding: 0.18em 0.42em 0.2em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
a.plate { transition: background-color var(--motion-duration) var(--motion-ease), color var(--motion-duration) var(--motion-ease); }
.plate--display { font-size: clamp(3rem, 8vw, 6.5rem); }
.plate i { font-size: 0.7em; }

/* ---------- The seam (signature) ---------- */
.seam { display: block; line-height: 0; }
.seam svg { display: block; width: 100%; height: 64px; }
.seam__fill { fill: var(--seam-from, var(--blue)); }
.seam__chrome,
.seam__pin { fill: none; vector-effect: non-scaling-stroke; }
.seam__chrome { stroke: var(--chrome); stroke-width: 4; }
.seam__pin { stroke: var(--red); stroke-width: 3; }
.seam.pin-navy .seam__pin { stroke: var(--navy); }
.from-blue  { --seam-from: var(--blue); }
.from-red   { --seam-from: var(--red); }
.from-teal  { --seam-from: var(--teal); }
.from-navy  { --seam-from: var(--navy); }
.from-cream { --seam-from: var(--cream); }

/* ---------- Mounts: window (car side-glass) and print (lab print) ---------- */
.window {
  position: relative;
  padding: 6px;
  background: var(--chrome);
  border-radius: 34px 34px 8px 8px;
  box-shadow: 0 0 0 1px var(--navy), 0 14px 30px -12px rgba(0, 24, 48, 0.45);
  overflow: hidden;
  isolation: isolate;
}
.window img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: right bottom;
  border-radius: 28px 28px 4px 4px;
  box-shadow: 0 0 0 2px var(--red);
  background: var(--navy);
}
.window::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
  transform: translateX(-130%);
  pointer-events: none;
  z-index: 2;
}
.window:hover::after,
.window:focus-within::after {
  transition: transform var(--motion-duration-slow) var(--motion-ease);
  transform: translateX(130%);
}
@media (prefers-reduced-motion: reduce) {
  .window::after { display: none; }
}

.print {
  --tilt: -1.5deg;
  position: relative;
  display: inline-block;
  width: max-content;
  max-width: 100%;
  background: #ffffff;
  padding: 10px 10px 14px;
  box-shadow: 0 6px 18px rgba(0, 24, 48, 0.18);
  transform: rotate(var(--tilt));
  transition: transform var(--motion-duration) var(--motion-ease);
}
.print img { width: var(--w, 170px); max-width: 100%; height: auto; }
.print:hover { transform: rotate(0deg); }
.print.tilt-r { --tilt: 1.5deg; }
.print.tilt-1 { --tilt: -1deg; }
.print--tape::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  width: 54px;
  height: 20px;
  margin-left: -27px;
  background: var(--mango);
  opacity: 0.92;
  transform: rotate(-4deg);
}
@media (prefers-reduced-motion: reduce) {
  .print, .print:hover { transition: none; }
}

.cap {
  font-style: italic;
  font-size: 0.875rem;
  line-height: 1.4;
  margin-top: 0.6rem;
}
.print .cap { color: var(--ink-2); margin-top: 0.45rem; max-width: var(--w, 170px); }

.tag {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--mango);
  color: var(--navy);
  border-radius: 4px;
  padding: 0.2em 0.55em;
  vertical-align: 0.35em;
  margin-left: 0.4em;
  line-height: 1.4;
}

/* The camera's own date stamp, quoted in type */
.stamp {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--mango);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.5rem;
}

/* ============================================================
   Header — navy utility strip + cream bar, the badge hangs
   ============================================================ */
.site-header {
  position: sticky;
  top: calc(-1 * var(--util-h));
  z-index: 60;
  overflow: visible;
}
.utility {
  background: var(--navy);
  color: var(--cream);
  height: var(--util-h);
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.utility .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.utility span, .utility a { display: inline-flex; align-items: center; gap: 0.4em; white-space: nowrap; }
.utility a { text-decoration: none; }
.utility a:hover { text-decoration: underline; text-underline-offset: 3px; }
.utility i { color: var(--mango); }

.bar {
  position: relative;
  background: var(--cream);
  height: calc(var(--bar-h) + 3px);
  border-bottom: 3px solid var(--red);
  overflow: visible;
}
.bar .wrap {
  position: relative;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2.25rem;
  overflow: visible;
}
.brand {
  position: absolute;
  left: 0;
  top: var(--logo-top);
  z-index: 70;
  display: block;
  line-height: 0;
}
.brand img {
  height: var(--logo-h);
  width: auto;
  max-width: 180px;
  filter: drop-shadow(0 6px 10px rgba(0, 24, 48, 0.28));
  transition: height var(--motion-duration) var(--motion-ease);
}
.site-header.is-scrolled { --logo-h: 104px; }
.site-header.is-scrolled .brand img { max-width: 156px; }

.bar__links {
  display: flex;
  list-style: none;
  gap: 2.25rem;
  font-size: 1rem;
  font-weight: 600;
}
.bar__links a {
  position: relative;
  text-decoration: none;
  color: var(--navy);
  padding: 0.35rem 0;
}
.bar__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-duration) var(--motion-ease);
}
.bar__links a:hover::after,
.bar__links a[aria-current="page"]::after { transform: scaleX(1); }

.call {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  background: var(--red);
  color: var(--cream);
  font-weight: 800;
  font-size: 0.9375rem;
  border-radius: 999px;
  padding: 10px 18px;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: background-color var(--motion-duration) var(--motion-ease);
}
.call:hover { background: var(--red-dark); }
.call__short { display: none; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.4em;
  font: 800 0.9375rem/1 var(--font-body);
  color: var(--navy);
  background: transparent;
  border: 2px solid var(--navy);
  border-radius: 999px;
  padding: 10px 16px;
  text-decoration: none;
  cursor: pointer;
}

/* Mobile drawer — full-screen Habana blue */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--blue);
  color: var(--cream);
  padding: 5.5rem var(--gutter) 3rem;
  overflow-y: auto;
}
.drawer[hidden] { display: none; }
.drawer__close {
  position: absolute;
  top: 1rem;
  right: var(--gutter);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font: 800 0.9375rem/1 var(--font-body);
  color: var(--cream);
  background: transparent;
  border: 2px solid var(--cream);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}
.drawer ul { list-style: none; display: grid; gap: 0.6rem; margin-bottom: 2.5rem; }
.drawer ul a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1.1;
  text-decoration: none;
  color: var(--cream);
}
.drawer ul a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 4px; text-underline-offset: 8px; }
.drawer .plate { font-size: 1.75rem; color: var(--cream); width: 100%; justify-content: center; min-height: 64px; }
.drawer__facts { margin-top: 1.5rem; font-weight: 600; }

/* ============================================================
   HOME — Hero: two-tone fender seam with snapshot windows
   ============================================================ */
.hero { background: var(--cream); min-height: clamp(36rem, 88vh, 54rem); padding-bottom: 3.5rem; }
.hero__paint {
  background: var(--blue);
  color: var(--cream);
  padding-top: calc(62px + 3rem);
  padding-bottom: 12.5rem;
}
.hero__title {
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  line-height: 0.95;
  max-width: 15ch;
  text-wrap: balance;
}
.hero .seam svg { height: 72px; }
.hero__windows {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 1.25rem;
  margin-top: -14.5rem;
  align-items: start;
}
.hero__win { margin: 0; grid-row: 1; }
.hero__win--1 { grid-column: 1 / span 6; max-width: 520px; }
.hero__win--2 { grid-column: 7 / span 4; max-width: 380px; margin-top: 40px; }
.hero__win--3 { grid-column: 10 / span 3; max-width: 300px; margin-top: 80px; margin-left: -24px; position: relative; z-index: 3; justify-self: end; width: calc(100% + 24px); }
.hero__win .cap { color: var(--navy); }
.hero__end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin-top: 2.25rem;
}
.hero__end .plate { font-size: clamp(1.5rem, 2.6vw, 2.125rem); color: var(--navy); }
.hero__end .plate:hover { background: var(--navy); color: var(--cream); }
.hero__end .textlink { color: var(--navy); }

/* ---------- Album strip: one Tuesday, edge to edge ---------- */
.album { background: var(--navy); color: var(--cream); padding: 5rem 0 4.5rem; }
.album__head { margin-bottom: 2rem; }
.album__head h2 { color: var(--cream); }
.album__strip {
  display: flex;
  justify-content: center;
  gap: 4px;
  max-width: 1598px;
  margin-inline: auto;
}
.album__strip figure { margin: 0; flex: 0 1 min(33.333vw, 530px); min-width: 0; }
.album__strip img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: right bottom; }
.album__line { margin-top: 2rem; max-width: 56ch; font-size: 1.1875rem; line-height: 1.55; }

/* ---------- Dish-name run ---------- */
.dishrun { background: var(--red); color: var(--cream); padding-bottom: 7rem; }
.dishrun .seam { background: var(--red); }
.dishrun__body { padding-top: 3.5rem; }
.dishrun__run {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 4vw, 3.5rem);
  line-height: 1.22;
  text-wrap: balance;
  max-width: 1180px;
}
.runin {
  display: inline;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  vertical-align: 0.55em;
  margin-right: 0.6em;
}
.dishrun__run a {
  color: var(--cream);
  text-decoration: none;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}
.dishrun__run a:hover, .dishrun__run a:focus-visible { text-decoration: underline; }
.mbar {
  display: inline-block;
  width: 0.6em;
  height: 0.14em;
  background: var(--mango);
  vertical-align: 0.35em;
  margin: 0 0.35em;
  border-radius: 1px;
}
.dishrun__tail { margin-top: 2.5rem; font-size: 1.125rem; }
.dishrun__tail .textlink { color: var(--cream); }

/* ---------- Josefa ---------- */
.josefa { background: var(--cream); padding: 0 0 6rem; }
.josefa__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 4rem;
  align-items: start;
  padding-top: 3rem;
}
.josefa__text { min-width: 0; }
.josefa__text .plate { color: var(--navy); margin-bottom: 1.75rem; }
.josefa__text h2 { margin-bottom: 1.5rem; max-width: 16ch; }
.josefa__text p { margin-bottom: 1rem; color: var(--navy); }
.pull {
  margin: 2rem 0 2rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--red);
}
.pull p { font-style: italic; font-size: 1.5rem; line-height: 1.35; max-width: 30ch; margin-bottom: 0.5rem; }
.pull cite { font-style: normal; font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.josefa__prints {
  position: relative;
  min-height: 560px;
}
.josefa__prints figure { margin: 0; position: absolute; }
.josefa__prints .p-proc { top: 0; left: 18%; }
.josefa__prints .p-book { top: 330px; left: 4%; z-index: 2; }
.josefa__prints .p-jo { top: 70px; right: 0; z-index: 3; }

/* ---------- Come tonight ---------- */
.visit { background: var(--navy); color: var(--cream); padding-bottom: 6rem; }
.visit .seam { background: var(--navy); }
.visit__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 3rem;
  align-items: center;
  padding-top: 2.5rem;
}
.visit__text { min-width: 0; }
.visit__text .plate { color: var(--cream); }
.visit__street { font-weight: 800; font-size: 1.25rem; margin: 0.9rem 0 2rem; }
.visit__hours { font-family: var(--font-display); font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.15; margin-bottom: 1.75rem; }
.visit__hours span { display: block; }
.visit__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.6vw, 3rem);
  line-height: 1;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 4px solid var(--red);
  padding-bottom: 6px;
  margin-bottom: 2rem;
  font-variant-numeric: tabular-nums;
}
.visit__phone:hover { color: var(--mango); }
.visit__links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.visit__links .textlink { color: var(--cream); }
.visit__since {
  justify-self: center;
  position: relative;
  background: var(--mango);
  color: var(--navy);
  border-radius: 14px;
  padding: 2.75rem 2.25rem 1.5rem;
  box-shadow: inset 0 0 0 3px var(--navy), 0 0 0 4px var(--mango);
  text-align: center;
}
.visit__since .print { margin-top: -1rem; }
.visit__since-label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  margin-top: 1.25rem;
}

/* ============================================================
   Footer — teal, ends on the red pinstripe
   ============================================================ */
.site-footer { background: var(--teal); color: var(--cream); }
.site-footer .seam { background: var(--teal); }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  padding: 3rem 0 3.5rem;
  font-size: 0.9375rem;
}
.footer__brand { grid-column: 1 / span 4; }
.footer__brand img { height: 112px; width: auto; max-width: 170px; margin-bottom: 1.25rem; }
.footer__brand address { font-style: normal; font-weight: 600; line-height: 1.5; display: flex; gap: 0.5em; }
.footer__hours { grid-column: 5 / span 4; }
.footer__hours h2, .footer__nav h2 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.footer__hours dl { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem; font-variant-numeric: tabular-nums; font-weight: 600; margin-bottom: 1.25rem; }
.footer__hours dt { font-weight: 400; }
.footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--cream);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.footer__phone i { font-size: 0.75em; }
.footer__nav { grid-column: 9 / span 4; }
.footer__nav ul { list-style: none; display: grid; gap: 0.55rem; }
.footer__nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  border-bottom: 2px solid transparent;
}
.footer__nav a:hover { border-bottom-color: var(--mango); }
.footer__base { border-top: 3px solid var(--red); }
.footer__base .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding: 1rem 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
}
.footer__base p { max-width: none; }

/* ============================================================
   MENU page
   ============================================================ */
.mhead { background: var(--red); color: var(--cream); padding: calc(62px + 3rem) 0 4rem; }
.mhead__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 3rem;
  align-items: center;
}
.mhead__text { min-width: 0; }
.mhead h1 { margin-bottom: 1.25rem; }
.mhead__lead { font-size: 1.25rem; line-height: 1.5; max-width: 46ch; }
.mhead__lead a { color: var(--cream); font-weight: 800; white-space: nowrap; }
.mhead__art { justify-self: center; }

.jump {
  position: sticky;
  top: calc(var(--bar-h) + 3px);
  z-index: 40;
  background: var(--cream);
  border-bottom: 1px solid var(--hair);
}
.jump .wrap {
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  padding: 0.9rem 0 0.9rem 200px;
  scrollbar-width: thin;
}
.jump a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  white-space: nowrap;
}
.jump a i { color: var(--red); }
.jump a:hover, .jump a.is-current { border-bottom-color: var(--red); }

.menu-sec { scroll-margin-top: 140px; }
.mlist { list-style: none; }
.mlist li { padding: 1.1rem 0; border-top: 1px solid var(--hair); scroll-margin-top: 150px; }
.mlist li:first-child { border-top: 0; padding-top: 0.4rem; }
.mlist h3 { color: var(--navy); margin-bottom: 0.3rem; }
.mlist p { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); }
.mnote { font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); margin-top: 0.25rem; }
.mgroup { font-family: var(--font-body); font-weight: 800; font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 2.25rem 0 0.75rem; }

/* Appetizers / ensaladas */
.mapps { padding: 4.5rem 0 5.5rem; }
.mapps__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  gap: 3rem;
  align-items: start;
}
.mapps__col { min-width: 0; }
.mapps__col > h2 { margin-bottom: 1.5rem; }
.mapps__margin { position: sticky; top: 150px; max-width: 300px; justify-self: end; margin: 0; }
.mapps__margin .cap { color: var(--ink-2); }

/* Sandwiches — teal */
.msand { background: var(--teal); color: var(--cream); padding-bottom: 5.5rem; }
.msand .seam { background: var(--teal); }
.msand__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 3.5rem;
  padding-top: 3rem;
  align-items: start;
}
.msand__lead { min-width: 0; }
.msand__lead > h2 { font-size: 1.125rem; font-family: var(--font-body); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.25rem; }
.cuban__name { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 0.95; color: var(--cream); margin-bottom: 1rem; }
.cuban__stack { list-style: none; font-weight: 800; font-size: 1.125rem; line-height: 1.5; }
.cuban__stack li { border-top: 2px solid rgba(255, 248, 231, 0.55); padding: 0.3rem 0; max-width: 18ch; }
.cuban__stack li:last-child { border-bottom: 2px solid rgba(255, 248, 231, 0.55); }
.cuban__bread { font-style: italic; margin-top: 0.6rem; font-size: 1.0625rem; }
.msand__print { margin-top: 2.75rem; }
.msand__print .cap { color: var(--ink-2); }
.msand__list { min-width: 0; }
.msand .mlist { columns: 2; column-gap: 2.5rem; }
.msand .mlist li { break-inside: avoid; border-top-color: rgba(255, 248, 231, 0.4); }
.msand .mlist li:first-child { border-top: 1px solid rgba(255, 248, 231, 0.4); padding-top: 1.1rem; }
.msand .mlist h3 { color: var(--cream); }
.msand .mlist p { color: var(--cream); font-size: 1rem; }
.combos {
  margin-top: 2.25rem;
  border: 3px solid var(--cream);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
}
.combos h3 { margin-bottom: 0.5rem; }
.combos p { font-size: 1.0625rem; }

/* De Tierra — cream, window left */
.mtierra { background: var(--cream); padding: 0 0 5.5rem; }
.mtierra__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 3.5rem;
  align-items: start;
  padding-top: 2.5rem;
}
.mtierra__win { margin: 0; max-width: 400px; position: sticky; top: 150px; }
.mtierra__win .cap { color: var(--ink-2); }
.mtierra__list { min-width: 0; }
.mtierra__list > h2 { margin-bottom: 1.5rem; }
.mtierra__lead { border-top: 3px solid var(--red); padding-top: 1.25rem; margin-bottom: 1.5rem; scroll-margin-top: 150px; }
.mtierra__lead h3 { font-size: 2rem; line-height: 1.05; }
.mtierra__lead p { font-size: 1.0625rem; color: var(--ink-2); margin-top: 0.5rem; }
.mtierra .mlist { columns: 2; column-gap: 2.5rem; }
.mtierra .mlist li { break-inside: avoid; }
.mtierra .mlist li:first-child { border-top: 1px solid var(--hair); padding-top: 1.1rem; }

/* Del Mar — navy */
.mmar { background: var(--navy); color: var(--cream); padding-bottom: 5.5rem; }
.mmar .seam { background: var(--navy); }
.mmar__body { padding-top: 2.5rem; }
.mmar__body > h2 { margin-bottom: 2rem; }
.mmar .mlist { columns: 2; column-gap: 3rem; max-width: 1080px; }
.mmar .mlist li { break-inside: avoid; border-top-color: rgba(255, 248, 231, 0.25); }
.mmar .mlist li:first-child { border-top: 1px solid rgba(255, 248, 231, 0.25); padding-top: 1.1rem; }
.mmar .mlist h3 { color: var(--cream); }
.mmar .mlist p { color: rgba(255, 248, 231, 0.85); }
.dunk { display: block; font-style: italic; color: var(--mango); font-weight: 600; margin-top: 0.25rem; font-size: 1.0625rem; }
.platters { margin-top: 3rem; max-width: 1080px; }
.platters h3 { margin-bottom: 0.75rem; }
.platters p { max-width: none; font-weight: 600; font-size: 1.125rem; line-height: 1.7; }

/* Postres & Sides — blue */
.mpostres { background: var(--blue); color: var(--cream); padding-bottom: 5.5rem; }
.mpostres .seam { background: var(--blue); }
.mpostres__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 3.5rem;
  padding-top: 2.5rem;
  align-items: start;
}
.mpostres__flan { min-width: 0; scroll-margin-top: 150px; }
.mpostres__flan .print { float: right; margin: 0 0 1rem 1.5rem; }
.mpostres__flan .print .cap { color: var(--ink-2); }
.mpostres__flan h2 { margin-bottom: 1.5rem; }
.mpostres .mlist h3 { color: var(--cream); }
.mpostres .mlist p { color: var(--cream); font-size: 1rem; }
.mpostres .mlist li { border-top-color: rgba(255, 248, 231, 0.4); }
.mpostres__sides { min-width: 0; }
.mpostres__sides > h2 { margin-bottom: 1.25rem; }
.sides { list-style: none; columns: 2; column-gap: 2.5rem; font-weight: 600; }
.sides li { break-inside: avoid; padding: 0.6rem 0; border-top: 1px solid rgba(255, 248, 231, 0.4); }
.bottles {
  margin-top: 2.25rem;
  border: 3px solid var(--cream);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
}
.bottles h3 { margin-bottom: 0.6rem; }
.bottles ul { list-style: none; display: grid; gap: 0.4rem; font-weight: 600; }
.bottles li { display: flex; gap: 0.5em; align-items: center; }
.bottles i { color: var(--mango); }
.mpostres__book { font-size: 0.9375rem; margin-top: 1.5rem; }

/* Closing photo — split ground, window straddles */
.closer {
  background: linear-gradient(to bottom, var(--cream) 0 50%, var(--navy) 50% 100%);
  padding: 4.5rem 0;
}
.closer--navy-top { background: linear-gradient(to bottom, var(--navy) 0 50%, var(--cream) 50% 100%); }
.closer__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}
.closer__win { grid-column: 1 / span 7; max-width: 530px; margin: 0; }
.closer__win .cap { color: var(--cream); }
.closer--navy-top .closer__win .cap { color: var(--navy); }
.closer__plate {
  grid-column: 8 / span 5;
  background: var(--navy);
  color: var(--cream);
  border-radius: 14px;
  padding: 2.25rem 2rem;
  box-shadow: 0 0 0 3px var(--navy), 0 0 0 6px var(--chrome);
  min-width: 0;
}
.closer__plate--cream { background: var(--cream); color: var(--navy); box-shadow: 0 0 0 3px var(--cream), 0 0 0 6px var(--chrome); }
.closer__plate h2 { margin-bottom: 1rem; }
.closer__plate p { margin-bottom: 1rem; font-size: 1.125rem; }
.closer__plate .phone-line {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-display);
  font-size: 1.75rem;
  text-decoration: none;
  margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
}
.closer__plate .textlink { display: inline-flex; }

/* ============================================================
   LA FAMILIA page
   ============================================================ */
.fhead { background: var(--blue); color: var(--cream); padding: calc(62px + 3.5rem) 0 4.5rem; }
.fhead__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}
.fhead__text { grid-column: 1 / span 8; min-width: 0; }
.fhead blockquote p {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1;
  max-width: 18ch;
  text-wrap: balance;
}
.fhead blockquote footer { margin-top: 1.25rem; font-size: 1rem; }
.fhead h1 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.3;
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.fhead h1::before { content: ""; width: 2.5rem; height: 3px; background: var(--red); box-shadow: 0 -5px 0 var(--chrome); }
.fhead__print { grid-column: 9 / span 3; justify-self: center; margin: 0; }

.timeline { background: var(--cream); padding: 0 0 6rem; }
.timeline__intro { padding-top: 2.5rem; margin-bottom: 2.5rem; }
.timeline__rows { list-style: none; position: relative; }
.timeline__rows::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(8.333% - 1.5px);
  width: 3px;
  background: var(--red);
}
.trow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 6fr) minmax(0, 4fr);
  gap: 2rem;
  align-items: center;
  padding: 2.25rem 0;
  border-top: 1px solid var(--hair);
}
.trow:first-child { border-top: 0; }
.trow__date { justify-self: center; position: relative; z-index: 1; }
.trow__date span {
  display: inline-block;
  background: var(--mango);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35em 0.7em;
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  box-shadow: 0 0 0 4px var(--cream);
}
.trow__text { min-width: 0; }
.trow__text h3 { color: var(--navy); margin-bottom: 0.5rem; max-width: 24ch; }
.trow__text p { color: var(--ink-2); }
.trow__proof { justify-self: center; margin: 0; }
.quoteplate {
  border: 3px solid var(--navy);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.1;
  text-align: center;
  max-width: 260px;
  transform: rotate(1.5deg);
}
.quoteplate small { display: block; font-family: var(--font-body); font-weight: 800; font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.6rem; }

/* One-night mosaic */
.mosaic { background: var(--navy); color: var(--cream); padding: 5rem 0 5rem; }
.mosaic__inner { width: min(1080px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.mosaic__inner > h2 { margin-bottom: 2rem; }
.mosaic__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  aspect-ratio: 9 / 2;
  gap: 6px;
}
.mosaic__grid figure { margin: 0; min-width: 0; }
.mosaic__grid img { width: 100%; height: 100%; object-fit: cover; object-position: right bottom; }
.mz-front  { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.mz-full   { grid-column: 3 / span 2; grid-row: 1; }
.mz-heron  { grid-column: 3; grid-row: 2; }
.mz-server { grid-column: 4; grid-row: 2; }
.mz-stair  { grid-column: 5 / span 2; grid-row: 1; }
.mz-palm   { grid-column: 5; grid-row: 2; }
.mz-palm img { object-position: center; }
.mz-npalm  { grid-column: 6; grid-row: 2; }
.mosaic__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.5rem;
  border-top: 1px solid var(--cream);
  font-size: 0.9375rem;
  font-weight: 600;
}
.mosaic__rail::before {
  content: "";
  position: absolute;
  top: -1.5px;
  left: 0;
  width: calc(33.333% - 4px);
  height: 2px;
  background: var(--mango);
}
.mosaic__rail span { position: relative; padding-top: 0.75rem; }
.mosaic__rail span::before { content: ""; position: absolute; top: -6px; left: 0; width: 1px; height: 10px; background: var(--cream); }
.mosaic__rail span:nth-child(2) { text-align: center; }
.mosaic__rail span:nth-child(2)::before { left: 50%; }
.mosaic__rail span:nth-child(3) { text-align: right; }
.mosaic__rail span:nth-child(3)::before { left: auto; right: 0; }

/* Cookbook — red */
.cookbook { background: var(--red); color: var(--cream); padding-bottom: 6rem; }
.cookbook .seam { background: var(--red); }
.cookbook__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
  padding-top: 3rem;
}
.cookbook__object {
  grid-column: 2 / span 4;
  justify-self: center;
  border: 3px solid var(--cream);
  border-radius: 14px;
  padding: 2.75rem 3.25rem;
}
.cookbook__object .cap { color: var(--ink-2); }
.cookbook__text { grid-column: 7 / span 6; min-width: 0; }
.cookbook__text h2 { margin-bottom: 1rem; }
.cookbook__facts { font-weight: 800; font-variant-numeric: tabular-nums; margin-bottom: 1rem; }
.cookbook__text p { margin-bottom: 1.25rem; }
.cookbook__text .textlink { color: var(--cream); }

/* Close — navy */
.fclose { background: var(--navy); color: var(--cream); padding-bottom: 5.5rem; }
.fclose .seam { background: var(--navy); }
.fclose__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 3.5rem;
  align-items: center;
  padding-top: 2.5rem;
}
.fclose__win { margin: 0; max-width: 480px; }
.fclose__win .cap { color: var(--cream); }
.fclose__text { min-width: 0; }
.fclose__text h2 { margin-bottom: 1.25rem; max-width: 16ch; }
.fclose__text .visit__phone { font-size: clamp(1.75rem, 3vw, 2.5rem); }

/* ============================================================
   FIND US page
   ============================================================ */
.uhead { background: var(--teal); color: var(--cream); padding: calc(62px + 3rem) 0 4.5rem; }
.uhead__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}
.uhead__text { grid-column: 1 / span 8; min-width: 0; }
.uhead h1 { margin-bottom: 1.5rem; }
.uhead__phone {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--cream);
  margin-bottom: 1.25rem;
  max-width: 100%;
}
.uhead__phone:hover { background: var(--cream); color: var(--teal); }
.uhead__addr { font-size: clamp(1.375rem, 2vw, 1.75rem); white-space: normal; line-height: 1.15; }
.uhead__win { grid-column: 9 / span 4; max-width: 340px; justify-self: end; margin: 0; }
.uhead__win .cap { color: var(--cream); }

.where { background: var(--cream); padding: 0 0 6rem; }
.where__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 3.5rem;
  align-items: start;
  padding-top: 2.5rem;
}
.where__map { min-width: 0; }
.mapwin { aspect-ratio: auto; }
.mapwin iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  border: 0;
  border-radius: 28px 28px 4px 4px;
  box-shadow: 0 0 0 2px var(--red);
  background: var(--glass);
}
.where__map .textlink { margin-top: 1.25rem; color: var(--navy); }
.where__hours { min-width: 0; }
.where__hours h2 { margin-bottom: 1.5rem; }
.days { list-style: none; font-weight: 600; font-variant-numeric: tabular-nums; margin-bottom: 2.5rem; }
.days li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-top: 1px solid var(--hair); }
.days li:last-child { border-bottom: 1px solid var(--hair); }
.days .closed { color: var(--red); font-weight: 800; }
.where__addr { font-style: normal; display: flex; gap: 0.5em; margin-bottom: 2rem; font-weight: 600; }

.write { background: var(--red); color: var(--cream); padding-bottom: 6rem; scroll-margin-top: 80px; }
.write .seam { background: var(--red); }
.write__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 3.5rem;
  align-items: start;
  padding-top: 3rem;
}
.write__intro { min-width: 0; }
.write__intro h2 { margin-bottom: 1.25rem; max-width: 12ch; }
.write__intro p { font-size: 1.1875rem; line-height: 1.55; max-width: 34ch; }
.write__intro .alt { margin-top: 1.5rem; font-size: 1rem; }
.write__intro .alt a { color: var(--cream); font-weight: 800; }

.leaf {
  background: var(--cream);
  color: var(--navy);
  padding: 2rem;
  min-width: 0;
}
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.contact-form .field { display: grid; gap: 0.4rem; min-width: 0; }
.contact-form .field--full { grid-column: 1 / -1; }
.contact-form label { font-weight: 600; font-size: 0.9375rem; }
.contact-form label .opt { font-weight: 400; color: var(--ink-2); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--navy);
  background: var(--glass);
  border: 0;
  border-bottom: 2px solid var(--navy);
  border-radius: 0;
  padding: 0.75rem 0.85rem;
  appearance: none;
}
.contact-form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.contact-form textarea { min-height: 9rem; resize: vertical; }
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible,
.contact-form button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.contact-form button {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font: 800 1rem/1 var(--font-body);
  background: var(--navy);
  color: var(--cream);
  border: 0;
  border-radius: 999px;
  padding: 1rem 1.6rem;
  cursor: pointer;
  transition: background-color var(--motion-duration) var(--motion-ease);
}
.contact-form button:hover { background: var(--blue); }
.write .lcrm-success-card { background: var(--cream); color: var(--navy); padding: 2rem; border-radius: 0; }
.write .lcrm-form-error { background: var(--cream); color: var(--red); padding: 0.75rem 1rem; font-weight: 600; margin-top: 1rem; }

/* ============================================================
   404
   ============================================================ */
.lost { background: var(--blue); color: var(--cream); padding: calc(62px + 4rem) 0 5rem; }
.lost .plate { color: var(--cream); margin-bottom: 1.5rem; }
.lost h1 { max-width: 16ch; margin-bottom: 1.25rem; }
.lost p { font-size: 1.1875rem; margin-bottom: 2rem; }
.lost__links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.lost__links .textlink { color: var(--cream); }
.lost-after { background: var(--cream); padding: 0 0 4rem; }
.lost-after .wrap { display: flex; flex-wrap: wrap; gap: 2.5rem; align-items: flex-start; padding-top: 2rem; }

/* Lightbox chrome — rimmed like the windows */
.lightbox__scrim { background: rgba(0, 24, 48, 0.92); }
.lightbox__img { border: 6px solid var(--chrome); border-radius: 18px 18px 6px 6px; box-shadow: 0 0 0 1px var(--navy), 0 24px 80px -16px rgba(0, 0, 0, 0.6); }
.lightbox__caption { font-style: italic; color: var(--cream); }
.lightbox__close, .lightbox__prev, .lightbox__next { border-radius: 999px; background: var(--cream); color: var(--navy); }
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: var(--red); color: var(--cream); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .call__long { display: none; }
  .call__short { display: inline; }
  .bar .wrap, .bar__links { gap: 1.75rem; }
}

@media (max-width: 1024px) {
  .hero__windows { column-gap: 1rem; }
  .hero__win--1 { grid-column: 1 / span 7; }
  .hero__win--2 { grid-column: 8 / span 5; }
  .hero__win--3 { grid-row: 2; grid-column: 6 / span 5; margin-top: -40px; margin-left: 0; width: 100%; justify-self: start; }
  .josefa__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .josefa__prints { min-height: 520px; max-width: 640px; }
  .mapps__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mapps__margin { grid-column: 1 / -1; position: static; justify-self: start; }
  .msand__grid, .mpostres__grid { grid-template-columns: minmax(0, 1fr); }
  .mtierra__grid { grid-template-columns: minmax(0, 1fr); }
  .mtierra__win { position: static; }
  .trow { grid-template-columns: minmax(0, 2fr) minmax(0, 7fr) minmax(0, 3fr); gap: 1.5rem; }
  .footer__brand { grid-column: 1 / span 6; }
  .footer__hours { grid-column: 7 / span 6; }
  .footer__nav { grid-column: 1 / -1; }
  .footer__nav ul { grid-auto-flow: column; justify-content: start; gap: 1.5rem; }
}

@media (max-width: 720px) {
  :root { --bar-h: 60px; --util-h: 32px; --logo-h: 100px; --logo-top: 4px; }
  .site-header.is-scrolled { --logo-h: 100px; }
  .site-header.is-scrolled .brand img, .brand img { max-width: 150px; }
  .utility { font-size: 0.75rem; }
  .utility__addr, .utility__sun { display: none !important; }
  .bar__links, .call { display: none; }
  .nav-toggle { display: inline-flex; }

  .seam svg, .hero .seam svg { height: 40px; }

  .hero { min-height: 0; padding-bottom: 3rem; }
  .hero__paint { padding-top: calc(44px + 2.25rem); padding-bottom: 8rem; }
  .hero__title { font-size: clamp(2.5rem, 10.5vw, 3.25rem); max-width: 14ch; }
  .hero__windows { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -9rem; column-gap: 0; }
  .hero__win--1 { grid-column: 1 / -1; max-width: none; grid-row: 1; }
  .hero__win--2 { grid-row: 2; grid-column: 1; margin-top: 1.5rem; max-width: none; position: relative; z-index: 1; }
  .hero__win--3 { grid-row: 2; grid-column: 2; margin-top: 2.5rem; margin-left: -16px; width: calc(100% + 16px); max-width: none; justify-self: stretch; }
  .hero__win--2 .cap, .hero__win--3 .cap { font-size: 0.8125rem; }
  .hero__end { justify-content: flex-start; }
  .hero__end .plate { width: 100%; justify-content: center; min-height: 60px; font-size: 1.75rem; }

  .album { padding: 3.5rem 0; }
  .album__strip { flex-wrap: wrap; }
  .album__strip figure { flex: 0 0 calc(50% - 2px); }
  .album__strip figure:first-child { flex-basis: 100%; }

  .dishrun { padding-bottom: 4.5rem; }
  .dishrun__run { font-size: 1.75rem; line-height: 1.28; }
  .runin { display: block; margin-bottom: 0.75rem; vertical-align: baseline; }

  .josefa__prints { min-height: 0; display: flex; flex-wrap: wrap; gap: 2rem 1.5rem; align-items: flex-start; }
  .josefa__prints figure { position: relative; inset: auto !important; }
  .josefa__prints .p-proc { flex-basis: 100%; }

  .visit__grid { grid-template-columns: minmax(0, 1fr); }
  .visit__text .plate { font-size: 4rem; }
  .visit__phone { display: flex; justify-content: center; border: 3px solid var(--cream); border-radius: 10px; padding: 0.9rem 0.5rem; min-height: 60px; font-size: 1.75rem; }
  .visit__since { justify-self: start; }

  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .footer__brand, .footer__hours, .footer__nav { grid-column: auto; }
  .footer__nav ul { grid-auto-flow: row; }

  .mhead, .uhead, .fhead { padding-top: calc(44px + 2.5rem); }
  .mhead__grid { grid-template-columns: minmax(0, 1fr); }
  .mhead__art { justify-self: start; }
  .jump .wrap { padding-left: 160px; gap: 1.25rem; }
  .mapps__grid { grid-template-columns: minmax(0, 1fr); }
  .msand .mlist, .mtierra .mlist, .mmar .mlist, .sides { columns: 1; }
  .mpostres__flan .print { float: none; margin: 0 0 1.5rem; }
  .closer, .closer--navy-top { background: var(--navy); padding: 3.5rem 0; }
  .closer--navy-top { background: var(--cream); }
  .closer__grid { grid-template-columns: minmax(0, 1fr); }
  .closer__win, .closer__plate { grid-column: auto; }
  .closer__win .cap { color: var(--cream); }
  .closer--navy-top .closer__win .cap { color: var(--navy); }

  .uhead__grid, .fhead__grid, .cookbook__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .fhead__text, .fhead__print { grid-column: 1 / -1; }
  .fhead__print { justify-self: start; }
  .fhead blockquote p { font-size: 2.5rem; }
  .timeline__rows::before { left: 0; }
  .trow { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding-left: 1.5rem; }
  .trow__date { justify-self: start; margin-left: -1.5rem; }
  .trow__proof { justify-self: start; }
  .mosaic__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; aspect-ratio: auto; }
  .mosaic__grid img { aspect-ratio: 3 / 2; height: auto; }
  .mosaic__grid figure { grid-column: auto !important; grid-row: auto !important; }
  .mosaic__grid .mz-front { grid-column: 1 / -1 !important; }
  .mosaic__grid .mz-front img { aspect-ratio: 3 / 2; }
  .mosaic__grid .mz-full img, .mosaic__grid .mz-stair img { aspect-ratio: 3 / 2; }
  .mosaic__rail { font-size: 0.8125rem; }
  .cookbook__object, .cookbook__text { grid-column: 1 / -1; }
  .cookbook__object { justify-self: start; padding: 2rem 2.5rem; }
  .fclose__grid { grid-template-columns: minmax(0, 1fr); }

  .uhead__text, .uhead__win { grid-column: 1 / -1; }
  .uhead__win { justify-self: start; }
  .uhead__phone { font-size: clamp(2rem, 10vw, 3rem); width: 100%; justify-content: center; min-height: 64px; }
  .where__grid, .write__grid { grid-template-columns: minmax(0, 1fr); }
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .leaf { padding: 1.5rem; }
}

@media (max-width: 400px) {
  .utility .wrap { gap: 0.5rem; }
  .jump .wrap { padding-left: 158px; }
  .hero__title { font-size: 2.5rem; }
}

/* ============================================================
   Self-hosted Google Fonts (localized by 20_performance_sweep)
   ============================================================ */
/* latin */
@font-face {
  font-family: 'Bowlby One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/taiPGmVuC4y96PFeqp8sqomI_L8zYK8.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Libre Franklin';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jizMREVItHgc8qDIbSTKq4XkRiUawTk7f45UM9y05oZ8RODGR-Z109GFZQzZkQ.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Libre Franklin';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jizMREVItHgc8qDIbSTKq4XkRiUawTk7f45UM9y05oZ8RODPR-Z109GFZQzZkQ.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Libre Franklin';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jizMREVItHgc8qDIbSTKq4XkRiUawTk7f45UM9y05oZ8RODER-Z109GFZQzZkQ.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Libre Franklin';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jizMREVItHgc8qDIbSTKq4XkRiUawTk7f45UM9y05oZ8RODFR-Z109GFZQzZkQ.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Franklin';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jizMREVItHgc8qDIbSTKq4XkRiUawTk7f45UM9y05oZ8RODLR-Z109GFZQw.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUS2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUb2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUQ2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUR2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUf2zcZiVbJ.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUS2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUb2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUQ2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUR2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUf2zcZiVbJ.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUS2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUb2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUQ2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUR2zcZiVbJsNo.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/jizDREVItHgc8qDIbSTKq4XkRiUf2zcZiVbJ.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* lt-perf:begin — generated by performance-sweep.py (rev 90): keeps sweep-added <picture>
   wrappers layout-transparent and reserves the box of content-sized hero images.
   Do not edit; re-run the sweep. */
picture[data-lt-picture] { display: contents; }
/* lt-perf:end */
