@font-face {
  font-family: Nimitz;
  src: url('assets/fonts/nimitz.otf?v=2026-10-22') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url('assets/fonts/poppins-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url('assets/fonts/poppins-semibold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
:root {
  --paper: #f1eddf;
  --blue: #98aeb6;
  --ink: #101010;
  font-family: Poppins,Arial,sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(16,16,16,.09) .65px,transparent .65px);
  background-size: 8px 8px;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
p,h1,h2,h3 {
  margin: 0;
}
address {
  font-style: normal;
}
.cv-nav {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px var(--pad);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  pointer-events: none;
}
.cv-nav>* {
  pointer-events: auto;
}
.cv-nav nav {
  display: flex;
  gap: 18px;
}
.cv-nav [aria-current=page] {
  border-bottom: 2px solid var(--ink);
}
.cv-hero {
  min-height: 100svh;
  padding: clamp(120px,16vh,180px) var(--pad) 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cv-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cv-title-row h1 {
  font: 400 clamp(4rem,8vw,8rem)/.82 Nimitz,Impact,sans-serif;
  text-transform: uppercase;
  letter-spacing: -.035em;
}
.cv-title-row img {
  width: clamp(125px,15vw,205px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: sepia(.14) contrast(.98);
  mix-blend-mode: multiply;
}
.cv-role,.cv-subrole {
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.cv-role {
  margin-top: 38px;
  font-size: 1.2rem;
}
.cv-subrole {
  font-size: .95rem;
}
.cv-intro-grid {
  width: min(780px,100%);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 55px;
  margin: 85px auto 0;
}
.cv-intro-grid section {
  position: relative;
}
.cv-intro-grid section:first-child {
  text-align: right;
  padding-right: 55px;
  border-right: 1px solid var(--ink);
}
.cv-intro-grid h2,.cv-section>h2,.split-section h2,.cv-contact h2 {
  font: 400 clamp(2rem,5vw,4.6rem)/.9 Nimitz,Impact,sans-serif;
  text-transform: uppercase;
}
.cv-intro-grid h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  letter-spacing: .06em;
}
.cv-intro-grid p,.cv-intro-grid address {
  font-size: .95rem;
}
.section-mark {
  position: absolute!important;
  top: -55px;
  font-size: 2rem!important;
  background: var(--paper);
}
.cv-section {
  padding: clamp(90px,11vw,150px) var(--pad);
  border-top: 1px solid var(--ink);
}
.cv-kicker {
  margin-bottom: 38px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.cv-section>h2 {
  margin-bottom: clamp(65px,8vw,110px);
}
.timeline {
  border-top: 1px solid var(--ink);
}
.timeline-item {
  display: grid;
  grid-template-columns: minmax(150px,.35fr) 1fr;
  gap: 6vw;
  padding: 45px 0;
  border-bottom: 1px solid var(--ink);
}
.timeline-item .date {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.timeline-item h3 {
  font: 400 clamp(2rem,4.2vw,4rem)/.9 Nimitz,Impact,sans-serif;
  text-transform: uppercase;
}
.timeline-item .position {
  margin: 10px 0;
  font-weight: 600;
}
.timeline-item div>p:last-child {
  max-width: 720px;
}
.timeline-item.featured h3 {
  font-size: clamp(3rem,6vw,6.5rem);
}
.cv-blue {
  background: var(--blue);
}
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.cards article {
  min-height: 270px;
  padding: 28px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
}
.cards article>p {
  font-size: .7rem;
  font-weight: 600;
}
.cards h3 {
  margin: auto 0 16px;
  font: 400 clamp(2rem,4vw,3.8rem)/.95 Nimitz,Impact,sans-serif;
  text-transform: uppercase;
}
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.split-section>div {
  min-width: 0;
}
.split-section h2 {
  font-size: clamp(2.2rem,4.2vw,4.4rem);
  margin-bottom: 38px;
}
.split-section h3 {
  font-size: 1.3rem;
}
.plain-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.plain-list li {
  padding: 18px 0;
  border-top: 1px solid var(--ink);
}
.plain-list strong,.plain-list span {
  display: block;
}
.plain-list span {
  font-size: .85rem;
  margin-top: 4px;
}
.skills-section {
  background: var(--ink);
  color: var(--paper);
}
.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.skill-list li {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 10px 16px;
  text-transform: uppercase;
  font-size: .78rem;
}
.language {
  margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid currentColor;
}
.language h3 {
  font: 400 clamp(2.2rem,5vw,4.8rem)/1 Nimitz,Impact,sans-serif;
  text-transform: uppercase;
}
.cv-contact {
  min-height: 80vh;
  padding: clamp(90px,12vw,160px) var(--pad);
  background: var(--blue);
  display: flex;
  flex-direction: column;
}
.cv-contact h2 {
  margin: auto 0;
  font-size: clamp(5rem,13vw,12rem);
}
.cv-contact>div {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 25px var(--pad);
  background: var(--blue);
  border-top: 1px solid var(--ink);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
@media(max-width:800px) {
  .cv-title-row {
    flex-direction: column-reverse;
  }
  .cv-title-row h1 {
    overflow-wrap: anywhere;
  }
  .cv-intro-grid,.split-section {
    grid-template-columns: 1fr;
  }
  .cv-intro-grid section:first-child {
    text-align: left;
    padding-right: 0;
    padding-bottom: 40px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .cv-nav {
    background: rgba(241,237,223,.88);
    backdrop-filter: blur(8px);
  }
}
@media(max-width:520px) {
  .cv-title-row img {
    width: 150px;
  }
  .cv-role {
    font-size: 1rem;
  }
  .cv-intro-grid {
    margin-top: 60px;
  }
  .cv-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .timeline-item.featured h3 {
    font-size: clamp(2.8rem,15vw,4.5rem);
  }
  .cards article {
    min-height: 230px;
  }
  .cv-contact h2 {
    font-size: clamp(4.2rem,20vw,6.5rem);
  }
}
@media print {
  .cv-nav {
    display: none;
  }
  .cv-hero {
    min-height: 0;
  }
  .cv-section,.cv-contact {
    padding: 35px;
  }
  .cv-blue,.skills-section,.cv-contact {
    background: #fff;
    color: #000;
  }
  .timeline-item {
    break-inside: avoid;
  }
}
/* Keep the intrinsic portrait dimensions from stretching the image. */
.reading-progress {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
.timeline-item {
  transition: background .2s ease;
}
.timeline-item:hover {
  background: rgba(152,174,182,.12);
}
.timeline-item h3,.split-section h2 {
  overflow-wrap: anywhere;
}
.cv-title-row img {
  height: clamp(125px,15vw,205px);
}
@media(max-width:520px) {
  .cv-title-row img {
    height: 150px;
  }
}
/* Same compact scale and safe edges as the narrative profile. */
body {
  zoom: .7;
}
:root {
  --pad: 7.142857cm;
}
.section-mark {
  right: 0;
  transform: translateX(50%);
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  line-height: 1;
  padding: 0;
}
.cv-title-row,.timeline-item,.cards article {
  min-width: 0;
}
.cards article {
  container-type: inline-size;
}
.cards h3 {
  font-size: min(clamp(2rem,4vw,3.8rem),11cqi);
  overflow-wrap: normal;
}
@media(max-width:800px) {
  :root {
    --pad: clamp(30px,8vw,7.142857cm);
  }
  .section-mark {
    display: none;
  }
}
h1,h2,h3 {
  overflow-wrap: normal!important;
  word-break: normal;
  hyphens: none;
  scroll-margin-top: 90px;
}
.cv-title-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: clamp(30px,4vw,60px);
}
.cv-title-row h1 {
  font-size: clamp(3.5rem,7vw,7rem);
}
.cv-title-row h1 span {
  display: block;
  white-space: nowrap;
}
/* Twice the previous rendered portrait size, accounting for the new page scale. */
.cv-title-row img {
  width: clamp(285.7px,34.2857vw,468.57px);
  height: clamp(285.7px,34.2857vw,468.57px);
  max-width: 100%;
  object-fit: cover;
}
.cv-title-row>*,.timeline-item>*,.cv-contact>div>* {
  min-width: 0;
}
.split-section {
  gap: clamp(25px,3vw,50px);
}
.cv-section,.cv-hero,.cv-contact {
  scroll-margin-top: 65px;
}
@media(max-width:1200px) {
  .split-section {
    grid-template-columns: 1fr;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media(max-width:800px) {
  .cv-title-row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cv-title-row img {
    grid-row: 1;
    width: 375px;
    height: 375px;
    justify-self: center;
  }
  .cv-title-row h1 {
    grid-row: 2;
  }
  .cv-contact>div {
    grid-template-columns: 1fr;
  }
}
@media(max-width:520px) {
  .cv-title-row img {
    width: 342.86px;
    height: 342.86px;
  }
  .cv-title-row h1 {
    font-size: clamp(3rem,14vw,4.5rem);
  }
}
@media(min-width:1201px) {
  :root {
    --pad: max(7.142857cm,calc((100vw / .7 - 1903px) / 2));
  }
}
footer {
  flex-wrap: wrap;
  gap: 20px;
}
.site-credit {
  text-transform: none;
  letter-spacing: 0;
}
/* Nimitz namiesto Oughter (22. 10. 2026): rovnaká výška písmen ako predtým, rozloženie sa nemení */
.cv-title-row h1,.cv-intro-grid h2,.cv-section>h2,.split-section h2,.cv-contact h2,.timeline-item h3,.cards h3,.language h3 {
  font-size-adjust: cap-height .77;
  letter-spacing: -.005em;
}
/* CV usability, touch targets and print layout. */
.cv-jump-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
}
.cv-jump-nav a,.cv-jump-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 1.15rem;
  line-height: 1.4;
  margin: 0;
  padding: 12px 0;
  min-height: 64px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.cv-page .cv-intro-grid p,.cv-page .cv-intro-grid address,.cv-page .timeline-item div>p,.cv-page .cards article>span,.cv-page .plain-list span {
  font-size: 1.35rem;
  line-height: 1.65;
}
.cv-page .timeline-item .date,.cv-page .cv-kicker,.cv-page .plain-list strong {
  font-size: 1.15rem;
}
.cv-page .timeline-item {
  padding: 32px 0;
}
.cv-page .cv-section {
  padding-block: clamp(75px,8vw,115px);
}
.cv-page .split-section>div {
  container-type: inline-size;
}
.cv-page .split-section h2 {
  font-size: clamp(1.7rem,10cqi,2.5rem);
  min-height: 2.3em;
  margin-bottom: 24px;
  line-height: 1.1;
}
.cv-page .plain-list li {
  min-height: 112px;
  padding: 20px 0;
}
.cv-page .skill-list li {
  font-size: 1.05rem;
}
.cv-page .cv-contact>div {
  font-size: 1.3rem;
}
.cv-page a:focus-visible,.cv-page button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
@media(max-width:640px) {
  .cv-page .cv-jump-nav {
    gap: 8px 20px;
  }
  .cv-page .cv-jump-nav a,.cv-page .cv-jump-nav button {
    font-size: 1.15rem;
  }
  .cv-page .split-section h2 {
    min-height: 0;
  }
}
@media print {
  @page {
    size: A4;
    margin: 16mm;
  }
  .cv-page {
    zoom: .7;
    background: white!important;
    color: black!important;
    font-size: 10pt;
  }
  .cv-page .cv-nav,.cv-page .cv-jump-nav,.cv-page .reading-progress,.cv-page .section-mark,.cv-page footer,.cv-page .cv-contact {
    display: none!important;
  }
  .cv-page .cv-hero,.cv-page .cv-section {
    min-height: 0;
    padding: 12pt 0;
    background: white!important;
    color: black!important;
  }
  .cv-page .cv-title-row {
    grid-template-columns: 1fr auto;
    gap: 16pt;
    text-align: left;
  }
  .cv-page .cv-title-row h1 {
    font-size: 32pt;
    grid-row: auto;
  }
  .cv-page .cv-title-row img {
    width: 80pt;
    height: 80pt;
    grid-row: auto;
  }
  .cv-page .cv-role,.cv-page .cv-subrole {
    text-align: left;
    font-size: 10pt;
    margin-top: 8pt;
  }
  .cv-page .cv-intro-grid {
    width: 100%;
    margin-top: 16pt;
    grid-template-columns: 1fr 1fr;
    gap: 20pt;
  }
  .cv-page .cv-intro-grid section:first-child {
    padding: 0;
    border: 0;
    text-align: left;
  }
  .cv-page .cv-intro-grid h2,.cv-page .cv-section>h2,.cv-page .split-section h2 {
    font-size: 18pt;
    margin-bottom: 12pt;
    min-height: 0;
  }
  .cv-page .cv-kicker {
    font-size: 9pt;
    margin-bottom: 10pt;
  }
  .cv-page .timeline-item {
    grid-template-columns: 100pt 1fr;
    gap: 16pt;
    padding: 12pt 0;
    break-inside: avoid;
  }
  .cv-page .timeline-item h3,.cv-page .timeline-item.featured h3,.cv-page .cards h3 {
    font-size: 16pt;
    line-height: 1.15;
  }
  .cv-page .timeline-item .date,.cv-page .cv-intro-grid p,.cv-page .cv-intro-grid address,.cv-page .timeline-item div>p,.cv-page .plain-list span,.cv-page .plain-list strong,.cv-page .cards article>span {
    font-size: 10pt;
    line-height: 1.45;
  }
  .cv-page .cards {
    grid-template-columns: 1fr 1fr;
  }
  .cv-page .cards article {
    min-height: 0;
    padding: 12pt;
    break-inside: avoid;
  }
  .cv-page .split-section {
    grid-template-columns: 1fr;
    gap: 18pt;
  }
  .cv-page .split-section>div {
    container-type: normal;
  }
  .cv-page .plain-list li {
    min-height: 0;
    padding: 8pt 0;
    break-inside: avoid;
  }
  .cv-page .skill-list li {
    font-size: 9pt;
    padding: 6pt 10pt;
  }
  .cv-page .language {
    margin-top: 16pt;
    padding-top: 12pt;
  }
  .cv-page .language h3 {
    font-size: 16pt;
  }
}
@media (max-width:640px) {
  .cv-page .cv-nav {
    font-size: 16.5px;
  }
  .cv-page .cards article>p,.cv-page footer {
    font-size: 15.7px;
  }
}
@media (pointer:coarse) {
  .cv-page .cv-nav a,.cv-page address a,.cv-page .cv-contact>div a,.cv-page footer a {
    position: relative;
  }
  .cv-page .cv-nav a::after {
    content: "";
    position: absolute;
    inset: -21px -6px;
  }
  .cv-page address a::after {
    content: "";
    position: absolute;
    inset: -3px 0;
  }
  .cv-page .cv-contact>div a::after {
    content: "";
    position: absolute;
    inset: -9px 0;
  }
  .cv-page footer a::after {
    content: "";
    position: absolute;
    inset: -14px -6px;
  }
}
.cv-page .cv-title-row img {
  filter: none;
  mix-blend-mode: normal;
  background: #f1eddf;
}
.cv-page .cv-contact-heading {
  position: relative;
  display: flex;
  align-items: center;
  margin: auto 0;
  width: fit-content;
  max-width: 100%;
  min-height: clamp(300px,26vw,440px);
}
.cv-page .cv-contact-heading h2 {
  position: relative;
  z-index: 1;
  margin: 0;
}
.cv-page .cv-stamp {
  --s: clamp(260px,26vw,400px);
  position: absolute;
  z-index: 0;
  pointer-events: none;
  left: calc(100% + var(--s) * .05);
  top: 50%;
  width: var(--s);
  aspect-ratio: 1;
  transform: translateY(-50%) rotate(-8deg);
  border: 3px solid #98aeb6;
  border-radius: 50%;
  box-shadow: -2px -2px 2px #e8f0f166,2px 2px 2px #3c596852,inset -1px -1px 2px #e8f0f15c,inset 1px 1px 2px #3c59684d;
}
.cv-page .cv-stamp::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid #98aeb6;
  border-radius: 50%;
  box-shadow: -1px -1px 1px #e8f0f15c,1px 1px 1px #3c59684d;
}
.cv-page .cv-stamp span {
  position: absolute;
  left: 9%;
  right: 9%;
  top: 34%;
  height: 34%;
  filter: drop-shadow(-1.5px -1.5px 1px #e8f0f166) drop-shadow(1.6px 1.6px 1.4px #3c59685c);
}
.cv-page .cv-stamp span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #98aeb6;
  -webkit-mask: url(assets/e11even-script.png) center/contain no-repeat;
  mask: url(assets/e11even-script.png) center/contain no-repeat;
}
@media(max-width:640px) {
  .cv-page .cv-contact-heading {
    min-height: 0;
    width: 100%;
    padding-top: calc(min(48vw,220px) * .62);
  }
  .cv-page .cv-stamp {
    --s: min(48vw,220px);
    top: 0;
    left: auto;
    right: 0;
    transform: rotate(-8deg);
  }
}
@media print {
  .cv-page .cv-title-row img {
    filter: grayscale(1);
    border-width: 1px;
  }
  .cv-page .cv-stamp {
    display: none;
  }
}
@media(min-width:801px) {
  .cv-page .cv-title-row {
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: center;
    column-gap: clamp(40px,4.5vw,80px);
  }
}
.cv-page .cv-title-row img {
  border-radius: 50%;
  border: 2px solid #101010;
}
