@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Obsidian & Ice Blue Palette */
  --bg-deep: #07090e;
  --bg-surface: #0c0f17;
  --bg-card: rgba(16, 20, 30, 0.7);
  --bg-card-hover: rgba(22, 28, 42, 0.85);

  --text-main: #f0f4fc;
  --text-muted: #9aa4b8;
  --text-dim: #8b95a9;

  /* Accent: Precise Ice Blue & Cyan Glow */
  --ice-primary: #38bdf8;
  --ice-glow: rgba(56, 189, 248, 0.15);
  --ice-dim: rgba(56, 189, 248, 0.06);
  --ice-bright: #7dd3fc;
  --ice-border: rgba(56, 189, 248, 0.28);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.06);

  --gut: clamp(20px, 4.5vw, 64px);
  --max: 1240px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
}

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 1.125rem; /* 18px minimum for 55+ readability */
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

::selection {
  background: var(--ice-primary);
  color: var(--bg-deep);
}

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

h1, h2, h3, p, ul, ol, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 2px solid var(--ice-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ice-primary);
  color: var(--bg-deep);
  padding: 12px 20px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 6px;
  transition: top 0.2s var(--ease-out);
}

.skip:focus {
  top: 16px;
}

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

/* Ambient glow system */
.ambient-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
}

.glow-top {
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: min(800px, 90vw);
  height: 450px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(14, 165, 233, 0.04) 50%, transparent 75%);
}

.glow-middle {
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, 85vw);
  height: 500px;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.15) 0%, transparent 70%);
}

/* Header & Brand Logo */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.3s;
}

.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding-block: 8px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
}

.brand-type {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.brand-name {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.brand-sub {
  font-weight: 500;
  font-size: 1.1875rem;
  letter-spacing: -0.015em;
  color: var(--ice-primary);
}

.top ul {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 36px);
}

.top nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 8px;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

.top nav a:hover {
  color: var(--text-main);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(140px, 20vw, 280px);
}

.horizon-stage {
  --horizon: 76%;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

#horizon-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.75;
}

.horizon-beam {
  position: absolute;
  top: var(--horizon, 76%);
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.4) 30%, rgba(125, 211, 252, 0.8) 50%, rgba(56, 189, 248, 0.4) 70%, transparent 100%);
  opacity: 0.6;
}

.horizon-fade {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% var(--horizon, 76%), transparent 35%, var(--bg-deep) 80%);
}

.hero-in {
  position: relative;
  z-index: 2;
}

.hero-in h1 {
  max-width: 19.5ch;
}

h1 {
  font-weight: 800;
  font-size: clamp(2.5rem, 1.4rem + 4.8vw, 5.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #ffffff;
  text-wrap: balance;
  margin-bottom: clamp(20px, 2.8vw, 32px);
}

.lead {
  font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.4375rem);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 40ch;
  margin-bottom: clamp(32px, 4vw, 48px);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Modern Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 10px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.btn-primary {
  background: #ffffff;
  color: #07090e;
  border: 1px solid #ffffff;
}

.btn-primary:hover {
  background: #f0f4fc;
  transform: translateY(-2px);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease-out);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.btn-lg {
  min-height: 62px;
  padding: 0 34px;
  font-size: 1.125rem;
}

/* Generic Block styling */
.block {
  padding-block: clamp(72px, 8vw, 128px);
  position: relative;
  z-index: 2;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gut);
  row-gap: 32px;
}

.col-head {
  grid-column: 1 / span 4;
  font-size: clamp(2rem, 1.4rem + 2vw, 3.125rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
}

.col-body {
  grid-column: 5 / span 8;
}

.big {
  font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #f8fafc;
  margin-bottom: 24px;
  text-wrap: pretty;
}

.prose {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 60ch;
}

/* People Grid - Instagram 4:5 Portrait Cards */
.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: clamp(48px, 6vw, 84px);
}

.person-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: clamp(128px, 13vw, 176px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 2.4vw, 32px);
  padding: clamp(20px, 2.4vw, 28px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s var(--ease-out);
}

.person-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.25);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.6);
  transform: translateY(-4px);
}

.person-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  background: #0d111a;
  overflow: hidden;
}

.person-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s var(--ease-out);
}

.person-card:hover .person-img {
  transform: scale(1.03);
}


