@font-face {
  font-family: Manrope;
  src: url("fonts/Manrope.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
:root {
  /* Final palette "Modrá · Meruňka": dark blue ground, pale blue text accent, apricot accent. */
  --ink: #ebf2f9;
  --muted: #aebfd1;
  --purple: var(--accent-text);
  --accent: #72a1c8;
  --accent-text: #a7d0f1;
  --accent-2: #f8995b;
  --wave-a: #81aed2;
  --wave-b: #adcae1;
  --glow: #81aed2;
  --glass: #ffffff08;
  --rim: #ffffff2e;
  --shadow: #00000030;
  --bg: #172534;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  color-scheme: dark;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
}
body {
  margin: 0;
  background: var(--bg);
  min-width: 280px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
a,
button {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 5px;
}
.skip {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 30;
  padding: 12px 20px;
  background: var(--bg);
  transform: translateY(-200%);
}
.skip:focus {
  transform: none;
}
#waves {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.ambience {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 16% 8%, #ffffff18, transparent 65%),
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--bg), transparent 84%),
      transparent 80%
    );
}
.site-wrap {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: auto;
  padding: 24px 48px 28px;
}
.glass {
  --glass-filter: blur(3px) saturate(1.18) contrast(1.04);
  --glass-surface: linear-gradient(
    135deg,
    var(--glass),
    rgb(255 255 255 / 0%) 62%
  );
  --glass-rim: linear-gradient(
    135deg,
    var(--rim),
    transparent 30%,
    transparent 64%,
    color-mix(in srgb, var(--accent), transparent 92%)
  );
  --glass-core: linear-gradient(
    90deg,
    rgb(255 255 255 / 0%),
    rgb(255 255 255 / 2%) 48%,
    rgb(255 255 255 / 0%) 56%
  );
  position: relative;
  border-radius: 28px;
  background: var(--glass-surface);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 11%),
    inset 0 -1px 0 rgb(0 0 0 / 6%),
    0 18px 56px var(--shadow);
  -webkit-backdrop-filter: var(--glass-filter);
  backdrop-filter: var(--glass-filter);
  overflow: hidden;
}
.glass::before,
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.glass::before {
  padding: 1px;
  background: var(--glass-rim);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
}
.glass::after {
  inset: 10px;
  background: var(--glass-core);
  box-shadow:
    inset 0 10px 18px rgb(255 255 255 / 2%),
    inset 0 -10px 18px rgb(0 0 0 / 3%);
}
.glass > * {
  position: relative;
  z-index: 1;
  /* Keep text compositing stable when scrolling past backdrop-filter layers. */
  transform: translateZ(0);
}
.hero {
  min-height: 610px;
  padding: 60px 58px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image:
    linear-gradient(100deg, #ffffff25, transparent 80%), var(--glass-surface);
}
.hero-content {
  z-index: 2;
  max-width: 72%;
}
.hero-portrait {
  position: absolute;
  right: -35px;
  bottom: -53%;
  z-index: 1;
  width: auto;
  height: 153%;
  max-width: 75%;
  object-fit: contain;
  object-position: right bottom;
  opacity: 0.86;
  filter: saturate(0.82) contrast(0.98);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 52%, transparent 68%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 52%, transparent 68%);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  letter-spacing: 0;
  font-weight: 550;
}
h1,
h2 {
  font-family: "Space Grotesk", sans-serif;
}
h1 {
  font-size: clamp(54px, 6.7vw, 96px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.065em;
  margin: 36px 0 27px;
}
h1 span {
  color: var(--purple);
}
.hero-description {
  max-width: 550px;
  font-size: 17px;
  line-height: 1.8;
  margin: 0;
  color: var(--muted);
  font-weight: 450;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 29px;
  margin-top: 31px;
}
.button {
  display: inline-flex;
  gap: 34px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 21px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 550;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.story {
  display: grid;
  grid-template-columns: minmax(150px, 0.65fr) minmax(0, 2.35fr);
  gap: 36px;
  margin: 22px 0;
  padding: 32px 39px;
  background-color: #ffffff1c;
}
.story-heading h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.story-timeline {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.story-timeline li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.story-timeline time,
.story-timeline .story-now {
  display: block;
  padding-top: 2px;
  color: var(--purple);
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 600;
}
.story-timeline p {
  position: relative;
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid var(--rim);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.story-timeline p::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent), transparent 86%);
}
.story-current {
  font-weight: 700;
}
.story-current .story-now,
.story-current p {
  color: var(--accent-text);
}
.experience {
  display: grid;
  grid-template-columns: 0.95fr repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
  padding: 30px 39px;
  margin: 22px 0 28px;
  min-height: 148px;
  background-color: #ffffff20;
  border-radius: 24px;
}
.experience-heading h2 {
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 0 0 10px;
}
.stack-strip {
  overflow: hidden;
  min-width: 0;
  padding: 12px 0;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 4%,
    black 96%,
    transparent
  );
}
.stack-track {
  display: flex;
  width: max-content;
  animation: stack-drift 65s linear infinite;
  animation-play-state: paused;
}
.stack-mobile {
  display: none;
}
.stack-group {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0 12px 0 0;
  margin: 0;
}
.stack-group li {
  display: grid;
  place-items: center;
  width: 84px;
  height: 58px;
  flex-shrink: 0;
  padding: 5px 8px;
  border: 1px solid var(--rim);
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff24, #ffffff06);
  box-shadow:
    inset 0 1px 0 #ffffff35,
    0 4px 12px var(--shadow);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.stack-group img {
  display: block;
  width: 66px;
  height: 46px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}
.stack-group li[title="Next.js"] img,
.stack-group li[title="MCP"] img,
.stack-group li[title="GitHub"] img {
  filter: invert(1);
}
.stack-group li[title="LangGraph"] img {
  filter: brightness(2.8);
}
.stack-group li[title="Linux"] img {
  filter: drop-shadow(0 0 1px #ffffffb0);
}
.stack-strip.is-visible .stack-track,
.stack-strip.is-visible .stack-mobile-track {
  animation-play-state: running;
}
.paused .stack-track,
.paused .stack-mobile-track,
.stack-strip:hover .stack-track,
.stack-strip:hover .stack-mobile-track,
.stack-strip:focus-within .stack-track,
.stack-strip:focus-within .stack-mobile-track {
  animation-play-state: paused;
}
@keyframes stack-drift {
  to {
    transform: translateX(-50%);
  }
}
@keyframes stack-drift-reverse {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .stack-strip {
    overflow-x: auto;
  }
  .stack-track,
  .stack-mobile-track {
    animation: none;
  }
  .stack-mobile-row {
    overflow-x: auto;
  }
  .stack-group[aria-hidden] {
    display: none;
  }
}
.company {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  min-width: 0;
}
.company img {
  width: 100%;
  max-width: 173px;
  height: 31px;
  object-fit: contain;
  opacity: 1;
}
.company img.czechinvest {
  transform: scale(1.95);
}
.company img.principal {
  filter: none;
  opacity: 1;
}
.company img.elvac {
  max-width: 100px;
  height: 29px;
}
.company > span {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}
.company > .company-meta {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
}
.company img.lilt {
  width: 80px;
  max-width: 80px;
  filter: none;
  opacity: 1;
}
.company-brand {
  position: relative;
  width: 173px;
  max-width: 100%;
  height: 31px;
  justify-self: center;
}
.company-brand.elvac-brand {
  width: 100px;
}
.company-brand.lilt-brand {
  width: 80px;
}
.company .company-brand img.country-flag {
  position: absolute;
  top: -18px;
  right: -10px;
  width: 22px;
  min-width: 22px;
  max-width: 22px;
  height: 15px;
  flex-shrink: 0;
  border-radius: 2px;
  object-fit: fill;
  filter: none;
  opacity: 1;
  box-shadow: 0 0 0 1px #00000012;
}
.company .company-brand.elvac-brand img.country-flag {
  right: -20px;
}
@media (min-width: 741px) and (max-width: 1100px) {
  .experience {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .experience-heading {
    grid-column: 1/-1;
  }
  .experience-heading h2 br {
    display: none;
  }
}
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  scroll-margin-top: 35px;
}
.service {
  padding: 29px 30px 30px;
  min-height: 305px;
  background-color: #ffffff18;
  border-radius: 24px;
}
.service-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}
.service-head svg {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  fill: none;
  stroke: var(--purple);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-head .icon-tint {
  fill: color-mix(in srgb, var(--accent), transparent 88%);
}
.service-head .icon-panel {
  fill: var(--bg);
}
.service-head .icon-dot {
  fill: var(--purple);
  stroke: none;
}
.service h2 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.05em;
  margin: 0;
}
.extra {
  margin-top: 28px;
  border-radius: 24px;
  background-color: #ffffff12;
}
.extra summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 30px;
  list-style: none;
  cursor: pointer;
}
.extra summary::-webkit-details-marker {
  display: none;
}
.extra-heading {
  display: flex;
  align-items: baseline;
  gap: 18px;
  min-width: 0;
}
.extra-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.extra-topics {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.extra-toggle {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: var(--accent-2);
}
.extra-toggle::before,
.extra-toggle::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 3px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease;
}
.extra-toggle::after {
  transform: rotate(90deg);
}
.extra[open] .extra-toggle::after {
  transform: rotate(0deg);
}
.extra-content {
  padding: 0 30px 28px;
}
.extra-content::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--rim), transparent 82%);
}
.extra-content p {
  max-width: 920px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}
