/* ══════════════════════════════════════════
   FREEMASON.CZ — Design System
   Dark · Yellow · Condensed · Cinematic
   ══════════════════════════════════════════ */

::selection { background: #F5C400; color: #fff; }
::-moz-selection { background: #F5C400; color: #fff; }

:root {
  --bg:      #111111;
  --surface: #131313;
  --panel:   #181818;
  --accent:  #F5C400;
  --accent2: #D4AA00;
  --text:    #F0EDE8;
  --muted:   rgba(240,237,232,.52);
  --soft:    rgba(240,237,232,.32);
  --line:    rgba(255,255,255,.08);
  --linehi:  rgba(255,255,255,.16);
  --fd: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
  --fb: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
  --ease:    cubic-bezier(.2,.8,.2,1);
  --easeOut: cubic-bezier(0,.9,.2,1);
  --pad:     clamp(18px, 4vw, 54px);
  --max:     1360px;
  --r:       6px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.hero-bg, [data-hero-bg] { -webkit-user-drag: none; -webkit-touch-callout: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; border: none; background: none; }
ol, ul { list-style: none; }
h1, h2, h3 {
  font-family: var(--fd);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.05em;
}

/* ── Layout ── */
.container { width: min(var(--max), calc(100% - var(--pad) * 2)); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 140px) 0; }

/* ── Eyebrow ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fb);
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent) !important;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 26px;
  font-family: var(--fb);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid var(--linehi);
  border-radius: var(--r);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--accent); color: var(--bg); border-color: transparent; }
.btn-primary:hover { background: #fff; color: var(--bg); }
.btn-ghost { border-color: rgba(255,255,255,.2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── HP Blog reel (drag carousel á la Fuji) ── */
.blogreel { padding: clamp(70px, 9vw, 120px) 0; overflow: hidden; }
.blogreel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.blogreel-head h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.05; margin: .25em 0 0; }
.blogreel-track {
  display: flex; gap: 18px; overflow-x: auto; overflow-y: hidden;
  padding: 6px var(--pad) 24px;                          /* fallback */
  padding-inline: max(var(--pad), calc((100% - var(--max)) / 2)); /* zarovnání s containerem */
  -webkit-overflow-scrolling: touch; scrollbar-width: none; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--pad), #000 calc(100% - var(--pad)), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--pad), #000 calc(100% - var(--pad)), transparent 100%);
}
.blogreel-track::-webkit-scrollbar { display: none; }
.blogreel-track:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.blogreel-track.dragging { cursor: grabbing; }
.blogreel-track.dragging .blogreel-card { pointer-events: none; }
.blogreel-card { flex: 0 0 clamp(258px, 26vw, 320px); display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: #181818; border-radius: 6px; overflow: hidden; }
.blogreel-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #222; }
.blogreel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.blogreel-card:hover .blogreel-img img { transform: scale(1.05); }
.blogreel-img-e { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--accent); font-size: 30px; }
.blogreel-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blogreel-author { font-family: var(--fd, inherit); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.blogreel-tag { align-self: flex-start; font-family: var(--fd, inherit); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(245,196,0,.4); border-radius: 40px; padding: 4px 11px; margin-bottom: 11px; }
.blogreel-title { font-size: 18px; line-height: 1.28; font-weight: 600; margin: 0; }
.blogreel-go { margin-top: 12px; color: var(--accent); font-size: 18px; transition: transform .25s var(--ease); }
.blogreel-card:hover .blogreel-go { transform: translateX(5px); }
@media (max-width: 620px) { .blogreel-card { flex-basis: 78vw; } }

/* ── Mega-menu „Produkce" (vzor Fuji) ── */
.megamenu {
  position: fixed; left: 0; right: 0; top: 72px; z-index: 85;
  background: #181818;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
  transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
}
.megamenu.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
/* neviditelný hover-most přes mezeru mezi „Produkce" a panelem (aby myš nespadla mimo) */
.megamenu::before { content: ''; position: absolute; left: 0; right: 0; top: -34px; height: 34px; }
.mega-inner { display: grid; grid-template-columns: 1fr minmax(280px, 360px); gap: 48px; padding: 36px 0 40px; }
.mega-eyebrow { font-family: var(--fd, inherit); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.mega-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 28px; }
.mega-links a { display: block; padding: 9px 0; color: var(--text); text-decoration: none; font-size: 15px; transition: color .2s var(--ease), padding-left .2s var(--ease); }
.mega-links a:hover { color: var(--accent); padding-left: 5px; }
.mega-all { display: inline-block; margin-top: 20px; font-family: var(--fd, inherit); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .2s var(--ease); }
.mega-all:hover { color: var(--accent); }
.mega-promo { position: relative; border-radius: 8px; overflow: hidden; min-height: 210px; display: flex; align-items: flex-end; text-decoration: none; }
.mega-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega-promo:hover img { transform: scale(1.05); }
.mega-promo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.08)); }
.mega-promo-tx { position: relative; z-index: 1; padding: 22px; }
.mega-promo-eye { display: block; font-family: var(--fd, inherit); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.mega-promo-h { display: block; color: #fff; font-size: 19px; line-height: 1.2; font-weight: 600; }
@media (max-width: 980px) { .megamenu { display: none !important; } }

/* ── Film Grain ── */
.grain {
  position: fixed;
  inset: -10%;
  z-index: 80;
  pointer-events: none;
  opacity: .06;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  mix-blend-mode: overlay;
  animation: grain-drift .07s steps(1) infinite;
  will-change: background-position;
}
@keyframes grain-drift {
  0%   { background-position:   0%    0%; }
  14%  { background-position:  -5%  -10%; }
  28%  { background-position: -15%    5%; }
  42%  { background-position:   7%  -22%; }
  57%  { background-position:  -5%   25%; }
  71%  { background-position:  15%    4%; }
  85%  { background-position:   2%   18%; }
  100% { background-position:   0%    0%; }
}

/* ── Progress ── */
.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 100;
  background: transparent;
}
.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width .1s linear;
  box-shadow: 0 0 12px rgba(245,196,0,.8), 0 0 4px rgba(245,196,0,1);
}

/* ── Cursor ── */
.cursor {
  position: fixed;
  z-index: 120;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(245,196,0,.65);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  will-change: left, top;
  /* Ring transitions only size/color — position driven by JS rAF */
  transition: width .5s cubic-bezier(.16,1,.3,1),
              height .5s cubic-bezier(.16,1,.3,1),
              opacity .25s,
              background .35s,
              border-color .35s;
}
/* Precise center dot — follows cursor exactly via JS */
.cursor-dot {
  position: fixed;
  z-index: 121;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  will-change: left, top;
  transition: opacity .25s, width .3s, height .3s, background .3s;
}
.cursor-dot.is-visible { opacity: 1; }
.cursor-dot.is-hover   { width: 0; height: 0; opacity: 0; }

.cursor.is-hover {
  width: 58px;
  height: 58px;
  background: rgba(245,196,0,.07);
  border-color: rgba(245,196,0,.9);
}

/* ── Scan frame (targeting reticle) ─────── */
.scan-frame {
  position: relative;
}
.scan-frame::before,
.scan-frame::after,
.sf-corners::before,
.sf-corners::after {
  content: '';
  position: absolute;
  z-index: 10;
  width: 22px; height: 22px;
  border: 1.5px solid var(--accent);
  pointer-events: none;
  animation: sf-pulse 3.2s ease-in-out infinite;
}
.sf-corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* Top-left */
.scan-frame::before  { top: -10px; left: -10px; border-right: none; border-bottom: none; }
/* Top-right */
.scan-frame::after   { top: -10px; right: -10px; border-left: none; border-bottom: none; }
/* Bottom-left */
.sf-corners::before  { bottom: -10px; left: -10px; border-right: none; border-top: none; }
/* Bottom-right */
.sf-corners::after   { bottom: -10px; right: -10px; border-left: none; border-top: none; }

@keyframes sf-pulse {
  0%, 100% {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(245,196,0,.75)) drop-shadow(0 0 14px rgba(245,196,0,.3));
  }
  50% {
    opacity: .28;
    filter: drop-shadow(0 0 2px rgba(245,196,0,.2));
  }
}

/* ══════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════ */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad) 0 20px;
  background: linear-gradient(180deg, rgba(12,12,12,.92) 0%, transparent 100%);
  transition: height .4s var(--ease), background .4s var(--ease), border-color .4s;
}
.header.is-scrolled {
  height: 62px;
  background: rgba(12,12,12,.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.brand { width: clamp(130px, 11vw, 195px); flex-shrink: 0; }
.brand img { width: 100%; }
.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.2vw, 36px);
}
.nav a {
  position: relative;
  font-family: var(--fb);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .25s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -5px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-cta {
  flex-shrink: 0;
  font-family: var(--fb);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 10px 20px;
  border-radius: var(--r);
  transition: background .25s, transform .25s var(--ease);
}
.header-cta:hover { background: #fff; transform: translateY(-2px); }
.menu {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--linehi);
  border-radius: var(--r);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.menu span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s;
}
.nav-close { display: none; }
body.menu-open { overflow: hidden; }
.menu.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu.is-open span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  display: flex;
  height: 100svh;
  overflow: hidden;
}

