/* Hallmark · checked: 2026-11-11 · genre: editorial (inferred)
 * floor: 0 FAIL · fixed: 7 (19, 33, 34, 48, 50, 54, 63) · reflex: 1 (26b, :active added)
 * structural: 0 printed · built: the project · redesign: polish · v2.0.0
 * waive 19 · datenschutz.html address block quotes the hosting provider's own registered trade name · the dash is ALL-INKL.COM's legal name, not page copy
 * waive 19 · index.html opening-hours table (Montag bis Freitag 11:30–14:00 etc.) · the en-dash is the standard numeric time-range mark, not a prose connector
 * waive 26b · no form control and no aria-disabled anywhere on the site · :disabled has nothing to style
 * dismissed 10b · the header's padding shrink on scroll is the intended morph (its outer height is meant to change); crossfade to the blurred surface already runs on opacity
 * dismissed 29 · .site-header::before is a scroll-triggered nav backdrop, not a decorative glow or wash
 * dismissed 41 · .hero and .site-footer inherit the body's cream-100 text colour; contrast confirmed legible in the render
 * dismissed 49 · .map-frame-load is a two-click consent control (DSGVO), its title and hint are meant to wrap across lines, not stay on one */

/* ==========================================================================
   self-hosted fonts (DSGVO: no request leaves the visitor's browser for type)
   ========================================================================== */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/fraunces-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/fraunces-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/fraunces-italic-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/libre-franklin.woff2') format('woff2');
}

/* ==========================================================================
   La Nova Pizzeria — design tokens
   ========================================================================== */

:root {
  /* color */
  --charcoal-950: #130f0b;
  --charcoal-900: #1c160f;
  --charcoal-800: #251d15;
  --charcoal-700: #362a1f;
  --charcoal-600: #4a3a2b;
  --cream-100: #f4ead8;
  --cream-200: #ece0c9;
  --cream-300: #ddcca9;
  --crust-400: #e0a65a;
  --crust-500: #c98a3e;
  --crust-600: #a86c2b;
  --tomato-600: #9c2b1e;
  --tomato-700: #7d2117;
  --tomato-400: #e2756a;
  --olive-600: #57632f;
  --olive-400: #7c8a4c;
  --tan-300: #c9ba9c;
  --text-muted-paper: #5a4c3c;
  --text-muted-warm: #6b5c49;

  --ink: var(--charcoal-950);
  --paper: var(--cream-100);

  /* alpha overlays, mixed from the tokens above */
  --ink-a95: rgba(19, 15, 11, 0.95);
  --ink-a92: rgba(19, 15, 11, 0.92);
  --ink-a85: rgba(19, 15, 11, 0.85);
  --ink-a65: rgba(19, 15, 11, 0.65);
  --ink-a60: rgba(19, 15, 11, 0.6);
  --ink-a55: rgba(19, 15, 11, 0.55);
  --ink-a45: rgba(19, 15, 11, 0.45);
  --ink-a12: rgba(19, 15, 11, 0.12);
  --paper-a35: rgba(244, 234, 216, 0.35);
  --paper-a08: rgba(244, 234, 216, 0.08);
  --crust-a40: rgba(201, 138, 62, 0.4);
  --crust-a10: rgba(201, 138, 62, 0.1);
  --olive-a25: rgba(124, 138, 76, 0.25);
  --tomato-a25: rgba(156, 43, 30, 0.25);

  /* type */
  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Libre Franklin", "Segoe UI", sans-serif;

  --step-00: clamp(1.02rem, 0.97rem + 0.25vw, 1.1rem);
  --step-01: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --step-02: clamp(1.5rem, 1.3rem + 0.9vw, 1.9rem);
  --step-03: clamp(1.9rem, 1.6rem + 1.4vw, 2.6rem);
  --step-04: clamp(2.4rem, 1.9rem + 2.2vw, 3.4rem);
  --step-05: clamp(2.9rem, 2.1rem + 3.6vw, 4.6rem);

  --content-max: 74rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; }
}

