/* ==========================================================
   CONPEL – hlavní styly (sdílené tématem i náhledem)
   ========================================================== */
/* Feng-šuej: rovnováha pěti prvků – dřevo (jadeitová zeleň), země (písek, jíl),
   kov (světlá šeď), voda (hluboká modrozelená), oheň (jen jemný teplý tón). */
:root {
  --ground: #EFF1EB;
  --surface: #F7F7F2;
  --raised: #FCFCF9;
  --ink: #1F2B27;
  --ink-2: #3F4B46;
  --muted: #69736E;
  --rule: #D3D8CF;
  --rule-soft: #E2E6DE;
  --accent: #5E8C73;
  --accent-ink: #3F6B55;
  --on-accent: #FCFCF9;
  --clay: #B8875C;
  --water: #3E6A7A;
  --focus: #3E6A7A;
  --shadow: 0 1px 2px rgba(31, 43, 39, .04), 0 12px 32px -12px rgba(31, 43, 39, .14);
  --r: 22px;
  --r-sm: 14px;

  --h3d-bg: #EFF1EB;
  --h3d-wall: #FAFAF6;
  --h3d-concrete: #D9DCD3;
  --h3d-glass: #6F8C95;
  --h3d-wood: #C4A27C;
  --h3d-water: #8FB5C2;
  --h3d-dark: #7D8A84;
  --h3d-sky: #DCE7E6;
  --h3d-line: #7C8A83;
  --h3d-accent: #6F9C83;
  --h3d-brick: #CFA27E;
  --h3d-window: #B7D5DC;

  --f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Manrope", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(18px, 4.5vw, 48px);
  --section: clamp(80px, 11vw, 150px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ground: #141A17; --surface: #19201C; --raised: #1F2723;
    --ink: #E6EBE5; --ink-2: #C5CDC7; --muted: #95A09A;
    --rule: #2E3833; --rule-soft: #252E29;
    --accent: #8DB89F; --accent-ink: #A6CDB5; --on-accent: #141A17; --clay: #D3AA80; --water: #8FB5C2; --focus: #8FB5C2;
    --shadow: 0 1px 2px rgba(0,0,0,.2), 0 14px 36px -14px rgba(0,0,0,.5);
    --h3d-bg: #141A17; --h3d-wall: #D8DDD6; --h3d-concrete: #99A39C; --h3d-glass: #4E6970;
    --h3d-wood: #A88C6C; --h3d-water: #5E8C9A; --h3d-dark: #6A7670; --h3d-sky: #33474A;
    --h3d-line: #7E8E86; --h3d-accent: #8DB89F; --h3d-brick: #B78E6C; --h3d-window: #6E9097;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #141A17; --surface: #19201C; --raised: #1F2723;
  --ink: #E6EBE5; --ink-2: #C5CDC7; --muted: #95A09A;
  --rule: #2E3833; --rule-soft: #252E29;
  --accent: #8DB89F; --accent-ink: #A6CDB5; --on-accent: #141A17; --clay: #D3AA80; --water: #8FB5C2; --focus: #8FB5C2;
  --shadow: 0 1px 2px rgba(0,0,0,.2), 0 14px 36px -14px rgba(0,0,0,.5);
  --h3d-bg: #141A17; --h3d-wall: #D8DDD6; --h3d-concrete: #99A39C; --h3d-glass: #4E6970;
  --h3d-wood: #A88C6C; --h3d-water: #5E8C9A; --h3d-dark: #6A7670; --h3d-sky: #33474A;
  --h3d-line: #7E8E86; --h3d-accent: #8DB89F; --h3d-brick: #B78E6C; --h3d-window: #6E9097;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.cp-skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--ground); padding: 8px 14px; z-index: 100; }
.cp-skip:focus { left: 8px; }

.cp-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- typografie ---------- */
.cp-display {
  font-family: var(--f-display);
  font-stretch: 118%;
  font-variation-settings: "wdth" 118;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.98;
  text-wrap: balance;
  margin: 0;
}
.cp-h1 { font-size: clamp(2.4rem, 4.8vw, 4.4rem); }
.cp-h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.cp-h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; line-height: 1.2; margin: 0; letter-spacing: -0.005em; }
.cp-eyebrow, .cp-mono {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.cp-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; }
.cp-eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.cp-lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 36em; margin: 0; }
.cp-prose { max-width: 65ch; color: var(--ink-2); }
.cp-prose p { margin: 0 0 1em; }

