/* DOD ATPAKAĻ — publiskā lapa. Zīmola grāmata v1.0: melns dominē, sarkans = rīcība, krēms = siltums, zelts = sīkas detaļas. */

@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 900; font-display: swap; src: url(../fonts/bc-900-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 900; font-display: swap; src: url(../fonts/bc-900-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: italic; font-weight: 900; font-display: swap; src: url(../fonts/bc-900i-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: italic; font-weight: 900; font-display: swap; src: url(../fonts/bc-900i-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/barlow-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/barlow-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlow-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlow-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --black: #0A0A0A;
  --ink: #141414;
  --ink-2: #1d1d1d;
  --line: #2b2b2b;
  --red: #FF2B2B;
  --red-ink: #D91A1A; /* tumšāks sarkans tekstam uz krēma (kontrasts AA) */
  --cream: #F5ECDD;
  --cream-2: #EADFCB;
  --gold: #E2B15B;
  --muted: #B9B0A2;   /* uz melna: 8.6:1 */
  --muted-dark: #5C554B; /* uz krēma: 6.5:1 */
  --head: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --nav-h: 72px;
  --skew: -11deg;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--cream); font: 400 18px/1.55 var(--body); overflow-x: clip; }
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 .8em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--red); color: #fff; padding: 12px 18px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

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

/* Tipogrāfija: virsraksti vienmēr lielajiem burtiem, Barlow Condensed Black, slīpi kā logo */
.h-xxl, .h-xl, .h-l, .h-m, .h-s { font-family: var(--head); font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1.02; letter-spacing: .005em; margin: 0; text-wrap: balance; }
.h-xxl { font-size: clamp(44px, 6.4vw, 96px); }
.h-xl { font-size: clamp(34px, 4.2vw, 62px); }
.h-l { font-size: clamp(30px, 3.4vw, 50px); }
.h-m { font-size: clamp(24px, 2.4vw, 34px); line-height: 1; }
.h-s { font-size: clamp(22px, 2vw, 28px); line-height: 1; }
.eyebrow { font: 600 13px/1 var(--body); letter-spacing: .28em; text-transform: uppercase; color: var(--red); margin: 0 0 18px; display: inline-flex; gap: 12px; align-items: center; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; transform: skewX(var(--skew)); }
.lead { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; }
.red { color: var(--red); }
.gold { color: var(--gold); }
.prose { max-width: 60ch; }
.prose p { color: inherit; }
.muted { color: var(--muted); }

/* Pogas */
.btn { --bg: var(--red); --fg: #fff; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border: 0; background: var(--bg); color: var(--fg); font: 900 italic 21px/1 var(--head); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); transition: transform .2s var(--ease), background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); --bg: #ff4747; }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--black), 0 0 0 6px var(--gold); }
.btn-lg { min-height: 62px; padding: 18px 34px; font-size: 25px; }
.btn-ghost { --bg: transparent; --fg: var(--cream); box-shadow: inset 0 0 0 2px var(--cream); clip-path: none; }
.btn-ghost:hover { --bg: var(--cream); --fg: var(--black); }
.btn-cream { --bg: var(--cream); --fg: var(--black); }
.btn-cream:hover { --bg: #fff; }
.btn-black { --bg: var(--black); --fg: var(--cream); }
.btn-black:hover { --bg: #222; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn .arrow { width: 18px; height: 18px; }
.link { color: var(--red); font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Galvene ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--nav-h); display: flex; align-items: center; transition: background .3s, box-shadow .3s; }
.nav.is-solid { background: rgba(10, 10, 10, .94); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.2) blur(8px); }
.nav .wrap { display: flex; align-items: center; gap: 24px; max-width: none; }
.nav-logo { flex: none; display: block; width: 168px; }
.nav-logo img { width: 100%; height: auto; }
.nav-links { display: flex; gap: clamp(14px, 1.6vw, 28px); margin: 0 auto 0 12px; padding: 0; list-style: none; }
.nav-links a { font: 600 15px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; padding: 10px 0; position: relative; color: var(--cream); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--red); transition: right .25s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { right: 0; }
.nav-social { display: flex; gap: 6px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; color: var(--cream); background: transparent; border: 0; cursor: pointer; text-decoration: none; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { color: var(--red); }
.nav .btn { min-height: 46px; padding: 10px 22px; font-size: 20px; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--red); color: #fff; font: 900 italic 17px/1 var(--head); letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.menu-btn { display: none; }

@media (max-width: 1180px) {
  .nav-links, .nav-social { display: none; }
  .menu-btn { display: inline-grid; }
  .nav .btn { margin-left: auto; }
  .nav .live-pill { margin-left: auto; }
  .nav .live-pill + .nav-social + .btn { margin-left: 0; }
  .nav-logo { width: 140px; }
}
@media (max-width: 520px) {
  :root { --nav-h: 62px; }
  .nav .btn { min-height: 42px; padding: 8px 16px; font-size: 18px; }
  .nav-logo { width: 118px; }
  .nav .live-pill { padding: 7px 10px; font-size: 15px; }
}

/* Mobilā izvēlne */
.drawer { position: fixed; inset: 0; z-index: 120; background: var(--black); display: flex; flex-direction: column; padding: 18px var(--gutter) 28px; transform: translateY(-100%); transition: transform .35s var(--ease); visibility: hidden; overflow-y: auto; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; }
.drawer nav ul { list-style: none; margin: 32px 0; padding: 0; }
.drawer nav a { display: block; font: 900 italic clamp(36px, 9vw, 54px)/1.08 var(--head); text-transform: uppercase; text-decoration: none; padding: 6px 0; }
.drawer nav a:hover { color: var(--red); }
.drawer .btn { margin-top: auto; }
.drawer-social { display: flex; gap: 8px; margin: 20px 0; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; isolation: isolate; overflow: hidden; padding-top: var(--nav-h); }
.hero-media { position: absolute; inset: 0; z-index: -2; background: #000 center/cover no-repeat; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.25) 35%, rgba(10,10,10,.6) 70%, var(--black) 100%), linear-gradient(90deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.45) 40%, rgba(10,10,10,0) 70%); }
.hero-inner { padding-top: clamp(24px, 4vh, 48px); padding-bottom: clamp(56px, 8vh, 96px); }
.hero h1 { margin: 0; }
.hero-logo { width: min(600px, 84vw, 50svh); height: auto; margin: 0 0 clamp(22px, 3vw, 40px); filter: drop-shadow(0 10px 40px rgba(0,0,0,.75)) drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.hero-kicker { display: block; font: 900 italic clamp(24px, 3.4vw, 46px)/1 var(--head); text-transform: uppercase; letter-spacing: .02em; color: var(--cream); margin-top: 0; }
.hero-sub { font: 900 italic clamp(26px, 2.6vw, 38px)/1.05 var(--head); text-transform: uppercase; margin: clamp(18px, 2.4vh, 30px) 0 12px; color: var(--cream); max-width: 22ch; }
.hero-sub em { font-style: inherit; color: var(--red); }
.hero-intro { max-width: 52ch; font-size: clamp(17px, 1.3vw, 19px); color: #ECE3D3; margin: 0 0 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; gap: clamp(18px, 4vw, 56px); margin: clamp(30px, 4vw, 54px) 0 0; padding: 0; list-style: none; }
.hero-stats li { display: flex; align-items: baseline; gap: 10px; }
.hero-stats b { font: 900 italic clamp(44px, 6vw, 84px)/.85 var(--head); color: var(--red); }
.hero-stats span { font: 900 italic clamp(16px, 1.6vw, 22px)/1 var(--head); letter-spacing: .06em; text-transform: uppercase; }
.video-toggle { position: absolute; right: var(--gutter); bottom: clamp(20px, 3vw, 40px); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(245,236,221,.6); background: rgba(10,10,10,.4); color: var(--cream); display: grid; place-items: center; cursor: pointer; }
.video-toggle:hover { border-color: var(--cream); }
.video-toggle svg { width: 16px; height: 16px; }
@media (max-width: 720px) {
  .hero { min-height: 92svh; }
  .hero::before { background: linear-gradient(180deg, rgba(10,10,10,.45) 0%, rgba(10,10,10,.35) 40%, rgba(10,10,10,.82) 72%, var(--black) 100%); }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-stats { justify-content: space-between; gap: 8px; }
  .hero-stats li { flex-direction: column; gap: 4px; align-items: flex-start; }
  .video-toggle { top: calc(var(--nav-h) + 12px); bottom: auto; width: 40px; height: 40px; }
}

/* ---------- Sekcijas ---------- */
.section { position: relative; padding: clamp(44px, 5vw, 76px) 0; }
.section-tight { padding: clamp(36px, 4vw, 56px) 0; }
.section.cream { background: var(--cream); color: var(--black); }
.section.cream .eyebrow { color: var(--red-ink); }
.section.cream .muted { color: var(--muted-dark); }
.section.ink { background: var(--ink); }
.section.red { background: var(--red); color: var(--black); }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(22px, 2.6vw, 38px); }
.section-head .lead { max-width: 58ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3.5vw, 52px); align-items: center; }
.split-wide { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 900px) { .split, .split-wide { grid-template-columns: 1fr; } }
.stripe { display: block; width: 72px; height: 6px; background: var(--red); transform: skewX(var(--skew)); margin: 18px 0; }

/* Progresa panelis */
.progress-panel { position: relative; z-index: 3; margin-top: clamp(-40px, -3vw, -20px); }
.pp { background: var(--ink); border-top: 4px solid var(--red); padding: clamp(20px, 2.6vw, 34px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 3vw, 44px); align-items: center; }
.pp-amount { font: 900 italic clamp(50px, 6vw, 96px)/.9 var(--head); color: var(--red); letter-spacing: -.005em; font-variant-numeric: tabular-nums; }
.pp-of { font: 600 16px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.pp-of b { color: var(--cream); }
.bar { position: relative; height: 18px; background: #2a2a2a; margin: 22px 0 12px; overflow: hidden; transform: skewX(var(--skew)); }
.bar > i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--red); transition: width 1.4s var(--ease); }
.bar > i.over { background: linear-gradient(90deg, var(--red) 0 var(--goal, 100%), var(--gold) var(--goal, 100%)); }
.bar-sm { height: 10px; margin: 14px 0 10px; }
.pp-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; font: 600 15px/1.3 var(--body); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pp-meta b { color: var(--cream); font: 900 italic 24px/1 var(--head); letter-spacing: 0; margin-right: 4px; }
.pp-copy .h-m { margin-bottom: 14px; }
.pp-copy p { color: #D9D0C1; font-size: 17px; }
.pp-copy .btn { margin-top: 20px; }
.pp-reached { color: var(--gold); }
@media (max-width: 900px) { .pp { grid-template-columns: 1fr; } }

/* Ričarda stāsts */
.story-img { position: relative; }
.story-img img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; max-height: 560px; }
.story-img::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 46%; height: 12px; background: var(--red); transform: skewX(var(--skew)); }
.closing { font: 900 italic clamp(26px, 2.6vw, 38px)/1.05 var(--head); text-transform: uppercase; color: var(--red); margin-top: 26px; }
.timeline { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 0; margin-top: clamp(48px, 6vw, 88px); border-top: 2px solid var(--line); counter-reset: tl; }
.tl { position: relative; padding: 28px 22px 0 0; }
.tl::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; background: var(--black); border: 3px solid var(--red); transform: skewX(var(--skew)); }
.tl:last-child::before { background: var(--red); }
.tl-mark { font: 900 italic clamp(34px, 3.4vw, 54px)/.9 var(--head); color: var(--red); }
.tl:last-child .tl-mark { color: var(--cream); }
.tl h3 { font: 600 17px/1.3 var(--body); margin: 10px 0 6px; text-transform: uppercase; letter-spacing: .04em; }
.tl p { color: var(--muted); font-size: 16px; }
.tl img { margin-top: 14px; aspect-ratio: 16/10; object-fit: cover; width: 100%; filter: grayscale(.2); }
@media (max-width: 820px) {
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--line); margin-left: 6px; }
  .tl { padding: 0 0 30px 26px; }
  .tl::before { top: 4px; left: -8px; }
}
.video-slot { margin-top: 40px; aspect-ratio: 16/9; background: #000; position: relative; }
.video-slot iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Filozofija */
.philo-q { font: 900 italic clamp(24px, 2.4vw, 34px)/1.05 var(--head); text-transform: uppercase; color: var(--red); margin: 26px 0; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(28px, 3vw, 44px); }
.value { padding: 30px clamp(18px, 2.4vw, 34px) 8px; border-left: 2px solid var(--line); }
.value:first-child { border-left-color: var(--red); }
.value-n { font: 900 italic 18px/1 var(--head); color: var(--gold); letter-spacing: .1em; }
.value h3 { font: 900 italic clamp(28px, 2.6vw, 40px)/1 var(--head); text-transform: uppercase; margin: 12px 0 14px; }
.value p { color: var(--muted); font-size: 17px; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } .value { border-left: 0; border-top: 2px solid var(--line); padding-left: 0; } .value:first-child { border-top-color: var(--red); } }

