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

/* ══════════════════════════════════════
   PALETTE
══════════════════════════════════════ */
:root {
  /* ── Core palette ── */
  --earth:   #6b4c2e;   /* Honza */
  --gold:       #c9a060;   /* hero heart / accents */
  --gold-light: #fbf1e2;   /* subtle backgrounds, soft borders */
  --forest:  #3d5530;   /* Eliška */
  --text:    #2a1e10;   /* body text */
  --cream:   #FCFAF5;   /* background */
  --cream-dark: #F8F2E7;

  /* ── Aliases → core ── */
  --bark:    var(--earth);
  --tan:     var(--gold);
  --straw:   var(--gold);
  --warm:    var(--cream);
  --moss:    var(--forest);
  --mid:     var(--earth);
  /* ── Shadow / overlay ── */
  --shadow-warm:  rgba(100,80,40,0.18);
  --shadow-text:  color-mix(in srgb, var(--text) 10%, transparent);
  --shadow-black: rgba(0,0,0,0.12);
  --shadow-hover: rgba(160,120,72,0.08);
  --shadow-nav:   rgba(60,40,20,0.10);
  --nav-sep:      rgba(160,128,80,0.10);
  /* ── Layout ── */
  --nav-height: 36px;
  --nav-bar-height: calc(var(--nav-height) + 0.7rem); /* tile + 2×0.35rem padding */
  /* ── Dress-code palette ── */
  --dc-1: #fce8ee;
  --dc-2: #f2b8cc;
  --dc-3: #e080a4;
  --dc-4: #c8507a;
  --dc-5: #a02858;
}

html { scroll-behavior: smooth; }

html { overflow-x: hidden; }
body {
  font-family: 'EB Garamond', serif;
  background-color: var(--cream);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ══════════  NAV  ══════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: center; align-items: center;
  padding: 0.35rem 1.6rem;
  background: var(--cream);
  border-bottom: 1px solid var(--gold);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--gold-light);
}

/* ══════════  NAV TILES  ══════════ */
.nav-tiles {
  display: flex; gap: 0; align-items: center;
}

/* Desktop: right-aligned nav external link */
.nav-ext-link {
  position: absolute;
  right: 1.6rem;
  font-family: 'Euphoria Script', cursive;
  font-size: 1.44rem;
  color: var(--mid);
  text-decoration: none;
  white-space: nowrap;
}
.nav-ext-link:hover { color: var(--earth); font-weight: 700; }

/* Desktop: hide mobile-only nav elements */
.nav-tiles--index { display: none; }
.nav-height-spacer { height: var(--nav-height); width: 0; overflow: hidden; flex-shrink: 0; pointer-events: none; }
.nav-tile.nav-tile--mobile-only { display: none; border-bottom: none; }

.nav-heart {
  font-size: 0.844rem;
  color: var(--tan);
  padding: 0 0.8rem;
  user-select: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  line-height: 1;
}

.nav-tile {
  position: relative;
  display: flex; flex-direction: row;
  align-items: center;
  text-decoration: none;
  border-radius: 0;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  height: var(--nav-height);
  transition: none;
  white-space: nowrap;
}
.nav-tile:hover .nav-tile-label { color: var(--earth); font-weight: 700; }

.nav-tile-label {
  font-family: 'Euphoria Script', cursive;
  font-size: 1.44rem; color: var(--mid);
  line-height: 1.3;
  transition: color 0.2s;
}

/* ══════════  BACK-TO-TOP  ══════════ */
#back-top {
  position: fixed;
  bottom: 1.8rem; right: 1.8rem;
  z-index: 300;
  width: 40px; height: 40px;
  border-radius: 6px;
  background: var(--cream);
  border: 1.5px solid var(--tan);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 12px var(--shadow-warm);
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s, border-color 0.2s;
}
#back-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
#back-top:hover { background: var(--warm); border-color: var(--earth); }
#back-top svg { color: var(--earth); }

