/* Centrum AI transformace · Soutisk
   Dvoubarevný tisk (kobalt + rumělka) a černá kresba na papíře. */

/* ---------- Fonty (self-hosted, latin + latin-ext) ---------- */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-tight-latin-wght-normal.woff2") format("woff2-variations"),
       url("../assets/fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-tight-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../assets/fonts/inter-tight-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/dm-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/dm-mono-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/dm-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/dm-mono-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokeny ---------- */
:root {
  --paper: #F3F0E8;
  --sheet: #FBFAF5;
  --sheet-2: #E9E5DA;
  --ink: #111110;
  --ink-2: #4A4741;
  --rule: #111110;
  --hair: #CBC6B8;
  --kobalt: #2340F0;
  --rumelka: #FF4A1C;
  --overprint: #23131A;

  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max: 1360px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --gap: clamp(16px, 2vw, 28px);
  --section-y: clamp(88px, 11vw, 168px);

  --ease: cubic-bezier(.16, .84, .24, 1);
  --snap: 1.2s;
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  line-height: 1.55;
  letter-spacing: .002em;
  font-feature-settings: "ss01" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* Papírové zrno: decentní, jen multiply */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .42  0 0 0 0 .36  0 0 0 .16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
em.ser, .ser {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.005em;
}
.vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
::selection { background: var(--kobalt); color: var(--paper); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--kobalt);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px var(--paper), 3px 3px 0 7px var(--rumelka);
  border-radius: 1px;
}

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 14px;
  font-family: var(--mono); font-size: .8125rem; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Mono popisky */
.mono, .label {
  font-family: var(--mono);
  font-size: .75rem;
  line-height: 1.4;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ---------- Ořezové značky ---------- */
.crop { position: absolute; inset: 0; pointer-events: none; }
.crop i { position: absolute; width: 0; height: 0; }
.crop i::before, .crop i::after { content: ""; position: absolute; background: var(--ink); }
.crop i::before { width: 18px; height: 1px; top: 0; right: 8px; }
.crop i::after { width: 1px; height: 18px; bottom: 8px; left: 0; }
.crop i:nth-child(1) { left: 0; top: 0; }
.crop i:nth-child(2) { right: 0; top: 0; transform: scaleX(-1); }
.crop i:nth-child(3) { left: 0; bottom: 0; transform: scaleY(-1); }
.crop i:nth-child(4) { right: 0; bottom: 0; transform: scale(-1, -1); }

/* ---------- Hlavička ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-head.is-scrolled { border-bottom-color: var(--ink); }
.site-head__in {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.brand svg { width: 34px; height: 34px; flex: none; }
.brand__name {
  font-weight: 600; font-size: 1.0625rem; letter-spacing: -.025em; line-height: 1;
  white-space: nowrap;
}
.nav ul { display: flex; gap: clamp(16px, 2.4vw, 36px); list-style: none; }
.nav a {
  position: relative;
  text-decoration: none;
  font-size: .9375rem; font-weight: 500; letter-spacing: -.01em;
  padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--kobalt); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(56px, 7vw, 104px); }
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: center;
}
.hero__text { grid-column: 1 / span 7; grid-row: 1; position: relative; z-index: 2; }
.hero__fig { grid-column: 8 / span 5; grid-row: 1; margin: 0; position: relative; }
.hero__label { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(28px, 3vw, 44px); }
.chip { display: inline-flex; gap: 0; }
.chip span { width: 10px; height: 10px; display: block; }
.chip span:nth-child(1) { background: var(--kobalt); }
.chip span:nth-child(2) { background: var(--rumelka); margin-left: -4px; mix-blend-mode: multiply; }
.hero h1 {
  font-size: clamp(2.875rem, 1.2rem + 6.4vw, 7.25rem);
  line-height: .92;
  letter-spacing: -.048em;
  font-weight: 600;
  margin-bottom: clamp(28px, 3vw, 44px);
  max-width: 11.5ch;
}
.hero h1 .ser { font-size: 1.1em; letter-spacing: -.02em; color: var(--kobalt); line-height: .8; }
.lead {
  font-size: clamp(1.125rem, 1rem + .5vw, 1.4375rem);
  line-height: 1.42;
  letter-spacing: -.012em;
  max-width: 36ch;
  color: var(--ink);
}
.hero__links { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: clamp(28px, 3vw, 40px); }

/* Odkaz-tlačítko s tiskovou deskou: posunutá deska při najetí zaklapne */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 15px 20px 15px 22px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  text-decoration: none;
  font-weight: 600; font-size: 1rem; letter-spacing: -.012em;
  box-shadow: -5px 5px 0 var(--kobalt);
  transition: box-shadow .45s var(--ease), transform .45s var(--ease);
}
.btn .arr { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover { box-shadow: 0 0 0 var(--kobalt); transform: translate(-2px, 2px); }
.btn:hover .arr { transform: translateY(2px); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--ghost { box-shadow: -5px 5px 0 var(--rumelka); }
.btn--ghost:hover { box-shadow: 0 0 0 var(--rumelka); }

/* Kontrolní proužek */
.strip {
  display: flex; align-items: stretch; gap: 0;
  height: 14px; width: max-content;
}
.strip span { width: 22px; display: block; }
.strip .k100 { background: var(--kobalt); }
.strip .k50 { background: color-mix(in srgb, var(--kobalt) 50%, var(--paper)); }
.strip .k20 { background: color-mix(in srgb, var(--kobalt) 20%, var(--paper)); }
.strip .r100 { background: var(--rumelka); }
.strip .r50 { background: color-mix(in srgb, var(--rumelka) 50%, var(--paper)); }
.strip .r20 { background: color-mix(in srgb, var(--rumelka) 20%, var(--paper)); }
.strip .op { background: var(--overprint); }
.strip .i100 { background: var(--ink); }
.strip .i50 { background: color-mix(in srgb, var(--ink) 50%, var(--paper)); }
.strip .i20 { background: color-mix(in srgb, var(--ink) 20%, var(--paper)); }
.strip .gap { width: 6px; }

.hero__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: 16px;
  border-top: 1px solid var(--ink);
}
.hero__foot .label { color: var(--ink-2); }

/* Hero obraz */
.hero-svg { width: 100%; height: auto; overflow: visible; }
.hero-svg .t { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; fill: var(--ink); }
.hero-svg .t2 { fill: var(--ink-2); }
.fig-cap {
  display: flex; gap: 14px; align-items: baseline;
  margin-top: 14px;
  color: var(--ink-2);
}
.fig-cap b { color: var(--ink); font-weight: 500; white-space: nowrap; }

/* ---------- Soutisk: vrstvy, které zaklapnou ---------- */
.ov { mix-blend-mode: multiply; }
.plate-k, .plate-r, .plate-i {
  transition: transform var(--snap) var(--ease);
  transition-delay: .2s;
}
.js [data-reg]:not(.is-in) .plate-k { transform: translate(-14px, 11px); }
.js [data-reg]:not(.is-in) .plate-r { transform: translate(13px, -10px); }
.js [data-reg]:not(.is-in) .plate-i { transform: translate(0, 0) rotate(0); }

/* Obraz Struktura: kruhy se sjedou */
.js [data-reg]:not(.is-in) .plate-sl { transform: translateX(-46px); }
.js [data-reg]:not(.is-in) .plate-sr { transform: translateX(46px); }
.plate-sl, .plate-sr { transition: transform 1.4s var(--ease) .15s; }

/* ---------- Sekce ---------- */
.section { position: relative; padding-top: var(--section-y); }
.sec-head {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: center;
  padding-top: 14px;
  border-top: 1.5px solid var(--ink);
  margin-bottom: clamp(40px, 5vw, 80px);
}
.sec-head__num { grid-column: 1 / span 2; }
.sec-head__name { grid-column: 3 / span 6; }
.sec-head__mark { grid-column: 12; justify-self: end; width: 22px; height: 22px; }
.sec-intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 28px;
  align-items: start;
}
.h2 {
  font-size: clamp(2.375rem, 1.2rem + 4.2vw, 5.25rem);
  line-height: .96;
  letter-spacing: -.045em;
}
.h2 .ser { font-size: 1.08em; letter-spacing: -.02em; color: var(--kobalt); }
.sec-intro .h2 { grid-column: 1 / span 7; }
.sec-intro .sec-text { grid-column: 8 / span 5; padding-top: .55em; }
.sec-text p { max-width: 42ch; }
.sec-text .big { font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); line-height: 1.45; letter-spacing: -.012em; }

