:root {
  --reed: #d4a45a;
  --reed-deep: #b07d32;
  --blood: #9a2433;
  --on-photo: #f3ead8;
  --on-photo-soft: rgba(243, 234, 216, 0.82);
  --on-photo-line: rgba(243, 234, 216, 0.22);
  --nav-chip-bg: rgba(8, 12, 10, 0.42);
  --display: "Cinzel", "Fraunces", "Iowan Old Style", Georgia, serif;
  --seal: "Cinzel Decorative", "Cinzel", Georgia, serif;
  --sans: "Figtree", "Segoe UI", system-ui, sans-serif;
  --wrap: min(1180px, calc(100% - 32px));
  color-scheme: dark;
}

html[data-theme="dark"],
:root {
  --ink: #0b1210;
  --pine: #121c17;
  --cream: #f3ead8;
  --cream-soft: rgba(243, 234, 216, 0.78);
  --mist: rgba(243, 234, 216, 0.52);
  --line: rgba(243, 234, 216, 0.12);
  --glass: rgba(18, 28, 22, 0.86);
  --card: rgba(22, 34, 28, 0.94);
  --elevated: #14201a;
  --header-bg: rgba(15, 27, 22, 0.82);
  --chip-bg: rgba(255, 255, 255, 0.05);
  --input-bg: rgba(255, 255, 255, 0.06);
  --panel: rgba(18, 28, 22, 0.72);
  --hero-fade: #0b1210;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --scrollbar-track: #0b1210;
  --scrollbar-thumb: #4d6148;
}

html[data-theme="light"] {
  color-scheme: light;
  --ink: #f3eee3;
  --pine: #e8e0d0;
  --cream: #1c241e;
  --cream-soft: rgba(28, 36, 30, 0.76);
  --mist: rgba(28, 36, 30, 0.5);
  --line: rgba(36, 44, 38, 0.12);
  --glass: rgba(255, 252, 246, 0.92);
  --card: #fffaf3;
  --elevated: #fffdf8;
  --header-bg: rgba(243, 238, 227, 0.88);
  --chip-bg: rgba(28, 36, 30, 0.05);
  --input-bg: #fff;
  --panel: #fffaf3;
  --hero-fade: #f3eee3;
  --shadow: 0 18px 40px rgba(48, 38, 20, 0.1);
  --scrollbar-track: #e8e0d2;
  --scrollbar-thumb: #8a7a5c;
}

@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]) {
    color-scheme: light;
    --ink: #f3eee3;
    --pine: #e8e0d0;
    --cream: #1c241e;
    --cream-soft: rgba(28, 36, 30, 0.76);
    --mist: rgba(28, 36, 30, 0.5);
    --line: rgba(36, 44, 38, 0.12);
    --glass: rgba(255, 252, 246, 0.92);
    --card: #fffaf3;
    --elevated: #fffdf8;
    --header-bg: rgba(243, 238, 227, 0.88);
    --chip-bg: rgba(28, 36, 30, 0.05);
    --input-bg: #fff;
    --panel: #fffaf3;
    --hero-fade: #f3eee3;
    --shadow: 0 18px 40px rgba(48, 38, 20, 0.1);
    --scrollbar-track: #e8e0d2;
    --scrollbar-thumb: #8a7a5c;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body, #root { min-height: 100%; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(ellipse 900px 500px at 12% -8%, rgba(212, 164, 90, 0.12), transparent 60%),
    radial-gradient(ellipse 800px 600px at 100% 0%, rgba(154, 36, 51, 0.10), transparent 55%),
    var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.22s ease, color 0.22s ease;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}