.contact {
  margin-top: 28px;
  padding: 45px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  background-color: #ffffff1f;
  scroll-margin-top: 25px;
}
.contact h2 {
  font-size: 50px;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.08;
  margin: 23px 0;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding: 17px 23px;
  border-radius: 17px;
  box-shadow:
    inset 0 1px 0 #ffffff50,
    0 10px 25px #2d1e4107;
  background-color: #ffffff15;
  font-size: 9px;
  color: var(--muted);
}
.footer-dot {
  margin: 0 7px;
}
.footer-tools {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer button {
  border: 0;
  background: none;
  padding: 5px 0;
  font-size: 9px;
  color: inherit;
}
dialog {
  max-width: min(440px, calc(100% - 40px));
  border: 1px solid #fff8;
  border-radius: 22px;
  background: var(--bg);
  color: var(--ink);
  padding: 28px;
  box-shadow: 0 20px 100px #20103130;
}
dialog::backdrop {
  background: #251c3640;
  backdrop-filter: blur(7px);
}
dialog h2 {
  font-size: 24px;
  font-weight: 500;
}
dialog p {
  font-size: 12px;
  line-height: 1.8;
}
dialog a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.close-dialog {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  background: none;
  font-size: 24px;
}
@media (min-width: 1600px) {
  .site-wrap {
    max-width: 1376px;
  }
  .hero {
    min-height: 670px;
  }
  h1 {
    font-size: 104px;
  }
  .hero-content {
    max-width: 1000px;
  }
}
@media (max-width: 1000px) {
  .site-wrap {
    padding: 20px 28px;
  }
  .hero {
    padding: 45px 40px 25px;
    min-height: 590px;
  }
  .experience {
    gap: 20px;
    padding: 28px;
  }
  .services {
    gap: 17px;
  }
  .service {
    padding: 26px 23px;
  }
  .service h2 {
    font-size: 25px;
  }
  .contact {
    padding: 36px;
    gap: 35px;
  }
  .contact h2 {
    font-size: 44px;
  }
  .company > span {
    font-size: 8px;
  }
}
@media (max-width: 740px) {
  html {
    scroll-padding-top: 24px;
  }
  .site-wrap {
    padding: 16px 18px 22px;
  }
  .stack-strip.has-mobile-stack > .stack-track {
    display: none;
  }
  .stack-strip.has-mobile-stack .stack-mobile {
    display: grid;
    gap: 10px;
  }
  .stack-mobile-row {
    min-width: 0;
    overflow: hidden;
  }
  .stack-mobile-track {
    display: flex;
    width: max-content;
    animation: stack-drift 42s linear infinite;
    animation-play-state: paused;
  }
  .stack-mobile-track-2 {
    animation-name: stack-drift-reverse;
    animation-duration: 46s;
  }
  .stack-mobile .stack-group li {
    width: 76px;
    height: 52px;
    border-radius: 13px;
  }
  .stack-mobile .stack-group img {
    width: 58px;
    height: 40px;
  }
  .hero {
    min-height: 620px;
    padding: 38px 27px 24px;
    border-radius: 25px;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 0.1em;
  }
  .hero-content {
    width: 100%;
  }
  h1 {
    font-size: clamp(49px, 9.8vw, 72px);
    line-height: 1.08;
    margin: 39px 0 27px;
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.9;
    max-width: 30ch;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    margin-top: 28px;
  }
  .button {
    padding: 15px 19px;
    gap: 32px;
    font-size: 12px;
  }
  .experience {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 15px;
    padding: 25px 21px;
    margin: 18px 0;
    border-radius: 22px;
  }
  .experience-heading {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }
  .experience-heading h2 {
    font-size: 20px;
    margin: 0;
  }
  .experience-heading h2 br {
    display: none;
  }
  .company {
    gap: 15px;
  }
  .company img {
    height: 26px;
  }
  .company img.elvac {
    height: 24px;
    max-width: 70px;
  }
  .company > span {
    font-size: 8px;
    min-height: 24px;
  }
  .services {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .service {
    min-height: 220px;
    padding: 27px;
  }
  .service h2 {
    font-size: 30px;
    margin: 0;
  }
  .service h2 br {
    display: none;
  }
  .extra {
    margin-top: 18px;
    border-radius: 22px;
  }
  .extra summary {
    padding: 22px 24px;
  }
  .extra-heading {
    display: grid;
    gap: 4px;
  }
  .extra-title {
    font-size: 27px;
  }
  .extra-topics {
    font-size: 11px;
  }
  .extra-content {
    padding: 0 24px 24px;
  }
  .extra-content p {
    font-size: 16px;
    line-height: 1.7;
  }
  .contact {
    grid-template-columns: 1fr;
    padding: 30px 27px;
    gap: 28px;
    margin-top: 18px;
  }
  .contact h2 {
    font-size: 43px;
    margin: 24px 0;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    font-size: 8px;
  }
  .footer-tools {
    width: 100%;
    justify-content: space-between;
  }
  .footer button {
    font-size: 8px;
  }
}
@media (max-width: 360px) {
  .site-wrap {
    padding-inline: 12px;
  }
  .hero {
    padding-inline: 22px;
    min-height: 610px;
  }
  h1 {
    font-size: 45px;
  }
  .experience {
    gap: 23px 12px;
    padding-inline: 17px;
  }
  .contact {
    padding-inline: 22px;
  }
  .contact h2 {
    font-size: 38px;
  }
  .service {
    padding-inline: 24px;
  }
  .company > span {
    font-size: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
}

/* Service lists and responsive content refinements. */
.site-wrap {
  padding-bottom: 116px;
}
.app-types {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
}
.app-types li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.app-types li + li {
  margin-top: 7px;
}
.app-types li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple);
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 9px;
}
.contact {
  grid-template-columns: minmax(0, 1fr) auto;
  padding-block: 34px;
}
.contact h2 {
  margin: 0 0 20px;
  font-size: 42px;
}
.footer,
.footer button {
  font-size: 12px;
}
.footer button {
  min-height: 36px;
}
@media (min-width: 741px) and (max-width: 1000px) {
  .service {
    padding: 26px 21px;
  }
  .service h2 {
    font-size: 24px;
  }
  .app-types {
    font-size: 14px;
  }
  .company > span {
    font-size: 12px;
  }
}
@media (max-width: 740px) {
  .hero {
    min-height: 540px;
  }
  .hero .eyebrow {
    font-size: 14px;
    letter-spacing: 0;
  }
  h1 {
    font-size: clamp(35px, 8.2vw, 56px);
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-actions {
    margin-top: 25px;
  }
  .button {
    font-size: 14px;
  }
  .experience {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 27px;
  }
  .experience-heading h2 {
    font-size: 25px;
  }
  .company {
    display: grid;
    grid-template-columns: minmax(115px, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 22px;
  }
  .company-brand {
    width: 115px;
    justify-self: start;
  }
  .company img {
    width: 115px;
    height: 32px;
    max-width: none;
  }
  .company img.elvac {
    max-width: 88px;
    height: 29px;
    justify-self: center;
  }
  .company-brand.elvac-brand {
    width: 88px;
  }
  .company > span {
    font-size: 13px;
    min-height: 0;
    text-align: left;
  }
  .company > .company-meta {
    justify-self: end;
    justify-content: flex-end;
    text-align: right;
  }
  .company img.lilt {
    width: 80px;
    max-width: 80px;
    justify-self: center;
  }
  .service {
    min-height: 0;
  }
  .service h2 {
    font-size: 30px;
  }
  .service h2 br {
    display: initial;
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact h2 {
    font-size: 36px;
  }
  .footer {
    font-size: 12px;
    gap: 12px;
  }
  .footer button {
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .hero {
    min-height: 520px;
  }
  h1 {
    font-size: 34px;
  }
  .experience {
    padding-inline: 23px;
  }
  .company {
    grid-template-columns: minmax(100px, 0.8fr) minmax(0, 1.2fr);
    gap: 18px;
  }
  .company-brand {
    width: 100px;
  }
  .company img {
    width: 100px;
  }
  .service h2 {
    font-size: 27px;
  }
}

/* Hero identity and contact form. */
.hero .eyebrow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  font-size: 26px;
  font-weight: 600;
}
.hero .monogram {
  display: inline-flex;
  width: 52px;
  line-height: 0;
}
.hero .monogram svg {
  display: block;
  width: 100%;
  height: auto;
}
.hero-signature {
  align-self: flex-end;
  z-index: 3;
  margin: 24px 0 0;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 0 2px 12px var(--bg);
}
.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
}
.button {
  min-height: 50px;
  min-width: 152px;
  padding: 14px 26px;
  justify-content: center;
  gap: 0;
  border: 1px solid transparent;
  border-radius: 14px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
#stack {
  scroll-margin-top: 0;
}
.contact {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding: 44px 48px;
}
.contact h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 46px);
}
.contact-main > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 30px;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 12px;
}
.linkedin-link img {
  display: block;
  width: 56px;
  height: 56px;
}
.linkedin-link:hover {
  background: color-mix(in srgb, var(--accent), transparent 88%);
}
.contact-form {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.contact-form label {
  font-size: 14px;
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid var(--rim);
  border-radius: 12px;
  padding: 14px 16px;
  background: #ffffff20;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  box-shadow: inset 0 1px 3px #00000005;
}
.contact-form input {
  margin-bottom: 10px;
}
.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}
.contact-form :is(input, textarea)::placeholder {
  color: var(--muted);
  opacity: 0.8;
}
.contact-form :is(input, textarea):focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
}
.contact-form .button {
  justify-self: start;
  margin-top: 8px;
}
.form-status {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 4px 0 0;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.65;
}
@media (max-width: 740px) {
  .hero {
    min-height: 570px;
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 28px;
  }
  .contact-main > p {
    margin-bottom: 18px;
  }
  .hero-actions .button {
    min-width: 0;
    padding: 14px 20px;
  }
  .contact-form .button {
    width: 100%;
  }
  .hero .monogram {
    width: 46px;
  }
  .hero .eyebrow {
    font-size: clamp(18px, 4.8vw, 20px);
    gap: 12px;
  }
  .hero-signature {
    align-self: flex-start;
    margin-top: 8px;
    max-width: 175px;
    font-size: 13px;
    text-align: left;
  }
  .hero-actions {
    margin-top: 36px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-portrait {
    right: -135px;
    bottom: -62%;
    height: 110%;
    max-width: 110%;
    opacity: 0.9;
    filter: saturate(0.88) contrast(0.98);
    clip-path: inset(0 0 34% 0);
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 46%,
      transparent 66%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 46%,
      transparent 66%
    );
  }
}