/* 01 Principy */
.principles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--gap);
  margin-top: clamp(64px, 8vw, 120px);
}
.principle {
  position: relative;
  border-top: 1px solid var(--ink);
  padding-top: 20px;
  padding-right: 12px;
}
.principle__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: clamp(36px, 4vw, 64px); }
.principle__glyph { width: 64px; height: 64px; }
.principle h3 { font-size: clamp(1.375rem, 1.1rem + .8vw, 1.875rem); letter-spacing: -.03em; line-height: 1.08; margin-bottom: 14px; }
.principle p { color: var(--ink-2); max-width: 32ch; }

/* 02 Přístup: obr. Tři vrstvy */
.layers {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 32px;
  margin: clamp(64px, 8vw, 120px) 0 0;
  align-items: center;
}
.layers__fig { grid-column: 1 / span 8; position: relative; padding: 28px; }
.layers__cap { grid-column: 9 / span 4; }
.layers__legend { list-style: none; }
.layers__legend li { border-top: 1px solid var(--ink); padding: 16px 0 22px; display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; }
.layers__legend .sw { width: 18px; height: 18px; margin-top: 3px; }
.layers__legend .sw--r { background: var(--rumelka); border-radius: 50%; }
.layers__legend .sw--i { border: 1.5px solid var(--ink); border-radius: 50%; }
.layers__legend .sw--k { background: var(--kobalt); }
.layers__legend h3 { font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: 4px; }
.layers__legend p { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.layers__legend .label { display: block; color: var(--ink-2); margin-bottom: 6px; }
.layers-svg { width: 100%; height: auto; overflow: visible; }
.layers-svg .t { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; fill: var(--ink); }
.layers-svg .L { transform: translate(calc(var(--off, 0) * var(--dx, 0px)), calc(var(--off, 0) * var(--dy, 0px))); }
.layers-svg .Lp { --dx: 26px; --dy: -96px; }
.layers-svg .Lk { --dx: -26px; --dy: 96px; }
.layers-svg .Lt { opacity: calc((var(--off, 0) - .4) * 1.7); }

/* Formáty (mockupy) */
.formats-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  margin-top: clamp(96px, 11vw, 168px); margin-bottom: clamp(40px, 5vw, 72px);
  align-items: end;
}
.formats-head h3 { grid-column: 1 / span 6; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); letter-spacing: -.035em; line-height: 1; }
.formats-head p { grid-column: 8 / span 5; margin: 0; color: var(--ink-2); max-width: 40ch; }
.formats {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 72px;
}
.format { display: flex; flex-direction: column; }
@supports (grid-template-rows: subgrid) {
  .formats { row-gap: 0; }
  .format { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
  .format__body { padding-bottom: 64px; }
}
.format__stage {
  position: relative;
  padding: 52px 30px 40px;
  background: var(--sheet-2);
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
}
.sheet-wrap { position: relative; }
.format__stage .stage-tag { position: absolute; top: 10px; left: 12px; color: var(--ink-2); font-size: .6875rem; }
.format__stage .stage-no { position: absolute; top: 10px; right: 12px; color: var(--ink-2); font-size: .6875rem; }
.format__body { padding-top: 22px; }
.format__body h4 { font-size: 1.375rem; letter-spacing: -.025em; line-height: 1.1; margin-bottom: 8px; }
.format__body p { color: var(--ink-2); margin: 0; max-width: 36ch; }

/* Arch (papír s ořezovými značkami) */
.sheet {
  position: relative;
  background: var(--sheet);
  color: var(--ink);
  padding: 22px 20px 18px;
  font-size: .8125rem;
  line-height: 1.45;
  transition: transform .6s var(--ease);
  box-shadow: 0 1px 0 rgba(17, 17, 16, .08), 0 14px 28px -18px rgba(17, 17, 16, .35);
}
.sheet .crop i::before { width: 12px; right: 6px; }
.sheet .crop i::after { height: 12px; bottom: 6px; }
.sheet--a { transform: rotate(-1.4deg); }
.sheet--b { transform: rotate(1.1deg); }
.sheet--c { transform: rotate(-.7deg); }
.format:hover .sheet { transform: rotate(0deg); }
.sheet__under {
  position: absolute; inset: 0; background: var(--sheet); opacity: .65;
  transform: rotate(2.4deg) translate(6px, 4px);
  box-shadow: 0 10px 20px -16px rgba(17, 17, 16, .4);
}
.sheet--b + .sheet__under, .sheet__under--b { transform: rotate(-2deg) translate(-6px, 6px); }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase;
  border: 1px solid var(--ink); padding: 4px 8px 3px; line-height: 1.2;
  background: var(--paper); color: var(--ink);
}
.tag::before { content: ""; width: 7px; height: 7px; background: var(--rumelka); border-radius: 50%; }
.tag--plain::before { display: none; }
.sheet .tag { position: absolute; top: -12px; left: 16px; z-index: 2; }
.sheet__top {
  display: flex; justify-content: space-between; gap: 8px;
  font-family: var(--mono); font-size: .625rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-2);
  padding-bottom: 10px; border-bottom: 1px solid var(--ink); margin: 6px 0 14px;
}
.sheet__title { font-size: 1.0625rem; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 14px; }
.sheet dl { margin: 0; }
.sheet dt {
  font-family: var(--mono); font-size: .625rem; letter-spacing: .07em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
}
.sheet dt::before { content: ""; width: 8px; height: 8px; background: var(--kobalt); flex: none; }
.sheet dt.warn::before { background: var(--rumelka); border-radius: 50%; }
.sheet dd { margin: 0 0 12px; color: var(--ink-2); }
.sheet dd ol { padding-left: 1.2em; }
.sheet dd li { margin-bottom: 2px; }
.sheet__foot {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--hair); padding-top: 9px; margin-top: 4px;
  font-family: var(--mono); font-size: .625rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2);
}
.sheet__foot svg { width: 14px; height: 14px; }
.inv-meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0 0 14px; }
.inv-meta dt::before { display: none; }
.inv-meta dt { margin: 0; color: var(--ink-2); }
.inv-meta dd { margin: 0; color: var(--ink); }
.inv-prog { list-style: none; margin: 0 0 16px; counter-reset: p; }
.inv-prog li { counter-increment: p; display: grid; grid-template-columns: 26px 1fr; padding: 7px 0; border-top: 1px solid var(--hair); color: var(--ink-2); }
.inv-prog li::before { content: counter(p, decimal-leading-zero); font-family: var(--mono); font-size: .625rem; padding-top: 2px; color: var(--ink); }
.fake-btn {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--kobalt); color: var(--sheet); padding: 9px 12px; font-weight: 600; letter-spacing: -.01em;
}
.fake-btn svg { width: 12px; height: 12px; }
.pb-run { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .625rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); margin: 6px 0 16px; }
.pb-title { font-size: 1.25rem; line-height: 1.05; letter-spacing: -.03em; margin-bottom: 10px; }
.pb-lead { color: var(--ink); margin-bottom: 12px; }
.pb-cols { display: grid; grid-template-columns: 1fr 64px; gap: 14px; align-items: start; margin-bottom: 12px; }
.pb-cols ul { list-style: none; }
.pb-cols li { position: relative; padding-left: 14px; margin-bottom: 5px; color: var(--ink-2); }
.pb-cols li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border: 1px solid var(--ink); border-radius: 50%; }
.pb-quote { font-family: var(--serif); font-style: italic; font-size: 1.1875rem; line-height: 1.12; color: var(--kobalt); border-left: 2px solid var(--rumelka); padding-left: 10px; margin: 0 0 14px; }