#root { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: 0.45; cursor: not-allowed; }
a { color: inherit; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 4px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Hub chrome ── */
.hub { min-height: 100vh; background: var(--ink); color: var(--cream); }

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 42px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.45));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--on-photo);
}
.brand-text span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-photo-soft);
  margin-top: 3px;
}
.topbar-end {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}
.nav button,
.nav a {
  appearance: none;
  background: none;
  border: 0;
  border-radius: 0;
  color: var(--on-photo);
  text-decoration: none;
  padding: 2px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: none;
  opacity: 0.88;
}
.nav button:hover,
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.theme-quiet {
  font-size: 12px;
  color: var(--mist);
  letter-spacing: 0.02em;
}
.theme-quiet > span:first-child {
  margin-right: 8px;
  text-transform: lowercase;
}
.theme-quiet button {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 400;
  border-radius: 0;
}
.theme-quiet button.is-on {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.theme-quiet button:hover { color: var(--cream); }

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.hero-photo.is-on { opacity: 1; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,12,10,0.28) 0%, rgba(8,12,10,0.08) 28%, rgba(8,12,10,0.22) 50%, var(--hero-fade) 100%),
    linear-gradient(90deg, rgba(11,18,16,0.38), transparent 48%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  margin: 0 auto;
  padding: 0 0 36px;
  animation: fadeUp 0.7s ease;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f0d7a4;
  font-weight: 700;
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--reed);
}
.hero h1 {
  font-family: var(--display);
  font-weight: 560;
  font-size: clamp(36px, 6.4vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  max-width: 14ch;
  color: var(--on-photo);
  text-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.hero-lead {
  margin-top: 16px;
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-photo-soft);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: 24px;
}
.cta {
  border: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
}
.cta-primary {
  background: #8a1f2c;
  color: #f7efe4;
  padding: 11px 18px;
}
.cta-primary:hover { background: #6f1823; }
.cta-text {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  padding: 8px 0;
}
.cta-text:hover { opacity: 0.8; }
.cta-on-photo {
  color: #f7efe4;
  background: rgba(8, 12, 10, 0.48);
  border: 1px solid rgba(243, 234, 216, 0.22);
  padding: 10px 14px;
  text-decoration: none;
}
.cta-quiet {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 5px;
  padding: 8px 0;
}
.cta-ghost {
  color: var(--cream);
  padding: 10px 4px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero-slide-cap {
  margin-top: 14px;
  font-size: 13px;
  color: var(--on-photo-soft);
  letter-spacing: 0.02em;
}
.hero-controls {
  position: absolute;
  z-index: 3;
  right: 16px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid var(--on-photo-line);
  background: rgba(8, 12, 10, 0.35);
  color: var(--on-photo);
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
}
.hero-dots { display: flex; gap: 6px; }
.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(243, 234, 216, 0.35);
}
.hero-dots button.is-on { background: #f0d7a4; width: 22px; }
.jubilee-chip {
  position: fixed;
  left: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: flex;
  align-items: stretch;
  max-width: calc(100vw - 24px);
  border-radius: 999px;
  overflow: hidden;
  background: #7a1c28;
  color: #f7efe4;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.jubilee-chip-main {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  color: inherit;
  padding: 10px 6px 10px 12px;
  font-size: 13px;
  font-weight: 500;
}
.jubilee-chip-mark {
  font-family: var(--display);
  font-weight: 640;
  font-size: 14px;
  line-height: 1;
  padding: 3px 6px;
  border: 1px solid rgba(247, 239, 228, 0.35);
  border-radius: 6px;
}
.jubilee-chip-text { white-space: nowrap; }
.jubilee-chip-x {
  border: 0;
  background: rgba(0, 0, 0, 0.18);
  color: inherit;
  width: 42px;
  font-size: 22px;
  line-height: 1;
}

/* ── Medieval hero (illustrated, no photography) ── */
.hero-charter {
  position: relative;
  min-height: 0;
  align-items: stretch;
  overflow: visible;
  padding: 96px 0 48px;
  display: block;
}
.hero-has-photo {
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
}
.hero-has-photo .hero-copy { padding: 40px 8px 40px; }
.hero-has-photo .hero-parchment { inset: 14px; }

.hero-parchment {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(212, 164, 90, 0.35);
  border-radius: 2px;
  pointer-events: none;
}
.hero-parchment::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(212, 164, 90, 0.18);
}
.corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--reed);
  opacity: 0.75;
}
.corner-tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.corner-tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.corner-bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.corner-br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.hero-copy {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  margin: 0 auto;
  padding: 40px 8px 8px;
  animation: fadeUp 0.7s ease;
}
.jubilee-seal {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid var(--reed);
  box-shadow: inset 0 0 0 5px var(--ink), inset 0 0 0 6px rgba(212, 164, 90, 0.4);
  background: radial-gradient(circle at 35% 30%, rgba(212, 164, 90, 0.22), transparent 65%);
  margin-bottom: 18px;
}
.jubilee-seal-num {
  font-family: var(--seal);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--reed);
}
.jubilee-seal-txt {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-soft);
  margin-top: 2px;
}
.hero-crest {
  position: relative;
  z-index: 2;
  display: none;
}
.hero-crest-ring {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 2px solid var(--reed);
  box-shadow: inset 0 0 0 6px var(--ink), inset 0 0 0 7px rgba(212, 164, 90, 0.35), 0 18px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, rgba(212, 164, 90, 0.16), transparent 65%);
}
.hero-crest-ring img { width: 64px; height: auto; filter: drop-shadow(0 6px 10px rgba(0,0,0,.4)); }