/* ==========================================================================
   reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--charcoal-950);
  color: var(--cream-100);
  font-family: var(--font-body);
  font-size: var(--step-00);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--crust-400);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ==========================================================================
   buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--crust-500);
  color: var(--charcoal-950);
}
.btn--primary:hover { background: var(--crust-400); }

.btn--ghost {
  background: transparent;
  color: var(--cream-100);
  border-color: var(--paper-a35);
}
.btn--ghost:hover { border-color: var(--cream-100); }

.btn--dark {
  background: var(--charcoal-950);
  color: var(--cream-100);
  border-color: var(--charcoal-950);
}
.btn--dark:hover { background: var(--charcoal-800); }

/* ==========================================================================
   header
   ========================================================================== */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: 1.1rem;
  background: linear-gradient(to bottom, var(--ink-a85), transparent);
  transition: padding 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink-a92);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: transparent;
  padding-block: 0.7rem;
  box-shadow: 0 1px 0 var(--paper-a08);
}
.site-header.is-scrolled::before { opacity: 1; }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo { display: flex; align-items: center; position: relative; z-index: 105; }
.logo img { height: 28px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2.1rem);
}
.nav a {
  text-decoration: none;
  font-size: 0.96rem;
  color: var(--cream-200);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav a:hover { color: var(--crust-400); border-color: var(--crust-400); }

.header-actions { display: flex; align-items: center; gap: 0.9rem; position: relative; z-index: 105; }
.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5em;
  text-decoration: none;
  font-weight: 600;
  color: var(--cream-100);
  font-size: 0.95rem;
  white-space: nowrap;
}
.phone-link svg { flex: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--cream-100);
  padding: 0.4rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav { position: fixed; inset: 0; top: 0; background: var(--charcoal-950); flex-direction: column; justify-content: center; gap: 2rem; transform: translateY(-100%); transition: transform 0.35s var(--ease); }
  .nav[data-open="true"] { transform: translateY(0); }
  .nav a { font-size: 1.4rem; }
  .nav-toggle { display: block; z-index: 110; }
  .header-actions .phone-link span { display: none; }
}

/* ==========================================================================
   hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  background: var(--charcoal-950);
  overflow: hidden;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-width: 46rem;
  padding: 0 var(--gutter) clamp(3rem, 8vh, 4.5rem);
}

.ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  align-self: flex-start;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--crust-400);
  border: 1px solid var(--crust-a40);
  padding: 0.65em 1.2em;
  border-radius: 999px;
}

.hero h1 {
  font-size: var(--step-05);
  max-width: 14ch;
  color: var(--cream-100);
}

.hero-lede {
  max-width: 44ch;
  color: var(--cream-200);
  font-size: var(--step-01);
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.5rem; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  font-size: 0.92rem;
  color: var(--cream-200);
  margin-top: 0.75rem;
}
.status-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--olive-400);
  box-shadow: 0 0 0 3px var(--olive-a25);
}
.status-pill[data-state="closed"] .status-dot {
  background: var(--tomato-600);
  box-shadow: 0 0 0 3px var(--tomato-a25);
}

.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--ink-a95) 0%, var(--ink-a60) 38%, var(--ink-a12) 65%, var(--ink-a45) 100%);
  z-index: 1;
}

@media (max-width: 640px) {
  .hero-copy {
    bottom: auto;
    top: 48%;
    transform: translateY(-48%);
    padding-inline: var(--gutter);
  }
  .hero-media::before {
    background: linear-gradient(to top, var(--ink-a55) 0%, var(--ink-a60) 30%, var(--ink-a65) 55%, var(--ink-a45) 75%, var(--ink-a65) 100%);
  }
}

/* ==========================================================================
   section shells
   ========================================================================== */

section { position: relative; }

.section-pad { padding-top: clamp(4.5rem, 9vw, 7.5rem); padding-bottom: clamp(4.5rem, 9vw, 7.5rem); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 56ch;
}
.section-head .eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--crust-400);
  font-size: var(--step-00);
}
.on-paper .section-head .eyebrow { color: var(--tomato-600); }

