:root {
  --ink: #14110e;
  --ink-2: #1c1815;
  --ink-3: #26211c;

  --paper: #f4f1ea;
  --paper-2: #fffdf8;

  --line: #e2dcd0;
  --line-2: #d4ccbd;
  --line-ink: rgba(255, 255, 255, 0.13);

  --text: #1b1714;
  --text-2: #625a52;
  --text-3: #918980;
  --text-ink: #f2efe8;
  --text-ink-2: #b0a89d;

  --accent: #962d31;
  --accent-2: #78242a;
  --accent-ink: #e0bb6d;
  --brass: #8a6a2c;

  --heraldic-red: #e30016;
  --heraldic-gold: #ffec00;

  --r-sm: 5px;
  --r: 10px;
  --r-lg: 20px;

  --shadow: 0 1px 2px rgba(22, 28, 25, 0.04), 0 10px 30px -16px rgba(22, 28, 25, 0.22);
  --shadow-lift: 0 2px 4px rgba(22, 28, 25, 0.05), 0 18px 40px -18px rgba(22, 28, 25, 0.28);

  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 44px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --z-grain: 60;
  --z-header: 40;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
  margin: 0;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 var(--r) 0;
}

.skip-link:focus {
  left: 0;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--ink);
  border-bottom: 1px solid var(--line-ink);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-ink);
}

.logo-mark {
  height: 40px;
  width: auto;
  flex: none;
  display: block;
  transition: transform 0.3s var(--ease);
}

.site-logo:hover .logo-mark {
  transform: scale(1.06);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-text strong {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.logo-text span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-ink-2);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  position: relative;
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-ink-2);
  border-radius: var(--r-sm);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.main-nav a:hover {
  color: var(--text-ink);
  background: rgba(255, 255, 255, 0.06);
}

.main-nav a.active {
  color: var(--text-ink);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1.5px;
  background: var(--accent-ink);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--line-ink);
  border-radius: var(--r-sm);
  color: var(--text-ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 13px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

.nav-toggle:active {
  transform: scale(0.97);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--text-ink);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(72% 95% at 84% 6%, rgba(150, 45, 49, 0.42) 0%, transparent 64%),
    radial-gradient(58% 72% at 4% 98%, rgba(224, 187, 109, 0.13) 0%, transparent 62%);
  pointer-events: none;
}

.hero-badge {
  margin: 0;
  justify-self: center;
  text-align: center;
  animation: badge-in 1s var(--ease) both;
}

.hero-badge img {
  width: clamp(200px, 25vw, 310px);
  height: auto;
  filter: drop-shadow(0 20px 38px rgba(0, 0, 0, 0.6));
}

.hero-badge figcaption {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--text-3);
}

@keyframes badge-in {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
}

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

.hero .container {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
}

.hero-eyebrow {
  color: var(--accent-ink);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.35rem, 5.6vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 15ch;
  margin-bottom: 26px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-ink);
}

.hero-sub {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-ink-2);
  max-width: 46ch;
  margin: 0;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin: 34px 0 0;
}

.hero-meta div {
  border-top: 1px solid var(--line-ink);
  padding-top: 12px;
  min-width: 128px;
}

.hero-meta dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 5px;
}

.hero-meta dd {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-ink);
}

/* ---------- countdown ---------- */

.countdown-wrap {
  position: relative;
  margin-top: clamp(3rem, 6vw, 4.75rem);
  border-top: 1px solid var(--line-ink);
  padding-top: 26px;
}

.countdown-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 18px;
}

.countdown {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: clamp(20px, 5vw, 56px);
}

.cd-unit {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.cd-unit + .cd-unit::before {
  content: "";
  position: absolute;
  left: calc(clamp(20px, 5vw, 56px) / -2);
  top: 8%;
  bottom: 26%;
  width: 1px;
  background: var(--line-ink);
}

.cd-num {
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 7vw, 4.1rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--text-ink);
}

.cd-lab {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}

.countdown-done {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--accent-ink);
  margin: 0;
}

/* ---------- sections ---------- */

.section {
  padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(5rem, 10vw, 8rem);
}

.section-head {
  max-width: 60ch;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section-head .eyebrow {
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  margin-bottom: 14px;
}

.section-intro {
  font-size: 16.5px;
  color: var(--text-2);
  max-width: 58ch;
  margin: 0;
}

/* ---------- guide list (index) ---------- */

.guide {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.guide li {
  border-bottom: 1px solid var(--line);
}

.guide a {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 40px;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  padding: clamp(22px, 3.2vw, 32px) clamp(10px, 2vw, 20px);
  transition: background 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.guide a:hover {
  background: var(--paper-2);
  padding-left: clamp(18px, 2.8vw, 30px);
}

.guide-idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  transition: color 0.25s var(--ease);
}

.guide a:hover .guide-idx {
  color: var(--accent);
}

.guide-body h3 {
  font-size: clamp(1.2rem, 2.3vw, 1.6rem);
  margin-bottom: 6px;
}

.guide-body p {
  margin: 0;
  font-size: 15px;
  color: var(--text-2);
  max-width: 56ch;
}

.guide-arrow {
  justify-self: end;
  font-size: 20px;
  color: var(--text-3);
  transition: transform 0.3s var(--ease), color 0.25s var(--ease);
}

.guide a:hover .guide-arrow {
  transform: translateX(6px);
  color: var(--accent);
}

/* ---------- program ---------- */

.day-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.day-tab {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px 20px;
  text-align: left;
  font-family: var(--font-sans);
  cursor: pointer;
  color: var(--text-2);
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease),
    color 0.22s var(--ease), transform 0.15s var(--ease);
}

.day-tab span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: color 0.22s var(--ease);
}

.day-tab strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.day-tab:hover {
  border-color: var(--line-2);
  background: var(--paper-2);
}

