/* Zvučni atlas hrvatskih govora — redizajn originala.
   Paleta izvedena iz originala (#5c8dc8 plava, #b5cdeb svijetloplava, #f5f5f5 siva). */
:root {
  --brand: #5c8dc8;        /* originalna plava — točke, dekor */
  --brand-600: #3d6fb0;    /* plava panela/gumba — AA kontrast s bijelim */
  --brand-700: #2f5a93;    /* hover, linkovi */
  --brand-200: #b5cdeb;    /* originalna svijetloplava */
  --brand-100: #dce8f6;
  --brand-50: #eff5fc;
  --ink: #1c2633;
  --text: #2f3a48;
  --muted: #5d6a7a;
  --line: #e2e8f0;
  --paper: #f5f6f8;        /* originalna siva podloga */
  --bg: #ffffff;

  --kaj: #c7832a;          /* kajkavsko */
  --ca: #23998b;           /* čakavsko */
  --sto: #3d6fb0;          /* štokavsko */

  --sans: 'Noto Sans', Tahoma, Geneva, sans-serif;
  --serif: 'Noto Serif', Georgia, serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --r: 14px; --r-sm: 8px;
  --shadow: 0 1px 2px rgba(28, 38, 51, .05), 0 8px 24px -12px rgba(28, 38, 51, .18);
  --wrap: 1180px;
  --top-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.65 var(--sans);
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-600); }
:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); }
h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 var(--s4); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s5); }
.kicker { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-600); margin-bottom: var(--s3); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .top { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(10px); } }
.top__in { height: var(--top-h); display: flex; align-items: center; gap: var(--s5); }
.brand { display: flex; align-items: center; gap: var(--s3); text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand img { width: 40px; height: auto; flex: none; }
.brand__name { font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.2; }
.brand:hover { color: var(--brand-700); }
.nav { display: flex; gap: var(--s1); }
.nav__link {
  position: relative; padding: var(--s2) var(--s3); color: var(--text); text-decoration: none; font-size: .95rem; border-radius: var(--r-sm);
}
.nav__link:hover { color: var(--brand-700); background: var(--brand-50); }
.nav__link.is-active { color: var(--brand-700); font-weight: 600; }
.nav__link.is-active::after { content: ''; position: absolute; left: var(--s3); right: var(--s3); bottom: -15px; height: 2px; background: var(--brand-600); border-radius: 2px; }

.lang { position: relative; }
.lang__btn {
  display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 var(--s3);
  border: 1px solid var(--line); background: var(--bg); color: var(--text); border-radius: 999px; font: 600 .82rem var(--sans); cursor: pointer;
}
.lang__btn:hover { border-color: var(--brand-200); color: var(--brand-700); }
.lang__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang__btn .chev { width: 14px; height: 14px; stroke-width: 2; }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; min-width: 180px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); z-index: 60;
}
.lang__menu button {
  display: flex; align-items: center; gap: var(--s3); width: 100%; padding: 10px 12px; border: 0; background: none;
  font: 400 .92rem var(--sans); color: var(--text); text-align: left; border-radius: 8px; cursor: pointer;
}
.lang__menu button:hover { background: var(--brand-50); }
.lang__menu button[aria-checked="true"] { color: var(--brand-700); font-weight: 600; }
.lang__code { font-size: .72rem; font-weight: 700; color: var(--muted); width: 22px; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.burger i { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-open .burger i:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger i:nth-child(3) { opacity: 0; }
.nav-open .burger i:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- footer ---------- */
.foot { margin-top: var(--s9); background: var(--brand-50); border-top: 1px solid var(--brand-100); font-size: .9rem; }
.foot__in { padding-top: var(--s6); padding-bottom: var(--s6); display: grid; gap: var(--s2); justify-items: center; text-align: center; }
.foot__nav { display: flex; gap: var(--s3); align-items: center; color: var(--brand-200); }
.foot__nav a { color: var(--brand-700); text-decoration: none; font-weight: 600; padding: var(--s2); }
.foot__nav a:hover, .foot__nav a[aria-current] { text-decoration: underline; }
.foot__copy { margin: 0; color: var(--muted); }
.foot__sig { margin: 0; font-size: .78rem; color: var(--muted); opacity: .85; }
.foot__sig a { color: inherit; }

/* ---------- gumbi, čipovi, kartice ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s5);
  border-radius: 999px; font: 600 .95rem var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.btn--primary { background: var(--brand-600); color: #fff; }
.btn--primary:hover { background: var(--brand-700); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--bg); }
.btn--ghost:hover { border-color: var(--brand-200); color: var(--brand-700); }
.btn--light { background: #fff; color: var(--brand-700); }
.btn--light:hover { background: var(--brand-50); color: var(--brand-700); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--paper); color: var(--text); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.chip--kaj { color: #8a5513; background: #fbf1e3; }
.chip--ca { color: #136b61; background: #e2f4f1; }
.chip--sto { color: var(--brand-700); background: var(--brand-50); }

.page-head { padding: var(--s8) 0 var(--s6); }
.page-head p { color: var(--muted); max-width: 62ch; margin: var(--s3) 0 0; font-size: 1.05rem; }

/* ---------- naslovnica ---------- */
.hero { padding: var(--s7) 0 var(--s8); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s5); align-items: stretch; }
.hero__art {
  background: radial-gradient(120% 90% at 50% 40%, #fff 0%, var(--paper) 70%); border-radius: var(--r);
  display: grid; place-items: center; padding: var(--s7) var(--s6); position: relative; overflow: hidden;
}
.hero__art img { width: min(400px, 82%); filter: drop-shadow(0 18px 24px rgba(28, 38, 51, .12)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.hero__wave { position: absolute; inset: auto 0 22px; display: flex; justify-content: center; gap: 4px; height: 28px; align-items: center; opacity: .55; }
.hero__wave i { width: 3px; border-radius: 3px; background: var(--brand); animation: wave 1.6s ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 6px; } 50% { height: 26px; } }
.panel {
  background: var(--brand-600); color: #fff; border-radius: var(--r); padding: var(--s7) var(--s6);
  display: flex; flex-direction: column; justify-content: center;
}
.panel h1, .panel h2, .panel h3 { color: #fff; }
.panel .kicker { color: var(--brand-100); }
.panel__lead { font-size: 1.08rem; line-height: 1.7; margin: var(--s5) 0 var(--s6); color: #f1f6fd; max-width: 60ch; }
.panel__lead strong { color: #fff; }
.panel__cta { display: flex; flex-wrap: wrap; gap: var(--s3); }
.panel .btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.panel .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: var(--s6) var(--s5); text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 600; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .9rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin-top: var(--s8); }
.card {
  display: flex; flex-direction: column; gap: var(--s3); padding: var(--s6); border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; color: var(--text); background: var(--bg); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: var(--brand-200); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.card__ico { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-50); display: grid; place-items: center; color: var(--brand-600); }
.card__ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card p { margin: 0; color: var(--muted); flex: 1; }
.card__go { font-weight: 600; color: var(--brand-700); font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.card__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.card:hover .card__go svg { transform: translateX(3px); }

/* ---------- tekstualne stranice ---------- */
.prose { max-width: 72ch; }
.prose p { font-size: 1.05rem; }
.features { list-style: none; counter-reset: f; padding: 0; margin: var(--s5) 0 var(--s7); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.features li { counter-increment: f; }
.features a {
  display: grid; grid-template-columns: 36px 1fr; gap: var(--s3); align-items: start; height: 100%;
  padding: var(--s4) var(--s5); border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--text); transition: border-color .2s, background .2s;
}
.features a::before {
  content: counter(f); width: 32px; height: 32px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700);
  display: grid; place-items: center; font-weight: 700; font-size: .85rem;
}
.features a:hover { border-color: var(--brand-200); background: var(--brand-50); }
.features .tag { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 2px; }
.callout { margin-top: var(--s7); padding: var(--s6); border-radius: var(--r); background: var(--paper); display: grid; grid-template-columns: 1fr auto; gap: var(--s5); align-items: center; }
.callout h2 { font-size: 1.25rem; margin-bottom: var(--s2); }
.callout p { margin: 0; color: var(--text); }

.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s7); }
.role { padding: var(--s5) 0; border-top: 1px solid var(--line); }
.role dt { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600); margin-bottom: var(--s2); }
.role dd { margin: 0; color: var(--ink); font-size: 1.05rem; }
.role--wide { grid-column: 1 / -1; }
.role--wide dd { font-size: 1rem; color: var(--text); }
.fund { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.fund p { margin: 0; padding: var(--s4) var(--s5); background: var(--paper); border-radius: var(--r-sm); font-size: .95rem; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--s5); }
.contact__card { padding: var(--s6); border-radius: var(--r); background: var(--brand-600); color: #fff; }
.contact__card h2 { color: #fff; font-size: 1.4rem; }
.contact__card p { color: #e8f0fb; margin: var(--s2) 0 0; }
.contact__list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); }
.contact__list li { display: grid; grid-template-columns: 44px 1fr; gap: var(--s3); align-items: center; padding: var(--s4) var(--s5); }
.contact__list li + li { border-top: 1px solid var(--line); }
.contact__list .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; }
.contact__list .ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact__list small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.contact__list a { font-weight: 600; word-break: break-word; }

/* ---------- atlas (zemljovid + panel) ---------- */
.atlas { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s5); align-items: start; }
.atlas--play { grid-template-areas: "now side" "map side" "picker side"; row-gap: 0; }
.atlas--play .now { grid-area: now; }
.atlas--play .map { grid-area: map; }
.atlas--play .picker { grid-area: picker; }
.atlas--play .side { grid-area: side; }
.map { position: relative; background: #f8fbfe; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.map__svg { display: block; width: 100%; height: auto; touch-action: manipulation; }
.map__land path { fill: #eceef1; stroke: #d6dae0; stroke-width: 1; vector-effect: non-scaling-stroke; }
.map__land path.is-hr { fill: #dde8f5; stroke: #a9c3e6; stroke-width: 1.2; }
.dot { cursor: pointer; outline: none; }
.dot__hit { fill: transparent; }
.dot__core { fill: var(--sto); stroke: #fff; stroke-width: 3; transition: r .2s; }
.dot--kaj .dot__core { fill: var(--kaj); }
.dot--ca .dot__core { fill: var(--ca); }
.dot__ring { fill: none; stroke: var(--brand-600); stroke-width: 3; opacity: 0; transition: opacity .2s; }
.dot:hover .dot__core, .dot:focus-visible .dot__core { r: 10; }
.dot:focus-visible .dot__ring { opacity: .6; }
.dot.is-sel .dot__core { r: 11; }
.dot.is-sel .dot__ring { opacity: 1; }
.dot.is-playing .dot__ring { animation: ping 1.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ping { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.dot.is-off { cursor: default; }
.dot.is-off .dot__core { fill: #c4cad3; r: 6; }
.map__label text { font: 600 22px var(--sans); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 6px; stroke-linejoin: round; pointer-events: none; }
.map__label { opacity: 0; transition: opacity .15s; }
.map__label.is-on { opacity: 1; }
.legend { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); padding: var(--s3) var(--s4); border-top: 1px solid var(--line); background: var(--bg); font-size: .82rem; color: var(--muted); align-items: center; }
.legend b { font-weight: 600; color: var(--text); margin-right: var(--s1); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; }

.side { position: sticky; top: calc(var(--top-h) + var(--s4)); }
.side .panel { padding: var(--s6) var(--s5); justify-content: flex-start; min-height: 420px; }
.side .panel h2 { font-size: 1.3rem; margin-bottom: var(--s4); }
.howto { margin: 0; padding: 0; list-style: none; counter-reset: h; display: grid; gap: var(--s3); }
.howto li { counter-increment: h; display: grid; grid-template-columns: 28px 1fr; gap: var(--s3); color: #eef4fc; font-size: .95rem; }
.howto li::before { content: counter(h); width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.panel p { color: #eef4fc; }

/* kartica mjesta (u bijelom panelu) */
.place { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s5); box-shadow: var(--shadow); }
.place__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s4); gap: var(--s3); }
.place__back { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--brand-700); font: 600 .88rem var(--sans); cursor: pointer; padding: var(--s2) 0; min-height: 44px; }
.place__back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.place__head { display: flex; align-items: baseline; gap: var(--s3); flex-wrap: wrap; }
.place__name { font-size: 1.6rem; }
.place__name:focus { outline: none; }
.place__meta { color: var(--muted); font-size: .9rem; }
.place__tags { margin: var(--s3) 0; }
.place__speaker { font-size: .95rem; margin: 0 0 var(--s4); }
.place__speaker span { color: var(--muted); }
.place__intro { font-size: .96rem; }
.place__note { font-size: .82rem; color: var(--muted); font-style: italic; margin-bottom: var(--s2); }
.place__more { border-top: 1px solid var(--line); padding-top: var(--s3); }
.place__more summary { cursor: pointer; font-weight: 600; color: var(--brand-700); font-size: .92rem; list-style: none; display: flex; align-items: center; gap: 6px; min-height: 36px; }
.place__more summary::-webkit-details-marker { display: none; }
.place__more summary::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; margin-left: 4px; }
.place__more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.place__more h4 { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: var(--s4) 0 var(--s2); }
.place__links, .place__works { margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.place__links li + li { margin-top: 4px; }
.place__links a { display: inline-flex; align-items: center; gap: 4px; }
.place__links svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.place__works li { padding: 6px 0 6px var(--s4); position: relative; color: var(--text); line-height: 1.5; }
.place__works li::before { content: ''; position: absolute; left: 0; top: 14px; width: 6px; height: 1px; background: var(--muted); }
.place__go { margin-top: var(--s4); width: 100%; }

/* popis govora */
.plist { columns: 2; column-gap: var(--s5); margin: 0; padding: 0; list-style: none; }
.plist li { break-inside: avoid; }
.plist button {
  display: flex; align-items: center; gap: var(--s2); width: calc(100% + 16px); min-height: 32px; padding: 3px 8px; margin: 0 -8px; border: 0; border-radius: 6px;
  background: none; color: #fff; font: 400 .93rem/1.3 var(--sans); text-align: left; cursor: pointer;
}
@media (pointer: coarse) { .plist button { min-height: 44px; } }
.plist button:hover, .plist button:focus-visible { background: rgba(255, 255, 255, .14); }
.plist i { width: 8px; height: 8px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); }
.plist small { opacity: .7; font-size: .75rem; }
i.k-kaj { background: var(--kaj); } i.k-ca { background: var(--ca); } i.k-sto { background: #9dc0ec; }
.legend i.k-sto { background: var(--sto); }

/* interaktivni zemljovid — odabir rečenice */
.now {
  display: grid; grid-template-columns: 44px 1fr 44px; gap: var(--s3); align-items: center; margin-bottom: var(--s4);
  padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r); background: var(--bg);
}
.now__txt { text-align: center; min-width: 0; }
.now__no { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600); }
.now__s { font: italic 400 clamp(1.15rem, 1rem + .6vw, 1.45rem)/1.35 var(--serif); color: var(--ink); margin: 2px 0; }
.now__tr { font-size: .85rem; color: var(--muted); margin: 0; }
.iconbtn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.iconbtn:hover:not(:disabled) { border-color: var(--brand-200); color: var(--brand-700); background: var(--brand-50); }
.iconbtn:disabled { opacity: .35; cursor: default; }
.iconbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.picker { margin-top: var(--s5); display: grid; grid-template-columns: 220px minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.picker__cats { background: var(--paper); padding: var(--s3); display: flex; flex-direction: column; gap: 2px; }
.picker__h { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: var(--s2) var(--s3); margin: 0; }
.cat {
  text-align: left; border: 0; background: none; padding: 8px var(--s3); border-radius: 8px; font: 400 .93rem var(--sans); color: var(--text); cursor: pointer; min-height: 38px;
}
.cat:hover { background: var(--bg); }
.cat[aria-pressed="true"] { background: var(--brand-600); color: #fff; font-weight: 600; }
.picker__main { padding: var(--s3) var(--s4) var(--s4); min-width: 0; }
.picker__desc { font-size: .9rem; color: var(--muted); margin: var(--s2) var(--s3) var(--s3); }
.sents { list-style: none; margin: 0; padding: 0; }
.sent {
  display: grid; grid-template-columns: 30px 1fr; gap: var(--s2); width: 100%; text-align: left; border: 0; background: none; cursor: pointer;
  padding: 8px var(--s3); border-radius: 8px; font: 400 .98rem/1.45 var(--sans); color: var(--text); min-height: 40px; align-items: baseline;
}
.sent__n { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.sent:hover { background: var(--brand-50); }
.sent[aria-pressed="true"] { background: var(--brand-50); color: var(--brand-700); font-weight: 600; box-shadow: inset 3px 0 0 var(--brand-600); }

/* player u kartici mjesta */
.player { display: grid; grid-template-columns: 56px 1fr; gap: var(--s4); align-items: center; padding: var(--s4); margin: 0 0 var(--s4); border-radius: 12px; background: var(--brand-50); }
.player__btn { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--brand-600); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .15s; }
.player__btn:hover { background: var(--brand-700); }
.player__btn:active { transform: scale(.95); }
.player__btn svg { width: 22px; height: 22px; fill: currentColor; }
.player__btn .i-pause { display: none; }
.player.is-playing .i-play { display: none; }
.player.is-playing .i-pause { display: block; }
.player__s { font: italic 400 1.02rem/1.35 var(--serif); color: var(--ink); margin: 0 0 var(--s2); }
.player__bar { height: 4px; border-radius: 4px; background: var(--brand-100); overflow: hidden; }
.player__bar i { display: block; height: 100%; width: 0; background: var(--brand-600); transition: width .15s linear; }
.player__msg { font-size: .82rem; color: #a3332b; margin: var(--s2) 0 0; }
.player--none { grid-template-columns: 1fr; color: var(--muted); font-size: .92rem; }

/* demo notice — usklađeno s paletom stranice */
#demo-notice {
  --dn-bg: #ffffff; --dn-color: #1c2633; --dn-muted: #5d6a7a; --dn-accent: #3d6fb0; --dn-accent-hover: #2f5a93; --dn-accent-color: #fff;
  --dn-border: #e2e8f0; --dn-radius: 14px; --dn-shadow: 0 12px 32px -12px rgba(28, 38, 51, .28); --dn-font: 'Noto Sans', Tahoma, sans-serif;
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .atlas { grid-template-columns: 1fr; }
  .atlas--play { grid-template-areas: "now" "map" "side" "picker"; }
  .atlas--play .side { margin-top: var(--s4); }
  .side { position: static; }
  .side .panel { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --top-h: 64px; }
  .burger { display: flex; }
  .nav {
    position: fixed; inset: var(--top-h) 0 0 0; background: #fff; flex-direction: column; gap: 0; padding: var(--s4) var(--s5);
    overflow-y: auto; overscroll-behavior: contain; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-open .top { background: #fff; }
  .nav__link { font-size: 1.15rem; padding: var(--s4) var(--s2); border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link.is-active::after { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .features, .roles, .fund, .contact { grid-template-columns: 1fr; }
  .callout { grid-template-columns: 1fr; }
  .picker { grid-template-columns: 1fr; }
  .picker__cats { flex-direction: row; overflow-x: auto; padding: var(--s2); scrollbar-width: thin; }
  .picker__h { display: none; }
  .cat { white-space: nowrap; flex: none; }
}
@media (max-width: 640px) {
  /* karta se smanji ~2,5×, pa točke i natpisi rastu u koordinatama karte */
  .dot__core { r: 15; stroke-width: 5; }
  .dot__ring { r: 26; stroke-width: 5; }
  .dot__hit { r: 28; }
  .dot:hover .dot__core, .dot:focus-visible .dot__core { r: 17; }
  .dot.is-sel .dot__core { r: 18; }
  .dot.is-off .dot__core { r: 10; }
  .map__label text { font-size: 42px; stroke-width: 10px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 var(--s4); }
  .brand__name { font-size: .85rem; }
  .brand img { width: 34px; }
  .panel { padding: var(--s6) var(--s5); }
  .hero { padding-top: var(--s4); }
  .hero__art { padding: var(--s6) var(--s4); }
  .page-head { padding: var(--s6) 0 var(--s5); }
  .plist { columns: 1; }
  .now { grid-template-columns: 44px 1fr 44px; padding: var(--s3); gap: var(--s2); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
