/* ==========================================================================
   David Azarian — portfolio
   Design width 1920 px (zoomed down to 1200 px by the inline script in <head>)
   ========================================================================== */

/* ---------- Fonts (self-hosted Poppins, latin + latin-ext for Czech) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/poppins-latin-ext-300-normal.woff2) format("woff2"); 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; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/poppins-latin-300-normal.woff2) format("woff2"); 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: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-latin-ext-400-normal.woff2) format("woff2"); 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; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-latin-400-normal.woff2) format("woff2"); 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: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-latin-ext-500-normal.woff2) format("woff2"); 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; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-latin-500-normal.woff2) format("woff2"); 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: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-latin-ext-600-normal.woff2) format("woff2"); 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; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-latin-600-normal.woff2) format("woff2"); 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: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/poppins-latin-ext-700-normal.woff2) format("woff2"); 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; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/poppins-latin-700-normal.woff2) format("woff2"); 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; }

/* ---------- Tokens ---------- */
:root {
    --black: #000;
    --white: #fff;
    --orange: #FF7E21;
    --grey: #8a8a8a;
    --light: #cbcbcb;
    --line: #363636;
    --strap-dark: #212121;
    --strap-light: #fafafa;
    --error: #ff6b5b;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --ease-in-out: cubic-bezier(.7, 0, .2, 1);
    --side: 101px;
    --content: 289px;
}

/* ---------- Base ---------- */
html {
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    background: var(--black);
    scrollbar-color: #333 var(--black);
}

#uvod,
#o-mne,
#sluzby,
#portfolio,
#integrace,
#zkusenosti,
#kontakt {
    scroll-margin-top: 40px;
}

body {
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-weight: 400;
    background: var(--black);
    color: var(--white);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    box-sizing: border-box;
}

:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 4px;
}

::selection {
    background: var(--orange);
    color: var(--black);
}

button,
a {
    cursor: pointer;
    transition: .3s;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
}

ul,
ol {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

p {
    margin-top: 0;
}

img,
svg {
    max-width: 100%;
}

img {
    height: auto;
}

[hidden] {
    display: none !important;
}

.visually_hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip_link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 3000;
    padding: 14px 22px;
    background: var(--orange);
    color: var(--black);
    font-weight: 500;
    border-radius: 100px;
}

.skip_link:focus {
    top: 16px;
}

.container {
    width: 100%;
    max-width: 1920px;
    padding: 0 var(--side);
    margin: 0 auto;
}

.section {
    position: relative;
    padding: 150px 0;
}

.section > .container {
    padding-left: var(--content);
}

/* ---------- Shared elements ---------- */
.outline_letter {
    display: block;
    font-size: 420px;
    font-weight: 300;
    line-height: .8;
    color: transparent;
    -webkit-text-stroke: 1px var(--line);
    user-select: none;
    pointer-events: none;
    transform: translate3d(0, calc(var(--parallax, 0) * 1px), 0);
    will-change: transform;
}

.section_title {
    position: relative;
    margin: 0 0 90px;
    padding-bottom: 22px;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .01em;
}

.section_title::after {
    content: '';
    position: absolute;
    left: 2px;
    bottom: 0;
    width: 61px;
    height: 1px;
    background: var(--white);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform .9s var(--ease) .3s;
}

.section_title.visible::after {
    transform: scaleX(1);
}

.section_head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 90px;
}

.section_head .section_title {
    margin-bottom: 0;
}

.section_grid {
    display: grid;
    grid-template-columns: 286px minmax(0, 1fr);
    align-items: start;
}

.section_content {
    min-width: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 34px;
    border: 1px solid transparent;
    border-radius: 100px;
    background: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--white);
    white-space: nowrap;
    cursor: pointer;
    transition: .3s;
}

.btn svg {
    flex: none;
    transition: transform .3s var(--ease);
}

.btn.primary {
    background: var(--orange);
    color: var(--black);
}

.btn.primary:hover {
    background: var(--white);
}

.btn.primary:hover svg {
    transform: rotate(45deg);
}

.btn.outline {
    border-color: var(--orange);
    padding: 15px 26px;
    font-size: 15px;
}

.btn.outline svg {
    color: var(--orange);
    transition: .3s;
}

.btn.outline:hover {
    background: var(--orange);
    color: var(--black);
}

