/* ============================================================
   ELVIAN PROJECTS — prototype v1
   Brand: manuál vizuálního stylu Elvian 2026 (Míša)
   Navy #1F2A44 · Ivory #FAF6EE · Warm Beige #E8DCC8 · Soft Gold #C6A75E
   Typo: Playfair Display (didone, cyrilice) · Inter · JetBrains Mono
   ============================================================ */

:root {
  --navy:       #1F2A44;
  --navy-2:     #172035;   /* deeper section bg */
  --abyss:      #0D1322;   /* darkest */
  --ivory:      #FAF6EE;
  --beige:      #E8DCC8;
  --gold:       #C6A75E;
  --gold-dim:   rgba(198, 167, 94, 0.55);
  --gold-faint: rgba(198, 167, 94, 0.18);
  --ivory-dim:  rgba(250, 246, 238, 0.68);
  --ivory-faint:rgba(250, 246, 238, 0.38);
  --ink:        #1F2A44;
  --ink-dim:    rgba(31, 42, 68, 0.72);
  --paper-line: rgba(31, 42, 68, 0.14);

  --serif: "Playfair Display", "Georgia", serif;
  --sans:  "Inter", -apple-system, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", "SF Mono", monospace;

  --w: min(1200px, calc(100vw - 48px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--abyss);
  color: var(--ivory);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--beige); color: var(--navy); }

/* ---- film grain ---- */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ---- scroll progress ---- */
#progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), #e3cd93);
  z-index: 10000;
  transition: width 0.1s linear;
}

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  padding: 14px 40px;
  background: rgba(13, 19, 34, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(198, 167, 94, 0.18);
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
  text-decoration: none;
}
.brand img { height: 20px; display: block; transform: translateY(1px); }
.brand .divider {
  width: 1px; height: 18px;
  background: var(--gold);
  align-self: center;
}
.brand .descriptor {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.42em;
  color: var(--gold);
  text-transform: uppercase;
  align-self: center;
  transform: translateY(0.5px);
}
.nav-right { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--ivory-dim);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 450;
  letter-spacing: 0.04em;
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after { width: 100%; }
.langs {
  display: flex;
  gap: 2px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}
.langs a {
  color: var(--ivory-faint);
  text-decoration: none;
  padding: 4px 7px;
  border: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.langs a.active { color: var(--gold); border-color: var(--gold-dim); }
.langs a:not(.active):hover { color: var(--ivory); }
#burger { display: none; }

/* ============ HERO ============ */
header.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%; height: 115%;
  object-fit: cover;
  filter: saturate(0.62) brightness(0.78) contrast(1.06);
  will-change: transform;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 32% 78%, rgba(198,167,94,0.2), transparent 55%),
    linear-gradient(180deg, rgba(13,19,34,0.68) 0%, rgba(23,32,53,0.42) 45%, rgba(13,19,34,0.95) 100%);
}
.hero-inner {
  width: var(--w);
  margin: 0 auto;
  padding-top: 90px;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 16px;
}
.eyebrow::before {
  content: "";
  width: 42px; height: 1px;
  background: var(--gold);
  flex: none;
}
h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(46px, 7vw, 104px);
  line-height: 1.03;
  letter-spacing: -0.015em;
  margin: 28px 0 0;
  max-width: 16ch;
}
h1 .accent {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  font-size: 0.62em;
  margin-top: 18px;
  letter-spacing: 0;
}
.hero-sub {
  margin-top: 30px;
  max-width: 54ch;
  font-size: 17px;
  font-weight: 300;
  color: var(--ivory-dim);
  line-height: 1.75;
}
.hero-cta { margin-top: 44px; display: flex; gap: 18px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}
.btn-solid { background: var(--ivory); color: var(--navy); border: 1px solid rgba(198,167,94,0.65); }
.btn-solid:hover { background: var(--beige); border-color: var(--gold); transform: translateY(-2px); }
.btn-ghost {
  color: var(--ivory);
  border: 1px solid rgba(250,246,238,0.35);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero-hud {
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--w);
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ivory-faint);
}
.hud-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  position: relative;
  overflow: visible;
}
.hud-line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px 2px rgba(198,167,94,0.7);
  transform: translateY(-50%);
  animation: travel 7s linear infinite;
}
@keyframes travel {
  0%   { left: 0%;   opacity: 0; }
  6%   { opacity: 1; }
  94%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ============ SECTIONS COMMON ============ */
section { position: relative; }
.wrap { width: var(--w); margin: 0 auto; }
.pad { padding: 130px 0; }

.sec-head { margin-bottom: 64px; }
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.15;
  margin-top: 22px;
  letter-spacing: -0.005em;
}
.gold-rule {
  width: 64px; height: 2px;
  background: var(--gold);
  margin-top: 26px;
}

