﻿/* Martin Plesník — racing UI */
:root {
  --bg: #0b0b0c;
  --asphalt: #131315;
  --panel: #18181b;
  --line: #2a2a2f;
  --text: #f3f2ee;
  --muted: #9b9ba3;
  --accent: #ff4a1c;
  --accent-2: #ffd400;
  --green: #3ddc84;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --skew: -10deg;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--accent); padding: 8px 14px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.top.is-scrolled {
  background: rgba(11, 11, 12, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-block: 10px;
  border-color: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 42px; height: 34px;
  background: var(--accent);
  color: #fff;
  font: italic 900 20px/1 var(--display);
  transform: skewX(var(--skew));
  letter-spacing: .02em;
}
.brand-name { font: 600 18px/1 var(--display); text-transform: uppercase; letter-spacing: .08em; }
.brand-name b { font-weight: 800; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font: 600 15px/1 var(--display);
  text-transform: uppercase; letter-spacing: .12em;
  color: #d4d4d8; text-shadow: 0 1px 8px rgba(0,0,0,.45);
  position: relative; padding: 6px 0;
  transition: color .2s;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--accent); transition: right .25s;
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { right: 0; }
.lang {
  border: 1px solid var(--line);
  padding: 6px 10px !important;
  color: var(--text) !important;
  font: 700 13px/1 var(--mono) !important;
  letter-spacing: .05em !important;
}
.lang:hover { border-color: var(--accent); }
.nav .lang::after { display: none; }

.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 8px; }
.burger span { display: block; height: 2px; background: var(--text); margin: 7px 0; transition: transform .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 1000px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 150px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(255, 74, 28, .22), transparent 60%),
    radial-gradient(900px 500px at 10% 100%, rgba(255, 212, 0, .07), transparent 60%),
    linear-gradient(180deg, #0e0e10, var(--bg));
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero.has-media .hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,11,12,.92) 0%, rgba(11,11,12,.55) 55%, rgba(11,11,12,.2) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 35%);
}
.speedlines {
  position: absolute; inset: -20% -10%;
  background: repeating-linear-gradient(var(--skew-deg, 100deg),
    transparent 0 46px, rgba(255,255,255,.035) 46px 47px, transparent 47px 140px);
  animation: speed 1.8s linear infinite;
  mask-image: linear-gradient(90deg, transparent, #000 40%, #000 70%, transparent);
}
.hero.has-media .speedlines { opacity: .5; }
@keyframes speed { to { transform: translateX(-140px); } }
.grain {
  position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner { max-width: var(--max); width: 100%; margin: 0 auto; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 14px/1 var(--mono); text-transform: uppercase; letter-spacing: .18em;
  color: var(--accent-2); margin: 0 0 22px;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255,74,28,.7); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(255,74,28,0); } 100% { box-shadow: 0 0 0 0 rgba(255,74,28,0); } }

.hero-title {
  margin: 0;
  font: italic 900 clamp(64px, 14vw, 210px)/.9 var(--display);
  text-transform: uppercase; letter-spacing: -.01em;
}
.hero-title .line { display: block; }
.hero-title .line + .line { margin-top: .04em; }
.hero-title .outline { color: transparent; -webkit-text-stroke: 2px var(--text); }
.hero-title .line:not(.outline) { color: var(--text); }

.hero-rotator {
  margin: 18px 0 0;
  font: italic 800 clamp(30px, 5vw, 64px)/1 var(--display);
  text-transform: uppercase;
  display: flex; gap: 14px; align-items: baseline;
}
.slash { color: var(--accent); }
.rot { display: inline-block; color: var(--accent); will-change: transform, opacity, filter; }
.rot.out { animation: rotOut .11s cubic-bezier(.6,0,1,.4) forwards; }
.rot.in { animation: rotIn .14s cubic-bezier(0,.6,.3,1); }
@keyframes rotOut { to { transform: translateX(90px) skewX(-30deg); opacity: 0; filter: blur(6px); } }
@keyframes rotIn { from { transform: translateX(-120px) skewX(-30deg); opacity: 0; filter: blur(8px); } }

.hero-lead { max-width: 560px; color: #cfcfd4; font-size: clamp(17px, 1.6vw, 20px); margin: 22px 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  font: 800 16px/1 var(--display); text-transform: uppercase; letter-spacing: .1em;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #ff6a40; }
.btn-ghost { background: rgba(255,255,255,.07); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--text); color: var(--bg); }