/* 03 Komunity */
.struct { margin: clamp(56px, 7vw, 104px) auto 0; max-width: 980px; }
.struct-svg { width: 100%; height: auto; overflow: visible; }
.struct-svg .n { font-family: var(--sans); font-weight: 600; letter-spacing: -.03em; }
.struct-svg .t { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; }
.communities {
  list-style: none;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px;
  margin-top: clamp(48px, 6vw, 88px);
}
.community {
  position: relative;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column;
  transition: box-shadow .5s var(--ease);
}
.community--drivers { box-shadow: 8px 8px 0 var(--rumelka); }
.community--devs { box-shadow: 8px 8px 0 var(--kobalt); }
.community--drivers:hover { box-shadow: 3px 3px 0 var(--rumelka); }
.community--devs:hover { box-shadow: 3px 3px 0 var(--kobalt); }
.community__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(40px, 5vw, 72px); }
.community__dot { width: 22px; height: 22px; border-radius: 50%; }
.community--drivers .community__dot { background: var(--rumelka); }
.community--devs .community__dot { background: var(--kobalt); }
.community h3 { font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem); letter-spacing: -.045em; line-height: 1; margin-bottom: 18px; }
.community p { max-width: 44ch; color: var(--ink-2); }
.community__foot { margin-top: auto; padding-top: 24px; display: flex; align-items: center; gap: 12px; }
.link-big {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 1.125rem; letter-spacing: -.02em;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .22em;
  text-decoration-color: var(--kobalt);
  transition: color .25s;
}
.link-big:hover { color: var(--kobalt); text-decoration-color: var(--rumelka); }
.link-big svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.link-big:hover svg { transform: translate(2px, -2px); }

