/* SmartCluster — VARIANT 10: Scroll-driven cinematic (Apple AirPods Max style) */

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

:root {
  --c-bg: #0a0a0a;
  --c-bg-deep: #050507;
  --c-bg-blue: #0d1428;
  --c-cream: #faf5ee;
  --c-cream-soft: #f4ede0;
  --c-gold: #d4a574;
  --c-gold-bright: #e0b487;
  --c-white: #ffffff;
  --c-muted: #a1a1aa;
  --c-muted-d: #6b6b73;
  --c-dark-text: #18181b;
  --c-dark-muted: #52525b;
  --max: 1400px;
  --pad: clamp(20px, 4vw, 64px);
}

/* ============ SCROLL-DRIVEN COLOR BACKDROP ============ */
.sd-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--c-bg);
  transition: background 0.4s ease;
  pointer-events: none;
  will-change: background;
}

/* ============ FIXED HEADER (glass) ============ */
.sd-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.sd-head.is-scrolled {
  background: rgba(10, 10, 10, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.sd-head-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.sd-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}
.sd-mark {
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: #fff;
}
.sd-logo-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.sd-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.sd-nav a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  position: relative;
}
.sd-nav a:hover { color: #fff; }
.sd-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.sd-nav a:hover::after { transform: scaleX(1); }
.sd-right { display: flex; align-items: center; gap: 12px; }

/* ============ PROGRESS BAR (top) ============ */
.sd-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 101;
  pointer-events: none;
}
.sd-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-bright));
  transform-origin: left;
  will-change: width;
  transition: width 0.05s linear;
}

/* ============ COMMON SHARED ============ */
.sd-main { position: relative; z-index: 1; }

.sd-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 24px;
}
.sd-kicker--dark { color: #b8884a; }

.sd-h1 {
  font-size: clamp(48px, 9vw, 132px);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -0.045em;
  margin: 0 0 28px;
  color: #fff;
}
.sd-h1--cta { font-size: clamp(40px, 7vw, 96px); }
.sd-h2 {
  font-size: clamp(36px, 6vw, 84px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0 0 32px;
  color: #fff;
}
.sd-h2--center { text-align: center; }
.sd-h2--dark { color: var(--c-dark-text); }
.sd-italic {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  color: var(--c-gold-bright);
  letter-spacing: -0.02em;
}
.sd-italic-dark {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  color: #b8884a;
  letter-spacing: -0.02em;
}

/* Text reveal mask wrapper */
.sd-reveal-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.sd-reveal-line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.sd-reveal-line.is-in > span { transform: translateY(0); }
.sd-reveal-line:nth-child(2) > span { transition-delay: 0.08s; }
.sd-reveal-line:nth-child(3) > span { transition-delay: 0.16s; }

/* Simple fade reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Cascade cards reveal (scale-up + clip) */
[data-cascade] {
  opacity: 0;
  transform: translateY(40px) scale(0.94);
  clip-path: inset(0 0 8% 0);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), clip-path 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, clip-path;
}
[data-cascade].is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  clip-path: inset(0 0 0 0);
}
[data-cascade="0"] { transition-delay: 0s; }
[data-cascade="1"] { transition-delay: 0.12s; }
[data-cascade="2"] { transition-delay: 0.24s; }
[data-cascade="3"] { transition-delay: 0.36s; }

/* Buttons */
.sd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}
.sd-btn--primary {
  background: var(--c-gold);
  color: #1a1209;
}
.sd-btn--primary:hover {
  background: var(--c-gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 165, 116, 0.35);
}
.sd-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.sd-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

.sd-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* ============================================================
   SEKCIA 01 · HERO PINNED (200vh)
   ============================================================ */
.sd-hero {
  position: relative;
  background: #050507;
}
.sd-hero-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
.sd-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}
.sd-hero-bg img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(var(--bg-scale, 1.06));
  transition: transform 0.4s ease-out;
}
.sd-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 35%, rgba(0,0,0,0.4) 65%, rgba(0,0,0,0.85) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.5) 100%);
}
.sd-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  place-items: center;
}
.sd-hero-layer {
  position: absolute;
  inset: 0;
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
  pointer-events: none;
}
.sd-hero-layer .sd-btn { pointer-events: auto; }
.sd-hero-layer a { pointer-events: auto; }