/* ---------- tlačítka ---------- */
.cp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 0.95rem/1 var(--f-body);
  padding: 15px 22px;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--ground);
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.cp-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.cp-btn--ghost { background: transparent; color: var(--ink); }
.cp-btn--ghost:hover { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.cp-btn svg { width: 16px; height: 16px; }

/* ---------- hlavička ---------- */
.cp-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--ground) 86%, transparent);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border-bottom: 1px solid var(--rule-soft);
}
.cp-header__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.cp-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.cp-logo__mark { width: 34px; height: 26px; flex: none; }
.cp-logo__word { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; letter-spacing: 0.08em; font-stretch: 125%; font-variation-settings: "wdth" 125; }
.cp-logo img { max-height: 44px; width: auto; }
.cp-nav { margin-left: auto; }
.cp-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.cp-nav a { display: block; padding: 10px 14px; text-decoration: none; font-weight: 500; font-size: 0.97rem; color: var(--ink-2); }
.cp-nav a:hover, .cp-nav .current-menu-item > a { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.cp-header__tel { font-family: var(--f-mono); font-size: 0.9rem; text-decoration: none; padding: 10px 14px; border: 1px solid var(--rule); white-space: nowrap; }
.cp-header__tel:hover { border-color: var(--ink); }
.cp-burger { display: none; margin-left: auto; background: none; border: 1px solid var(--rule); width: 46px; height: 42px; cursor: pointer; color: var(--ink); }
.cp-burger span, .cp-burger span::before, .cp-burger span::after { display: block; width: 20px; height: 2px; background: currentColor; margin: auto; position: relative; content: ""; transition: transform .2s; }
.cp-burger span::before { position: absolute; top: -6px; }
.cp-burger span::after { position: absolute; top: 6px; }
@media (max-width: 900px) {
  .cp-burger { display: block; }
  .cp-header__tel { display: none; }
  .cp-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ground); border-bottom: 1px solid var(--rule); display: none; }
  .cp-nav.is-open { display: block; }
  .cp-nav ul { flex-direction: column; padding: 8px var(--gutter) 20px; }
  .cp-nav a { padding: 14px 0; border-bottom: 1px solid var(--rule-soft); font-size: 1.1rem; }
}

/* ---------- hero ---------- */
.cp-hero { position: relative; border-bottom: 1px solid var(--rule); overflow: hidden; }
.cp-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; min-height: clamp(560px, 78vh, 820px); }
.cp-hero__text { position: relative; z-index: 2; padding-block: 72px; display: grid; gap: 28px; justify-items: start; }
.cp-hero__rename { font-family: var(--f-mono); font-size: 0.82rem; color: var(--muted); border-left: 2px solid var(--accent); padding: 4px 0 4px 12px; margin: 0; }
.cp-hero__rename strong { color: var(--ink); font-weight: 600; }
.cp-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.cp-hero__stage { position: absolute; inset: 0 0 0 30%; z-index: 1; }
.cp-hero__canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; background:
  linear-gradient(transparent 0 0); }
.cp-hero__canvas:active { cursor: grabbing; }
.cp-hero__canvas.is-fallback { background: repeating-linear-gradient(90deg, var(--rule-soft) 0 1px, transparent 1px 48px), repeating-linear-gradient(0deg, var(--rule-soft) 0 1px, transparent 1px 48px); }
.cp-hero__overlay { position: absolute; inset: 0; pointer-events: none; }
.h3d-label {
  position: absolute; left: 0; top: 0;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em;
  color: var(--ink); background: var(--ground); border: 1px solid var(--rule);
  padding: 2px 6px; margin: -10px 0 0 10px; white-space: nowrap;
  transition: opacity .6s; opacity: 0;
}
.h3d-label.is-muted { color: var(--muted); }
.cp-hero__hint { position: absolute; right: var(--gutter); bottom: 18px; z-index: 2; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cp-hero__fade { position: absolute; inset: 0 auto 0 0; width: 55%; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--ground) 45%, transparent); }
@media (max-width: 900px) {
  .cp-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .cp-hero__stage { position: relative; inset: auto; height: 380px; margin-inline: calc(var(--gutter) * -1); }
  .cp-hero__text { padding-block: 48px 8px; }
  .cp-hero__fade { display: none; }
}

