:root {
  --paper: #fbfaf8;
  --white: #ffffff;
  --ink: #182139;
  --muted: #687085;
  --gold: #b78242;
  --gold-light: #e4c49a;
  --violet: #8371b5;
  --blue: #78a9c4;
  --green: #879785;
  --coral: #c97550;
  --rose: #9f716f;
  --line: rgba(24, 33, 57, 0.14);
  --max: 1240px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, Aptos, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
}
.page-projects { --page-menu-orb: #aa7775; }
.page-institute { --page-menu-orb: #d3845f; }
.page-elektra { --page-menu-orb: #dab079; }
.page-donations { --page-menu-orb: #c8985e; }
.page-volunteering { --page-menu-orb: #8e9d8b; }
.page-upcoming { --page-menu-orb: #82aec5; }
.page-partners { --page-menu-orb: #8876bd; }
.page-membership { --page-menu-orb: #aa7775; }
.page-contact { --page-menu-orb: #d3845f; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, blockquote, .manifesto-text {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.035em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .75rem 1rem;
  color: var(--white);
  background: var(--ink);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: relative;
  z-index: 20;
  width: min(calc(100% - 3rem), var(--max));
  min-height: 6.5rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.word-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: .94rem;
  letter-spacing: .22em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark { width: 5.4rem; flex: 0 0 auto; }
.brand-mark img { position: static; width: 100%; height: auto; max-width: 100%; transform: none; }
.brand { width: 13rem; height: 5.5rem; overflow: hidden; flex: 0 0 auto; }
.brand-crop { display: block; height: 5.5rem; overflow: hidden; }
.brand img { width: 13rem; margin-top: -1.65rem; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(.8rem, 1.7vw, 1.7rem); }
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .65rem 0;
  font-family: "Palatino Linotype", Palatino, serif;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .105em;
  font-size: .68rem;
  font-weight: 600;
  white-space: nowrap;
}
.main-nav a::before {
  width: .54rem;
  height: .54rem;
  flex: 0 0 .54rem;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.95) 0 10%, var(--menu-orb-light) 28%, var(--menu-orb) 72%, rgba(24,33,57,.28) 100%);
  box-shadow: inset -.08rem -.1rem .14rem rgba(24,33,57,.18), 0 0 .28rem rgba(196,151,93,.18);
}
.main-nav a:nth-child(1) { --menu-orb: #aa7775; --menu-orb-light: #d0b4b3; }
.main-nav a:nth-child(2) { --menu-orb: #d3845f; --menu-orb-light: #e7bba7; }
.main-nav a:nth-child(3) { --menu-orb: #dab079; --menu-orb-light: #ebd3b5; }
.main-nav a:nth-child(4) { --menu-orb: #c8985e; --menu-orb-light: #e1c3a6; }
.main-nav a:nth-child(5) { --menu-orb: #8e9d8b; --menu-orb-light: #c1c9bf; }
.main-nav a:nth-child(6) { --menu-orb: #82aec5; --menu-orb-light: #bad2df; }
.main-nav a:nth-child(7) { --menu-orb: #8876bd; --menu-orb-light: #beb4db; }
.main-nav a:nth-child(8) { --menu-orb: #aa7775; --menu-orb-light: #d0b4b3; }
.main-nav a:nth-child(9) { --menu-orb: #d3845f; --menu-orb-light: #e7bba7; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: .25rem;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }
.menu-planet { display: inline-flex; width: 2.7rem; height: 2.35rem; align-items: center; justify-content: center; transition: transform .4s ease; }
.menu-planet svg { display: block; width: 100%; height: auto; overflow: visible; animation: menu-planet-glow 4s ease-in-out infinite; }
.menu-planet-haze-stop, .menu-orb-light { animation: menu-orb-light-colors 14s linear infinite; }
.menu-orb-deep { animation: menu-orb-deep-colors 14s linear infinite; }
.menu-orb-shadow { animation: menu-orb-shadow-colors 14s linear infinite; }
.menu-planet-haze { transform-box: fill-box; transform-origin: center; animation: menu-haze-breathe 4s ease-in-out infinite; }
.menu-planet-sphere { animation: menu-sphere-breathe 4s ease-in-out infinite; }
.menu-toggle[aria-expanded="true"] .menu-planet { transform: scale(1.06); }

.home-shell,
.inner-hero,
.institute-hero,
.section-pad,
.site-footer,
.page-shell {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
}
.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .76rem;
  font-weight: 800;
}
.button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.35rem;
  border: 1px solid var(--ink);
  color: var(--white);
  background: var(--ink);
  text-decoration: none;
  font-weight: 750;
  transition: background .2s ease, color .2s ease;
}
.button:hover, .button:focus-visible { color: var(--ink); background: transparent; }
.button-light { color: var(--ink); background: var(--gold-light); border-color: var(--gold-light); }
.button-light:hover, .button-light:focus-visible { color: var(--white); }
.text-link {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 700;
}

/* Úvod */
.logo-hero {
  width: min(100%, 96rem);
  min-height: calc(100vh - 6.5rem);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 5rem) 1.5rem 3rem;
  display: grid;
  place-items: center;
  position: relative;
  background: radial-gradient(circle at 50% 48%, rgba(228, 196, 154, .14), transparent 28%);
}
.hero-logo-stage {
  position: relative;
  width: min(100%, 72rem);
  aspect-ratio: 3 / 2;
}
.hero-logo {
  width: 100%;
  filter: drop-shadow(0 1.5rem 3rem rgba(112, 78, 35, .08));
}
.hero-sphere-surface {
  position: absolute;
  z-index: 2;
  left: 45.45%;
  top: 21.3%;
  width: 8.55%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  mix-blend-mode: overlay;
  opacity: .72;
  pointer-events: none;
}
.hero-sphere-surface::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -200%;
  width: 300%;
  content: "";
  border-radius: inherit;
  background-image:
    radial-gradient(ellipse 25% 90% at 50% 50%, rgba(255, 247, 218, .72) 0 18%, rgba(205, 154, 75, .32) 48%, transparent 76%),
    radial-gradient(ellipse 14% 66% at 50% 43%, rgba(255, 232, 181, .52) 0 18%, transparent 72%),
    radial-gradient(ellipse 10% 40% at 50% 68%, rgba(184, 130, 49, .34) 0 18%, transparent 70%);
  background-repeat: repeat-x;
  background-size: 33.333% 100%, 25% 100%, 20% 100%;
  filter: blur(.35px);
  animation: sphere-horizontal 6.5s linear infinite;
  will-change: transform;
}
.hero-ring-track {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-ring-track .ring-light-haze {
  fill: none;
  stroke: #fff9e7;
  stroke-width: 20;
  stroke-linecap: round;
  stroke-dasharray: 11 89;
  stroke-dashoffset: 0;
  opacity: .84;
  filter: blur(9px) drop-shadow(0 0 7px rgba(255, 235, 188, .88));
  animation: ring-haze-orbit 8s linear infinite;
  will-change: stroke-dashoffset;
}
.hero-title-sheen {
  position: absolute;
  z-index: 2;
  left: 4.3%;
  top: 53.8%;
  width: 91.4%;
  height: 16%;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero-title-sheen::before {
  content: "";
  position: absolute;
  top: -22%;
  bottom: -22%;
  left: 0;
  width: 16%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(255, 255, 255, .96) 0%,
    rgba(255, 246, 216, .78) 18%,
    rgba(244, 209, 151, .42) 38%,
    rgba(224, 174, 97, .15) 58%,
    transparent 78%);
  filter: blur(.28rem) drop-shadow(0 0 .55rem rgba(255, 231, 177, .55));
  animation: title-light 9s ease-in-out infinite;
  will-change: transform;
}
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  gap: .8rem;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 750;
}
.home-intro {
  padding: clamp(5rem, 10vw, 10rem) 0;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  border-top: 1px solid var(--line);
}
.home-intro h2,
.seven-heading h2,
.section-heading h2,
.donation-contact h2 {
  margin: 0 0 2rem;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 1;
}
.intro-lead { max-width: 40rem; color: var(--muted); font-size: 1.16rem; }
.flower-frame { margin: 0; }
.flower-frame img { width: 100%; aspect-ratio: 1.25; object-fit: cover; object-position: center; }
.flower-frame figcaption { max-width: 32rem; margin-top: 1rem; color: var(--muted); font-size: .86rem; }
.seven-section { padding: clamp(6rem, 11vw, 11rem) 0; color: var(--ink); background: linear-gradient(180deg, #fff 0%, #f7f4f0 100%); border-block: 1px solid var(--line); }
.seven-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: end; margin-bottom: clamp(4rem, 8vw, 7rem); }
.seven-heading .eyebrow { align-self: start; color: var(--gold); }
.seven-heading h2 { color: var(--ink); }
.seven-heading p:last-child { max-width: 42rem; color: var(--muted); }
.element-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 1.5vw, 1.3rem); }
.element-card { min-height: 24rem; padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; border: 1px solid rgba(24, 33, 57, .08); box-shadow: 0 1rem 2.5rem rgba(53, 48, 43, .045); }
.tone-rose { background: #f5ebeb; }
.tone-coral { background: #faeee8; }
.tone-gold { background: #fbf8ef; }
.tone-sun { background: #faf2dc; }
.tone-green { background: #edf1eb; }
.tone-blue { background: #ebf2f6; }
.tone-violet { background: #f0edf7; }
.element-orb {
  width: clamp(4.5rem, 7vw, 7rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  border-radius: 50%;
  color: rgba(255, 255, 255, .86);
  font-family: var(--serif);
  font-size: 1.2rem;
}
.element-orb::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background-color: var(--orb-color);
  box-shadow: inset -.8rem -.8rem 1.5rem rgba(11, 16, 28, .26), inset .6rem .6rem 1.1rem rgba(255, 255, 255, .24), 0 1.2rem 2.4rem rgba(51, 42, 34, .14);
  animation: sphere-surface 6s ease-in-out infinite;
  will-change: background-color;
}
.orb-rose { --orb-color: #aa7775; --orb-light-color: #d0b4b3; }
.orb-coral { --orb-color: #d3845f; --orb-light-color: #e7bba7; }
.orb-gold { --orb-color: #dab079; --orb-light-color: #ebd3b5; }
.orb-sun { --orb-color: #c8985e; --orb-light-color: #e1c3a6; }
.orb-green { --orb-color: #8e9d8b; --orb-light-color: #c1c9bf; }
.orb-blue { --orb-color: #82aec5; --orb-light-color: #bad2df; }
.orb-violet { --orb-color: #8876bd; --orb-light-color: #beb4db; }
.element-card:nth-child(2n) .element-orb::before { animation-duration: 7s; }
.element-card:nth-child(3n) .element-orb::before { animation-duration: 8.5s; }
.element-card h3 { margin: auto 0 1rem; font-family: var(--serif); font-size: clamp(1.5rem, 2vw, 2.15rem); font-weight: 400; }
.element-card p { margin-bottom: 0; color: #555e70; font-size: .94rem; }
.home-quote { margin-block: clamp(5rem, 10vw, 10rem); padding: clamp(3rem, 7vw, 7rem); color: var(--white); background: linear-gradient(130deg, #a97540, #c79a63 52%, #97714d); }
.home-quote .eyebrow { color: var(--ink); }
.home-quote blockquote { margin: 0 0 2.5rem; max-width: 24ch; font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: 1.05; }

/* Vnitřní stránky */
.inner-hero {
  min-height: 39rem;
  padding: clamp(5rem, 10vw, 9rem) 0 6rem;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 4rem;
}
.inner-hero h1, .institute-hero h1, .editorial-hero h1 {
  margin-bottom: 2rem;
  max-width: 12ch;
  font-size: clamp(3.7rem, 7vw, 7.5rem);
  line-height: .95;
}
.hero-lead { max-width: 43rem; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.section-pad { padding: clamp(5rem, 9vw, 9rem) 0; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; margin-bottom: 4rem; }

/* Projekty */
.project-index { border-top: 1px solid var(--line); }
.projects-hero { min-height: 48rem; align-items: center; }
.projects-hero .hero-copy { max-width: 72rem; }
.editorial-hero .project-hero-title { max-width: none; font-size: clamp(3.4rem, 6.2vw, 6.8rem); }
.project-hero-title span { display: block; }
.project-title-second { margin-top: .32em; color: #8d6550; font-size: .72em; }
.project-title-third { margin-top: .32em; color: var(--gold); font-size: .6em; }
.project-globe { position: relative; display: block; width: clamp(4.8rem, 7vw, 6.5rem); aspect-ratio: 1; margin: 1.5rem 0 1.7rem; overflow: hidden; border-radius: 50%; background: #9dc6d8; filter: saturate(.72) drop-shadow(0 .6rem 1rem rgba(24, 33, 57, .12)); }
.project-globe-fallback { position: absolute; top: 50%; left: 50%; width: 160%; max-width: none; height: auto; transform: translate(-50%, -50%); transition: opacity .3s ease; }
.project-globe-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border-radius: inherit; opacity: 0; transition: opacity .3s ease; }
.project-globe.is-3d .project-globe-fallback { opacity: 0; }
.project-globe.is-3d .project-globe-canvas { opacity: 1; }
.project-globe::after { position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 31% 25%, rgba(255,255,255,.34) 0 8%, rgba(255,255,255,0) 38%), radial-gradient(circle at 78% 72%, rgba(24,33,57,0) 42%, rgba(24,33,57,.24) 100%); box-shadow: inset -.16rem -.1rem .35rem rgba(24,33,57,.12), inset .12rem .1rem .22rem rgba(255,255,255,.3); content: ""; pointer-events: none; }
.project-catalog { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.project-tile { min-height: 23rem; padding: clamp(2rem, 4vw, 4rem); display: flex; flex-direction: column; background: var(--white); }
.project-tile > span { color: var(--gold); font-family: var(--serif); }
.project-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; color: var(--gold); font-family: var(--serif); }
.project-status { text-align: right; }
.project-story-with-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(10rem, 13.5rem); gap: clamp(1.25rem, 2.5vw, 2.25rem); align-items: end; margin-top: 2.5rem; }
.project-story-with-photo h2 { margin-top: 0; }
.project-inline-photo { margin: 0; }
.project-inline-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.82) contrast(.94);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 11%, #000 89%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0, #000 11%, #000 89%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.project-inline-photo figcaption { margin-top: .5rem; color: var(--muted); font-size: .7rem; line-height: 1.35; }
.project-inline-photo a { color: inherit; text-decoration-color: rgba(102,112,132,.45); text-underline-offset: .16em; }
.project-inline-illustration { align-self: end; opacity: .82; }
.project-inline-illustration img { object-fit: contain; filter: grayscale(1); mix-blend-mode: multiply; }
.project-inline-illustration.project-inline-tone-soft { opacity: .88; }
.project-inline-illustration.project-inline-tone-soft img { filter: grayscale(1) brightness(1.1) contrast(.82); }
.project-inline-illustration.project-inline-tone-balanced { opacity: .86; }
.project-inline-illustration.project-inline-tone-balanced img { filter: grayscale(1) brightness(1.04) contrast(.92); }
.project-tile h2 { margin: 2.5rem 0 1rem; font-size: clamp(2rem, 3.5vw, 3.7rem); line-height: 1.05; }
.project-tile p { color: var(--muted); }
.project-tile a { width: fit-content; margin-top: 1rem; text-decoration: none; border-bottom: 1px solid var(--ink); }
.project-tile-accent { color: var(--white); background: var(--ink); }
.project-tile-accent p { color: rgba(255,255,255,.65); }
.project-tile-accent a { border-color: var(--gold-light); }

/* Připravujeme */
.upcoming-list { display: grid; gap: 1.5rem; }
.upcoming-card { padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: 12rem 1fr; gap: 3rem; border: 1px solid var(--line); background: var(--white); }
.status { width: fit-content; height: fit-content; padding: .45rem .75rem; border-radius: 3rem; color: var(--ink); background: var(--gold-light); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 800; }
.upcoming-card h2 { margin-bottom: 1rem; font-size: clamp(2rem, 3.7vw, 3.8rem); line-height: 1.05; }
.upcoming-card p { max-width: 48rem; color: var(--muted); }

/* Dary */
.donation-symbol { width: min(24rem, 70vw); aspect-ratio: 1; justify-self: end; display: grid; place-items: center; border: 1px solid var(--gold-light); border-radius: 50%; background: radial-gradient(circle, rgba(228,196,154,.4), transparent 66%); }
.donation-symbol span { font-family: var(--serif); font-size: clamp(6rem, 12vw, 12rem); color: var(--gold); }
.volunteer-mark { width: min(23rem, 68vw); aspect-ratio: 1; justify-self: end; display: grid; place-items: center; border: 1px solid #b8c7b3; border-radius: 50%; background: radial-gradient(circle, rgba(184,199,179,.38), transparent 68%); }
.volunteer-mark span { font-family: var(--serif); font-size: clamp(6rem, 12vw, 12rem); color: var(--green); }
.support-options { border-top: 1px solid var(--line); }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.support-card { min-height: 23rem; padding: 2.5rem; background: var(--paper); }
.support-card > span, .program-card > span { color: var(--gold); font-family: var(--serif); }
.support-card h3 { margin-top: 5rem; font-family: var(--serif); font-size: 2.1rem; font-weight: 400; }
.support-card p { color: var(--muted); }
.donation-contact { margin-bottom: 6rem; padding-inline: clamp(2rem, 7vw, 7rem); display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; color: var(--white); background: var(--violet); }
.donation-contact .eyebrow { color: var(--white); }
.volunteer-contact { margin-bottom: 6rem; padding-inline: clamp(2rem, 7vw, 7rem); color: var(--white); background: linear-gradient(130deg, #64766d, #89998d); }
.volunteer-contact .eyebrow { color: #eef3ec; }
.volunteer-contact h2 { max-width: 17ch; font-size: clamp(2.7rem, 5vw, 5rem); line-height: 1; }
.volunteer-contact p:not(.eyebrow) { max-width: 42rem; color: rgba(255,255,255,.78); }
.volunteer-contact .button { margin-top: 1rem; background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); }

/* Institut */
.institute-hero { min-height: 39rem; padding: 6rem 0; display: grid; grid-template-columns: .65fr 1.35fr; align-items: center; position: relative; overflow: hidden; }
.institute-number { font-family: var(--serif); font-size: clamp(8rem, 22vw, 22rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--gold-light); opacity: .8; }
.institute-hero .hero-copy { padding-left: 2rem; }
.manifesto { border-block: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; }
.manifesto-text { font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1.15; }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.program-card { min-height: 18rem; padding: 2.25rem; background: var(--paper); }
.program-card h3 { margin-top: 3.5rem; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; }
.program-card p { color: var(--muted); }
.quote-section { margin-bottom: 6rem; padding-inline: clamp(2rem, 7vw, 7rem); color: var(--white); background: var(--ink); }
.quote-section blockquote { margin: 0 0 2.5rem; max-width: 22ch; font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: 1.05; }

/* Elektra a kontakt */
.editorial-hero { width: min(calc(100% - 3rem), var(--max)); min-height: 38rem; margin-inline: auto; padding: clamp(5rem, 10vw, 9rem) 0 5rem; display: flex; align-items: end; border-bottom: 1px solid var(--line); }
.editorial-hero .hero-copy { max-width: 60rem; }
.contact-hero,
.compact-editorial-hero { min-height: 0; padding-top: clamp(2.5rem, 4vw, 3.5rem); padding-bottom: 3.5rem; align-items: flex-start; }
.history-layout { display: grid; grid-template-columns: 16rem 1fr; gap: clamp(3rem, 8vw, 8rem); }
.history-layout h2 { font-size: clamp(2.4rem, 4vw, 4.4rem); line-height: 1.05; }
.prose { max-width: 52rem; }
.prose p { margin-bottom: 1.5rem; color: #3f485e; font-size: 1.08rem; }
.vision-panel { color: var(--white); background: var(--ink); }
.vision-panel .page-shell { padding-block: clamp(5rem, 9vw, 9rem); }
.vision-panel h2 { max-width: 16ch; font-size: clamp(2.7rem, 5vw, 5.4rem); line-height: 1; }
.vision-panel .lead { max-width: 54rem; color: rgba(255,255,255,.74); font-size: 1.22rem; }
.vision-panel .eyebrow { color: var(--gold-light); }
.activity-list { margin-top: 4rem; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.activity-list li { padding: 1.35rem 0; list-style: none; border-bottom: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.78); }
.activity-list li:nth-child(odd) { padding-right: 2rem; }
.activity-list li:nth-child(even) { padding-left: 2rem; border-left: 1px solid rgba(255,255,255,.18); }
.sources { color: var(--muted); font-size: .82rem; }
.sources a { color: var(--ink); }
.prose::after { content: ""; display: block; clear: both; }
.article-photo { width: min(16rem, 42%); margin-top: .4rem; margin-bottom: 1.25rem; border: 2px solid rgba(24, 33, 57, .38); background: var(--white); box-shadow: 0 .8rem 1.8rem rgba(24, 33, 57, .07); }
.article-photo-right { float: right; margin-left: 2rem; }
.article-photo-left { float: left; margin-right: 2rem; }
.article-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #f1f1ef; }
.article-photo:first-of-type img { object-fit: contain; padding: .75rem; }
.article-photo figcaption { padding: .7rem .8rem .8rem; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.article-photo small { font-size: .68rem; }
.elektra-closing { max-width: 60rem; margin-inline: auto; text-align: center; }
.elektra-closing h2 { margin-bottom: 1.5rem; font-size: clamp(2.8rem, 5vw, 5.5rem); line-height: 1; }
.elektra-closing > p:not(.eyebrow) { max-width: 43rem; margin-inline: auto; color: var(--muted); font-size: 1.08rem; }
.closing-actions { margin-top: 2.5rem; display: flex; justify-content: center; align-items: center; gap: 2rem; }
.source-note { padding-bottom: 4rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.contact-card { min-height: 22rem; padding: clamp(2rem, 5vw, 4rem); background: var(--white); }
.contact-card h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.contact-card p, .contact-card address { color: var(--muted); font-style: normal; }
.contact-card a { display: block; width: fit-content; margin-bottom: .7rem; text-decoration: none; font-size: 1.08rem; }
.contact-card a:hover { color: var(--gold); }
.contact-card-wide { grid-column: 1 / -1; min-height: auto; }
.contact-card-wide p { max-width: 50rem; }
.contact-card .registry-link { margin-top: 1.5rem; padding-bottom: .25rem; border-bottom: 1px solid var(--ink); color: var(--ink); font-weight: 700; }

/* Partneři */
.partner-grid { display: grid; grid-template-columns: 1fr; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.partner-card { min-height: 8.5rem; display: grid; grid-template-columns: .8rem minmax(0, 1fr) auto; align-items: center; gap: 1rem; }
.partner-card h3 { margin: 0; }
.partner-card a { width: fit-content; margin: 0; text-decoration: none; border-bottom: 1px solid var(--ink); }
.partner-card a:hover { color: var(--gold); border-color: var(--gold); }
.partner-orb { width: .72rem; aspect-ratio: 1; border-radius: 50%; box-shadow: inset -.06rem -.08rem .12rem rgba(24,33,57,.2), 0 0 .22rem rgba(24,33,57,.12); }
.partner-orb-gold { background: radial-gradient(circle at 34% 27%, #fff8e8 0 9%, #ebd3b5 28%, #dab079 64%, #a7743b 100%); }
.partner-orb-violet { background: radial-gradient(circle at 34% 27%, #f8f4ff 0 9%, #beb4db 28%, #8876bd 64%, #5c4c8d 100%); }

/* Členství */
.membership-gate { margin-bottom: 6rem; padding-inline: clamp(2rem, 7vw, 7rem); color: var(--white); background: linear-gradient(135deg, #182139, #2b3550); }
.membership-gate .eyebrow { color: var(--gold-light); }
.membership-gate h2 { max-width: 16ch; margin-bottom: 1.5rem; font-size: clamp(2.8rem, 5vw, 5.4rem); line-height: 1; }
.membership-gate p:not(.eyebrow) { max-width: 43rem; color: rgba(255,255,255,.74); font-size: 1.08rem; }
.members-only-label { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.6rem; padding: .72rem 1rem; border: 1px solid rgba(228,196,154,.6); color: var(--gold-light); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; }
.members-only-label::before { width: .6rem; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff7e9, #c7975d 65%, #885d2e); box-shadow: 0 0 .45rem rgba(228,196,154,.55); content: ""; }

.site-footer { min-height: 12rem; padding: clamp(3rem, 5vw, 4.5rem) 0 2rem; border-top: 1px solid var(--gold-light); color: var(--muted); text-align: center; }
.site-footer-simple { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: clamp(2rem, 6vw, 6rem); }
.site-footer strong { display: block; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.08; letter-spacing: .075em; }
.footer-brand-name { text-transform: none; }
.footer-legal-form { text-transform: lowercase; letter-spacing: .04em; }
.footer-message { margin: 0; display: grid; grid-template-columns: auto 1fr; column-gap: .3em; align-items: start; color: var(--gold); font-family: "Palatino Linotype", Palatino, Georgia, serif; font-size: .95rem; font-weight: 400; line-height: 1.5; letter-spacing: .01em; text-align: left; }
.footer-message-second { grid-column: 2; margin-top: .45rem; }
.site-footer-bottom { width: 100%; margin: 2.4rem auto 0; padding-top: 1rem; border-top: 1px solid var(--line); color: #7a8190; font-size: .78rem; text-align: left; }
.site-footer .footer-side-brand { font-size: .78rem; white-space: nowrap; }

.reveal { animation: fade-up .65s both ease-out; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes globe-turn-east {
  from { transform: translate(-59%, -50%); }
  to { transform: translate(-41%, -50%); }
}
@keyframes sphere-surface {
  0%, 100% { background-color: var(--orb-light-color); }
  42%, 58% { background-color: var(--orb-color); }
}
@keyframes sphere-horizontal {
  from { transform: translateX(0); }
  to { transform: translateX(33.333%); }
}
@keyframes ring-haze-orbit { to { stroke-dashoffset: -100; } }
@keyframes menu-planet-glow {
  0%, 100% { filter: drop-shadow(0 0 .18rem rgba(203,190,174,.42)); }
  50% { filter: drop-shadow(0 0 .5rem rgba(243,231,213,.9)) drop-shadow(0 0 .82rem rgba(210,194,174,.38)); }
}
@keyframes menu-haze-breathe { 0%, 100% { opacity: .48; transform: scale(.88); } 50% { opacity: .94; transform: scale(1.08); } }
@keyframes menu-sphere-breathe { 0%, 100% { filter: brightness(.93) saturate(.96); } 50% { filter: brightness(1.2) saturate(.9); } }
@keyframes menu-button-orb-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(.94); filter: brightness(.94); box-shadow: inset -.16rem -.2rem .3rem rgba(69,43,18,.24), 0 0 .2rem rgba(196,151,93,.38); }
  50% { transform: translate(-50%, -50%) scale(1.04); filter: brightness(1.14); box-shadow: inset -.16rem -.2rem .3rem rgba(69,43,18,.18), 0 0 .55rem rgba(235,202,149,.82), 0 0 .85rem rgba(225,186,128,.34); }
}
@keyframes menu-orb-light-colors {
  0%, 100% { stop-color: #d0b4b3; }
  14% { stop-color: #e7bba7; }
  28% { stop-color: #ebd3b5; }
  42% { stop-color: #e1c3a6; }
  57% { stop-color: #c1c9bf; }
  71% { stop-color: #bad2df; }
  85% { stop-color: #beb4db; }
}
@keyframes menu-orb-deep-colors {
  0%, 100% { stop-color: #aa7775; }
  14% { stop-color: #d3845f; }
  28% { stop-color: #dab079; }
  42% { stop-color: #c8985e; }
  57% { stop-color: #8e9d8b; }
  71% { stop-color: #82aec5; }
  85% { stop-color: #8876bd; }
}
@keyframes menu-orb-shadow-colors {
  0%, 100% { stop-color: #76504f; }
  14% { stop-color: #a45f42; }
  28% { stop-color: #aa7b43; }
  42% { stop-color: #94662e; }
  57% { stop-color: #61705f; }
  71% { stop-color: #577f95; }
  85% { stop-color: #635492; }
}
@keyframes title-light {
  0%, 2% { transform: translateX(-55%); opacity: 0; }
  5% { transform: translateX(-16%); opacity: .72; }
  9% { transform: translateX(18%); opacity: .94; }
  89% { transform: translateX(515%); opacity: .9; }
  95% { transform: translateX(585%); opacity: .66; }
  98%, 100% { transform: translateX(625%); opacity: 0; }
}
.hero-title-sheen:hover::before { animation-play-state: paused; }

@media (max-width: 1120px) {
  .menu-toggle { display: flex; align-items: center; gap: .75rem; border: 0; background: transparent; color: var(--ink); font-family: "Palatino Linotype", Palatino, serif; text-transform: uppercase; letter-spacing: .14em; font-size: 1.07rem; font-weight: 600; }
  .menu-lines { position: relative; display: block; width: 2.7rem; height: 2.35rem; flex: 0 0 2.7rem; background: transparent; transition: transform .4s ease; }
  .menu-lines::before { position: absolute; top: 50%; left: 50%; display: block; width: 1.55rem; height: 1.55rem; border-radius: 50%; background-image: radial-gradient(circle at 34% 27%, rgba(255,255,255,.98) 0 8%, rgba(255,255,255,.42) 24%, rgba(255,255,255,0) 58%), radial-gradient(circle at 70% 76%, rgba(24,33,57,0) 44%, rgba(24,33,57,.34) 100%); background-color: var(--page-menu-orb, #c8985e); content: ""; animation: menu-button-orb-breathe 4s ease-in-out infinite; }
  .menu-toggle[aria-expanded="true"] .menu-lines { transform: scale(1.06); }
  .main-nav { display: none; position: absolute; top: 6.5rem; inset-inline: 0; padding: 2rem; flex-direction: column; align-items: flex-start; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 1rem 2rem rgba(24,33,57,.08); }
  .main-nav.open { display: flex; }
}

@media (max-width: 900px) {
  .home-intro, .inner-hero, .donation-contact { grid-template-columns: 1fr; }
  .flower-frame { width: min(100%, 44rem); }
  .element-grid { grid-template-columns: repeat(2, 1fr); }
  .project-catalog { grid-template-columns: 1fr; }
  .support-grid, .program-grid { grid-template-columns: 1fr 1fr; }
  .institute-hero { grid-template-columns: 1fr; }
  .institute-number { position: absolute; top: 6rem; right: -1rem; opacity: .32; }
  .institute-hero .hero-copy { padding-left: 0; }
  .history-layout { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 620px) {
  .site-header, .home-shell, .inner-hero, .institute-hero, .section-pad, .site-footer, .page-shell, .editorial-hero { width: min(calc(100% - 2rem), var(--max)); }
  .word-brand { max-width: none; gap: .45rem; font-size: .72rem; letter-spacing: .14em; }
  .brand-mark { width: 4.6rem; }
  .brand-mark img { width: 100%; }
  .logo-hero { min-height: 34rem; }
  .hero-logo { width: 100%; max-width: 100%; }
  .scroll-cue { white-space: nowrap; }
  .home-intro h2, .seven-heading h2, .inner-hero h1, .institute-hero h1, .editorial-hero h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .seven-heading, .section-heading, .manifesto { grid-template-columns: 1fr; }
  .element-grid, .support-grid, .program-grid, .contact-grid, .partner-grid { grid-template-columns: 1fr; }
  .partner-card { grid-template-columns: auto 1fr; }
  .partner-card a { grid-column: 2; }
  .element-card { min-height: 19rem; }
  .support-card { min-height: 16rem; }
  .support-card h3 { margin-top: 3rem; }
  .upcoming-card { grid-template-columns: 1fr; gap: 1.5rem; }
  .activity-list { grid-template-columns: 1fr; }
  .activity-list li:nth-child(odd), .activity-list li:nth-child(even) { padding-inline: 0; border-left: 0; }
  .article-photo, .article-photo-left, .article-photo-right { width: 100%; float: none; margin: 1.5rem 0; }
  .project-story-with-photo { grid-template-columns: 1fr; }
  .project-inline-photo { width: min(100%, 18rem); }
  .closing-actions { flex-direction: column; }
  .donation-contact, .volunteer-contact, .quote-section { width: 100%; margin-bottom: 0; }
  .site-footer-simple { gap: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero-sphere-surface::before, .hero-title-sheen::before, .element-orb::before { animation: none !important; }
  .hero-ring-track .ring-light { display: none; }
}
