:root {
  color-scheme: light;
  --blue: #11449e;
  --blue-deep: #092e75;
  --yellow: #f5de40;
  --paper: #f1f0ee;
  --white: #ffffff;
  --ink: #10243b;
  --muted: #5a6d86;
  --shadow: 0 26px 80px rgba(9, 46, 117, 0.2);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.96) 0, rgba(255, 255, 255, 0) 42rem),
    var(--paper);
}

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

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 14px clamp(12px, 2.2vw, 34px);
  background: linear-gradient(180deg, rgba(241, 240, 238, 0.96), rgba(241, 240, 238, 0.72));
  backdrop-filter: blur(8px);
}

.topbar__mark {
  color: var(--blue-deep);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 1rem;
  text-decoration: none;
}

.topbar__mark span {
  color: var(--blue);
}

.langbtn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  background: rgba(17, 68, 158, 0.06);
  border: 1px solid rgba(17, 68, 158, 0.16);
  color: var(--blue-deep);
  padding: 0.42rem 0.8rem 0.42rem 0.5rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background 0.25s, border-color 0.25s;
}

.langbtn:hover,
.langbtn:focus-visible {
  background: rgba(245, 222, 64, 0.35);
  border-color: var(--blue);
}

.langbtn svg {
  border-radius: 2px;
  flex: none;
}

.page-shell {
  width: min(100%, 1480px);
  margin: 0 auto;
  padding: clamp(12px, 2.2vw, 34px);
  padding-top: 0;
}

.launch-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: clamp(18px, 2.2vw, 30px) clamp(18px, 2.2vw, 30px) 0 0;
  background: linear-gradient(118deg, var(--blue-deep) 0%, var(--blue) 68%, #0d50b3 100%);
  box-shadow: var(--shadow);
  color: var(--white);
}

.launch-card::before {
  position: absolute;
  right: -11%;
  bottom: -66%;
  width: min(72vw, 960px);
  aspect-ratio: 2.1 / 1;
  content: "";
  border: clamp(16px, 2.2vw, 32px) solid var(--yellow);
  border-radius: 50%;
  opacity: 0.98;
  transform: rotate(-7deg);
  pointer-events: none;
}

.launch-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 100%;
  mask-image: linear-gradient(90deg, black, transparent 70%);
  pointer-events: none;
}

.launch-card__content {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  min-height: 260px;
  padding: clamp(36px, 5vw, 78px);
}

.launch-card__content--solo {
  grid-template-columns: 1fr;
  max-width: 920px;
}

.location {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.22em;
}

.location::before {
  width: 44px;
  height: 4px;
  content: "";
  border-radius: 999px;
  background: var(--yellow);
}

h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.5rem, 5.1vw, 5.15rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-wrap: balance;
}

.identity,
.slogan {
  display: block;
}

.identity strong {
  color: var(--yellow);
  font-weight: 900;
}

