/* =========================================================
   KONCEDO — základní stylopis
   Paleta: zlatá #D69B31 / tmavá zlatá #693D0E / navy #0A1D37
   ========================================================= */

/* ---------- Písma (hostovaná lokálně, bez přenosu dat třetím stranám) ---------- */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/cormorant-garamond-italic-latin-ext.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: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/cormorant-garamond-italic-latin.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: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin-ext.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: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin.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: "Jost";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("fonts/jost-latin-ext.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: "Jost";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("fonts/jost-latin.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;
}

:root {
  --navy: #0A1D37;
  --navy-soft: #13294b;
  --gold: #D69B31;
  --gold-dark: #693D0E;
  --gold-light: #E9BE5E;
  --ivory: #F9F6F0;
  --ivory-deep: #F1ECE1;
  --white: #FFFFFF;
  --text: #22314a;
  --muted: #5c6b84;
  --hairline: rgba(10, 29, 55, 0.14);
  --hairline-gold: rgba(214, 155, 49, 0.45);
  --grad-gold: linear-gradient(120deg, #693D0E 0%, #D69B31 55%, #E9BE5E 100%);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", "Segoe UI", sans-serif;
  --container: 1180px;
  --section-pad: clamp(72px, 10vw, 130px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

section[id] { scroll-margin-top: 90px; }

/* ---------- Typografie ---------- */

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.6em; }
h3 { font-size: 1.45rem; }

.overline {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.2em;
  display: flex;
  align-items: center;
  gap: 16px;
}

.overline::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--grad-gold);
}

/* Linka overline se po odkrytí "dokreslí" */
.overline.reveal::before {
  width: 0;
  transition: width 0.9s ease 0.25s;
}

.overline.reveal.is-visible::before { width: 42px; }

.section-lead {
  max-width: 640px;
  color: var(--muted);
  margin-bottom: 3rem;
}

/* ---------- Tlačítka ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 34px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--grad-gold);
  color: var(--navy);
}

.btn-outline {
  border-color: var(--hairline-gold);
  color: var(--navy);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(214, 155, 49, 0.08);
}

.btn-block { width: 100%; }

/* ---------- Progress linka ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--grad-gold);
  z-index: 200;
  pointer-events: none;
}

/* ---------- Hlavička ---------- */

/* Modrá hlavička s drobnou průhledností */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 29, 55, 0.985);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(214, 155, 49, 0.28);
  transition: box-shadow 0.4s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px -18px rgba(5, 14, 27, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}

.brand { flex-shrink: 0; }

.brand-logo { display: block; width: 200px; height: auto; }

.hero-bg-mark img,
.hero-watermark img { display: block; width: 100%; height: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
}

.site-nav a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #f5f2eb;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}

.site-nav a:hover { border-bottom-color: var(--gold); color: var(--gold-light); }

.site-nav .nav-cta {
  border: 1px solid rgba(214, 155, 49, 0.7);
  padding: 10px 22px;
  color: var(--gold-light);
}

.site-nav .nav-cta:hover {
  background: var(--grad-gold);
  border-color: transparent;
  color: var(--navy);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold-light);
  transition: transform 0.3s, opacity 0.3s;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(150px, 20vh, 200px) 0 clamp(70px, 9vh, 110px);
  background: var(--ivory);
}

.hero h1 { max-width: 980px; }

/* Téměř průhledné logo v pozadí světlé části */
.hero-bg-mark {
  position: absolute;
  left: 12%;
  top: 55%;
  transform: translateY(-50%);
  width: min(50vw, 660px);
  color: var(--navy);
  opacity: 0.04;
  pointer-events: none;
}

.hero > .container { position: relative; z-index: 1; }

.hero-columns {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  margin-top: clamp(36px, 6vh, 64px);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 2.2em;
}