.day-tab:active {
  transform: scale(0.985);
}

.day-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--text-ink);
}

.day-tab.active span {
  color: var(--accent-ink);
}

.day-panel {
  display: none;
}

.day-panel.active {
  display: block;
}

.timeline {
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: clamp(14px, 3vw, 32px);
  padding: 22px clamp(8px, 1.5vw, 16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease);
}

.timeline-item:hover {
  background: var(--paper-2);
}

.timeline-time {
  font-family: var(--font-mono);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  padding-top: 3px;
}

.timeline-body h4 {
  font-size: 1.12rem;
  margin-bottom: 5px;
}

.timeline-body p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-2);
}

.tag {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(150, 45, 49, 0.08);
  border-left: 2px solid var(--accent);
  border-radius: 0;
  padding: 5px 10px;
}

.tag.tag-brass {
  color: #6b5220;
  background: rgba(138, 106, 44, 0.13);
  border-left-color: var(--brass);
}

/* ---------- info list ---------- */

.info-list {
  border-top: 1px solid var(--line);
}

.info-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 22ch) minmax(0, 1fr);
  gap: clamp(14px, 3vw, 36px);
  align-items: start;
  padding: clamp(24px, 3.4vw, 36px) clamp(8px, 1.5vw, 16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease);
}

.info-row:hover {
  background: var(--paper-2);
}

.info-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  padding-top: 6px;
}

.info-row h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}

.info-row p {
  margin: 0;
  color: var(--text-2);
  max-width: 60ch;
}

.info-row p + p {
  margin-top: 10px;
}

.note {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: #6b5220;
  background: rgba(138, 106, 44, 0.12);
  border-left: 2px solid var(--brass);
  padding: 10px 14px;
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.contact-list li {
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}

.contact-list .label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}

.contact-list .name {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.contact-list .detail {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-2);
}

.contact-list a.detail {
  color: var(--accent);
  border-bottom: 1px solid rgba(150, 45, 49, 0.32);
  transition: border-color 0.2s var(--ease);
}

.contact-list a.detail:hover {
  border-color: var(--accent);
}

.panel {
  background: var(--ink);
  color: var(--text-ink);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}

.panel .eyebrow {
  color: var(--accent-ink);
  margin-bottom: 16px;
}

.panel h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.panel p {
  color: var(--text-ink-2);
  font-size: 14.5px;
  margin: 0 0 22px;
}

.map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-ink);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-load {
  position: absolute;
  inset: 0;
  width: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  background: none;
  border: 0;
  color: var(--text-ink);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s var(--ease);
}

.map-load:hover {
  background: rgba(255, 255, 255, 0.05);
}

.map-load svg {
  color: var(--accent-ink);
  margin-bottom: 4px;
}

.map-load strong {
  font-size: 15px;
  font-weight: 600;
}

.map-load span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 14px;
}

.map-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--accent-ink);
  border-bottom: 1px solid rgba(224, 187, 109, 0.35);
}

.map-links a:hover {
  border-bottom-color: var(--accent-ink);
}

.panel-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--text-ink-2);
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--text-ink-2);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.25rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--line-ink);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.footer-crest {
  height: 62px;
  width: auto;
  flex: none;
}

.footer-grid h3 {
  font-size: 1.3rem;
  color: var(--text-ink);
  margin-bottom: 8px;
  max-width: 22ch;
}

.footer-grid p {
  margin: 0;
  font-size: 14px;
  max-width: 40ch;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-nav a {
  color: var(--text-ink-2);
  width: fit-content;
  transition: color 0.2s var(--ease);
}

.footer-nav a:hover {
  color: var(--accent-ink);
}

.footer-base {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .footer-crest {
    height: 52px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-badge {
    order: -1;
    justify-self: start;
  }

  .hero-badge img {
    width: clamp(150px, 34vw, 200px);
  }

  .hero-badge figcaption {
    display: none;
  }

  .hero-meta {
    gap: 14px 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink-2);
    border-bottom: 1px solid var(--line-ink);
    padding: 10px var(--gutter) 18px;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .main-nav a {
    padding: 12px 10px;
  }

  .main-nav a.active::after {
    left: 10px;
    right: auto;
    width: 18px;
    bottom: 6px;
  }

  .info-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .info-row h3 {
    grid-column: 2;
  }

  .info-row .info-text {
    grid-column: 2;
  }

  .guide a {
    grid-template-columns: 40px minmax(0, 1fr) 24px;
  }

  .timeline-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- sekcja alternatywna ---------- */

.section-alt {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

/* ---------- ośrodki (index) ---------- */

.units {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.unit {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 20px;
}

.unit-host {
  border-color: var(--accent);
  background: rgba(150, 45, 49, 0.05);
}

.unit-role {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}

.unit-host .unit-role {
  color: var(--accent);
}

.unit h3 {
  font-size: 1.05rem;
  margin: 0;
}

.unit p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text-2);
}

/* ---------- pomocnicze ---------- */

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

.inline-link {
  color: var(--accent);
  font-weight: 500;
  border-bottom: 1px solid rgba(150, 45, 49, 0.32);
}

.inline-link:hover {
  border-bottom-color: var(--accent);
}

/* ---------- komunikaty ---------- */

.notice {
  border-left: 3px solid var(--brass);
  background: rgba(138, 106, 44, 0.09);
  padding: 16px 20px;
  border-radius: 0;
  font-size: 14.5px;
  color: var(--text-2);
  margin-bottom: 32px;
}

.notice strong {
  color: var(--text);
  font-weight: 600;
}


.notice code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: rgba(0, 0, 0, 0.06);
  padding: 1px 5px;
  border-radius: 3px;
}

/* ---------- tabele ---------- */

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.data-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 0 16px 12px 0;
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
}

.data-table td {
  padding: 15px 16px 15px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data-table tbody tr:hover {
  background: var(--paper-2);
}

.c-num {
  width: 44px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-3);
}

.c-name {
  font-weight: 500;
  color: var(--text);
}





.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 18px 0 10px;
}