/* 04 Lidé */
.people {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 64px;
  margin-top: clamp(56px, 7vw, 104px);
}
.person { display: flex; flex-direction: column; }
.person__photo {
  position: relative; isolation: isolate;
  margin: 0 0 22px;
  max-width: 420px;
  aspect-ratio: 1 / 1;
}
.person__photo::before, .person__photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1; mix-blend-mode: multiply;
  transition: transform var(--snap) var(--ease) .2s;
}
.person__photo::before { background: var(--kobalt); }
.person__photo::after { background: var(--rumelka); }
.js .person__photo:not(.is-in)::before { transform: translate(-10px, 10px); }
.js .person__photo:not(.is-in)::after { transform: translate(10px, -10px); }
.person:hover .person__photo::before { transform: translate(-6px, 6px); transition-delay: 0s; transition-duration: .5s; }
.person:hover .person__photo::after { transform: translate(6px, -6px); transition-delay: 0s; transition-duration: .5s; }
.person__img {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background: var(--paper);
}
.person__img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.12) brightness(1.04);
  mix-blend-mode: multiply;
}
/* Jemný tiskový rastr přes fotku */
.person__img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(17,17,16,.10) .55px, transparent 1.1px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
}
.person__photo .crop i::before { width: 14px; right: 7px; }
.person__photo .crop i::after { height: 14px; bottom: 7px; }
.person__role { color: var(--ink-2); margin-bottom: 8px; }
.person h3 { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.25rem); letter-spacing: -.04em; line-height: 1; margin-bottom: 14px; }
.person__badge { margin-bottom: 16px; align-self: flex-start; }
.person p { color: var(--ink-2); max-width: 40ch; }
.person__links { list-style: none; display: flex; gap: 20px; margin-top: auto; padding-top: 8px; }
.person__links a {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: .3em; text-decoration-color: var(--kobalt); text-decoration-thickness: 1.5px;
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 0;
}
.person__links a:hover { color: var(--kobalt); }
.person__links svg { width: 10px; height: 10px; }