/* Tmavý panel s investičními pilíři */
.hero-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 80% 0%, rgba(214, 155, 49, 0.16), transparent 60%),
    linear-gradient(160deg, #081729 0%, var(--navy) 55%, var(--navy-soft) 100%);
  border: 1px solid rgba(214, 155, 49, 0.4);
  padding: clamp(30px, 3.5vw, 48px);
  color: rgba(255, 255, 255, 0.85);
}

.hero-panel-title {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.hero-panel-list {
  list-style: none;
  position: relative;
  z-index: 1;
}

.hero-panel-list li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-panel-list li:last-child { border-bottom: none; padding-bottom: 6px; }

.hero-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-panel-list strong {
  display: block;
  font-weight: 400;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  color: var(--white);
}

.hero-panel-list small {
  font-size: 0.83rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.55);
}

/* Zlatý vodoznak loga v rohu panelu */
.hero-watermark {
  position: absolute;
  right: -16%;
  bottom: -24%;
  width: 65%;
  color: var(--gold);
  opacity: 0.12;
  pointer-events: none;
  transform: translateY(var(--parallax, 0px));
  will-change: transform;
}

/* Doprovodná věta pod tlačítky v hero */
.hero-partners {
  margin-top: 2em;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* Scroll cue — jemná animovaná linka */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 1px;
  height: 68px;
  background: rgba(105, 61, 14, 0.25);
  overflow: hidden;
}

.scroll-cue::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 100%;
  height: 40%;
  background: var(--gold);
  animation: cue-drop 2.4s ease-in-out infinite;
}

@keyframes cue-drop {
  0% { top: -40%; }
  65%, 100% { top: 110%; }
}

/* ---------- Číselný pás ---------- */

.stats {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat {
  padding: clamp(32px, 4vw, 54px) clamp(20px, 3vw, 44px);
  border-left: 1px solid var(--hairline);
}

.stat:first-child { border-left: none; }

.stat-value {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 600;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- Sekce ---------- */

.section { padding: var(--section-pad) 0; }

.section-alt { background: var(--white); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }

.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}

/* Fotka v sekci O nás se zlatým odsazeným rámem */
.about-photo {
  position: relative;
  margin-top: 44px;
  margin-left: 15px;
}

.about-photo::before {
  content: "";
  position: absolute;
  top: 15px;
  left: -15px;
  right: 15px;
  bottom: -15px;
  border: 1px solid var(--hairline-gold);
  pointer-events: none;
}

.about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.85);
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 70px rgba(8, 23, 41, 0.4);
  pointer-events: none;
}

.lead-paragraph {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 1.2em;
}

.split-body p + p { margin-top: 1em; }

/* ---------- Pilíře (oblasti investic) ---------- */

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
  margin-top: 3rem;
}

.pillar {
  --pad: clamp(30px, 4vw, 50px);
  background: var(--white);
  border: 1px solid var(--hairline);
  padding: var(--pad);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

/* Fotka v hlavičce karty — vysazená až k okrajům */
.pillar-photo {
  position: relative;
  margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) var(--pad);
  overflow: hidden;
  border-bottom: 1px solid var(--hairline-gold);
}

.pillar-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 0.6s ease;
}

.pillar:hover .pillar-photo img { transform: none; }

/* Světlá vinětace navazuje na překryv úvodní fotografie. */
.pillar-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 55px rgba(255, 255, 255, 0.38);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 40%, rgba(255, 255, 255, 0.14) 100%);
  pointer-events: none;
}

.pillar:hover {
  box-shadow: none;
  transform: none;
}

/* ---------- Naklápěcí dlaždice (tilt + gradient dle kurzoru) ---------- */

.tilt {
  position: relative;
  --ga: 120deg; /* výchozí úhel zlatého gradientu */
}

/* Zlatá horní linka — úhel gradientu řídí kurzor */
.tilt::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: linear-gradient(var(--ga), #693D0E 0%, #D69B31 55%, #E9BE5E 100%);
}