.sd-hero-intro {
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 580px;
  margin: 0;
}
.sd-hero-sub {
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.03em;
  margin: 0 0 28px;
}
.sd-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  animation: sdCue 2.4s ease-in-out infinite;
}
@keyframes sdCue {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}
.sd-hero-cap {
  position: absolute;
  bottom: 24px;
  right: var(--pad);
  z-index: 3;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

/* ============================================================
   SEKCIA 02 · INTRO MISIA (cream)
   ============================================================ */
.sd-intro {
  position: relative;
  background: var(--c-cream);
  color: var(--c-dark-text);
  padding: clamp(100px, 16vh, 180px) 0;
}
.sd-intro-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.sd-intro-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  margin-top: 56px;
  align-items: start;
}
.sd-intro-lead {
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.6;
  color: #2a2a30;
  font-weight: 400;
  margin: 0;
  max-width: 640px;
}
.sd-intro-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.sd-intro-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.sd-im-k {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-dark-muted);
}
.sd-im-v {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-dark-text);
  letter-spacing: -0.01em;
}

/* ============================================================
   SEKCIA 03 · STATS (scroll-driven counters)
   ============================================================ */
.sd-stats {
  position: relative;
  background: var(--c-bg);
  padding: clamp(100px, 18vh, 200px) 0;
  overflow: hidden;
}
.sd-stats-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}
.sd-stats-bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  opacity: 0.22;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}
.sd-stats-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.92) 100%);
}
.sd-stats-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  text-align: center;
}
.sd-stats-inner .sd-kicker { display: block; }
.sd-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 80px;
}
.sd-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.sd-stat-num {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-size: clamp(64px, 9vw, 138px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.sd-stat-num sup {
  font-size: 0.45em;
  color: var(--c-gold);
  margin-left: 4px;
  margin-top: 0.25em;
}
.sd-stat-lbl {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-muted);
  text-align: center;
}

/* ============================================================
   SEKCIA 04 · PRACOVNÉ SKUPINY PINNED (250vh)
   ============================================================ */
.sd-groups {
  position: relative;
  background: var(--c-bg);
}
.sd-groups-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.sd-groups-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}
.sd-groups-bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  opacity: 0.18;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.04);
}
.sd-groups-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0.95) 100%);
}
.sd-groups-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px var(--pad) 60px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.sd-groups-head {
  position: sticky;
  align-self: center;
}
.sd-groups-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sd-grp {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.sd-grp.is-in {
  opacity: 1;
  transform: translateY(0);
}
.sd-grp-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-gold);
  font-variant-numeric: tabular-nums;
}
.sd-grp-name {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.sd-grp-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-muted);
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}
.sd-groups-progress {
  position: absolute;
  right: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 60%;
  background: rgba(255, 255, 255, 0.08);
  z-index: 3;
}
.sd-groups-progress-fill {
  display: block;
  width: 100%;
  height: 0%;
  background: var(--c-gold);
  transition: height 0.1s linear;
  will-change: height;
}

/* ============================================================
   SEKCIA 05 · KONFERENCIE — STICKY HORIZONTAL CAROUSEL (300vh)
   ============================================================ */
.sd-conf {
  position: relative;
  background: var(--c-bg-deep);
}
.sd-conf-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sd-conf-head {
  position: relative;
  z-index: 2;
  padding: 92px var(--pad) 24px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.sd-conf-sub {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-muted);
  margin: 0;
  letter-spacing: 0.04em;
}
.sd-conf-track-wrap {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.sd-conf-track {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 32px;
  padding: 0 var(--pad);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.sd-conf-slide {
  flex: 0 0 min(72vw, 880px);
  height: 70%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
}
.sd-conf-img {
  position: relative;
  overflow: hidden;
}
.sd-conf-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.6s ease;
}
.sd-conf-slide:hover .sd-conf-img img { transform: scale(1); }
.sd-conf-meta {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}
.sd-conf-year {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--c-gold);
}
.sd-conf-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  line-height: 1.05;
}
.sd-conf-meta p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}
.sd-conf-progress {
  position: relative;
  z-index: 2;
  padding: 24px var(--pad) 40px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.sd-conf-progress-dot {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--c-muted-d);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}
.sd-conf-progress-dot.is-active {
  color: #1a1209;
  background: var(--c-gold);
  border-color: var(--c-gold);
}
.sd-conf-progress-line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  min-width: 80px;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.sd-conf-progress-line > span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--c-gold);
  will-change: width;
  transition: width 0.05s linear;
}