html { scroll-padding-top: 0; }

/* Final type scale for experience heading and service lists. */
.experience-heading h2 {
  font-size: 28px;
}
.app-types {
  font-size: 18px;
}
.story-timeline p {
  font-size: 18px;
}
@media (min-width: 741px) and (max-width: 1000px) {
  .experience-heading h2 {
    font-size: 24px;
  }
  .app-types {
    font-size: 17px;
  }
  .story-timeline p {
    font-size: 17px;
  }
}
@media (max-width: 740px) {
  .story {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }
  .story-heading h2 {
    font-size: 30px;
  }
  .story-timeline {
    gap: 20px;
  }
  .story-timeline li {
    display: block;
  }
  .story-timeline time,
  .story-timeline .story-now {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
  }
  .story-timeline p {
    padding-left: 20px;
    font-size: 18px;
    line-height: 1.6;
  }
  .experience-heading h2 {
    font-size: 30px;
  }
}
@media (max-width: 360px) {
  .story-heading h2 {
    font-size: 27px;
  }
  .experience-heading h2 {
    font-size: 27px;
  }
  .app-types {
    font-size: 17px;
  }
  .story-timeline p {
    font-size: 17px;
  }
}
@media (max-width: 740px) and (prefers-reduced-motion: reduce) {
  .stack-mobile-row {
    overflow-x: auto;
  }
  .stack-mobile-track {
    animation: none;
  }
}