.section-head h2 { font-size: var(--step-04); }
.olive-divider { color: var(--olive-600); opacity: 0.8; margin-top: -0.3rem; }
.section-head p { color: var(--cream-200); font-size: var(--step-01); }
.on-paper .section-head p { color: var(--text-muted-paper); }

.on-paper {
  background-color: var(--cream-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.35  0 0 0 0 0.26  0 0 0 0 0.14  0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--charcoal-950);
}

/* ==========================================================================
   about
   ========================================================================== */

.about {
  background-color: var(--charcoal-900);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.about-text .eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--crust-400);
}
.about-text h2 { font-size: var(--step-04); max-width: 13ch; }
.about-text p { color: var(--cream-200); font-size: var(--step-00); max-width: 48ch; }

.about-media {
  position: relative;
}
.about-media .frame {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px var(--ink-a60);
}
.about-tag {
  position: absolute;
  left: -1.2rem;
  bottom: -1.6rem;
  background: var(--cream-100);
  color: var(--charcoal-950);
  padding: 1.1rem 1.3rem;
  border-radius: 4px;
  max-width: 15rem;
  box-shadow: 0 20px 40px -15px var(--ink-a55);
}
.about-tag .eyebrow {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--tomato-600);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.about-tag strong { display: block; font-size: 1.05rem; }

.about-accent {
  position: absolute;
  top: -1.4rem;
  right: -1.2rem;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 4px;
  overflow: hidden;
  border: 6px solid var(--cream-100);
  transform: rotate(4deg);
  box-shadow: 0 16px 30px -12px var(--ink-a60);
}
.about-accent img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-media { order: -1; margin-bottom: 2rem; }
  .about-tag { position: static; margin-top: 1rem; max-width: none; }
  .about-accent { display: none; }
}

/* ==========================================================================
   menu
   ========================================================================== */

.menu { background: var(--cream-100); color: var(--charcoal-950); }

.menu-lede-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.menu-lede-row .btn-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: clamp(2.5rem, 5vw, 3.5rem) clamp(2.5rem, 5vw, 4rem);
}

.menu-cat h3 {
  font-size: var(--step-02);
  color: var(--tomato-700);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--tomato-700);
  display: inline-block;
}

.menu-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dotted var(--cream-300);
}
.menu-item:last-child { border-bottom: 0; }

.menu-item-name { display: flex; flex-direction: column; gap: 0.15rem; }
.menu-item-name .dish { font-weight: 600; font-size: 1.05rem; }
.menu-item-name .desc { font-size: 0.9rem; color: var(--text-muted-warm); }

.menu-item-price {
  font-family: var(--font-display);
  font-weight: 600;
  white-space: nowrap;
  color: var(--charcoal-950);
  font-variant-numeric: oldstyle-nums;
  font-feature-settings: "onum" 1;
}

.menu-cat--olive h3 { color: var(--olive-600); border-color: var(--olive-600); }

.menu-foot {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  font-size: 0.85rem;
  color: var(--text-muted-warm);
  max-width: 60ch;
}

/* ==========================================================================
   gallery
   ========================================================================== */

.gallery { background: var(--charcoal-950); }

.gallery-grid {
  column-count: 4;
  column-gap: 0.6rem;
}
.gallery-grid li {
  break-inside: avoid;
  margin-bottom: 0.6rem;
  overflow: hidden;
  border-radius: 3px;
}
.gallery-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.gallery-item img { transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.04); }

@media (max-width: 1024px) {
  .gallery-grid { column-count: 3; }
}

@media (max-width: 760px) {
  .gallery-grid { column-count: 2; }
}

/* ==========================================================================
   contact
   ========================================================================== */