/* Zlaté odlesky běhající po okraji dlaždice podle náklonu */
.tilt::after {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 2px;
  background: conic-gradient(from var(--ga, 120deg),
    rgba(233, 190, 94, 0.95) 0deg,
    rgba(214, 155, 49, 0.35) 45deg,
    transparent 90deg,
    transparent 150deg,
    rgba(214, 155, 49, 0.5) 200deg,
    rgba(105, 61, 14, 0.3) 230deg,
    transparent 270deg,
    transparent 325deg,
    rgba(233, 190, 94, 0.95) 360deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.tilt:hover::after { opacity: 1; }

/* Po prvním najetí přepne na rychlou odezvu transformace */
.tilt.is-tilting {
  transition: transform 0.15s ease-out, box-shadow 0.35s ease;
  transform-style: preserve-3d;
}

.pillar-icon {
  width: 52px;
  height: 52px;
  color: var(--gold-dark);
  margin-bottom: 22px;
}

.pillar-icon svg { width: 100%; height: 100%; }

.pillar h3 { margin-bottom: 0.6em; }

.pillar-list {
  list-style: none;
  margin-top: 1.4em;
  border-top: 1px solid var(--hairline);
}

.pillar-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
  font-weight: 400;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold-dark);
  border: 1px solid var(--hairline-gold);
  padding: 3px 10px;
  white-space: nowrap;
}

/* ---------- Tmavý pás — pro koho ---------- */

.section-dark {
  background:
    linear-gradient(160deg, rgba(8, 23, 41, 0.94) 0%, rgba(10, 29, 55, 0.9) 50%, rgba(19, 41, 75, 0.93) 100%),
    url("img/wind-turbines.webp") center / cover no-repeat;
  color: rgba(255, 255, 255, 0.82);
}

.section-dark h2 { color: var(--white); }
.section-dark .overline { color: var(--gold-light); }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: 3rem;
}

.audience {
  /* vnitřní odstup, aby okrajové odlesky neběhaly těsně kolem textu */
  padding: 30px 30px 34px;
}

.audience.tilt::before {
  height: 1px;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0.7;
}

.audience-num {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.audience h3 { color: var(--white); margin: 0.5em 0 0.6em; }

/* ---------- Tým ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

/* Kartička člena — otáčí se kliknutím podél svislé hrany */
.member {
  position: relative;
  text-align: center;
  cursor: pointer;
  perspective: 1400px;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.member:hover {
  box-shadow: 0 24px 50px -28px rgba(10, 29, 55, 0.3);
}

.member:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* U medailonků nechceme zlaté odlesky běhající po okraji — stíny
   a naklánění zůstávají */
.member.tilt::after { display: none; }

.member-inner {
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.35, 0.1, 0.2, 1);
}

.member.is-flipped .member-inner { transform: rotateY(180deg); }

.member-front,
.member-back {
  background: var(--ivory);
  border: 1px solid var(--hairline);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.member-front {
  height: 100%;
  padding: 18px 18px 26px;
}

.member-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  padding: 26px 24px 22px;
  text-align: left;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.member-photo {
  transform: perspective(900px) rotateX(var(--photo-x, 0deg)) rotateY(var(--photo-y, 0deg));
  transition: transform 0.2s ease-out;
  aspect-ratio: 4 / 5;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-soft) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.member-photo::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(214, 155, 49, 0.35);
  pointer-events: none;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
}

.member-photo span {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.member h3 { font-size: 1.25rem; }

.member-role {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 6px;
}

.member-hint {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
}

.member-hint::after { content: " ⟶"; }

.member:hover .member-hint { color: var(--gold-dark); }

.member-bio {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline-gold);
  font-size: 0.88rem;
  line-height: 1.55;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

/* ---------- Etický kodex ---------- */

.codex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.5vw, 48px);
}

.codex-item {
  border-top: 1px solid var(--hairline-gold);
  padding-top: 22px;
}

.codex-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.codex-item h3 {
  font-size: 1.25rem;
  margin: 0.4em 0 0.5em;
}

.codex-item p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- Citace ---------- */