/* ---------- čísla ---------- */
.cp-facts { border-bottom: 1px solid var(--rule); background: var(--surface); }
.cp-facts__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.cp-facts__item { padding: 28px 20px 26px; border-left: 1px solid var(--rule); display: grid; gap: 6px; align-content: start; }
.cp-facts__item:first-child { border-left: 0; padding-left: 0; }
.cp-facts__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.cp-facts__num small { font-size: 0.45em; font-weight: 600; letter-spacing: 0; margin-left: 4px; color: var(--muted); }
.cp-facts__label { font-size: 0.92rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 900px) {
  .cp-facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-facts__item { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
  .cp-facts__item:nth-child(-n+2) { border-top: 0; }
}

/* ---------- sekce ---------- */
.cp-section { padding-block: var(--section); }
.cp-section--surface { background: var(--surface); border-block: 1px solid var(--rule); }
.cp-section__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.cp-section__head .cp-lead { justify-self: end; }
@media (max-width: 900px) { .cp-section__head { grid-template-columns: 1fr; } .cp-section__head .cp-lead { justify-self: start; } }

/* kóta – oddělovač ve stylu výkresové kóty */
.cp-kota { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 0.72rem; color: var(--muted); letter-spacing: .06em; margin-bottom: 28px; }
.cp-kota::before, .cp-kota::after { content: ""; height: 11px; background: linear-gradient(var(--muted), var(--muted)) 0 50% / 100% 1px no-repeat; }
.cp-kota::before { border-left: 1px solid var(--muted); }
.cp-kota::after { border-right: 1px solid var(--muted); }

/* ---------- služby ---------- */
.cp-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.cp-service { padding: 32px 32px 36px 0; display: grid; gap: 16px; align-content: start; grid-template-rows: auto auto 1fr auto; }
.cp-service + .cp-service { border-left: 1px solid var(--rule); padding-left: 32px; }
.cp-service__icon { width: 56px; height: 56px; color: var(--ink); }
.cp-service__icon .acc { stroke: var(--accent); }
.cp-service p { margin: 0; color: var(--ink-2); }
.cp-service__partners { display: grid; gap: 8px; justify-items: start; }
.cp-service__partners span { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cp-service__partners div { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.cp-service__link { font-weight: 600; font-size: 0.95rem; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; justify-self: start; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.cp-service__link:hover { color: var(--accent-ink); }
@media (max-width: 900px) {
  .cp-services { grid-template-columns: 1fr; }
  .cp-service, .cp-service + .cp-service { padding: 28px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .cp-service:first-child { border-top: 0; }
}

/* ---------- podmínky / specifikace ---------- */
.cp-spec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; }
.cp-spec__table { width: 100%; border-collapse: collapse; }
.cp-spec__table th, .cp-spec__table td { text-align: left; vertical-align: top; padding: 18px 0; border-top: 1px solid var(--rule); }
.cp-spec__table tr:last-child th, .cp-spec__table tr:last-child td { border-bottom: 1px solid var(--rule); }
.cp-spec__table th { width: 34%; padding-right: 24px; font-family: var(--f-mono); font-weight: 500; font-size: 0.8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 21px; }
.cp-spec__table td { color: var(--ink-2); }
.cp-spec__table td strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  .cp-spec { grid-template-columns: 1fr; gap: 24px; }
  .cp-spec__table th { width: 40%; }
}
@media (max-width: 520px) {
  .cp-spec__table tr { display: grid; border-top: 1px solid var(--rule); padding: 14px 0; }
  .cp-spec__table th, .cp-spec__table td { border: 0 !important; padding: 0; width: auto; }
  .cp-spec__table th { padding-bottom: 4px; }
  .cp-spec__table tr:last-child { border-bottom: 1px solid var(--rule); }
}

/* ---------- reference ---------- */
.cp-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.cp-chip {
  font: 500 0.92rem/1 var(--f-body); padding: 11px 16px; border: 1px solid var(--rule);
  background: transparent; color: var(--ink-2); cursor: pointer; text-decoration: none;
  display: inline-flex; gap: 8px; align-items: center;
}
.cp-chip small { font-family: var(--f-mono); font-size: 0.75rem; color: var(--muted); }
.cp-chip:hover { border-color: var(--ink); color: var(--ink); }
.cp-chip[aria-pressed="true"], .cp-chip.is-active { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.cp-chip[aria-pressed="true"] small, .cp-chip.is-active small { color: inherit; opacity: .7; }

.cp-refs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.cp-ref { grid-column: span 4; position: relative; display: grid; gap: 14px; align-content: start; text-decoration: none; color: inherit; }
.cp-ref.is-wide { grid-column: span 8; }
.cp-ref.is-hidden { display: none; }
.cp-ref__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); max-width: 100%; }
.cp-ref.is-wide .cp-ref__media { aspect-ratio: 8 / 3; }
.cp-ref__media img, .cp-ref__media canvas { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.cp-ref:hover .cp-ref__media img, .cp-ref:hover .cp-ref__media canvas { transform: scale(1.04); }
.cp-ref__count { position: absolute; left: 12px; bottom: 12px; font-family: var(--f-mono); font-size: 0.72rem; background: var(--ground); color: var(--ink); padding: 4px 8px; letter-spacing: .04em; }
.cp-ref__meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.cp-ref__title { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; line-height: 1.25; margin: 0; }
.cp-ref__sub { font-family: var(--f-mono); font-size: 0.75rem; color: var(--muted); letter-spacing: .04em; white-space: nowrap; }
.cp-refs__note { margin-top: 20px; font-size: 0.85rem; color: var(--muted); font-family: var(--f-mono); }
@media (max-width: 1000px) { .cp-ref { grid-column: span 6; } .cp-ref.is-wide { grid-column: span 12; } .cp-ref.is-wide .cp-ref__media { aspect-ratio: 16 / 9; } }
@media (max-width: 600px) { .cp-ref, .cp-ref.is-wide { grid-column: span 12; } }

/* lightbox */
.cp-lb { position: fixed; inset: 0; z-index: 200; background: rgba(10, 12, 13, .97); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; color: #EDEFEC; padding: calc(env(safe-area-inset-top, 0px) + 12px) 16px calc(env(safe-area-inset-bottom, 0px) + 16px); }
.cp-lb[hidden] { display: none !important; }
.cp-lb__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: .05em; }
.cp-lb__stage { display: grid; place-items: center; min-height: 0; position: relative; overflow: hidden; }
.cp-lb__stage img { max-width: calc(100% - 120px); max-height: calc(100vh - 150px); object-fit: contain; width: auto; height: auto; }
@media (max-width: 700px) { .cp-lb__stage img { max-width: 100%; } .cp-lb__nav { top: auto; bottom: -4px; transform: none; } }
.cp-lb__btn { background: transparent; border: 1px solid rgba(255,255,255,.3); color: inherit; width: 48px; height: 48px; cursor: pointer; font-size: 1.2rem; display: grid; place-items: center; }
.cp-lb__btn:hover { border-color: #fff; }
.cp-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.cp-lb__prev { left: 0; } .cp-lb__next { right: 0; }
.cp-lb__cap { text-align: center; padding-top: 12px; font-size: 0.95rem; opacity: .85; }

/* ---------- interiéry / partneři ---------- */
.cp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.cp-crafts { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cp-crafts li { font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: .04em; padding: 7px 11px; border: 1px solid var(--rule); color: var(--ink-2); }
@media (max-width: 900px) { .cp-split { grid-template-columns: 1fr; } }

/* ---------- tým ---------- */
.cp-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cp-person { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 24px; padding: 24px; background: var(--raised); border: 1px solid var(--rule-soft); align-items: start; }
.cp-person__photo { width: 128px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 2rem; color: var(--muted); }
.cp-person__role { font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 6px 0 14px; }
.cp-person blockquote { margin: 0; font-size: 1.05rem; color: var(--ink-2); border-left: 2px solid var(--accent); padding-left: 14px; }
.cp-person__tel { display: inline-block; margin-top: 16px; font-family: var(--f-mono); font-size: 0.9rem; text-decoration: none; border-bottom: 1px solid var(--rule); }
@media (max-width: 900px) { .cp-team { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cp-person { grid-template-columns: 1fr; } .cp-person__photo { width: 100%; max-width: 220px; } }

/* ---------- kontakt ---------- */
.cp-cta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--rule); margin-bottom: clamp(40px, 5vw, 64px); }
.cp-contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.cp-contact h3 { font-family: var(--f-mono); font-weight: 500; font-size: 0.78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.cp-contact p { margin: 0 0 6px; }
.cp-contact__phones { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cp-contact__phones a { font-family: var(--f-mono); font-size: 1.05rem; text-decoration: none; font-variant-numeric: tabular-nums; }
.cp-contact__phones a:hover { color: var(--accent-ink); }
.cp-contact__phones span { display: block; font-size: 0.88rem; color: var(--muted); }
.cp-contact__big { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; text-decoration: none; word-break: break-word; }
@media (max-width: 900px) { .cp-cta, .cp-contact { grid-template-columns: 1fr; } }

/* ---------- patička = razítko výkresu ---------- */
.cp-footer { padding-block: 48px 32px; border-top: 1px solid var(--rule); }
.cp-stamp { display: grid; grid-template-columns: 2fr 1.3fr 1fr 1fr; border: 1px solid var(--ink); font-size: 0.9rem; }
.cp-stamp > div { padding: 12px 14px; border-left: 1px solid var(--ink); display: grid; gap: 4px; align-content: start; }
.cp-stamp > div:first-child { border-left: 0; }
.cp-stamp dt { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cp-stamp dd { margin: 0; font-variant-numeric: tabular-nums; }
.cp-stamp__name { font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; letter-spacing: .04em; }
.cp-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: 0.82rem; color: var(--muted); }
.cp-footer__bottom a { color: inherit; }
@media (max-width: 900px) {
  .cp-stamp { grid-template-columns: 1fr 1fr; }
  .cp-stamp > div:nth-child(3) { border-left: 0; }
  .cp-stamp > div:nth-child(n+3) { border-top: 1px solid var(--ink); }
}
@media (max-width: 480px) {
  .cp-stamp { grid-template-columns: 1fr; }
  .cp-stamp > div { border-left: 0; }
  .cp-stamp > div + div { border-top: 1px solid var(--ink); }
}

/* ---------- detail reference (WordPress) ---------- */
.cp-single__head { padding-block: 56px 32px; display: grid; gap: 18px; }
.cp-single__facts { display: flex; flex-wrap: wrap; gap: 0; border-block: 1px solid var(--rule); margin: 8px 0 0; }
.cp-single__facts > div { padding: 14px 28px 14px 0; margin-right: 28px; border-right: 1px solid var(--rule); }
.cp-single__facts > div:last-child { border-right: 0; }
.cp-single__facts dt { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cp-single__facts dd { margin: 2px 0 0; font-weight: 600; }
.cp-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-block: 32px 64px; }
.cp-gallery a { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.cp-gallery a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.cp-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cp-gallery a:hover img { transform: scale(1.04); }
@media (max-width: 700px) { .cp-gallery { grid-template-columns: 1fr 1fr; } }
.cp-back { font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.cp-back:hover { color: var(--ink); }
.cp-page { padding-block: 56px var(--section); }
.cp-page .entry-content { max-width: 72ch; }
.cp-pagination { display: flex; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.cp-pagination .page-numbers { padding: 10px 14px; border: 1px solid var(--rule); text-decoration: none; }
.cp-pagination .current { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.cp-empty { padding: 40px; border: 1px dashed var(--rule); color: var(--muted); text-align: center; }

/* nástup sekcí – výchozí stav je vždy viditelný */
@media (prefers-reduced-motion: no-preference) {
  .cp-reveal { animation: cp-rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .cp-hero__text > * { animation: cp-rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .cp-hero__text > *:nth-child(2) { animation-delay: .08s; }
  .cp-hero__text > *:nth-child(3) { animation-delay: .16s; }
  .cp-hero__text > *:nth-child(4) { animation-delay: .24s; }
  .cp-hero__text > *:nth-child(5) { animation-delay: .32s; }
}
@keyframes cp-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* při aktivním filtru bez širokých dlaždic, ať mřížka nemá díry */
.cp-refs.is-filtered .cp-ref.is-wide { grid-column: span 4; }
.cp-refs.is-filtered .cp-ref.is-wide .cp-ref__media { aspect-ratio: 4 / 3; }
@media (max-width: 1000px) { .cp-refs.is-filtered .cp-ref.is-wide { grid-column: span 6; } }
@media (max-width: 600px) { .cp-refs.is-filtered .cp-ref.is-wide { grid-column: span 12; } }

/* ---------- sekce referencí (Rodinné domy | Interiéry) ---------- */
.cp-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cp-groups--sub { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cp-group { display: grid; grid-template-rows: auto 1fr; background: var(--raised); border: 1px solid var(--rule-soft); }
.cp-group__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface); max-width: 100%; }
.cp-groups--sub .cp-group__media { aspect-ratio: 4 / 3; }
.cp-group__media img, .cp-group__media canvas { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.cp-group:hover .cp-group__media img, .cp-group:hover .cp-group__media canvas { transform: scale(1.035); }
.cp-group__body { padding: 22px 24px 24px; display: grid; gap: 14px; align-content: start; }
.cp-groups--sub .cp-group__body { padding: 16px 18px 18px; gap: 8px; }
.cp-group__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cp-group__title { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.05; letter-spacing: -0.015em; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.cp-groups--sub .cp-group__title { font-size: 1.2rem; font-weight: 700; }
.cp-group__title a { text-decoration: none; }
.cp-group__title a::after { content: " →"; color: var(--accent-ink); }
.cp-group__count { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.cp-group__desc { margin: 0; color: var(--ink-2); max-width: 52ch; }
.cp-group__subs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cp-group__subs .cp-chip { padding: 9px 13px; font-size: 0.88rem; }
@media (max-width: 1000px) { .cp-groups--sub { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .cp-groups { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .cp-groups--sub { grid-template-columns: 1fr; } }

.cp-subhead { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: clamp(56px, 7vw, 88px) 0 24px; padding-top: 20px; border-top: 1px solid var(--ink); }
.cp-subhead h2 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; }

/* filtr – dva řádky (sekce, podsekce) */
.cp-filter { display: grid; gap: 8px; }
.cp-filter__row { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-filter__sub { padding-left: 14px; border-left: 2px solid var(--accent); }
.cp-chip--sub { padding: 9px 13px; font-size: 0.88rem; }

/* drobečková navigace */
.cp-crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; padding: 0; list-style: none; }
.cp-crumbs a { text-decoration: none; }
.cp-crumbs a:hover { color: var(--ink); }
.cp-crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--rule); }

/* fotogalerie sekce */
.cp-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cp-wall__item { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); position: relative; max-width: 100%; }
.cp-wall__item.is-hidden { display: none; }
.cp-wall__item img, .cp-wall__item canvas { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.cp-wall__item:hover img, .cp-wall__item:hover canvas { transform: scale(1.04); }
@media (max-width: 700px) { .cp-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } }

/* ---------- stránka Reference ---------- */
.cp-secnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 73px); z-index: 20; background: color-mix(in srgb, var(--ground) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-block: 1px solid var(--rule); margin-bottom: 8px; }
.cp-secnav > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; align-items: center; }
.cp-secnav li { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; }
.cp-secnav ul ul { list-style: none; margin: 0; padding: 0 0 0 14px; display: flex; flex-wrap: wrap; gap: 4px 14px; border-left: 1px solid var(--rule); }
.cp-secnav a { text-decoration: none; display: inline-block; padding-block: 12px; font-size: 0.93rem; color: var(--ink-2); }
.cp-secnav a:hover { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.cp-secnav .cp-secnav__main { font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: var(--ink); }
.admin-bar .cp-secnav { top: calc(env(safe-area-inset-top, 0px) + 105px); }
@media (max-width: 900px) { .cp-secnav { position: static; } }

.cp-refblock { padding-top: clamp(56px, 7vw, 96px); scroll-margin-top: 140px; }
.cp-refblock + .cp-refblock { margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--ink); }
.cp-refblock__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 48px; align-items: end; margin-bottom: 36px; }
.cp-refblock__head .cp-lead { font-size: 1.02rem; }
@media (max-width: 900px) { .cp-refblock__head { grid-template-columns: 1fr; } }

/* ---------- upoutávka na úvodní stránce ---------- */
.cp-teaser { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; aspect-ratio: 16 / 7; max-width: 100%; }
.cp-teaser__item { position: relative; overflow: hidden; display: block; background: var(--surface); min-height: 0; }
.cp-teaser__item.is-first { grid-row: span 2; }
.cp-teaser__item:nth-child(4) { grid-column: span 2; }
.cp-teaser__item img, .cp-teaser__item canvas { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.cp-teaser__item:hover img, .cp-teaser__item:hover canvas { transform: scale(1.04); }
.cp-teaser__item span { position: absolute; left: 12px; bottom: 12px; background: var(--ground); color: var(--ink); font-size: 0.85rem; font-weight: 500; padding: 5px 10px; }
.cp-teaser__links { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; margin-top: 12px; align-items: stretch; }
.cp-teaser__sec { display: grid; gap: 4px; align-content: center; padding: 18px 22px; border: 1px solid var(--rule); text-decoration: none; background: var(--raised); transition: border-color .2s; }
.cp-teaser__sec:hover { border-color: var(--ink); }
.cp-teaser__sec strong { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; }
.cp-teaser__sec strong::after { content: " →"; color: var(--accent-ink); }
.cp-teaser__sec span { font-size: 0.88rem; color: var(--muted); }
.cp-teaser__links .cp-btn { justify-content: center; }
@media (max-width: 900px) {
  .cp-teaser { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; }
  .cp-teaser__item { aspect-ratio: 4 / 3; }
  .cp-teaser__item.is-first { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
  .cp-teaser__item:nth-child(4) { grid-column: auto; }
  .cp-teaser__links { grid-template-columns: 1fr; }
}

/* ---------- 3D scény u sekcí ---------- */
.cp-3d { display: block; width: 100%; height: 220px; cursor: grab; touch-action: pan-y; max-width: 100%; }
.cp-3d:active { cursor: grabbing; }
.cp-3d.is-fallback { display: none; }
.cp-section__head.has-3d { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); }
.cp-section__head.has-3d .cp-3d { height: 200px; align-self: end; }
.cp-section__head.has-3d .cp-lead { justify-self: start; }
.cp-refblock__head.has-3d { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); }
.cp-refblock__head.has-3d .cp-3d { height: 190px; align-self: end; }
.cp-3d--side { height: 240px; margin-top: 28px; }
@media (max-width: 900px) {
  .cp-section__head.has-3d, .cp-refblock__head.has-3d { grid-template-columns: 1fr; }
  .cp-section__head.has-3d .cp-3d, .cp-refblock__head.has-3d .cp-3d { height: 180px; order: -1; }
  .cp-3d--side { height: 200px; }
}

/* ---------- upoutávka referencí bez fotek ---------- */
.cp-teaser__links.is-solo { grid-template-columns: 1fr 1fr auto; margin-top: 0; }
.cp-teaser__sec { padding: 26px 28px; }
.cp-teaser__sec strong { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 800; letter-spacing: -0.01em; }

/* ---------- tlačítko nahoru ---------- */
.cp-totop { position: fixed; right: 20px; bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); z-index: 60; width: 48px; height: 48px; display: grid; place-items: center; background: var(--ink); color: var(--ground); border: 0; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.18); transition: background .2s, transform .2s; }
.cp-totop:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-2px); }
.cp-totop svg { width: 18px; height: 18px; }
.cp-totop[hidden] { display: none !important; }
@media (max-width: 700px) { .has-cookies .cp-totop { display: none; } }

/* ---------- cookies ---------- */
.cp-cookies { position: fixed; left: 20px; bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); z-index: 150; width: min(440px, calc(100% - 40px)); background: var(--raised); color: var(--ink); border: 1px solid var(--ink); box-shadow: 0 16px 48px rgba(0,0,0,.18); padding: 22px 22px 20px; display: grid; gap: 12px; font-size: 0.93rem; }
.cp-cookies[hidden] { display: none !important; }
.cp-cookies__title { margin: 0; font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cp-cookies__text { margin: 0; color: var(--ink-2); line-height: 1.5; }
.cp-cookies__text a { color: var(--accent-ink); }
.cp-cookies__settings { display: grid; gap: 8px; padding: 10px 0; border-block: 1px solid var(--rule-soft); }
.cp-cookies__settings label { display: flex; align-items: center; gap: 10px; }
.cp-cookies__settings small { color: var(--muted); margin-left: auto; font-size: 0.8rem; }
.cp-cookies__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cp-cookies__actions .cp-btn { padding: 12px 16px; font-size: 0.9rem; }
.cp-cookies__link { background: none; border: 0; padding: 8px 4px; font: inherit; font-size: 0.88rem; color: var(--ink-2); text-decoration: underline; cursor: pointer; }
.cp-footer__bottom button.cp-cookie-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 520px) { .cp-cookies { left: 0; right: 0; bottom: 0; width: 100%; border-width: 1px 0 0; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); } }
.cp-cta.has-3d { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); }
.cp-cta.has-3d .cp-3d { height: 190px; align-self: end; }
@media (max-width: 900px) { .cp-cta.has-3d { grid-template-columns: 1fr; } .cp-cta.has-3d .cp-3d { height: 170px; order: -1; } }
@media (max-width: 900px) { .cp-teaser__links.is-solo { grid-template-columns: 1fr; } }


/* ==========================================================
   Feng-šuej vrstva: měkčí tvary, lehčí písmo, klidný rytmus
   ========================================================== */
body { font-size: 17px; line-height: 1.7; letter-spacing: 0.005em; }
.cp-display { font-family: var(--f-display); font-weight: 400; font-stretch: normal; font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 96; letter-spacing: -0.015em; line-height: 1.06; }
.cp-h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.cp-h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
.cp-h3, .cp-ref__title, .cp-group__title, .cp-subhead h2, .cp-teaser__sec strong { font-family: var(--f-display); font-weight: 500; font-stretch: normal; font-variation-settings: "SOFT" 100, "WONK" 0; letter-spacing: -0.005em; }
.cp-eyebrow, .cp-mono { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; color: var(--accent-ink); }
.cp-eyebrow::before { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); opacity: .7; }
.cp-lead { color: var(--ink-2); line-height: 1.75; }

/* tlačítka – oblá */
.cp-btn { border-radius: 999px; padding: 15px 26px; font-weight: 600; background: var(--ink); border-color: var(--ink); }
.cp-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.cp-btn--ghost { background: transparent; border-color: var(--rule); }
.cp-btn--ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--accent); }
.cp-chip { border-radius: 999px; border-color: var(--rule); background: var(--raised); }
.cp-chip[aria-pressed="true"], .cp-chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* hlavička */
.cp-header { background: color-mix(in srgb, var(--ground) 80%, transparent); border-bottom-color: transparent; box-shadow: 0 1px 0 var(--rule-soft); }
.cp-logo__word { font-family: var(--f-display); font-weight: 500; font-stretch: normal; font-variation-settings: "SOFT" 100; letter-spacing: 0.14em; font-size: 1.3rem; }
.cp-nav a:hover, .cp-nav .current-menu-item > a { box-shadow: none; color: var(--accent-ink); }
.cp-nav .current-menu-item > a::after, .cp-nav a:hover::after { content: ""; display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin: 3px auto 0; }
.cp-nav a { position: relative; }
.cp-header__tel { border-radius: 999px; border-color: var(--rule); font-family: var(--f-body); font-weight: 600; }

