/* =====================================================================
   DELTOREX LLC — site.css

   Původní stránky měly veškeré styly v atributech style="" a hover stavy
   řešil vlastní JS framework (atribut style-hover). Tady je totéž jako
   běžné CSS: prohlížeč vykreslí hotovou stránku bez čekání na skript.
   ===================================================================== */

:root {
  --bg:        #F2F0EB;
  --ink:       #11110F;
  --ink-soft:  #33312C;
  --body:      #3D3A34;
  --muted:     #69675F;
  --accent:    #2F5D4E;
  --accent-lt: #7FAF9B;

  --line:      rgba(17, 17, 15, .16);
  --line-sub:  #D8D4C6;
  --line-mid:  #C9C4B4;
  --line-dark: #3A382F;
  --line-inv:  rgba(255, 255, 255, .18);

  --dark:      #11110F;
  --on-dark:   #F3F0E9;
  --on-dark-2: #AAA69B;

  --serif: Georgia, 'Times New Roman', Times, serif;
  --sans:  'Instrument Sans', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --max:   1200px;
  --max-w: 1520px;
  --pad:   32px;
  --pad-w: clamp(22px, 4.2vw, 76px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--bg); }

img, svg { max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; text-wrap: pretty; }

/* Odkaz pro klávesnici — viditelný až při zaměření. */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; color: var(--bg); }

.wrap   { max-width: var(--max);   margin: 0 auto; padding: 0 var(--pad); }
.wrap-w { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-w); }

/* ---------------------------------------------------------- typografie */