/* light (ivory) sections */
.light { background: var(--ivory); color: var(--ink); }
.light .eyebrow { color: #a8863c; }
.light .eyebrow::before { background: #a8863c; }
.light p { color: var(--ink-dim); }

/* beige band */
.band-beige { background: var(--beige); color: var(--ink); }

/* ============ INTRO ============ */
.intro-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 72px;
  align-items: start;
}
.claim {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.32;
  color: var(--ink);
}
.claim em {
  font-style: italic;
  color: #a8863c;
}
.intro-side p { font-size: 15.5px; line-height: 1.8; font-weight: 380; }
.intro-side p + p { margin-top: 18px; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--paper-line);
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  margin-top: 88px;
}
.fact {
  background: var(--ivory);
  padding: 34px 34px 30px;
}
.fact .k {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: #a8863c;
  text-transform: uppercase;
}
.fact .v {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.65;
}

/* ============ SERVICES ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.card {
  grid-column: span 2;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--ivory);
  padding: 42px 38px 38px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.card:nth-child(1), .card:nth-child(2) { grid-column: span 3; }
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(13,19,34,0.45); }
.card:hover::before { transform: scaleX(1); }
.card .num {
  position: absolute;
  top: 34px; right: 34px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ivory-faint);
}
.card svg { width: 56px; height: 56px; flex: none; }
.card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 23px;
  line-height: 1.25;
  margin: 26px 0 14px;
  max-width: 18ch;
}
.card p {
  font-size: 14.5px;
  font-weight: 320;
  color: var(--ivory-dim);
  line-height: 1.7;
  margin-top: auto;
}

/* ============ PROCESS (dark) ============ */
.dark { background: var(--navy-2); }
.dark-deep { background: var(--abyss); }
.dots-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(250,246,238,0.055) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  padding-top: 26px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 0; left: 8px; right: 8px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-faint) 60%, transparent);
}
.step { position: relative; }
.step::before {
  content: "";
  position: absolute;
  top: -30px; left: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--abyss);
  border: 1.5px solid var(--gold);
}
.step .num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 12px 0 12px;
}
.step p { font-size: 14px; font-weight: 320; color: var(--ivory-dim); line-height: 1.7; }

.approach {
  margin-top: 90px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 42px;
  align-items: center;
  border: 1px solid rgba(198,167,94,0.28);
  padding: 44px 48px;
  background: linear-gradient(120deg, rgba(198,167,94,0.06), transparent 60%);
}
.approach svg { width: 72px; height: 72px; flex: none; }
.approach h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 10px;
}
.approach p { font-size: 15px; color: var(--ivory-dim); line-height: 1.75; max-width: 72ch; }

/* ============ PHOTO QUOTE BAND ============ */
.quote-band {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.quote-band img {
  position: absolute;
  inset: 0;
  width: 100%; height: 120%;
  object-fit: cover;
  filter: saturate(0.4) brightness(0.5) contrast(1.05);
  will-change: transform;
}
.quote-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,19,34,0.88), rgba(23,32,53,0.55) 50%, rgba(13,19,34,0.92));
}
.quote-inner { position: relative; z-index: 2; padding: 100px 24px; }
.quote-inner .mark {
  width: 34px; height: 34px;
  margin: 0 auto 30px;
  display: block;
  opacity: 0.9;
}
.quote-inner blockquote {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(38px, 5.4vw, 70px);
  letter-spacing: 0.01em;
}
.quote-inner .sub {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============ MAP / AXIS ============ */
.axis-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.axis-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: saturate(0.9) brightness(0.85);
}
.axis-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--abyss) 4%, rgba(13,19,34,0.55) 45%, var(--abyss) 96%);
}
.axis-svg { width: 100%; height: auto; display: block; margin: 8px 0 30px; }
.axis-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.axis-col h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.axis-col h3 .coord {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 400;
}
.axis-col p { margin-top: 14px; font-size: 15px; font-weight: 320; color: var(--ivory-dim); line-height: 1.75; }
.axis-note {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid rgba(250,246,238,0.12);
  font-size: 15px;
  color: var(--ivory-dim);
  max-width: 70ch;
}
.axis-note em { color: var(--gold); font-style: normal; }