.quote-band {
  background: var(--ivory-deep);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: clamp(60px, 8vw, 100px) 0;
  text-align: center;
}

.quote-band blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-style: italic;
  color: var(--navy);
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.4;
}

.quote-band footer {
  margin-top: 1.4em;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* ---------- Kontakt ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.contact-details {
  margin-top: 2.4rem;
  display: grid;
  gap: 18px;
}

.contact-details div {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: baseline;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 14px;
}

.contact-details dt {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.contact-details dd { font-weight: 400; color: var(--navy); }

.contact-details a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--hairline-gold); }
.contact-details a:hover { color: var(--gold-dark); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-top: 3px solid transparent;
  border-image: var(--grad-gold) 1;
  border-image-width: 3px 0 0 0;
  padding: clamp(28px, 4vw, 48px);
}

.contact-form h3 { margin-bottom: 1.4em; }

.form-row { margin-bottom: 20px; }

.form-row-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-form label span { color: var(--gold-dark); }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  background: var(--ivory);
  border: 1px solid var(--hairline);
  padding: 13px 16px;
  transition: border-color 0.3s;
  border-radius: 0;
  appearance: none;
}

.contact-form select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230A1D37' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.form-consent input {
  margin-top: 5px;
  accent-color: var(--gold-dark);
}

.form-consent label {
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  margin: 0;
}

.form-status {
  margin-top: 16px;
  font-weight: 400;
  color: var(--gold-dark);
  min-height: 1.4em;
}

/* ---------- Mapa ---------- */

.map-section {
  position: relative;
  border-top: 1px solid var(--hairline);
  line-height: 0;
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
  filter: grayscale(0.55) contrast(1.03);
}

.map-link {
  position: absolute;
  right: clamp(20px, 4vw, 40px);
  bottom: 28px;
  line-height: 1.4;
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--hairline-gold);
  padding: 13px 24px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.map-link:hover {
  background: var(--grad-gold);
  color: var(--navy);
}

/* ---------- Patička ---------- */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: clamp(48px, 6vw, 80px) 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { display: block; width: 160px; height: auto; }

.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover { color: var(--gold-light); }

.footer-legal { text-align: right; font-size: 0.82rem; }
.footer-legal a { color: rgba(255, 255, 255, 0.55); }
.footer-legal a:hover { color: var(--gold-light); }

/* ---------- Animace při skrolování ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .overline.reveal::before { width: 42px; transition: none; }
  .scroll-cue::after { animation: none; }
  .hero-watermark { transform: none; }
  .tilt::after { display: none; }
  .member-inner { transition: none; }
}

/* ---------- Responzivita ---------- */

@media (max-width: 1180px) and (min-width: 961px) {
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 0.78rem; letter-spacing: 0.1em; }
  .site-nav .nav-cta { padding: 9px 14px; }
  .brand-logo { width: 170px; }
}

@media (max-width: 960px) {
  .hero-columns { grid-template-columns: 1fr; gap: 44px; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; gap: 34px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .codex-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-legal { text-align: center; }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(214, 155, 49, 0.3);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px clamp(20px, 4vw, 40px) 28px;
    gap: 16px;
    display: none;
  }

  .site-nav.is-open { display: flex; }

}

@media (max-width: 720px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--hairline); }
  .stat:first-child { border-top: none; }

  .team-grid { grid-template-columns: 1fr; }
  .codex-grid { grid-template-columns: 1fr; }
  .form-row-half { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 80px; }
  .scroll-cue { display: none; }
  .map-section iframe { height: 320px; }
  .map-link { right: 16px; bottom: 16px; padding: 11px 18px; }
}