.mini-table caption {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-bottom: 10px;
}

.mini-table th {
  text-align: left;
  font-weight: 500;
  font-size: 12.5px;
  color: var(--text-2);
  padding: 0 14px 8px 0;
  border-bottom: 1px solid var(--line-2);
}

.mini-table td {
  padding: 9px 14px 9px 0;
  border-bottom: 1px solid var(--line);
}

/* ---------- posiłki ---------- */







/* ---------- akcje w programie ---------- */

.program-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-bottom: 28px;
}

.btn-ghost {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: none;
  border: 1px solid var(--accent);
  border-radius: var(--r);
  padding: 11px 20px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.btn-ghost:hover {
  background: var(--accent);
  color: #fff;
}

.btn-ghost:active {
  transform: scale(0.98);
}

.program-actions-note {
  font-size: 12.5px;
  color: var(--text-3);
  max-width: 40ch;
}

/* ---------- znacznik "teraz" ---------- */

.timeline-item.is-now {
  background: rgba(150, 45, 49, 0.05);
  outline: 1px solid rgba(150, 45, 49, 0.25);
  outline-offset: -1px;
  border-radius: var(--r-sm);
}

.timeline-item.is-now .timeline-time::after {
  content: "teraz";
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 10px;
  animation: now-pulse 2.4s ease-in-out infinite;
}

@keyframes now-pulse {
  50% { opacity: 0.55; }
}

/* ---------- szlif prezentacyjny ---------- */

[id] {
  scroll-margin-top: 90px;
}

.unit,
.card {
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.unit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--line-2);
}

.unit-host:hover {
  border-color: var(--accent);
}

.timeline-item {
  transition: background 0.2s var(--ease);
}

.timeline-item:hover {
  background: var(--paper-2);
}

::selection {
  background: rgba(150, 45, 49, 0.18);
}

/* ---------- druk ---------- */

@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .countdown-wrap,
  .program-actions,
  .notice,
  .placeholder-note,
  .hero-badge,
  .map,
  .map-links,
  .guide-arrow {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  body::after {
    display: none;
  }

  .hero {
    background: #fff;
    color: #000;
    padding: 0 0 12pt;
  }

  .hero h1,
  .hero h1 em,
  .hero-eyebrow,
  .hero-meta dd {
    color: #000;
  }

  .hero-sub,
  .hero-meta dt {
    color: #444;
  }

  .section {
    padding: 12pt 0;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .day-panel {
    display: block !important;
  }

  .day-panel::before {
    content: attr(data-print-label);
    display: block;
    font-weight: 700;
    font-size: 13pt;
    margin: 14pt 0 6pt;
    border-bottom: 1.5pt solid #000;
    padding-bottom: 4pt;
  }

  .day-tabs {
    display: none;
  }

  .timeline-item,
  .data-table td,

  .timeline-time {
    color: #000;
  }


  a {
    color: #000;
    text-decoration: none;
  }

  .is-now {
    outline: none;
    background: none;
  }

  .timeline-item.is-now .timeline-time::after {
    display: none;
  }
}

.countdown-done a {
  color: var(--accent-ink);
  border-bottom: 1px solid rgba(224, 187, 109, 0.4);
}

.countdown-done a:hover {
  border-bottom-color: var(--accent-ink);
}

/* ---------- pasek szybkich akcji (tylko telefon) ---------- */

.quickbar {
  display: none;
}

@media (max-width: 760px) {
  body {
    padding-bottom: 68px;
  }

  .quickbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-header);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--ink);
    border-top: 1px solid var(--line-ink);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .quickbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 6px 9px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-ink-2);
  }

  .quickbar a svg {
    width: 20px;
    height: 20px;
    color: var(--accent-ink);
  }

  .quickbar a:active {
    background: rgba(255, 255, 255, 0.06);
  }

  .panel {
    position: static;
  }
}

/* ---------- karta "dziś w programie" (index) ---------- */

.today {
  padding: 0;
  margin-top: -1px;
}

.today-card {
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3.5vw, 32px);
  margin: clamp(24px, 4vw, 40px) 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px 32px;
  align-items: start;
}

.today-card .eyebrow {
  grid-column: 1 / -1;
  color: var(--accent);
}

.today-slot {
  display: grid;
  gap: 4px;
}

.today-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}

.today-slot strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}

.today-slot span {
  font-size: 13.5px;
  color: var(--text-2);
}

.today-slot .today-time {
  font-family: var(--font-mono);
  color: var(--accent);
  margin-right: 8px;
}

.today-link {
  grid-column: 1 / -1;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}

/* ---------- QR w stopce ---------- */

.footer-qr {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line-ink);
  margin-top: 28px;
}

.footer-qr img {
  width: 68px;
  height: 68px;
  background: #fff;
  padding: 5px;
  border-radius: 6px;
  flex: none;
}

.footer-qr strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-ink);
}

.footer-qr span {
  font-size: 12.5px;
  color: var(--text-ink-2);
}

/* ---------- bezpiecznik: bez JS treść zawsze widoczna ---------- */

html:not(.js) .reveal {
  opacity: 1;
  transform: none;
}

/* ==========================================================
   OPTYMALIZACJA MOBILNA — nadpisania dla telefonów
   ========================================================== */

html {
  -webkit-text-size-adjust: 100%;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* zakładki dni: na wąskim ekranie przewijane poziomo, bez łamania */
@media (max-width: 760px) {
  .day-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    padding-bottom: 4px;
  }

  .day-tabs::-webkit-scrollbar {
    display: none;
  }

  .day-tab {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 10px 14px;
    min-height: 52px;
  }
}

