:root {
  --bg: #08284a;
  --blue-deep: #061f3a;
  --blue-mid: #0a3158;
  --bg-soft: #0a3158;
  --paper: #08284a;
  --paper-soft: #ffffff;
  --red: #d7141a;
  --red-dark: #b51016;
  --line: rgba(255,255,255,.14);
  --text: #ffffff;
  --muted: #dbe7f3;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  transform: translateY(-200%);
  background: white;
  color: black;
  padding: .75rem 1rem;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.15rem clamp(1.2rem, 3vw, 3rem);
  background: rgba(0,0,0,.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img {
  display: block;
  width: auto;
  height: 66px;
  filter: invert(1);
  opacity: .96;
}

.site-nav { display: flex; gap: 1.6rem; align-items: center; }
.site-nav a {
  text-decoration: none;
  color: var(--paper-soft);
  font-size: .9rem;
  transition: color .2s ease;
}
.site-nav a:hover, .site-nav a:focus-visible { color: white; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: white;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 8rem clamp(1.2rem, 5vw, 4.5rem) 5rem;
  background:
    radial-gradient(circle at 70% 35%, rgba(215,20,26,.24), transparent 22rem),
    radial-gradient(circle at 30% 70%, rgba(255,255,255,.05), transparent 26rem),
    var(--bg);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, transparent 0, black 18%, black 70%, transparent 100%);
}
.hero-orbit {
  position: absolute;
  width: min(55vw, 700px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 50%;
}
.orbit-a { right: -15vw; top: 7vh; }
.orbit-b { left: -25vw; bottom: -25vh; width: min(65vw, 850px); }

.hero-shell {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}
.hero-content {
  position: relative;
}
.hero-logo-wrap {
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: clamp(1.2rem, 3vw, 2.4rem);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.025);
  backdrop-filter: blur(2px);
}
.hero-logo {
  display: block;
  width: min(100%, 410px);
  height: auto;
  filter: invert(1) drop-shadow(0 20px 45px rgba(0,0,0,.25));
  opacity: .97;
}

.eyebrow {
  margin: 0 0 1.5rem;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: var(--muted);
}
.hero h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  max-width: 980px;
  font-size: clamp(4.2rem, 13vw, 10rem);
  line-height: .77;
  letter-spacing: -.07em;
}
.hero h1 span { font-size: .34em; letter-spacing: .08em; color: var(--red); margin-left: .08em; }
.hero h1 strong { font-weight: 950; }
.hero h1 em { font-style: normal; font-weight: 250; color: var(--paper-soft); }
.hero-lead {
  margin: 2.3rem 0 .4rem;
  font-size: clamp(1.7rem, 3.2vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -.04em;
}
.hero-copy { max-width: 570px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .8rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 750;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--red); color: white; }
.button-primary:hover, .button-primary:focus-visible { background: var(--red-dark); }
.button-ghost { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.2); color: white; }

.hero-side-note {
  position: absolute;
  right: clamp(1rem, 3vw, 3rem);
  bottom: 2rem;
  display: flex;
  gap: 1rem;
  color: rgba(255,255,255,.55);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .7rem;
}
.scroll-cue {
  position: absolute;
  left: clamp(1rem, 3vw, 3rem);
  bottom: 1.7rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--muted);
  text-decoration: none;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .2em;
}
.scroll-cue i { display: block; width: 48px; height: 1px; background: var(--red); }

.section {
  padding: clamp(5rem, 9vw, 9rem) clamp(1.2rem, 5vw, 4.5rem);
}
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-kicker {
  margin-bottom: 2rem;
  color: var(--red);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .24em;
  font-weight: 800;
}
.section-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.section h2 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 6rem);
  line-height: .92;
  letter-spacing: -.055em;
}
.prose { max-width: 620px; }
.prose p, .prague-content p { color: var(--muted); }
.prose .lead, .prague-content .lead {
  color: var(--text);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.35;
  letter-spacing: -.025em;
}

.intro { background: var(--bg); color: white; }
.intro .section-kicker { color: var(--red); }
.intro .prose p { color: var(--muted); }
.intro .prose .lead { color: white; }
.feature-row {
  margin-top: clamp(3.5rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.16);
}
.feature-card { padding: 1.5rem 2rem 0 0; }
.feature-card + .feature-card { border-left: 1px solid rgba(255,255,255,.16); padding-left: 2rem; }
.feature-number { font-family: ui-monospace, monospace; color: var(--red); font-size: .75rem; }
.feature-card h3 { margin: .8rem 0 .45rem; font-size: 1.45rem; }
.feature-card p { margin: 0; color: var(--muted); }