.btn.outline:hover svg {
    color: var(--black);
    transform: translateY(2px);
}

/* Orange slash accent link (design "Napište mi" / "Zjistit víc") */
.link_accent {
    position: relative;
    z-index: 0;
    display: inline-block;
    font-size: 24px;
    line-height: 1.6;
    color: var(--white);
}

.link_accent::before {
    content: '';
    position: absolute;
    z-index: -1;
    left: 32%;
    bottom: 4px;
    width: 40px;
    height: 13px;
    background: var(--orange);
    clip-path: polygon(28% 0, 100% 0, 72% 100%, 0 100%);
    transform: rotate(-20deg);
    transition: left .45s var(--ease), width .45s var(--ease), height .45s var(--ease), transform .45s var(--ease), bottom .45s var(--ease);
}

.link_accent:hover::before,
.link_accent:focus-visible::before {
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 2px;
    clip-path: none;
    transform: none;
}

.slash {
    display: inline-block;
    width: 44px;
    height: 14px;
    margin-left: 18px;
    background: var(--orange);
    clip-path: polygon(28% 0, 100% 0, 72% 100%, 0 100%);
    transform: rotate(-20deg);
    vertical-align: middle;
}

.link_download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    line-height: 1.6;
    color: var(--white);
}

.link_download svg {
    color: var(--orange);
    transition: transform .3s var(--ease);
}

.link_download:hover {
    color: var(--orange);
}

.link_download:hover svg {
    transform: translateY(3px);
}

/* ---------- Preloader ---------- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    transition: opacity .8s var(--ease) .1s, visibility 0s .9s;
    animation: preloaderFallback .6s 5s forwards;
}

.no_preloader .preloader {
    display: none;
}

.preloader_letter {
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: 560px;
    transform: translate(-50%, -54%);
    will-change: auto;
}

.preloader_inner {
    position: relative;
    text-align: center;
    transition: transform .8s var(--ease), opacity .6s;
}

.preloader_logo {
    margin: 0 0 30px;
    font-size: 72px;
    line-height: 1;
    letter-spacing: -.02em;
}

.preloader_logo span,
.logo span,
.dot {
    color: var(--orange);
}

.preloader_bar {
    width: 240px;
    height: 2px;
    margin: 0 auto;
    background: #2a2a2a;
    overflow: hidden;
}

.preloader_bar span {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--orange);
    transform-origin: left;
    transform: scaleX(0);
    animation: preloaderBar 1.3s var(--ease-in-out) forwards;
}

.preloader_text {
    margin: 22px 0 0;
    font-size: 14px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--grey);
}

body.loaded .preloader {
    opacity: 0;
    visibility: hidden;
}

body.loaded .preloader_inner {
    transform: translateY(-30px);
    opacity: 0;
}

@keyframes preloaderBar {
    to { transform: scaleX(1); }
}

@keyframes preloaderFallback {
    to { opacity: 0; visibility: hidden; }
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: 32px 0;
    transition: transform .45s var(--ease), background-color .3s, padding .3s, backdrop-filter .3s;
}

.header.header-scrolled {
    padding: 16px 0;
    background-color: rgba(0, 0, 0, .72);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.header.header-hidden {
    transform: translateY(-100%);
}

body.menu_opened .header {
    transform: none;
    background-color: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.header_flex {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.header_social {
    display: flex;
    align-items: center;
}

.header_social li {
    display: flex;
    align-items: center;
}

.header_social li + li::before {
    content: '';
    width: 5px;
    height: 5px;
    margin: 0 16px;
    border-radius: 50%;
    background: var(--orange);
}

.header_social a,
.open_nav {
    font-size: 14px;
    line-height: 1.75;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.header_social a:hover {
    color: var(--orange);
}

.logo {
    position: relative;
    z-index: 1001;
    font-size: 40px;
    line-height: 1;
    letter-spacing: -.02em;
    white-space: nowrap;
}

.header_right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 40px;
}

.open_nav {
    position: relative;
    z-index: 1001;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 13px 0;
    border: 0;
    background: transparent;
}

.open_nav_icon {
    position: relative;
    width: 28px;
    height: 10px;
}

.open_nav_icon span {
    position: absolute;
    right: 0;
    height: 2px;
    background: var(--white);
    transition: .4s var(--ease);
}

.open_nav_icon span:nth-child(1) {
    top: 0;
    width: 28px;
}

.open_nav_icon span:nth-child(2) {
    bottom: 0;
    width: 18px;
}

.open_nav:hover .open_nav_icon span:nth-child(2) {
    width: 28px;
}

body.menu_opened .open_nav_icon span:nth-child(1) {
    top: 4px;
    width: 24px;
    transform: rotate(45deg);
}

body.menu_opened .open_nav_icon span:nth-child(2) {
    bottom: 4px;
    width: 24px;
    transform: rotate(-45deg);
}

body.menu_opened {
    overflow: hidden;
}

/* ---------- Menu overlay ---------- */
.main_nav {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    background: var(--black);
    visibility: hidden;
    clip-path: circle(0% at calc(100% - 140px) 64px);
    transition: clip-path .8s var(--ease-in-out), visibility 0s .8s;
    overflow-y: auto;
}