@media (max-width: 760px) {
  /* nagłówek: niższy, większy przycisk menu */
  .site-header .container {
    min-height: 60px;
  }

  .logo-mark {
    height: 34px;
  }

  .logo-text strong {
    font-size: 14px;
  }

  .logo-text span {
    font-size: 11.5px;
  }

  .nav-toggle {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 12px;
  }

  .main-nav a {
    padding: 14px 10px;
    font-size: 16px;
  }

  /* hero: zwarty, licznik bliżej pierwszego ekranu */
  .hero {
    padding: 1.75rem 0 2rem;
  }

  .hero-badge img {
    width: 128px;
  }

  .hero-eyebrow {
    margin-bottom: 14px;
  }

  .hero h1 {
    font-size: 2.05rem;
    margin-bottom: 14px;
  }

  .hero-sub {
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-meta {
    margin-top: 20px;
    gap: 10px 20px;
  }

  .hero-meta div {
    min-width: 0;
    flex: 1 1 28%;
    padding-top: 10px;
  }

  .hero-meta dd {
    font-size: 14px;
  }

  .countdown-wrap {
    margin-top: 1.75rem;
    padding-top: 18px;
  }

  .cd-num {
    font-size: 2.3rem;
  }

  /* sekcje: mniej pustej przestrzeni do przewijania */
  .section {
    padding: 2.25rem 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .section-intro {
    font-size: 15.5px;
  }


  /* etykiety mono: minimum 11.5 px */
  .eyebrow,
  .hero-meta dt,
  .cd-lab,
  .countdown-label,
  .unit-role,
  .contact-list .label,
  .today-label,
  .mini-table caption,
  .tag {
    font-size: 11.5px;
  }

  .note,
  .timeline-body p,

  /* strefy dotyku ≥ 44 px */
  .footer-nav {
    gap: 2px 20px;
  }

  .footer-nav a,
  .map-links a,
  .info-text .inline-link,
  .today-link {
    display: inline-block;
    padding: 10px 0;
  }

  .btn-ghost {
    width: 100%;
    min-height: 48px;
    text-align: center;
  }

  .program-actions > p,
  .program-actions > span {
    font-size: 13px;
  }

  /* tabela "kto za co odpowiada" → karty */
  .table-wrap {
    overflow: visible;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
  }

  .data-table thead {
    display: none;
  }

  .data-table tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .data-table tbody tr:hover {
    background: none;
  }

  .data-table td {
    padding: 2px 0;
    border: 0;
  }

  .data-table td.c-name {
    font-size: 15.5px;
    font-weight: 600;
    margin-bottom: 2px;
  }

  .data-table td:last-child {
    color: var(--text-2);
    font-size: 13.5px;
  }
}

/* bardzo wąskie telefony */
@media (max-width: 380px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .cd-num {
    font-size: 2rem;
  }

  .hero-meta div {
    flex-basis: 40%;
  }
}

@media (max-width: 760px) {
  .hero-eyebrow {
    letter-spacing: 0.07em;
    font-size: 11.5px;
  }

  .footer-base {
    font-size: 12.5px;
  }
}

/* ---------- notka przy posiłku ---------- */



/* ---------- okolica ---------- */

.spots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
}

.spot {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 24px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.spot:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--line-2);
}

.spot-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 12px;
}

.spot-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.spot-dist {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  white-space: nowrap;
}

.spot h3 {
  font-size: 1.25rem;
  margin: 0 0 8px;
}

.spot p {
  margin: 0 0 10px;
  font-size: 14.5px;
  color: var(--text-2);
}

.spot .spot-meta {
  font-size: 13px;
  color: var(--brass);
}

.spot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: auto;
  padding-top: 8px;
}

.spot-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid rgba(150, 45, 49, 0.3);
}

.spot-links a:hover {
  border-bottom-color: var(--accent);
}

@media (max-width: 760px) {
  .spot {
    padding: 18px;
  }

  .spot-cat,
  .spot-dist {
    font-size: 11.5px;
  }

  .spot-links a {
    display: inline-block;
    padding: 10px 0;
  }
}

@media print {
  .spot-links {
    display: none;
  }
}

/* ==========================================================
   PARA HERALDYCZNA — DWSZ (organizator) + WOMP Wrocław (realizator)
   ========================================================== */

.lockup {
  margin: 0;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  animation: badge-in 1s var(--ease) both;
}

.lockup-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.lockup-item img {
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.6));
}

.lockup-dwsz img {
  height: clamp(210px, 23vw, 292px);
  width: auto;
}

.lockup-womp img {
  width: clamp(168px, 18.5vw, 232px);
}

.lockup-sep {
  align-self: stretch;
  width: 1px;
  margin: 12% 0;
  background: linear-gradient(to bottom, transparent, rgba(224, 187, 109, 0.55), transparent);
}

.lockup-cap {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--text-3);
}

.lockup-cap strong {
  display: block;
  font-weight: 500;
  color: var(--text-ink-2);
}