/* hero – měkké světlo, kruh (ensō) za modelem */
.cp-hero { border-bottom: 0; }
.cp-hero::before { content: ""; position: absolute; right: -8%; top: 50%; width: min(820px, 70vw); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle at 45% 40%, color-mix(in srgb, var(--accent) 16%, transparent), color-mix(in srgb, var(--water) 8%, transparent) 45%, transparent 70%); pointer-events: none; }
.cp-hero::after { content: ""; position: absolute; right: 6%; top: 50%; width: min(560px, 50vw); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); pointer-events: none; }
.cp-hero__fade { background: linear-gradient(90deg, var(--ground) 40%, transparent); }
.cp-hero__rename { border-left: 0; padding-left: 0; font-family: var(--f-body); color: var(--muted); }
.cp-hero__rename::before { content: "◯ "; color: var(--accent); }
.h3d-label { border-radius: 999px; font-family: var(--f-body); font-weight: 600; background: var(--raised); border-color: var(--rule-soft); padding: 3px 9px; box-shadow: var(--shadow); }

/* fakta – čtyři klidné kruhy */
.cp-facts { background: transparent; border: 0; padding-block: 8px 24px; }
.cp-facts__list { gap: 18px; }
.cp-facts__item, .cp-facts__item:first-child { border: 0; background: var(--raised); border-radius: var(--r); padding: 26px 26px 24px; box-shadow: var(--shadow); }
.cp-facts__num { font-family: var(--f-display); font-weight: 400; font-stretch: normal; font-variation-settings: "SOFT" 100; color: var(--accent-ink); }
@media (max-width: 900px) { .cp-facts__item { border-top: 0 !important; } }