.journey { background: var(--bg-soft); }
.journey-heading { margin-bottom: 4rem; }
.timeline {
  position: relative;
  padding-top: 1rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 139px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.timeline-item {
  display: grid;
  grid-template-columns: 110px 58px minmax(0, 1fr);
  align-items: center;
  min-height: 110px;
  border-bottom: 1px solid var(--line);
}
.timeline-year { font-size: 1.1rem; font-weight: 800; color: var(--paper-soft); }
.timeline-dot {
  position: relative;
  z-index: 2;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid #777;
  justify-self: center;
}
.timeline-item-current .timeline-dot { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 8px rgba(214,37,49,.1); }
.timeline-item h3 { margin: 0; font-size: clamp(1.45rem, 2.8vw, 2.5rem); letter-spacing: -.035em; }
.timeline-item p { margin: .25rem 0 0; color: var(--muted); }
.timeline-item-current h3, .timeline-item-current .timeline-year { color: white; }
.story-banner {
  width: 100%;
  margin-top: 3rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 0;
  color: white;
  background: linear-gradient(110deg, rgba(214,37,49,.18), rgba(255,255,255,.03));
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}
.play-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  padding-left: 2px;
}

.tournament { background: var(--blue-deep); }
.info-grid {
  margin-top: 4.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
}
.info-panel {
  min-height: 260px;
  background: #0e3b6d;
  padding: 2rem;
}
.info-panel span { color: var(--red); font-size: .74rem; text-transform: uppercase; letter-spacing: .2em; }
.info-panel strong { display: block; margin-top: 2.4rem; font-size: 1.65rem; letter-spacing: -.03em; }
.info-panel p { color: var(--muted); }

.prague {
  max-width: none;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 0;
  padding: 0;
  background: var(--paper);
  color: #0b315b;
}
.prague > * { max-width: none; margin: 0; }
.prague-visual {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(214,37,49,.32), transparent 20rem),
    var(--blue-deep);
}
.bridge-line {
  position: absolute;
  left: 8%; right: 8%; bottom: 25%; height: 8px;
  border-radius: 50%; border-top: 3px solid rgba(255,255,255,.85);
}
.tower {
  position: absolute;
  bottom: 25%;
  width: 60px;
  height: 170px;
  border: 3px solid rgba(255,255,255,.9);
  border-bottom: 0;
}
.tower::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -58px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 38px solid transparent;
  border-right: 38px solid transparent;
  border-bottom: 58px solid rgba(255,255,255,.88);
}
.tower-1 { left: 18%; transform: scale(.72); transform-origin: bottom; }
.tower-2 { left: 48%; height: 250px; width: 72px; }
.tower-3 { right: 16%; transform: scale(.86); transform-origin: bottom; }
.volleyball {
  position: absolute;
  width: 76px;
  height: 76px;
  border: 3px solid white;
  border-radius: 50%;
  top: 23%; left: 54%;
  box-shadow: inset 18px 0 0 -15px var(--red), inset -18px 0 0 -15px var(--red);
}
.prague-content { padding: clamp(5rem, 9vw, 9rem) clamp(1.5rem, 6vw, 6rem); align-self: center; }
.prague-content .section-kicker { margin-left: 0; }
.prague-content h2 { max-width: 600px; }
.prague-content p { max-width: 570px; color: #625f59; }
.prague-content .lead { color: #0b315b; }
.text-link { display: inline-flex; gap: .7rem; text-decoration: none; color: #0b315b; font-weight: 800; border-bottom: 1px solid #0b315b; padding-bottom: .25rem; margin-top: 1rem; }

.final-cta {
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(215,20,26,.25), transparent 20rem),
    var(--bg);
}
.final-cta h2 { margin-inline: auto; }
.final-cta p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.final-cta .button { align-self: center; margin-top: 1.3rem; }
.final-cta small { margin-top: 1.1rem; color: rgba(255,255,255,.55); }

.site-footer {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1.2rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .84rem;
}
.footer-brand img {
  display: block;
  width: auto;
  height: 74px;
  filter: invert(1);
  opacity: .9;
}
.site-footer a { text-decoration: none; }

.video-dialog {
  width: min(94vw, 1200px);
  border: 0;
  padding: 0;
  background: transparent;
  color: white;
}
.video-dialog::backdrop { background: rgba(6,28,53,.93); backdrop-filter: blur(8px); }
.video-dialog-inner { position: relative; }
.video-close {
  position: absolute;
  right: 0;
  top: -52px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(11,49,91,.8);
  color: white;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.video-frame { aspect-ratio: 16 / 9; background: #061c35; box-shadow: 0 20px 80px rgba(6,28,53,.55); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }


/* Czech flag palette: blue surfaces, white space and red accents */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,.85) 0 50%, var(--red) 50% 100%);
  opacity: .75;
}

.hero-logo-wrap {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), 0 24px 80px rgba(6,28,53,.18);
}