.rule-flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--reed);
  font-size: 18px;
  opacity: 0.8;
  margin: 4px 0 8px;
}
.rule-flourish::before,
.rule-flourish::after {
  content: "";
  height: 1px;
  width: min(160px, 22vw);
  background: linear-gradient(90deg, transparent, var(--reed), transparent);
}

.card-seal { justify-content: flex-start; }
.card-emblem {
  align-self: flex-start;
  font-size: 30px;
  line-height: 1;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--reed);
  box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px rgba(212, 164, 90, 0.3);
  margin-bottom: 12px;
}

.foot-motto { margin-top: 6px; font-size: 11px; letter-spacing: 0.06em; color: var(--reed); }

@media (min-width: 980px) {
  .hero-charter { padding: 64px 0 56px; }
  .hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
  .hero-crest { display: block; position: absolute; right: 40px; top: 40px; }
}

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  background: rgba(8, 12, 10, 0.35);
  border: 1px solid var(--on-photo-line);
  border-radius: 12px;
  color: var(--on-photo);
  font-size: 20px;
  line-height: 1;
}
.nav-drawer {
  position: fixed;
  top: 64px;
  right: 12px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  padding: 10px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.nav-drawer button,
.nav-drawer a {
  appearance: none;
  background: none;
  border: 0;
  text-align: left;
  padding: 10px 12px;
  color: var(--cream);
  text-decoration: none;
  font-size: 15px;
}

.place-link {
  appearance: none;
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.guests .place-link { min-height: 112px; }

.story-page { padding: 16px 16px 48px; display: flex; flex-direction: column; gap: 12px; }
.story-hero {
  width: 100%;
  height: min(42vh, 360px);
  object-fit: cover;
  border-radius: 18px;
}
.story-note { font-size: 11px; color: var(--mist); }
.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 8px;
  align-items: center;
}
.info-dl { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 12px; }
.info-dl div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.info-dl dt { color: var(--mist); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.info-dl a { color: var(--reed); }

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

.wrap {
  width: var(--wrap);
  margin: 0 auto;
  padding: 8px 0 80px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.section-head { margin-bottom: 12px; }
.section-head h2,
.panel h2 {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.section-head p { margin-top: 6px; color: var(--mist); font-size: 14px; line-height: 1.55; }

.bento {
  display: grid;
  gap: 12px;
}
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  color: var(--cream);
  text-align: left;
  padding: 18px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  box-shadow: none;
  transition: border-color .2s ease;
}
.card:hover { border-color: rgba(154, 36, 51, 0.45); }
.card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,12,10,.15) 0%, rgba(8,12,10,.78) 72%, rgba(8,12,10,.92) 100%);
}
.card-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(154, 36, 51, 0.82);
  border: 1px solid rgba(255,255,255,.12);
}
.badge-quiet {
  background: var(--chip-bg);
  color: var(--cream-soft);
  border-color: var(--line);
}
.card h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.card p { font-size: 14px; line-height: 1.5; color: var(--cream-soft); max-width: 36ch; }
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--mist);
}
.card-foot em { font-style: normal; color: var(--reed); font-weight: 600; }
.card-photo,
.card-photo h3 { color: #f3ead8; }
.card-photo p { color: rgba(243, 234, 216, 0.84); }
.card-photo .card-foot { color: rgba(243, 234, 216, 0.58); }
.card-photo .card-foot em { color: #f0d7a4; }
.card-plain { min-height: 150px; }
.card-plain h3 { font-size: 22px; }
.ico { font-size: 26px; line-height: 1; }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px 16px;
  backdrop-filter: blur(12px);
}
.update-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.update-row {
  background: var(--chip-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--cream-soft);
}

.place-grid {
  display: grid;
  gap: 12px;
}
.place-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
  text-decoration: none;
  min-height: 130px;
}
.place-link:hover { border-color: rgba(154, 36, 51, 0.4); }
.place-link small { color: var(--mist); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.place-link strong { font-family: var(--display); font-size: 22px; font-weight: 560; }
.place-link span { color: var(--cream-soft); font-size: 13px; line-height: 1.5; }

.site-foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  color: var(--mist);
  font-size: 13px;
}
.site-foot strong { color: var(--cream); font-family: var(--display); font-size: 18px; font-weight: 560; }
.photo-credit { margin-top: 8px; font-size: 11px; max-width: 42ch; }
.photo-credit a { text-decoration: underline; text-underline-offset: 3px; }