/* ══════════  HERO  ══════════ */
.hero-rule {
  border: none;
  border-top: 1px solid var(--gold);
  margin: 0;
  width: 100%;
}
.hero {
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 0 2rem;
  position: relative;
}
.hero-top, .hero-bottom {
  display: block;
  width: 100%;
  margin: 0 auto;
  line-height: 0;
  max-width: 640px;
}
.hero-top {
  padding-top: calc(var(--nav-height) + 3rem);
  margin-bottom: 0.2rem;
}
.hero-bottom {
  margin-top: 0.2rem;
}
.hero-top img, .hero-bottom img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-content {
  container-type: inline-size;
  background: var(--cream);
  backdrop-filter: blur(8px);
  padding: 0 clamp(1.5rem, 5vw, 3.5rem);
  border-radius: 15px;
  max-width: 640px;
  width: 100%;
  position: relative; z-index: 20;
}

/* "Honza" = zelená, "& Eliška" = hnědá */
.hero-names {
  font-family: 'Euphoria Script', cursive;
  font-size: 17cqw;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--forest);
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.hero-names span { color: var(--gold); }

.hero-panel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto auto;
  row-gap: 0.2rem;
  align-items: center;
  width: 100%;
  padding: 0 2rem;
  margin-bottom: 1rem;
}
.hero-divider-line { height: 1px; background: var(--straw); }
.hero-divider-gem { color: var(--gold); font-size: 0.844rem; display: flex; align-items: center; padding: 0 1rem; }
.nav-heart svg, .hero-divider-gem svg { width: 1em; height: 1em; display: block; }
.hero-meta-label {
  font-size: clamp(0.9rem, 3.5cqw, 1.2rem); font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--tan); text-align: center;
}
.hero-meta-value {
  font-family: 'Euphoria Script', cursive;
  font-size: clamp(1.4rem, 5.5cqw, 2rem); color: var(--bark);
  text-align: center; align-self: start;
}
/* countdown strip — separate panel below hero */
.countdown-strip {
  display: flex;
  justify-content: center;
  padding: 1.2rem 2rem;
  margin: 3rem 0;
}

.hero-countdown {
  display: flex; align-items: baseline; gap: 0.5rem; justify-content: center; flex-wrap: nowrap;
}
.hcd-item { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hcd-num {
  font-family: 'Euphoria Script', cursive;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: var(--moss); line-height: 1;
}
.hcd-label {
  font-size: clamp(0.6rem, 2vw, 0.9rem); font-weight: 300; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--earth); margin-top: 0.1rem;
}
.hcd-sep {
  font-family: 'EB Garamond', serif;
  font-size: 1.6rem; color: var(--straw);
  padding-bottom: 0.25rem;
}

.hero-scroll {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  animation: fadeUp 1s 1s ease both;
}
.scroll-line {
  width: 1px; height: 28px;
  background: linear-gradient(to bottom, var(--straw), transparent);
  animation: scrollPulse 2.2s 2s ease-in-out infinite;
}


/* ══════════  WELCOME  ══════════ */
.welcome, .thank {
  max-width: 640px;
  margin: 2rem auto;
  padding: 0 clamp(1.5rem, 5vw, 3.5rem);
  text-align: center;
}
.welcome p, .thank p {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
}