/* 05 Kontakt */
.contact .h2 { font-size: clamp(2.75rem, 1.2rem + 5.6vw, 6.5rem); max-width: 12ch; }
.contact__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px;
  align-items: start;
}
.contact__grid .h2 { grid-column: 1 / span 8; }
.contact__side { grid-column: 9 / span 4; padding-top: .6em; }
.contact__side p { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.45; letter-spacing: -.01em; max-width: 34ch; }
.contact-links { list-style: none; margin-top: clamp(56px, 7vw, 104px); border-top: 1.5px solid var(--ink); }
.contact-links li { border-bottom: 1px solid var(--ink); }
.contact-links a {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline;
  padding: clamp(20px, 2.4vw, 32px) 0;
  text-decoration: none;
  transition: color .25s, padding .45s var(--ease);
}
.contact-links .label { grid-column: 1 / span 3; color: var(--ink-2); }
.contact-links .big {
  grid-column: 4 / span 8;
  font-size: clamp(1.625rem, 1rem + 2.4vw, 3rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05;
}
.contact-links .go { grid-column: 12; justify-self: end; width: 28px; height: 28px; align-self: center; transition: transform .4s var(--ease); }
.contact-links a:hover { color: var(--kobalt); }
.contact-links a:hover .go { transform: translate(4px, -4px); }

/* Patička */
.site-foot { margin-top: var(--section-y); padding-bottom: 40px; position: relative; }
.site-foot__in {
  border-top: 1.5px solid var(--ink);
  padding-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px;
}
.foot-brand { grid-column: 1 / span 5; }
.foot-brand svg { width: 56px; height: 56px; margin-bottom: 20px; }
.foot-brand .name { font-weight: 600; font-size: 1.25rem; letter-spacing: -.025em; line-height: 1.15; margin-bottom: 6px; }
.foot-brand .status { color: var(--ink-2); margin-bottom: 22px; }
.foot-brand .mission { color: var(--ink-2); max-width: 44ch; font-size: .9375rem; }
.foot-col { grid-column: span 2; }
.foot-col:first-of-type { grid-column: 8 / span 2; }
.foot-col h2 { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 400; color: var(--ink-2); margin-bottom: 14px; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 6px; }
.foot-col a { text-decoration: none; font-weight: 500; letter-spacing: -.01em; }
.foot-col a:hover { color: var(--kobalt); text-decoration: underline; text-underline-offset: .2em; }
.foot-col .soon { color: var(--ink-2); font-weight: 500; letter-spacing: -.01em; }
.foot-col .soon small { display: block; font-family: var(--mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.foot-bar {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  padding-top: 18px; border-top: 1px solid var(--hair);
  color: var(--ink-2);
}

/* Malé glyfy principů */
.g-k, .g-r { mix-blend-mode: multiply; }

/* ---------- Responzivita ---------- */
@media (max-width: 1100px) {
  .hero__text { grid-column: 1 / span 12; }
  .hero__fig { grid-column: 3 / span 8; grid-row: 2; margin-top: 56px; }
  .layers__fig { grid-column: 1 / span 12; }
  .layers__cap { grid-column: 1 / span 12; }
  .layers__legend { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gap); }
  .formats { grid-template-columns: 1fr 1fr; }
  .people { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / span 6; }
  .foot-col:first-of-type { grid-column: 8 / span 2; }
  .foot-col { grid-column: span 3; }
}
@media (max-width: 860px) {
  .sec-intro .h2, .sec-intro .sec-text { grid-column: 1 / -1; }
  .sec-intro .sec-text { padding-top: 0; }
  .principles { grid-template-columns: 1fr; row-gap: 48px; }
  .principle__top { margin-bottom: 24px; }
  .formats-head h3, .formats-head p { grid-column: 1 / -1; }
  .formats-head p { margin-top: 16px; }
  .communities { grid-template-columns: 1fr; }
  .contact__grid .h2, .contact__side { grid-column: 1 / -1; }
  .contact__side { padding-top: 0; }
  .contact-links .label { grid-column: 1 / -1; margin-bottom: 6px; }
  .contact-links .big { grid-column: 1 / span 11; }
  .contact-links .go { grid-column: 12; grid-row: 2; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-col, .foot-col:first-of-type { grid-column: span 6; }
  .nav ul { gap: 18px; }
}
@media (max-width: 760px) {
  .site-head__in { flex-direction: column; align-items: stretch; gap: 0; padding-top: 12px; padding-bottom: 6px; min-height: 0; }
  .nav { width: 100%; margin-top: 8px; }
  .nav ul { justify-content: space-between; gap: 8px; }
  .nav a { font-size: .875rem; letter-spacing: -.015em; padding: 8px 0; display: inline-block; }
  html { scroll-padding-top: 104px; }
  .hero__fig { grid-column: 1 / -1; margin-top: 40px; }
  .layers__fig { padding: 8px 0; }
  .layers__legend { grid-template-columns: 1fr; }
  .formats { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; row-gap: 56px; }
  .person__photo { max-width: 340px; }
  .sec-head__name { grid-column: 4 / span 7; }
  .sec-head__num { grid-column: 1 / span 3; }
  .fig-hide-sm { display: none; }
  .struct { overflow: hidden; margin-inline: calc(-1 * var(--gutter)); }
  .struct-svg { width: 132%; max-width: none; margin-left: -16%; }
  .hero__label { font-size: .6875rem; letter-spacing: .04em; }
  .struct .fig-cap { padding-inline: var(--gutter); }
  .person__photo .crop i::before { width: 10px; right: 5px; }
  .person__photo .crop i::after { height: 10px; bottom: 5px; }
  .crop i::before { width: 10px; right: 5px; }
  .crop i::after { height: 10px; bottom: 5px; }
}
@media (max-width: 420px) {
  .brand__name { font-size: 1rem; }
  .hero h1 { letter-spacing: -.045em; }
  .btn { width: 100%; justify-content: space-between; }
  .strip span { width: 16px; }
}

/* ---------- Omezený pohyb ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
  .js [data-reg]:not(.is-in) .plate-k,
  .js [data-reg]:not(.is-in) .plate-r,
  .js [data-reg]:not(.is-in) .plate-sl,
  .js [data-reg]:not(.is-in) .plate-sr,
  .js .person__photo:not(.is-in)::before,
  .js .person__photo:not(.is-in)::after { transform: none; }
  .layers-svg .L { transform: none; }
  .layers-svg .Lt { opacity: 0; }
}

@media print {
  body::after, .site-head { display: none; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .format:nth-child(3) { grid-column: 1 / -1; }
  .format:nth-child(3) .format__stage { padding-inline: calc(25% + 8px); }
}