/* inner pages: let CSS own the width */
.shell,
.app-header {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
.app-header { padding: 14px 14px; }

.menu-grid,
.news-list,
.monitor-grid,
.tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.mode-row { display: grid; grid-template-columns: 1fr; gap: 8px; }

.cart-bar {
  max-width: 504px;
}
.checkout-overlay { align-items: flex-end; }
.checkout-box { max-width: 480px; border-radius: 24px 24px 0 0; }

.boot-note { display: none; }

.app-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 699px) {
  .nav { display: none; }
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; }
  .hero { min-height: 78vh; }
  .hero-copy { padding-bottom: 28px; }
  .topbar { padding: 12px 14px; }
  .hero-arrow { display: none; }
  .hero-controls { right: 14px; bottom: 18px; }
  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
  }
  .info-dl div { grid-template-columns: 1fr; gap: 2px; }
  .brand-text strong { font-size: 17px; }
  .hero h1 { font-size: clamp(32px, 11vw, 44px); }
  .hero-lead { font-size: 15px; }
  .story-page { padding-bottom: 88px; }
  .wrap { padding-bottom: 96px; }
}

@media (min-width: 700px) {
  .topbar { padding: 18px 28px; }
  .brand img { width: 48px; height: 56px; }
  .hero-ctas .cta-primary { padding: 12px 20px; }
  .bento {
    grid-template-columns: 1.35fr 1fr;
  }
  .card-featured { min-height: 360px; grid-row: span 2; }
  .place-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 980px) {
  :root { --wrap: min(1180px, calc(100% - 64px)); }
  .hero { min-height: 92vh; }
  .hero-copy { padding-bottom: 56px; }
  .bento {
    grid-template-columns: 1.55fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .card-featured { grid-column: 1; grid-row: 1 / span 2; min-height: 440px; }
  .place-grid { grid-template-columns: repeat(3, 1fr); }
  .panel { padding: 22px 22px; }
  .wrap { gap: 28px; padding-bottom: 96px; }

  .shell,
  .app-header { max-width: 920px; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .news-list { grid-template-columns: 1fr 1fr; }
  .monitor-grid { grid-template-columns: 1fr 1fr; }
  .mode-row { grid-template-columns: 1fr 1fr; }
  .cart-bar {
    max-width: 900px !important;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 18px !important;
    bottom: 18px !important;
    border-bottom: 1px solid rgba(110,135,84,0.35) !important;
  }
  .checkout-overlay { align-items: center !important; }
  .checkout-box {
    border-radius: 24px !important;
    max-width: 480px;
  }
}

/* hero-charter is content-height by default; the photo variant gets a banner height back */
.hero.hero-charter { min-height: 0 !important; }
.hero.hero-charter.hero-has-photo { min-height: 62vh !important; }
@media (min-width: 980px) {
  .hero.hero-charter.hero-has-photo { min-height: 74vh !important; }
}

/* ── Destynacja 2026 ── */
.dest { padding-bottom: 48px; }
.dest-top {
  position: relative;
  flex-wrap: wrap;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
}
.dest-top .brand-text strong { color: var(--cream); }
.dest-top .brand-text span { color: var(--mist); }
.dest-nav a { color: var(--cream); }
.mode-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.mode-switch button {
  background: transparent;
  border: 0;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mist);
}
.mode-switch button.is-on {
  background: var(--reed);
  color: #1a1408;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--chip-bg);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.btn.primary {
  background: var(--reed);
  color: #1a1408;
  border-color: transparent;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.hero-dest {
  display: grid;
  gap: 0;
}
.hero-dest .hero-photo,
.hero-dest .photo-frame {
  margin: 0;
  min-height: 42vh;
}
.hero-dest .hero-photo img,
.hero-dest .photo-ph-inner {
  width: 100%;
  height: 52vh;
  min-height: 280px;
  object-fit: cover;
}
.hero-copy {
  width: var(--wrap);
  margin: -48px auto 0;
  position: relative;
  z-index: 2;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 560;
  line-height: 1.05;
  margin-bottom: 12px;
}
.hero-copy .lead { color: var(--cream-soft); max-width: 52ch; }

.photo-frame figcaption,
.photo-ph figcaption {
  font-size: 11px;
  color: var(--mist);
  padding: 8px 12px 0;
}
.photo-ph-inner {
  background:
    linear-gradient(135deg, rgba(212,164,90,.35), rgba(55,105,133,.45) 50%, rgba(154,36,51,.28));
}

.block, .today-bar, .atlas-block {
  width: var(--wrap);
  margin: 36px auto 0;
}
.block-head h2, .today-bar h2, .atlas-block h2, .dest-foot h2 {
  font-family: var(--display);
  font-size: 28px;
  margin-bottom: 8px;
}
.block-head p { color: var(--cream-soft); max-width: 60ch; }

.today-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.today-grid li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.today-grid span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); }
.today-grid strong { display: block; margin-top: 6px; font-weight: 600; }
.today-grid em { display: block; margin-top: 6px; font-size: 11px; color: var(--mist); font-style: normal; }