/* ============ WHY ============ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
}
.why {
  background: var(--ivory);
  padding: 46px 48px;
  position: relative;
  transition: background 0.35s;
}
.why:hover { background: #fffdf8; }
.why .num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #a8863c;
}
.why h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  margin: 14px 0 12px;
  color: var(--ink);
}
.why p { font-size: 15px; line-height: 1.75; font-weight: 380; }

/* ============ GROUP BAND ============ */
.group-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.group-grid h2 { margin-top: 18px; }
.entity { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid rgba(31,42,68,0.16); }
.entity:first-child { padding-top: 6px; }
.entity:last-child { border-bottom: none; }
.entity .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #a8863c;
  margin-top: 8px;
  flex: none;
}
.entity h4 { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.entity h4 span {
  font-family: var(--mono);
  font-size: 11px;
  color: #a8863c;
  letter-spacing: 0.14em;
  margin-left: 10px;
  font-weight: 400;
}
.entity p { font-size: 14.5px; margin-top: 6px; }

/* ============ CONTACT ============ */
.contact-bg {
  position: absolute; inset: 0; overflow: hidden;
}
.contact-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.5) brightness(0.42);
}
.contact-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--abyss) 0%, rgba(13,19,34,0.66) 55%, rgba(13,19,34,0.9) 100%);
}
.contact-inner { position: relative; text-align: center; padding: 150px 0 140px; }
.contact-inner h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.contact-inner .lead {
  margin-top: 22px;
  color: var(--ivory-dim);
  font-weight: 300;
  font-size: 16.5px;
  max-width: 52ch;
  margin-left: auto; margin-right: auto;
}
.mail {
  display: inline-block;
  margin-top: 46px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 52px);
  color: var(--ivory);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 8px;
  transition: color 0.3s, border-color 0.3s;
}
.mail:hover { color: var(--gold); border-color: var(--gold); }
.addresses {
  margin-top: 70px;
  display: flex;
  justify-content: center;
  gap: 90px;
  flex-wrap: wrap;
}
.addr { text-align: left; }
.addr .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.addr p { margin-top: 10px; font-size: 14.5px; color: var(--ivory-dim); line-height: 1.7; }