/* ── Sidebar ── */
.hero-sidebar {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-right: 1px solid var(--line);
  z-index: 10;
  padding-top: 80px;
}
.hs-services-btn {
  display: none !important;
  align-items: center;
  gap: 12px;
  margin: 16px 20px;
  padding: 10px 16px 10px 10px;
  background: #1e1e1e;
  color: var(--muted);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
}
.hs-chevron {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.18);
  border-radius: 3px;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.hs-nav {
  display: flex;
  flex-direction: column;
  padding: 24px 20px 0;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.hs-nav-item {
  display: flex;
  align-items: center;
  padding: 10px 0 10px 32px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: color .2s;
}
.hs-nav-item.is-active { color: var(--accent); }
.hs-nav-item.is-active::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 2px;
  background: var(--accent);
}
.hs-nav-item:hover:not(.is-active) { color: var(--text); }
.hs-brand {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border-top: 1px solid var(--line);
  position: relative;
}
.hs-avatar {
  display: none !important;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hs-brand-name { display: none; }
.hs-dots-wrap {
  margin-left: auto;
  position: relative;
}
.hs-brand-dots {
  color: var(--muted);
  letter-spacing: .16em;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  background: transparent;
  transition: color .2s, background .2s;
}
.hs-brand-dots:hover { color: var(--text); background: rgba(255,255,255,.06); }
.hs-brand-dots.is-active { color: var(--text); background: rgba(255,255,255,.06); }
.hs-dots-panel {
  position: absolute;
  bottom: calc(100% + 6px);
  right: 0;
  width: 190px;
  background: #1e1e1e;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform: translateY(6px);
  opacity: 0;
  pointer-events: none;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
  z-index: 20;
}
.hs-dots-panel.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.hs-dots-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.hs-dots-link:hover { background: rgba(255,255,255,.06); color: var(--text); }

/* ── Hero main area ── */
.hero-main {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  touch-action: pan-y;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,.72) 0%, rgba(0,0,0,.28) 55%, transparent 100%),
    linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 45%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 80px) clamp(36px, 4vw, 72px);
}
.hero-title {
  font-family: var(--fd);
  font-size: clamp(54px, 8vw, 100px);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.04em;
  margin: 20px 0 24px;
  color: var(--text);
}
.hero-lead {
  max-width: 480px;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.72;
  color: rgba(255,255,255,.7);
  margin-bottom: 36px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity .2s;
}
.hero-cta:hover { opacity: .85; }
.hero-cta-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0,0,0,.25);
  border: 2px solid rgba(0,0,0,.3);
  flex-shrink: 0;
}

/* ── Hero slide dots (mobile only) ── */
.hero-dots {
  display: none;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  gap: 7px;
  align-items: center;
}
.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,.3);
  transition: width .38s var(--ease), background .38s var(--ease);
}
.hero-dot.is-active {
  width: 22px;
  background: var(--accent);
}

/* ── Bottom strip ── */
.hero-strip {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  background: rgba(0,0,0,.52);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,.08);
}
.hs-arrow {
  padding: 0 22px;
  font-size: 18px;
  color: rgba(255,255,255,.5);
  cursor: pointer;
  transition: color .2s;
  border-right: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.hs-arrow--next {
  border-right: none;
  border-left: 1px solid rgba(255,255,255,.08);
}
.hs-arrow:hover { color: var(--accent); }
.hs-strip-item {
  flex: 1;
  padding: 18px 28px;
  border-right: 1px solid rgba(255,255,255,.08);
  cursor: pointer;
  transition: background .2s;
  line-height: 13px;
}
.hs-strip-item:last-of-type { border-right: none; }
.hs-strip-item:hover,
.hs-strip-item.is-active { background: rgba(17,17,17,.88); }
.hs-strip-item strong {
  display: block;
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 500;
  letter-spacing: -.02em;
  margin-bottom: 5px;
  color: var(--text);
}
.hs-strip-item span {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ══════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════ */
.about-inner {
  display: grid;
  grid-template-columns: .9fr 1fr;
  grid-template-rows: auto auto;
  column-gap: clamp(36px, 5vw, 80px);
  row-gap: 0;
  align-items: start;
  margin-bottom: clamp(36px, 4vw, 60px);
}
.about-eyebrow {
  grid-column: 1;
  margin-bottom: 18px;
}
.about-head {
  grid-column: 1;
  grid-row: 2;
}
.about-body {
  grid-column: 2;
  grid-row: 2;
  padding-top: 6px;
}
.about-head h2 {
  font-size: clamp(34px, 4.2vw, 64px);
  margin-top: 0;
}
.about-body p {
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 19px);
  margin-bottom: 16px;
}
.about-body p:last-child { margin-bottom: 0; }
/* „Pro koho jsme" — seznam výsledků, které pomáháme dosáhnout */
.about-help {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: clamp(26px, 3.5vw, 44px);
}
.about-help-lead {
  font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 16px;
}
.about-help ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px;
}
.about-help li {
  position: relative; padding-left: 30px;
  font-size: clamp(15px, 1.2vw, 17px); line-height: 1.5;
  color: var(--text);
}
.about-help li::before {
  content: '—'; position: absolute; left: 0;
  color: var(--accent); font-weight: 700;
}
@media (max-width: 760px) { .about-help ul { grid-template-columns: 1fr; } }
.about-cta {
  grid-column: 1 / -1;
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: clamp(20px, 2.5vw, 30px);
}
.about-strip {
  overflow-x: scroll;
  scrollbar-width: none;
  cursor: grab;
  margin-top: 56px;
  user-select: none;
  -webkit-user-select: none;
}
.about-strip::-webkit-scrollbar { display: none; }
.about-strip.is-dragging { cursor: grabbing; }
.about-strip-track {
  display: flex;
  gap: 10px;
  padding: 0 var(--pad) 0;
  width: max-content;
}
.about-strip figure {
  flex-shrink: 0;
  height: 520px;
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
}
.about-strip img {
  height: 100%;
  width: auto;
  display: block;
  pointer-events: none;
}

/* ══════════════════════════════════════════
   BRAND INTRO (editorial column section)
   ══════════════════════════════════════════ */
.brand-intro {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.brand-intro-grid {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

/* Left column */
.bi-title {
  font-family: var(--fd);
  font-size: clamp(32px, 4.5vw, 72px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.05em;
  margin: 0;
}
.bi-title em {
  font-style: normal;
  color: var(--accent);
}
.bi-body {
  margin-top: clamp(40px, 5vw, 64px);
}
.bi-body p {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  line-height: 1.9;
  margin-bottom: 18px;
}
.bi-body p:last-child { margin-bottom: 0; }

/* Right column — 2×2 grid */
.bi-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
}
.bi-col-label {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.26);
  margin-bottom: 16px;
}
.bi-cell p {
  font-size: 14px;
  color: rgba(255,255,255,.62);
  line-height: 1.9;
}
.bi-cell--dim {
  opacity: .45;
}

/* ══════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════ */
.services {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}


.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 70px);
  align-items: end;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.services-head h2 { font-size: clamp(34px, 4.2vw, 64px); }
.services-sub {
  color: var(--muted);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.6;
}

/* ── Full-width 6-column grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  padding: 0 var(--pad);
}

/* ── Card ── */
.svc {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .35s;
}
.svc:hover { border-color: rgba(245,196,0,.25); }

/* Photo background */
.svc-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .9s var(--ease), filter .9s var(--ease);
}
.svc:hover .svc-bg {
  transform: scale(1.07);
  filter: brightness(.78);
}

/* Gradient overlay */
.svc::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 28%,
    rgba(8,8,8,.5) 55%,
    rgba(8,8,8,.9) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Hover border glow */
.svc::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 32px rgba(245,196,0,.18);
  opacity: 0;
  transition: opacity .4s var(--ease);
  z-index: 3;
  pointer-events: none;
}
.svc:hover::before { opacity: 1; }

/* Text content */
.svc-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 16px 30px 26px;
  transform: translateY(4px);
  transition: transform .4s var(--ease);
}
.svc:hover .svc-body { transform: translateY(0); }

.svc-meta {
  display: block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: .7;
  margin-bottom: 9px;
  transition: opacity .3s;
}
.svc:hover .svc-meta { opacity: 1; }

.svc h3 {
  font-family: var(--fd);
  font-size: clamp(24px, 2.4vw, 28px);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: var(--text);
  margin: 0;
}
.svc-note {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--soft);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height .4s var(--ease), opacity .35s var(--ease), margin-top .35s var(--ease);
}
.svc:hover .svc-note { max-height: 40px; opacity: 1; margin-top: 8px; }
@media (max-width: 980px) { .svc-note { max-height: 40px; opacity: 1; margin-top: 8px; } }

/* ══════════════════════════════════════════
   WORK — HORIZONTAL SLIDER
   ══════════════════════════════════════════ */
.work-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: clamp(80px, 10vw, 130px) 0 clamp(48px, 5vw, 70px);
}
.work-intro h2 {
  font-size: clamp(34px, 4.2vw, 64px);
  flex: 1;
  min-width: 260px;
}