body.menu_opened .main_nav {
    visibility: visible;
    clip-path: circle(150% at calc(100% - 140px) 64px);
    transition: clip-path .8s var(--ease-in-out), visibility 0s;
}

.main_nav .container {
    padding-left: var(--content);
}

.main_nav_flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 80px;
    padding: 160px 0 80px;
}

.main_nav_list li {
    overflow: hidden;
}

.main_nav_list a {
    display: inline-flex;
    align-items: flex-start;
    gap: 22px;
    font-size: 96px;
    line-height: 1.3;
    letter-spacing: -.01em;
    transform: translateY(105%);
    transition: transform .8s var(--ease), color .3s;
}

.main_nav_list a span {
    padding-top: 26px;
    font-size: 16px;
    color: var(--orange);
    letter-spacing: .06em;
}

body.menu_opened .main_nav_list a {
    transform: none;
}

body.menu_opened .main_nav_list li:nth-child(1) a { transition-delay: .25s, 0s; }
body.menu_opened .main_nav_list li:nth-child(2) a { transition-delay: .31s, 0s; }
body.menu_opened .main_nav_list li:nth-child(3) a { transition-delay: .37s, 0s; }
body.menu_opened .main_nav_list li:nth-child(4) a { transition-delay: .43s, 0s; }
body.menu_opened .main_nav_list li:nth-child(5) a { transition-delay: .49s, 0s; }

.main_nav_list:hover a {
    color: #4a4a4a;
}

.main_nav_list a:hover,
.main_nav_list a:focus-visible {
    color: var(--white);
}

.main_nav_info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 320px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s, transform .8s var(--ease);
}

body.menu_opened .main_nav_info {
    opacity: 1;
    transform: none;
    transition-delay: .5s;
}

.main_nav_label {
    margin: 26px 0 6px;
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--grey);
}

.main_nav_label:first-child {
    margin-top: 0;
}

.main_nav_info a {
    font-size: 24px;
    line-height: 1.5;
}

.main_nav_info a:hover {
    color: var(--orange);
}

/* ---------- Fixed elements ---------- */
.scroll_badge {
    position: fixed;
    left: var(--side);
    top: 137px;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    transition: opacity .4s, transform .4s var(--ease);
}

.scroll_badge_ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    transform: rotate(calc(var(--scroll-rot, 0) * 1deg));
}

.scroll_badge_ring text,
.cta_circle_ring text {
    fill: var(--white);
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.scroll_badge_core {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fbfbfb;
    color: var(--black);
    font-size: 26px;
    font-weight: 500;
    line-height: 1;
    padding-bottom: 3px;
    transition: transform .4s var(--ease);
}

.scroll_badge_core::before {
    content: 'd';
}

.scroll_badge_core::after {
    content: '.';
    color: var(--orange);
}

.scroll_badge_link,
.cta_circle_link {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.scroll_badge:hover .scroll_badge_core {
    transform: scale(1.08);
}

.side_tags {
    position: fixed;
    left: var(--side);
    top: 50%;
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 44px;
    width: 16px;
    margin: 0;
    transform: translateY(-40%);
}

.side_tags span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--light);
}

.cta_circle {
    position: fixed;
    right: 92px;
    bottom: 58px;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    transition: opacity .4s, visibility .4s, transform .5s var(--ease);
}

.cta_circle.is-hidden,
body.menu_opened .cta_circle,
body.menu_opened .scroll_badge {
    opacity: 0;
    visibility: hidden;
    transform: scale(.8);
}