/* ============ FOOTER ============ */
footer {
  background: var(--abyss);
  border-top: 1px solid rgba(198,167,94,0.22);
  padding: 54px 0 46px;
}
.foot {
  width: var(--w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.foot .brand img { height: 16px; }
.foot .brand .descriptor { font-size: 10.5px; }
.foot-meta {
  font-size: 12.5px;
  color: var(--ivory-faint);
  line-height: 1.9;
  max-width: 60ch;
}
.foot-meta a { color: var(--ivory-dim); text-decoration: none; }
.foot-meta a:hover { color: var(--gold); }
.foot-right { text-align: right; }
.foot-right .langs { justify-content: flex-end; margin-bottom: 14px; }
.foot-right .copy { font-family: var(--mono); font-size: 11px; color: var(--ivory-faint); letter-spacing: 0.08em; }

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
.noanim .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.shot header.hero { min-height: 880px; }
.shot .quote-band { min-height: 540px; }
.shot .hero-hud { bottom: 34px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .card, .card:nth-child(1), .card:nth-child(2) { grid-column: span 1; min-height: 280px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
  .steps::before { display: none; }
  .step::before { display: none; }
  .intro-grid, .group-grid, .axis-cols { grid-template-columns: 1fr; gap: 44px; }
  .facts { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .approach { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  nav { padding: 16px 20px; }
  nav.scrolled { padding: 12px 20px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(13,19,34,0.97);
    padding: 12px 24px 20px;
    border-bottom: 1px solid rgba(198,167,94,0.2);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; font-size: 15px; }
  #burger {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 26px; height: 20px;
    position: relative;
  }
  #burger span, #burger::before, #burger::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 1.5px;
    background: var(--ivory);
  }
  #burger::before { top: 2px; }
  #burger span { top: 50%; }
  #burger::after { bottom: 2px; }
  .pad { padding: 90px 0; }
  .hero-hud { display: none; }
  .card { padding: 32px 26px; }
  .why { padding: 34px 26px; }
  .addresses { gap: 40px; }
  .brand .descriptor { letter-spacing: 0.3em; font-size: 11px; }
  .foot { flex-direction: column; }
  .foot-right { text-align: left; }
  .foot-right .langs { justify-content: flex-start; }
}


/* ============================================================
   v2 ESKALACE — kino vrstva (2026-08-14 večer)
   ============================================================ */

/* ---- prolog ---- */
#prolog {
  position: fixed; inset: 0; z-index: 9500;
  background: var(--abyss);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  animation: prologFade 0.7s var(--ease) 1.45s forwards;
}
.prolog-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.prolog-inner img { height: 30px; opacity: 0; animation: prologIn 0.8s var(--ease) 0.12s forwards; }
.prolog-descriptor {
  font-family: var(--sans); font-weight: 500; font-size: 12px;
  letter-spacing: 0.52em; text-transform: uppercase; color: var(--gold);
  margin-left: 0.52em; opacity: 0;
  animation: prologIn 0.8s var(--ease) 0.34s forwards;
}
.prolog-inner i { display: block; width: 0; height: 1px; background: var(--gold); animation: prologLine 1s var(--ease) 0.4s forwards; }
@keyframes prologIn   { to { opacity: 1; } }
@keyframes prologLine { to { width: 230px; } }
@keyframes prologFade { to { opacity: 0; visibility: hidden; } }
.noanim #prolog, .shot #prolog { display: none; }

/* ---- kino zoom hero ---- */
.hero-bg { animation: heroZoom 24s cubic-bezier(0.18, 0.6, 0.3, 1) both; }
@keyframes heroZoom { from { transform: scale(1.11); } to { transform: scale(1.02); } }
.noanim .hero-bg { animation: none; }

/* ---- marquee predel (v6: mensi, tmave modry, klidnejsi) ---- */
.marquee {
  background: var(--ivory);
  overflow: hidden;
  padding: 30px 0 34px;
  border-top: 1px solid var(--paper-line);
}
.marquee-track {
  display: flex; align-items: center; gap: 64px;
  width: max-content;
  animation: mq 70s linear infinite;
}
.marquee-track span {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(17px, 2vw, 27px); line-height: 1;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(31, 42, 68, 0.38);
}
.marquee-track i { font-style: normal; color: rgba(198, 167, 94, 0.75); font-size: 9px; flex: none; }
@keyframes mq { to { transform: translateX(-50%); } }
.noanim .marquee-track { animation: none; }

/* ---- inzenyrska perokresba (draw-on-scroll) ---- */
.engineering {
  display: block;
  width: min(1360px, calc(100% - 48px));
  margin: 96px auto -34px;
}
.engineering path, .engineering rect, .engineering circle {
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.engineering.in path, .engineering.in rect, .engineering.in circle {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.8s var(--ease);
}
.engineering.in g:nth-of-type(2) path, .engineering.in g:nth-of-type(2) rect, .engineering.in g:nth-of-type(2) circle { transition-delay: 0.75s; }
.engineering.in g:nth-of-type(3) path { transition-delay: 0.3s; }
.noanim .engineering path, .noanim .engineering rect, .noanim .engineering circle { stroke-dashoffset: 0 !important; transition: none !important; }

/* ---- ghost numeraly (why) ---- */
.why { overflow: hidden; }
.why::after {
  position: absolute; right: 20px; bottom: -22px;
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 128px; line-height: 1;
  color: rgba(198, 167, 94, 0.13);
  pointer-events: none;
}
.why-grid .why:nth-child(1)::after { content: "I"; }
.why-grid .why:nth-child(2)::after { content: "II"; }
.why-grid .why:nth-child(3)::after { content: "III"; }
.why-grid .why:nth-child(4)::after { content: "IV"; }

/* ---- monumentalni paticka (v6: mensi, prostrkane sans jako logotyp) ---- */
.foot-word {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(52px, 8.5vw, 132px);
  line-height: 1;
  text-align: center;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.085);
  user-select: none;
  margin: 10px auto 48px;
  white-space: nowrap;
  overflow: hidden;
}
footer { padding-top: 64px; }

/* ---- reduced motion / mobile ---- */
@media (prefers-reduced-motion: reduce) {
  #prolog { display: none; }
  .marquee-track { animation: none; }
  .hero-bg { animation: none; }
  .engineering path, .engineering rect, .engineering circle { stroke-dashoffset: 0; transition: none; }
}
@media (max-width: 760px) {
  .prolog-inner img { height: 24px; }
  .engineering { margin: 64px auto -18px; }
  .marquee { padding: 28px 0 32px; }
  .foot-word { margin-bottom: 38px; }
}


/* ---- v3: hlas skupiny (conviction, principy, cesta) ---- */
.light .conviction {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
}
.light .conviction em { color: #a8863c; }

.tl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  padding-top: 26px;
}
.tl::before {
  content: "";
  position: absolute;
  top: 0; left: 8px; right: 8px;
  height: 1px;
  background: linear-gradient(90deg, #a8863c, rgba(168, 134, 60, 0.25) 70%, transparent);
}
.tl-item { position: relative; }
.tl-item::before {
  content: "";
  position: absolute;
  top: -30px; left: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1.5px solid #a8863c;
}
.tl-year {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: #a8863c;
  text-transform: uppercase;
}
.tl-item h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 12px 0 10px;
  color: var(--ink);
}
.tl-item p { font-size: 14.5px; line-height: 1.7; font-weight: 380; }
@media (max-width: 1000px) {
  .tl { grid-template-columns: 1fr 1fr; gap: 44px 32px; }
  .tl::before, .tl-item::before { display: none; }
}


/* ============================================================
   v5 — OBRAZOVÁ VRSTVA (rytmus Nokia/EPH: text ⇄ vizuál)
   ============================================================ */

/* ---- fakta → foto dlaždice ---- */
.fact { padding: 0; display: flex; flex-direction: column; }
.fact-media { position: relative; height: 188px; overflow: hidden; }
.fact-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.6) brightness(0.84) contrast(1.04);
  transition: transform 0.9s var(--ease);
}
.fact:hover .fact-media img { transform: scale(1.05); }
.fact-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,42,68,0.22), rgba(31,42,68,0) 50%);
}
.fact-body { padding: 26px 32px 30px; }