/* Slider container — same width as .container so edges align with heading/button */
.slider-wrap {
  position: relative;
  overflow: hidden;
  height: 520px;
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

/* Slider track */
.projects {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform .78s cubic-bezier(.25,.82,.25,1);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.projects.is-dragging {
  transition: none;
  cursor: grabbing;
}

/* Split-layout slide */
.project {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--bg);
}

/* Photo — absolute, full height, right edge, landscape-friendly */
.project-photo {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: clamp(320px, 70%, 890px);
  overflow: hidden;
}
/* Gradient blends left edge of photo into dark background — no hard frame */
.project-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 38%);
  z-index: 1;
  pointer-events: none;
}

/* Background image (fills .project-photo with slight overflow for parallax) */
.project-bg {
  position: absolute;
  inset: -6%;
  background-size: cover;
  transition: transform .78s cubic-bezier(.25,.82,.25,1);
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(12,12,12,.48);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.slider-arrow:hover {
  border-color: var(--accent);
  background: rgba(245,196,0,.15);
  transform: translateY(-50%) scale(1.08);
}
.slider-arrow svg { width: 20px; height: 20px; }
/* Arrows paired bottom-right over the photo — never overlap the left-side text */
.slider-arrow { top: auto; bottom: 20px; transform: none; }
.slider-arrow:hover { transform: scale(1.08); }
.slider-next { right: 20px; }
.slider-prev { left: auto; right: 86px; } /* 20 + 54 (arrow) + 12 gap */

/* Dot navigation */
.slider-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}
.slider-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  border: none;
  padding: 0;
  background: rgba(255,255,255,.28);
  cursor: pointer;
  transition: width .38s var(--ease), background .38s var(--ease);
}
/* Zvětšená dotyková plocha (a11y) bez změny vzhledu tečky */
.slider-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
}
.slider-dot.is-active {
  width: 28px;
  background: var(--accent);
}

/* Sidebar */
.project-sidebar {
  position: relative;
  z-index: 2;
  width: clamp(180px, 20vw, 300px);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 28px clamp(40px, 5vh, 70px) var(--pad);
  border-right: 1px solid rgba(255,255,255,.07);
}
.project-num {
  display: block;
  font-family: var(--fd);
  font-size: clamp(64px, 8vw, 110px);
  font-weight: 500;
  line-height: 1;
  color: rgba(255,255,255,.055);
  letter-spacing: -.02em;
  margin-bottom: 20px;
  user-select: none;
}
.project-index { display: flex; flex-direction: column; }
.project-index li { border-top: 1px solid rgba(255,255,255,.07); }
.project-index li a,
.project-index li span {
  display: block;
  padding: 7px 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.22);
  transition: color .25s;
  cursor: pointer;
}
.project-index li:hover span { color: rgba(255,255,255,.5); }
.project-index li.cur span { color: var(--accent); }

/* Main content area */
.project-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vh, 60px) calc(clamp(320px, 50%, 660px) + 32px) clamp(32px, 5vh, 60px) clamp(28px, 3vw, 52px);
}
.project-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.project-cat::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

/* The big title — clip-path wipe-in animation */
.project-title {
  font-family: var(--fd);
  font-size: clamp(44px, 5.5vw, 88px);
  font-weight: 500;
  line-height: .87;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 22px;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s var(--easeOut) .15s;
}
.project.in-view .project-title { clip-path: inset(0 0% 0 0); }

.project-desc {
  max-width: 380px;
  font-size: 14px;
  color: rgba(240,237,232,.58);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease) .6s, transform .7s var(--ease) .6s;
}
.project.in-view .project-desc { opacity: 1; transform: translateY(0); }

/* ── Yellow & Dark bands ── */
.band {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 36px var(--pad);
  overflow: hidden;
}
.band-yellow { background: var(--accent); }
.band-yellow span {
  font-family: var(--fd);
  font-size: clamp(22px, 3.5vw, 52px);
  font-weight: 500;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--bg);
  text-align: center;
  line-height: 1.05;
}
.band-dark {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band-dark span {
  font-family: var(--fb);
  font-size: clamp(10px, 1.4vw, 16px);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ══════════════════════════════════════════
   PROCESS
   ══════════════════════════════════════════ */
.process-inner {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.process-left h2 {
  font-family: var(--fb);        /* body font — feels more editorial */
  font-weight: 500;
  text-transform: none;
  letter-spacing: -.04em;
  font-size: clamp(40px, 4.8vw, 76px);
  line-height: .95;
  margin-bottom: 24px;
}
.process-sub {
  color: var(--muted);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.65;
}

/* Numbered list */
.process-list { list-style: none; margin: 0; padding: 0; }
.process-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 24px;
  border-top: 1px solid var(--line);
  border-left: 2px solid transparent;
  border-radius: 20px 0 0 20px;
  position: relative;
  overflow: hidden;
  transition: border-color .45s var(--ease), border-left-color .45s var(--ease);
}
.process-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 120% at 0% 50%, rgba(245,196,0,.13) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.process-item:last-child { border-bottom: 1px solid var(--line); }
.process-item:hover { border-top-color: rgba(245,196,0,.25); border-left-color: var(--accent); }
.process-item:hover::before { opacity: 1; }
.process-item:hover .pnum { color: var(--accent); opacity: 1; }

.pnum {
  font-family: var(--fb);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--accent);
  opacity: .6;
  padding-top: 4px;
  transition: opacity .35s, color .35s;
  line-height: 1;
}
.pitem-body strong {
  display: block;
  font-family: var(--fb);
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
  transition: color .35s;
}
.process-item:hover .pitem-body strong { color: #fff; }
.pitem-body p {
  color: var(--muted);
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.65;
  margin: 0;
}

/* ══════════════════════════════════════════
   STATEMENT — full bleed
   ══════════════════════════════════════════ */
.statement { padding-block: clamp(60px, 8vw, 100px); }

.statement-inner {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
}
.statement-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.statement-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(12,12,12,.92) 0%, rgba(12,12,12,.45) 42%, transparent 70%),
    linear-gradient(to right, rgba(12,12,12,.60) 0%, transparent 55%);
  pointer-events: none;
}
.statement-copy {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: clamp(32px, 4vw, 64px);
  max-width: 680px;
}
.statement-copy h2 {
  font-size: clamp(36px, 5vw, 50px);
  margin-bottom: 16px;
}
.statement-copy p { color: var(--muted); font-size: clamp(14px, 1.2vw, 18px); }

/* ══════════════════════════════════════════
   PRICING
   ══════════════════════════════════════════ */
.pricing-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.pricing-head h2 { font-size: clamp(34px, 4.2vw, 64px); }
.pricing-note {
  color: var(--muted);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.7;
}

/* ── Row layout ── */
.pricing-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.price-row {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: clamp(20px, 3vw, 52px);
  align-items: center;
  padding: clamp(24px, 3.2vw, 46px) clamp(12px, 2vw, 32px) clamp(24px, 3.2vw, 46px) 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: background .35s, border-color .35s;
  cursor: pointer;
}
.price-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 130% at 0% 50%, rgba(245,196,0,.11) 0%, transparent 68%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s var(--ease);
  border-radius: inherit;
}
.price-row:hover {
  background: rgba(245,196,0,.018);
  border-color: rgba(245,196,0,.2);
  box-shadow: inset 3px 0 0 var(--accent);
}
.price-row:hover::before { opacity: 1; }

.price-row.featured {
  background: var(--surface);
  border-color: rgba(245,196,0,.22);
  box-shadow: inset 3px 0 0 var(--accent);
}
.price-row.featured::before { opacity: 1; }
.price-row.featured:hover { background: #151510; }

/* Number column */
.price-row-num {
  font-family: var(--fd);
  font-size: clamp(32px, 3.5vw, 56px);
  font-weight: 500;
  line-height: 1;
  color: rgba(240,237,232,.05);
  user-select: none;
  transition: color .35s;
}
.price-row:hover .price-row-num,
.price-row.featured .price-row-num { color: rgba(245,196,0,.10); }

/* Meta column */
.price-tier {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.price-badge {
  font-family: var(--fb);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 3px 8px;
  border-radius: 3px;
  line-height: 1.4;
}
.price-row-meta p {
  color: var(--muted);
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.65;
  max-width: 520px;
  margin: 0;
}

/* Right column */
.price-row-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  flex-shrink: 0;
}
.price-amount {
  display: block;
  font-family: var(--fd);
  font-size: clamp(26px, 2.8vw, 48px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.price-amount small {
  font-size: .45em;
  font-weight: 400;
  letter-spacing: .01em;
  text-transform: none;
  vertical-align: middle;
}
.price-eur {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--soft);
  white-space: nowrap;
  margin-top: -8px;
}
.price-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .25s;
  white-space: nowrap;
}
.price-cta svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.price-cta:hover,
.price-row:hover .price-cta { color: var(--text); }
.price-row:hover .price-cta svg { transform: translateX(4px); }

/* ══════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════ */
.contact {
  background: #181818;
  border-top: 1px solid var(--line);
}
.contact > .container:first-child {
  padding-bottom: clamp(20px, 2.5vw, 32px);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.contact-copy h2 { font-size: clamp(30px, 3.8vw, 58px); margin-bottom: 22px; }
.contact-lead { font-size: 15px; line-height: 1.7; color: var(--muted); margin-bottom: 22px; }
.contact-lead:empty { display: none; }
.contact-lead p { margin-bottom: .9em; }
.contact-lead p:last-child { margin-bottom: 0; }
.contact-email {
  display: block;
  font-family: var(--fd);
  font-size: clamp(22px, 2.8vw, 44px);
  font-weight: 500;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.1;
  transition: color .25s;
}
.contact-email:hover { color: #fff; }
.contact-phone {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--fd);
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--muted);
  transition: color .25s;
}
.contact-phone:hover { color: var(--accent); }
.contact-overview {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 22px;
  font-family: var(--fd); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  border: 1px solid var(--line); border-radius: 5px;
  padding: 9px 16px; transition: color .2s, border-color .2s;
}
.contact-overview::before { content: '↓'; font-size: 13px; }
.contact-overview:hover { color: var(--accent); border-color: var(--accent); }
.contact-form { display: flex; flex-direction: column; gap: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-full { grid-column: 1 / -1; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; }
.contact-form span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  background: rgba(0,0,0,.28);
  border: 1px solid var(--linehi);
  border-radius: var(--r);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,196,0,.1);
}
/* Čitelné rozbalené možnosti nativního selectu (tmavé pozadí, světlý text) */
.contact-form select option,
select option { background: #16181c; color: #f0ede8; }
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form .btn { align-self: flex-start; }

/* Honeypot — hidden from humans */
.pot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }

/* Form bottom row */
.h-captcha { display: none; }
.form-bottom { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }

/* Error message */
.form-error {
  font-size: 13px;
  color: #ff6b6b;
  min-height: 18px;
  flex: 1;
}
.form-error:empty { display: none; }
.form-note { font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.5); margin: 14px 0 0; padding-left: 16px; border-left: 2px solid rgba(245,196,0,.4); }

/* Success state */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(48px, 8vw, 80px) 24px;
  gap: 16px;
}
.form-success-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(245,196,0,.12);
  border: 1.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: var(--accent);
}
.form-success h3 { font-size: clamp(22px, 3vw, 32px); color: #fff; margin: 0; }
.form-success p  { color: var(--muted); max-width: 360px; margin: 0; line-height: 1.6; }

/* ── Custom select ───────────────────────── */
.cs { position: relative; }
.cs-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 11px 14px;
  background: rgba(0,0,0,.28);
  border: 1px solid var(--linehi);
  border-radius: var(--r);
  color: var(--text);
  font-family: var(--fb);
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color .25s, box-shadow .25s;
}
.cs-btn:hover { border-color: rgba(255,255,255,.28); }
.cs.is-open .cs-btn {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,196,0,.1);
}
.cs-arrow {
  width: 15px; height: 15px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform .3s var(--ease);
}
.cs.is-open .cs-arrow { transform: rotate(180deg); }

.cs-list {
  position: absolute;
  top: calc(100% + 5px);
  left: 0; right: 0;
  z-index: 60;
  background: #181818;
  border: 1px solid var(--linehi);
  border-radius: var(--r);
  overflow: hidden;
  list-style: none;
  margin: 0; padding: 4px 0;
  opacity: 0;
  transform: translateY(-6px) scaleY(.97);
  transform-origin: top;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
  box-shadow: 0 16px 48px rgba(0,0,0,.6);
}
.cs.is-open .cs-list {
  opacity: 1;
  transform: translateY(0) scaleY(1);
  pointer-events: auto;
}
.cs-opt {
  padding: 11px 14px;
  font-family: var(--fb);
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .15s, background .15s;
}
.cs-opt::before {
  content: '';
  flex-shrink: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  transition: border-color .15s, background .15s;
}
.cs-opt:hover { color: var(--text); background: rgba(255,255,255,.04); }
.cs-opt:hover::before { border-color: rgba(255,255,255,.3); }
.cs-opt.is-sel { color: var(--accent); }
.cs-opt.is-sel::before { border-color: var(--accent); background: var(--accent); }

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
  padding: clamp(40px, 5vw, 64px) 0 32px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 4vw, 46px);
}
.footer-brand { width: clamp(132px, 12vw, 168px); align-self: center; margin-bottom: clamp(4px, 1vw, 10px); }
.footer-brand img { width: 100%; opacity: .5; transition: opacity .25s; }
.footer-brand:hover img { opacity: .9; }
.footer-nav { display: flex; gap: clamp(14px, 2vw, 28px); }
.footer-nav a {
  font-size: 9px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); transition: color .25s;
}
.footer-nav a:hover { color: var(--accent); }
.footer-copy {
  font-size: 9px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(240,237,232,.62); /* a11y: kontrast AA */
}
.footer-extras {
  display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
}
.footer-ig {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 9px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color .25s;
}
.footer-ig:hover { color: var(--accent); }
.footer-ig svg { flex-shrink: 0; }
.footer-privacy {
  font-size: 9px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(240,237,232,.62); text-decoration: none; /* a11y: kontrast AA */
  transition: color .25s;
}
.footer-privacy:hover { color: var(--muted); }
.footer-cookie-reset {
  background: none; border: none; padding: 0; cursor: pointer;
}

/* ── Cookie Banner ───────────────────────────── */
.fm-consent {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 99999;
  background: rgba(10,10,10,.97);
  border-top: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 16px clamp(24px, 5vw, 72px);
}
.fm-consent.is-visible { display: block; }
.fm-consent-inner {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.fm-consent-text {
  flex: 1; min-width: 200px;
  font-size: 12px; color: var(--muted); margin: 0; line-height: 1.6;
}
.fm-consent-text strong { color: var(--fg); }
.fm-consent-text a { color: var(--accent); text-decoration: none; }
.fm-consent-text a:hover { text-decoration: underline; }
.fm-consent-actions { display: flex; gap: 8px; flex-shrink: 0; }
.fm-btn {
  font-family: var(--fb); font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 10px 20px; cursor: pointer; border: 1px solid var(--line);
  background: transparent; color: var(--muted);
  text-decoration: none; display: inline-flex; align-items: center;
  transition: color .2s, border-color .2s, background .2s;
}
.fm-btn:hover            { color: var(--fg); border-color: rgba(255,255,255,.3); }
.fm-btn--accept          { background: var(--accent); color: #000; border-color: var(--accent); }
.fm-btn--accept:hover    { background: #fff; border-color: #fff; color: #000; }

/* ══════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ══════════════════════════════════════════ */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Stagger siblings */
.hero-copy .reveal:nth-child(2) { transition-delay: .08s; }
.hero-copy .reveal:nth-child(3) { transition-delay: .18s; }
.hero-copy .reveal:nth-child(4) { transition-delay: .28s; }
.hero-copy .reveal:nth-child(5) { transition-delay: .38s; }
.services-grid .reveal:nth-child(2) { transition-delay: .06s; }
.services-grid .reveal:nth-child(3) { transition-delay: .12s; }
.services-grid .reveal:nth-child(4) { transition-delay: .18s; }
.services-grid .reveal:nth-child(5) { transition-delay: .24s; }
.services-grid .reveal:nth-child(6) { transition-delay: .30s; }
.process-list .reveal:nth-child(2) { transition-delay: .08s; }
.process-list .reveal:nth-child(3) { transition-delay: .16s; }
.process-list .reveal:nth-child(4) { transition-delay: .24s; }
.process-list .reveal:nth-child(5) { transition-delay: .32s; }
.pricing-grid .reveal:nth-child(2) { transition-delay: .1s; }
.pricing-grid .reveal:nth-child(3) { transition-delay: .2s; }

[data-tilt] { will-change: transform; transition: transform .3s var(--ease); }

/* ══════════════════════════════════════════
   CINEMATIC MOTION SYSTEM
   ══════════════════════════════════════════ */

/* Easing vocabulary */
:root {
  --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-swift:  cubic-bezier(0.55, 0, 0.1, 1);
  --ease-cinema: cubic-bezier(0.25, 0.1, 0, 1);
}

/* ── Hero background parallax ── */
.hero-bg {
  inset: 0;
  will-change: background-position;
}
.hero-content {
  will-change: transform, opacity;
}

/* ── Hero title word-reveal (JS-driven) ── */
.t-line {
  display: block;
  overflow: hidden;
}
.t-inner {
  display: block;
  transform: translateY(108%);
  transition: transform .9s var(--ease-expo);
  font-family: var(--fd);
  font-size: clamp(54px, 6vw, 100px);
  font-weight: 500;
  letter-spacing: -.04em;
  color: var(--text);
  padding-bottom: 0.15em;
}
.t-inner.in { transform: translateY(0); }

/* Remove the old margin/font from hero-title since .t-inner handles it */
.hero-title {
  margin: 20px 0 24px;
  /* font props moved to .t-inner */
  font-size: 0;
  letter-spacing: 0;
}

/* ── Hero: stálý claim (headline) + malý rotující label služby ── */
.hero-claim {
  font-family: var(--fd);
  font-size: clamp(30px, 4.6vw, 62px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.035em;
  color: var(--text);
  margin: 8px 0 0;
}
/* Rotující název služby zůstává řízený sliderem (JS obaluje do .t-inner),
   ale zobrazí se jako malý zlatý štítek na JEDNÉ řádce — přebijeme velké písmo. */
.hero-svc { margin: 30px 0 5px; font-size: 0; line-height: 1.4; }
p.hero-seo { padding: 0 0 8px; }
.hero-svc::before {
  content: "▸";
  color: var(--accent);
  font-size: clamp(13px, 1.25vw, 16px);
  margin-right: 9px;
  opacity: .65;
}
.hero-svc .t-line { display: inline; overflow: visible; }
.hero-svc .t-inner {
  display: inline;
  font-family: var(--fd);
  font-size: clamp(13px, 1.25vw, 16px) !important;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 0;
  transform: none !important;
}
/* mezera mezi rozdělenými řádky názvu (Kampaňová\nprodukce → jedna řádka) */
.hero-svc .t-line + .t-line .t-inner::before { content: "\00A0"; }
@media (max-width: 760px) {
  .hero-claim { font-size: clamp(28px, 8vw, 44px); max-width: none; }
}

/* ── Magnetic elements ── */
[data-magnetic] {
  will-change: transform;
  /* transition applied/removed via JS for precision */
}

/* ── Service card luminance scan ── */
.svc-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(245,196,0,.055) 50%,
    transparent 100%
  );
  background-size: 100% 200%;
  background-position: 0 -100%;
  opacity: 0;
  transition: opacity .35s;
}
.svc:hover .svc-glow {
  opacity: 1;
  animation: svc-scan-move 1.8s linear infinite;
}
@keyframes svc-scan-move {
  from { background-position: 0 -100%; }
  to   { background-position: 0  200%; }
}

/* ── Enhanced .svc hover depth ── */
.svc {
  transition: border-color .35s, transform .6s var(--ease-expo);
  cursor: pointer;
}
.svc:hover {
  transform: translateY(-3px);
}

/* ── Pricing rows: slide depth ── */
.price-row {
  transition: background .35s, border-color .35s, transform .5s var(--ease-expo);
}
.price-row:hover {
  transform: translateX(6px);
}

/* ── Process items: tighter physics ── */
.process-item {
  transition:
    border-color .45s var(--ease),
    border-left-color .45s var(--ease),
    transform .5s var(--ease-expo);
}
.process-item:hover {
  transform: translateX(8px);
}

/* ── About strip: depth fade on edges ── */
.about-strip {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

/* ── Statement image parallax ── */
.statement-inner img {
  will-change: transform;
  transition: transform .1s linear;
}

/* ══════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .project-title { clip-path: none !important; }
  .project-desc { opacity: 1 !important; transform: none !important; }
  .grain { animation: none !important; }
  .t-inner { transform: none !important; transition: none !important; }
  .svc { transform: none !important; }
  .price-row { transform: none !important; }
  .process-item { transform: none !important; }
  .cursor, .cursor-dot { display: none !important; }
  .blogreel-img img, .mega-promo img { transition: none !important; }
  .blogreel-card:hover .blogreel-img img, .mega-promo:hover img { transform: none !important; }
}

/* ── Přístupnost: viditelný focus jen pro klávesnici (myš nepozná) + skip-link ── */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible), [tabindex]:focus:not(:focus-visible) { outline: none; }
[tabindex="-1"]:focus { outline: none; }
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--bg);
  padding: 10px 18px; border-radius: 0 0 6px 6px;
  font-family: var(--fd, inherit); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; transition: top .18s var(--ease, ease);
}
.skip-link:focus { top: 0; }