/* nagłówek: dwa znaki */
.logo-marks {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.logo-marks .logo-mark {
  height: 40px;
}

.logo-marks .logo-mark-dwsz {
  height: 44px;
}

.logo-marks::before {
  content: none;
}

.logo-marks .logo-hair {
  width: 1px;
  height: 30px;
  background: var(--line-ink);
}

/* stopka: dwa znaki */
.footer-crests {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.footer-crests .footer-crest {
  height: 60px;
}

.footer-crests .footer-crest-dwsz {
  height: 66px;
}

@media (max-width: 900px) {
  .lockup {
    order: -1;
    justify-self: start;
    gap: 18px;
  }

  .lockup-dwsz img {
    height: 168px;
  }

  .lockup-womp img {
    width: 132px;
  }

  .lockup-item {
    gap: 10px;
  }

  .lockup-cap {
    font-size: 10px;
  }
}

@media (max-width: 760px) {
  .lockup-dwsz img {
    height: 138px;
  }

  .lockup-womp img {
    width: 108px;
  }

  .lockup-cap {
    display: none;
  }

  .lockup-sep {
    margin: 8% 0;
  }

  .logo-marks .logo-mark {
    height: 32px;
  }

  .logo-marks .logo-mark-dwsz {
    height: 38px;
  }

  .footer-crests .footer-crest {
    height: 50px;
  }

  .footer-crests .footer-crest-dwsz {
    height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lockup {
    animation: none;
  }
}

@media print {
  .lockup {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .logo-marks .logo-mark-dwsz,
  .logo-marks .logo-hair {
    display: none;
  }
}

/* ==========================================================
   HERO v3 — korpusówka w nagłówku, wyśrodkowany licznik, rząd ośrodków, mapa
   ========================================================== */

.logo-mark-wet {
  height: 46px;
  width: auto;
}

.hero h1 {
  max-width: 17ch;
}

.hero-meta {
  margin-top: 26px;
}

.countdown-wrap {
  text-align: center;
}

.countdown {
  justify-content: center;
}

.cd-unit {
  align-items: center;
}

.units-row {
  list-style: none;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 40px);
}

.units-row li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.units-row img {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.55));
  opacity: 0.92;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.units-row li:hover img {
  opacity: 1;
  transform: translateY(-2px);
}

.units-row span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}










@media (max-width: 900px) {
}

@media (max-width: 760px) {
  .logo-mark-wet {
    height: 40px;
  }

  .logo-text span {
    font-size: 10.5px;
    letter-spacing: 0.08em;
  }

  .units-row {
    gap: 14px 18px;
    margin-top: 22px;
  }

  .units-row img {
    height: 46px;
  }

  .units-row span {
    font-size: 9.5px;
    letter-spacing: 0.1em;
  }


}

@media print {
  .units-row {
    display: none !important;
  }
}

@media (max-width: 430px) {
  .logo-text span {
    display: none;
  }

  .logo-text strong {
    font-size: 15px;
  }
}

/* ==========================================================
   HERO v4 — blok marki: para znaków + emblematy ośrodków
   ========================================================== */

.logo-text strong {
  font-size: 14.5px;
  line-height: 1.25;
  max-width: 200px;
}

.hero-brand {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: clamp(20px, 2.6vw, 30px) clamp(22px, 3vw, 36px) clamp(18px, 2.2vw, 24px);
  border: 1px solid var(--line-ink);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.025);
}

.hero-brand .lockup {
  justify-self: auto;
}

.hero-brand .lockup-dwsz img {
  height: clamp(190px, 20vw, 250px);
}

.hero-brand .lockup-womp img {
  width: clamp(150px, 16vw, 200px);
}

.hero-brand .units-row {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-ink);
  width: 100%;
  gap: clamp(14px, 2vw, 28px);
}

.hero-brand .units-row img {
  height: 54px;
}

.footer-crest-wet {
  height: 64px;
  width: auto;
  flex: none;
}

@media (max-width: 900px) {
  .hero-brand {
    order: -1;
    justify-self: stretch;
    gap: 16px;
  }

  .hero-brand .lockup {
    order: 0;
    justify-self: auto;
  }

  .hero-brand .lockup-dwsz img {
    height: 150px;
  }

  .hero-brand .lockup-womp img {
    width: 120px;
  }
}

@media (max-width: 760px) {
  .hero-brand {
    padding: 16px 14px 14px;
    gap: 12px;
  }

  .hero-brand .lockup-dwsz img {
    height: 124px;
  }

  .hero-brand .lockup-womp img {
    width: 98px;
  }

  .hero-brand .units-row {
    padding-top: 12px;
    gap: 10px 14px;
  }

  .hero-brand .units-row img {
    height: 40px;
  }

  .footer-crest-wet {
    height: 52px;
  }
}

@media (max-width: 430px) {
  .logo-text span {
    display: none;
  }

  .logo-text strong {
    font-size: 13px;
    max-width: 170px;
  }
}

/* zakładki dni bez podpisów */
.day-tab strong {
  font-size: 15px;
}

/* linki w wierszach kontaktu (tel., e-mail) */
.contact-list .detail a {
  color: var(--accent);
  border-bottom: 1px solid rgba(150, 45, 49, 0.32);
}

.contact-list .detail a:hover {
  border-bottom-color: var(--accent);
}

.contact-list .detail + .detail {
  margin-top: 4px;
}

.contact-list .detail {
  display: block;
}

