/* V9.4: sjednocený příběh, samostatný projekt Pečky Next, DofE a inkoustová mapa. */
:root{--stroke-strong:#10182f;--ink-blue:#2952e3;--marker-blue:#1a377b;--butter:#ffe58a}
#milniky{margin-top:0;padding-top:70px}
#milniky .timeline-intro{margin-bottom:32px}
#milniky .timeline-intro p:not(.eyebrow){max-width:610px;line-height:1.7}
#milniky .timeline-grid{position:relative}
#milniky .timeline-card{border-color:var(--stroke-strong);border-width:2.5px;box-shadow:5px 6px 0 #dce4fb}
#projekty .projects-head h2.big{max-width:840px}
#projekty .projects{margin-bottom:25px}
#projekty .project--pecky-next{max-width:100%}
#projekty .project--pecky-next>a{font-weight:800;color:var(--blue);text-decoration:underline;text-underline-offset:6px}
#projekty .experience-more{margin-top:28px;border-top:2px dashed #c9d5ed;padding-top:32px}
#projekty .experience-title-row h3{font-family:'Caveat','Segoe Print',cursive;font-size:clamp(29px,3.4vw,43px);line-height:1.15}
#projekty .experience-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#projekty .experience-card{min-height:165px}
#projekty .experience-card--dofe{background:#e9f1ff;border-color:#10182f;transform:rotate(1deg);box-shadow:6px 7px 0 #dce4fb}
#projekty .experience-card--dofe .experience-label{color:var(--blue)}
#projekty .experience-card--dofe h4{position:relative}
#projekty .experience-card--dofe h4:after{content:'';position:absolute;left:0;bottom:-7px;width:48px;height:5px;border-radius:100%;background:#e7b836;transform:rotate(-3deg)}
#cesty .travel-map-panel{cursor:pointer}
#cesty .travel-map-panel .travel-routes{display:none!important}
#cesty .travel-map-panel .europe-map-shapes .eu-country.visited{fill:#f7f9ff;stroke:#253c61;stroke-width:3.15}
#cesty .travel-map-panel .europe-map-shapes .eu-country.home.visited{fill:#e7edff;stroke:#10182f}
#cesty .travel-map-panel .ink-visited-layer{pointer-events:none}
#cesty .travel-map-panel .ink-visited-layer .ink-country{fill:#1a377b;stroke:none;pointer-events:none;vector-effect:non-scaling-stroke}
#cesty .travel-map-panel .ink-visited-layer:not(.paint-animate):not(.paint-complete) .ink-country{clip-path:inset(0 100% 0 0)}
#cesty .travel-map-panel .ink-visited-layer.paint-animate .ink-country{
 animation:countryInkSwipe .66s cubic-bezier(.24,.86,.31,1) both;
 animation-delay:calc(var(--paint-order,0)*.155s);
}
#cesty .travel-map-panel .ink-visited-layer.paint-complete .ink-country{clip-path:inset(0 0 0 0)}
@keyframes countryInkSwipe{0%{clip-path:inset(0 100% 0 0);opacity:.55}38%{opacity:1}100%{clip-path:inset(0 0 0 0);opacity:1}}
#cesty .travel-map-panel.map-playing .map-home-mark{animation:inkHomeBounce .85s ease-out both}
@keyframes inkHomeBounce{0%,100%{opacity:1}45%{opacity:.65}}
#cesty .travel-map-panel:focus-visible{outline:3px dashed var(--blue);outline-offset:7px}
/* Separate Pečky Next team and events page */
.pecky-page{background:#f8faff;color:#10182f;min-height:100vh}
.pecky-page .pecky-header{display:flex;align-items:center;gap:22px;padding-top:24px;padding-bottom:25px;border-bottom:2px solid #d6e0f3}
.pecky-page .pecky-logo{font-size:46px;font-weight:700;color:#2952e3;transform:rotate(-4deg);text-decoration:none}
.pecky-page .pecky-back{font-size:14px;font-weight:700;margin-left:auto;color:#2952e3;text-decoration:underline;text-underline-offset:4px}
.pecky-page .lang-switch{font-size:12px;font-weight:800;border:2px solid #10182f;border-radius:12px;background:#ffe58a;padding:9px 13px;cursor:pointer}
.pecky-page .pecky-intro{position:relative;padding:60px 6px 28px;max-width:850px}
.pecky-page .pecky-intro h1{font-size:clamp(46px,7vw,82px);letter-spacing:-.05em;line-height:1.1;font-weight:500;margin:0 0 20px}
.pecky-page .pecky-intro .hand{font-size:1.12em;font-weight:700;color:#2952e3}
.pecky-page .pecky-intro p:last-child{font-size:17px;line-height:1.6;max-width:570px;color:#47536a}
.pecky-page .team-section{padding-top:15px}
.pecky-page .team-head{margin-bottom:28px}
.pecky-page .team-head h2.big{font-size:clamp(39px,5vw,62px)}
.pecky-page .team-bottom{display:block}
.pecky-page .team-actions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.pecky-page .team-action{display:flex;align-items:flex-start;max-width:none;padding:18px;min-height:177px}
.pecky-page .team-action-icon{width:38px;height:38px;flex:0 0 38px}
.pecky-page .team-action h3{font-size:19px}
.pecky-page .team-action p{font-size:13px;line-height:1.62}
.pecky-page .team-website-link{display:none}
.pecky-page .team-action--simple:nth-child(2){background:#eaf1ff}
.pecky-page .team-action--simple:nth-child(3){background:#fff5d9}
.pecky-page .pecky-footer{border-top:1px solid #d6e0f3;padding-top:24px;padding-bottom:36px;font-size:12px;color:#56627a}
@media(max-width:1070px){.pecky-page .team-actions-grid{grid-template-columns:1fr 1fr}.pecky-page .team-actions-grid .team-action:first-child{grid-column:1/-1}}
@media(max-width:900px){#projekty .experience-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
 #projekty .experience-grid{grid-template-columns:1fr}
 #projekty .experience-card--dofe{transform:none}
 #milniky .timeline-intro p:not(.eyebrow){font-size:14px}
 .pecky-page .pecky-header{flex-wrap:wrap;gap:12px;padding-top:20px;padding-bottom:18px}
 .pecky-page .pecky-intro{padding-top:34px}
 .pecky-page .team-actions-grid{grid-template-columns:1fr}
 .pecky-page .team-actions-grid .team-action:first-child{grid-column:auto}
 .pecky-page .team-action{min-height:0}
}
@media(prefers-reduced-motion:reduce){
 #cesty .travel-map-panel .ink-visited-layer .ink-country{animation:none!important;clip-path:none!important;opacity:1!important}
 #cesty .travel-map-panel.map-playing .map-home-mark{animation:none}
}

/* Shared typography and page shell for independent Pečky Next detail. */
.pecky-page{font-family:'Space Grotesk',Arial,sans-serif;font-size:16px;line-height:1.6}
.pecky-page .wrap{max-width:1320px;margin:0 auto;padding-left:52px;padding-right:52px}
.pecky-page .skip{position:absolute;left:14px;top:-110px;padding:11px 15px;background:#ffe58a;color:#10182f;font-weight:700;z-index:100}
.pecky-page .skip:focus{top:12px}
.pecky-page .hand{font-family:'Caveat','Segoe Print',cursive}
.pecky-page .team-section h2.big{font-weight:500;line-height:1.08;letter-spacing:-1.5px}
.pecky-page .eyebrow{display:flex;gap:12px;align-items:center;letter-spacing:2px;font-size:11px;font-weight:700;text-transform:uppercase;color:#2952e3}
.pecky-page .eyebrow:before{content:'';width:25px;height:2.4px;background:#2952e3}
.pecky-page .pecky-intro .hand{font-size:1.14em}
.pecky-page .pecky-back{border:2px solid #2952e3;border-radius:15px 23px 13px 21px;background:white;padding:9px 17px;text-decoration:none}
.pecky-page .pecky-logo{font-family:'Caveat','Segoe Print',cursive;display:inline-block;font-weight:700;font-size:45px}
.pecky-page .team-actions-grid .team-action{background:#fff8da}
@media(max-width:760px){.pecky-page .wrap{padding-left:23px;padding-right:23px}}