/* ---- karty služeb s fotohlavičkou ---- */
.card { padding: 0; }
.card-media { position: relative; height: 176px; overflow: hidden; flex: none; }
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.5) brightness(0.74) contrast(1.06);
  transition: transform 0.9s var(--ease);
}
.card:hover .card-media img { transform: scale(1.06); }
.card-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,19,34,0.12) 35%, var(--navy) 100%);
}
.card .num { z-index: 3; color: rgba(250,246,238,0.8); text-shadow: 0 1px 8px rgba(13,19,34,0.7); }
.card-body {
  padding: 0 34px 34px;
  display: flex; flex-direction: column; flex: 1;
}
.card-body svg {
  width: 46px; height: 46px;
  margin-top: -23px;
  position: relative; z-index: 2;
  filter: drop-shadow(0 2px 10px rgba(13,19,34,0.55));
}
.card-body h3 { margin: 20px 0 12px; }

/* ---- sekce VRSTVY — schéma soustavy ---- */
.layers-sec { border-top: 1px solid rgba(198,167,94,0.16); }
.layers-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 84px;
  align-items: center;
}
.layers-grid h2 { margin-top: 22px; }
.layers-lead { margin-top: 26px; font-size: 15.5px; line-height: 1.8; font-weight: 320; color: var(--ivory-dim); }
.layer-rows { margin-top: 40px; }
.layer-row {
  display: flex; gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(250,246,238,0.1);
}
.layer-row:last-child { border-bottom: 1px solid rgba(250,246,238,0.1); }
.layer-row .ln {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
  padding-top: 2px;
  flex: none;
}
.layer-row h4 { font-size: 15.5px; font-weight: 600; color: var(--ivory); letter-spacing: 0.01em; }
.layer-row p { font-size: 13.5px; color: var(--ivory-dim); margin-top: 5px; line-height: 1.65; font-weight: 320; }
.layers-svg { display: block; width: 100%; height: auto; }
.layers-svg text { user-select: none; }