/* sekce */
.cp-section--surface { background: var(--surface); border-block: 0; border-radius: clamp(28px, 4vw, 56px); margin-inline: clamp(8px, 1.5vw, 24px); }
.cp-kota { display: none; }

/* služby */
.cp-services { border-top: 0; gap: 20px; }
.cp-service, .cp-service + .cp-service { background: var(--raised); border: 0; border-radius: var(--r); padding: 32px; box-shadow: var(--shadow); }
.cp-service__icon { color: var(--accent-ink); width: 50px; height: 50px; stroke-width: 1.2; }
.cp-service__icon .acc { stroke: var(--clay); }
.cp-service__link { border-bottom-color: var(--accent); }
@media (max-width: 900px) { .cp-service, .cp-service + .cp-service { border-top: 0; padding: 26px; } }

/* podmínky */
.cp-spec__table th { font-family: var(--f-body); font-weight: 600; letter-spacing: .12em; color: var(--accent-ink); }
.cp-spec__table th, .cp-spec__table td { border-top-color: var(--rule-soft); }
.cp-spec__table tr:last-child th, .cp-spec__table tr:last-child td { border-bottom-color: var(--rule-soft); }

/* reference, dlaždice, galerie – zaoblené */
.cp-ref__media, .cp-wall__item, .cp-gallery a, .cp-teaser__item { border-radius: var(--r-sm); }
.cp-ref__count { border-radius: 999px; font-family: var(--f-body); font-weight: 600; background: color-mix(in srgb, var(--raised) 88%, transparent); }
.cp-group { border: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--raised); }
.cp-group__title a::after, .cp-teaser__sec strong::after { color: var(--accent); }
.cp-teaser__sec { border: 0; border-radius: var(--r); box-shadow: var(--shadow); background: var(--raised); }
.cp-teaser__links .cp-btn { border-radius: var(--r); }
.cp-subhead { border-top: 1px solid var(--rule); }
.cp-refblock + .cp-refblock { border-top-color: var(--rule); }
.cp-secnav { border-radius: 999px; border: 0; box-shadow: var(--shadow); background: color-mix(in srgb, var(--raised) 92%, transparent); padding-inline: 22px; }
.cp-secnav .cp-secnav__main { font-family: var(--f-display); font-weight: 500; }
.cp-secnav ul ul { border-left-color: var(--rule-soft); }
.cp-secnav a:hover { box-shadow: none; color: var(--accent-ink); }
@media (max-width: 900px) { .cp-secnav { border-radius: var(--r); } }
.cp-crumbs { font-family: var(--f-body); font-weight: 600; letter-spacing: .12em; }
.cp-filter__sub { border-left-color: var(--accent); }