.timing {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px;
  max-width: var(--max); margin: 0 auto;
  display: flex; border: 1px solid var(--line); background: rgba(19,19,21,.75);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  width: fit-content; right: auto;
}
.timing-cell { padding: 10px 18px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.timing-cell:last-child { border-right: 0; }
.timing-cell span { font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.timing-cell b { font: 700 18px/1 var(--mono); font-variant-numeric: tabular-nums; }
.green { color: var(--green); }
.accent { color: var(--accent); text-transform: uppercase; }

.scroll-hint {
  position: absolute; right: var(--gutter); bottom: 40px;
  font: 600 12px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
  writing-mode: vertical-rl; padding-bottom: 54px;
}
.scroll-hint::after {
  content: ''; position: absolute; left: 50%; bottom: 0; width: 1px; height: 44px;
  background: linear-gradient(var(--accent), transparent); animation: drip 1.8s infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- ticker ---------- */
.ticker {
  background: var(--accent); color: #fff;
  transform: rotate(-2deg) scale(1.04);
  margin: -24px 0 0; position: relative; z-index: 2;
  overflow: hidden; padding: 14px 0;
  box-shadow: 0 20px 50px rgba(255,74,28,.18);
}
.ticker-track { display: flex; gap: 28px; width: max-content; animation: tick 28s linear infinite; }
.ticker span { font: italic 900 30px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.ticker i { font-style: normal; color: var(--accent-2); font-size: 22px; align-self: center; }
.ticker .strike { text-decoration: line-through; text-decoration-thickness: 4px; opacity: .75; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(90px, 12vw, 160px) 0; position: relative; }
.label {
  display: flex; align-items: center; gap: 12px;
  font: 700 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .2em; color: var(--muted);
  margin: 0 0 18px;
}
.label span {
  background: var(--text); color: var(--bg);
  padding: 5px 8px; transform: skewX(var(--skew));
}
.label.small { font-size: 12px; }
.h2 {
  font: italic 900 clamp(42px, 6.4vw, 92px)/.9 var(--display);
  text-transform: uppercase; margin: 0 0 28px; letter-spacing: -.005em;
}
.h2.big { font-size: clamp(48px, 8vw, 120px); }
.body { color: #c9c9cf; font-size: clamp(17px, 1.4vw, 19px); max-width: 620px; margin: 0 0 24px; }
.muted { color: var(--muted); }
.small-text { font-size: 14px; margin: 14px 0 0; }

.grid-2 { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 90px); align-items: center; }

.no-weddings {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 8px 0 0; padding: 12px 18px 12px 14px;
  border: 1px dashed var(--accent);
  font: 800 17px/1 var(--display); text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent);
  transform: rotate(-1.5deg);
}
.ban {
  width: 22px; height: 22px; border: 3px solid var(--accent); border-radius: 50%; position: relative; flex: none;
}
.ban::after { content: ''; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 3px; margin-left: -1.5px; background: var(--accent); transform: rotate(45deg); }

/* about: live timing board */
.board { background: var(--asphalt); border: 1px solid var(--line); position: relative; }
.board::before {
  content: ''; position: absolute; left: 0; top: 0; right: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--text) 0 12px, var(--bg) 12px 24px);
  opacity: .9;
}
.board-row {
  display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto;
  column-gap: 18px; padding: 24px 26px; border-bottom: 1px solid var(--line);
}
.board-row:first-child { padding-top: 32px; }
.pos { grid-row: span 2; align-self: center; font: 700 15px/1 var(--mono); color: var(--accent); }
.val { font: italic 900 clamp(40px, 4.5vw, 58px)/1 var(--display); text-transform: uppercase; }
.lbl { color: var(--muted); font-size: 15px; }
.board-foot { display: flex; align-items: center; gap: 10px; padding: 14px 26px; font: 600 12px/1 var(--mono); letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* services */
.services { background: linear-gradient(180deg, var(--bg), var(--asphalt) 30%, var(--asphalt) 70%, var(--bg)); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 46px; }
.card {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  padding: 30px 26px 34px; overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); border-color: var(--accent); }
.plate {
  display: inline-block; font: 700 14px/1 var(--mono); padding: 7px 10px;
  background: var(--accent-2); color: #000; transform: skewX(var(--skew));
}
.card h3 { font: italic 800 30px/1 var(--display); text-transform: uppercase; margin: 26px 0 12px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.card-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--accent); transition: width .5s; }
.card:hover .card-bar { width: 100%; }

