:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #777777;
  --line: #d9d9d9;
  --soft: #f5f5f3;
  --max: 1480px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
  min-height: 96px;
  display: grid;
  grid-template-columns: 380px 1fr auto;
  gap: 32px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand span {
  margin-top: 7px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--muted);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2vw, 34px);
}

.nav a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 100%;
  height: 1px;
  background: #111;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  border-radius: 2px;
}

.button-dark {
  background: #111;
  color: #fff;
}

.page-shell {
  width: min(calc(100% - 64px), var(--max));
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(340px, .72fr);
  gap: 54px;
  align-items: start;
}

.article-column {
  min-width: 0;
  padding-right: 48px;
  border-right: 1px solid var(--line);
}

.portrait-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eyebrow,
.section-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--muted);
}

h1 {
  margin: 8px 0 22px;
  font-size: clamp(65px, 7.5vw, 120px);
  line-height: .92;
  letter-spacing: -.03em;
  font-weight: 650;
}

.lead-block {
  padding: 20px 0 26px;
  border-top: 2px solid #111;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.lead-block h2 {
  margin: 0;
  font-size: clamp(24px, 2.3vw, 38px);
  letter-spacing: -.035em;
  line-height: 1.08;
}

.lead-block p {
  margin: 8px 0 0;
  color: #9a9a9a;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.article-text {
  columns: 1;
}

.article-text p {
  font-size: 16px;
  line-height: 1.78;
  margin: 0 0 18px;
  text-align: justify;
}

.article-text strong {
  font-weight: 700;
}

blockquote {
  margin: 34px 0;
  padding: 28px 0 28px 28px;
  border-left: 4px solid #111;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 500;
}

.ruled-section {
  margin-top: 64px;
  padding-top: 18px;
  border-top: 2px solid #111;
}

.section h2 {
  margin: 8px 0 18px;
  font-size: clamp(28px, 3vw, 46px);
  letter-spacing: -.045em;
  line-height: 1.03;
}

.section > p {
  font-size: 15px;
  line-height: 1.8;
  max-width: 850px;
}

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item > span {
  font-size: 18px;
  font-weight: 800;
}

.timeline-item h3 {
  margin: 0 0 5px;
  font-size: 16px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.skill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-grid span {
  border: 1px solid #bfbfbf;
  padding: 10px 13px;
  font-size: 12px;
  font-weight: 600;
}

.sidebar {
  position: sticky;
  top: 24px;
}

.portrait-card {
  position: relative;
  background: var(--soft);
}

.portrait-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, #efefef, #d6d6d6);
  overflow: hidden;
}

.portrait-placeholder span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: #777;
  text-align: center;
  line-height: 1.8;
}

.hand-note {
  position: absolute;
  top: 28px;
  left: 28px;
  right: auto;

  color: #ffffff;
   font-family: "Caveat", cursive;
  font-size: 34px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.05;
  text-align: left;

transform: rotate(-9deg);
}
.quote-card {
  position: relative;
  padding: 28px 0 30px 58px;
  border-bottom: 2px solid #111;
}

.quote-mark {
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 74px;
  line-height: 1;
  color: #d2d2d2;
  font-weight: 800;
}

.quote-card p {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.quote-card span {
  font-size: 11px;
  color: var(--muted);
}

.sidebar-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.sidebar-section h2 {
  margin: 7px 0 18px;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.045em;
}

.sport-image-placeholder {
  min-height: 180px;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 700;
}

.sport-card p {
  font-size: 12px;
  line-height: 1.7;
  color: #444;
}

.quick-links {
  display: grid;
  gap: 0;
}

.quick-links .section-kicker {
  margin-bottom: 8px;
}

.quick-links a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  text-decoration: none;
  border-bottom: 1px solid #ededed;
}

.quick-links a > span {
  font-weight: 800;
  font-size: 18px;
}

.quick-links strong {
  display: block;
  font-size: 12px;
}

.quick-links small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: var(--muted);
}

footer {
  width: min(calc(100% - 64px), var(--max));
  margin: 70px auto 0;
  min-height: 110px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}

footer a {
  text-decoration: none;
}

@media (min-width: 1180px) {
  .article-text {
    column-count: 2;
    column-gap: 38px;
  }

  .article-text p,
  .article-text blockquote {
    break-inside: avoid;
  }

  .article-text blockquote {
    column-span: all;
  }
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .page-shell {
    grid-template-columns: 1fr;
  }

  .article-column {
    padding-right: 0;
    border-right: 0;
  }

  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .quote-card,
  .sidebar-section {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 700px) {
  .site-header,
  .page-shell,
  footer {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header {
    min-height: 82px;
    gap: 14px;
  }

  .brand strong {
    font-size: 19px;
  }

  .brand span {
    font-size: 8px;
  }

  .button {
    padding: 0 12px;
    font-size: 10px;
  }

  .page-shell {
    margin-top: 24px;
  }

  h1 {
    font-size: 58px;
  }

  .article-text p {
    font-size: 13px;
    line-height: 1.72;
  }

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

  .timeline-item {
    grid-template-columns: 90px 1fr;
  }
}


/* =========================================
   PRAKTICKÉ ZADÁNÍ – INIZIO
   ========================================= */

.project-preview {
  display: block;
  width: 100%;
  overflow: hidden;
  background: #f3f3f3;
  text-decoration: none;
}

.project-preview img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .35s ease;
}

.project-preview:hover img {
  transform: scale(1.015);
}

.project-card p {
  margin: 14px 0 16px;
  font-size: 12px;
  line-height: 1.7;
  color: #444;
}

.project-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
  color: #2563eb;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
}

.project-link span {
  font-size: 17px;
}

.project-source span:last-child {
  font-size: 17px;
}


.project-source {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;

  margin-top: 12px;
  color: #2563eb;
  text-decoration: none;

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.project-source:hover,
.project-link:hover {
  opacity: .6;
}