.timeline { list-style: none; margin: 20px 0 28px; border-left: 2px solid var(--reed); padding-left: 18px; }
.timeline li { margin-bottom: 16px; }
.timeline time { font-weight: 700; color: var(--reed); font-size: 13px; }
.news-mini { list-style: none; display: grid; gap: 12px; margin-bottom: 20px; }
.news-mini li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.news-mini span { font-size: 11px; color: #b65439; font-weight: 700; letter-spacing: .08em; }

.map-layout {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
@media (min-width: 900px) {
  .map-layout { grid-template-columns: 1.4fr .8fr; min-height: 420px; }
}
.map-canvas {
  min-height: 380px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--elevated);
}
.pin-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.pin-card h3 { font-family: var(--display); margin: 6px 0 8px; }
.pin-card .hint { font-size: 12px; color: var(--mist); margin: 8px 0; }
.pin-list { list-style: none; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.pin-list button {
  background: var(--chip-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}
.pin-list button.is-on { background: var(--reed); color: #1a1408; border-color: transparent; }

.pin-dot {
  border-radius: 50%;
  border: 2px solid #f3ead8;
  background: #376985;
  box-shadow: 0 0 0 2px rgba(0,0,0,.25);
}
.pin-dot.pin-jezioro { background: #2a6f8f; }
.pin-dot.pin-zabytek { background: #9a2433; }
.pin-dot.pin-plaza { background: #d4a45a; }
.pin-dot.pin-nocleg { background: #3d6b43; }
.pin-dot.pin-sluzba { background: #b65439; }
.pin-dot.pin-kultura { background: #6e5a2f; }
.pin-dot.pin-usluga { background: #77503f; }
.pin-dot.pin-urzad { background: #4a5560; }
.pin-dot.is-on { transform: scale(1.25); }

.plac-list { list-style: none; display: grid; gap: 8px; margin: 16px 0; }
.plac-list li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.plac-list li[data-kind="osp"] { border-color: rgba(182,84,57,.45); }
.plac-form {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.plac-form label { display: grid; gap: 6px; font-size: 13px; flex: 1; min-width: 200px; }
.plac-form input {
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}

.office-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.office-links a {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
}

.dest-foot {
  width: var(--wrap);
  margin: 48px auto 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.foot-tiles {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 20px;
}
.foot-tiles a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 13px;
}
.photo-credit { font-size: 12px; color: var(--mist); max-width: 70ch; }

.chip-700 {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--blood);
  color: #f3ead8;
  padding: 10px 12px 10px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.chip-700 strong { font-family: var(--seal); font-size: 18px; }
.chip-700 button {
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 18px;
  padding: 0 4px;
}

.leaflet-container { font-family: var(--sans); background: #cfd8d0; }

@media (max-width: 820px) {
  .dest-top { position: sticky; top: 0; }
  .topbar-end { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .dest-nav { display: none; }
}