/* ══════════  OLD VERSION LINK  ══════════ */
.old-link {
  font-family: 'EB Garamond', serif;
  color: var(--earth);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.old-link:hover { color: var(--gold); }

/* ══════════  MEDIA LINKS  ══════════ */
.media-links {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: 0;
  margin-bottom: 1.75rem;
}
.media-side {
  flex: 1;
}
.media-side--left { text-align: right; padding-right: 0.6rem; }
.media-side--right { text-align: left; padding-left: 0.6rem; }
.media-sep {
  color: var(--gold);
  flex-shrink: 0;
}
.media-link {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--earth);
}
.media-link:hover:not(.media-link--pending) { color: var(--gold); }
.media-link--pending {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

/* ══════════  PASSWORD MODAL  ══════════ */
.pw-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(42,30,16,0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.pw-overlay.pw-hidden { display: none; }
.pw-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--gold-light);
  border-radius: 0.75rem;
  padding: 2rem 2rem 1.75rem;
  width: 100%; max-width: 340px;
  box-shadow: 0 8px 32px var(--shadow-warm);
  display: flex; flex-direction: column; gap: 1rem;
}
.pw-close-x {
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: none; border: none; cursor: pointer;
  font-size: 1rem; line-height: 1;
  color: var(--earth); opacity: 0.5;
  padding: 0.25rem 0.35rem;
  border-radius: 0.25rem;
  transition: opacity 0.15s;
}
.pw-close-x:hover { opacity: 1; }
.pw-label {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  color: var(--earth);
  text-align: center;
  line-height: 1.4;
}
.pw-input {
  width: 100%;
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--gold);
  border-radius: 0.4rem;
  background: var(--cream);
  color: var(--text);
  outline: none;
}
.pw-input:focus { border-color: var(--earth); }
.pw-error {
  font-family: 'EB Garamond', serif;
  font-size: 0.875rem;
  color: #b0413e;
  text-align: center;
  margin-top: -0.5rem;
}
.pw-error.pw-hidden { display: none; }
.pw-actions {
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.pw-btn {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--earth);
  border: none;
  border-radius: 0.4rem;
  padding: 0.6rem 1.75rem;
  cursor: pointer;
  transition: background 0.2s;
}
.pw-btn:hover { background: var(--gold); }
.pw-btn:disabled { opacity: 0.6; cursor: default; }
.pw-btn--outline {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--earth);
  opacity: 0.55;
  text-decoration: underline;
  cursor: pointer;
}
.pw-btn--outline:hover { opacity: 0.9; background: none; }

/* ══════════  SECTIONS  ══════════ */
.section {
  position: relative; overflow: visible;
  padding: 0 clamp(1.2rem, 2.5vw, 2.5rem);
  background-color: var(--cream);
  scroll-margin-top: calc(var(--nav-bar-height) + 2rem);
}

.sec-inner { max-width: 860px; margin: 0 auto; position: relative; z-index: 20; }
.program-center { max-width: 430px; margin: 0 auto; }
.sec-body {
  margin-top: 0rem;
}

.sec-title {
  font-family: 'Euphoria Script', cursive;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--bark); line-height: 1.05; text-align: center; margin-bottom: 3rem;
}
.sec-title i { font-style: normal; color: var(--earth); text-wrap: nowrap; }
.sec-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  line-height: 0;
  margin: 4rem 0;
}
.sec-divider img {
  height: 2rem;
  width: auto;
}
.sec-divider.flip img:not(.sec-leaf) { transform: scaleX(-1); }
.sec-divider img.sec-leaf { height: 1.5rem; }
.sec-divider .sec-leaf:first-child { transform: scaleX(-1); }


/* ══════════  DATUM & MÍSTO  ══════════ */
.datum-cols {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 1.5rem;
}
.datum-col-info {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.datum-col-info .map-nav-links {
  margin-top: auto;
  padding-top: 1rem;
}
.datum-col-map {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.datum-map {
  flex: 1;
  min-height: 220px;
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow-text);
}
.map-nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 0.75rem;
}
.map-nav-link {
  display: inline-flex;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.map-nav-link:hover { opacity: 0.8; transform: scale(1.08); }
.map-nav-link img { width: 2.25rem; height: 2.25rem; object-fit: contain; display: block; }
.datum-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.datum-address {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem; line-height: 1.8; color: var(--text);
}
.venue-link {
  color: var(--earth); font-weight: 600; text-decoration: none;
}
.venue-link:hover { text-decoration: underline; }
.subsec-title {
  font-size: 0.78rem; font-weight: bold;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--tan);
  margin-top: 2rem; margin-bottom: 0.3rem;
}
.subsec-text {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem; line-height: 1.8; color: var(--text);
  text-align: justify;
}
.subsec-note {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem; line-height: 1.8; color: var(--text);
  text-align: justify;
  margin-top: 1.5rem;
  border-left: 3px solid var(--gold);
  padding: 0.4rem 0.8rem;
  background: var(--cream-dark);
  border-radius: 0 4px 4px 0;
}
.citation {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  margin-top: 1.0rem;
  text-align: justify;
  padding: 0 0rem;
}
.citation::before {
  content: '\201E';
  color: var(--gold);
  font-style: normal;
  margin-right: 0.1em;
}
.citation::after {
  content: '\201C';
  color: var(--gold);
  font-style: normal;
  margin-left: 0.1em;
}
.citation-source {
  display: block;
  font-family: 'EB Garamond', serif;
  font-size: 0.78rem;
  font-style: normal;
  color: var(--earth);
  margin-top: 0.4rem;
  text-align: right;
}
.citation-source::before {
  content: '— ';
}
.citation-source a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--gold);
}
.citation-source a:hover { color: var(--gold); }
.subsec-list {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem; line-height: 1.8; color: var(--text);
  padding-left: 0; margin: 0;
  list-style: none;
  text-align: justify;
}
.subsec-list li {
  padding-left: 1.4em;
  position: relative;
}
.subsec-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.45em;
  height: 0.45em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%236b4c2e' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ══════════  PROGRAM TIMELINE  ══════════ */