.contact { background: var(--charcoal-900); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.contact-block { position: relative; }
.contact-block h3 {
  font-size: var(--step-02);
  color: var(--crust-400);
  margin-bottom: 1.2rem;
}

.stamp-badge {
  position: absolute;
  top: -0.75rem;
  right: 0;
  width: 112px;
  height: 112px;
  color: var(--crust-400);
  opacity: 0.85;
}

@media (max-width: 640px) {
  .contact-block .section-head { text-align: center; }

  .stamp-badge {
    position: static;
    display: block;
    width: 96px;
    height: 96px;
    margin: 0 auto 1.75rem;
  }
}

.hours-table { display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 2rem; }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; font-size: 1rem; padding-top: 0.65rem; padding-bottom: 0.65rem; border-bottom: 1px solid var(--charcoal-700); }
.hours-row span:first-child { color: var(--cream-200); }
.hours-row.is-closed span:last-child { color: var(--tomato-400); font-style: italic; }

.contact-list { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 1.8rem; }
.contact-list a, .contact-list span { display: flex; align-items: center; gap: 0.7em; text-decoration: none; color: var(--cream-100); }
.contact-list a:hover { color: var(--crust-400); }
.contact-list svg { flex: none; color: var(--crust-400); }

.social-row { display: flex; gap: 0.8rem; }
.social-row a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--charcoal-700);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.social-row a:hover { border-color: var(--crust-400); background: var(--crust-a10); }

.map-frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--charcoal-700);
  aspect-ratio: 4 / 3;
  align-self: start;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) invert(0.92) contrast(0.9); }

.map-frame-load {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  background: var(--charcoal-900);
  color: var(--cream-200);
  border: 0;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-body);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.map-frame-load:hover,
.map-frame-load:focus-visible { background: var(--charcoal-800); color: var(--cream-100); }
.map-frame-load-title { font-weight: 600; font-size: 1rem; }
.map-frame-load-hint { font-size: 0.82rem; color: var(--cream-300); max-width: 26ch; }

.map-frame-hide {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 1;
  padding: 0.4rem 0.75rem;
  background: var(--charcoal-900);
  color: var(--cream-200);
  border: 1px solid var(--charcoal-700);
  border-radius: 999px;
  font-size: 0.78rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.map-frame-hide:hover,
.map-frame-hide:focus-visible { background: var(--charcoal-800); color: var(--cream-100); }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   footer
   ========================================================================== */

.site-footer {
  background: var(--charcoal-950);
  padding-block: 2.5rem;
  border-top: 1px solid var(--charcoal-700);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.footer-tagline { font-family: var(--font-display); font-style: italic; color: var(--crust-400); font-size: 0.95rem; margin-bottom: 1.5rem; }
.footer-copy { color: var(--cream-300); font-size: 0.85rem; }
.footer-meta { color: var(--cream-300); font-size: 0.85rem; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-meta a { text-decoration: none; }
.footer-meta a:hover { color: var(--crust-400); }

/* ==========================================================================
   impressum page
   ========================================================================== */

.legal {
  max-width: 42rem;
  margin-inline: auto;
  padding: clamp(8rem, 12vh, 10rem) var(--gutter) 6rem;
}
.legal h1 { font-size: var(--step-03); margin-bottom: 1.5rem; overflow-wrap: break-word; min-width: 0; }
.legal h2 { font-size: var(--step-01); margin-top: 2.2rem; margin-bottom: 0.6rem; color: var(--crust-400); overflow-wrap: break-word; min-width: 0; }
.legal p, .legal address { margin-bottom: 0.9rem; font-style: normal; color: var(--cream-200); }
.legal a { color: var(--crust-400); }

/* ==========================================================================
   gallery lightbox
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 5vw, 3rem);
  background: rgba(19, 15, 11, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: var(--charcoal-900);
  color: var(--cream-100);
  cursor: pointer;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: var(--crust-600); }
.lightbox-close {
  top: clamp(0.75rem, 3vw, 1.5rem);
  right: clamp(0.75rem, 3vw, 1.5rem);
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.6rem;
  line-height: 1;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  font-size: 1.8rem;
}
.lightbox-prev { left: clamp(0.5rem, 3vw, 1.5rem); }
.lightbox-next { right: clamp(0.5rem, 3vw, 1.5rem); }

@media (prefers-reduced-motion: reduce) {
  .lightbox { transition: none; }
}

@media (max-width: 640px) {
  .lightbox-nav { width: 2.5rem; height: 2.5rem; font-size: 1.5rem; }
}