.itinerary { margin-top: 70px; border-top: 1px solid var(--line); padding-top: 34px; }
.itinerary ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.itinerary li {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 18px; border: 1px solid var(--line); background: var(--bg);
  min-width: 170px; position: relative;
}
.itinerary li::before { content: ''; position: absolute; left: -1px; top: -1px; width: 6px; height: calc(100% + 2px); background: var(--accent); }
.itinerary b { font: 800 20px/1.1 var(--display); text-transform: uppercase; }
.itinerary span { font: 500 12px/1.2 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* work */
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.work-head .h2 { margin-bottom: 0; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.shot {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255,74,28,.22), transparent 55%),
    repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.03) 22px 23px),
    var(--panel);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px;
}
.shot:nth-child(1), .shot:nth-child(6) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s; filter: saturate(.9); }
.shot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent 55%); z-index: 0; }
.shot:hover img { transform: scale(1.06); filter: saturate(1.15); }
.shot > span { position: relative; z-index: 1; }
.shot-type {
  position: absolute !important; top: 14px; left: 14px;
  font: 700 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .15em;
  background: rgba(0,0,0,.6); padding: 6px 8px; border: 1px solid rgba(255,255,255,.15);
}
.shot-num { position: absolute !important; top: 8px; right: 14px; font: italic 900 46px/1 var(--display); color: rgba(255,255,255,.14); }
.shot.has-img .shot-num { color: rgba(255,255,255,.5); }
.shot-meta { display: flex; flex-direction: column; gap: 8px; transform: translateY(6px); transition: transform .3s; }
.shot:hover .shot-meta { transform: none; }
.shot-tag { align-self: flex-start; font: 700 11px/1 var(--mono); background: var(--accent); padding: 5px 7px; text-transform: uppercase; letter-spacing: .1em; }
.shot-title { font: italic 800 clamp(20px, 1.8vw, 26px)/1.02 var(--display); text-transform: uppercase; }
.shot:nth-child(1) .shot-title, .shot:nth-child(6) .shot-title { font-size: clamp(26px, 3vw, 42px); }