.timeline {
  display: grid;
  grid-template-columns: max-content max-content minmax(1rem, 2rem) 1fr;
  row-gap: 0.4rem;
  position: relative;
  margin-top: 1.8rem;
  overflow: hidden;
  width: 100%;
}

/* vertical line — drawn by circle cells, extends top/bottom to cover all gaps */
.tl-node-line::before {
  content: '';
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 3px;
  top: -0.4rem; bottom: -0.4rem;
  background: var(--forest);
}

/* connector column — stretches between circle and body */
.tl-connector-cell {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}
/* connector line — starts at circle center, 1px tall */
.tl-connector {
  flex: 1;
  min-width: 1rem;
  height: 1px;
  background: var(--gold);
  margin-left: -6.5px;
}
/* body column */
.tl-body-cell { padding: 0 0; }
/* event box content left-aligned */
.tl-body { text-align: left; }

/* centre column: dot + vertical line */
.tl-node-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0;
  position: relative;
  z-index: 1;
  min-width: 13px;
}

.tl-node-cell:has(.tl-line-arrow)::before {
  margin-bottom: 10px;
}

/* circle marker for main events — 10px solid gold */
.tl-node-circle::after {
  content: '';
  position: absolute;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--cream);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* downward arrow at bottom of vertical line */
.tl-line-arrow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 0; height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 12px solid var(--forest);
  z-index: 2;
}

/* left column: time label */
.tl-time-cell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 0.8rem 0 0;
}
.tl-time {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  color: var(--forest);
  line-height: 1.3;
  display: block;
  white-space: nowrap;
}

/* between events — lives in the right (events) column, aligned with event boxes */
.tl-between-cell {
  align-self: center;
  padding: 0.3rem 0.9rem;
  font-family: 'EB Garamond', serif;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--text);
  white-space: nowrap;
  text-align: center;
  z-index: 1;
}
.tl-between-cell::before,
.tl-between-cell::after {
  content: '···';
  display: block;
  font-style: normal;
  letter-spacing: 0.2em;
  opacity: 0.45;
}

/* event box */
.tl-body {
  padding: 0.4rem 0.9rem 0.5rem;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: var(--cream);
}
.tl-label {
  font-size: 0.78rem; font-weight: bold;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--tan);
  display: block;
  text-align: center;
}
.tl-desc {
  font-family: 'EB Garamond', serif;
  font-size: 0.88rem;
  font-style: normal;
  color: var(--text);
  margin-top: 0.2rem;
  line-height: 1.4;
  text-align: center;
}

/* ══════════  DRESS CODE SWATCHES  ══════════ */
.dc-swatches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.dc-pair {
  display: flex;
  gap: 1.1rem;
}
.dc-swatch {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 1px 4px var(--shadow-black);
  background-size: cover;
  background-position: center;
}

/* ══════════  FOOTER  ══════════ */
footer {
  width: 100%;
  margin-top: 2rem;
  line-height: 0;
  background: url('img/bottom.png') repeat-x center top;
  background-size: calc(640px - clamp(3rem, 10vw, 7rem)) auto;
}
/* below the point where hero-content hits max-width (640px + 4rem = 704px) */
@media (max-width: 704px) {
  footer { background-size: calc(100vw - 4rem - clamp(3rem, 10vw, 7rem)) auto; }
}
.footer-ref {
  width: calc(100% - 4rem - clamp(3rem, 10vw, 7rem));
  max-width: calc(640px - clamp(3rem, 10vw, 7rem));
  margin: 0 auto;
  aspect-ratio: 3000 / 1236;
}

