/* O MNE — page-scoped layout and motion styles. The homepage stylesheet is
   loaded first for the real brand primitives; every override below is scoped. */

/* CA-013: Caveat ako WOFF2 (variabilná os váhy 400-700 v jednom súbore,
   subsety latin + latin-ext so slovenskou diakritikou; 75 + 29 KB namiesto
   2 × 251 KB TTF). Súbory sú oficiálne Google Fonts buildy (OFL). TTF rezy
   ostávajú na disku ako záloha pre prehliadače bez WOFF2. */
@font-face {
  font-family: "Caveat";
  src: url("../assets/fonts/caveat/woff2/caveat-latin.woff2") format("woff2"),
       url("../assets/fonts/caveat/static/Caveat-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Caveat";
  src: url("../assets/fonts/caveat/woff2/caveat-latin-ext.woff2") format("woff2"),
       url("../assets/fonts/caveat/static/Caveat-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.about-page {
  --about-paper: #fbfcfb;
  --about-ink: #111214;
  --about-dark: #0b0d10;
  --about-muted: #62666d;
  --about-radius: clamp(22px, 2vw, 34px);
  --about-pad-x: clamp(20px, 4vw, 76px);
  --about-nav-clearance: calc(var(--nav-top, 20px) + var(--nav-h, 62px) + clamp(34px, 5vh, 74px));
  min-width: 0;
  color: var(--about-ink);
  background: var(--about-paper);
  overflow-x: clip;
}

.about-page main,
.about-page section,
.about-page figure { min-width: 0; }

.about-page .about-header {
  opacity: 1;
  z-index: 100;
}

.about-page .about-header .site-header-motion {
  padding-top: var(--nav-top, clamp(14px, 1.8vw, 26px));
  padding-bottom: 0;
}

.about-page .capsule-nav { pointer-events: auto; }
.about-page .capsule-links a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }

.about-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 140;
  transform: translateY(-160%);
  padding: 12px 18px;
  border-radius: 999px;
  color: #0b0d10;
  background: var(--accent);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.about-skip-link:focus { transform: translateY(0); }

.about-page a:focus-visible,
.about-page button:focus-visible,
.about-page [tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.about-section {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: var(--about-nav-clearance) var(--about-pad-x) clamp(84px, 11vh, 150px);
  scroll-margin-top: calc(var(--nav-top, 20px) + var(--nav-h, 62px) + 16px);
}

.about-section--one {
  min-height: 100svh;
  padding-bottom: clamp(72px, 9vh, 116px);
}

.about-grid-light,
.about-grid-dark {
  --about-grid-ink: rgba(127, 131, 134, 0.13);
  background-color: var(--about-paper);
  background-image:
    linear-gradient(var(--about-grid-ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--about-grid-ink) 1px, transparent 1px);
  background-size: var(--grid-cell, 132px) var(--grid-cell, 132px);
  background-position: 0 var(--grid-y, 0px);
  background-repeat: repeat;
}

.about-grid-dark {
  --about-grid-ink: rgba(255, 255, 255, 0.075);
  color: #fff;
  background-color: var(--about-dark);
}

.about-section-inner {
  position: relative;
  z-index: 3;
  width: min(100%, 1640px);
  margin-inline: auto;
}

.about-heading { position: relative; }

.about-kicker {
  margin: 0 0 clamp(12px, 1.5vh, 22px);
  font-size: clamp(11px, 0.9vw, 15px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.about-kicker--green { color: var(--accent); }

.about-display {
  margin: 0;
  color: var(--about-ink);
  font-size: clamp(66px, 8.8vw, 164px);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.about-display--section {
  position: relative;
  z-index: 2;
  font-size: clamp(58px, 6.7vw, 126px);
  line-height: 0.88;
}

.about-display--light { color: #fff; }
.about-line-inner--green { color: var(--accent); }
/* CA-037 (overené metricky aj vizuálne na /o-mne/): pri line-height 0.84
   siaha diakritika verzálok ~0,15 em nad hranu masky; 0,035 em nestačilo
   (ANIMÁTOR mal odrezaný vrch Á). Horný padding je 0,14 em a záporný
   margin -0,105 em vracia rozostup riadkov presne na pôvodných 0,955 em. */
.about-line-mask { display: block; overflow: hidden; padding: 0.14em 0 0.08em; margin-top: -0.105em; }
.about-line-inner { display: block; }

.about-subheading {
  margin: 0;
  max-width: 780px;
  color: var(--about-ink);
  font-size: clamp(20px, 2.1vw, 37px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.about-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 1.8vh, 24px);
}

.about-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--about-muted);
  font-size: clamp(15px, 1.12vw, 19px);
  font-weight: 500;
  line-height: 1.62;
}

.about-grid-dark .about-copy p { color: rgba(255, 255, 255, 0.72); }

.about-emphasis {
  max-width: 720px;
  color: var(--about-ink);
  font-size: clamp(17px, 1.55vw, 27px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.about-emphasis--card {
  width: 100%;
  padding: clamp(20px, 2.2vw, 34px);
  border: 1px solid rgba(17, 18, 20, 0.06);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(17, 18, 20, 0.08);
}

.about-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--about-radius);
  background: #e9ece9;
  box-shadow: 0 28px 80px rgba(17, 18, 20, 0.15);
  will-change: transform, opacity, clip-path;
}

.about-media--one { aspect-ratio: 1672 / 941; }

.about-media-parallax,
.about-media-hover {
  display: block;
  width: 100%;
  height: 100%;
}

.about-media-parallax {
  height: calc(100% + 28px);
  margin-top: -14px;
  will-change: transform;
}

.about-media-hover { overflow: hidden; transition: transform 0.3s ease; }

.about-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-layout-one { display: grid; gap: clamp(28px, 3.4vw, 52px); }

.about-intro-main {
  display: grid;
  grid-template-columns: minmax(480px, 0.86fr) minmax(600px, 1.14fr);
  align-items: start;
  gap: clamp(44px, 5vw, 86px);
}

.about-intro-content {
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
}
.about-intro-visual {
  grid-column: 2;
  grid-row: 1;
}
.about-heading--one { margin-bottom: clamp(28px, 3.2vh, 42px); }

.about-display--intro {
  font-size: clamp(64px, 4.65vw, 89px);
  line-height: 0.84;
  letter-spacing: -0.057em;
}

.about-display--intro .about-line-inner { white-space: nowrap; }
.about-display--intro .about-line-mask:last-child { width: calc(100% + 0.15em); padding-right: 0.15em; }

.about-intro-support {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(250px, 1.2fr);
  align-items: center;
  gap: clamp(24px, 2.2vw, 38px);
}

.about-hand-note {
  position: relative;
  width: min(100%, 330px);
  min-height: 146px;
  display: grid;
  place-items: center;
  padding: 26px 30px 24px;
  transform: rotate(-2.2deg);
}

.about-hand-note-text {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--about-ink);
  font-family: "Caveat", cursive;
  font-size: clamp(24px, 1.65vw, 32px);
  font-style: normal;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.about-hand-note-text span,
.about-hand-note-text strong { display: block; }
.about-hand-note-text strong { font-weight: 700; }
.about-hand-note-text em { color: var(--accent); font-style: normal; }

.about-hand-note-oval {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.about-hand-note-oval path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.about-js .about-hand-note.is-ready .about-hand-note-text {
  opacity: 0;
  transform: translateY(8px);
}

.about-js .about-hand-note:not(.is-ready):not(.is-drawn) { visibility: hidden; }

.about-js .about-hand-note.is-ready .about-hand-note-oval path {
  stroke-dasharray: var(--note-path-length, 1200);
  stroke-dashoffset: var(--note-path-length, 1200);
}

.about-js .about-hand-note.is-drawn .about-hand-note-text {
  opacity: 1;
  transform: none;
}

.about-js .about-hand-note.is-drawn .about-hand-note-oval path { stroke-dashoffset: 0; }

.about-intro-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  min-width: 0;
}

.about-intro-lead {
  margin: 0;
  color: var(--about-ink);
  font-size: clamp(17px, 1.28vw, 22px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.about-intro-copy > p {
  margin: 0;
  color: var(--about-muted);
  font-size: clamp(14px, 0.94vw, 17px);
  font-weight: 500;
  line-height: 1.55;
}

.about-intro-copy .about-actions { flex-wrap: nowrap; }
.about-intro-copy .about-btn { min-height: 48px; padding-block: 12px; }
.about-text-link--light { color: var(--about-ink); }

.about-intro-visual {
  min-width: 0;
  display: grid;
  gap: clamp(18px, 2vh, 24px);
}

.about-media--one {
  width: 100%;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.about-media--one .about-media-parallax { height: 100%; margin-top: 0; }
.about-media--one .about-media-hover {
  border-radius: var(--about-radius);
  box-shadow: 0 28px 80px rgba(17, 18, 20, 0.16);
}
.about-media--one img { object-position: 50% 47%; }

.about-photo-badge {
  position: absolute;
  top: 24px;
  right: -22px;
  z-index: 4;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 15px 22px;
  border-radius: 999px;
  color: #fff;
  background: #111214;
  box-shadow: 0 16px 40px rgba(17, 18, 20, 0.2);
  text-transform: uppercase;
}

.about-photo-badge strong { font-size: 14px; font-weight: 900; letter-spacing: 0.02em; }
.about-photo-badge span { color: rgba(255, 255, 255, 0.66); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; }

.about-intro-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.about-intro-stats article {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 18px clamp(16px, 1.5vw, 24px);
  border: 1px solid rgba(17, 18, 20, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(17, 18, 20, 0.065);
  text-transform: uppercase;
}

.about-stat-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 50px;
  border-radius: 50%;
  color: #111214;
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(0, 255, 0, 0.18);
}

.about-stat-icon svg { width: 24px; height: 24px; }
.about-stat-card-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.about-stat-label { color: #8a8e94; font-size: 10px; font-weight: 800; letter-spacing: 0.12em; }
.about-intro-stats strong { font-size: clamp(24px, 2vw, 36px); font-weight: 900; line-height: 1; letter-spacing: -0.035em; }
.about-intro-stats small { margin-top: 5px; color: var(--about-muted); font-size: 10px; font-weight: 600; line-height: 1.35; text-transform: none; }

.about-project-strip {
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) repeat(2, minmax(210px, 1fr)) auto;
  align-items: center;
  gap: 20px;
  padding: 18px clamp(22px, 2.6vw, 42px);
  border: 1px solid rgba(17, 18, 20, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 52px rgba(17, 18, 20, 0.075);
}

.about-project-strip > p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.about-project-strip > p > span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(0, 255, 0, 0.12); }
.about-project-brand { display: flex; flex-direction: column; gap: 2px; padding-left: 22px; border-left: 1px solid rgba(17, 18, 20, 0.11); }
.about-project-brand strong { font-size: clamp(14px, 1.05vw, 18px); font-weight: 900; text-transform: uppercase; }
.about-project-brand span { color: var(--about-muted); font-size: 11px; font-weight: 600; }
.about-project-strip > a { color: var(--about-ink); font-size: 11px; font-weight: 900; letter-spacing: 0.05em; text-decoration: none; text-transform: uppercase; }

.about-timeline { grid-area: auto; }
.about-story { grid-area: auto; }

.about-timeline {
  position: relative;
  padding: clamp(28px, 4vh, 50px) clamp(6px, 1vw, 18px) 0;
}

.about-timeline-track {
  position: absolute;
  left: 3%;
  right: 3%;
  top: clamp(38px, 5.2vh, 62px);
  height: 2px;
  background: rgba(17, 18, 20, 0.18);
}

.about-timeline-progress {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}

.about-timeline ol {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-timeline li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
}

.about-timeline-point {
  width: 26px;
  height: 26px;
  border: 3px solid #111214;
  border-radius: 50%;
  background: var(--about-paper);
  box-shadow: 0 0 0 5px var(--about-paper);
}

.about-timeline li.is-active .about-timeline-point { background: var(--accent); }
.about-timeline li strong { font-size: clamp(12px, 1vw, 16px); font-weight: 900; line-height: 1.2; text-transform: uppercase; }

.about-story { max-width: 1100px; width: 100%; margin-inline: auto; }

.about-story-toggle {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px clamp(20px, 2.6vw, 34px);
  border: 1px solid rgba(17, 18, 20, 0.12);
  border-radius: 999px;
  color: #111214;
  background: #fff;
  font: inherit;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 38px rgba(17, 18, 20, 0.08);
}

.about-story-symbol { color: var(--accent); font-size: 28px; line-height: 1; transition: transform 0.3s ease; }
.about-story-toggle[aria-expanded="true"] .about-story-symbol { transform: rotate(45deg); }
.about-story-panel { overflow: hidden; }
.about-story-panel-inner { padding: 24px clamp(8px, 2vw, 24px) 4px; }

.about-story-panel ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-story-panel li {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(17, 18, 20, 0.06);
}

.about-story-panel li span { color: var(--accent); font-size: 13px; font-weight: 900; }
.about-story-panel li strong { font-size: 14px; line-height: 1.3; text-transform: uppercase; }

.about-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.about-btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 15px clamp(20px, 2vw, 30px);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: clamp(12px, 0.92vw, 15px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.035em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.about-btn--primary {
  color: #0b0d10;
  background: var(--accent);
  box-shadow: 0 14px 38px rgba(0, 255, 0, 0.27);
}

.about-btn--secondary { color: #111214; border-color: rgba(17, 18, 20, 0.26); background: rgba(255, 255, 255, 0.74); }
.about-btn.is-disabled { opacity: 0.54; cursor: not-allowed; }
/* BLOCKED — CLIENT DATA: neaktívny odkaz na siete MZ Travel je skrytý, kým
   nie je známa URL; `inline-flex` by inak atribút `hidden` prebil. */
.about-btn[hidden] { display: none; }
.about-btn--wide { width: min(100%, 560px); }

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.about-chips li {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(17, 18, 20, 0.06);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(17, 18, 20, 0.07);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.about-chips li > span { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(0, 255, 0, 0.15); }
.about-chips--six { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }

.about-dark-service {
  display: grid;
  gap: 9px;
  max-width: 720px;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
}

.about-dark-service strong { color: #fff; font-size: clamp(16px, 1.4vw, 23px); line-height: 1.2; text-transform: uppercase; }
.about-dark-service span { color: rgba(255, 255, 255, 0.72); font-size: 13px; font-weight: 700; line-height: 1.55; }
.about-dark-service p { font-size: 14px; }

.about-stat { display: flex; align-items: baseline; gap: 16px; color: #fff; text-transform: uppercase; }
.about-stat strong { font-size: clamp(68px, 7.2vw, 132px); font-weight: 900; line-height: 0.8; letter-spacing: -0.06em; }
.about-stat span { font-size: clamp(17px, 1.8vw, 30px); font-weight: 900; }
.about-actions--dark .about-btn--primary { box-shadow: 0 14px 42px rgba(0, 255, 0, 0.3); }

/* CA-019: mobilné hero CTA hneď pod nadpisom -- iba do 1024 px, kde je
   pôvodná dvojica CTA až pod ručne písanou poznámkou a leadom (pod foldom). */
.about-actions--mobile-hero { display: none; }
@media (max-width: 1024px) {
  .about-actions--mobile-hero { display: flex; margin-top: clamp(18px, 3vh, 26px); }
}

.about-text-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.about-subheading--brands { margin-top: 10px; }

.about-decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  will-change: transform, opacity;
}

.about-decor-float { display: block; will-change: transform; }
.about-decor img { display: block; width: 100%; height: auto; filter: drop-shadow(0 15px 32px rgba(0, 255, 0, 0.3)); }
.about-decor--s1-sphere { width: clamp(48px, 5.5vw, 106px); top: 13%; right: 7%; }
.about-decor--s1-blob { width: clamp(90px, 9vw, 174px); top: 38%; left: -2.5%; }

.about-nav-overlay { transition: opacity 0.25s ease, visibility 0.25s ease; }
.about-page.about-menu-open { overflow: hidden; }

.about-footer {
  position: static !important;
  transform: none !important;
  padding-top: clamp(28px, 4vh, 46px);
  border-radius: 34px 34px 0 0;
}

.about-footer .footer-inner { max-width: 1640px; }
.about-footer .footer-brand { display: block; line-height: 0; }
.about-footer .footer-brand img { height: clamp(42px, 4vw, 64px); width: auto; }

.about-footer-nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(18px, 3vw, 46px); }
.about-footer-nav a { position: relative; color: rgba(255, 255, 255, 0.72); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-decoration: none; text-transform: uppercase; }
.about-footer-nav a:hover,
.about-footer-nav a[aria-current="page"] { color: #fff; }
.about-footer-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transform: translateX(-50%); }

.about-js.about-pending .about-page [data-reveal],
.about-js.about-pending .about-page [data-decor] { opacity: 0; }

@media (hover: hover) and (pointer: fine) {
  .about-media:hover .about-media-hover { transform: translateY(-2px); }
  .about-media:hover img { transform: scale(1.012); }
  .about-btn:not(.is-disabled):hover { transform: translateY(-2px); }
  .about-btn--primary:hover { box-shadow: 0 18px 48px rgba(0, 255, 0, 0.38); }
  .about-text-link:hover { color: var(--accent); }
}

@media (max-width: 1280px) {
  .about-display { font-size: clamp(62px, 9vw, 116px); }
  .about-display--section { font-size: clamp(54px, 6.8vw, 92px); }
  .about-layout-one { grid-template-columns: minmax(0, 1fr); }
  .about-intro-main { grid-template-columns: minmax(400px, 0.9fr) minmax(500px, 1.1fr); gap: 36px; }
  .about-display--intro { font-size: clamp(60px, 5.55vw, 72px); }
}

@media (max-width: 1024px) {
  .about-page { --about-nav-clearance: calc(var(--nav-top, 18px) + var(--nav-h, 58px) + 30px); }
  .about-page .about-header .site-header-motion { justify-content: space-between; }
  .about-section { padding-bottom: clamp(68px, 10vw, 104px); }
  .about-section--one { min-height: 0; }
  .about-layout-one { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about-intro-main { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .about-intro-content,
  .about-intro-visual { grid-column: auto; grid-row: auto; }
  .about-intro-visual { width: min(100%, 820px); }
  .about-photo-badge { right: 14px; }
  .about-project-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-project-strip > a { justify-self: start; }
  .about-media-parallax { height: 100%; margin-top: 0; transform: none !important; }
  .about-decor { transform: scale(0.76); }
  .about-decor--s1-blob { display: none; }
  .about-story-panel ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-footer .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .about-page { --about-pad-x: clamp(16px, 5.2vw, 24px); }
  .about-section { padding-top: var(--about-nav-clearance); }
  .about-display,
  .about-display--section { font-size: clamp(45px, 14vw, 78px); line-height: 0.89; letter-spacing: -0.055em; }
  .about-subheading { font-size: clamp(19px, 6vw, 28px); }
  .about-copy { gap: 15px; }
  .about-copy p { font-size: 15px; line-height: 1.58; }
  .about-media { border-radius: 23px; }
  .about-media--one { aspect-ratio: 16 / 10; }
  .about-media--one img { object-position: 50% 50%; }
  .about-heading--one { margin-bottom: 24px; }
  .about-display--intro { font-size: clamp(42px, 11.8vw, 58px); }
  .about-intro-support { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .about-hand-note { width: min(100%, 340px); margin-inline: auto; }
  .about-hand-note-text { font-size: clamp(25px, 8vw, 32px); }
  .about-intro-copy { align-items: stretch; }
  .about-intro-copy .about-actions { flex-direction: column; }
  .about-intro-stats { grid-template-columns: minmax(0, 1fr); }
  .about-intro-stats article { min-height: 104px; }
  .about-photo-badge { top: 12px; right: 10px; min-width: 0; padding: 12px 16px; }
  .about-project-strip { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .about-project-brand { padding: 14px 0 0; border-top: 1px solid rgba(17, 18, 20, 0.11); border-left: 0; }
  .about-emphasis--card { padding: 20px; border-radius: 20px; }
  .about-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .about-btn { width: 100%; min-height: 52px; white-space: normal; }
  .about-text-link { justify-content: center; }
  .about-chips--six { display: flex; }
  .about-timeline { padding: 12px 0 0 6px; }
  .about-timeline-track { left: 18px; right: auto; top: 24px; bottom: 30px; width: 2px; height: auto; }
  .about-timeline-progress { width: 100%; height: 100%; transform: scaleY(0); transform-origin: center top; }
  .about-timeline ol { display: flex; flex-direction: column; gap: 0; }
  .about-timeline li { min-height: 82px; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: 14px; text-align: left; }
  .about-timeline-point { grid-column: 1; width: 24px; height: 24px; margin-left: 0; }
  .about-timeline li strong { grid-column: 2; padding-top: 3px; font-size: 14px; }
  .about-story-toggle { min-height: 58px; font-size: 12px; text-align: left; }
  .about-story-panel ol { grid-template-columns: minmax(0, 1fr); }
  .about-story-panel li { min-height: 88px; }
  .about-stat { flex-direction: column; align-items: flex-start; gap: 8px; }
  .about-stat strong { font-size: clamp(70px, 24vw, 102px); }
  .about-decor--s1-sphere { width: 54px; right: -10px; }
  .about-footer { border-radius: 25px 25px 0 0; }
  .about-footer-nav { gap: 18px 25px; }
}

@media (max-width: 390px) {
  .about-display,
  .about-display--section { font-size: clamp(42px, 13.6vw, 56px); }
  .about-kicker { letter-spacing: 0.12em; }
  .about-btn { padding-inline: 17px; font-size: 11px; }
  .about-chips li { min-height: 42px; padding: 9px 13px; font-size: 11px; }
}

@media (max-height: 690px) and (min-width: 1025px) {
  .about-section { padding-top: calc(var(--nav-top, 18px) + var(--nav-h, 58px) + 24px); padding-bottom: 70px; }
  .about-display--section { font-size: clamp(50px, 6vw, 82px); }
  .about-copy { gap: 11px; }
  .about-copy p { line-height: 1.48; }
}

@media (orientation: landscape) and (max-height: 520px) and (max-width: 1024px) {
  .about-section { padding-top: calc(var(--nav-top, 14px) + var(--nav-h, 52px) + 24px); }
}

@media (prefers-reduced-motion: reduce) {
  .about-page *,
  .about-page *::before,
  .about-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .about-js.about-pending .about-page [data-reveal],
  .about-js.about-pending .about-page [data-decor] { opacity: 1 !important; }
  .about-page .about-line-inner,
  .about-page [data-reveal],
  .about-page [data-decor],
  .about-page .about-media-parallax,
  .about-page .about-media-hover,
  .about-page .about-media img { transform: none !important; opacity: 1 !important; clip-path: none !important; }
  .about-timeline-progress { transform: none !important; }
  .about-timeline li .about-timeline-point { background: var(--accent); }
  .about-page .about-hand-note { visibility: visible !important; }
  .about-page .about-hand-note-text { opacity: 1 !important; transform: none !important; }
  .about-page .about-hand-note-oval path { stroke-dashoffset: 0 !important; }
}

/* ============================================================
   SPOLOČNÁ SCÉNA — KAPITOLY 02 až 05

   Dva režimy nad jedným DOM-om:

   1) ZÁKLADNÝ (fallback) — platí bez JS, na mobile, pri nízkom
      landscape viewporte a pri prefers-reduced-motion. Kapitoly sú
      normálne vertikálne sekcie 02 → 03 → 04 → 05, fotografia je nad
      textom, scroll je úplne natívny.

   2) DESKTOPOVÁ SCÉNA — aktivuje sa iba triedou `about-deck-on` na
      <html>, ktorú nastavuje deck controller v about.js. Vtedy je
      .about-deck-stage sticky, .about-chapter-block prechádza na
      display:contents a fotografie aj texty sa stávajú položkami
      jednej spoločnej mriežky.
   ============================================================ */

.about-deck { position: relative; }

/* --- 1) ZÁKLADNÝ REŽIM ------------------------------------- */

.about-chapter-block {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(62px, 9vh, 112px) var(--about-pad-x);
}

.about-deck-card {
  width: min(100%, 520px);
  margin: 0 auto clamp(26px, 3.6vh, 42px);
  aspect-ratio: 9 / 16;
}

.about-chapter { position: relative; }
.about-copy--chapter { width: min(100%, 860px); margin-inline: auto; }

.about-deck-bg,
.about-deck-decor { display: none; }
.about-deck-nav[hidden] { display: none; }

/* --- 2) DESKTOPOVÁ SCÉNA ----------------------------------- */

@media (min-width: 1025px) {
  /* Rozsah scrollu scény: štyri sloty po jednom viewporte. Pripnutá
     plocha je vysoká presne jeden viewport, takže pin trvá 3 sloty a
     každá kapitola má vlastnú kanonickú scroll pozíciu. */
  html.about-deck-on .about-deck { height: calc(4 * 100svh); }

  html.about-deck-on .about-deck-stage {
    --deck-safe-top: calc(var(--nav-top, 20px) + var(--nav-h, 62px) + clamp(12px, 1.9vh, 28px));
    --deck-safe-bottom: clamp(24px, 3.2vh, 50px);
    --deck-frame-h: calc(100svh - var(--deck-safe-top) - var(--deck-safe-bottom));
    --deck-card-h: min(var(--deck-frame-h), 860px);
    --deck-card-w: calc(var(--deck-card-h) * 0.5625);
    --deck-gap: clamp(28px, 3.5vw, 86px);

    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;             /* odlietajúca karta končí na hrane viewportu */
    isolation: isolate;
  }

  /* Pozadie a mriežka — dve presne zarovnané vrstvy s identickou
     geometriou buniek. Mení sa iba ich krytie, nikdy nie mierka. */
  html.about-deck-on .about-deck-bg {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  html.about-deck-on .about-deck-bg-layer {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(var(--deck-grid-ink) 1px, transparent 1px),
      linear-gradient(90deg, var(--deck-grid-ink) 1px, transparent 1px);
    background-size: var(--grid-cell, 132px) var(--grid-cell, 132px);
    background-position: 0 0;
    background-repeat: repeat;
  }

  html.about-deck-on .about-deck-bg-layer--light {
    --deck-grid-ink: rgba(127, 131, 134, 0.13);
    background-color: var(--about-paper);
  }

  html.about-deck-on .about-deck-bg-layer--dark {
    --deck-grid-ink: rgba(255, 255, 255, 0.075);
    background-color: var(--about-dark);
    opacity: 0;
  }

  /* Dekorácie — samostatná neinteraktívna vrstva pod fotografiou aj
     textom, takže nikdy nezakryjú tvár, nadpis ani CTA. */
  html.about-deck-on .about-deck-decor {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
  }

  html.about-deck-on .about-deck-orb {
    position: absolute;
    display: block;
    will-change: transform, opacity;
  }

  html.about-deck-on .about-deck-orb-float { display: block; will-change: transform; }

  html.about-deck-on .about-deck-orb img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 32px rgba(0, 255, 0, 0.3));
  }

  html.about-deck-on .about-deck-orb--sphere { width: clamp(46px, 4.7vw, 96px); }
  html.about-deck-on .about-deck-orb--blob { width: clamp(92px, 9vw, 180px); }

  html.about-deck-on .about-deck-orb.pos-left-top,
  html.about-deck-on .about-deck-orb.pos-left-bottom { left: clamp(-30px, -1.5vw, 0px); }
  html.about-deck-on .about-deck-orb.pos-right-top,
  html.about-deck-on .about-deck-orb.pos-right-bottom { right: clamp(-30px, -1.5vw, 0px); }
  html.about-deck-on .about-deck-orb.pos-left-top,
  html.about-deck-on .about-deck-orb.pos-right-top { top: calc(var(--deck-safe-top) + clamp(10px, 5vh, 66px)); }
  html.about-deck-on .about-deck-orb.pos-left-bottom { bottom: clamp(26px, 6vh, 82px); }
  /* Pravý dolný roh zdieľa priestor s ovládaním kapitol, preto je vyššie. */
  html.about-deck-on .about-deck-orb.pos-right-bottom { bottom: clamp(74px, 11.5vh, 140px); }

  /* Spoločný kontajner kompozície — rovnaké kotviace body pre všetky
     štyri stavy, takže sa pri prepnutí nepohne ľavý okraj karty ani
     šírka stĺpcov. */
  html.about-deck-on .about-deck-frame {
    position: relative;
    z-index: 2;
    width: min(92vw, 1720px);
    height: var(--deck-frame-h);
    margin: var(--deck-safe-top) auto var(--deck-safe-bottom);
    display: grid;
    grid-template-columns: var(--deck-card-w) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    grid-template-areas: "stack panels";
    column-gap: var(--deck-gap);
  }

  html.about-deck-on .about-chapter-block { display: contents; }

  html.about-deck-on .about-deck-card {
    grid-area: stack;
    align-self: center;
    justify-self: start;
    width: var(--deck-card-w);
    height: var(--deck-card-h);
    aspect-ratio: auto;
    margin: 0;
    box-shadow: 0 34px 92px rgba(17, 18, 20, 0.24);
    will-change: transform, opacity;
  }

  /* Jemný svetlý obrys — čitateľný aj na čiernej kapitole. */
  html.about-deck-on .about-deck-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: inherit;
    pointer-events: none;
  }

  html.about-deck-on .about-deck-card .about-media-hover { transition: none; }
  html.about-deck-on .about-deck-card img { transition: none; }

  html.about-deck-on .about-chapter {
    grid-area: panels;
    align-self: center;
    width: 100%;
    will-change: transform, opacity;
  }

  html.about-deck-on .about-copy--chapter {
    width: 100%;
    max-width: min(100%, 880px);
    margin-inline: 0;
    gap: clamp(10px, 1.45vh, 20px);
  }

  html.about-deck-on .about-copy--chapter .about-kicker { margin-bottom: clamp(2px, 0.5vh, 8px); }

  html.about-deck-on .about-copy--chapter .about-display--section {
    font-size: clamp(48px, 4.4vw, 88px);
    line-height: 0.9;
  }

  html.about-deck-on .about-copy--chapter .about-subheading {
    font-size: clamp(18px, 1.5vw, 28px);
    line-height: 1.1;
  }

  html.about-deck-on .about-copy--chapter p {
    max-width: 780px;
    font-size: clamp(15px, 0.95vw, 18px);
    line-height: 1.58;
  }

  html.about-deck-on .about-copy--chapter .about-emphasis--card {
    max-width: 780px;
    padding: clamp(16px, 1.35vw, 26px);
    border-radius: 22px;
    font-size: clamp(16px, 1.25vw, 23px);
  }

  html.about-deck-on .about-copy--chapter .about-dark-service {
    gap: 4px;
    max-width: 760px;
    padding-left: 14px;
  }

  html.about-deck-on .about-copy--chapter .about-dark-service strong { font-size: clamp(15px, 1.15vw, 21px); }
  html.about-deck-on .about-copy--chapter .about-dark-service span { font-size: clamp(12px, 0.78vw, 14px); line-height: 1.45; }
  html.about-deck-on .about-copy--chapter .about-dark-service p { font-size: clamp(12px, 0.78vw, 14px); line-height: 1.42; }

  html.about-deck-on .about-copy--chapter .about-stat { gap: 12px; }
  html.about-deck-on .about-copy--chapter .about-stat strong { font-size: clamp(56px, 4.5vw, 94px); line-height: 0.82; }
  html.about-deck-on .about-copy--chapter .about-stat span { font-size: clamp(16px, 1.35vw, 26px); }

  html.about-deck-on .about-copy--chapter .about-chips { gap: 8px; }
  html.about-deck-on .about-copy--chapter .about-chips li { min-height: 40px; padding: 8px 14px; }
  html.about-deck-on .about-copy--chapter .about-chips--six { display: flex; }

  html.about-deck-on .about-copy--chapter .about-actions { flex-wrap: wrap; }
  html.about-deck-on .about-copy--chapter .about-btn { min-height: 48px; padding-block: 13px; }
  html.about-deck-on .about-copy--chapter .about-btn--wide { width: auto; }

  /* Nenápadné ovládanie kapitol — klávesnicová aj myšová alternatíva
     ku scrollu, nie dominantný slider panel. */
  html.about-deck-on .about-deck-nav {
    position: absolute;
    z-index: 4;
    right: max(calc((100vw - min(92vw, 1720px)) / 2), 14px);
    bottom: clamp(12px, 2vh, 24px);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    border: 1px solid rgba(127, 131, 134, 0.24);
    border-radius: 999px;
    background: rgba(251, 252, 251, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  html.about-deck-on .about-deck-step {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--about-ink);
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  }

  html.about-deck-on .about-deck-step svg { width: 15px; height: 15px; }
  html.about-deck-on .about-deck-step:hover:not(:disabled) { background: rgba(17, 18, 20, 0.08); }
  html.about-deck-on .about-deck-step:disabled { opacity: 0.3; cursor: default; }

  html.about-deck-on .about-deck-count {
    min-width: 46px;
    color: var(--about-ink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: center;
    font-variant-numeric: tabular-nums;
  }

  /* Na tmavej kapitole musí zostať ovládanie čitateľné. */
  html.about-deck-on .about-deck-nav.is-dark {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(11, 13, 16, 0.7);
  }

  html.about-deck-on .about-deck-nav.is-dark .about-deck-step,
  html.about-deck-on .about-deck-nav.is-dark .about-deck-count { color: #fff; }
  html.about-deck-on .about-deck-nav.is-dark .about-deck-step:hover:not(:disabled) { background: rgba(255, 255, 255, 0.14); }
}

/* Výškové stupne. Cieľ je opačný než len „zmestiť sa": na bežnom
   desktope zostáva bežný text aspoň 16 px a zmenšuje sa až vtedy, keď
   to výška viewportu naozaj vyžaduje. Každá zo štyroch kapitol je
   posudzovaná osobitne — najhustejšia je 05. */
@media (min-width: 1025px) and (max-height: 1000px) {
  html.about-deck-on .about-copy--chapter { gap: clamp(9px, 1.3vh, 17px); }
  html.about-deck-on .about-copy--chapter .about-display--section { font-size: clamp(44px, 3.75vw, 72px); }
  html.about-deck-on .about-copy--chapter .about-subheading { font-size: clamp(17px, 1.3vw, 24px); }
  html.about-deck-on .about-copy--chapter p { font-size: clamp(15px, 0.92vw, 17px); line-height: 1.5; }
  html.about-deck-on .about-copy--chapter .about-emphasis--card { padding: clamp(14px, 1.15vw, 20px); font-size: clamp(15px, 1.1vw, 20px); }
  html.about-deck-on .about-copy--chapter .about-stat strong { font-size: clamp(48px, 3.7vw, 72px); }
  html.about-deck-on .about-copy--chapter .about-stat span { font-size: clamp(15px, 1.2vw, 22px); }
  html.about-deck-on .about-copy--chapter .about-chips li { min-height: 38px; }
  html.about-deck-on .about-copy--chapter .about-btn { min-height: 46px; padding-block: 12px; }
}

@media (min-width: 1025px) and (max-height: 830px) {
  html.about-deck-on .about-deck-stage {
    --deck-safe-top: calc(var(--nav-top, 18px) + var(--nav-h, 58px) + 12px);
    --deck-safe-bottom: 22px;
  }
  html.about-deck-on .about-copy--chapter { gap: clamp(8px, 1.15vh, 14px); }
  html.about-deck-on .about-copy--chapter .about-display--section { font-size: clamp(40px, 3.5vw, 62px); }
  html.about-deck-on .about-copy--chapter .about-subheading { font-size: clamp(16px, 1.2vw, 21px); }
  html.about-deck-on .about-copy--chapter p { font-size: 15px; line-height: 1.48; }
  html.about-deck-on .about-copy--chapter .about-emphasis--card { padding: 13px 16px; border-radius: 18px; font-size: 15px; }
  html.about-deck-on .about-copy--chapter .about-dark-service { gap: 3px; }
  html.about-deck-on .about-copy--chapter .about-dark-service strong { font-size: 16px; }
  html.about-deck-on .about-copy--chapter .about-dark-service span,
  html.about-deck-on .about-copy--chapter .about-dark-service p { font-size: 12px; line-height: 1.38; }
  html.about-deck-on .about-copy--chapter .about-stat strong { font-size: clamp(44px, 3.3vw, 58px); }
  html.about-deck-on .about-copy--chapter .about-stat span { font-size: 16px; }
  html.about-deck-on .about-copy--chapter .about-chips li { min-height: 34px; padding: 6px 12px; font-size: 11px; }
  html.about-deck-on .about-copy--chapter .about-btn { min-height: 44px; padding-block: 11px; font-size: 11px; }
}

@media (min-width: 1025px) and (max-height: 700px) {
  html.about-deck-on .about-copy--chapter { gap: clamp(6px, 0.95vh, 11px); }
  html.about-deck-on .about-copy--chapter .about-display--section { font-size: clamp(34px, 3vw, 48px); }
  html.about-deck-on .about-copy--chapter p { font-size: 14px; line-height: 1.44; }
  html.about-deck-on .about-copy--chapter .about-emphasis--card { padding: 11px 14px; font-size: 14px; }
  html.about-deck-on .about-copy--chapter .about-stat strong { font-size: 40px; }
}

/* Základný režim — jemnejšie odsadenie na malých obrazovkách. */
@media (max-width: 768px) {
  .about-chapter-block { padding: clamp(52px, 8vh, 84px) var(--about-pad-x); }
  .about-deck-card { width: min(100%, 420px); border-radius: 23px; }
  .about-copy--chapter .about-chips--six { display: flex; }
}

/* Masky riadkov sú v tejto scéne iba štruktúrou (texty sa animujú ako
   celé bloky), preto v ustálenom stave nesmú nič orezať — ani
   diakritiku, ani zelenú bodku. */
.about-copy--chapter .about-line-mask { overflow: visible; }

@media (min-width: 1025px) {
  html.about-deck-on .about-copy--chapter .about-line-inner { white-space: nowrap; }
}

/* V základnom režime nie je priestor pre celé zostavy dekorácií, ale
   kapitoly nemajú zostať úplne holé: každá dostane jednu zmenšenú
   guľôčku pri voľnom okraji, striedavo vpravo a vľavo. */
@media (max-width: 1024px) {
  .about-chapter-block::before {
    content: "";
    position: absolute;
    z-index: 0;
    width: clamp(58px, 13vw, 104px);
    aspect-ratio: 1;
    background: url("../assets/sphere-green.webp") center / contain no-repeat;
    filter: drop-shadow(0 12px 26px rgba(0, 255, 0, 0.28));
    pointer-events: none;
  }

  .about-chapter-block[data-block="0"]::before,
  .about-chapter-block[data-block="2"]::before { right: clamp(-30px, -5vw, -14px); top: 6%; }

  .about-chapter-block[data-block="1"]::before,
  .about-chapter-block[data-block="3"]::before { left: clamp(-30px, -5vw, -14px); bottom: 7%; }
}