.cta_circle_ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    animation: spin 18s linear infinite;
}

.cta_circle_core {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f8f8f8;
    color: var(--orange);
    transition: transform .4s var(--ease), background-color .3s, color .3s;
}

.cta_circle_core svg {
    transition: transform .4s var(--ease);
}

.cta_circle:hover .cta_circle_core {
    transform: scale(1.1);
    background: var(--orange);
    color: var(--black);
}

.cta_circle:hover .cta_circle_core svg {
    transform: rotate(45deg);
}

.cta_circle:hover .cta_circle_ring {
    animation-duration: 6s;
}

/* ---------- Straps (diagonal marquee bands) ---------- */
.strap {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 3400px;
    height: 104px;
    margin: -52px 0 0 -1700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    will-change: transform;
}

.strap_dark {
    background: var(--strap-dark);
    color: var(--white);
}

.strap_light {
    background: var(--strap-light);
    color: var(--strap-dark);
}

.strap_track,
.outline_marquee_track {
    display: flex;
    flex: none;
    width: max-content;
    animation: marquee 50s linear infinite;
}

.strap_light .strap_track {
    animation-direction: reverse;
}

.strap_track > span,
.strap_track > a {
    display: flex;
    align-items: center;
    font-size: 32px;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.strap_track > span::after,
.strap_track > a::after {
    content: '';
    flex: none;
    width: 18px;
    height: 18px;
    margin: 0 48px;
    border-radius: 50%;
    background: var(--orange);
}

@keyframes marquee {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---------- Intro ---------- */
.intro_section {
    display: flex;
    align-items: center;
    min-height: 1080px;
    min-height: max(1080px, calc(100dvh / var(--zoom, 1)));
    padding: 190px 0 330px;
    overflow: hidden;
}

.intro_section .container {
    position: static;
}

.intro_straps {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.intro_straps .strap_light {
    left: calc(50% + 664px);
    top: 115px;
    transform: rotate(44.7deg) translateX(60px);
    opacity: 0;
    transition: opacity 1s, transform 1.4s var(--ease);
}

.intro_straps .strap_dark {
    left: calc(50% + 93px);
    top: auto;
    bottom: 248px;
    transform: rotate(-13deg) translateX(-120px);
    opacity: 0;
    transition: opacity 1s .15s, transform 1.4s var(--ease) .15s;
}

body.loaded .intro_straps .strap_light {
    opacity: 1;
    transform: rotate(44.7deg);
}

body.loaded .intro_straps .strap_dark {
    opacity: 1;
    transform: rotate(-13deg);
}

.intro_letter {
    position: absolute;
    left: calc(50% - 784px);
    top: 140px;
    z-index: 0;
    font-size: 454px;
}

.intro_content {
    position: relative;
    z-index: 3;
}

.intro_title,
.intro_words,
.intro_more {
    margin: 0;
    font-size: clamp(44px, calc(4.69 * var(--vw, 1vw)), 120px);
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: -.005em;
}

.line {
    display: block;
    overflow: hidden;
}

.line > span {
    display: inline-block;
    transform: translateY(105%);
    transition: transform 1.1s var(--ease);
}

body.loaded .intro_section .line > span {
    transform: none;
}

body.loaded .intro_words .line > span { transition-delay: .12s; }
body.loaded .intro_more .line > span { transition-delay: .24s; }

.intro_word {
    display: inline-block;
    color: #7e7e7e;
    transition: color .7s;
}

.intro_word.active {
    color: var(--white);
}

.intro_bottom {
    display: flex;
    align-items: center;
    gap: 110px;
}

.intro_text {
    margin: 0;
    font-size: 18px;
    line-height: 1.75;
    color: var(--light);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .9s .5s, transform 1s var(--ease) .5s;
}

body.loaded .intro_text {
    opacity: 1;
    transform: none;
}

.intro_photo {
    position: absolute;
    left: calc(50% + 380px);
    top: 164px;
    z-index: 1;
    width: 520px;
    opacity: 0;
    transform: translateY(40px) scale(.97);
    transition: opacity 1.2s .2s, transform 1.4s var(--ease) .2s;
}

body.loaded .intro_photo {
    opacity: 1;
    transform: none;
}

.intro_photo img {
    position: relative;
    display: block;
    width: 100%;
    -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}

.intro_glow {
    position: absolute;
    left: -20px;
    top: 0;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 126, 33, .42) 0%, rgba(255, 126, 33, .12) 42%, rgba(255, 126, 33, 0) 70%);
    animation: glow 6s ease-in-out infinite alternate;
}

@keyframes glow {
    from { transform: scale(.92); opacity: .8; }
    to { transform: scale(1.06); opacity: 1; }
}

/* ---------- O mně ---------- */
.about_grid {
    display: grid;
    grid-template-columns: 422px minmax(0, 1fr);
    align-items: center;
}

.about_photo {
    position: relative;
    width: 400px;
    height: 400px;
}

.about_ring {
    position: absolute;
    inset: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.about_ring span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    transform: rotate(45deg);
    animation: orbit 16s linear infinite;
}

.about_ring span::after {
    content: '';
    position: absolute;
    left: -7px;
    top: -7px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 18px rgba(255, 126, 33, .7);
    transform: translateY(calc(var(--ring-r, 200px) * -1));
}

@keyframes orbit {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

.about_photo_inner {
    position: absolute;
    inset: 22px;
    border-radius: 50%;
    overflow: hidden;
    background: #161616;
}

.about_photo_inner img {
    display: block;
    width: 100%;
    margin-top: 14px;
    transition: transform 1s var(--ease);
}

.about_photo:hover .about_photo_inner img {
    transform: scale(1.05);
}

.about_lead {
    margin: 0 0 40px;
    font-size: 40px;
    line-height: 1.5;
    text-transform: uppercase;
}

.about_text {
    max-width: 1060px;
    margin: 0;
    font-size: 30px;
    line-height: 1.9;
    text-transform: uppercase;
}

.about_links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 56px;
    margin-top: 36px;
}

.about_numbers {
    display: flex;
    gap: 80px;
    margin-top: 90px;
}

.about_numbers p {
    margin: 0 0 4px;
    font-size: 48px;
    line-height: 1.2;
}

.about_numbers li > span {
    font-size: 15px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--grey);
}