/* ══════════  ANIMATIONS  ══════════ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.v { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; transform: scaleY(1); } 50% { opacity: 0.85; transform: scaleY(1.3); } }

/* ══════════  CENTER PANEL  ══════════ */
.center-panel { display: contents; }

footer { position: relative; }

/* ══════════  NAV BRAND (mobile only)  ══════════ */
.nav-brand {
  display: none;
  font-family: 'Euphoria Script', cursive;
  font-size: 1.4rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand-letter { color: var(--forest); }
.nav-brand-amp { color: var(--gold); }

/* ══════════  HAMBURGER  ══════════ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: var(--nav-height); height: var(--nav-height);
  padding: 7px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-hamburger:hover { background: var(--shadow-hover); }
.nav-hamburger span {
  display: block; height: 1.5px;
  background: var(--earth); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
  will-change: transform, opacity;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ══════════  TABLET (901px – 1150px)  ══════════ */
@media (max-width: 900px) {
  nav { padding: 0.35rem 1.2rem; }
  #back-top { right: 1.8rem; }
}

/* ══════════  MOBILE (≤1000px)  ══════════ */
@media (max-width: 1000px) {
  .hero { background-attachment: scroll; }
  .center-panel { box-shadow: none; }
  .datum-cols { flex-direction: column; }
  .datum-map { flex: none; height: 220px; }
  .datum-map iframe { height: 220px; }
  .datum-col-info { flex-direction: row; align-items: flex-start; gap: 1rem; justify-content: space-between; }
  .datum-col-info .map-nav-links { margin-top: 0; padding-top: 0; flex-direction: row; gap: 0.75rem; align-self: flex-end; }
  #back-top { right: 1.8rem; }
  .section { padding: 0 1.5rem; }
}

/* ══════════  NAV HAMBURGER (≤1200px)  ══════════ */
@media (max-width: 1200px) {
  nav {
    justify-content: space-between;
    padding: 0.35rem 1.1rem;
  }
  .nav-ext-link { display: none; }
  .nav-tile.nav-tile--mobile-only { display: flex; }
  .nav-brand { display: block; }
  .nav-hamburger { display: flex; }

  /* Collapsed menu */
  .nav-tiles {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    backdrop-filter: blur(14px);
    box-shadow: 0 6px 20px var(--shadow-nav);
    padding: 0.4rem 1.1rem 0.7rem;
    border-bottom: 1px solid var(--gold-light);
  }
  .nav-tiles.open { display: flex; }

  .nav-heart { display: none; }
  .nav-tile {
    height: 48px; width: 100%;
    padding: 0;
    border-bottom: 1px solid var(--nav-sep);
  }
  .nav-tile:last-of-type { border-bottom: none; }
  .nav-tile::after { left: var(--nav-height); right: 0; bottom: 9px; }
  .nav-tile-label { font-size: 1.5rem; }
}

/* ══════  THUMBNAIL / LIGHTBOX  ══════ */
.menu-seating-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  margin-top: 1.5rem;
  margin-inline: auto;
  gap: 0.5rem;
  cursor: pointer;
}
.menu-seating-thumb img {
  max-width: 160px;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 10px var(--shadow-warm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.menu-seating-thumb:hover img {
  transform: scale(1.03);
  box-shadow: 0 4px 16px var(--shadow-warm);
}
.menu-seating-thumb .thumb-caption {
  font-family: 'EB Garamond', serif;
  font-size: 0.85rem;
  color: var(--earth);
  font-style: italic;
  letter-spacing: 0.02em;
}

#lightbox {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(30,20,10,0.88);
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
#lightbox.lb-open { opacity: 1; pointer-events: auto; }
#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
#lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.85;
  padding: 0.25rem 0.5rem;
}
#lightbox-close:hover { opacity: 1; }