/* řemesla */
.cp-crafts li { border-radius: 999px; font-family: var(--f-body); font-weight: 500; background: var(--raised); border-color: var(--rule-soft); }

/* tým */
.cp-person { border: 0; border-radius: var(--r); box-shadow: var(--shadow); }
.cp-person__photo { border-radius: 50%; width: 120px; aspect-ratio: 1; font-family: var(--f-display); font-weight: 400; color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.cp-person { grid-template-columns: 120px minmax(0, 1fr); }
.cp-person blockquote { border-left-color: var(--clay); font-family: var(--f-display); font-style: italic; font-variation-settings: "SOFT" 100; }
.cp-person__role { font-family: var(--f-body); font-weight: 600; letter-spacing: .12em; color: var(--accent-ink); }
.cp-person__tel { font-family: var(--f-body); font-weight: 600; }

/* kontakt */
.cp-cta { border-bottom-color: var(--rule-soft); }
.cp-contact h3 { font-family: var(--f-body); font-weight: 600; letter-spacing: .14em; color: var(--accent-ink); }
.cp-contact__phones a { font-family: var(--f-body); font-weight: 600; }
.cp-contact__big { font-family: var(--f-display); font-weight: 500; }

/* patička */
.cp-footer { border-top: 0; }
.cp-stamp { border: 0; border-radius: var(--r); background: var(--surface); overflow: hidden; }
.cp-stamp > div { border-left-color: var(--rule-soft) !important; border-top-color: var(--rule-soft) !important; padding: 16px 18px; }
.cp-stamp dt { font-family: var(--f-body); font-weight: 600; letter-spacing: .12em; color: var(--accent-ink); }
.cp-stamp__name { font-family: var(--f-display); font-weight: 500; letter-spacing: .06em; }

/* detail, lightbox, cookies, tlačítko nahoru */
.cp-single__facts { border-color: var(--rule-soft); }
.cp-single__facts dt { font-family: var(--f-body); font-weight: 600; letter-spacing: .12em; color: var(--accent-ink); }
.cp-back { font-family: var(--f-body); font-weight: 600; letter-spacing: .1em; }
.cp-lb { background: rgba(20, 26, 23, .96); }
.cp-lb__btn { border-radius: 50%; }
.cp-lb__stage img { border-radius: var(--r-sm); }
.cp-cookies { border: 0; border-radius: var(--r); box-shadow: 0 24px 60px -18px rgba(31,43,39,.35); }
.cp-cookies__title { font-family: var(--f-body); font-weight: 700; letter-spacing: .14em; color: var(--accent-ink); }
.cp-totop { border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow); }
.cp-totop:hover { background: var(--ink); color: var(--ground); }
@media (max-width: 520px) { .cp-cookies { border-radius: var(--r) var(--r) 0 0; } }
.cp-empty { border-radius: var(--r); }

