/* Landing page – visitor chooses between Michal and Jan */

:root {
  --ink: #0f1a2e;
  --paper: #f4f6f9;
  --muted: #5b6678;

  --michal-navy: #1b2d52;
  --michal-glass: #8fb6de;
  --michal-accent: #e8a13a;

  --jan-bg: #1f2a37;
  --jan-bg-2: #16202b;
  --jan-accent: #38bdf8;
}

body {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
}

.site-header {
  padding: 2rem 1rem 1.5rem;
  text-align: center;
}

.site-header .brand {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-header h1 {
  margin-top: 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.choices {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 1rem;
}

.choice {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 26rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.choice:hover,
.choice:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 26, 46, 0.25);
}

.choice__role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.choice__name {
  margin-top: 0.35rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.choice__desc {
  max-width: 32ch;
  margin-top: 0.9rem;
  opacity: 0.9;
}

.choice__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-weight: 600;
}

.choice__cta span {
  transition: transform 0.2s ease;
}

.choice:hover .choice__cta span {
  transform: translateX(4px);
}

/* Michal – glass facade */
.choice--michal {
  color: #fff;
  background: var(--michal-navy);
}

.choice--michal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../../michal/assets/mirror.JPG") center / cover no-repeat;
  transition: transform 0.6s ease;
}

.choice--michal::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(27, 45, 82, 0.95) 25%, rgba(27, 45, 82, 0.55));
}

.choice--michal:hover::before {
  transform: scale(1.04);
}

.choice--michal .choice__role,
.choice--michal .choice__cta {
  color: var(--michal-accent);
}

/* Jan – matches the CV page (dark slate sidebar, sky-blue accent) */
.choice--jan {
  color: #cbd5e1;
  font-family: "Segoe UI", Inter, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, var(--jan-bg) 0%, var(--jan-bg-2) 100%);
}

.choice--jan .choice__photo {
  position: absolute;
  top: clamp(1.5rem, 4vw, 3rem);
  left: clamp(1.5rem, 4vw, 3rem);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  background: #33455a;
  border: 4px solid rgba(255, 255, 255, 0.16);
}

.choice--jan .choice__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.choice--jan .choice__role,
.choice--jan .choice__cta {
  color: var(--jan-accent);
}

.choice--jan .choice__role {
  font-weight: 400;
  letter-spacing: 0.18em;
}

.choice--jan .choice__name {
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
}

.choice--jan .choice__name::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  margin-top: 0.7rem;
  background: var(--jan-accent);
}

.site-footer {
  padding: 1.25rem 1rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

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

  .choice {
    min-height: 20rem;
  }
}