/* ---- principy — foto split (EPH) ---- */
.why-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  border: 1px solid var(--paper-line);
  background: var(--paper-line);
  gap: 1px;
}
.why-photo { position: relative; overflow: hidden; }
.why-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.55) brightness(0.9) contrast(1.03);
}
.why-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(31,42,68,0.04), rgba(31,42,68,0.38));
}
.why-photo .ph-cap {
  position: absolute; left: 28px; bottom: 24px; z-index: 2;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(250,246,238,0.94);
  display: flex; align-items: center; gap: 12px;
}
.why-photo .ph-cap::before { content: ""; width: 30px; height: 1px; background: var(--gold); }
.why-split .why-grid { grid-template-columns: 1fr; border: none; }

/* ---- skupina — organizační schéma ---- */
.org-svg { display: block; width: 100%; max-width: 440px; height: auto; margin-top: 46px; }

@media (max-width: 1000px) {
  .layers-grid { grid-template-columns: 1fr; gap: 52px; }
  .why-split { grid-template-columns: 1fr; }
  .why-photo { min-height: 320px; }
  .fact-media { height: 160px; }
  .org-svg { margin-top: 30px; }
}

/* ===== VELIN — dispecink / ridici a dohledova vrstva ===== */
.velin-sec { background: var(--abyss); }
.velin-lead {
  margin-top: 20px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 380;
  color: var(--ivory-dim);
}
.console {
  border: 1px solid rgba(198, 167, 94, 0.28);
  border-radius: 8px;
  background: #0A0F1B;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  margin-top: 14px;
}
.console-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 22px;
  border-bottom: 1px solid rgba(250, 246, 238, 0.08);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: rgba(250, 246, 238, 0.55);
}
.console-bar .c-live { display: flex; align-items: center; gap: 9px; color: rgba(250, 246, 238, 0.78); }
.c-live i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 9px rgba(198, 167, 94, 0.9);
  animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.console-body {
  display: grid;
  grid-template-columns: 1fr 252px;
  background-image:
    linear-gradient(rgba(250, 246, 238, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 246, 238, 0.028) 1px, transparent 1px);
  background-size: 44px 44px;
}
.sld { display: block; width: 100%; height: auto; padding: 10px 8px 2px; }
.sld .flow { stroke-dasharray: 3 12; animation: flowMove 1.15s linear infinite; }
@keyframes flowMove { to { stroke-dashoffset: -15; } }
.sld .p-dot { animation: livePulse 2.1s ease-in-out infinite; }
.telemetry {
  border-left: 1px solid rgba(250, 246, 238, 0.08);
  background: rgba(13, 19, 34, 0.55);
  padding: 26px 24px;
  font-family: var(--mono);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tm { display: flex; align-items: baseline; gap: 10px; }
.tm .k { color: var(--gold); font-size: 12px; width: 14px; }
.tm .v { color: var(--ivory); font-size: 27px; font-weight: 500; font-variant-numeric: tabular-nums; }
.tm .u { color: rgba(250, 246, 238, 0.45); font-size: 12px; }
.tm-div { height: 1px; background: rgba(250, 246, 238, 0.1); margin: 8px 0; }
.tmr {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 10px; letter-spacing: 0.14em;
  color: rgba(250, 246, 238, 0.5);
}
.tmr b { color: var(--gold); font-weight: 500; letter-spacing: 0.1em; }
.console-cap {
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 380;
  color: rgba(250, 246, 238, 0.42);
}
.velin-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 58px;
}
.vendor-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 12px;
}
.vcol h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  color: var(--ivory);
  margin-bottom: 12px;
}
.vcol p { font-size: 14.5px; line-height: 1.75; font-weight: 380; color: rgba(250, 246, 238, 0.62); }
.noanim .sld .flow, .noanim .c-live i, .noanim .sld .p-dot { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .sld .flow, .c-live i, .sld .p-dot { animation: none; }
}
@media (max-width: 1000px) {
  .console-body { grid-template-columns: 1fr; }
  .telemetry {
    border-left: none;
    border-top: 1px solid rgba(250, 246, 238, 0.08);
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px 28px;
  }
  .tm-div { display: none; }
  .velin-cols { grid-template-columns: 1fr; gap: 30px; margin-top: 40px; }
}