/* zespół organizacyjny — lista osób w jednym wierszu kontaktu */
.contact-list .team {
  list-style: none;
  margin: 2px 0 12px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.contact-list .team li {
  border: 0;
  padding: 0;
}

.contact-list .team .name {
  font-size: 1rem;
  margin-bottom: 2px;
}

.contact-list .team-phone {
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

/* ==========================================================
   OKOLICA — mapa radarowa
   ========================================================== */

.radar {
  margin: 0 0 clamp(24px, 4vw, 40px);
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(14px, 2.4vw, 28px);
}

.radar-svg {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.radar .ring {
  fill: none;
  stroke: rgba(224, 187, 109, 0.28);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}

.radar .axis {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
}

.radar text {
  font-family: var(--font-mono);
}

.radar .ring-lbl {
  font-size: 10px;
  letter-spacing: 0.08em;
  fill: rgba(224, 187, 109, 0.7);
}

.radar .north {
  font-size: 11px;
  letter-spacing: 0.2em;
  fill: var(--text-3);
}

.radar .hotel circle {
  fill: var(--accent-ink);
}

.radar .hotel-ring {
  fill: none !important;
  stroke: var(--accent-ink);
  stroke-width: 1;
  opacity: 0.6;
}

.radar .hotel-lbl {
  font-size: 11px;
  letter-spacing: 0.08em;
  fill: var(--accent-ink);
}

.radar .pin {
  cursor: pointer;
  outline: none;
}

.radar .pin-halo {
  fill: rgba(150, 45, 49, 0);
  transition: fill 0.2s var(--ease);
}

.radar .pin-dot {
  fill: var(--accent);
  stroke: var(--text-ink);
  stroke-width: 1.5;
  transition: fill 0.2s var(--ease);
}

.radar .pin-num {
  font-size: 11px;
  font-weight: 600;
  fill: #fff;
  pointer-events: none;
}

.radar .lbl {
  font-size: 12px;
  fill: var(--text-ink-2);
  transition: fill 0.2s var(--ease);
}

.radar .leader {
  stroke: rgba(242, 239, 232, 0.35);
  stroke-width: 1;
}

.radar .true-dot {
  fill: rgba(242, 239, 232, 0.6);
}

.radar .pin:hover .pin-halo,
.radar .pin:focus-visible .pin-halo {
  fill: rgba(150, 45, 49, 0.28);
}

.radar .pin:hover .pin-dot,
.radar .pin:focus-visible .pin-dot {
  fill: #b83a3f;
}

.radar .pin:hover .lbl,
.radar .pin:focus-visible .lbl {
  fill: var(--text-ink);
}

.radar figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-ink-2);
}

.spot-top {
  align-items: center;
}

.spot-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-right: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}

.spot:target {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(150, 45, 49, 0.14);
}

@media (max-width: 760px) {
  .radar .lbl,
  .radar .ring-lbl,
  .radar .hotel-lbl {
    display: none;
  }

  .radar .pin-dot {
    r: 12;
  }

  .radar .pin-num {
    font-size: 13px;
  }

  .radar figcaption {
    font-size: 12px;
  }
}

@media print {
  .radar {
    display: none !important;
  }
}

/* mapa okolicy na podkładzie OSM */
.radar .map-svg {
  max-width: 100%;
  border-radius: var(--r);
}

.radar .map-svg .ring {
  stroke: rgba(224, 187, 109, 0.42);
  stroke-dasharray: 4 6;
}

.radar .map-svg .ring-lbl {
  font-size: 13px;
  fill: rgba(224, 187, 109, 0.9);
}

.radar .map-svg .pin-num {
  font-size: 14px;
}