.button-ghost:hover, .button-ghost:focus-visible {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.38);
}

@media (max-width: 900px) {
  .menu-toggle { display: block; z-index: 102; }
  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 6rem 2rem;
    background: rgba(0,0,0,.985);
    transform: translateX(100%);
    transition: transform .25s ease;
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { font-size: clamp(2rem, 7vw, 4rem); font-weight: 850; letter-spacing: -.04em; }
  .hero-shell { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .hero-logo-wrap { min-height: 390px; max-width: 520px; width: 100%; }
  .hero-logo { width: min(78vw, 360px); }
  .section-layout { grid-template-columns: 1fr; }
  .feature-row, .info-grid { grid-template-columns: 1fr; }
  .feature-card + .feature-card { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); padding-left: 0; padding-top: 1.5rem; margin-top: 1.5rem; }
  .prague { grid-template-columns: 1fr; }
  .prague-visual { min-height: 520px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .hero { align-items: start; padding-bottom: 7rem; }
  .brand img { height: 54px; }
  .hero-logo-wrap { min-height: 330px; padding: 1rem; }
  .hero-logo { width: min(76vw, 310px); }
  .hero h1 { font-size: clamp(4rem, 22vw, 7rem); }
  .hero-side-note { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .timeline::before { left: 89px; }
  .timeline-item { grid-template-columns: 66px 46px minmax(0, 1fr); min-height: 125px; }
  .timeline-year { font-size: .88rem; }
  .timeline-item h3 { font-size: 1.35rem; }
  .timeline-item p { font-size: .9rem; }
  .prague-visual { min-height: 400px; }
  .tower-1 { left: 10%; }
  .tower-2 { left: 43%; }
  .tower-3 { right: 9%; }
}

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


/* v4 refinements */
.site-header {
  background: rgba(0,0,0,.96);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.site-header::after { display: none; }
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: .55rem;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.brand-evs-text {
  display: inline-flex;
  font-size: 1.55rem;
  font-weight: 950;
  letter-spacing: -.06em;
}
.brand-e { color: #ffffff; }
.brand-v { color: var(--red); }
.brand-s { color: #2d70b8; }
.brand-prague-text {
  color: #ffffff;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -.035em;
}
.hero-date {
  margin: .45rem 0 0;
  color: #ffffff;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: .02em;
}
.intro .feature-row { border-color: rgba(255,255,255,.16); }
.intro .feature-card + .feature-card { border-color: rgba(255,255,255,.16); }
.intro .feature-card h3,
.intro .feature-card p,
.intro h2 { color: #ffffff; }
.journey { background: var(--blue-mid); }
.final-cta { background: radial-gradient(circle at 50% 45%, rgba(215,20,26,.22), transparent 20rem), var(--blue-deep); }
.site-footer { background: var(--blue-deep); color: var(--muted); }
.site-nav a { color: #ffffff; }
.hero-logo-wrap { background: rgba(255,255,255,.02); }

@media (max-width: 620px) {
  .brand-evs-text { font-size: 1.35rem; }
  .brand-prague-text { font-size: 1.05rem; }
}

/* v6: EVS HQ link centered in the black navigation bar */
.site-header { position: fixed; }
.evshq-link {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  color: #ffffff;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 850;
  letter-spacing: .02em;
  white-space: nowrap;
  z-index: 101;
  transition: opacity .2s ease, transform .2s ease;
}
.evshq-link img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.evshq-link:hover,
.evshq-link:focus-visible {
  opacity: .86;
  transform: translate(-50%, -50%) scale(1.03);
}
.contact-email {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  margin: 1rem 0 0;
  padding: .8rem 1.15rem;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: #ffffff;
  font-weight: 750;
  letter-spacing: .01em;
  background: rgba(255,255,255,.04);
}

@media (max-width: 900px) {
  .evshq-link { z-index: 99; }
}

@media (max-width: 620px) {
  .site-header { gap: .75rem; padding-left: .9rem; padding-right: .9rem; }
  .brand { gap: .35rem; }
  .brand-prague-text { font-size: .95rem; }
  .brand-evs-text { font-size: 1.2rem; }
  .evshq-link { gap: .3rem; font-size: .74rem; }
  .evshq-link img { width: 24px; height: 24px; }
  .contact-email { width: 100%; justify-content: center; text-align: center; }
}