/* contact */
.contact { overflow: hidden; border-top: 1px solid var(--line); }
.checker {
  position: absolute; right: -60px; top: 0; bottom: 0; width: 42%;
  background-image: conic-gradient(var(--text) 25%, transparent 0 50%, var(--text) 0 75%, transparent 0);
  background-size: 64px 64px;
  opacity: .06; transform: skewX(var(--skew));
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.mail {
  display: inline-block; margin: 6px 0 24px;
  font: italic 900 clamp(32px, 6vw, 80px)/1 var(--display);
  color: var(--accent); word-break: break-all;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 4px no-repeat;
  transition: background-size .35s;
  padding-bottom: 6px;
}
.mail:hover { background-size: 100% 4px; }

/* footer */
.foot { background: #070708; border-top: 1px solid var(--line); padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.social {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px 14px 16px; border: 1px solid var(--line); background: var(--asphalt);
  transition: border-color .2s, transform .2s;
}
.social:hover { border-color: var(--accent); transform: translateY(-3px); }
.social svg { width: 28px; height: 28px; fill: none; stroke: var(--text); stroke-width: 1.7; }
.social svg .fill { fill: var(--text); stroke: none; }
.social-instagram:hover svg { stroke: #ff4f8b; } .social-instagram:hover svg .fill { fill: #ff4f8b; }
.social-youtube:hover svg { stroke: #ff2b2b; } .social-youtube:hover svg .fill { fill: #ff2b2b; }
.social span { display: flex; flex-direction: column; gap: 3px; }
.social b { font: 800 17px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.social small { font: 500 12px/1 var(--mono); color: var(--muted); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* 404 */
.page-404 { min-height: 100svh; display: grid; place-items: center; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 50ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .shot:nth-child(6) { grid-column: span 1; grid-row: span 1; aspect-ratio: 4 / 5; }
}
@media (max-width: 820px) {
  .burger { display: block; position: relative; z-index: 60; }
  .nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(11,11,12,.97);
    opacity: 0; pointer-events: none; transition: opacity .25s;
  }
  .nav.is-open { opacity: 1; pointer-events: auto; }
  .nav a { font-size: 30px; font-style: italic; font-weight: 800; color: var(--text); }
  .grid-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .scroll-hint { display: none; }
  .checker { width: 70%; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand-name { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr 1fr; gap: 8px; }
  .shot { padding: 12px; }
  .shot-num { font-size: 32px; }
  .shot-title { font-size: 17px; }
  .hero-title .outline { -webkit-text-stroke-width: 1.5px; }
  .timing { left: 16px; right: auto; bottom: 24px; }
  .timing-cell { padding: 8px 12px; }
  .timing-cell b { font-size: 15px; }
  .ticker span { font-size: 22px; }
  .itinerary li { min-width: 0; flex: 1 1 calc(50% - 10px); }
  .social { width: 100%; }
  .socials li { width: 100%; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* about s fotkou */
.has-photo { align-items: stretch; }
.has-photo .board { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); }
.has-photo .board-row { grid-template-columns: 1fr; padding: 30px 20px 22px; border-bottom: 0; border-right: 1px solid var(--line); }
.has-photo .board-row:nth-child(3) { border-right: 0; }
.has-photo .pos { grid-row: auto; margin-bottom: 8px; }
.has-photo .val { font-size: clamp(32px, 3.4vw, 46px); }
.has-photo .lbl { font-size: 14px; line-height: 1.3; }
.has-photo .board-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); }
.about-photo { position: relative; margin: 0; min-height: 520px; }
.about-photo::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px;
  border: 2px solid var(--accent); transform: skewX(-4deg); z-index: 0;
}
.about-photo img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: contrast(1.05) saturate(1.05); }
.about-photo figcaption {
  position: absolute; z-index: 2; left: 0; bottom: 24px;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg); padding: 10px 16px;
  font: 700 12px/1 var(--mono); letter-spacing: .15em; text-transform: uppercase;
}
.rec { width: 9px; height: 9px; border-radius: 50%; background: #ff2b2b; animation: blink 1.2s infinite; }
@media (max-width: 820px) {
  .about-photo { min-height: 0; aspect-ratio: 4 / 5; margin-right: 18px; }
}
@media (max-width: 520px) {
  .has-photo .board { grid-template-columns: 1fr; }
  .has-photo .board-row { border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: 44px 1fr; padding: 18px 20px; }
  .has-photo .pos { grid-row: span 2; margin: 0; }
}

/* kontakt s fotkou v pozadí */
.contact-bg { position: absolute; inset: 0 0 0 38%; z-index: 0; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 35%; filter: saturate(1.1); }
.contact-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(11,11,12,.75) 30%, rgba(11,11,12,.15) 70%, rgba(11,11,12,.35) 100%),
              linear-gradient(0deg, var(--bg) 0%, transparent 25%);
}
.contact.has-bg .checker { display: none; }
.contact .wrap { position: relative; z-index: 1; }
@media (max-width: 820px) {
  .contact-bg { inset: 0; opacity: .35; }
}

/* hero s videem: zarovnání na spodek (vodoznak vpravo dole zůstává vidět), ořez shora */
.hero.has-media .hero-media { bottom: 30px; }
.hero.has-media .hero-media img,
.hero.has-media .hero-media video { object-position: 100% 100%; }
.hero.has-media .hero-media::after {
  background:
    linear-gradient(90deg, rgba(11,11,12,.9) 0%, rgba(11,11,12,.62) 38%, rgba(11,11,12,.12) 72%, rgba(11,11,12,0) 100%),
    linear-gradient(180deg, rgba(11,11,12,.55) 0%, transparent 22%);
}
.hero.has-media .scroll-hint { display: none; }
.hero.has-media .hero-lead { color: #e4e4e8; }
@media (max-width: 820px) {
  .hero.has-media .hero-media::after {
    background: linear-gradient(0deg, rgba(11,11,12,.25), rgba(11,11,12,.25)),
                linear-gradient(90deg, rgba(11,11,12,.85) 0%, rgba(11,11,12,.45) 100%);
  }
}

/* pás krátkých klipů */
.clips {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 6px;
  padding: 0 var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
}
.clip { position: relative; margin: 0; height: clamp(200px, 24vw, 340px); overflow: hidden; background: var(--panel); clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%); }
.clip:first-child { clip-path: polygon(0 0, 100% 0, 97% 100%, 0 100%); }
.clip:last-child { clip-path: polygon(4% 0, 100% 0, 100% 100%, 0 100%); }
.clip video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.clip:hover video { transform: scale(1.05); }
.clip::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.7), transparent 45%); }
.clip figcaption {
  position: absolute; left: 7%; bottom: 16px; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  font: italic 800 clamp(18px, 2vw, 26px)/1 var(--display); text-transform: uppercase;
}
.clip figcaption span { font: 700 11px/1 var(--mono); font-style: normal; background: var(--accent); padding: 5px 7px; }
@media (max-width: 820px) {
  .clips { grid-template-columns: 1fr 1fr; }
  .clip:first-child { grid-column: 1 / -1; clip-path: none; }
  .clip, .clip:last-child { clip-path: none; }
}