/* Revize: typografie a uvodni kompozice podle varianty 2. */
:root { --muted: #48576b; --section-pad: clamp(68px, 8vw, 104px); --container: 1280px; }
body { font-weight: 400; font-size: 18px; line-height: 1.7; }
h1, h2, h3 { font-weight: 500; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
.overline { font-size: .8125rem; letter-spacing: .2em; }
.hero { padding: 156px 0 64px; }
.hero-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(42px, 5vw, 76px); align-items: center; }
.hero-copy { padding: 16px 0; }
.hero h1 { font-size: clamp(3.1rem, 4.6vw, 4.3rem); line-height: 1.07; letter-spacing: -.025em; max-width: 660px; font-style: normal; color: var(--navy); }
.hero .overline { margin-bottom: 28px; }
.hero-lead { margin-top: 30px; max-width: 500px; font-size: 1.125rem; line-height: 1.8; color: var(--muted); }
.hero-actions { margin-top: 32px; gap: 22px; align-items: center; }
.btn { font-size: .875rem; letter-spacing: .075em; padding: 15px 23px; }
.btn-primary:hover { background: #173351; color: white; }
.btn-primary span { margin-left: 14px; color: #E9BE5E; }
.hero-link { color: var(--navy); text-decoration: none; font-size: .9375rem; border-bottom: 1px solid #a88950; padding: 7px 0; }
.hero-link span { margin-left: 12px; }
.hero-link:hover { color: var(--gold-dark); }
.hero-partners { border-top: 1px solid var(--hairline); margin-top: 38px; padding-top: 20px; font-size: .875rem; color: var(--muted); }
.hero-visual { position: relative; margin: 0; min-width: 0; background: var(--navy); }
.hero-visual::before { content: ''; position: absolute; top: -14px; right: -14px; width: 100px; height: 100px; border-top: 1px solid #b18c4e; border-right: 1px solid #b18c4e; }
.hero-visual img { display: block; width: 100%; height: 540px; object-fit: cover; object-position: 48% center; }
.hero-visual figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; padding: 16px 20px; color: #f2eee5; font-size: .8125rem; }
.hero-visual figcaption span:last-child { color: #c8cdd3; font-size: .75rem; }
.pillar h3 { font-size: 1.8rem; }
.pillar-list li { font-size: 1rem; }
.tag { font-size: .8125rem; letter-spacing: .08em; }
.member h3 { font-size: 1.5rem; }
.member-role { font-size: .875rem; letter-spacing: .08em; }
.contact-details dt, .contact-form label { font-size: .875rem; letter-spacing: .08em; }
.contact-form input, .contact-form select, .contact-form textarea, .form-consent label { font-weight: 400; }
.footer-nav a { font-size: .875rem; letter-spacing: .07em; color: #e1e5eb; }
.footer-legal { font-size: .875rem; color: #c5cdd7; }
.footer-legal a { color: #d6bd8d; }
.map-link { font-size: .875rem; letter-spacing: .06em; }
/* Citelný text a stabilní rozvržení na obou stránkách. */
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; hyphens: none; }
.hero-layout > *, .split > *, .contact-grid > *, .team-grid > * { min-width: 0; }
.hero-visual img { object-position: 43% center; }
.hero-partners { font-weight: 500; font-size: .9375rem; }
.site-nav a { letter-spacing: .065em; }
.overline::before { flex-shrink: 0; }
.member.tilt.is-tilting { transform-style: flat; }
.member-bio { font-size: 1rem; line-height: 1.65; }
.member-role { letter-spacing: .06em; }
.member h3 { font-size: 1.5rem; }
.codex-summary { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.codex-summary p { max-width: 600px; }
.codex-summary .btn { margin-top: 28px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.nav-toggle { min-width: 44px; min-height: 44px; justify-content: center; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.ethics-page { padding: 150px 0 96px; }
.ethics-intro { padding-bottom: 64px; }
.ethics-intro > p { max-width: 780px; }
.ethics-intro > .overline { margin-top: 42px; }
.ethics-intro h1 { margin-bottom: 24px; }
.ethics-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.ethics-toc { position: sticky; top: 112px; }
.ethics-toc a { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--hairline); text-decoration: none; color: var(--navy); font-size: .9375rem; line-height: 1.45; }
.ethics-toc a span { color: var(--gold-dark); font-size: .8125rem; }
.ethics-toc a:hover { color: var(--gold-dark); }
.ethics-principle { border-top: 1px solid var(--hairline-gold); padding: 32px 0 46px; }
.ethics-principle h2, .ethics-contact h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); text-wrap: initial; }
.ethics-principle p + p { margin-top: 16px; }
.ethics-contact { padding: 32px; background: var(--ivory-deep); }
.ethics-contact .btn { margin-top: 24px; }
@media (max-width: 1100px) and (min-width: 961px) {
  .site-nav { gap: 14px; }
  .brand-logo { width: 175px; }
  .site-nav a { font-size: .78rem; }
}
@media (max-width: 960px) {
  .hero { padding-top: 128px; }
  .hero-layout { grid-template-columns: 1.1fr 1fr; gap: 32px; }
  .hero h1 { font-size: 3.1rem; }
  .hero-visual img { height: 520px; }
  .ethics-layout { grid-template-columns: 1fr; gap: 40px; }
  .ethics-toc { position: static; }
}
@media (max-width: 720px) {
  .hero { padding: 116px 0 48px; }
  .hero-layout, .codex-summary { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(2.6rem, 9.5vw, 3.5rem); }
  .hero-lead { margin-top: 24px; font-size: 1.0625rem; }
  .hero-visual img { height: 340px; }
  .hero-visual::before { right: -8px; top: -8px; width: 64px; height: 64px; }
  .hero-actions { gap: 16px; }
  .contact-details div { grid-template-columns: 1fr; gap: 4px; }
  .ethics-page { padding-top: 116px; }
  .ethics-intro { padding-bottom: 40px; }
  .ethics-contact { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .member-photo { transform: none; transition: none; }
}

/* Jemný jednobarevný předěl a skutečný obrázek loga fungující i přes file://. */
.chapter-divider { padding-top: 38px; }
.chapter-divider span { display: block; height: 1px; width: 100%; background: var(--navy); opacity: .25; }
#o-nas { padding-top: clamp(52px, 6vw, 80px); }
#kontakt { overflow: hidden; }
.contact-info { position: relative; isolation: isolate; }
.contact-info > :not(.contact-watermark) { position: relative; z-index: 1; }
.contact-watermark { position: absolute; z-index: 0; top: 135px; left: -115px; width: 640px; height: auto; max-width: none; opacity: .085; pointer-events: none; }

/* Fotografie tvoří celou úvodní scénu; světlý překryv chrání čitelnost. */
.hero-immersive { min-height: min(880px, 100svh); padding: 170px 0 94px; display: flex; align-items: center; isolation: isolate; }
.hero-immersive > .hero-visual { position: absolute; inset: 78px 0 0; z-index: -2; background: var(--ivory); }
.hero-immersive .hero-visual::before { display: none; }
.hero-immersive .hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; filter: saturate(.48); }
.hero-immersive::after { content: ""; position: absolute; inset: 78px 0 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(249,246,240,.96) 0%, rgba(249,246,240,.88) 30%, rgba(249,246,240,.45) 60%, rgba(249,246,240,.12) 100%); }
.hero-immersive .hero-layout { display: block; width: 100%; }
.hero-immersive .hero-copy { max-width: 650px; padding: 0; }
.hero-immersive h1 { font-size: clamp(3.5rem, 5.4vw, 5.2rem); max-width: 640px; }
.hero-immersive .hero-lead { max-width: 540px; color: var(--navy); }
.hero-immersive .hero-partners { max-width: 590px; color: var(--navy); }
.hero-immersive .hero-visual figcaption { position: absolute; right: clamp(20px,4vw,60px); bottom: 20px; z-index: 2; padding: 0; color: var(--navy); }
.hero-immersive .hero-visual figcaption span:first-child { display: none; }
.hero-immersive .hero-visual figcaption span:last-child { color: var(--navy); }

@media (min-width: 961px) {
  .hero-immersive .hero-copy { max-width: 1120px; }
  .hero-immersive h1 {
    max-width: none;
    white-space: nowrap;
    text-wrap: nowrap;
    font-size: clamp(3.35rem, 4.35vw, 4.6rem);
  }
}

/* Šest profilů a náhled další řady, rozbalení je progresivní vylepšení. */
.team-more { margin-top: clamp(24px, 3vw, 40px); scroll-margin-top: 110px; }
.team-more.is-collapsible { position: relative; height: 140px; overflow: hidden; transition: height .75s cubic-bezier(.22,1,.36,1); }
.team-more.is-collapsible::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255,255,255,.08), #fff 95%); pointer-events: none; transition: opacity .4s ease; }
.team-more.is-expanded::after { opacity: 0; }
.team-extra-grid .member { opacity: 1; transform: none; }
/* Neúplná poslední řada dalších členů se centruje (flex místo gridu). */
.team-extra-grid { --team-gap: clamp(24px, 3vw, 40px); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--team-gap); }
.team-extra-grid > .member { flex: 0 0 calc((100% - 2 * var(--team-gap)) / 3); }
@media (max-width: 960px) { .team-extra-grid > .member { flex-basis: calc((100% - var(--team-gap)) / 2); } }
@media (max-width: 720px) { .team-extra-grid > .member { flex-basis: 100%; } }
.team-more-actions { text-align: center; margin-top: 24px; }
.team-more-actions[hidden] { display: none; }
#teamMoreToggle span { display: inline-block; margin-left: 14px; transition: transform .3s ease; }
#teamMoreToggle[aria-expanded="true"] span { transform: rotate(180deg); }
@media (max-width: 960px) {
  .hero-immersive { padding: 145px 0 80px; min-height: 760px; }
  .hero-immersive::after { background: linear-gradient(90deg, rgba(249,246,240,.95), rgba(249,246,240,.78) 55%, rgba(249,246,240,.3)); }
  .contact-watermark { width: 580px; left: auto; right: -70px; top: 50px; }
}
@media (max-width: 720px) {
  .hero-immersive { min-height: 780px; padding: 128px 0 110px; }
  .hero-immersive h1 { font-size: clamp(2.8rem, 11vw, 4rem); }
  .hero-immersive .hero-visual img { object-position: 56% center; }
  .hero-immersive::after { background: linear-gradient(180deg, rgba(249,246,240,.9), rgba(249,246,240,.84) 65%, rgba(249,246,240,.38)); }
  .contact-watermark { width: 440px; right: -100px; top: 150px; }
  .chapter-divider { padding-top: 24px; }
  .team-more.is-collapsible { height: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .team-more.is-collapsible, .team-more.is-collapsible::after, #teamMoreToggle span { transition: none; }
}

/* ---------- Produkční doplňky: formulář, mapa, patička, právní stránky ---------- */

.form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 4px 0 24px; font-size: .85rem; line-height: 1.6; color: var(--muted); }
.form-note a { color: var(--gold-dark); }
.form-status.is-error { color: #a12a2a; }
.contact-form button[disabled] { opacity: .6; cursor: progress; }


.footer-legal p + p { margin-top: 2px; }
.footer-legal .footer-credit { margin-top: 12px; font-size: .75rem; }
.footer-legal .footer-credit a { color: rgba(255, 255, 255, .42); text-decoration: none; }
.footer-legal .footer-credit a:hover { color: var(--gold-light); }

.legal-page .ethics-principle ul { margin: 14px 0 0 1.2em; }
.legal-page .ethics-principle li + li { margin-top: 6px; }
.legal-page .ethics-principle a { color: var(--gold-dark); }
.legal-page .legal-meta { color: var(--muted); font-size: .9rem; }

.error-page { min-height: 70vh; display: grid; align-content: center; padding: 160px 0 96px; }
.error-page .btn { margin-top: 28px; }

.legal-page .ethics-principle ul + p { margin-top: 16px; }