/* ---------- Služby ---------- */
.services_flex {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}

.service_item h3 {
    margin: 0 0 18px;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.5;
}

.service_item p {
    margin: 0 0 30px;
    font-size: 18px;
    line-height: 1.85;
    color: var(--light);
}

.tech_groups {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 110px;
}

.tech_group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech_label {
    flex: none;
    width: 190px;
    margin: 0;
    font-size: 15px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--grey);
}

.tech_pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech_pills li {
    padding: 6px 20px;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 15px;
    line-height: 1.75;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--light);
    transition: .3s;
}

.tech_pills li:hover {
    border-color: var(--orange);
    color: var(--white);
}

/* ---------- Outline marquee ---------- */
.outline_marquee {
    overflow: hidden;
    padding: 30px 0;
    user-select: none;
}

.outline_marquee_track {
    animation-duration: 60s;
}

.outline_marquee_track span {
    display: flex;
    align-items: center;
    font-size: 180px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .18);
}

.outline_marquee_track span::after {
    content: '';
    flex: none;
    width: 38px;
    height: 38px;
    margin: 0 70px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
}

/* ---------- Portfolio ---------- */
.portfolio_controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.portfolio_counter {
    margin: 0 22px 0 0;
    font-size: 16px;
    letter-spacing: .08em;
    color: var(--grey);
}

.portfolio_current {
    color: var(--white);
}

.slider_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--white);
    cursor: pointer;
}

.slider_btn:hover {
    border-color: var(--orange);
    background: var(--orange);
    color: var(--black);
}

.slider_btn.swiper-button-disabled {
    opacity: .3;
    pointer-events: none;
}

.portfolio_slider {
    overflow: hidden;
}

.portfolio_slider .swiper-slide {
    height: auto;
}

.work_card {
    display: block;
    text-align: center;
}

.work_card_img {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    background: #1a1a1a;
}

.work_card_img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.work_card_view {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    margin: -43px 0 0 -43px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--black);
    transform: scale(0);
    transition: transform .5s var(--ease);
}

.work_card:hover .work_card_img img,
.work_card:focus-visible .work_card_img img {
    transform: scale(1.06);
}