/* Accent roles: apricot (--accent-2) for the monogram, actions, timeline dots,
   service bullets and icon details; pale blue for AI, Data, Vývoj and the years. */
.hero .monogram {
  color: var(--accent-2);
}
.story-timeline p::before {
  background: var(--accent-2);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-2), transparent 86%);
}
/* Service bullets match the timeline dots: 9 px with a soft halo ring. */
.app-types li {
  gap: 14px;
}
.app-types li::before {
  width: 9px;
  height: 9px;
  margin-top: calc(0.825em - 4.5px);
  margin-left: 4px;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-2), transparent 86%);
}
.service-head .icon-tint {
  fill: color-mix(in srgb, var(--accent-text), transparent 86%);
}
.service-head .icon-accent {
  stroke: var(--accent-2);
}
.service-head .icon-dot {
  fill: var(--accent-2);
}

/* Buttons as glass: apricot-tinted translucent glass for actions, clear glass for the secondary one. */
.hero-actions .button,
.contact-form .button {
  position: relative;
  overflow: hidden;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  backdrop-filter: blur(10px) saturate(1.4);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
/* Light streak across the top half, like the glass cards. */
.hero-actions .button::before,
.contact-form .button::before {
  content: "";
  position: absolute;
  inset: 0 0 50%;
  background: linear-gradient(180deg, rgb(255 255 255 / 22%), rgb(255 255 255 / 0%));
  pointer-events: none;
}
.hero-actions .button.primary,
.contact-form .button.primary {
  color: var(--ink);
  text-shadow: 0 1px 2px rgb(0 0 0 / 25%);
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--accent-2), transparent 42%),
    color-mix(in srgb, var(--accent-2), transparent 66%)
  );
  border: 1px solid color-mix(in srgb, var(--accent-2), transparent 35%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 30%),
    inset 0 0 18px color-mix(in srgb, var(--accent-2), transparent 75%),
    0 10px 26px -12px color-mix(in srgb, var(--accent-2), transparent 20%);
}
.hero-actions .button.primary:hover,
.contact-form .button.primary:hover {
  filter: none;
  transform: translateY(-1px);
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--accent-2), transparent 40%),
    color-mix(in srgb, var(--accent-2), transparent 66%)
  );
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 36%),
    inset 0 0 22px color-mix(in srgb, var(--accent-2), transparent 65%),
    0 14px 32px -12px color-mix(in srgb, var(--accent-2), transparent 5%);
}
.hero-actions .button.secondary {
  color: var(--ink);
  background: linear-gradient(160deg, rgb(255 255 255 / 12%), rgb(255 255 255 / 3%));
  border: 1px solid color-mix(in srgb, var(--ink), transparent 74%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 20%),
    0 10px 26px -14px var(--shadow);
}
.hero-actions .button.secondary:hover {
  transform: translateY(-1px);
  background: linear-gradient(160deg, rgb(255 255 255 / 18%), rgb(255 255 255 / 6%));
  border-color: color-mix(in srgb, var(--ink), transparent 55%);
}
.hero-actions .button:active,
.contact-form .button:active {
  transform: translateY(0) scale(0.98);
}
.hero-actions .button:focus-visible,
.contact-form .button:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .hero-actions .button,
  .contact-form .button {
    transition: none;
  }
  .hero-actions .button:hover,
  .contact-form .button:hover {
    transform: none;
  }
  .extra-toggle::before,
  .extra-toggle::after {
    transition: none;
  }
}