/* ══════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════ */
.faq { border-top: 1px solid var(--line); }
.faq-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.faq-head h2 { font-size: clamp(34px, 4.2vw, 64px); margin-top: 4px; }
.faq-sub { color: var(--muted); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-family: var(--fb);
  font-size: clamp(15px, 1.25vw, 20px);
  font-weight: 600;
  text-align: left;
  transition: color .25s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 1.5px solid var(--linehi);
  border-radius: 50%;
  position: relative;
  transition: border-color .3s, transform .4s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--text);
  transition: background .25s;
}
.faq-icon::before { width: 10px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 1.5px; height: 10px; transform: translate(-50%, -50%); }
.faq-item.is-open .faq-q { color: var(--accent); }
.faq-item.is-open .faq-icon { border-color: var(--accent); transform: rotate(45deg); }
.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after { background: var(--accent); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .44s var(--ease);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p {
  padding-bottom: 24px;
  color: var(--muted);
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.75;
  max-width: 760px;
}

/* ══════════════════════════════════════════
   RESPONSIVE — 1480px
   ══════════════════════════════════════════ */
@media (max-width: 1480px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 1100px
   ══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .brand-intro-grid { gap: clamp(28px, 4vw, 60px); }
  .process-inner { grid-template-columns: 1fr; gap: clamp(32px, 4vw, 52px); }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 980px
   ══════════════════════════════════════════ */
@media (max-width: 980px) {
  /* ── Fullscreen overlay menu ── */
  .nav {
    position: fixed;
    inset: 0;
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 80px var(--pad);
    border: none;
    border-radius: 0;
    background: rgba(12,12,12,.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    pointer-events: none;
    transform: scale(.97);
    transition: opacity .32s var(--ease), transform .32s var(--ease);
  }
  .nav.is-open { opacity: 1; pointer-events: auto; transform: scale(1); }
  /* Po odscrollování má .header.is-scrolled backdrop-filter, který vytvoří
     containing block → fixed .nav se pak pozicuje vůči hlavičce (62px), ne
     viewportu, a vidět je jen spodek menu. Při otevřeném menu filtr vypneme. */
  body.menu-open .header,
  body.menu-open .header.is-scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav a {
    font-size: clamp(26px, 6.5vw, 40px);
    letter-spacing: -.02em;
    font-weight: 500;
    text-transform: uppercase;
    padding: 15px 0;
    width: 100%;
    text-align: center;
    color: rgba(255,255,255,.38);
    border-bottom: 1px solid rgba(255,255,255,.07);
    transition: color .2s;
  }
  .nav a:first-of-type { border-top: 1px solid rgba(255,255,255,.07); }
  .nav a::after { display: none; }
  .nav a:hover, .nav a.active { color: var(--accent); }
  .nav-close {
    display: flex;
    position: absolute;
    top: 22px;
    right: var(--pad);
    width: 44px; height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 300;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: var(--r);
    cursor: pointer;
    transition: color .22s, border-color .22s;
  }
  .nav-close:hover { color: var(--accent); border-color: var(--accent); }
  .menu { display: flex; }
  .header-cta { display: none; }

  /* Hero */
  .hero-sidebar { display: none; }
  .hero-strip { display: none; }
  .hero-dots { display: flex; }

  /* About */
  .about-inner { grid-template-columns: 1fr; }
  .about-eyebrow { grid-column: 1; }
  .about-head { grid-column: 1; grid-row: auto; }
  .about-body { grid-column: 1; grid-row: auto; padding-top: 0; margin-top: clamp(20px, 3vw, 32px); }


  /* Brand intro */
  .brand-intro-grid { grid-template-columns: 1fr; }
  .bi-right { grid-template-columns: 1fr 1fr; }

  /* Services — always show text on touch */
  .services-head { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-body { transform: translateY(0); }
  .svc-meta { opacity: 1; }

  /* Projects */
  .project-sidebar { display: none; }
  .project-photo { width: clamp(260px, 48%, 480px); }
  .project-body { padding-right: calc(clamp(260px, 48%, 480px) + 24px); }

  /* Pricing */
  .pricing-head { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr auto; }
  .price-row-num { display: none; }
  .price-row-right { gap: 10px; }
  .price-amount { font-size: clamp(22px, 5.5vw, 36px); }

  /* FAQ */
  .faq-head { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 640px  (mobile)
   ══════════════════════════════════════════ */
@media (max-width: 640px) {
  :root { --pad: 16px; }

  /* Hero */
  .hero-title { font-size: clamp(44px, 13vw, 72px); }
  .hero-lead { font-size: 14px; }
  .hero-content { padding: 28px 20px; }

  /* About strip */
  .about-strip { margin-top: 36px; }
  .about-strip figure { height: 220px; }

  /* Brand intro */
  .bi-right { grid-template-columns: 1fr; }

  /* Services — 2 cols below ~700px */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 5px; }
  .svc-body { padding: 12px 16px 18px; }
  .svc h3 { font-size: clamp(16px, 4.5vw, 22px); }

  /* Work slider — stacked: photo top, text bottom */
  .slider-wrap { height: 530px; }
  .project { flex-direction: column; }
  .project-photo {
    position: relative;
    width: 100%;
    height: 220px;
    left: auto; right: auto; top: auto; bottom: auto;
    flex-shrink: 0;
    opacity: 0.82;
  }
  .project-photo::after {
    background: linear-gradient(to bottom, transparent 50%, rgba(12,12,12,.6) 100%);
  }
  .project-body {
    flex: 1;
    padding: 14px 20px 20px;
    justify-content: flex-start;
    background: var(--bg);
    overflow: hidden;
  }
  .project-title { font-size: clamp(28px, 8vw, 40px); margin-bottom: 12px; }
  .slider-arrow { display: none; }
  .slider-dots { top: 196px; bottom: auto; }

  /* Statement */
  .statement-inner { aspect-ratio: 3 / 4; }
  .statement-copy h2 { font-size: clamp(24px, 7vw, 36px); }

  /* Pricing */
  .price-row { grid-template-columns: 1fr; gap: 12px; }
  .price-row-right { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; }
  .price-amount { font-size: clamp(20px, 6vw, 28px); }

  /* Misc */
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-nav { flex-wrap: wrap; gap: 12px 18px; max-width: 100%; }
  .footer-extras { flex-wrap: wrap; gap: 12px 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .band-yellow span { font-size: clamp(16px, 5.5vw, 28px); }
  .cursor { display: none; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 400px
   ══════════════════════════════════════════ */
@media (max-width: 400px) {
  .services-grid { grid-template-columns: repeat(1, 1fr); gap: 5px; }
}

/* ══════════════════════════════════════════
   LANG TOGGLE
   ══════════════════════════════════════════ */
.lang-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  font-family: var(--fb);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  transition: color .25s var(--ease), border-color .25s var(--ease);
  background: transparent;
}
.lang-toggle:hover { color: var(--accent); border-color: rgba(245,196,0,.35); }

/* Mobile nav lang toggle — hidden on desktop */
.lang-toggle--nav {
  display: none;
  margin-top: 24px;
  height: 48px;
  padding: 0 32px;
  font-size: 13px;
  letter-spacing: .18em;
}

/* ══════════════════════════════════════════
   ABOUT STATS
   ══════════════════════════════════════════ */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-top: clamp(40px, 5vw, 64px);
}
.astat {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(20px, 3vw, 36px) clamp(18px, 2.5vw, 32px);
  background: var(--bg);
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.astat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 140% 60% at 50% 0%, rgba(245,196,0,.14) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s var(--ease);
}
.astat:hover {
  box-shadow: inset 0 3px 0 var(--accent);
}
.astat:hover::before { opacity: 1; }
.astat strong {
  display: block;
  font-family: var(--fd);
  font-size: clamp(20px, 2.5vw, 36px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--accent);
  transition: color .35s var(--ease);
}
.astat:hover strong { color: #fff; }
.astat span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

/* ══════════════════════════════════════════
   MANIFESTO
   ══════════════════════════════════════════ */
.manifesto {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.manifesto-inner { max-width: 1100px; }
.manifesto-title {
  font-family: var(--fd);
  font-size: clamp(30px, 4.5vw, 68px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.06;
  margin: 24px 0 clamp(32px, 4vw, 56px);
}
.manifesto-title em { font-style: normal; color: var(--accent); }
.manifesto-lead {
  max-width: 760px;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.7;
  color: var(--soft);
  margin: 0 0 clamp(40px, 5vw, 64px);
}
.manifesto-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(24px, 3.5vw, 56px);
  border-top: 1px solid var(--line);
  padding-top: clamp(28px, 3.5vw, 48px);
}
.manifesto-body p {
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--muted);
  line-height: 1.85;
}

/* ══════════════════════════════════════════
   TESTIMONIAL (statement restyle)
   ══════════════════════════════════════════ */
.statement-quote {
  font-family: var(--fd);
  font-size: clamp(20px, 2.8vw, 36px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.22;
  color: var(--text);
  margin-bottom: 14px;
  font-style: normal;
}
.statement-attr {
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(240,237,232,.35);
  margin-bottom: 28px;
  display: block;
}
.statement-results {
  display: flex;
  gap: clamp(20px, 3.5vw, 48px);
  flex-wrap: wrap;
}
.statement-case { margin-top: clamp(24px, 3vw, 36px); }
.sresult {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sresult strong {
  display: block;
  font-family: var(--fd);
  font-size: clamp(22px, 2.8vw, 40px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--accent);
}
.sresult span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(240,237,232,.35);
}

/* ══════════════════════════════════════════
   WHY FAIL
   ══════════════════════════════════════════ */
.whyfail { border-top: 1px solid var(--line); background: #181818; }
.whyfail-head { margin-bottom: clamp(40px, 5vw, 64px); }
.whyfail-head h2 {
  font-size: clamp(34px, 4.2vw, 64px);
  margin-top: 12px;
}
.whyfail-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.wf-divider {
  width: 1px;
  background: var(--line);
  align-self: stretch;
  margin-top: 48px;
}
.wf-col-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.wf-col--bad .wf-col-label  { color: rgba(255,90,90,.7); }
.wf-col--good .wf-col-label { color: var(--accent); }
.wf-list { list-style: none; margin: 0; padding: 0; }
.wf-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.55;
  color: var(--muted);
}
.wf-list li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}
.wf-col--bad .wf-list li::before {
  content: '×';
  background: rgba(255,70,70,.1);
  color: rgba(255,100,100,.85);
  border: 1px solid rgba(255,70,70,.2);
}
.wf-col--good .wf-list li::before {
  content: '✓';
  background: rgba(245,196,0,.1);
  color: var(--accent);
  border: 1px solid rgba(245,196,0,.25);
}
.wf-col--good .wf-list li { color: rgba(240,237,232,.72); }

/* ══════════════════════════════════════════
   PROJECT META (case study tags)
   ══════════════════════════════════════════ */
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .7s var(--ease) .8s, transform .7s var(--ease) .8s;
}
.project.in-view .project-meta { opacity: 1; transform: translateY(0); }
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 34px;
  font-family: var(--fd);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  opacity: 0;
  transition: opacity .6s var(--ease) .95s, color .25s;
}
.project.in-view .project-link { opacity: 1; }
.project-link:hover { color: #fff; }
@media (max-width: 640px) { .project-link { display: none; } }
.project-meta span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(240,237,232,.32);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 3px;
  padding: 4px 10px;
  white-space: nowrap;
}

/* ══════════════════════════════════════════
   RESPONSIVE — NEW SECTIONS
   ══════════════════════════════════════════ */
@media (max-width: 980px) {
  .about-stats { grid-template-columns: 1fr 1fr; }
  .manifesto-cols { grid-template-columns: 1fr; gap: clamp(20px, 3vw, 32px); }
  .whyfail-grid { grid-template-columns: 1fr; }
  .wf-divider { display: none; }
  .lang-toggle { display: none; }
  .lang-toggle--nav { display: flex; }
}
@media (max-width: 640px) {
  .about-stats { grid-template-columns: 1fr 1fr; }
  .statement-results { gap: 18px; }
  .project-meta { display: none; }
}

/* ══════════════════════════════════════════
   KATEGORIE — Portfolio category page
   ══════════════════════════════════════════ */

/* ── Header ─────────────────────────────── */
.page-kat .hd, .page-rlz .hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 36px;
  background: rgba(12,12,12,.88);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.page-kat .hd-logo img, .page-rlz .hd-logo img { height: 44px; opacity: 1; display: block; }
.page-kat .hd-right, .page-rlz .hd-right { display: flex; align-items: center; gap: 16px; }
.page-kat .hd-back {
  font-family: var(--fb); font-size: 10px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 8px;
  transition: color .25s;
}
.page-kat .hd-back::before { content: '←'; font-size: 13px; }
.page-kat .hd-back:hover { color: var(--accent); }

/* ── Hero ───────────────────────────────── */
.page-kat .kat-hero {
  position: relative; height: 100vh; overflow: hidden;
  display: flex; align-items: flex-end;
}
.page-kat .kat-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
}
.page-kat .kat-hero-grad {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 60%, transparent 100%),
    linear-gradient(to top,  rgba(0,0,0,.9) 0%, rgba(0,0,0,.3) 35%, transparent 60%);
}
.page-kat .kat-hero-body {
  position: relative; z-index: 2;
  padding: 0 clamp(24px,5vw,72px) clamp(48px,7vh,88px);
  max-width: 760px;
}
.page-kat .kat-hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--fd); font-size: 10px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.page-kat .kat-hero-eyebrow::before {
  content: ''; width: 24px; height: 2px;
  background: var(--accent); flex-shrink: 0;
}
.page-kat .kat-hero-title {
  font-family: var(--fd);
  font-size: clamp(52px,7.5vw,112px);
  font-weight: 900; line-height: .86;
  letter-spacing: -.02em; text-transform: uppercase;
  color: #fff; margin-bottom: 24px;
}
.page-kat .kat-hero-lead {
  font-size: clamp(14px,1.5vw,17px); font-weight: 300;
  line-height: 1.6; color: var(--muted); max-width: 480px;
}
.page-kat .kat-hero-scroll {
  position: absolute; bottom: 32px; right: clamp(24px,5vw,72px); z-index: 2;
  font-family: var(--fd); font-size: 9px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.22);
  display: flex; align-items: center; gap: 10px;
}
.page-kat .kat-hero-scroll::after {
  content: ''; width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.25), transparent);
}