.work_card:hover .work_card_view,
.work_card:focus-visible .work_card_view {
    transform: scale(1);
}

.work_card h3 {
    margin: 36px 0 6px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
    transition: color .3s;
}

.work_card:hover h3 {
    color: var(--orange);
}

.work_card_tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #d0d0d0;
}

.work_card_tag::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--orange);
}

.portfolio_more {
    margin: 64px 0 0;
    font-size: 16px;
    color: var(--grey);
}

.portfolio_more a {
    color: var(--white);
    border-bottom: 1px solid var(--line);
}

.portfolio_more a:hover {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

/* ---------- Integrace ---------- */
.integrations_count {
    margin: 0;
    font-size: 16px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--grey);
}

.integrations_count span {
    font-size: 48px;
    letter-spacing: 0;
    color: var(--white);
    margin-right: 2px;
}

.integrations_lead {
    max-width: 1000px;
    margin: 0 0 64px;
    font-size: 22px;
    line-height: 1.8;
    color: var(--light);
}

.integrations_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.integration_card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px 34px 34px;
    border: 1px solid #262626;
    border-radius: 18px;
    background: linear-gradient(160deg, #0d0d0d 0%, #050505 100%);
    overflow: hidden;
    transition: border-color .4s, transform .5s var(--ease), opacity .8s var(--ease);
}

.integration_card::before {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 126, 33, .22) 0%, rgba(255, 126, 33, 0) 70%);
    opacity: 0;
    transition: opacity .5s;
    pointer-events: none;
}

.integration_card:hover {
    border-color: rgba(255, 126, 33, .55);
}

.integration_card.visible:hover {
    transform: translateY(-6px);
}

.integration_card:hover::before {
    opacity: 1;
}

.integration_num {
    margin: 0 0 26px;
    font-size: 15px;
    letter-spacing: .08em;
    color: var(--orange);
}

.integration_card h3 {
    margin: 0 0 14px;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.3;
}

.integration_card > p:not(.integration_num) {
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.75;
    color: var(--light);
}

.integration_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.integration_tags li {
    padding: 4px 14px;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 13px;
    line-height: 1.75;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--light);
    transition: border-color .3s, color .3s;
}

.integration_card:hover .integration_tags li {
    border-color: #4a4a4a;
    color: var(--white);
}

/* ---------- Zkušenosti ---------- */
.exp_item {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 26px 0;
    border-bottom: 1px solid #303030;
    transition: border-color .4s;
}

.exp_item:hover {
    border-bottom-color: #5a5a5a;
}

.exp_time {
    margin: 0;
    font-size: 16px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--grey);
}

.exp_item.current .exp_time {
    color: var(--orange);
}

.exp_item h3 {
    margin: 0;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.5;
    transition: transform .5s var(--ease);
}

.exp_item:hover h3 {
    transform: translateX(14px);
}

.exp_place {
    margin: 0;
    font-size: 16px;
    color: var(--light);
    text-align: right;
}

/* ---------- Kontakt ---------- */
.section.contact_section {
    padding-bottom: 0;
    overflow: hidden;
}

.contact_section > .container {
    position: relative;
}

.contact_letter {
    position: absolute;
    left: 150px;
    top: -40px;
    font-size: 454px;
}

.contact_title {
    position: relative;
    margin: 0 0 100px;
    font-size: clamp(40px, calc(4.69 * var(--vw, 1vw)), 120px);
    font-weight: 400;
    line-height: 1.5;
}

.contact_title em {
    font-style: normal;
    color: #7e7e7e;
}

.contact_grid {
    position: relative;
}

.contact_list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
}

.contact_list li {
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.contact_list p {
    margin: 0 0 4px;
    font-size: 15px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--grey);
}

.contact_list a {
    font-size: 30px;
    line-height: 1.5;
}

.contact_list a:hover {
    color: var(--orange);
}

.contact_list span {
    font-size: 30px;
    color: var(--grey);
}

.contact_straps {
    position: relative;
    height: 380px;
    margin-top: 110px;
}

/* Clickable strap items: pause the band under the cursor so links are easy to hit */
.strap_links .strap:hover .strap_track {
    animation-play-state: paused;
}

.strap_links .strap_track > a {
    color: inherit;
    transition: color .3s;
}

.strap_links .strap_track > a:hover {
    color: var(--orange);
}