.t-eyebrow {
  font-size: 11px;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--muted);
}
.t-kicker {
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.t-num {
  font-size: 11px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 12px;
}
.sec--dark .t-num, .sec--dark .t-eyebrow { color: var(--on-dark-2); }

.t-display {
  font-family: var(--serif);
  font-size: clamp(64px, 9.1vw, 154px);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.06em;
  max-width: 11ch;
}
.t-display em { font-style: italic; }

.t-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 78px);
  line-height: 1.06;
  letter-spacing: -.055em;
}
.t-h2-xl {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 6.2vw, 94px);
  line-height: .98;
  letter-spacing: -.052em;
  max-width: 13ch;
}
.t-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -.045em;
  line-height: 1.1;
}
.t-h2-sm {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: -.045em;
  line-height: 1.15;
}
.t-h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
}
.t-lead   { font-size: 18px; line-height: 1.7; color: #4B4840; max-width: 640px; }
.t-body   { font-size: 17px; line-height: 1.75; color: #4B4840; }
.t-body + .t-body { margin-top: 24px; }
.t-num--flat  { padding-top: 0; margin-bottom: 34px; }
.t-h2--760    { max-width: 760px; }
.t-h2--want   { margin: 20px 0 72px; max-width: 760px; }
.body-sm      { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.body-sm p + p { margin-top: 18px; }
.link-inline  {
  font-family: var(--serif);
  font-size: 19px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.pad-y-lg { padding-top: clamp(72px, 9vw, 110px); padding-bottom: clamp(72px, 9vw, 110px); }
.pad-y-xl { padding-top: clamp(72px, 10vw, 120px); padding-bottom: clamp(72px, 10vw, 120px); }

/* --------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(242, 240, 235, .85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-sub);
}
.nav--wide { border-bottom-color: var(--line); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  height: 68px;
}
.nav--wide .nav-inner { height: 76px; }

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  font-size: 29px;
  letter-spacing: -.045em;
  line-height: 1;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand--sm { font-size: 21px; }
.brand-dot {
  display: inline-block;
  width: .26em;
  height: .26em;
  background: currentColor;
  border-radius: 50%;
  margin-right: .09em;
}

.nav-right  { display: flex; align-items: center; gap: 24px; }
.nav-links  { display: flex; align-items: center; gap: 36px; }
.nav--wide .nav-links { gap: clamp(18px, 2.3vw, 38px); font-size: 13px; color: #2E2D29; }

.nav-link { font-size: 14.5px; white-space: nowrap; }
.nav--wide .nav-link { font-size: 13px; }
.nav-link.is-active {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}
.nav-cta { border: 1px solid var(--ink); border-radius: 999px; padding: 9px 16px; }
.nav--sub .nav-cta { border: 0; padding: 0; }

.lang {
  display: flex;
  gap: 2px;
  border: 1px solid var(--line-sub);
  border-radius: 99px;
  padding: 3px;
}
.nav--wide .lang { border-color: rgba(17, 17, 15, .2); }
.lang-btn {
  font-size: 12px;
  letter-spacing: .06em;
  padding: 4px 12px;
  border-radius: 99px;
  color: var(--muted);
  line-height: 1.5;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.is-on { background: var(--ink); color: var(--bg); }
.lang-btn.is-on:hover { color: var(--bg); }

/* ------------------------------------------------------- hero (úvod) */

.hero {
  min-height: 92vh;
  padding: 120px 0 80px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.hero-rings { position: absolute; inset: 0; pointer-events: none; }
.hero-rings i {
  position: absolute;
  display: block;
  border: 1px solid rgba(17, 17, 15, .16);
  border-radius: 50%;
}
.hero-rings i:nth-child(1) { width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px; right: -18vw; top: -28vw; animation: dxDrift  13s ease-in-out infinite alternate; }
.hero-rings i:nth-child(2) { width: 56vw; height: 56vw; max-width: 900px;  max-height: 900px;  right: -8vw;  top: -14vw; border-color: rgba(17, 17, 15, .12); animation: dxDrift3 17s ease-in-out infinite alternate; }
.hero-rings i:nth-child(3) { width: 39vw; height: 39vw; right: 8vw;  top: 4vw;  border-color: rgba(17, 17, 15, .14); animation: dxDrift2 15s ease-in-out infinite alternate; }
.hero-rings i:nth-child(4) { width: 24vw; height: 24vw; right: 16vw; top: 14vw; border-color: rgba(47, 93, 78, .22);  animation: dxDrift4 11s ease-in-out infinite alternate; }
.hero-rings i:nth-child(5) { width: 12vw; height: 12vw; right: 24vw; top: 22vw; border-color: rgba(17, 17, 15, .18);  animation: dxDrift5  9s ease-in-out infinite alternate; }

.hero-inner {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 7vw;
  align-items: end;
}
.hero-eyebrow { margin-bottom: 30px; animation: dxFadeUp .9s ease both; }
.hero h1      { animation: dxFadeUp .9s .1s ease both; }
.hero-side    { padding-bottom: 9px; max-width: 520px; animation: dxFadeUp .9s .2s ease both; }
.hero-sub {
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.46;
  letter-spacing: -.02em;
  margin-bottom: 34px;
}
.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ------------------------------------------------------------ marquee */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 42px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  color: var(--muted);
  animation: dxMarquee 28s linear infinite;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ------------------------------------------------------------ sekce */

.sec       { padding: clamp(90px, 11vw, 180px) 0; }
.sec--line { border-top: 1px solid var(--line); }
.sec--dark { background: var(--dark); color: var(--on-dark); }
.sec--dark a:hover { color: #fff; }

.sec-head {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 5vw;
  align-items: start;
  margin-bottom: clamp(58px, 7vw, 105px);
}

.split-lead {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 8vw;
  align-items: start;
}
.lead-xl {
  font-size: clamp(22px, 2.15vw, 34px);
  line-height: 1.32;
  letter-spacing: -.035em;
  max-width: 28ch;
}
.lead-side {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.prose {
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 760px;
  margin-top: 72px;
}
.prose p + p { margin-top: 20px; }

/* Řádkový seznam schopností — číslo, název, popis. */
.rows { border-top: 1px solid var(--line); }
.sec--dark .rows { border-top-color: var(--line-inv); }

.row {
  display: grid;
  grid-template-columns: 90px minmax(240px, .85fr) minmax(280px, 1.4fr);
  gap: 3vw;
  padding: 32px 0 34px;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: padding-left .28s ease, background .28s ease;
}
.row:hover {
  padding-left: 12px;
  background: linear-gradient(90deg, rgba(17, 17, 15, .028), transparent 70%);
}
.row-num   { font-size: 12px; color: var(--muted); padding-top: 6px; }
.row-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(27px, 2.6vw, 43px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.row-text  { font-size: 15px; line-height: 1.62; color: var(--body); max-width: 680px; }

/* Ventures — dvousloupcové řádky na tmavém podkladu. */
.vrow {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5vw;
  padding: 30px 0 32px;
  border-bottom: 1px solid var(--line-inv);
}
.vrow h3 {
  font-family: var(--serif);
  font-size: clamp(25px, 2.4vw, 39px);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.vrow p { color: #BDB8AD; font-size: 15px; line-height: 1.7; max-width: 650px; }

.h2-ventures {
  font-family: var(--serif);
  font-size: clamp(45px, 7.1vw, 112px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 400;
  max-width: 12ch;
  margin-bottom: 90px;
}
.h2-ventures em { font-style: italic; }

/* Provoz — dva sloupce s definičními seznamy. */
.ops { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; }
.ops h3 {
  font-family: var(--serif);
  font-size: clamp(31px, 3.5vw, 54px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.04em;
  margin-bottom: 26px;
}
.ops p { font-size: 16px; line-height: 1.75; color: #3B3934; }
.ops-list { margin: 42px 0 0; border-top: 1px solid var(--line); }
.ops-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.ops-list dt { font-weight: 400; }
.ops-list dd { margin: 0; color: var(--muted); text-align: right; }

/* Citace ve směrové sekci. */
.quote {
  font-family: var(--serif);
  font-size: clamp(38px, 6.1vw, 92px);
  line-height: 1.02;
  letter-spacing: -.05em;
  font-weight: 400;
  max-width: 16ch;
}
.quote em { font-style: italic; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
  margin-top: 80px;
  align-items: start;
}
.two-col p { font-size: 16px; line-height: 1.72; color: var(--on-dark-2); max-width: 760px; }

.btn-ghost {
  display: inline-block;
  margin-top: 72px;
  color: var(--on-dark);
  border: 1px solid rgba(255, 255, 255, .35);
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 14px;
  transition: background .25s ease, color .25s ease;
}
.btn-ghost:hover { background: var(--on-dark); color: var(--dark); }

.btn-solid {
  display: inline-block;
  margin-top: 40px;
  background: var(--ink);
  color: var(--bg);
  padding: 15px 32px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 500;
  transition: background .25s ease;
}
.btn-solid:hover { background: var(--accent); color: var(--bg); }

/* ------------------------------------------------------------- patička

   Jedna patička pro celý web. Světlá varianta navazuje na béžové pozadí
   podstránek, tmavá uzavírá úvodní stránku. Liší se jen barvami, které
   jsou vytažené do proměnných — struktura je totožná. */

.site-footer {
  --f-line:  var(--line-sub);
  --f-muted: #6B675C;
  --f-head:  var(--ink);
  --f-text:  var(--ink);

  border-top: 1px solid var(--line-sub);
  padding-top: clamp(64px, 8vw, 100px);
  padding-bottom: 40px;
}
.site-footer--dark {
  --f-line:  rgba(255, 255, 255, .16);
  --f-muted: #B9B4AA;
  --f-head:  #fff;
  --f-text:  #F2EFE8;

  background: var(--dark);
  color: #F2EFE8;
  border-top: 0;
}
.site-footer--dark a:hover { color: #fff; }

/* Výzva k akci nad sloupci. */
.footer-cta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: clamp(56px, 7vw, 90px);
}
.footer-cta-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5.6vw, 84px);
  line-height: .98;
  letter-spacing: -.055em;
  max-width: 12ch;
}

/* Čtyři sloupce. */
.footer-cols {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.25fr 1.35fr;
  gap: 40px 5vw;
  padding-bottom: clamp(48px, 6vw, 72px);
}
/* Linka jen tam, kde nad sloupci stojí výzva k akci. Na chybové stránce
   sloupce začínají rovnou a vlastní linka patičky stačí. */
.footer-cta + .footer-cols {
  border-top: 1px solid var(--f-line);
  padding-top: clamp(40px, 5vw, 60px);
}

/* Značka v patičce se řídí barvou dané varianty. Bez toho by v tmavé
   patičce zůstala černá na černé a rozsvítila se bíle až při hoveru,
   protože .site-footer--dark a:hover má vyšší specificitu než .brand:hover. */
.footer-brand .brand,
.footer-brand .brand:hover { color: var(--f-text); }

.footer-about {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--f-muted);
  max-width: 38ch;
}
.footer-address {
  margin-top: 30px;
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--f-muted);
}
.footer-address-label {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 600;
  color: var(--f-head);
}

.footer-col-head {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 600;
  color: var(--f-head);
  margin-bottom: 20px;
}
.footer-col-head--spaced { margin-top: 36px; }

.footer-links { display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.footer-links a { color: var(--f-muted); width: fit-content; }
.footer-links a:hover { color: var(--f-text); }
.footer-links a[aria-current] { color: var(--f-text); }

.footer-mail {
  display: inline-block;
  font-size: 15px;
  color: var(--f-text);
  border-bottom: 1px solid var(--f-line);
  padding-bottom: 2px;
}
.footer-note {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--f-muted);
  max-width: 32ch;
}

.footer-meta {
  border-top: 1px solid var(--f-line);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 12px 25px;
  flex-wrap: wrap;
  color: var(--f-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .09em;
}

/* ------------------------------------------------- podstránky: hlavička */

/* Pozor: tyto třídy sedí na stejném prvku jako .wrap, takže smějí měnit
   jen svislé odsazení — jinak by přepsaly vodorovné a obsah by na malých
   displejích lepil na okraj. */
.sub-header { padding-top: 110px; padding-bottom: 90px; }
.sub-header .t-h1  { margin-top: 24px; max-width: 960px; }
.sub-header .t-lead { margin-top: 32px; max-width: 640px; }

.sub-sec       { border-top: 1px solid var(--line-sub); }
.sub-sec-inner { padding-top: 100px; padding-bottom: 120px; }
.sub-sec-inner--tight { padding-top: 100px; padding-bottom: 100px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
}
.h2-block { margin-bottom: 64px; }

/* Časová osa (Kam směřujeme). */
.timeline { border-top: 1px solid var(--line-mid); }
.timeline-row {
  display: grid;
  grid-template-columns: 180px 1fr 1.4fr;
  gap: 48px;
  border-bottom: 1px solid var(--line-mid);
  padding: 52px 8px;
}
.timeline-year {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .08em;
  padding-top: 6px;
}
.timeline-row h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.15;
}
.timeline-row p { font-size: 16.5px; line-height: 1.75; color: #4B4840; }

/* Číslované věty na tmavém podkladu. */
.wants { display: flex; flex-direction: column; }
.want-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: baseline;
  border-top: 1px solid var(--line-dark);
  padding: 34px 8px;
}
.want-num { font-size: 14px; color: var(--accent-lt); font-weight: 600; letter-spacing: .08em; }
.want-row p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.35;
}
.kicker-lt { color: var(--accent-lt); }

/* Principy (O nás) — mřížka 2×2 s vnitřními linkami. */
.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-mid);
}
.principles > div { padding: 44px 44px 44px 0; }
.principles > div:nth-child(odd)  { border-right: 1px solid var(--line-mid); }
.principles > div:nth-child(even) { padding: 44px 0 44px 44px; }
.principles > div:nth-child(1),
.principles > div:nth-child(2) { border-bottom: 1px solid var(--line-mid); }
.principles > div:nth-child(3) { padding-bottom: 0; }
.principles > div:nth-child(4) { padding-bottom: 0; }
.prin-num { font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: .08em; }
.principles h3 { margin-top: 16px; }
.principles p  { margin-top: 16px; font-size: 16px; line-height: 1.7; color: #4B4840; }

/* Fakta o společnosti. */
.facts { display: flex; flex-direction: column; }
.facts > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line-dark);
  padding: 18px 0;
}
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-size: 14px; color: #A6A294; }
.facts dd { margin: 0; font-size: 15.5px; text-align: right; }
.facts a { border-bottom: 1px solid currentColor; }

/* Služby (Produkty). */
.services { border-top: 1px solid var(--line-mid); }
.service  { border-bottom: 1px solid var(--line-mid); }
.service-inner {
  display: grid;
  grid-template-columns: 110px 1.5fr 1fr;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 72px;
}
.service-num {
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .08em;
  padding-top: 8px;
}
.service h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -.035em;
  line-height: 1.15;
}
.service-desc { margin-top: 22px; font-size: 16.5px; line-height: 1.75; color: #4B4840; max-width: 560px; }
/* Navazující odstavce popisu drží u sebe těsněji než u nadpisu. */
.service-desc + .service-desc { margin-top: 18px; }
.sub-header .t-lead + .t-lead { margin-top: 18px; }
.service-caps { padding-top: 10px; }
.cap-label {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #6B675C;
  margin-bottom: 18px;
}
.cap-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cap-list li { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; color: #33312B; }
.cap-list li::before { content: '—'; color: var(--accent); }

/* Tři způsoby spolupráce. */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 72px; }
.cards3 > div { border-top: 1px solid var(--line-dark); padding-top: 26px; }
.cards3 h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.2; }
.cards3 p  { margin-top: 14px; font-size: 15.5px; line-height: 1.7; color: #A6A294; }

.mail-lg {
  font-family: var(--serif);
  font-size: 24px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* ---------------------------------------------------------- projekty

   Editorial řádky ve stejném duchu jako .row na úvodní stránce — číslo,
   název patkovým písmem, popis vpravo. Žádná mřížka karet. */

.venture-group-label { margin-bottom: 44px; }

.ventures { border-top: 1px solid var(--line-mid); }

.venture {
  display: grid;
  grid-template-columns: 90px minmax(220px, .9fr) minmax(280px, 1.5fr);
  gap: 3vw;
  padding: 42px 0 46px;
  border-bottom: 1px solid var(--line-mid);
  align-items: start;
  transition: padding-left .28s ease, background .28s ease;
}
.venture:hover {
  padding-left: 12px;
  background: linear-gradient(90deg, rgba(17, 17, 15, .028), transparent 70%);
}
.venture-num { font-size: 12px; color: var(--muted); padding-top: 10px; }

.venture-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(27px, 2.6vw, 40px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.venture-name a:hover { color: var(--accent); }

.venture-headline {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 34ch;
}

/* Vybraný projekt dostane víc prostoru, ne jiný layout. */
.venture--featured { padding: 56px 0 60px; }
.venture--featured .venture-name { font-size: clamp(31px, 3.2vw, 52px); }

.venture-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
.venture-meta span { position: relative; }
.venture-meta span + span::before {
  content: '·';
  position: absolute;
  left: -11px;
}
.venture-flag {
  color: var(--accent);
  border: 1px solid currentColor;
  border-radius: 99px;
  padding: 1px 9px;
  letter-spacing: .1em;
}
.venture-meta .venture-flag + span::before,
.venture-meta span + .venture-flag::before { content: none; }

.venture-text {
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--body);
  max-width: 62ch;
}

.venture-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.venture-tags li {
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--muted);
  border: 1px solid var(--line-mid);
  border-radius: 99px;
  padding: 3px 11px;
}

.venture-links { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 24px; }
.venture-link  { font-size: 14px; border-bottom: 1px solid var(--line-mid); padding-bottom: 2px; }
.venture-link:hover { border-bottom-color: var(--accent); }

.venture-sub {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  margin-top: 40px;
  margin-bottom: 14px;
}

/* ------------------------------------------------------- režim náhledu

   Musí být nepřehlédnutelné, že jde o nezveřejněnou verzi, ale nesmí to
   překážet v posuzování vzhledu. */

.preview-flag {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--dark);
  color: #F2EFE8;
  border-radius: 99px;
  padding: 9px 16px 9px 14px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(17, 17, 15, .22);
}
.preview-flag a {
  color: #A9C9BC;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.preview-flag a:hover { color: #fff; }
.preview-flag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-lt);
  flex: none;
}

@media (max-width: 900px) {
  .venture { grid-template-columns: 60px 1fr; gap: 10px 20px; padding: 32px 0 36px; }
  .venture-side { grid-column: 2; }
  .venture-headline { max-width: none; }
  .preview-flag { left: 10px; right: 10px; bottom: 10px; justify-content: center; }
}

/* ------------------------------------------------------------ chyba 404 */

.err { padding-top: 140px; padding-bottom: 120px; min-height: 60vh; }
.err .t-h1   { margin-top: 24px; }
.err .t-lead { margin: 32px 0 0; max-width: 560px; }

/* ------------------------------------------------------------- animace */

@keyframes dxDrift  { to { transform: translate(-60px, 70px) scale(1.07); } }
@keyframes dxDrift2 { to { transform: translate(48px, -40px) scale(.93); } }
@keyframes dxDrift3 { to { transform: translate(-35px, -45px) scale(1.05); } }
@keyframes dxDrift4 { to { transform: translate(55px, 40px) scale(1.1); } }
@keyframes dxDrift5 { to { transform: translate(-45px, 25px) scale(.88); } }
@keyframes dxMarquee { to { transform: translateX(-50%); } }
@keyframes dxFadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Odkrývání při scrollu se zapne až skriptem — bez JS je obsah rovnou vidět. */
.has-reveal [data-reveal] { opacity: 0; transform: translateY(24px); }
.has-reveal [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero-rings { display: none; }
}

/* ---------------------------------------------------------- responzivita
   Originál neměl jediné media query — na mobilu se rozpadal do vodorovného
   posunu. Mřížky tady kolabují do jednoho sloupce. */

@media (max-width: 1100px) {
  .sec-head    { grid-template-columns: 1fr; gap: 22px; }
  .split-lead  { grid-template-columns: 1fr; gap: 40px; }
  .ops         { gap: 64px; }
  .two-col     { gap: 40px; margin-top: 56px; }
  .row         { grid-template-columns: 60px 1fr; gap: 12px 24px; }
  .row-text    { grid-column: 2; }
  .hero-inner  { gap: 5vw; }
}

@media (max-width: 900px) {
  .hero        { min-height: auto; padding: 80px 0 64px; }
  .hero-inner  { grid-template-columns: 1fr; gap: 48px; }
  .hero-side   { padding-bottom: 0; max-width: none; }
  .ops         { grid-template-columns: 1fr; gap: 64px; }
  .two-col     { grid-template-columns: 1fr; }
  .vrow        { grid-template-columns: 1fr; gap: 14px; }
  .split       { grid-template-columns: 1fr; gap: 32px; }
  .timeline-row  { grid-template-columns: 1fr; gap: 16px; padding: 40px 0; }
  .service-inner { grid-template-columns: 1fr; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
  .service-caps  { padding-top: 0; }
  .cards3      { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; }
  .home-footer-grid { grid-template-columns: 1fr; gap: 48px; padding-bottom: 56px; }
  .principles  { grid-template-columns: 1fr; }
  .principles > div,
  .principles > div:nth-child(even) { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line-mid); }
  .principles > div:nth-child(4) { border-bottom: 0; }
  .sub-header  { padding-top: 72px; padding-bottom: 56px; }
  .sub-sec-inner, .sub-sec-inner--tight { padding-top: 64px; padding-bottom: 64px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 44px 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .prose { margin-top: 48px; }
}

@media (max-width: 760px) {
  :root { --pad: 20px; }
  .nav-inner {
    height: auto;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .nav--wide .nav-inner { height: auto; }
  .nav-right { width: 100%; justify-content: space-between; gap: 12px; }
  .nav-links {
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-cta   { padding: 6px 12px; }
  .brand     { font-size: 24px; }
  .want-row  { grid-template-columns: 1fr; gap: 8px; padding: 26px 0; }
  .facts > div { flex-direction: column; gap: 4px; }
  .facts dd  { text-align: left; }
  .footer-cols { grid-template-columns: 1fr; gap: 40px; }
  .footer-meta { flex-direction: column; gap: 8px; }
  .footer-cta  { gap: 24px; }
  .marquee-track { gap: 28px; }
}