/* ── Intro text ─────────────────────────── */
.page-kat .kat-intro {
  padding: clamp(56px,8vh,96px) clamp(24px,5vw,72px);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px,4vw,64px);
  border-bottom: 1px solid var(--line);
  max-width: 1400px; margin: 0 auto;
}
.page-kat .kat-intro p {
  font-size: clamp(14px,1.3vw,16px);
  line-height: 1.72; color: var(--muted); font-weight: 300;
}
.page-kat .kat-intro p:first-child { color: rgba(240,237,232,.72); font-weight: 400; }
@media (max-width: 640px) {
  .page-kat .kat-intro { grid-template-columns: 1fr; gap: 18px; }
}

/* ── Gallery ────────────────────────────── */
.page-kat .kat-gallery-wrap { padding: clamp(32px,4vw,48px) clamp(24px,5vw,72px); }
.page-kat .kat-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
@media (max-width: 900px) { .page-kat .kat-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .page-kat .kat-gallery { grid-template-columns: 1fr; } }

.page-kat .gallery-item {
  aspect-ratio: 4 / 3;
  position: relative; overflow: hidden;
  cursor: grab; user-select: none;
  transition: opacity .2s, box-shadow .2s;
}
.page-kat .gallery-item:active { cursor: grabbing; }
.page-kat .gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block; pointer-events: none;
  transition: transform .9s var(--ease), filter .9s var(--ease);
}
.page-kat .gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0); transition: background .4s var(--ease);
  pointer-events: none;
}
.page-kat .gallery-item:hover img     { transform: scale(1.04); filter: brightness(1.08); }
.page-kat .gallery-item:hover::after  { background: rgba(0,0,0,.18); }
.page-kat .gallery-item::before {
  content: '+'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(.6); z-index: 2;
  font-size: 32px; font-weight: 300; color: #fff;
  opacity: 0; transition: opacity .3s, transform .3s var(--ease);
  pointer-events: none;
}
.page-kat .gallery-item:hover::before { opacity: .7; transform: translate(-50%,-50%) scale(1); }
/* Drag & Drop states */
.page-kat .gallery-item.is-dragging   { opacity: .25; cursor: grabbing; }
.page-kat .gallery-item.drop-over     { box-shadow: inset 0 0 0 2px var(--accent); }
.page-kat .gallery-item.drop-over img { filter: brightness(.7); }