/* ============================================================
   SEKCIA 06 + 08 · PULL QUOTES PINNED (150vh)
   ============================================================ */
.sd-quote {
  position: relative;
  background: #050507;
}
.sd-quote-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.sd-quote-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}
.sd-quote-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--quote-scale, 1));
  will-change: transform;
}
.sd-quote-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.78) 70%, rgba(0,0,0,0.92) 100%);
}
.sd-quote-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  opacity: var(--quote-opacity, 0);
  transform: translateY(var(--quote-y, 30px));
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.sd-quote-mark {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(120px, 18vw, 240px);
  line-height: 0.7;
  color: var(--c-gold);
  margin-bottom: -24px;
  margin-left: -8px;
}
.sd-quote-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 58px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 36px;
  max-width: 980px;
  quotes: none;
}
.sd-quote-text::before, .sd-quote-text::after { content: none; }
.sd-quote-cite {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-style: normal;
}
.sd-quote-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.005em;
}
.sd-quote-role {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-gold);
}

/* ============================================================
   SEKCIA 07 · PROJEKTY
   ============================================================ */
.sd-proj {
  position: relative;
  background: var(--c-cream);
  color: var(--c-dark-text);
  padding: clamp(100px, 16vh, 180px) 0;
}
.sd-proj-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.sd-proj-head { margin-bottom: 64px; max-width: 720px; }
.sd-proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sd-proj-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.sd-proj-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  border-color: rgba(212, 165, 116, 0.5);
}
.sd-proj-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
  align-self: flex-start;
  padding: 6px 10px;
  background: rgba(212, 165, 116, 0.1);
  border-radius: 999px;
}
.sd-proj-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--c-dark-text);
}
.sd-proj-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-dark-muted);
  margin: 0;
  flex: 1;
}
.sd-proj-link {
  font-size: 13px;
  font-weight: 700;
  color: #b8884a;
  letter-spacing: 0.02em;
  margin-top: 8px;
  border-bottom: 1px solid rgba(184, 136, 74, 0.3);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.sd-proj-link:hover { border-color: #b8884a; color: #8c6535; }
.sd-proj-link--muted {
  color: var(--c-dark-muted);
  border-color: transparent;
  cursor: default;
}

/* ============================================================
   SEKCIA 09 · NOVINKY
   ============================================================ */
.sd-news {
  position: relative;
  background: var(--c-bg);
  padding: clamp(100px, 16vh, 180px) 0;
}
.sd-news-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.sd-news-head { margin-bottom: 64px; max-width: 720px; }
.sd-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sd-news-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.sd-news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 165, 116, 0.4);
}
.sd-news-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.sd-news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}
.sd-news-card:hover .sd-news-img img { transform: scale(1.08); }
.sd-news-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.sd-news-date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.sd-news-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0;
  color: #fff;
}
.sd-news-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--c-muted);
  margin: 0;
  flex: 1;
}
.sd-news-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-gold);
  margin-top: 8px;
  align-self: flex-start;
  letter-spacing: 0.02em;
}
.sd-news-link:hover { color: var(--c-gold-bright); }

/* ============================================================
   SEKCIA 10 · FINAL BLOCK (členovia + CTA + footer)
   ============================================================ */
.sd-final {
  position: relative;
  background: #050507;
  padding-top: clamp(100px, 14vh, 160px);
  overflow: hidden;
}
.sd-final-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}
.sd-final-bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  opacity: 0.16;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}
.sd-final-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5,5,7,0.6) 0%, rgba(5,5,7,0.92) 80%);
}

/* ČLENOVIA */
.sd-members {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.sd-members-head { margin-bottom: 64px; max-width: 720px; }
.sd-mem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.sd-mem-col {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
}
.sd-mem-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}
.sd-mem-h {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}
.sd-mem-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--c-gold);
  font-variant-numeric: tabular-nums;
}
.sd-mem-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sd-mem-col li {
  font-size: 13.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* CTA */
.sd-cta {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: clamp(80px, 14vh, 140px) auto 0;
  padding: clamp(60px, 10vh, 120px) var(--pad);
  text-align: center;
}
.sd-cta .sd-kicker { display: inline-block; }
.sd-cta-sub {
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 auto 36px;
  max-width: 620px;
}
.sd-cta-row { justify-content: center; }
.sd-cta-email {
  display: block;
  margin-top: 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-gold);
}