/* ============================================================
   v6 — RYTMUS & DŮVĚRA (zadání Jiří 17.8. večer)
   Soumrakové podbarvení tmavých sekcí (paleta z hero fotky),
   sekce Vrstvy překlopena do světlé, Skupina = foto + entity
   karty, Cesta s miniaturami, právní patro (GDPR/cookies/OP).
   ============================================================ */

/* ---- soumrakove podbarveni (oranzova/fialova z uvodniho slajdu) ---- */
.dark.dots-bg {
  background:
    radial-gradient(1100px 540px at 86% -6%, rgba(226, 124, 66, 0.14), transparent 62%),
    radial-gradient(880px 520px at -4% 106%, rgba(128, 94, 214, 0.12), transparent 60%),
    var(--navy-2);
}
.velin-sec {
  background:
    radial-gradient(1150px 560px at 12% -8%, rgba(226, 124, 66, 0.11), transparent 60%),
    radial-gradient(950px 540px at 102% 102%, rgba(128, 94, 214, 0.10), transparent 58%),
    var(--abyss);
}

/* ---- sekce VRSTVY ve svetle (rozbiti modre monotonie) ---- */
.layers-sec {
  border-top: none;
  background: linear-gradient(180deg, #FFFCF5 0%, var(--ivory) 55%);
}
.light .layers-lead { color: var(--ink-dim); }
.light .layer-row { border-top-color: rgba(31, 42, 68, 0.13); }
.light .layer-row:last-child { border-bottom-color: rgba(31, 42, 68, 0.13); }
.light .layer-row .ln { color: #a8863c; }
.light .layer-row h4 { color: var(--ink); }
.light .layer-row p { color: var(--ink-dim); }

/* ---- skupina: foto + karty entit ---- */
.group-top {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: stretch;
}
.group-top h2 { margin-top: 18px; }
.group-lead {
  margin-top: 26px;
  font-size: 15.5px;
  line-height: 1.8;
  font-weight: 380;
  max-width: 56ch;
}
.group-link { margin-top: 30px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.2em; }
.group-link a {
  color: #a8863c;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(168, 134, 60, 0.35);
  padding-bottom: 4px;
  transition: border-color 0.3s;
}
.group-link a:hover { border-color: #a8863c; }
.group-photo { position: relative; overflow: hidden; min-height: 440px; }
.group-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.78) brightness(0.94) contrast(1.02);
}
.group-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(31, 42, 68, 0.02), rgba(31, 42, 68, 0.34));
}
.group-photo .ph-cap {
  position: absolute; left: 28px; bottom: 24px; z-index: 2;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.94);
  display: flex; align-items: center; gap: 12px;
}
.group-photo .ph-cap::before { content: ""; width: 30px; height: 1px; background: var(--gold); }