/* ── CTA ────────────────────────────────── */
.page-kat .kat-cta {
  margin: 0 clamp(24px,5vw,72px) clamp(48px,8vh,88px);
  padding: clamp(36px,5vh,60px) clamp(28px,4vw,56px);
  border: 1px solid var(--line); border-radius: 4px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; background: rgba(255,255,255,.02);
}
.page-kat .kat-cta-eyebrow {
  font-family: var(--fd); font-size: 9px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.page-kat .kat-cta-title {
  font-family: var(--fd); font-size: clamp(22px,3vw,38px);
  font-weight: 800; text-transform: uppercase; color: #fff; line-height: 1;
}
.page-kat .kat-cta-btn {
  flex-shrink: 0; font-family: var(--fd); font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 14px 28px; background: var(--accent); color: #000;
  border-radius: 2px; cursor: pointer;
  transition: background .25s, transform .25s var(--ease); white-space: nowrap;
}
.page-kat .kat-cta-btn:hover { background: #fff; transform: translateY(-2px); }
@media (max-width: 600px) {
  .page-kat .kat-cta { flex-direction: column; align-items: flex-start; }
}

/* ── Lightbox ───────────────────────────── */
.page-kat .lb {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.page-kat .lb.is-open          { opacity: 1; pointer-events: auto; cursor: grab; }
.page-kat .lb.is-open.lb-drag  { cursor: grabbing; }
.page-kat .lb-img        { max-width: 92vw; max-height: 92vh; object-fit: contain; border-radius: 2px; transition: transform .35s cubic-bezier(.25,.82,.25,1), opacity .25s; pointer-events: none; }
.page-kat .lb-img.is-loading { opacity: 0; }
.page-kat .lb-btn {
  position: absolute;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  color: #fff; cursor: pointer; border-radius: 2px;
  font-size: 18px; line-height: 1; transition: background .2s, border-color .2s;
}
.page-kat .lb-btn:hover  { background: rgba(245,196,0,.18); border-color: rgba(245,196,0,.4); }
.page-kat .lb-close      { top: 20px; right: 20px; padding: 10px 14px; }
.page-kat .lb-prev       { left: 16px;  top: 50%; transform: translateY(-50%); padding: 16px 18px; }
.page-kat .lb-next       { right: 16px; top: 50%; transform: translateY(-50%); padding: 16px 18px; }
.page-kat .lb-counter    {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  font-family: var(--fd); font-size: 11px; font-weight: 600;
  letter-spacing: .18em; color: rgba(255,255,255,.3);
}

/* ══════════════════════════════════════════
   REALIZACE — Portfolio landing page
   ══════════════════════════════════════════ */

/* ── Hero ─────────────────────────────── */
.page-rlz .rlz-hero {
  padding: calc(56px + 72px) 0 56px;
}
.page-rlz .rlz-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-top: 22px;
}
.page-rlz .rlz-hero-title {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .93;
  letter-spacing: -.03em;
  color: var(--text);
}
.page-rlz .rlz-hero-perex {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 440px;
}

/* ── Portfolio section ────────────────── */
.page-rlz .rlz-portfolio {
  padding: 0 0 clamp(64px,9vw,112px);
}

/* ── Tabs ─────────────────────────────── */
.page-rlz .rlz-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
  overflow-x: auto;
  scrollbar-width: none;
}
.page-rlz .rlz-tabs::-webkit-scrollbar { display: none; }
.page-rlz .rlz-tab {
  padding: 14px 28px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color .25s;
  background: none;
  border: none;
  outline: none;
}
.page-rlz .rlz-tab::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.page-rlz .rlz-tab:hover  { color: var(--text); }
.page-rlz .rlz-tab.active { color: var(--text); }
.page-rlz .rlz-tab.active::after { transform: scaleX(1); }

/* ── Panel ────────────────────────────── */
.page-rlz .rlz-panel { display: none; }
.page-rlz .rlz-panel.active { display: block; }

/* ── Grid ─────────────────────────────── */
.page-rlz .rlz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

/* ── Card ─────────────────────────────── */
.page-rlz .rlz-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #161616;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s;
}
.page-rlz .rlz-card:hover {
  transform: translateY(-4px);
  border-color: var(--linehi);
}

/* card photo strip */
.page-rlz .rlz-card-photo {
  position: relative;
  height: 260px;
  overflow: hidden;
  flex-shrink: 0;
}
.page-rlz .rlz-card-photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  transition: transform .6s var(--ease);
}
.page-rlz .rlz-card:hover .rlz-card-photo-bg { transform: scale(1.05); }
.page-rlz .rlz-card-photo-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,.22) 0%,
    rgba(0,0,0,0)   50%,
    rgba(0,0,0,.55) 100%);
}

/* top overlay: number + badge */
.page-rlz .rlz-card-top {
  position: absolute;
  top: 14px; left: 16px; right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
}
.page-rlz .rlz-card-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--accent);
}
.page-rlz .rlz-card-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  background: rgba(0,0,0,.52);
  padding: 4px 9px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,.12);
}

/* card body */
.page-rlz .rlz-card-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.page-rlz .rlz-card-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 7px;
  line-height: 1.1;
}
.page-rlz .rlz-card-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}

/* stats row */
.page-rlz .rlz-card-stats {
  display: flex;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.page-rlz .rlz-card-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.page-rlz .rlz-card-stat + .rlz-card-stat {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.page-rlz .rlz-stat-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
}
.page-rlz .rlz-stat-val {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1;
}

/* ── View all ─────────────────────────── */
.page-rlz .rlz-view-all { text-align: center; }
.page-rlz .rlz-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #000;
  background: var(--accent);
  padding: 14px 32px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  transition: background .25s, border-color .25s, color .25s;
}
.page-rlz .rlz-view-all-btn::after { content: '→'; font-size: 14px; letter-spacing: 0; }
.page-rlz .rlz-view-all-btn:hover { background: #fff; border-color: #fff; color: #000; }

/* ── Stats strip ──────────────────────── */
.page-rlz .rlz-stats {
  border-top: 1px solid var(--line);
  padding: clamp(40px,6vw,72px) 0;
}
.page-rlz .rlz-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}
.page-rlz .rlz-snum {
  display: block;
  font-size: clamp(26px,3vw,44px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1;
}
.page-rlz .rlz-stag {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 6px;
}
.page-rlz .rlz-ssub {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}

/* ── Responsive ───────────────────────── */
@media (max-width: 1024px) {
  .page-rlz .rlz-grid { grid-template-columns: repeat(2, 1fr); }
  .page-rlz .rlz-stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .page-rlz .rlz-hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .page-rlz .rlz-tab { padding: 12px 18px; font-size: 9px; letter-spacing: .16em; }
  .page-rlz .rlz-card-photo { height: 220px; }
}
@media (max-width: 600px) {
  .page-rlz .hd { padding: 0 18px; }
  .page-rlz .rlz-grid { grid-template-columns: 1fr; }
  .page-rlz .rlz-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .page-rlz .rlz-stats-grid > :last-child { grid-column: 1 / -1; }
}

/* ── Archive panel (projekty tab) ─────────── */
.page-rlz .rlz-archive-panel {
  display: flex;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 72px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #161616;
  margin-bottom: 40px;
}
.page-rlz .rlz-archive-num {
  font-size: clamp(72px, 10vw, 140px);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -.05em;
  line-height: 1;
  flex-shrink: 0;
}
.page-rlz .rlz-archive-title {
  font-size: clamp(24px, 3.5vw, 48px);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.page-rlz .rlz-archive-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 32px;
}
.page-rlz .rlz-archive-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #000;
  background: var(--accent);
  padding: 14px 28px;
  border-radius: 4px;
  transition: background .25s, transform .25s var(--ease);
}
.page-rlz .rlz-archive-btn::after { content: '→'; font-size: 14px; letter-spacing: 0; }
.page-rlz .rlz-archive-btn:hover { background: #fff; transform: translateY(-2px); }
@media (max-width: 640px) {
  .page-rlz .rlz-archive-panel { flex-direction: column; align-items: flex-start; gap: 24px; }
  .page-rlz .rlz-archive-num { font-size: clamp(60px, 18vw, 100px); }
}

/* ═══════════════════════════════════════════════
   Brands / client logos
   ═══════════════════════════════════════════════ */
.brands.section {
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.brands-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(20px, 2.5vw, 40px) clamp(28px, 3.5vw, 56px);
  margin-top: 2rem;
}
.brand-logo {
  height: clamp(18px, 2vw, 28px);
  width: auto;
  max-width: 120px;
  filter: brightness(0) invert(1);
  opacity: .35;
  transition: opacity .3s;
  object-fit: contain;
}
.brand-logo:hover { opacity: .8; }
@media (max-width: 640px) {
  .brands-grid { justify-content: center; gap: 28px 32px; }
  .brand-logo  { height: 16px; max-width: 90px; }
}

/* ═══════════════════════════════════════════════
   Footer bottom row — copyright + developer credit
   ═══════════════════════════════════════════════ */
.footer-bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.dev-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  font-family: var(--fd, 'Barlow Condensed', sans-serif);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(240,237,232,.62); /* a11y: kontrast AA */
  text-decoration: none;
  border-radius: 2px;
  transition: background .22s, color .22s;
}
.dev-credit:hover {
  color: rgba(240,237,232,.55);
}
.dev-credit strong { font-weight: 700; color: inherit; }