/* FOOTER */
.sd-foot {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 64px 0 36px;
  margin-top: clamp(80px, 12vh, 140px);
}
.sd-foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.sd-foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.sd-foot-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sd-foot-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 12px;
}
.sd-foot-col a,
.sd-foot-col span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease;
}
.sd-foot-col a:hover { color: var(--c-gold); }
.sd-foot-mark {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff !important;
}
.sd-foot-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold) !important;
  margin-bottom: 8px;
}
.sd-foot-col p {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
  margin: 8px 0 0;
}
.sd-foot-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted-d);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   MOBILE — pinned sa rozpadnú, parallax off, carousel vertikálne
   ============================================================ */
@media (max-width: 900px) {
  .sd-intro-grid,
  .sd-stats-grid,
  .sd-proj-grid,
  .sd-news-grid,
  .sd-mem-grid,
  .sd-foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sd-groups-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sd-conf-slide {
    grid-template-columns: 1fr;
    flex: 0 0 min(86vw, 520px);
  }
}

@media (max-width: 768px) {
  :root { --pad: 18px; }

  .sd-head-inner { gap: 12px; }
  .sd-nav { display: none; }
  .sd-logo-sub { display: none; }

  /* HERO pinned → normálny scroll na mobile, ale ponecháme height fixed pre vrstvy */
  .sd-hero { height: auto !important; }
  .sd-hero-pin { position: relative; height: 100vh; min-height: 600px; }
  .sd-hero-layer { position: relative; opacity: 1; transform: none; padding: 24px var(--pad); }
  .sd-hero-layer[data-layer="0"], .sd-hero-layer[data-layer="2"] { display: none; }
  .sd-hero-inner { display: block; padding-top: 90px; }
  .sd-hero-layer[data-layer="1"] { padding-top: 0; }

  /* Stats — single column */
  .sd-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 48px;
  }
  .sd-intro-grid { grid-template-columns: 1fr; gap: 40px; }

  /* GROUPS pinned → normálny scroll */
  .sd-groups { height: auto !important; }
  .sd-groups-pin { position: relative; height: auto; padding: 80px 0; }
  .sd-groups-inner { padding: 0 var(--pad); }
  .sd-grp { opacity: 1; transform: none; grid-template-columns: 40px 1fr; }
  .sd-grp-tag { display: none; }
  .sd-groups-progress { display: none; }

  /* CONF pinned → vertikálny stack */
  .sd-conf { height: auto !important; }
  .sd-conf-pin { position: relative; height: auto; }
  .sd-conf-head { padding: 70px var(--pad) 24px; }
  .sd-conf-track-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .sd-conf-track {
    transform: none !important;
    padding: 16px var(--pad) 32px;
    gap: 16px;
  }
  .sd-conf-slide { scroll-snap-align: center; flex: 0 0 86vw; height: auto; }
  .sd-conf-meta { padding: 24px 24px 28px; }
  .sd-conf-progress { display: none; }

  /* QUOTES pinned → normálny scroll */
  .sd-quote { height: auto !important; }
  .sd-quote-pin { position: relative; height: auto; min-height: 70vh; padding: 80px 0; }
  .sd-quote-inner { opacity: 1 !important; transform: none !important; min-height: 60vh; }
  .sd-quote-bg img { transform: none !important; }

  /* PROJEKTY/NOVINKY/ČLENOVIA — 1 col */
  .sd-proj-grid,
  .sd-news-grid,
  .sd-mem-grid,
  .sd-foot-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sd-mem-grid { gap: 28px; }

  .sd-foot-base { flex-direction: column; align-items: flex-start; }

  /* PARALLAX off */
  [data-parallax] img {
    transform: none !important;
  }
}

/* ============================================================
   prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.001s !important;
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
  }
  html { scroll-behavior: auto; }
  .sd-hero-layer { opacity: 1 !important; transform: none !important; }
  .sd-reveal-line > span { transform: none !important; }
  [data-reveal], [data-cascade] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .sd-grp { opacity: 1 !important; transform: none !important; }
  .sd-quote-inner { opacity: 1 !important; transform: none !important; }
  .sd-quote-bg img, .sd-hero-bg img, [data-parallax] img { transform: none !important; }
  .sd-scroll-cue { animation: none; }
}