.ent-cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 92px;
}
.ent-cards::before {
  content: "";
  position: absolute;
  top: -36px; left: 16.66%; right: 16.66%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 134, 60, 0.55) 10%, rgba(168, 134, 60, 0.55) 90%, transparent);
}
.ent-root {
  position: absolute;
  top: -36px; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--beige);
  padding: 0 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #a8863c;
  white-space: nowrap;
  z-index: 2;
}
.ent-card {
  position: relative;
  background: #FFFDF8;
  border: 1px solid rgba(31, 42, 68, 0.12);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.ent-card::before {
  content: "";
  position: absolute;
  top: -36px; left: 50%;
  width: 1px; height: 36px;
  background: rgba(168, 134, 60, 0.5);
}
.ent-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -22px rgba(31, 42, 68, 0.35); }
.ent-card.gold { border-color: rgba(168, 134, 60, 0.5); border-top: 2px solid var(--gold); }
.ent-media { position: relative; height: 152px; overflow: hidden; }
.ent-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.6) brightness(0.88) contrast(1.04);
  transition: transform 0.9s var(--ease);
}
.ent-card:hover .ent-media img { transform: scale(1.05); }
.ent-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31, 42, 68, 0.16), rgba(31, 42, 68, 0) 55%);
}
.ent-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.ent-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.26em; color: #a8863c; }
.ent-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
  margin: 10px 0 8px;
}
.ent-body p { font-size: 14px; line-height: 1.68; font-weight: 380; color: var(--ink-dim); }
.ent-more { margin-top: auto; padding-top: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; color: #a8863c; }

/* ---- cesta skupiny: miniatury ---- */
.tl-media { position: relative; height: 132px; overflow: hidden; margin-bottom: 22px; }
.tl-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.55) brightness(0.86) contrast(1.05);
  transition: transform 0.9s var(--ease);
}
.tl-item:hover .tl-media img { transform: scale(1.05); }
.tl-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31, 42, 68, 0.18), rgba(31, 42, 68, 0) 55%);
}

/* ---- paticka: pravni patro ---- */
.foot-legal {
  width: var(--w);
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(250, 246, 238, 0.09);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
}
.foot-legal a {
  color: rgba(250, 246, 238, 0.55);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}
.foot-legal a:hover { color: var(--gold); }
.foot-legal span { color: rgba(250, 246, 238, 0.22); }

/* ---- pravni stranky (gdpr / cookies / obchodni podminky) ---- */
.docpage { background: var(--ivory); }
.docpage nav {
  background: rgba(13, 19, 34, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(198, 167, 94, 0.18);
}
.doc-head { background: linear-gradient(180deg, var(--abyss), var(--navy-2)); padding: 148px 0 66px; }
.doc-head h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.15;
  color: var(--ivory);
  margin-top: 20px;
  letter-spacing: -0.005em;
}
.doc-lead { margin-top: 22px; max-width: 72ch; color: var(--ivory-dim); font-size: 15.5px; line-height: 1.75; font-weight: 380; }
.doc-meta {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.48);
}
.doc-body { background: var(--ivory); color: var(--ink); padding: 68px 0 110px; }
.doc-wrap { max-width: 860px; }
.doc-body h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 25px;
  color: var(--ink);
  margin: 50px 0 16px;
}
.doc-body h2:first-child { margin-top: 0; }
.doc-body h2 .n {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: #a8863c;
  margin-right: 14px;
  position: relative;
  top: -4px;
}
.doc-body h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin: 28px 0 10px; }
.doc-body p, .doc-body li { font-size: 15px; line-height: 1.8; font-weight: 380; color: var(--ink-dim); }
.doc-body p + p { margin-top: 14px; }
.doc-body ul { margin: 14px 0 14px 20px; display: grid; gap: 9px; }
.doc-body a { color: #a8863c; }
.doc-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.doc-table td, .doc-table th {
  border: 1px solid rgba(31, 42, 68, 0.14);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  color: var(--ink-dim);
  line-height: 1.6;
}
.doc-table th {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a8863c;
  background: rgba(198, 167, 94, 0.06);
}
.doc-table td:first-child { font-weight: 500; color: var(--ink); white-space: nowrap; }
.doc-note {
  border-left: 2px solid var(--gold);
  background: rgba(198, 167, 94, 0.07);
  padding: 18px 22px;
  margin: 22px 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-dim);
}

@media (max-width: 1000px) {
  .group-top { grid-template-columns: 1fr; gap: 44px; }
  .group-photo { min-height: 320px; }
  .ent-cards { grid-template-columns: 1fr; gap: 20px; margin-top: 64px; }
  .ent-cards::before, .ent-card::before { display: none; }
  .ent-root { position: static; transform: none; display: block; text-align: center; margin-bottom: 18px; background: none; padding: 0; }
  .doc-table td:first-child { white-space: normal; }
}