.radar .map-svg .lbl {
  font-size: 15px;
  fill: #f2efe8;
  paint-order: stroke;
  stroke: rgba(20, 17, 14, 0.85);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.radar .map-svg .hotel-lbl {
  font-size: 14px;
  paint-order: stroke;
  stroke: rgba(20, 17, 14, 0.85);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.radar .map-svg .inset rect {
  fill: rgba(20, 17, 14, 0.82);
  stroke: rgba(224, 187, 109, 0.35);
  stroke-width: 1;
}

.radar .map-svg .inset path {
  fill: rgba(255, 255, 255, 0.06);
  stroke: rgba(242, 239, 232, 0.55);
  stroke-width: 1.2;
}

.radar .map-svg .inset-lbl {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: var(--text-ink-2);
}

.radar .map-svg .inset-dot {
  fill: var(--accent);
}

.radar .map-svg .inset-ring {
  fill: none;
  stroke: var(--accent-ink);
  stroke-width: 1.2;
}

@media (max-width: 760px) {
  .radar .map-svg .pin-dot {
    r: 20;
  }

  .radar .map-svg .pin-halo {
    r: 30;
  }

  .radar .map-svg .pin-num {
    font-size: 22px;
  }

  .radar .map-svg .hotel circle {
    r: 14;
  }

  .radar .map-svg .inset {
    display: none;
  }
}

/* jasna wersja mapy okolicy */
.radar-light {
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.radar-light .map-svg .ring {
  stroke: rgba(138, 106, 44, 0.55);
}

.radar-light .map-svg .ring-lbl {
  fill: var(--brass);
}

.radar-light .map-svg .pin-dot {
  r: 15;
  fill: var(--accent);
  stroke: #fff;
  stroke-width: 2.5;
}

.radar-light .map-svg .pin-halo {
  fill: rgba(150, 45, 49, 0);
}

.radar-light .map-svg .pin:hover .pin-halo,
.radar-light .map-svg .pin:focus-visible .pin-halo {
  fill: rgba(150, 45, 49, 0.18);
}

.radar-light .map-svg .pin-num {
  font-size: 15px;
}

.radar-light .map-svg .lbl {
  font-size: 15px;
  font-weight: 500;
  fill: var(--text);
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 5px;
}

.radar-light .map-svg .pin:hover .lbl,
.radar-light .map-svg .pin:focus-visible .lbl {
  fill: var(--accent);
}

.radar-light .map-svg .hotel circle {
  fill: #c9a24d;
  stroke: var(--ink);
  stroke-width: 2;
}

.radar-light .map-svg .hotel-ring {
  fill: none !important;
  stroke: var(--ink);
  stroke-width: 1.2;
  opacity: 0.55;
}

.radar-light .map-svg .hotel-lbl {
  fill: var(--ink);
  font-weight: 500;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 5px;
}

.radar-light .map-svg .inset rect {
  fill: rgba(255, 253, 248, 0.94);
  stroke: var(--line-2);
}

.radar-light .map-svg .inset path {
  fill: rgba(20, 17, 14, 0.06);
  stroke: var(--text-2);
}

.radar-light .map-svg .inset-lbl {
  fill: var(--text-2);
}

.radar-light .map-svg .inset-ring {
  stroke: var(--accent);
}

.radar-light figcaption {
  color: var(--text-2);
}

@media (max-width: 760px) {
  .radar-light .map-svg .pin-dot {
    r: 22;
  }

  .radar-light .map-svg .pin-num {
    font-size: 24px;
  }
}

/* czas wolny — podtytuły sekcji i karty hotelowe */
.subhead {
  margin: 0 0 clamp(18px, 3vw, 26px);
}

.subhead h2 {
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  margin: 6px 0 10px;
}

.subhead .section-intro {
  max-width: 64ch;
}

.spots-hotel {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.spot-hotel {
  background: var(--paper);
}

.spots + .placeholder-note {
  margin-top: 14px;
}

.placeholder-note + .subhead {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--line);
}

/* ---------- prognoza pogody (index) ---------- */

.weather {
  padding: 0;
}

.weather-card {
  margin: clamp(24px, 4vw, 40px) 0 0;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--brass);
  border-radius: 0 var(--r) var(--r) 0;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3.5vw, 32px);
}

.weather-card .eyebrow {
  color: var(--brass);
}

.weather-card h2 {
  font-size: 1.35rem;
  margin: 6px 0 18px;
}

.wx-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.wx-day {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.wx-date {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}

.wx-temp {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1;
}

.wx-min,
.wx-rain {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}

.wx-desc {
  font-size: 14px;
  color: var(--text-2);
  margin: 4px 0 2px;
}

.wx-note {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--text-3);
}

@media (max-width: 760px) {
  .wx-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weather-card {
    padding: 18px;
  }
}

@media print {
  .weather {
    display: none !important;
  }
}

/* blok marki w hero — powiększony */
.hero-brand {
  gap: 26px;
  padding: clamp(24px, 3vw, 36px) clamp(26px, 3.4vw, 44px) clamp(20px, 2.6vw, 30px);
}

.hero-brand .lockup {
  gap: clamp(22px, 3vw, 40px);
}

.hero-brand .lockup-dwsz img {
  height: clamp(230px, 24vw, 304px);
}

.hero-brand .lockup-womp img {
  width: clamp(180px, 19vw, 242px);
}

.hero-brand .units-row {
  padding-top: 22px;
  gap: clamp(18px, 2.4vw, 34px);
}

.hero-brand .units-row img {
  height: 68px;
}

.hero-brand .units-row span {
  font-size: 11px;
}

@media (max-width: 900px) {
  .hero-brand .lockup-dwsz img {
    height: 176px;
  }

  .hero-brand .lockup-womp img {
    width: 140px;
  }

  .hero-brand .units-row img {
    height: 52px;
  }
}

@media (max-width: 760px) {
  .hero-brand {
    padding: 18px 16px 16px;
    gap: 14px;
  }

  .hero-brand .lockup-dwsz img {
    height: 150px;
  }

  .hero-brand .lockup-womp img {
    width: 118px;
  }

  .hero-brand .units-row img {
    height: 46px;
  }
}

/* hero — lewy blok tekstu wyśrodkowany w pionie i poziomie */
.hero-grid {
  align-items: center;
}

.hero-text {
  text-align: center;
  justify-self: center;
  max-width: 34rem;
}

.hero-text h1 {
  margin-inline: auto;
}

.hero-meta {
  justify-content: center;
}

.hero-meta div {
  text-align: left;
}

@media (max-width: 900px) {
  .hero-grid {
    align-items: start;
  }

  .hero-text {
    justify-self: stretch;
    max-width: none;
  }
}

/* skróty na stronie głównej bez numeracji */
.guide a {
  grid-template-columns: minmax(0, 1fr) 40px;
}

@media (max-width: 760px) {
  .guide a {
    grid-template-columns: minmax(0, 1fr) 24px;
  }
}

/* ==========================================================
   PROGRAM wg zatwierdzonego planu (2026-09-24): przedziały godzin, cel odprawy
   ========================================================== */

/* godzina: start · krótka kreska · koniec */
.timeline-time {
  justify-self: start;
  text-align: center;
  font-weight: 500;
}

.timeline-time small {
  display: block;
  font: inherit;
  color: inherit;
}

.timeline-time small::before {
  content: "–";
  display: block;
  line-height: 1.1;
}

/* treść: temat pogrubiony, pod nim rozwinięcie, na dole miejsce · odpowiedzialny */
.timeline-body h4 {
  line-height: 1.3;
  margin-bottom: 4px;
}

.timeline-sub {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-2);
}

.timeline-sub li {
  position: relative;
  padding-left: 15px;
}

.timeline-sub li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass);
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-top: 9px !important;
}

.timeline-place {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b5220;
}

.timeline-who {
  font-size: 13.5px;
  color: var(--text-3);
}

.timeline-who-block {
  flex-basis: 100%;
  line-height: 1.5;
}

.goals {
  margin: 0;
  padding-left: 1.5em;
  max-width: 64ch;
  display: grid;
  gap: 10px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-2);
}

.goals li::marker {
  font-family: var(--font-mono);
  color: var(--accent);
}

@media print {
  .program-actions {
    display: none !important;
  }
}

/* ==========================================================
   PROGRAM: dwie kolumny na komputerze — program po lewej, „Cel odprawy” przyklejony po prawej
   ========================================================== */

.program-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.program-aside {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 30px);
}

.program-aside .section-title {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.program-aside .goals {
  font-size: 14.5px;
  gap: 8px;
}

@media (min-width: 1000px) {
  .program-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: clamp(36px, 5vw, 72px);
  }

  .program-aside {
    position: sticky;
    top: 96px;
  }
}

@media print {
  .program-layout {
    grid-template-columns: 1fr;
  }

  .program-aside {
    position: static;
    border: 0;
    padding: 0;
  }
}

