:root {
  color-scheme: light;
  --bg: #dfece6;
  --paper: #f4f8f6;
  --surface: #cfdfda;
  --blue-wash: #dce9ed;
  --ink: #183f46;
  --muted: #486168;
  --line: #9eb7b4;
  --green: #276956;
  --frame-green: #146b3a;
  --frame-radius: 20px;
  --blue: #205766;
  --deep: #194c57;
  --label-blue: #315673;
  --sans: "Barlow", "Segoe UI", Arial, sans-serif;
  --heading: "Barlow Condensed", "Bahnschrift", "Arial Narrow", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--heading); font-weight: 500; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; border-radius: 0; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
::selection { background: var(--deep); color: #fff; }
[hidden] { display: none !important; }
.shell { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.eyebrow, .small-label, .section-label, .hero-location, .work-meta, .work-number, .company, .timeline-date, .personal-index { font-family: var(--mono); }
.eyebrow, .small-label { font-size: .8125rem; line-height: 1.7; letter-spacing: .025em; }
.section-label {
  display: inline-flex;
  align-items: stretch;
  min-width: min(220px, 100%);
  min-height: 56px;
  max-width: 100%;
  margin-bottom: 1.5rem;
  border: 2px solid currentColor;
  border-radius: var(--frame-radius);
  overflow: hidden;
  color: var(--frame-green);
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .035em;
}
.section-label > span { display: flex; align-items: center; padding: .35em .55em; }
.section-label > span:first-child { border-inline-end: 2px solid currentColor; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 100; padding: 12px 20px; background: var(--deep); color: #fff; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { font-family: var(--heading); font-size: 1.5rem; font-weight: 600; letter-spacing: .065em; white-space: nowrap; }
.site-header nav { display: flex; align-items: center; gap: 1.5rem; }
.site-header nav a { color: var(--muted); font-size: .9375rem; padding: .55rem 0; }
.site-header nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.site-header nav .nav-contact { color: var(--blue); border-bottom: 1px solid var(--blue); }
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; gap: 4.5%; padding-block: 72px 64px; }
.hero-copy { min-width: 0; }
.hero-name-photo { display: grid; grid-template-columns: minmax(0, 1fr) clamp(170px, 20vw, 280px); align-items: center; gap: clamp(16px, 2vw, 28px); }
.hero-portrait { aspect-ratio: 9 / 10; overflow: hidden; border: 2px solid var(--frame-green); border-radius: var(--frame-radius); background: var(--surface); box-shadow: 0 8px 24px rgb(24 63 70 / 10%); }
.hero-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero-formal-name, .hero-role {
  color: var(--label-blue);
  font-size: clamp(1rem, 2.5vw, 1.1875rem);
  line-height: 1.45;
  text-transform: uppercase;
}
.hero-formal-name { margin-bottom: 1.7rem; font-size: clamp(1.375rem, 3vw, 1.875rem); }
h1 { font-size: clamp(5rem, 9vw, 8rem); font-weight: 600; line-height: .98; letter-spacing: .015em; text-transform: uppercase; }
.hero-location { margin-top: 1.8rem; font-size: .8125rem; color: var(--muted); }
.hero-role { margin-top: .65rem; }
.hero-summary { border-left: 1px solid var(--line); padding-left: 40px; min-width: 0; }
.hero-statement { font-size: clamp(2.2rem, 3.5vw, 3.1rem); line-height: 1.12; letter-spacing: .005em; text-transform: uppercase; }
.hero-description { margin-top: 1.5rem; color: var(--muted); font-size: 1.0625rem; max-width: 28rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .7rem 1.2rem; font-size: .9375rem; font-weight: 500; border: 1px solid var(--blue); }
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover { background: var(--deep); border-color: var(--deep); }
.button-outline { color: var(--blue); background: transparent; }
.button-outline:hover { background: var(--surface); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.35fr) minmax(0, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 56px; }
.fact { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: .65rem; padding: 24px 26px; border-left: 1px solid var(--line); }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact:last-child { padding-right: 0; }
.fact strong { display: block; font-family: var(--heading); font-size: 2.7rem; font-weight: 500; line-height: 1.15; color: var(--blue); }
.fact p { color: var(--muted); font-size: .875rem; line-height: 1.55; }
.section { padding-block: 72px; }
.section-light { background: var(--paper); }
h2 { font-size: clamp(2.3rem, 3.6vw, 3.2rem); line-height: 1.13; letter-spacing: .02em; text-transform: uppercase; }
.about-text { max-width: 43rem; }
.about-text p { color: var(--muted); margin-top: 1rem; }
.about-text .lead { color: var(--ink); font-size: 1.1875rem; line-height: 1.65; margin-top: 0; }
.about-tags { display: flex; flex-wrap: wrap; column-gap: 1.3rem; row-gap: .5rem; margin-top: 1.8rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.about-tags span { color: #146b3a; font-size: .9375rem; font-weight: 700; }
.section-heading { margin-bottom: 2.4rem; }
.work-list { border-top: 1px solid var(--line); }
.work-item { border-bottom: 1px solid var(--line); }
.work-item summary { display: flex; gap: 1.3rem; align-items: center; padding-block: 1.3rem; list-style: none; cursor: pointer; }
.work-item summary::-webkit-details-marker { display: none; }
.work-number { flex-shrink: 0; width: 2rem; font-size: .875rem; color: var(--muted); }
.work-title { font-family: var(--heading); font-size: 1.8rem; font-weight: 500; letter-spacing: .02em; }
.work-meta { margin-left: auto; color: var(--muted); font-size: .8125rem; text-align: right; }
.expand-icon { flex: 0 0 28px; height: 28px; position: relative; border: 1px solid var(--line); }
.expand-icon::before, .expand-icon::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 10px; height: 1px; background: var(--blue); }
.expand-icon::after { width: 1px; height: 10px; }
details[open] .expand-icon { background: var(--blue); border-color: var(--blue); }
details[open] .expand-icon::before { background: #fff; }
details[open] .expand-icon::after { display: none; }
.work-content { margin-left: 3.3rem; max-width: 44rem; padding-bottom: 1.6rem; }
.work-content p { color: var(--muted); }
.work-chips { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .9rem; }
.work-chips span { color: #146b3a; font-size: .875rem; font-weight: 700; }
.work-footnote { display: grid; grid-template-columns: 1fr 2.7fr; gap: 6%; margin-top: 2rem; }
.work-footnote .small-label { color: var(--muted); }
.work-footnote p { font-size: .9375rem; }
.timeline { border-top: 1px solid var(--line); }
.timeline-row { display: grid; grid-template-columns: 1fr 2.7fr; gap: 6%; padding-block: 1.8rem; border-bottom: 1px solid var(--line); }
.timeline-date { color: var(--green); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.35; padding-top: .15rem; }
.timeline-top { display: flex; gap: 1.5rem; justify-content: space-between; align-items: baseline; }
.timeline-top h3 { font-size: 1.6rem; line-height: 1.3; letter-spacing: .01em; }
.company { font-size: .8125rem; color: var(--muted); flex-shrink: 0; }
.timeline-detail > p { max-width: 44rem; color: var(--muted); margin-top: .8rem; }
.education { display: grid; grid-template-columns: 1fr 1.35fr 1.35fr; gap: 6%; margin-top: 2.8rem; }
.education-label h2 { color: var(--green); }
.education-label p { color: var(--muted); font-size: .9375rem; margin-top: .8rem; }
.education-item { border-top: 1px solid var(--line); padding-top: 1rem; }
.education-item .small-label { color: var(--muted); }
.education-item h3 { font-size: 1.5rem; line-height: 1.3; margin-top: .65rem; }
.education-item p { color: var(--muted); font-size: .9375rem; margin-top: .55rem; }
.personal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem 6%; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.personal-index { font-size: .8125rem; color: var(--green); }
.personal-card h3 { font-size: 1.7rem; margin-top: .7rem; }
.personal-card h4 { font-size: 1.7rem; }
.personal-card p { color: var(--muted); margin-top: .5rem; }
.values-statement { max-width: 43rem; color: var(--muted); margin-bottom: 2.4rem; }
.values-group + .values-group { margin-top: 2.5rem; }
.values-group-title { color: #146b3a; font-size: 1.8rem; font-weight: 400; line-height: 1.25; margin-bottom: 1rem; }
.contact-section { background: var(--blue-wash); padding-block: 64px; border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: start; }
.contact-section h2 { font-size: clamp(2.1rem, 3.3vw, 2.8rem); }
.contact-description { color: var(--muted); margin-top: 1.3rem; }
.contact-details { border-left: 1px solid var(--line); padding-left: 40px; }
.contact-details .small-label { color: var(--muted); }
.email-link { display: inline-block; font-family: var(--heading); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.4; color: var(--blue); border-bottom: 1px solid var(--blue); margin-top: .5rem; overflow-wrap: anywhere; }
.email-link:hover { color: var(--ink); }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; min-height: 2.8rem; }
.copy-button { background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: .2rem 0; color: var(--muted); font-size: .875rem; }
.copy-button:hover { color: var(--blue); border-color: var(--blue); }
.copy-status { font-size: .875rem; }
.contact-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: .7rem; }
.phone-link { display: inline-block; font-family: var(--heading); color: var(--blue); font-size: 1.5rem; margin-top: .4rem; }
.phone-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-bottom p:not(.small-label) { font-size: .9375rem; margin-top: .5rem; line-height: 1.5; }
.site-footer { padding-block: 28px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-inner p { color: var(--muted); font-size: .8125rem; }
.back-top { font-size: .875rem; }
.back-top:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1100px) {
  .shell { width: calc(100% - 64px); }
  .site-header nav { gap: 1.1rem; }
  .hero { gap: 4%; }
  .hero-summary, .contact-details { padding-left: 28px; }
  .timeline-top { display: block; }
  .company { display: block; margin-top: .4rem; }
  .fact { padding-inline: 18px; }
}
@media (max-width: 800px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 68px; flex-wrap: wrap; gap: 0; padding-block: .65rem; }
  .wordmark { font-size: 1.3rem; }
  .site-header nav { width: 100%; flex-wrap: wrap; gap: .4rem 1.2rem; padding-block: .75rem; }
  .site-header nav a { padding-block: .5rem; }
  .js .site-header nav { display: none; }
  .js .site-header nav.is-open { display: flex; }
  .js .menu-toggle { display: flex; align-items: center; gap: .7rem; background: none; border: 1px solid var(--line); padding: .4rem .7rem; min-height: 44px; font-size: .875rem; }
  .menu-icon { display: flex; flex-direction: column; gap: 5px; width: 16px; }
  .menu-icon i { display: block; height: 1px; background: var(--ink); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-3px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-block: 44px 40px; }
  h1 { font-size: clamp(3.5rem, 17vw, 6.5rem); }
  .hero-name-photo { grid-template-columns: minmax(0, 1fr) clamp(112px, 38vw, 270px); }
  .hero-formal-name { margin-bottom: 1.2rem; }
  .hero-location { margin-top: 1.2rem; }
  .hero-summary { border-left: 0; padding-left: 0; }
  .hero-statement { font-size: 2.2rem; }
  .hero-description { font-size: 1rem; margin-top: 1rem; max-width: 38rem; }
  .hero-actions { margin-top: 1.4rem; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; }
  .fact { padding: 20px 16px 20px 0; }
  .fact:nth-child(even) { padding-left: 20px; padding-right: 0; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact strong { font-size: clamp(1.5rem, 6vw, 2.4rem); }
  .section { padding-block: 52px; }
  h2 { font-size: 2.2rem; }
  .about-text .lead { font-size: 1.125rem; }
  .section-heading { margin-bottom: 1.8rem; }
  .work-item summary { gap: .7rem; }
  .work-number { width: 1.7rem; }
  .work-title { font-size: 1.5rem; }
  .work-meta { display: none; }
  .expand-icon { margin-left: auto; }
  .work-content { margin-left: 2.4rem; }
  .work-footnote { grid-template-columns: 1fr; gap: .7rem; }
  .timeline-row { grid-template-columns: 1fr; gap: .7rem; }
  .timeline-date { padding-top: 0; }
  .timeline-top h3 { font-size: 1.5rem; }
  .education { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .education-label { grid-column: 1 / -1; }
  .education-label p br { display: none; }
  .contact-section { padding-block: 52px; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-details { border-left: 0; padding-left: 0; }
  .footer-inner { flex-wrap: wrap; gap: 1rem; }
  .footer-inner p { order: 3; flex-basis: 100%; }
}
@media (max-width: 550px) {
  .personal-grid, .education { grid-template-columns: 1fr; gap: 1.6rem; }
  .personal-card + .personal-card { border-top: 1px solid var(--line); padding-top: 1.3rem; }
  #vlastnosti .personal-card + .personal-card { border-top: 0; padding-top: 0; }
  .education-label { grid-column: auto; }
  .hero-location { font-size: .75rem; }
  .button { padding-inline: .95rem; }
  .contact-bottom { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