.person-info {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.person-meta {
  margin-bottom: 16px;
}

.person-meta h3 {
  font-size: 1.5rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1.3;
}

.person-role {
  display: block;
  margin-top: 2px;
  font-size: 1rem;
  color: var(--text-dim);
}

.person-bio {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.person-footer {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ext-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--text-main);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.ext-link svg {
  width: 16px;
  height: 16px;
  color: var(--ice-primary);
  transition: transform 0.25s var(--ease-out);
}

.ext-link:hover {
  color: var(--ice-bright);
}

.ext-link:hover svg {
  transform: translate(2px, -2px);
}

/* Section Koho hledame (Feature Card) */
.card-feature {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 22, 34, 0.8) 0%, rgba(10, 13, 20, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  overflow: clip;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.card-feature-glow {
  position: absolute;
  top: 0;
  right: 10%;
  width: 400px;
  height: 250px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.card-feature-in {
  position: relative;
  z-index: 2;
  padding: clamp(36px, 5vw, 68px);
}

.card-feature h2 {
  font-size: clamp(2rem, 1.4rem + 2vw, 3.125rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 24px;
}

.statement {
  font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.375rem);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #ffffff;
  max-width: 32ch;
  text-wrap: pretty;
}

.divider {
  height: 1px;
  width: 100%;
  max-width: 420px;
  background: linear-gradient(90deg, var(--ice-border) 0%, rgba(255, 255, 255, 0.05) 100%);
  margin-block: clamp(24px, 3.5vw, 40px);
}

.prose-accent {
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.65;
}

/* Section Postup (Process Pipeline) */
.postup-header {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.postup-header h2 {
  font-size: clamp(2rem, 1.4rem + 2vw, 3.125rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.process-track {
  position: relative;
}

.process-line {
  position: absolute;
  top: 38px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--border-subtle);
  z-index: 1;
}

.process-progress {
  height: 100%;
  width: 65%;
  background: linear-gradient(90deg, var(--ice-primary), var(--ice-bright));
}

.steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease-out);
}

.step-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.25);
  transform: translateY(-2px);
}

.step-card-nda {
  border-color: rgba(56, 189, 248, 0.4);
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.step-num {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ice-bright);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--ice-border);
  display: grid;
  place-items: center;
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.32;
}

.step-card p {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.55;
}

/* Vault Section (Důvěrnost) */
.vault-panel {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(14, 25, 44, 0.9) 0%, rgba(9, 12, 19, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 56px);
  text-align: center;
  overflow: hidden;
  overflow: clip;
}

.vault-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-inline: auto;
}

.vault-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--ice-bright);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.vault-badge h2 {
  font: inherit;
  margin: 0;
}

.lock-icon {
  width: 16px;
  height: 16px;
}

.vault-lead {
  font-size: clamp(1.375rem, 1.1rem + 1vw, 2.125rem);
  line-height: 1.45;
  font-weight: 550;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-wrap: pretty;
}

/* Media Section (Napsali o nás) */
.press-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.press-card {
  display: grid;
  grid-template-columns: 180px 1fr 24px;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all 0.25s var(--ease-out);
}

.press-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.25);
  transform: translateX(4px);
}

.press-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.press-source {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
}

.press-date {
  font-size: 1rem;
  color: var(--text-muted);
}

.press-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.press-title {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
}

.press-card:hover .press-title {
  color: var(--ice-bright);
}

.press-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.press-arrow {
  color: var(--text-dim);
  display: grid;
  place-items: center;
  transition: all 0.2s;
}

.press-arrow svg {
  width: 18px;
  height: 18px;
}

.press-card:hover .press-arrow {
  color: var(--ice-primary);
  transform: translate(3px, -3px);
}

/* Contact CTA Box */
.cta-box {
  position: relative;
  background: linear-gradient(180deg, #0f1522 0%, #07090e 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: clamp(48px, 7vw, 84px) clamp(28px, 5vw, 64px);
  overflow: hidden;
  overflow: clip;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.cta-glow {
  position: absolute;
  bottom: -80px;
  right: 10%;
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.cta-content h2 {
  font-size: clamp(2rem, 1.4rem + 2vw, 3.125rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 20px;
}

.contact-line {
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  line-height: 1.45;
  color: var(--text-muted);
  margin-bottom: 36px;
  text-wrap: pretty;
}

.email-link {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--ice-primary);
  text-underline-offset: 0.2em;
  white-space: nowrap;
  display: inline-block;
  padding-block: 8px;
  margin-block: -8px;
  min-height: 44px;
  transition: color 0.2s;
}

.email-link:hover {
  color: var(--ice-bright);
}

/* Footer */
.foot {
  background: #05060a;
  border-top: 1px solid var(--border-subtle);
  padding-block: 48px 60px;
  font-size: 1.125rem;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
}

.foot-in {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.foot-col {
  max-width: 680px;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.foot-legal {
  line-height: 1.6;
}

.foot-aside {
  align-self: flex-end;
}

.foot-privacy {
  color: var(--text-muted);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .col-head {
    grid-column: 1 / -1;
  }
  .col-body {
    grid-column: 1 / -1;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .process-line {
    display: none;
  }
}

@media (max-width: 640px) {
  .top-in {
    height: auto;
    flex-wrap: wrap;
    padding-block: 8px 4px;
    row-gap: 0;
  }
  .top nav { width: 100%; }
  .top ul {
    justify-content: space-between;
    gap: 4px;
    margin-inline: -8px;
  }
  .top nav a {
    font-size: 1.0625rem;
    min-height: 48px;
  }
}

@media (max-width: 768px) {
  .people-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .press-card {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .press-meta {
    grid-column: 1;
  }
  .press-content {
    grid-column: 1;
  }
  .press-arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .foot-in {
    flex-direction: column;
    gap: 24px;
  }
  .foot-aside {
    align-self: flex-start;
  }
}

/* Reduced motion preference */
@media (max-width: 560px) {
  .person-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px 18px;
  }
  .person-info {
    display: contents;
  }
  .person-meta {
    align-self: center;
    margin: 0;
  }
  .person-bio,
  .person-footer {
    grid-column: 1 / -1;
  }
  .person-bio {
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #horizon-canvas {
    opacity: 0.4;
  }
}