/* emblematy jako przewijana rolka; nie poszerza karty (width:0 + min-width:100%) */
.hero-brand .units-marquee {
  width: 0;
  min-width: 100%;
  overflow: hidden;
  padding-top: 22px;
  border-top: 1px solid var(--line-ink);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.hero-brand .units-track {
  display: flex;
  width: max-content;
  animation: units-roll 44s linear infinite;
}

.hero-brand .units-marquee:hover .units-track {
  animation-play-state: paused;
}

.hero-brand .units-marquee .units-row {
  display: flex;
  flex-wrap: nowrap;
  width: auto;
  margin: 0;
  padding: 0 34px 0 0;
  border: 0;
  gap: 34px;
}

.hero-brand .units-marquee .units-row span {
  white-space: nowrap;
}

@keyframes units-roll {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 760px) {
  .hero-brand .units-marquee {
    padding-top: 14px;
  }

  .hero-brand .units-track {
    animation-duration: 34s;
  }

  .hero-brand .units-marquee .units-row {
    gap: 26px;
    padding-right: 26px;
  }
}

/* z JS (main.js → initUnitsMarquee): rolka przewijana skryptem, przesuwalna palcem, pętla bez końca;
   animacja CSS zostaje tylko jako zapas, gdyby skrypt się nie wczytał */
.hero-brand .units-marquee.is-js {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.hero-brand .units-marquee.is-js::-webkit-scrollbar {
  display: none;
}

.hero-brand .units-marquee.is-js .units-track {
  animation: none;
}

/* „Ogranicz ruch” (iPhone: Dostępność → Ruch): bez automatycznego ruchu */
@media (prefers-reduced-motion: reduce) {
  .hero-brand .units-track {
    animation: none !important;
  }

  .hero-brand .units-marquee {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .hero-brand .units-marquee::-webkit-scrollbar {
    display: none;
  }

  .hero-brand .units-marquee:not(.is-js) .units-row[aria-hidden] {
    display: none;
  }
}

/* QR w stopce („otwórz na telefonie”) — na telefonie zbędny */
@media (max-width: 760px) {
  .footer-qr {
    display: none;
  }
}

/* stopka na telefonie: herb, nazwa odprawy i podpis wyśrodkowane */
@media (max-width: 760px) {
  .footer-brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .footer-grid h3,
  .footer-grid p {
    margin-inline: auto;
  }

  .footer-base {
    justify-content: center;
    text-align: center;
  }
}

/* odnośniki w stopce jako etykiety z delikatną obwódką */
.site-footer .footer-nav {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.site-footer .footer-nav a {
  width: auto;
}

.site-footer .footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line-ink);
  border-radius: var(--r);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-ink-2);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.site-footer .footer-nav a:hover {
  color: var(--accent-ink);
  border-color: rgba(224, 187, 109, 0.5);
  background: rgba(224, 187, 109, 0.06);
}

@media (max-width: 760px) {
  .site-footer .footer-nav {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .site-footer .footer-nav a {
    min-height: 44px;
    padding: 10px 16px;
  }
}

/* telefon: cień pod DWSZ i WOMP proporcjonalny do małych godeł — duży (34 px) wychodził
   poza godła i kartę, dając ciemne, ucięte plamy; na komputerze bez zmian */
@media (max-width: 760px) {
  .hero-brand .lockup-item img {
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
  }
}

/* telefon: strona startowa wyśrodkowana — Termin/Miejsce, nagłówek i karty „Trzy rzeczy warte sprawdzenia” */
@media (max-width: 760px) {
  .hero-meta {
    justify-content: center;
    text-align: center;
  }

  .hero-meta div {
    flex: 1 1 0;
    text-align: center;
  }

  .home-guide .section-head {
    text-align: center;
    margin-inline: auto;
  }

  .home-guide .section-intro {
    margin-inline: auto;
  }

  .home-guide .guide a {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    gap: 10px;
  }

  .home-guide .guide-arrow {
    justify-self: center;
    font-size: 18px;
    transform: rotate(0);
  }
}


/* ---------- PRZYJAZD v1 — informacje na dzień przyjazdu ---------- */

.info-text .info-sub {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 26px 0 8px;
}

.info-text .info-sub:first-child {
  margin-top: 0;
}

.info-bullets {
  margin: 0;
  padding-left: 18px;
  max-width: 60ch;
  color: var(--text-2);
}

.info-bullets li + li {
  margin-top: 6px;
}

.eat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 60ch;
  border-top: 1px solid var(--line);
}

.eat-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 16px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.eat-list strong {
  font-weight: 600;
  color: var(--text);
}

.eat-list span {
  grid-column: 1;
  font-size: 14px;
  color: var(--text-2);
}

.eat-list .inline-link {
  grid-column: 2;
  grid-row: 1 / span 2;
  white-space: nowrap;
}

/* nagranie prezentacji (prezentacja.php) */
.video-page { max-width: 960px; }
.video-key { display: grid; gap: 10px; max-width: 420px; }
.video-key label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.video-key-row { display: flex; gap: 10px; }
.video-key input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; font: inherit; font-size: 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper-2); color: var(--text); }
.video-key input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.video-error { margin: 0; color: var(--accent); font-size: 14px; }
.video-wait { color: var(--text-2); }
.video-player { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r); }
.video-actions { margin-top: 16px; }
.video-actions .btn-ghost { display: inline-block; }

/* po odprawie: zamiast licznika przycisk do zdjęć */
.btn-ended {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 6px;
  padding: 12px 26px;
  border: 1px solid rgba(224, 187, 109, 0.55);
  border-radius: var(--r);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.btn-ended:hover {
  background: rgba(224, 187, 109, 0.1);
  color: var(--text-ink);
}
.video-key-row .btn-ghost { width: auto; flex: none; }