.contact_straps .strap_light {
    transform: rotate(4deg);
}

.contact_straps .strap_dark {
    transform: rotate(-5deg);
}

/* ---------- Footer ---------- */
.footer {
    border-top: 1px solid #1c1c1c;
    padding: 34px 0;
    font-size: 15px;
    color: var(--grey);
}

.footer_flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer_flex p {
    margin: 0;
}

.footer_links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 32px;
}

.footer_links a:hover {
    color: var(--white);
}

.footer_legal {
    margin: 18px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--grey);
}

/* ---------- Legal page ---------- */
.legal_page .header {
    background-color: rgba(0, 0, 0, .72);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.legal_back {
    grid-column: 3;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.legal_back svg {
    color: var(--orange);
    transition: transform .3s var(--ease);
}

.legal_back:hover {
    color: var(--orange);
}

.legal_back:hover svg {
    transform: translateX(-4px);
}

.legal_section {
    padding-top: 220px;
}

.legal_content {
    max-width: 1180px;
}

.legal_label {
    margin: 0 0 18px;
    font-size: 15px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--orange);
}

.legal_content h1 {
    margin: 0 0 16px;
    font-size: 72px;
    font-weight: 400;
    line-height: 1.2;
}

.legal_date {
    margin: 0 0 70px;
    font-size: 18px;
    color: var(--grey);
}

.legal_lead {
    margin: 0 0 60px;
    font-size: 26px;
    line-height: 1.7;
    color: var(--light);
}

.legal_toc {
    margin: 0 0 70px;
    padding: 30px 36px;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.legal_toc p {
    margin: 0 0 14px;
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--grey);
}

.legal_toc ol {
    columns: 2;
    column-gap: 40px;
    counter-reset: toc;
}

.legal_toc li {
    counter-increment: toc;
    break-inside: avoid;
    padding: 4px 0;
    font-size: 20px;
}

.legal_toc li::before {
    content: counter(toc, decimal-leading-zero) "  ";
    color: var(--orange);
    font-size: 13px;
}

.legal_toc a:hover {
    color: var(--orange);
}

.legal_content h2 {
    margin: 64px 0 20px;
    padding-top: 30px;
    border-top: 1px solid #262626;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.35;
    scroll-margin-top: 120px;
}

.legal_content h3 {
    margin: 32px 0 12px;
    font-size: 21px;
    font-weight: 500;
}

.legal_content p,
.legal_content li {
    font-size: 21px;
    line-height: 1.8;
    color: var(--light);
}

.legal_content ul {
    margin: 0 0 18px;
}

.legal_content ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 6px;
}

.legal_content ul li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: .8em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
}

.legal_content strong {
    font-weight: 500;
    color: var(--white);
}

.legal_content a:not(.btn) {
    color: var(--white);
    border-bottom: 1px solid var(--line);
}

.legal_content a:not(.btn):hover {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

.legal_table_wrap {
    overflow-x: auto;
    border-radius: 4px;
    margin: 10px 0 24px;
}

.legal_table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 18px;
    line-height: 1.6;
}

.legal_table th,
.legal_table td {
    padding: 14px 16px;
    border-bottom: 1px solid #262626;
    text-align: left;
    vertical-align: top;
    color: var(--light);
}

.legal_table th {
    font-weight: 500;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--grey);
}

.legal_table td:first-child {
    color: var(--white);
}

/* ---------- Reveal animations ---------- */
[data-animate] {
    opacity: 0;
    transition: opacity .8s var(--ease), transform .9s var(--ease);
    will-change: opacity, transform;
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate="fade-down"] {
    transform: translateY(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="scale"] {
    transform: scale(.94);
}

[data-animate].visible {
    opacity: 1;
    transform: none;
}

/* Line-mask reveal: the wrapper stays visible, the inner span slides up */
[data-animate="line"] {
    opacity: 1;
    transform: none;
    will-change: auto;
}

[data-animate="line"] > span {
    transform: translateY(105%);
    transition: transform 1.1s var(--ease);
    transition-delay: inherit;
}

[data-animate="line"].visible > span {
    transform: none;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }

    .strap_track,
    .outline_marquee_track,
    .cta_circle_ring,
    .about_ring span,
    .intro_glow {
        animation: none !important;
    }

    .outline_letter {
        transform: none;
    }
}
