/* ===========================================
   HONZA HOMOLA — osobní web
   Čistý bílý rám. Vyniknout mají fotky a cesty.
   =========================================== */

:root {
    --bg: #ffffff;
    --bg-soft: #f6f5f3;
    --ink: #141414;
    --ink-soft: #565656;
    --ink-faint: #9a9a9a;
    --rule: #e7e5e1;
    --accent: #141414;

    --display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --gutter: clamp(20px, 4vw, 56px);
    --max: 1320px;
    --nav-h: 70px;
    --letter: 0.16em;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; transition: color .25s ease, opacity .25s ease; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
::selection { background: rgba(20,20,20,0.12); color: var(--ink); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap.narrow { max-width: 760px; }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section.section-tight { padding-top: clamp(6px, 1.5vw, 18px); }
.eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: var(--letter); font-size: 12px; font-weight: 500; color: var(--ink-soft); margin: 0 0 14px; }
.page-lede { color: var(--ink-soft); font-size: clamp(16px, 2vw, 19px); max-width: 60ch; margin: 16px 0 0; }
.empty-state { color: var(--ink-faint); font-style: italic; }
.inline-link { border-bottom: 1px solid var(--ink); }
.inline-link:hover { opacity: .6; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }

/* ============= BUTTONS ============= */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: .01em; padding: 13px 24px; border-radius: 999px; transition: all .25s ease; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn-ghost { border: 1px solid var(--rule); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

/* ============= NAV ============= */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255,255,255,0.8); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); transition: background .35s ease, box-shadow .35s ease; }
.site-nav.is-scrolled { background: rgba(255,255,255,0.96); box-shadow: 0 1px 0 var(--rule); }
.nav-inner { max-width: var(--max); margin: 0 auto; height: var(--nav-h); padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 34px; width: auto; filter: brightness(0); }
.brand:hover img { opacity: 1; }
.nav-links ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.nav-links a { font-family: var(--display); font-size: 16px; font-weight: 500; letter-spacing: .01em; color: var(--ink-soft); position: relative; padding: 4px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); border-radius: 2px; transform: scaleX(0); transform-origin: left center; transition: transform .28s cubic-bezier(.2,.7,.2,1); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-social { display: flex; gap: 14px; align-items: center; }
.nav-social a { color: var(--ink-soft); display: inline-flex; align-items: center; }
.nav-social a svg { display: block; }
.nav-social a:hover { color: var(--ink); }
/* dropdown (Hudba → Homolka Tobolka / Wohnout) */
.has-sub { position: relative; }
.has-sub > a .caret { font-size: 9px; margin-left: 5px; opacity: .55; vertical-align: middle; }
.has-sub .subnav { display: flex; flex-direction: column; gap: 2px; position: absolute; top: 100%; left: -10px; min-width: 180px; list-style: none; margin: 0; padding: 7px; background: #fff; border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 16px 36px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 60; }
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: none; }
.has-sub .subnav li { display: block; width: 100%; }
.has-sub .subnav a { display: block; width: 100%; padding: 10px 13px; border-radius: 8px; font-size: 15px; color: var(--ink-soft); white-space: nowrap; }
.has-sub .subnav a:hover { background: var(--bg-soft); color: var(--ink); }
.has-sub .subnav a::after { display: none; }
.nav-burger { display: none; flex-direction: column; gap: 5px; width: 30px; height: 22px; justify-content: center; }
.nav-burger span { display: block; height: 2px; width: 100%; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

main { padding-top: var(--nav-h); }

/* ============= HOME HERO (full-bleed foto + text přes ni) ============= */
.home-hero { position: relative; min-height: clamp(560px, 94vh, 920px); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); color: #fff; }
.home-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.home-hero-scrim { position: absolute; inset: 0; background:
    linear-gradient(95deg, rgba(12,10,8,.88) 0%, rgba(12,10,8,.55) 40%, rgba(12,10,8,.08) 72%),
    linear-gradient(180deg, rgba(12,10,8,.62) 0%, rgba(12,10,8,0) 20%),
    linear-gradient(0deg, rgba(12,10,8,.82) 0%, rgba(12,10,8,0) 42%); }
.home-hero-inner { position: relative; z-index: 2; width: 100%; padding-top: clamp(120px, 20vh, 220px); padding-bottom: clamp(48px, 7vw, 96px); }
.home-hero-copy { max-width: 660px; }
.hh-eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 600; color: #fff; opacity: .9; margin: 0; text-shadow: 0 1px 14px rgba(0,0,0,.5); }
.hh-wordmark { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; line-height: .9; font-size: clamp(50px, 11vw, 128px); margin: .16em 0 .32em; color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.hh-lede { font-size: clamp(16px, 2vw, 21px); line-height: 1.5; opacity: .95; max-width: 46ch; margin: 0; text-shadow: 0 1px 16px rgba(0,0,0,.5); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(26px, 4vw, 40px); }
.btn-solid-light { background: #fff; color: var(--ink); }
.btn-solid-light:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.btn-line-light { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn-line-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn .arr { transition: transform .3s ease; }
.btn:hover .arr { transform: translateX(4px); }
.hh-stats { list-style: none; display: flex; flex-wrap: wrap; gap: clamp(26px, 5vw, 60px); margin: clamp(34px, 5vw, 52px) 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255,255,255,.25); }
.hh-stats strong { display: block; font-family: var(--display); font-size: clamp(24px, 4vw, 38px); font-weight: 600; color: #fff; }
.hh-stats span { font-size: 12px; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .08em; }
.hh-credit { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(18px, 3vw, 30px); font-family: var(--display); font-weight: 500; font-size: 13px; color: rgba(255,255,255,.82); text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.hh-credit:hover { color: #fff; }
.hh-credit-label { text-transform: uppercase; letter-spacing: .14em; font-size: 10px; opacity: .7; margin-right: 6px; }

/* Navigace nad hero na úvodu: průhledná → bílá po scrollu */
body.is-home main { padding-top: 0; }
body.is-home .site-nav:not(.is-scrolled) { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.is-home .site-nav:not(.is-scrolled) .nav-links > ul > li > a { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.55); }
body.is-home .site-nav:not(.is-scrolled) .nav-links > ul > li > a:hover { color: #fff; }
body.is-home .site-nav:not(.is-scrolled) .nav-links > ul > li > a::after { background: #fff; }
body.is-home .site-nav:not(.is-scrolled) .nav-social a { color: #fff; filter: drop-shadow(0 1px 8px rgba(0,0,0,.5)); }
body.is-home .site-nav:not(.is-scrolled) .nav-social a:hover { color: #fff; }
body.is-home .site-nav:not(.is-scrolled) .nav-burger span { background: #fff; }
body.is-home .site-nav:not(.is-scrolled) .brand img { filter: brightness(0) invert(1) drop-shadow(0 1px 8px rgba(0,0,0,.5)); }
body.is-home .site-nav:not(.is-scrolled) .nav-links.is-open > ul > li > a { color: var(--ink); }
body.is-home .site-nav:not(.is-scrolled) .nav-links.is-open .nav-social a { color: var(--ink-soft); }

/* ============= SECTION HEAD ============= */
.section-head { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px 24px; max-width: var(--max); margin: 0 auto clamp(28px, 4vw, 44px); padding: 0 var(--gutter); }
.section-head h2 { font-size: clamp(28px, 4.5vw, 46px); }
.section-head .section-more { margin-left: auto; font-family: var(--display); font-weight: 500; font-size: 14px; color: var(--ink-soft); }
.section-head .section-more:hover { color: var(--ink); }

/* ============= TRIP GRID / CARDS ============= */
.trip-grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 30px); }
.trip-card { display: block; }
.trip-card-img { display: block; overflow: hidden; border-radius: 4px; background: var(--bg-soft); aspect-ratio: 3 / 2; }
.trip-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.trip-card:hover .trip-card-img img { transform: scale(1.045); }
.trip-card-noimg { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #ececea, #f7f6f4); }
.trip-card-meta { display: block; padding: 12px 2px 0; }
.trip-card-title { display: block; font-family: var(--display); font-weight: 600; font-size: 17px; }
.trip-card-sub { display: block; font-size: 13px; color: var(--ink-faint); margin-top: 2px; }

/* reveal */
.trip-card, .potd-figure, .link-block, .tl-row { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.trip-card.is-visible, .potd-figure.is-visible, .link-block.is-visible, .tl-row.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .trip-card, .potd-figure, .link-block, .tl-row { opacity: 1; transform: none; } }

/* ============= LINK BLOCKS (home) ============= */
.latest { padding-bottom: clamp(24px, 4vw, 44px); }
.links-blocks-sec { padding: clamp(8px, 2vw, 24px) 0 clamp(56px, 8vw, 104px); }
.links-blocks { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.link-block { display: block; background: var(--bg-soft); border-radius: 12px; padding: clamp(24px, 3vw, 34px); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.link-block:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.09); background: #f1efeb; }
.lb-tag { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 600; color: var(--ink-faint); }
.link-block h3 { font-size: clamp(22px, 2.6vw, 28px); margin: 10px 0 10px; }
.link-block p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; margin: 0 0 20px; }
.lb-go { font-family: var(--display); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 7px; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.lb-go .arr { transition: transform .3s ease; }
.link-block:hover .lb-go .arr { transform: translateX(4px); }

/* ============= PAGE HEAD ============= */
.page-head { padding: clamp(48px, 8vw, 90px) 0 clamp(20px, 3vw, 32px); }
.page-head h1 { font-size: clamp(34px, 6vw, 64px); }

/* ============= MAP ============= */
.map-section { padding-bottom: clamp(20px, 3vw, 32px); }
.wmap { width: 100%; aspect-ratio: 2 / 1; max-height: 700px; min-height: 300px; }
.wmap svg { width: 100%; height: 100%; }
.map-filter { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; padding: 8px 14px; background: var(--bg-soft); border-radius: 999px; font-size: 14px; }
.map-filter strong { font-family: var(--display); }
.chip-clear { color: var(--ink-soft); font-size: 13px; text-decoration: underline; }
.chip-clear:hover { color: var(--ink); }
.jvm-tooltip { font-family: var(--sans) !important; background: var(--ink) !important; border-radius: 6px !important; padding: 6px 10px !important; font-size: 13px !important; }

/* ============= TIMELINE ============= */
.timeline-section { padding-top: clamp(24px, 4vw, 40px); }
.timeline { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 56px); }
.tl-row { display: grid; grid-template-columns: 120px 1fr; gap: clamp(16px, 3vw, 40px); align-items: start; }
.tl-year { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 38px); color: var(--ink); position: sticky; top: calc(var(--nav-h) + 16px); }
.tl-trips { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.timeline-empty { text-align: center; color: var(--ink-faint); padding: 40px 0; }

/* ============= TRIP DETAIL ============= */
.trip-hero { position: relative; min-height: clamp(320px, 56vh, 560px); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.trip-hero-bg { position: absolute; inset: 0; }
.trip-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.trip-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.66), rgba(0,0,0,.05) 55%, rgba(0,0,0,.2)); }
.trip-hero-inner { position: relative; z-index: 2; color: #fff; width: 100%; padding-top: 40px; padding-bottom: clamp(28px, 4vw, 48px); }
.trip-hero-inner h1 { font-size: clamp(34px, 6.5vw, 70px); color: #fff; }
.back-link { display: inline-block; font-family: var(--display); font-weight: 500; font-size: 14px; margin-bottom: 16px; color: rgba(255,255,255,.85); }
.back-link:hover { color: #fff; }
.trip-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; font-family: var(--display); font-weight: 500; }
.trip-meta span { font-size: 14px; color: rgba(255,255,255,.9); }
.trip-meta span + span::before { content: "·"; margin-right: 18px; color: rgba(255,255,255,.5); }
.trip-body { padding-top: clamp(32px, 5vw, 56px); }
.trip-text { max-width: 68ch; font-size: 17px; color: #2a2a2a; }
.trip-text p { margin: 0 0 1.1em; }

/* video embeds (fallback iframe) */
.trip-videos { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 900px; margin: clamp(28px,4vw,44px) 0 0; }
.video-embed { position: relative; padding-top: 56.25%; border-radius: 6px; overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* video grid (náhledy → lightbox přehrávač) */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(16px, 2vw, 28px); }
.vid-card { display: block; }
.vid-thumb { position: relative; display: block; overflow: hidden; border-radius: 7px; background: #111; aspect-ratio: 16 / 9; }
.vid-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s ease; }
.vid-card:hover .vid-thumb img { transform: scale(1.05); opacity: .82; }
.vid-play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(20,20,20,.78); color: #fff; padding-left: 3px; transition: transform .25s ease, background .25s ease; }
.vid-card:hover .vid-play { transform: scale(1.08); background: var(--ink); }
.vid-title { display: block; margin-top: 11px; font-family: var(--display); font-weight: 500; font-size: 15px; line-height: 1.32; color: var(--ink); }
.vid-card:hover .vid-title { text-decoration: underline; text-underline-offset: 2px; }

/* vlastní video modal */
.vmodal { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 48px); animation: vmodal-in .2s ease; }
@keyframes vmodal-in { from { opacity: 0; } to { opacity: 1; } }
.vmodal-frame { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; }
.vmodal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.vmodal-close { position: absolute; top: 16px; right: 22px; width: 44px; height: 44px; font-size: 34px; line-height: 1; color: #fff; opacity: .85; }
.vmodal-close:hover { opacity: 1; }

/* gallery — masonry, zachovává poměr stran (žádné ořezy). Sdílí cesty i biografie. */
.photo-masonry { columns: 3 280px; column-gap: clamp(10px, 1.4vw, 16px); }
.photo-shot { display: block; margin: 0 0 clamp(10px, 1.4vw, 16px); break-inside: avoid; overflow: hidden; border-radius: 7px; background: var(--bg-soft); }
.photo-shot img { width: 100%; height: auto; display: block; transition: transform .5s ease, opacity .3s ease; }
.photo-shot:hover img { transform: scale(1.04); opacity: .92; }
.trip-gallery { margin-top: clamp(32px, 5vw, 56px); }

.trip-nav { display: flex; justify-content: space-between; gap: 16px; padding-top: clamp(40px,6vw,72px); padding-bottom: clamp(48px,7vw,90px); }
.trip-nav-link { display: flex; flex-direction: column; gap: 3px; max-width: 46%; }
.trip-nav-link.next { text-align: right; margin-left: auto; }
.trip-nav-link span { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); }
.trip-nav-link strong { font-family: var(--display); font-weight: 600; font-size: 17px; }
.trip-nav-link:hover strong { text-decoration: underline; }

/* sdílení */
.trip-share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: clamp(36px, 5vw, 56px); }
.trip-share-label { font-family: var(--display); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); margin-right: 4px; }
.share-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--rule); color: var(--ink-soft); transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.share-btn:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.share-copied { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 11px; padding: 4px 8px; border-radius: 5px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s ease; font-family: var(--sans); }
.share-copy.is-copied .share-copied { opacity: 1; }

/* ============= BIOGRAFIE ============= */
.about-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.bio-hero { padding: clamp(44px, 7vw, 92px) 0 clamp(18px, 3vw, 34px); }
.bio-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.bio-hero-text h1 { font-size: clamp(40px, 7vw, 78px); line-height: 1; margin: 8px 0 0; }
.bio-tagline { font-size: clamp(16px, 2vw, 20px); color: var(--ink-soft); margin: 18px 0 0; }
.bio-born { color: var(--ink-faint); white-space: nowrap; }
.bio-hero-text .about-links { margin-top: 30px; }
.bio-portrait { margin: 0; }
.bio-portrait img { width: 100%; height: auto; border-radius: 10px; display: block; }

.bio-body { padding: clamp(14px, 2vw, 26px) 0 clamp(36px, 5vw, 64px); }
.bio-prose { font-size: 18px; line-height: 1.8; color: #2b2b2b; }
.bio-prose p { margin: 0 0 1.15em; }
.bio-prose p.lead { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 2.4vw, 27px); line-height: 1.45; color: var(--ink); margin-bottom: 1em; }
.bio-sign { font-family: var(--display); font-weight: 600; font-size: 26px; color: var(--ink-faint); letter-spacing: .14em; margin: 36px 0 0; }

.bio-gallery-sec { padding: clamp(8px, 2vw, 20px) 0 clamp(56px, 8vw, 104px); }

/* ============= MUSIC ============= */
.music-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: clamp(32px,5vw,52px); }
.music-card { border: 1px solid var(--rule); border-radius: 6px; padding: 26px; transition: border-color .25s ease, transform .25s ease; }
.music-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.music-card h3 { font-size: 21px; margin-bottom: 8px; }
.music-card p { color: var(--ink-soft); font-size: 15px; margin: 0 0 14px; }
.music-card-go { font-family: var(--display); font-weight: 500; font-size: 14px; border-bottom: 1px solid var(--ink); }
.music-videos { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); max-width: none; }
.prose { font-size: 17px; color: #2a2a2a; }
.prose p { margin: 0 0 1.1em; }

/* ============= CONTACT ============= */
.contact-wrap { display: grid; gap: clamp(32px, 5vw, 56px); }
.contact-form { display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 7px; font-family: var(--display); font-weight: 500; font-size: 14px; }
.contact-form input, .contact-form textarea { font-family: var(--sans); font-size: 16px; padding: 13px 15px; border: 1px solid var(--rule); border-radius: 6px; background: #fff; color: var(--ink); width: 100%; transition: border-color .2s ease; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--ink); }
.contact-form textarea { resize: vertical; }
.contact-form .btn { justify-self: start; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-ok { background: var(--bg-soft); border-left: 3px solid var(--ink); padding: 18px 20px; border-radius: 4px; font-size: 17px; }
.form-err { background: #fff4f4; border-left: 3px solid #c0392b; padding: 14px 18px; border-radius: 4px; color: #962d22; }
.contact-socials-label { font-family: var(--display); font-weight: 500; color: var(--ink-soft); margin: 0 0 12px; }
.contact-socials ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.contact-socials a { font-family: var(--display); font-weight: 500; border-bottom: 1px solid var(--rule); padding-bottom: 1px; }
.contact-socials a:hover { border-color: var(--ink); }

/* ============= FOOTER ============= */
.site-foot { border-top: 1px solid var(--rule); }
.foot-inner { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { font-family: var(--display); font-weight: 500; font-size: 14px; color: var(--ink-soft); }
.foot-links a:hover { color: var(--ink); }
.foot-copy { font-size: 13px; color: var(--ink-faint); margin: 0; }
.foot-copy a { border-bottom: 1px solid var(--rule); }

/* ============= KOMPAS (náhodná cesta) ============= */
.compass-fab { position: fixed; right: clamp(16px, 3vw, 26px); bottom: calc(clamp(16px, 3vw, 26px) + env(safe-area-inset-bottom, 0px)); z-index: 45; width: 62px; height: 62px; border-radius: 50%; background: #c07c54; color: #fff; border: none; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(160,92,52,.45); cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, opacity .3s ease, background .25s ease; }
.compass-fab:hover { background: #b06d45; transform: translateY(-3px) scale(1.06); box-shadow: 0 18px 40px rgba(160,92,52,.55); }
.compass-fab::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid #c07c54; opacity: .6; pointer-events: none; animation: compass-pulse 2.8s ease-out infinite; }
.compass-fab:hover::after { animation-play-state: paused; opacity: 0; }
@keyframes compass-pulse { 0% { opacity: .5; transform: scale(1); } 75%, 100% { opacity: 0; transform: scale(1.4); } }
.compass-svg { display: block; width: 34px; height: 34px; }
.compass-needle { transform-origin: 24px 24px; }
.compass-fab.spinning .compass-needle { animation: compass-spin .9s cubic-bezier(.15,.85,.2,1); }
@keyframes compass-spin { from { transform: rotate(0deg); } to { transform: rotate(1080deg); } }
.compass-label { position: absolute; right: calc(100% + 12px); white-space: nowrap; font-family: var(--display); font-weight: 600; font-size: 13px; background: var(--ink); color: #fff; padding: 7px 12px; border-radius: 8px; opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.compass-fab:hover .compass-label { opacity: 1; transform: none; }
.compass-fab.is-hidden { opacity: 0; pointer-events: none; transform: translateY(14px); }
@media (prefers-reduced-motion: reduce) { .compass-fab.spinning .compass-needle, .compass-fab::after { animation: none; } }
@media (max-width: 560px) { .compass-fab { width: 54px; height: 54px; } .compass-svg { width: 30px; height: 30px; } .compass-label { display: none; } }

/* ============= RESPONSIVE ============= */
@media (max-width: 920px) {
    .trip-grid, .tl-trips, .links-blocks { grid-template-columns: repeat(2, 1fr); }
    .bio-hero-grid { grid-template-columns: 1fr; gap: clamp(20px, 4vw, 32px); }
    .bio-portrait { order: -1; max-width: 460px; }
    .tl-row { grid-template-columns: 1fr; gap: 14px; }
    .tl-year { position: static; font-size: clamp(24px, 3.6vw, 34px); margin-bottom: 2px; }
}
@media (max-width: 760px) {
    .home-hero { min-height: clamp(520px, 86vh, 760px); }
    .home-hero-inner { padding-top: clamp(108px, 20vh, 160px); }
    .hh-credit { display: none; }
}
@media (max-width: 720px) {
    .nav-links { position: fixed; inset: var(--nav-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--rule); transform: translateY(-120%); transition: transform .35s cubic-bezier(.2,.7,.2,1); padding: 12px var(--gutter) 24px; box-shadow: 0 18px 30px rgba(0,0,0,.06); }
    .nav-links.is-open { transform: translateY(0); }
    .nav-links ul { flex-direction: column; align-items: flex-start; gap: 4px; }
    .nav-links a { display: block; padding: 12px 0; font-size: 18px; width: 100%; }
    .nav-links a::after { display: none; }
    .nav-social { padding: 12px 0 0; }
    .nav-burger { display: flex; }
    /* dropdown na mobilu = rozbalené odsazené položky */
    .has-sub > a .caret { display: none; }
    .has-sub .subnav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-radius: 0; padding: 0 0 6px 16px; min-width: 0; background: transparent; gap: 0; }
    .has-sub .subnav a { padding: 9px 0; font-size: 16px; }
}
@media (max-width: 560px) {
    .trip-grid, .tl-trips, .links-blocks { grid-template-columns: 1fr 1fr; }
    .photo-masonry { column-gap: 8px; }
    .section-head .section-more { margin-left: 0; width: 100%; }
}
/* časová osa: rok nad cestami, ne vedle */
@media (max-width: 620px) {
    .tl-row { grid-template-columns: 1fr; gap: 14px; }
    .tl-year { font-size: clamp(22px, 7vw, 28px); }
    .timeline { gap: clamp(30px, 8vw, 44px); }
    .trip-hero-inner h1 { font-size: clamp(30px, 9vw, 48px); }
    .trip-meta { gap: 6px 14px; }
}
/* nejmenší telefony — jeden sloupec, ať fotky dýchají */
@media (max-width: 480px) {
    .trip-grid, .links-blocks, .tl-trips { grid-template-columns: 1fr; }
    .hh-stats { gap: 20px 30px; padding-top: 22px; }
    .hh-wordmark { font-size: clamp(46px, 16vw, 68px); }
    .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
    .section { padding: clamp(40px, 12vw, 64px) 0; }
    .trip-share { gap: 8px; }
    .share-btn { width: 40px; height: 40px; }
}