.slogan {
  max-width: 940px;
  margin-top: 16px;
  font-size: clamp(1.55rem, 3.1vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero-note {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.team-hint {
  margin: 14px 0 0;
  color: var(--yellow);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 800;
}

.hero-actions {
  position: absolute;
  top: 50%;
  right: clamp(36px, 5vw, 78px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  transform: translateY(-50%);
}

.fb-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(9, 46, 117, 0.3);
  color: var(--blue-deep);
  font-size: clamp(0.85rem, 1vw, 0.98rem);
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.fb-link svg {
  flex: none;
  color: #1877f2;
}

.fb-link:hover,
.fb-link:focus-visible {
  background: #fff9cc;
  transform: translateY(-2px);
}

.facts-btn {
  display: block;
  padding: clamp(16px, 1.8vw, 26px) clamp(24px, 3vw, 48px);
  border-radius: 18px;
  background: #e8483f;
  box-shadow: 0 14px 34px rgba(9, 46, 117, 0.35);
  color: var(--yellow);
  font-size: clamp(0.95rem, 1.35vw, 1.3rem);
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.facts-btn:hover,
.facts-btn:focus-visible {
  background: #d63a31;
  transform: translateY(-2px);
}

.facts-btn:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.team-photo {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(9, 46, 117, 0.12);
  border-top: 9px solid var(--yellow);
  border-radius: 0 0 clamp(18px, 2.2vw, 30px) clamp(18px, 2.2vw, 30px);
  background: #f1f0ee;
  box-shadow: var(--shadow);
}

.team-stage {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
  line-height: 1.2;
}

#team-overlay {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2048 / 1268;
}

.person-link {
  cursor: pointer;
  outline: none;
  touch-action: manipulation;
}

.person-shape {
  forced-color-adjust: none;
  fill: rgba(12, 84, 145, 0);
  stroke: rgba(255, 255, 255, 0);
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
  paint-order: stroke fill;
  pointer-events: all;
  transition: fill 160ms ease, stroke 160ms ease, filter 160ms ease;
}

.person-link:hover .person-shape,
.person-link:focus .person-shape,
.person-link:focus-visible .person-shape {
  fill: rgba(9, 76, 135, 0.2);
  stroke: var(--yellow);
  filter: drop-shadow(0 0 5px rgba(8, 45, 78, 0.72));
}

.person-card {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 0;
  width: clamp(148px, 16vw, 224px);
  padding: clamp(10px, 1.25vw, 18px) clamp(13px, 1.5vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-top: 4px solid var(--yellow);
  border-radius: 4px;
  background: rgba(10, 35, 61, 0.96);
  box-shadow: 0 12px 30px rgba(2, 16, 29, 0.28);
  color: #fff;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(-100% - 12px)) scale(0.97);
  transform-origin: 50% 100%;
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms step-end;
}

.person-card.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, calc(-100% - 12px)) scale(1);
  transition: opacity 140ms ease, transform 140ms ease, visibility 0s;
}

.person-card__number {
  display: block;
  margin-bottom: 2px;
  color: var(--yellow);
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.person-card__name {
  display: block;
  font-size: clamp(13px, 1.25vw, 19px);
  font-weight: 650;
  line-height: 1.25;
}

.band {
  padding-block: clamp(56px, 8vh, 110px);
}

.band--tint {
  margin-inline: calc(-1 * clamp(12px, 2.2vw, 34px));
  padding-inline: clamp(12px, 2.2vw, 34px);
  background: linear-gradient(180deg, rgba(17, 68, 158, 0.06), rgba(17, 68, 158, 0.02));
  border-block: 1px solid rgba(17, 68, 158, 0.08);
}

.band__inner {
  width: min(100%, 1120px);
  margin-inline: auto;
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin: 0 0 1.1rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--yellow);
  flex: none;
}

.eyebrow--center {
  justify-content: center;
}

h2 {
  margin: 0 0 1.2rem;
  color: var(--blue-deep);
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

h3 {
  margin: 0 0 0.55rem;
  color: var(--blue-deep);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.band p {
  margin: 0 0 1.1rem;
  color: var(--ink);
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.65;
}

.lead {
  max-width: 64ch;
  color: #24364f;
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.55;
}

.lead--center {
  margin-inline: auto;
  text-align: center;
}

.muted {
  color: var(--muted);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
  margin-top: 2.4rem;
}

.pillar {
  position: relative;
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: 10px;
  background: linear-gradient(160deg, var(--blue-deep) 0%, var(--blue) 100%);
  box-shadow: 0 16px 40px rgba(9, 46, 117, 0.18);
  color: var(--white);
}

.pillar h3 {
  color: var(--yellow);
}

.pillar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.97rem;
}

.school {
  padding: clamp(26px, 4vw, 48px);
  border-top: 6px solid var(--yellow);
  background:
    linear-gradient(135deg, rgba(17, 68, 158, 0.1), rgba(245, 222, 64, 0.12)),
    var(--white);
}

.school .lead {
  color: #1d3149;
}

.school-note {
  margin: 1.4rem 0 0;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.6;
}

.vow-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.2rem;
}

.vow-note {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.vows {
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 70px);
}

.vow {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(17, 68, 158, 0.14);
  align-items: start;
}

.vow-num {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  background: var(--blue);
  color: var(--yellow);
  font-size: 1.05rem;
  font-weight: 900;
}

.vow p {
  margin: 0.3rem 0 0;
  color: #3a4d66;
  font-size: 0.95rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.3rem;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(17, 68, 158, 0.14);
}

.step-k {
  min-width: 3.2rem;
  padding-top: 0.25rem;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.step p {
  margin: 0.35rem 0 0;
  color: #3a4d66;
  font-size: 0.96rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2.6rem;
  background: rgba(17, 68, 158, 0.14);
  border: 1px solid rgba(17, 68, 158, 0.14);
}

.fact {
  padding: clamp(20px, 2.6vw, 34px);
  background: var(--blue);
  color: var(--white);
}

.fact b {
  display: block;
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.fact span {
  display: block;
  margin-top: 0.7rem;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cta {
  text-align: center;
}

.cta h2 {
  max-width: 18ch;
  margin-inline: auto;
}

.cta-action {
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  background: var(--yellow);
  color: var(--blue-deep);
  font-weight: 800;
  padding: 0.9rem 1.45rem;
  border: 1px solid var(--yellow);
  transition: transform 0.2s, background 0.2s;
}

.btn:hover,
.btn:focus-visible {
  background: #ffe86a;
  transform: translateY(-2px);
}

.site-footer {
  padding-block: 36px 20px;
  border-top: 1px solid rgba(17, 68, 158, 0.12);
  color: var(--muted);
  font-size: 0.9rem;
}

.footrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  justify-content: space-between;
  align-items: center;
}

.footrow a {
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
  color: var(--blue-deep);
  font-weight: 700;
  padding: 0.2rem 0 0.1rem;
}

.footrow a:hover {
  color: var(--blue);
}

.legal {
  margin-top: 1.3rem;
  color: #7a8798;
  font-size: 0.75rem;
  line-height: 1.7;
}

.rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media (max-width: 1000px) {
  .grid2 {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 1200px) {
  .hero-actions {
    position: relative;
    top: auto;
    right: auto;
    align-items: flex-start;
    margin: 0 clamp(18px, 5vw, 78px) clamp(36px, 5vw, 78px);
    transform: none;
  }
}

@media (max-width: 980px) {
  .launch-card::before {
    right: -26%;
    bottom: -28%;
    width: 110vw;
  }
}

@media (max-width: 600px) {
  .page-shell {
    padding: 0;
  }

  .band--tint {
    margin-inline: 0;
    padding-inline: 18px;
  }

  .band {
    padding-inline: 18px;
  }

  .site-footer {
    padding-inline: 18px;
  }

  .launch-card,
  .team-photo {
    border-radius: 0;
  }

  .launch-card__content {
    gap: 26px;
    padding: 34px 18px 42px;
    min-height: auto;
  }

  .location {
    margin-bottom: 14px;
  }

  h1 {
    font-size: clamp(2.25rem, 12.5vw, 4rem);
  }

  .slogan {
    margin-top: 14px;
    font-size: clamp(1.42rem, 7.3vw, 2.3rem);
  }

  .team-photo {
    border-right: 0;
    border-left: 0;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .launch-card__content,
  .team-photo {
    animation: reveal 700ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
  }

  .team-photo {
    animation-delay: 100ms;
  }
}

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

  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .person-shape,
  .person-card {
    transition: none;
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Maďarská verzia: dlhšie texty v nadpise – menšie písmo, jeden riadok */
@media (min-width: 601px) {
  html[lang="hu"] .identity {
    white-space: nowrap;
    font-size: 0.82em;
  }

  html[lang="hu"] .slogan {
    white-space: nowrap;
    font-size: clamp(0.9rem, 2.05vw, 2.2rem);
  }
}

@media (max-width: 600px) {
  html[lang="hu"] .identity {
    font-size: 0.82em;
  }

  html[lang="hu"] .slogan {
    font-size: clamp(1rem, 5vw, 1.7rem);
  }
}

/* Režim vysokého kontrastu (forced colors): obrysy ľudí nesmú prekryť fotku */
@media (forced-colors: active) {
  .person-shape {
    fill: transparent;
    stroke: transparent;
  }

  .person-link:hover .person-shape,
  .person-link:focus .person-shape,
  .person-link:focus-visible .person-shape {
    stroke: Highlight;
  }
}

.legal--order {
  margin-top: 0.4rem;
}