.seo-logo {
  display: inline-block;
  width: 18px; height: 18px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 260ms linear;
  flex-shrink: 0;
}
.dev-credit:hover .seo-logo { transform: rotateY(-180deg); }
.seo-logo .face {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.seo-logo .front { background-image: url(/podklady/seo_silver.svg); }
.seo-logo .back  {
  transform: rotateY(180deg);
  background-image: url(/podklady/seo_white.svg);
}

/* ═══════════════════════════════════════════════
   Brands — NDA disclaimer
   ═══════════════════════════════════════════════ */
.clients-nda {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(240,237,232,.4);
  text-align: center;
  margin-top: 1.5rem;
}

/* ═══════════════════════════════════════════════
   Contact — confidence scope list
   ═══════════════════════════════════════════════ */
.contact-scope {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-scope li {
  font-size: 11px;
  letter-spacing: .07em;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: .65rem 0;
}
.contact-scope li:first-child { border-top: 1px solid var(--line); }
.contact-scope li span:first-child {
  color: rgba(240,237,232,.62); /* a11y: kontrast AA */
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 10px;
}
.contact-scope .scope-val {
  color: var(--muted);
  font-weight: 400;
  text-align: right;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   realizace.php — card meta (scope / use / sector)
   ═══════════════════════════════════════════════ */
.page-rlz .rlz-card-meta {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-top: .85rem;
  padding-top: .85rem;
  border-top: 1px solid rgba(240,237,232,.08);
}
.page-rlz .rlz-meta-item {
  font-size: 9px;
  letter-spacing: .14em;
  color: var(--soft);
  display: flex;
  gap: .6rem;
}
.page-rlz .rlz-meta-item em {
  font-style: normal;
  color: var(--accent);
  min-width: 52px;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════
   Manifesto — industries block (embedded)
   ═══════════════════════════════════════════════ */
.manifesto-industries {
  margin-top: clamp(32px, 4vw, 52px);
  padding-top: clamp(24px, 3vw, 36px);
}
.manifesto-industries .eyebrow {
  margin-bottom: 1rem;
}
.manifesto-ind-list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
  line-height: 2;
}
.manifesto-ind-list span {
  font-family: var(--fd);
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--soft);
}
.manifesto-ind-list span::after {
  content: '·';
  margin: 0 .65em;
  color: var(--accent);
  font-weight: 400;
  letter-spacing: 0;
  opacity: .7;
}
.manifesto-ind-list span:last-child::after {
  display: none;
}

/* ═══════════════════════════════════════════════
   Services — brands block (embedded)
   ═══════════════════════════════════════════════ */
.services-brands {
  padding: clamp(36px, 4.5vw, 56px) 0 clamp(8px, 1.5vw, 16px);
  margin-top: clamp(32px, 4vw, 52px);
}
.services-brands .brands-grid {
  margin-top: 1.75rem;
}
.services-brands .clients-nda {
  margin-top: 4.25rem;
}

/* ═══════════════════════════════════════════════
   Industries — grid (shared: manifesto embedded + future use)
   ═══════════════════════════════════════════════ */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.ind-item {
  font-family: var(--fd);
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--soft);
  padding: .9rem 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: color .22s, background .22s;
  cursor: default;
}
.ind-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.ind-item:hover {
  color: var(--text);
  background: rgba(245,196,0,.04);
}
.ind-item:hover::before { transform: scaleX(1); }

/* Industries strip — realizace.php (compact, no hover) */
.rlz-industries {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
  overflow: hidden;
}
.rlz-industries-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.rlz-ind-label {
  font-family: var(--fd);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: .4rem 1.25rem .4rem 0;
  margin-right: 1.25rem;
  border-right: 1px solid var(--line);
  white-space: nowrap;
  flex-shrink: 0;
}
.rlz-ind-item {
  font-family: var(--fd);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--soft);
  padding: .4rem .85rem;
  border-right: 1px solid rgba(240,237,232,.1);
  white-space: nowrap;
}
.rlz-ind-item:last-child { border-right: none; }

/* realizace.php — ROLE meta item (elevated vs SCOPE/USE/SECTOR) */
.page-rlz .rlz-meta-role {
  color: rgba(240,237,232,.65);
  padding-bottom: .4rem;
  margin-bottom: .1rem;
  border-bottom: 1px solid rgba(240,237,232,.06);
}

/* ═══════════════════════════════════════════════
   about.php — founder signal
   ═══════════════════════════════════════════════ */
.ab-founder {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--soft);
  opacity: .6;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* ══════════════════════════════════════════
   CASE STUDIES — related strip (cross-link)
   ══════════════════════════════════════════ */
.cs-related {
  padding: clamp(48px, 7vw, 84px) 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.cs-related .eyebrow {
  font-family: var(--fd); font-size: 10px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 28px;
}
.cs-related-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.cs-related-card {
  display: block; text-decoration: none;
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  background: rgba(255,255,255,.02);
  transition: border-color .25s, transform .25s;
}
.cs-related-card:hover { border-color: rgba(245,196,0,.32); transform: translateY(-2px); }
.cs-related-img { aspect-ratio: 16 / 9; overflow: hidden; }
.cs-related-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.95) contrast(1.03);
  transition: transform .6s var(--ease, ease);
}
.cs-related-card:hover .cs-related-img img { transform: scale(1.05); }
.cs-related-meta { padding: 18px 20px 20px; }
.cs-related-cat {
  display: block; font-family: var(--fd); font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 7px;
}
.cs-related-title {
  display: block; font-family: var(--fd); font-weight: 800;
  font-size: clamp(20px, 2.2vw, 30px); text-transform: uppercase;
  letter-spacing: -.01em; line-height: 1; color: var(--text); margin-bottom: 10px;
}
.cs-related-arrow {
  font-family: var(--fd); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--soft);
  transition: color .2s;
}
.cs-related-card:hover .cs-related-arrow { color: var(--accent); }
.cs-related-all {
  display: inline-block; margin-top: 24px;
  font-family: var(--fd); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--soft);
  text-decoration: none; transition: color .2s;
}
.cs-related-all:hover { color: var(--accent); }
@media (max-width: 640px) { .cs-related-grid { grid-template-columns: 1fr; } }

/* ── White-label vysvětlivka (tooltip) ─────────────────── */
.wl-term {
  position: relative;
  font-weight: 600;
  color: var(--text);
  text-decoration: underline wavy var(--accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  cursor: help;
  outline: none;
}
.wl-tip {
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  transform: translateY(6px);
  width: max-content;
  max-width: min(340px, 80vw);
  padding: 13px 16px;
  background: #161616;
  color: rgba(240,237,232,.92);
  border: 1px solid rgba(245,196,0,.35);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(0,0,0,.55);
  font-family: var(--fb, system-ui, sans-serif);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  text-align: left;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 60;
}
.wl-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 26px;
  border: 7px solid transparent;
  border-top-color: #161616;
}
.wl-term:hover .wl-tip,
.wl-term:focus .wl-tip,
.wl-term:focus-visible .wl-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (max-width: 560px) {
  .wl-tip { max-width: 82vw; }
}