/* jemnější nástup */
@media (prefers-reduced-motion: no-preference) {
  .cp-hero__text > * { animation-duration: 1.4s; }
}

/* stránky s textem (např. Ochrana osobních údajů) */
.cp-page .entry-content { font-size: 1.02rem; }
.cp-page .entry-content h2 { font-family: var(--f-display); font-weight: 500; font-variation-settings: "SOFT" 100; font-size: clamp(1.35rem, 2vw, 1.6rem); margin: 2.2em 0 .6em; color: var(--ink); }
.cp-page .entry-content ul { padding-left: 1.2em; }
.cp-page .entry-content li { margin-bottom: .5em; }
.cp-page .entry-content li::marker { color: var(--accent); }
.cp-page .entry-content a { color: var(--accent-ink); }
.cp-page__card { background: var(--raised); border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(24px, 5vw, 56px); max-width: 860px; }

/* ---------- logo CONPEL ---------- */
.cp-logo { gap: 12px; }
.cp-logo__mark { width: 42px; height: 42px; flex: none; color: var(--ink); }
.cp-logo__text { display: grid; line-height: 1; gap: 5px; }
.cp-logo__word { font-family: var(--f-display); font-weight: 500; font-size: 1.32rem; letter-spacing: 0.16em; font-variation-settings: "SOFT" 100; }
.cp-logo__pel { color: var(--accent-ink); }
.cp-logo__sub { font-family: var(--f-body); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.cp-stamp__name { display: flex; align-items: center; gap: 10px; }
.cp-stamp__mark { width: 30px; height: 30px; color: var(--ink); flex: none; }
@media (max-width: 420px) { .cp-logo__sub { display: none; } }

/* e-maily v kontaktu */
.cp-contact__mails a { font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; word-break: break-word; }