/* široký banner s fotkou */
.banner { position: relative; height: clamp(380px, 46vw, 640px); overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; z-index: -2; }
.banner::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--bg) 0%, transparent 16%, transparent 72%, rgba(11,11,12,.7) 92%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11,11,12,.55), transparent 60%);
}
.banner-inner { padding-bottom: clamp(28px, 5vw, 64px); }
.banner-text {
  margin: 0; max-width: 15ch;
  font: italic 900 clamp(34px, 5.4vw, 80px)/.92 var(--display); text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.banner-cap { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0; font: 700 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: #ddd; }
@media (max-width: 520px) { .banner img { object-position: 72% 45%; } }

/* přepínač jazyka CZ | EN */
.langs { display: inline-flex; border: 1.5px solid var(--accent); transform: skewX(var(--skew)); }
.langs a {
  padding: 7px 11px !important;
  font: 700 13px/1 var(--mono) !important; letter-spacing: .06em !important;
  color: var(--text) !important; transition: background .2s, color .2s;
}
.langs a::after { display: none !important; }
.langs a > * , .langs a { display: inline-block; }
.langs a:hover { background: rgba(255,74,28,.18); }
.langs a.is-active { background: var(--accent); color: #fff !important; }
@media (max-width: 820px) { .nav .langs a { font-size: 18px !important; padding: 10px 18px !important; } }

/* lišta s nabídkou jazykové verze */
.lang-hint {
  position: fixed; left: 50%; bottom: 20px; z-index: 70;
  display: flex; align-items: center; gap: 16px;
  max-width: calc(100% - 32px);
  padding: 12px 12px 12px 20px;
  background: rgba(19,19,21,.94); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  font-size: 15px;
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s;
}
.lang-hint.is-in { transform: translate(-50%, 0); opacity: 1; }
.lang-hint span { color: #d4d4d8; }
.lang-hint a {
  white-space: nowrap; background: var(--accent); color: #fff; padding: 9px 14px;
  font: 800 14px/1 var(--display); text-transform: uppercase; letter-spacing: .08em;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.lang-hint a:hover { background: #ff6a40; }
.lang-hint button { background: none; border: 0; color: var(--muted); font-size: 16px; cursor: pointer; padding: 6px 8px; }
.lang-hint button:hover { color: var(--text); }
@media (max-width: 520px) {
  .lang-hint { left: 16px; right: 16px; transform: translateY(140%); flex-wrap: wrap; gap: 10px; }
  .lang-hint.is-in { transform: none; }
  .lang-hint span { flex: 1 1 100%; }
}

/* "Repeat" bliká jako LED na tričku */
.rot.blink { animation: rotBlink .9s steps(1, end); }
@keyframes rotBlink {
  0%, 22%, 44%, 66% { opacity: 1; color: var(--accent); text-shadow: 0 0 18px rgba(255,74,28,.85); }
  11%, 33%, 55% { opacity: 0; }
  77%, 100% { opacity: 1; color: var(--accent-2); text-shadow: 0 0 22px rgba(255,212,0,.7); }
}

/* hero: víc videí se střídá s prolnutím */
.hero-media .hv { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.hero-media .hv.is-on { opacity: 1; }

/* logo martinplesnik.com PHOTOGRAPHER (bílé, foťák oranžově) */
.logo { display: block; height: 52px; width: auto; filter: drop-shadow(0 1px 8px rgba(0,0,0,.45)); transition: height .3s; }
.top.is-scrolled .logo { height: 40px; }
.logo-foot { height: 56px; filter: none; }
@media (max-width: 820px) { .logo { height: 34px; } .top.is-scrolled .logo { height: 30px; } }
@media (max-width: 380px) { .logo { height: 28px; } }

/* podpis TITIO v patičce */
.made-by { font: 500 12px/1 var(--mono); letter-spacing: .08em; color: #6f6f76; transition: color .2s; }
.made-by:hover { color: var(--text); }
.made-by .heart { color: var(--accent); display: inline-block; transition: transform .2s; }
.made-by:hover .heart { transform: scale(1.35); }
