:root {
  --anthracite: #0b0b14;
  --anthracite2: #12121f;
  --panel: rgb(244 243 238 / 4%);
  --panel-line: rgb(244 243 238 / 10%);
  --orange: #f07222;
  --magenta: #d63b8f;
  --cream: #f4f3ee;
  --muted: rgb(244 243 238 / 60%);
  --faint: rgb(244 243 238 / 30%);
  --grad: linear-gradient(120deg, #f07222, #d63b8f);
  --maxw: 1280px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--anthracite);
  color: var(--cream);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

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

section {
  position: relative;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 6vw;
}

.grad {
  background: var(--grad);
  background-clip: text;
  color: transparent;
}

.kicker {
  font-size: 0.82rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
}

h1 {
  font-size: clamp(2.7rem, 7.2vw, 5.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.018em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

p.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  color: var(--muted);
  font-weight: 300;
  line-height: 1.55;
  max-width: 60ch;
}

/* glow blobs */

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.glow.o {
  background: var(--orange);
}

.glow.p {
  background: var(--magenta);
}

/* ===== NAV ===== */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: rgb(11 11 20 / 82%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--panel-line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 78px;
}

.nav .logo {
  flex-shrink: 0;
}

.nav .logo img {
  height: 38px;
  display: block;
}

.nav .links {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.nav .links a {
  font-size: 0.96rem;
  color: var(--muted);
  font-weight: 400;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav .links a:hover {
  color: var(--cream);
}

.btn {
  display: inline-block;
  background: var(--grad);
  color: #fff;
  font-weight: 500;
  padding: 0.72rem 1.4rem;
  border-radius: 40px;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgb(214 59 143 / 35%);
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--panel-line);
  color: var(--cream);
}

.btn.ghost:hover {
  border-color: var(--orange);
  box-shadow: none;
}

.burger {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
  padding: 6px;
  line-height: 0;
  flex-shrink: 0;
}
.burger svg { display: block; }

/* ===== HERO ===== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 78px;
  overflow: hidden;
}

.hero .glow.o {
  width: 55vw;
  height: 55vw;
  top: -18vw;
  left: -15vw;
}

.hero .glow.p {
  width: 50vw;
  height: 50vw;
  bottom: -22vw;
  right: -14vw;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 4vw;
  align-items: center;
  width: 100%;
}

.hero h1 {
  margin: 0.4rem 0 1.6rem;
}

.hero .lead {
  margin-bottom: 2.4rem;
}

.hero .cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48vh;
}

/* gluon hero mark — Feynmanův symbol + oběžné dráhy */

.gluon-hero {
  position: relative;
  width: min(44vw, 480px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gluon-hero .orbits {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.gluon-hero .mark {
  position: relative;
  z-index: 2;
  width: 74%;
  filter: drop-shadow(0 14px 50px rgb(214 59 143 / 30%));
  animation: float 6s ease-in-out infinite;
}

.spin-slow {
  transform-origin: center;
  animation: spin 30s linear infinite;
}

.spin-rev {
  transform-origin: center;
  animation: spin 22s linear infinite reverse;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(-7px);
  }

  50% {
    transform: translateY(7px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

/* video */

.videoblock {
  margin-top: 3rem;
  border: 1px solid var(--panel-line);
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgb(0 0 0 / 45%);
}

.videoblock video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #000;
}

.videocap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  color: var(--muted);
  font-weight: 300;
  font-size: 0.95rem;
  margin-top: 1.1rem;
}

/* founders */

.people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  max-width: 900px;
  margin: 0 auto;
}

.person {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 22px;
  padding: 1.9rem;
  display: flex;
  gap: 1.4rem;
  align-items: center;
  transition: transform 0.3s, border-color 0.3s;
}

.person:hover {
  transform: translateY(-5px);
  border-color: rgb(240 114 34 / 45%);
}

.person .ph-img {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--panel-line);
}

.person .ph-av {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  flex-shrink: 0;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.8rem;
  color: #0b0b14;
}

.person .pn {
  font-weight: 600;
  font-size: 1.2rem;
}

.person .pr {
  color: var(--orange);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0.3rem 0 0.55rem;
  font-weight: 500;
}

.person .pd {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.93rem;
  line-height: 1.45;
}

.duo-banner {
  width: 100%;
  max-width: 1000px;
  border-radius: 22px;
  border: 1px solid var(--panel-line);
  margin: 0 auto 2.6rem;
  display: block;
}

/* direct contacts */

.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  max-width: 640px;
  margin: 0 auto 1.6rem;
  text-align: left;
}

.ccard {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
}

.ccard .cn {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.ccard .cline {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-weight: 300;
  font-size: 0.96rem;
  margin-bottom: 0.45rem;
  transition: color 0.2s;
}

a.cline:hover {
  color: var(--orange);
}

.ccard .cline.muted {
  opacity: 0.55;
}

.orsep {
  color: var(--faint);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0.4rem 0 1.2rem;
}

/* hero hook */

.hero-hook {
  margin-top: 1.5rem;
  color: var(--muted);
  font-weight: 300;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-hook b {
  color: var(--cream);
  font-weight: 600;
}

.hero-hook .spark {
  background: var(--grad);
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* nabidka / tahak */

.offer {
  background: linear-gradient(120deg, rgb(240 114 34 / 15%), rgb(214 59 143 / 15%));
  border: 1px solid rgb(240 114 34 / 38%);
  border-radius: 28px;
  padding: 3.6rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.offer::after {
  content: "2 h";
  position: absolute;
  right: -1.5rem;
  bottom: -2.2rem;
  font-size: 11rem;
  font-weight: 700;
  line-height: 1;
  color: rgb(244 243 238 / 4%);
  pointer-events: none;
}

.offer .badge {
  display: inline-block;
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.15rem;
  border-radius: 30px;
  margin-bottom: 1.5rem;
}

.offer h2 {
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.offer p {
  color: var(--muted);
  font-weight: 300;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.55;
  max-width: 56ch;
  margin: 0 auto 1.9rem;
  position: relative;
  z-index: 2;
}

.offer .cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.offer .fineprint {
  margin-top: 1.3rem;
  color: var(--faint);
  font-size: 0.9rem;
  font-weight: 300;
  position: relative;
  z-index: 2;
}

/* akce / konference */

.events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.event {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 20px;
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: transform 0.3s, border-color 0.3s;
  position: relative;
}

.event:hover {
  transform: translateY(-6px);
  border-color: rgb(240 114 34 / 50%);
}

.event.feat {
  border-color: rgb(240 114 34 / 50%);
  background: linear-gradient(160deg, rgb(240 114 34 / 10%), var(--panel));
}

.event .date {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
}

.event .et {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
  margin-top: 0.2rem;
}

.event .ep {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.45;
  flex: 1;
}

.event .ewhere {
  color: var(--faint);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.event .ebtn {
  margin-top: 0.7rem;
  align-self: flex-start;
  font-size: 0.92rem;
  color: var(--cream);
  border: 1px solid var(--panel-line);
  border-radius: 30px;
  padding: 0.5rem 1.05rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.event .ebtn:hover {
  background: var(--grad);
  border-color: transparent;
}

.event .pill {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--grad);
  color: #fff;
  padding: 0.28rem 0.6rem;
  border-radius: 20px;
  font-weight: 600;
}

.events-foot {
  text-align: center;
  margin-top: 2.6rem;
  display: flex;
  gap: 1.6rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.events-foot.events-foot.events-foot.events-foot a {
  color: var(--orange);
  font-weight: 500;
}

.podcast-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2rem;
  border: 1px solid var(--panel-line);
  border-radius: 30px;
  padding: 0.7rem 1.3rem;
  color: var(--cream);
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.podcast-btn:hover {
  border-color: transparent;
  background: var(--grad);
}

/* ===== generic section spacing ===== */

.sec {
  padding: 11vh 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.sec-head {
  max-width: 64ch;
  margin-bottom: 3.4rem;
}

.sec-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sec-head .kicker {
  margin-bottom: 1.1rem;
}

.sec-head h2 {
  margin-bottom: 1.2rem;
}

/* ===== SPOJENI ===== */

.duo {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2.4rem;
  align-items: stretch;
}

.pillar {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 24px;
  padding: 2.6rem 2.2rem;
  transition: transform 0.3s, border-color 0.3s;
}

.pillar:hover {
  transform: translateY(-5px);
}

.pillar .role {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
}

.pillar.voice .role {
  color: var(--orange);
}

.pillar.voice:hover {
  border-color: rgb(240 114 34 / 50%);
}

.pillar.hands .role {
  color: var(--magenta);
}

.pillar.hands:hover {
  border-color: rgb(214 59 143 / 50%);
}

.pillar .who {
  font-size: 0.95rem;
  color: var(--faint);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.pillar ul {
  list-style: none;
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pillar li {
  color: var(--muted);
  font-weight: 300;
  font-size: 1.02rem;
  padding-left: 1.4rem;
  position: relative;
}

.pillar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
}

.pillar li b {
  color: var(--cream);
  font-weight: 600;
}

.fuse {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
}

.fuse .core {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
  box-shadow: 0 0 40px rgb(214 59 143 / 50%);
  animation: pulse 3s ease-in-out infinite;
}

/* stat strip */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 3.4rem;
}

.stat {
  text-align: center;
  padding: 1.6rem 1rem;
  border: 1px solid var(--panel-line);
  border-radius: 18px;
  background: var(--panel);
}

.stat .n {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
}

.stat .l {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.92rem;
  margin-top: 0.6rem;
}

/* ===== FRAMEWORK ===== */

.fw {
  background: linear-gradient(180deg, transparent, rgb(18 18 31 / 60%), transparent);
}

.fw-diagram {
  width: 100%;
  margin: 1rem 0 3rem;
  overflow: visible;
}

.fw-diagram svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.flow {
  stroke: url("#fwgrad");
  stroke-width: 2.5;
  fill: none;
  stroke-dasharray: 6 8;
  animation: dash 22s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -560;
  }
}

.fermion {
  stroke: rgb(244 243 238 / 25%);
  stroke-width: 1.6;
  fill: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
}

.step {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 18px;
  padding: 1.8rem 1.4rem;
  transition: transform 0.3s, border-color 0.3s;
}

.step:hover {
  transform: translateY(-6px);
  border-color: rgb(240 114 34 / 50%);
}

.step .si {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.1em;
}

.step .sko {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 0.5rem;
}

.step h3 {
  margin: 0.55rem 0 0.6rem;
}

.step p {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.45;
}

.step.keep {
  border-color: rgb(214 59 143 / 40%);
  background: linear-gradient(160deg, rgb(214 59 143 / 8%), var(--panel));
}

.step.keep .si {
  color: var(--magenta);
}

/* ===== USE CASES ===== */

.filters {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}

.chip {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  color: var(--muted);
  padding: 0.5rem 1.1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  font-family: inherit;
}

.chip.active,
.chip:hover {
  color: #fff;
  border-color: transparent;
  background: var(--grad);
}

.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.case {
  position: relative;
  border: 1px solid var(--panel-line);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: var(--anthracite2);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, border-color 0.3s;
}

.case:hover {
  transform: translateY(-6px);
  border-color: rgb(240 114 34 / 55%);
}

.case .thumb {
  height: 168px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.case .thumb.ph {
  background: var(--grad);
  opacity: 0.9;
}

.case .thumb.ph::before {
  content: attr(data-i);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  font-weight: 700;
  color: rgb(11 11 20 / 45%);
}

.case .thumb.logo {
  background: #0e0e1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case .thumb.logo img {
  max-width: 58%;
  max-height: 46%;
  object-fit: contain;
}

.case .thumb:not(.logo)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgb(11 11 20 / 75%));
}

.case .body {
  padding: 1.3rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2;
}

.case .tag {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
}

.case .ct {
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.25;
}

.case .cs {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.92rem;
  margin-top: auto;
}

.case .more {
  font-size: 0.85rem;
  color: var(--faint);
  margin-top: 0.4rem;
}

.brandtag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgb(11 11 20 / 70%);
  border: 1px solid var(--panel-line);
  padding: 0.28rem 0.6rem;
  border-radius: 20px;
  color: var(--cream);
}

/* ===== PROC GLUON ===== */

.why {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.wcard {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 20px;
  padding: 2.2rem;
  transition: transform 0.3s, border-color 0.3s;
}

.wcard:hover {
  transform: translateY(-5px);
  border-color: rgb(214 59 143 / 45%);
}

.wcard .num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--magenta);
  letter-spacing: 0.1em;
}

.wcard h3 {
  margin: 0.8rem 0 0.7rem;
}

.wcard p {
  color: var(--muted);
  font-weight: 300;
  line-height: 1.55;
}

/* ===== BEZPECNOST ===== */

.layers {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}

.layer {
  border: 1px solid var(--panel-line);
  border-radius: 30px;
  padding: 0.55rem 1.3rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
}

.layer.layer b {
  color: var(--cream);
  font-weight: 600;
}

.risks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.risk {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 16px;
  padding: 1.6rem 1.5rem;
  transition: transform 0.3s, border-color 0.3s;
}

.risk:hover {
  transform: translateY(-5px);
  border-color: rgb(214 59 143 / 40%);
}

.risk .rt {
  font-weight: 600;
  font-size: 1.08rem;
}

.risk .rp {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.94rem;
  margin: 0.5rem 0 0.85rem;
  line-height: 1.45;
}

.risk .rf {
  color: var(--orange);
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.4;
}

.guarantee {
  margin-top: 2.6rem;
  text-align: center;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 500;
  color: var(--cream);
}

/* ===== KONTEXT TRHU ===== */

.market {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 26px;
  padding: 3.2rem 2.6rem;
  text-align: center;
}

.market .mgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin: 2.4rem 0;
}

.market .m .n {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
}

.market .m .l {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.market .punch {
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 500;
  max-width: 32ch;
  margin: 0 auto;
}

/* ===== CTA / KONTAKT ===== */

.contact {
  text-align: center;
}

.cform {
  max-width: 620px;
  margin: 2.8rem auto 0;
  display: grid;
  gap: 1rem;
}

.cform .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cform input,
.cform textarea {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  color: var(--cream);
  font-family: inherit;
  font-size: 1rem;
}

.cform textarea:focus {
  outline: none;
  border-color: var(--orange);
}

/* ===== FOOTER ===== */

footer {
  border-top: 1px solid var(--panel-line);
  padding: 4rem 0 3rem;
  margin-top: 6vh;
}

.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.foot.foot.foot.foot img {
  height: 44px;
  margin-bottom: 1.2rem;
}

.foot .claim {
  color: var(--muted);
  font-weight: 300;
  max-width: 34ch;
}

.foot h4 {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1.1rem;
}

.foot.foot.foot.foot a {
  display: block;
  color: var(--muted);
  margin-bottom: 0.7rem;
  font-weight: 300;
  transition: color 0.2s;
}

.foot.foot.foot.foot a:hover {
  color: var(--orange);
}

.foot-bottom {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--panel-line);
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== MODAL ===== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
}

.modal.open {
  display: flex;
}

.modal-bg {
  position: absolute;
  inset: 0;
  background: rgb(5 5 10 / 80%);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  z-index: 2;
  background: var(--anthracite2);
  border: 1px solid var(--panel-line);
  border-radius: 24px;
  max-width: 680px;
  width: 100%;
  max-height: 86vh;
  overflow: auto;
  padding: 2.8rem;
}

.modal-card .mtag {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
}

.modal-card h3 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0.6rem 0 1.2rem;
}

.modal-card p {
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.modal-card .ph-note {
  background: rgb(240 114 34 / 8%);
  border: 1px dashed rgb(240 114 34 / 40%);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 300;
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.6rem;
  cursor: pointer;
}

/* cookie bar */

.cookiebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: rgb(11 11 20 / 96%);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--panel-line);
  padding: 1.1rem 6vw;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.cookiebar.show {
  display: flex;
}

.cookiebar p {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 66ch;
  margin: 0;
}

.cookiebar.cookiebar.cookiebar.cookiebar.cookiebar.cookiebar a {
  color: var(--orange);
}

.cookiebar .cbtns {
  display: flex;
  gap: 0.7rem;
  flex-shrink: 0;
}

.cookiebar .cbtn {
  font-family: inherit;
  font-size: 0.9rem;
  border-radius: 30px;
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  border: 1px solid var(--panel-line);
  background: transparent;
  color: var(--cream);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.cookiebar .cbtn.primary {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  font-weight: 500;
}

.cookiebar .cbtn:hover {
  border-color: var(--orange);
}

.cookiebar .cbtn.primary:hover {
  transform: translateY(-1px);
}

/* reveal */

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

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

/* responsive */

@media (width <= 1080px) {
  .nav .links {
    display: none;
  }

  .burger {
    display: block;
  }

  /* otevřené menu = panel přes celou šířku, ukotvený k oknu (vždy na obrazovce) */
  .nav.open .links {
    display: flex;
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #0B0B14;
    border-top: 1px solid var(--panel-line);
    padding: 0.4rem 6vw 1.2rem;
    box-shadow: 0 24px 50px rgb(0 0 0 / 50%);
  }

  .nav.open .links a {
    width: 100%;
    padding: 0.85rem 0;
  }
}

@media (width <= 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    min-height: 32vh;
  }

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

  .fuse {
    width: auto;
    transform: rotate(90deg);
    margin: 0 auto;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

  .ucards {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .result-video {
    grid-template-columns: 1fr;
  }

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

@media (width <= 560px) {
  .cases {
    grid-template-columns: 1fr;
  }

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

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

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

  .cform .row {
    grid-template-columns: 1fr;
  }

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

  .market .mgrid {
    grid-template-columns: 1fr;
  }

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

/* ===================== v2 přestavba – nové bloky ===================== */

/* Realita trhu – zdrojová poznámka */
.msource{
  text-align:center;
  color:var(--faint);
  font-size:.82rem;
  margin:.4rem 0 1.6rem;
}

/* Proč vznikl Gluon – výsledek */
.result-line{
  text-align:center;
  max-width:760px;
  margin:2.8rem auto 0;
}

.result-line .kicker{
  display:block;
  margin-bottom:.8rem;
}

.result-line h3{
  font-size:clamp(1.2rem,2.4vw,1.6rem);
  font-weight:500;
  line-height:1.4;
  color:var(--muted);
}
.result-line h3 .grad{font-weight:700}

/* Use cases – konceptové karty (Problém → Řešení → Přínos) */
.ucards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.4rem;
}

.ucard{
  border:1px solid rgb(244 243 238 / 22%);
  background:var(--panel);
  border-radius:20px;
  padding:1.6rem 1.5rem 1.4rem;
  display:flex;
  flex-direction:column;
  cursor:pointer;
  transition:transform .3s,border-color .3s;
}

.ucard:hover{
  transform:translateY(-4px);
  border-color:rgb(240 114 34 / 45%);
}

.ucard .utag{
  font-weight:600;
  color:var(--cream);
  font-size:1.12rem;
  margin-bottom:1rem;
}
.ucard .ublock{margin-bottom:.85rem}
.ucard .ublock.res{margin-bottom:1.1rem}

.ucard .ulabel{
  display:block;
  font-size:.72rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--faint);
  margin-bottom:.18rem;
}

.ucard .ublock.res .ulabel{
  color:transparent;
  background:var(--grad);
  background-clip:text;
}

.ucard .ublock p{
  color:var(--muted);
  font-weight:300;
  font-size:.96rem;
  line-height:1.5;
  margin:0;
}

.ucard .ublock.res p{
  color:var(--cream);
  font-weight:400;
}

.ucard .ulink{
  margin-top:1rem;
  color:var(--cream);
  font-weight:500;
  font-size:.92rem;
  border-bottom:1px solid transparent;
  align-self:flex-end;
  transition:border-color .2s;
}
.ucard .ulink:hover{border-color:var(--orange)}

/* Bezpečnost – krátký list + certifikáty */
.seclist{
  display:flex;
  flex-wrap:wrap;
  gap:.8rem;
  justify-content:center;
  margin:0 0 1.4rem;
}

.seclist .secitem{
  border:1px solid var(--panel-line);
  background:var(--panel);
  border-radius:40px;
  padding:.6rem 1.3rem;
  color:var(--cream);
  font-weight:500;
  font-size:.95rem;
}

.certs{
  text-align:center;
  color:var(--faint);
  font-size:.88rem;
  margin:0 0 2rem;
}

/* ===================== v4 doplňky ===================== */

/* hero – podnadpis pod H1 */
.hero .subhead{
  font-size:clamp(1.05rem,2vw,1.3rem);
  color:var(--muted);
  font-weight:400;
  margin:0 0 1.1rem;
}

.hero .subhead b{
  color:var(--cream);
  font-weight:600;
}

/* Proč vznikl Gluon – Výsledek + video (dvojsloupec) */
.result-video{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2.4rem;
  align-items:center;
  margin-top:2.8rem;
}

.result-video .rv-text .kicker{
  display:block;
  margin-bottom:.7rem;
}

.result-video .rv-text h3{
  font-size:clamp(1.6rem,3vw,2.2rem);
  font-weight:700;
  margin:0 0 .6rem;
}
/* stylelint-disable-next-line no-descending-specificity */
.result-video .rv-text p{
  color:var(--muted);
  font-weight:300;
  line-height:1.6;
  font-size:1.05rem;
  max-width:42ch;
}

.result-video .rv-video video{
  width:100%;
  display:block;
  border-radius:18px;
  border:1px solid var(--panel-line);
  background:#000;
  box-shadow:0 24px 60px rgb(0 0 0 / 45%);
}

/* Zakladatelé – třetí karta na celý řádek + bohatší obsah */
.people.single{
  grid-template-columns:1fr;
  margin-top:1.4rem;
}

.person .prole{
  color:var(--muted);
  font-style:italic;
  font-size:.94rem;
  margin-top:.1rem;
}

.person .pe{
  color:var(--faint);
  font-size:.86rem;
  margin:.45rem 0 .55rem;
}

/* Program První krok – výpis výstupů + value line */
.offer .getlist{
  text-align:left;
  max-width:520px;
  margin:1.6rem auto .4rem;
  background:var(--panel);
  border:1px solid var(--panel-line);
  border-radius:16px;
  padding:1.2rem 1.4rem;
}

.offer .getlist .gl-h{
  color:var(--cream);
  font-weight:600;
  margin-bottom:.6rem;
}

.offer .getlist ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:.45rem;
}

.offer .getlist li{
  position:relative;padding-left:1.7rem;color:var(--muted);font-weight:300;line-height:1.45;
}

.offer .getlist li::before{
  content:"✓";position:absolute;left:0;top:0;
  color:transparent;background:var(--grad);background-clip:text;font-weight:700;
}

.offer .valueline{
  margin:1.4rem auto 0;
  max-width:560px;
  color:var(--muted);
  font-weight:300;
  line-height:1.6;
}

/* ===================== mobil: skládání videa (v6) ===================== */

/* video na homepage se pod 980px skládá pod text (přebíjí základní 2-sloupec) */
@media (width <= 980px) {
  .result-video {
    grid-template-columns: 1fr;
  }
}

/* CTA zůstává v liště i na mobilu — kompaktní, ať se vejde logo + CTA + hamburger (v9) */
@media (width <= 560px) {
  .nav {
    gap: 0.6rem;
  }

  .nav .logo img {
    height: 30px;
  }

  .nav .btn {
    padding: 0.48rem 0.85rem;
    font-size: 0.8rem;
  }
}