/* Bērni / vecāki */
.kids-title .line { display: block; }
.kids-title .line:nth-child(2) { color: var(--red); }
.photo { position: relative; }
.photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.battery { display: flex; gap: 8px; align-items: center; margin: 30px 0 0; }
.battery i { width: 38px; height: 20px; background: var(--red); transform: skewX(var(--skew)); opacity: 0; animation: charge 3.2s infinite; }
.battery i:nth-child(2) { animation-delay: .4s; } .battery i:nth-child(3) { animation-delay: .8s; } .battery i:nth-child(4) { animation-delay: 1.2s; }
.battery span { margin-left: 10px; font: 600 14px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
@keyframes charge { 0%, 10% { opacity: .15; } 30%, 80% { opacity: 1; } 100% { opacity: .15; } }

/* Sapņi */
.dreams-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.dream { position: relative; background: var(--black); padding: clamp(20px, 2vw, 28px); display: flex; flex-direction: column; min-height: 100%; transition: background .25s; }
.dream:hover { background: #111; }
.dream-media { margin: calc(-1 * clamp(24px, 2.4vw, 36px)) calc(-1 * clamp(24px, 2.4vw, 36px)) 24px; aspect-ratio: 16/9; overflow: hidden; }
.dream-media img { width: 100%; height: 100%; object-fit: cover; }
.dream-n { font: 900 italic 52px/.85 var(--head); color: transparent; -webkit-text-stroke: 2px var(--red); margin-bottom: 12px; }
.dream-kicker { font: 600 13px/1.2 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.dream h3 { font: 900 italic clamp(22px, 1.9vw, 28px)/1 var(--head); text-transform: uppercase; margin: 0 0 10px; }
.dream p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.dream-foot { margin-top: auto; }
.dream-nums { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; }
.dream-nums b { font: 900 italic 30px/1 var(--head); color: var(--cream); }
.dream-nums span { font: 600 14px/1 var(--body); color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; background: #222; color: var(--muted); }
.chip::before { content: ""; width: 8px; height: 8px; background: currentColor; transform: skewX(var(--skew)); }
.chip.partial { color: var(--cream); }
.chip.funded, .chip.in_progress { background: var(--red); color: #fff; }
.chip.realized { background: var(--gold); color: var(--black); }
.dream-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; }
.dream-give { background: none; border: 0; padding: 8px 0; font: 900 italic 19px/1 var(--head); text-transform: uppercase; letter-spacing: .04em; color: var(--red); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.dream-give:hover { color: var(--cream); }
.dream-reports { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.dream-reports summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.dreams-total { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; margin-top: 34px; }
.dreams-total .h-m b { color: var(--red); }
@media (max-width: 1080px) { .dreams-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .dreams-grid { grid-template-columns: 1fr; } .dream-n { font-size: 60px; } }

/* Pogas */
.pogas-head { display: flex; align-items: stretch; gap: clamp(16px, 2.4vw, 32px); margin-top: 14px; }
.pogas-head h2 { margin: 0; }
.pogas-mark { flex: none; width: 110px; position: relative; }
.pogas-mark img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pogas-quote { font: 900 italic clamp(24px, 2.4vw, 36px)/1.05 var(--head); text-transform: uppercase; color: var(--red-ink); margin: 0; max-width: 28ch; }
.pogas-top { display: flex; justify-content: space-between; align-items: flex-end; gap: clamp(20px, 4vw, 56px); }
.pogas-logo { flex: none; width: clamp(110px, 13vw, 200px); }
.pogas-logo img { width: 100%; }
.pogas-text { max-width: none; columns: 2; column-gap: clamp(28px, 4vw, 64px); margin-top: clamp(26px, 3vw, 40px); font-size: 17px; }
.pogas-text p { break-inside: avoid; }
.pogas-photo { margin-top: 32px; }
.pogas-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(26px, 3vw, 40px); padding-top: clamp(22px, 2.5vw, 32px); border-top: 2px solid #D7CBB6; }
@media (max-width: 860px) {
  .pogas-text { columns: 1; }
  .pogas-top { flex-direction: column; align-items: flex-start; }
  .pogas-logo { width: 96px; }
}
.stories { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 50px; }
.story-card { border-top: 3px solid var(--black); padding-top: 18px; }
.story-card b { display: block; font: 900 italic 22px/1 var(--head); text-transform: uppercase; margin-bottom: 8px; }
.give-graphic { position: relative; aspect-ratio: 1; max-width: 460px; margin-left: auto; }
.give-graphic svg { width: 100%; height: 100%; }

/* Skrējiens */
.run-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 2px solid var(--line); margin: 28px 0; }
.fact { background: var(--black); padding: 22px; }
.fact dt { font: 600 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.fact dd { margin: 0; font: 900 italic clamp(20px, 1.8vw, 26px)/1.05 var(--head); text-transform: uppercase; }
@media (max-width: 820px) { .run-facts { grid-template-columns: 1fr 1fr; } }
.countdown { display: flex; gap: clamp(10px, 2vw, 22px); margin: 26px 0 0; }
.countdown div { min-width: 0; }
.countdown b { display: block; font: 900 italic clamp(48px, 6vw, 92px)/.85 var(--head); color: var(--red); font-variant-numeric: tabular-nums; }
.countdown span { font: 600 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.map { width: 100%; height: clamp(320px, 40vw, 500px); background: #151515; position: relative; }
.map.is-sm { height: clamp(280px, 40vw, 420px); }
.leaflet-container { background: #151515 !important; font-family: var(--body) !important; }
.map-tiles-dark .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.95) saturate(.3); }
.map .leaflet-popup-content-wrapper, .map .leaflet-popup-tip { background: var(--black); color: var(--cream); border-radius: 0; }
.map .leaflet-control-attribution { background: rgba(10,10,10,.75) !important; color: #999 !important; font-size: 10px; }
.map .leaflet-control-attribution a { color: #ccc !important; }
.cp-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 2px; }
.cp-list li { display: grid; grid-template-columns: 70px 1fr auto; gap: 16px; align-items: center; background: var(--ink); padding: 14px 18px; }
.cp-list .km { font: 900 italic 26px/1 var(--head); color: var(--red); }
.cp-list .kind { font: 600 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.notice { border-left: 4px solid var(--red); background: var(--ink); padding: 22px 24px; font-size: 18px; }
.cream .notice { background: var(--cream-2); }

/* Formas */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label, .field .label { font: 600 14px/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 15px; background: #111; border: 2px solid #3a3a3a; color: var(--cream); border-radius: 0; font-size: 17px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field .err { color: #ff8a8a; font-size: 14px; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ff6b6b; }
.field.has-error .err { display: block; }
.cream .field input, .cream .field select, .cream .field textarea { background: #fff; border-color: #CFC3AE; color: var(--black); }
.cream .field .err { color: #B00000; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--red); }
.check a { color: inherit; text-underline-offset: 3px; }
.check.has-error { color: #ff8a8a; }
.form-msg { padding: 16px 18px; font-weight: 600; display: none; }
.form-msg.is-ok { display: block; background: #12341b; color: #b6f0c2; border-left: 4px solid #3ccf6a; }
.form-msg.is-err { display: block; background: #3a1414; color: #ffc4c4; border-left: 4px solid var(--red); }
.cream .form-msg.is-ok { background: #dff2e2; color: #0f4a1c; }
.cream .form-msg.is-err { background: #fde0e0; color: #7a0000; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dist-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.dist-pick label { position: relative; }
.dist-pick input { position: absolute; opacity: 0; inset: 0; }
.dist-pick span { display: inline-flex; min-width: 72px; min-height: 52px; align-items: center; justify-content: center; padding: 0 16px; border: 2px solid #3a3a3a; font: 900 italic 24px/1 var(--head); cursor: pointer; }
.dist-pick input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.dist-pick input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.cream .dist-pick span { border-color: #CFC3AE; }
.join-km { font: 900 italic clamp(60px, 7vw, 110px)/.85 var(--head); color: var(--red); }
.join-km small { font-size: .3em; color: var(--cream); letter-spacing: .04em; display: block; margin-top: 10px; }

/* Tiešraide */
.live-wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.live-player { background: #000; position: relative; aspect-ratio: 16/9; }
.live-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-player .placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; background: radial-gradient(circle at 50% 40%, #1b1b1b, #050505); }
.live-side { background: var(--black); padding: clamp(18px, 2vw, 28px); display: flex; flex-direction: column; gap: 18px; }
.live-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.live-stats div { background: var(--ink); padding: 14px; }
.live-stats b { display: block; font: 900 italic clamp(30px, 3vw, 44px)/.9 var(--head); font-variant-numeric: tabular-nums; }
.live-stats b.red { color: var(--red); }
.live-stats span { font: 600 11px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.live-updated { font-size: 13px; color: var(--muted); }
.live-updated.is-stale { color: var(--gold); }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-height: 340px; overflow-y: auto; }
.feed li { border-left: 3px solid var(--red); padding: 2px 0 2px 14px; font-size: 16px; }
.feed time { display: block; font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.feed img { margin-top: 8px; max-height: 180px; object-fit: cover; }
.live-map-row { margin-top: 2px; }
.live-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--red); color: #fff; padding: 9px 14px; font: 900 italic 20px/1 var(--head); letter-spacing: .08em; }
@media (max-width: 980px) { .live-wrap { grid-template-columns: 1fr; } }
.recordings { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 30px; }

/* Sociālie tīkli */
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; overscroll-behavior-x: contain; }
.reel { scroll-snap-align: start; position: relative; aspect-ratio: 9/16; background: var(--ink); overflow: hidden; border: 0; padding: 0; cursor: pointer; color: var(--cream); text-align: left; }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.reel:hover img { transform: scale(1.04); }
.reel .reel-meta { position: absolute; inset: auto 0 0 0; padding: 16px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.reel .reel-meta b { display: block; font: 900 italic 20px/1 var(--head); text-transform: uppercase; }
.reel .reel-plat { position: absolute; top: 12px; left: 12px; background: rgba(10,10,10,.75); padding: 6px 10px; font: 600 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.reel .play { position: absolute; inset: 0; display: grid; place-items: center; }
.reel .play i { width: 64px; height: 64px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.reel .play svg { width: 22px; height: 22px; margin-left: 4px; }
.reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.reel-blank { display: grid; place-items: center; height: 100%; background: var(--ink); }
.reel-blank img { width: 46%; height: auto; opacity: .85; }
.social-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 2px solid var(--line); }
.social-cta.has-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .social-cta.has-3 { grid-template-columns: 1fr; } }
.social-cta a { display: flex; align-items: center; gap: 18px; padding: clamp(22px, 3vw, 40px); background: var(--black); text-decoration: none; transition: background .2s; }
.social-cta a:hover { background: var(--red); }
.social-cta svg { width: 44px; height: 44px; flex: none; }
.social-cta b { display: block; font: 900 italic clamp(26px, 2.6vw, 38px)/1 var(--head); text-transform: uppercase; }
.social-cta span { color: var(--muted); }
.social-cta a:hover span { color: #fff; }
@media (max-width: 640px) { .social-cta { grid-template-columns: 1fr; } }
.hashtag { font: 900 italic clamp(32px, 4vw, 60px)/1 var(--head); text-transform: uppercase; color: var(--red); }

/* Dalīties */
.share-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.share-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 20px; background: var(--black); color: var(--cream); border: 2px solid var(--black); font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; }
.share-btn:hover { background: transparent; color: var(--black); }
.share-btn svg { width: 20px; height: 20px; }

/* Noslēguma CTA */
.final { background: var(--red); color: var(--black); overflow: hidden; }
.final .h-xl { color: var(--black); }
.final .h-xl span { color: var(--cream); display: block; }
.final p { font-size: clamp(18px, 1.5vw, 21px); max-width: 52ch; color: #1a0000; }
.final-mark { position: absolute; right: -6%; top: 50%; width: min(52vw, 640px); transform: translateY(-50%); opacity: .14; pointer-events: none; }

/* FAQ */
.faq { border-top: 2px solid var(--line); }
.faq details { border-bottom: 2px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 0; font: 900 italic clamp(19px, 1.7vw, 24px)/1.1 var(--head); text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 30px; height: 30px; position: relative; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 3px; background: var(--red); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq .answer { padding: 0 0 26px; color: var(--muted); max-width: 70ch; font-size: 18px; }

/* Partneri */
.partner-cat { margin-top: 32px; }
.partner-cat h3 { font: 600 13px/1 var(--body); letter-spacing: .28em; text-transform: uppercase; color: var(--muted-dark); margin: 0 0 20px; display: flex; gap: 14px; align-items: center; }
.partner-cat h3::after { content: ""; flex: 1; height: 2px; background: #D7CBB6; }
/* Sadaļu galva: virsraksts un ievads blakus, lai neatstātu pusi tukšu */
.head-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; max-width: none; }
#atbalstitaji .head-split { margin-bottom: 8px; }
.head-split .lead { margin: 0; max-width: none; }
@media (max-width: 860px) { .head-split { grid-template-columns: 1fr; gap: 16px; } }
/* Atbalstītāju lentes: statiskas, kamēr logo ietilpst; ja ne — bezgalīga rotācija (site.js) */
.logo-strip { position: relative; overflow: hidden; border-top: 2px solid #D7CBB6; border-bottom: 2px solid #D7CBB6; }
.logo-track { display: flex; width: max-content; }
.logo-tile { flex: 0 0 auto; width: 220px; margin-right: 2px; background: var(--cream); display: grid; place-items: center; padding: 22px; min-height: 120px; text-decoration: none; transition: background .2s; }
.logo-strip.featured .logo-tile { width: 320px; min-height: 170px; background: var(--black); }
.logo-tile:hover { background: #fff; }
.logo-strip.featured .logo-tile:hover { background: #1a1a1a; }
.logo-tile img { max-height: 70px; max-width: 100%; width: auto; object-fit: contain; }
.logo-tile.s img { max-height: 46px; } .logo-tile.l img { max-height: 96px; } .logo-tile.xl img { max-height: 130px; }
.logo-tile span { font: 900 italic 24px/1 var(--head); text-transform: uppercase; }
.logo-tile-open { gap: 8px; align-content: center; border: 2px dashed #CDBFA6; color: var(--muted-dark); }
.logo-tile-open span { font-size: 20px; color: var(--black); }
.logo-tile-open small { font: 600 12px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; display: inline-flex; gap: 6px; align-items: center; color: var(--red-ink); }
.logo-tile-open small svg { width: 14px; height: 14px; }
.logo-strip.is-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-strip.is-marquee .logo-track { animation: logo-marquee var(--marquee-dur, 30s) linear infinite; }
.logo-strip.is-marquee:hover .logo-track, .logo-strip.is-marquee:focus-within .logo-track { animation-play-state: paused; }
@keyframes logo-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-strip.is-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .logo-strip.is-marquee .logo-track { animation: none; }
}
@media (max-width: 640px) {
  .logo-tile { width: 170px; min-height: 100px; padding: 16px; }
  .logo-strip.featured .logo-tile { width: 240px; min-height: 140px; }
}
.partner-join { margin-top: clamp(40px, 5vw, 70px); background: var(--black); color: var(--cream); padding: clamp(28px, 4vw, 60px); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 64px); }
.partner-join .field input, .partner-join .field textarea { background: #111; border-color: #3a3a3a; color: var(--cream); }
.partner-join .field .err { color: #ff8a8a; }
@media (max-width: 900px) { .partner-join { grid-template-columns: 1fr; } }

/* Kājene */
.footer { background: var(--black); border-top: 2px solid var(--line); padding: clamp(40px, 5vw, 64px) 0 calc(36px + env(safe-area-inset-bottom)); font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { font: 600 12px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: var(--cream); }
.footer a:hover { color: var(--red); }
.footer-logo { width: 190px; margin-bottom: 20px; }
.footer .req { font-size: 14px; color: var(--muted); line-height: 1.7; }
.footer .req b { color: var(--cream); font-weight: 600; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 14px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--cream); cursor: pointer; text-align: left; font-size: inherit; }
.linkbtn:hover { color: var(--red); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobilā ziedošanas josla */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none; align-items: center; gap: 14px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(10,10,10,.97); border-top: 2px solid var(--red); transform: translateY(110%); transition: transform .3s var(--ease); }
.dock.is-on { transform: none; }
.dock-amt { min-width: 0; flex: 1; }
.dock-amt b { display: block; font: 900 italic 28px/1 var(--head); color: var(--red); font-variant-numeric: tabular-nums; }
.dock-amt span { font: 600 11px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.dock .btn { min-height: 50px; padding: 10px 26px; }
@media (max-width: 900px) { .dock { display: flex; } body.has-dock { padding-bottom: calc(76px + env(safe-area-inset-bottom)); } }

/* Ziedošanas dialogs */
.donate-dialog { width: min(640px, 100%); max-height: min(92vh, 900px); margin: auto; padding: 0; border: 0; background: var(--black); color: var(--cream); border-top: 4px solid var(--red); overflow: hidden; }
.donate-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(3px); }
.dd-scroll { max-height: min(92vh, 900px); overflow-y: auto; padding: clamp(22px, 3vw, 36px); }
.dd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 8px; }
.dd-close { flex: none; }
.dd-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); margin: 22px 0; }
.dd-tabs button { min-height: 50px; background: var(--ink); border: 0; cursor: pointer; font: 600 15px/1.1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 8px; }
.dd-tabs button[aria-selected="true"] { background: var(--cream); color: var(--black); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.amounts label { position: relative; }
.amounts input { position: absolute; opacity: 0; inset: 0; }
.amounts span { display: flex; align-items: center; justify-content: center; min-height: 62px; border: 2px solid #3a3a3a; font: 900 italic 30px/1 var(--head); cursor: pointer; transition: background .15s, border-color .15s; font-variant-numeric: tabular-nums; }
.amounts input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.amounts input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.amounts span:hover { border-color: var(--cream); }
.custom-amt { position: relative; }
.custom-amt input { padding-right: 44px !important; font: 900 italic 26px/1 var(--head) !important; }
.custom-amt::after { content: "€"; position: absolute; right: 16px; bottom: 14px; font: 900 italic 24px/1 var(--head); color: var(--muted); }
.dd-more summary { cursor: pointer; font-weight: 600; padding: 10px 0; color: var(--cream); }
.dd-note { font-size: 13px; color: var(--muted); }
.test-banner { background: var(--gold); color: var(--black); padding: 10px 14px; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.bank { display: grid; gap: 2px; background: var(--line); margin: 14px 0; }
.bank-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--ink); padding: 12px 14px; }
.bank-row span { display: block; font: 600 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.bank-row b { font-weight: 600; word-break: break-word; }
.copy { flex: none; min-height: 40px; padding: 8px 12px; background: transparent; border: 2px solid #444; color: var(--cream); cursor: pointer; font: 600 13px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.copy:hover { border-color: var(--cream); }
.copy.is-done { border-color: #3ccf6a; color: #b6f0c2; }
@media (max-width: 640px) {
  .donate-dialog { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border-top: 0; }
  .dd-scroll { max-height: 100%; height: 100%; padding: 18px 16px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
  .dd-form-wrap { flex: 1; display: flex; flex-direction: column; }
  .dd-submit { position: sticky; bottom: 0; padding-top: 12px; background: var(--black); margin-top: auto; }
  .amounts span { min-height: 58px; font-size: 27px; }
}

/* Sīkdatnes */
.consent { position: fixed; z-index: 140; left: 16px; right: 16px; bottom: 16px; max-width: 560px; background: var(--cream); color: var(--black); padding: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.5); display: none; }
.consent.is-on { display: block; }
.consent h2 { font: 900 italic 26px/1 var(--head); text-transform: uppercase; margin: 0 0 10px; }
.consent p { font-size: 15px; margin-bottom: 14px; }
.consent .opts { display: grid; gap: 10px; margin: 14px 0; }
.consent .opts .check { font-size: 15px; }
.consent .row { display: flex; flex-wrap: wrap; gap: 8px; }
.consent .btn { min-height: 46px; font-size: 18px; padding: 10px 18px; }
.consent .btn-ghost { --fg: var(--black); box-shadow: inset 0 0 0 2px var(--black); }
.consent .btn-ghost:hover { --bg: var(--black); --fg: var(--cream); }
@media (max-width: 900px) { .consent { bottom: calc(86px + env(safe-area-inset-bottom)); } }

/* Paziņojumi */
.toast { position: fixed; z-index: 150; left: 50%; top: calc(var(--nav-h) + 14px); transform: translateX(-50%); background: var(--cream); color: var(--black); padding: 14px 20px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.4); max-width: calc(100% - 32px); }
.preview-bar { position: fixed; z-index: 160; top: 0; left: 0; right: 0; background: var(--gold); color: var(--black); text-align: center; font-weight: 600; padding: 6px; font-size: 14px; }

/* Parādīšanās animācija (tikai ja lietotājs to neliedz) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Vienkāršas lapas (paldies, dokumenti, 404) */
.page { min-height: 100svh; padding: calc(var(--nav-h) + 60px) 0 80px; }
.page-doc { max-width: 760px; }
.page-doc .body { font-size: 18px; color: #E4DBCC; }
.thanks-amt { font: 900 italic clamp(60px, 8vw, 120px)/.9 var(--head); color: var(--red); margin: 26px 0; font-variant-numeric: tabular-nums; }
.spinner { width: 36px; height: 36px; border: 4px solid #333; border-top-color: var(--red); border-radius: 50%; animation: spin 1s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

/* HERO desktop: ja CMS norādīti lielie skaitļi — labajā kolonnā */
@media (min-width: 1100px) {
  .hero-inner:has(.hero-stats) { display: grid; grid-template-columns: 1fr auto; column-gap: 56px; align-items: end; }
  .hero-inner > * { grid-column: 1; }
  .hero-inner > .hero-stats { grid-column: 2; grid-row: 1 / span 4; flex-direction: column; gap: 18px; margin: 0 0 6px; align-self: end; }
  .hero-stats li { justify-content: flex-end; border-top: 2px solid rgba(245,236,221,.25); padding-top: 14px; min-width: 260px; }
  .hero-stats b { font-size: clamp(64px, 6.4vw, 104px); }
}
.live-wrap > *, .split > *, .pp > * { min-width: 0; }
@media (min-width: 981px) { .live-player { aspect-ratio: auto; min-height: 440px; } }

/* Atpakaļskaitīšana HERO labajā pusē */
.hero-count { margin-top: 28px; display: inline-block; padding: 14px 18px 12px; background: rgba(10,10,10,.55); border-top: 3px solid var(--red); font-variant-numeric: tabular-nums; }
.hero-count .hc-l { display: block; font: 600 12px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--cream); margin-bottom: 10px; }
.hc-row { display: flex; gap: 18px; }
.hc-row div { display: flex; flex-direction: column; align-items: center; min-width: 44px; }
.hc-row b { font: 900 italic clamp(30px, 3vw, 44px)/1 var(--head); color: var(--cream); }
.hc-row div:first-child b { color: var(--red); }
.hc-row i { font: 600 11px/1 var(--body); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
@media (min-width: 1100px) {
  .hero-inner:has(.hero-count) { display: grid; grid-template-columns: 1fr auto; column-gap: 56px; align-items: end; }
  .hero-inner:has(.hero-count) > * { grid-column: 1; }
  .hero-inner > .hero-count { grid-column: 2; grid-row: 1 / span 4; align-self: start; margin: 0; }
}

/* Spoguļots izkārtojums: virsraksts labajā pusē, teksts kreisajā */
@media (min-width: 901px) { .split-rev > :first-child { order: 2; } .split-rev > :last-child { order: 1; } }

/* Progresa panelis: summa + teksts, zem tiem sapņu «trase» */
.pp { display: block; padding: clamp(24px, 3vw, 44px) clamp(20px, 3vw, 48px) clamp(26px, 3vw, 40px); background: linear-gradient(180deg, #161616, #101010); }
.pp-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.pp-label { display: block; font: 600 12px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.pp-amount { font-size: clamp(54px, 6.4vw, 96px); line-height: .9; }
.pp-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; font: 600 14px/1.3 var(--body); letter-spacing: .02em; text-transform: none; color: var(--muted); }
.pp-meta b { font: 900 italic 22px/1 var(--head); color: var(--cream); margin-right: 3px; }
.pp-copy { border-left: 2px solid var(--line); padding-left: clamp(18px, 2.4vw, 36px); }
.pp-copy .h-m { font-size: clamp(22px, 2vw, 30px); margin-bottom: 10px; }
.pp-copy p { font-size: 16px; line-height: 1.55; color: #D9D0C1; margin: 0 0 18px; max-width: 56ch; }
.pp-track { display: flex; gap: 6px; margin: clamp(30px, 3.4vw, 48px) 0 0; }
.seg { flex: var(--w) 1 0; min-width: 0; }
.seg-n { display: block; font: 900 italic 14px/1 var(--head); color: var(--muted); margin: 0 0 8px 4px; }
.seg[data-status="partial"] .seg-n, .seg[data-status="funded"] .seg-n, .seg[data-status="in_progress"] .seg-n { color: var(--red); }
.seg[data-status="realized"] .seg-n { color: var(--gold); }
.seg-bar { display: block; height: 14px; background: #2a2a2a; transform: skewX(var(--skew)); overflow: hidden; position: relative; }
.seg-bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--red); transition: width 1.4s var(--ease); }
.seg[data-status="realized"] .seg-bar i { background: var(--gold); }
.pp-legend { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 clamp(14px, 1.6vw, 24px); }
.pp-legend a { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; row-gap: 6px; text-decoration: none; color: var(--cream); padding-top: 12px; border-top: 1px solid var(--line); height: 100%; }
.lg-n { font: 900 italic 16px/1.1 var(--head); color: var(--red); }
.lg-t { font-size: 13px; font-weight: 600; line-height: 1.3; color: #E4DBCC; }
.lg-a { grid-column: 2; font: 900 italic 18px/1 var(--head); color: var(--cream); font-variant-numeric: tabular-nums; }
.lg-a small { display: block; font: 600 10px/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.pp-legend li[data-status="funded"] .lg-a, .pp-legend li[data-status="in_progress"] .lg-a, .pp-legend li[data-status="realized"] .lg-a { color: var(--gold); }
.pp-legend a:hover .lg-t { color: var(--red); }
@media (max-width: 900px) {
  .pp-head { grid-template-columns: 1fr; align-items: start; }
  .pp-copy { border-left: 0; padding-left: 0; border-top: 2px solid var(--line); padding-top: 20px; }
  .pp-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .seg-bar { height: 10px; }
}

/* Sapņu kartītes — atsevišķas kartes, nevis tabula */
.dreams-grid { gap: clamp(14px, 1.6vw, 22px); background: none; border: 0; }
.dream { background: linear-gradient(180deg, #151515 0%, #0f0f0f 100%); border-top: 3px solid #2c2c2c; padding: clamp(22px, 2.2vw, 32px); overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), border-color .3s, background .3s; }
.dream:hover { transform: translateY(-4px); border-top-color: var(--red); background: linear-gradient(180deg, #1a1a1a 0%, #111 100%); }
.dream.is-partial { border-top-color: rgba(255,43,43,.6); }
.dream.is-funded, .dream.is-in_progress { border-top-color: var(--red); }
.dream.is-realized { border-top-color: var(--gold); }
.dream-n { position: absolute; top: 10px; right: 16px; z-index: -1; margin: 0; font-size: clamp(84px, 8vw, 120px); line-height: .85; -webkit-text-stroke: 1.5px rgba(255,43,43,.32); }
.dream:hover .dream-n { -webkit-text-stroke-color: rgba(255,43,43,.6); }
.dream-kicker { font-size: 11px; letter-spacing: .2em; margin: 0 0 12px; padding-right: 80px; min-height: 2.6em; display: flex; align-items: flex-end; }
.dream h3 { font-size: clamp(24px, 2vw, 30px); line-height: 1; margin-bottom: 14px; padding-right: 40px; }
.dream p { font-size: 15px; line-height: 1.55; }
.dream-foot { border-top: 1px solid #262626; padding-top: 18px; }
.dream-nums b { font-size: 32px; }
.dream-nums span { font-size: 13px; letter-spacing: .04em; }
.dream .bar-sm { height: 8px; margin: 12px 0 14px; }
.dream-actions { margin-top: 0; }
.chip { padding: 6px 10px; font-size: 11px; background: #1f1f1f; }
.dream-give { padding: 10px 14px; margin-right: -14px; }
.dream-give svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.dream-give:hover svg { transform: translateX(4px); }
.pp-legend a { align-content: start; }

/* Navigācija vienmēr vienāda: logo + ZIEDO + izvēlnes poga (bez horizontālās izvēlnes) */
.nav-links, .nav-social { display: none; }
.menu-btn { display: inline-grid; }
.nav .btn { margin-left: auto; }
.nav .live-pill { margin-left: auto; }
.nav .live-pill ~ .btn { margin-left: 0; }
.nav-logo { width: clamp(118px, 12vw, 170px); }
@media (min-width: 900px) {
  .drawer { left: auto; width: min(460px, 100%); box-shadow: -30px 0 80px rgba(0,0,0,.6); transform: translateX(100%); }
  .drawer.is-open { transform: none; }
}
.donate-ext .lead { margin: 18px 0 26px; }
.donate-ext .btn { width: 100%; }
.donate-ext .btn svg { width: 22px; height: 22px; flex: none; }
.ziedot-interim .lead { margin: 22px 0 32px; }
.ziedot-interim .btn svg { width: 22px; height: 22px; flex: none; }
