@font-face {
  font-family: 'Crete Round';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/crete-round-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Crete Round';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/crete-round-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: 'Crete Round';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/crete-round-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Crete Round';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/crete-round-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: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/nunito-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/nunito-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 {
  color-scheme: light;
  --cream: #f8f4ea;
  --paper: #fffdf7;
  --white: #fffefa;
  --ink: #302e23;
  --muted: #5b584a;
  --line: #ded6c6;
  --green: #43583e;
  --green-dark: #364a32;
  --green-soft: #e9eddb;
  --ochre: #895021;
  --ochre-soft: #f4e7d1;
  --blue: #3d5573;
  --blue-soft: #e5ebf2;
  --theme: var(--green);
  --theme-soft: var(--green-soft);
  --header-height: 68px;
  --shadow: 0 14px 40px rgb(64 45 28 / 7%);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}

.theme-bio { --theme: var(--green); --theme-soft: var(--green-soft); }
.theme-perma, .cycle-section { --theme: var(--ochre); --theme-soft: var(--ochre-soft); }
.theme-long { --theme: var(--blue); --theme-soft: var(--blue-soft); }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scrollbar-gutter: stable; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1rem/1.65 "Nunito", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 4px; }
[id] { scroll-margin-block-start: calc(var(--header-height) + 16px); }
:where(h1, h2, h3, h4, p, figure, dl, dd) { margin: 0; }

h1, h2, h3, .place-copy .fact strong {
  color: var(--green-dark);
  font-family: "Crete Round", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.023em;
  line-height: 1.1;
  text-wrap: balance;
}

h1 { font-size: clamp(2.8rem, 5.5vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4.1vw, 3.65rem); }
h3 { font-size: clamp(1.35rem, 2.15vw, 1.8rem); }
h4 { font-size: 1rem; line-height: 1.4; }
p { text-wrap: pretty; }

.container { width: min(1180px, calc(100% - 52px)); margin-inline: auto; }
.section { padding-block: clamp(48px, 7vw, 92px); }

.eyebrow {
  color: var(--theme);
  font-size: .76rem;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.eyebrow + h2, .eyebrow + h1 { margin-top: .7rem; }
h2 + p, h3 + p { margin-top: .8rem; }
p + p { margin-top: .75rem; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); }

.skip-link {
  position: fixed;
  z-index: 60;
  top: 8px;
  left: 10px;
  transform: translateY(calc(-100% - 12px));
  padding: .6rem 1rem;
  border-radius: .6rem;
  color: #fff;
  background: var(--green-dark);
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.nav {
  position: relative;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img { width: 50px; height: 50px; object-fit: contain; flex: none; }
.brand strong { display: block; color: var(--green-dark); font: 400 1.23rem/1.05 "Crete Round", Georgia, serif; }
.brand small { display: block; margin-top: .22rem; color: var(--muted); font-size: .68rem; font-weight: 800; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(.25rem, 1.2vw, 1.15rem);
}

.nav-links a, .nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  padding: .3rem .38rem;
  border-radius: .55rem;
  font-size: .91rem;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
}

.nav-links a[href="#wspolpraca"] { color: var(--green-dark); }

.nav-toggle {
  flex: none;
  justify-content: center;
  min-inline-size: 6.15rem;
  padding-inline: .55rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--green-dark);
  cursor: pointer;
}

.nav-toggle .menu-close-icon,
.nav-toggle[aria-expanded="true"] .menu-open-icon { display: none; }
.nav-toggle[aria-expanded="true"] .menu-close-icon { display: initial; }
.nav-toggle[aria-expanded="true"] { background: var(--green-soft); }

.hero { padding-block: clamp(25px, 4.2vw, 54px) clamp(20px, 4vw, 55px); }
.hero-shell {
  padding: clamp(17px, 4vw, 43px);
  border: 1px solid var(--line);
  border-radius: clamp(18px, 3vw, 35px);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-head {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr);
  grid-template-areas: "art copy";
  align-items: center;
  gap: clamp(24px, 5vw, 68px);
}

.hero-mascot {
  grid-area: art;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1 / 1.04;
  border: 1px solid #d7c59e;
  border-radius: clamp(13px, 2vw, 25px);
  background: #e7d3a6;
}

.hero-mascot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.hero-text { grid-area: copy; }
.hero-text em { color: var(--ochre); font-weight: 400; }
.hero-text .claim {
  margin-block: .85rem .65rem;
  color: var(--ochre);
  font-family: "Crete Round", Georgia, serif;
  font-size: clamp(1.12rem, 1.8vw, 1.5rem);
  line-height: 1.35;
}
.hero-text .lead { max-width: 47ch; }

.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.hero-actions { margin-top: 1.35rem; }

.btn, .motion-toggle, .cycle-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .58rem .95rem;
  border: 1px solid transparent;
  border-radius: .6rem;
  font-size: .91rem;
  font-weight: 900;
  line-height: 1.22;
  text-align: center;
  text-decoration: none;
}

.btn-primary { color: #fff; background: var(--green); }
.btn-secondary, .motion-toggle, .cycle-toggle { color: var(--green-dark); border-color: #c5cdbd; background: var(--white); }
.btn-light { color: var(--green-dark); background: #f1d5a3; }
.motion-toggle, .cycle-toggle { cursor: pointer; }
.cycle-toggle { color: var(--ochre); border-color: #d4bda4; }
.cycle-toggle:disabled { opacity: .68; cursor: default; }

.preview-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1rem;
  margin-top: clamp(25px, 4vw, 44px);
  padding-top: clamp(18px, 2.5vw, 28px);
  border-top: 1px solid var(--line);
}

.preview-heading h2 { font-size: clamp(1.55rem, 2.4vw, 2.25rem); }
.hero-grid, .pillar-grid, .practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 1.7vw, 1.25rem);
}

.hero-grid { margin-top: .85rem; }
.preview-card, .pillar-card, .practice-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  overflow: hidden;
}

.preview-card {
  display: flex;
  flex-direction: column;
  padding: clamp(12px, 1.5vw, 20px);
  border-top: 3px solid var(--theme);
}
.preview-card > p { margin-block: .35rem .85rem; color: var(--muted); font-size: .94rem; }
.preview-topline { color: var(--theme); font-size: clamp(1.13rem, 1.8vw, 1.52rem); }
.preview-topline a { display: flex; align-items: center; justify-content: space-between; gap: .4rem; min-height: 44px; text-decoration: none; }
.preview-topline span { flex: none; font: 900 1rem/1 "Nunito", sans-serif; }
.preview-stage {
  display: grid;
  align-items: stretch;
  flex: 1;
  min-width: 0;
  margin-top: auto;
  border-radius: 13px;
  background: var(--theme-soft);
}

@media (min-width: 821px) {
  @supports (grid-template-rows: subgrid) {
    .preview-card {
      display: grid;
      grid-row: span 3;
      grid-template-rows: subgrid;
      row-gap: 0;
    }
    .preview-stage { margin-top: 0; }
  }
}

.bubble-board, .scale-board, .flow-stack { padding: 12px; }
.grid-core, .flow-core {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 10px;
  padding: .42rem .72rem;
  border-radius: 8px;
  background: var(--white);
  color: var(--theme);
  font-size: .84rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.bubble-grid, .scale-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.grid-chip, .scale-chip, .flow-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 33px;
  min-width: 0;
  padding: .35rem .35rem;
  border: 1px solid rgb(48 46 35 / 10%);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: .77rem;
  font-weight: 800;
  line-height: 1.17;
  text-align: center;
  overflow-wrap: anywhere;
}

.grid-chip.wide, .scale-chip.wide { grid-column: 1 / -1; }
.grid-chip svg, .scale-chip svg, .flow-step svg,
.orbit-chip svg, .wheel-node svg, .practice-icon svg {
  flex: none;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--theme);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eco-board { display: flex; flex-direction: column; }
.eco-globe-zone { display: grid; place-items: center; min-height: 96px; margin-top: auto; overflow: hidden; }
.eco-globe { position: relative; width: 62px; height: 62px; display: grid; place-items: center; }
.eco-globe .pulse-ring, .eco-globe .pulse-ring::before, .eco-globe .pulse-ring::after {
  position: absolute;
  inset: 0;
  border: 1px solid var(--green);
  border-radius: 50%;
  opacity: .28;
  content: "";
  animation: globe-pulse 4.8s ease-out infinite;
}
.eco-globe .pulse-ring::before { animation-delay: 1.6s; }
.eco-globe .pulse-ring::after { animation-delay: 3.2s; }
.globe-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 57px;
  height: 57px;
  border: 1px solid #a7bb9d;
  border-radius: 50%;
  background: var(--white);
}
.globe-core img { width: 52px; height: 52px; object-fit: contain; }

.flow-stack { position: relative; display: grid; grid-template-rows: 31px repeat(5, 34px); gap: 7px; }
.flow-core { grid-row: 1; align-self: center; margin-bottom: 0; }
.flow-step { position: relative; justify-content: flex-start; padding-inline-start: 34px; }
.flow-step.step-1 { grid-row: 2; }
.flow-step.step-2 { grid-row: 3; }
.flow-step.step-3 { grid-row: 4; }
.flow-step.step-4 { grid-row: 5; }
.flow-step.step-5 { grid-row: 6; }
.flow-step::before {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  top: 50%;
  left: 9px;
  transform: translateY(-50%);
  border: 1px solid #b58a61;
  border-radius: 50%;
  background: var(--paper);
}

.flow-line {
  position: absolute;
  top: 67px;
  height: 164px;
  left: 26px;
  width: 2px;
  border-radius: 2px;
  background: #c8a17d;
  pointer-events: none;
}
.flow-traveler { position: absolute; z-index: 2; inset: 0; animation: flow-drop 8s ease-in-out infinite; }
.flow-traveler img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 22px;
  height: 22px;
  max-width: none;
  transform: translate(-50%, -50%);
}

.life-scale {
  --walker-width: 54px;
  --walker-height: 60px;
  --walk-duration: 16s;
  margin-top: 10px;
  padding: 7px 8px 8px;
  border: 1px solid #cbd7e4;
  border-radius: 9px;
  background: var(--white);
}
.life-scale-track { position: relative; height: calc(var(--walker-height) + 24px); }
.life-scale-line, .scale-ticks { position: absolute; inset-inline: calc(var(--walker-width) / 2); }
.life-scale-line { top: var(--walker-height); height: 2px; border-radius: 2px; background: #9db5cd; }
.scale-ticks { top: calc(var(--walker-height) + 6px); color: var(--blue); font-size: .72rem; font-weight: 900; line-height: 1.2; }
.scale-ticks span { position: absolute; transform: translateX(-50%); }
.scale-ticks span::before { position: absolute; top: -8px; left: 50%; width: 1px; height: 5px; background: #7892ae; content: ""; }
.scale-ticks span:nth-child(2) { left: 33.333%; }
.scale-ticks span:nth-child(3) { left: 66.667%; }
.scale-ticks span:nth-child(4) { left: 100%; }
.scale-ticks .scale-goal { padding: 0 4px; border-radius: 4px; background: var(--blue-soft); }
.scale-walker {
  position: absolute;
  inset: 0 var(--walker-width) auto 0;
  height: var(--walker-height);
  animation: walk-scale var(--walk-duration) linear infinite;
}
.scale-stage { position: absolute; bottom: 0; left: 0; width: var(--walker-width); height: var(--walker-height); object-fit: contain; opacity: 0; }
.scale-child { opacity: 1; animation: walk-child var(--walk-duration) linear infinite; }
.scale-teen { animation: walk-teen var(--walk-duration) linear infinite; }
.scale-adult { animation: walk-adult var(--walk-duration) linear infinite; }
.scale-60 { animation: walk-60 var(--walk-duration) linear infinite; }
.scale-80 { animation: walk-80 var(--walk-duration) linear infinite; }
.scale-100 { animation: walk-100 var(--walk-duration) linear infinite; }
.scale-130 { animation: walk-130 var(--walk-duration) linear infinite; }
.scale-caption { color: var(--blue); font-size: .77rem; font-weight: 700; line-height: 1.35; text-align: center; }
.scale-caption span { display: block; }

.section-head { max-width: 47rem; margin-bottom: clamp(19px, 3.4vw, 33px); }
.section-head > p:not(.eyebrow), .copy-block > p:not(.eyebrow), .cycle-copy > p:not(.eyebrow), .place-copy > p:not(.eyebrow) { color: var(--muted); }

.intro-grid, .cycle-wrap, .place-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(24px, 5vw, 64px);
}
.intro-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "quote place" "host host";
  align-items: stretch;
  row-gap: clamp(16px, 2.5vw, 28px);
}
.intro-grid .copy-block { grid-area: place; }
.intro-grid h2 { font-size: clamp(1.92rem, 3.8vw, 3.12rem); }
.quote-card {
  grid-area: quote;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--ochre-soft);
}
.quote-card blockquote { margin: 0; color: var(--green-dark); font: italic 400 clamp(1.45rem, 2.7vw, 2.12rem)/1.2 "Crete Round", Georgia, serif; }
.quote-attribution figcaption { margin-top: .55rem; color: var(--green-dark); font-size: .9rem; font-weight: 800; }
.quote-card > p { margin-top: .72rem; color: var(--muted); }
.host-card {
  grid-area: host;
  display: grid;
  grid-template-columns: min(26%, 270px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3.2vw, 42px);
  padding: clamp(18px, 3.4vw, 39px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}
.host-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 36%;
  border-radius: clamp(13px, 2vw, 25px);
}
.host-card h3 { margin-top: .25rem; }
.host-card h3 ~ p { margin-top: .45rem; color: var(--muted); font-size: clamp(1rem, 1.22vw, 1.1rem); }

#filary {
  border-block: 1px solid var(--line);
  background: #f0ecdf;
}

.pillar-card { display: flex; flex-direction: column; }
.pillar-character-stage { background: var(--theme-soft); }
.pillar-character-stage img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}
.pillar-character-caption {
  padding: .8rem clamp(14px, 2vw, 22px) .95rem;
  border-bottom: 1px solid var(--line);
  color: var(--theme);
}
.pillar-character-caption span { font-size: .82rem; font-weight: 900; }
.pillar-character-caption h3 { margin-top: .19rem; color: var(--theme); }
.pillar-scene { padding: .9rem clamp(10px, 1.45vw, 17px) .2rem; }

.pillar-diagram, .cycle-wheel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 7px;
  padding: 10px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--theme-soft);
}
.pillar-diagram {
  grid-template-areas: "upper-left top upper-right" "left core right" "lower-left bottom lower-right";
}
.pillar-diagram::before, .cycle-wheel::before {
  position: absolute;
  z-index: -1;
  inset: 18% 9%;
  border: 1px dashed currentColor;
  border-radius: 50%;
  color: var(--theme);
  opacity: .35;
  content: "";
  pointer-events: none;
}
.pillars-perma::before, .pillars-long::before { animation: orbit-turn 23s linear infinite; }
.pillars-long::before { animation-direction: reverse; }

.diagram-center {
  grid-area: core;
  justify-self: center;
  display: grid;
  place-items: center;
  width: min(100%, 114px);
  min-height: 79px;
  padding: 6px;
  border: 1px solid var(--theme);
  border-radius: 50%;
  background: var(--white);
  color: var(--theme);
  font-size: clamp(.74rem, 1.2vw, .95rem);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

.orbit-chip, .wheel-node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3px 5px;
  min-height: 34px;
  min-width: 0;
  padding: .4rem .3rem;
  border: 1px solid rgb(48 46 35 / 13%);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: .74rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}
.pillar-diagram .orbit-chip { animation: float-node 5.6s ease-in-out infinite; }
.orbit-chip:nth-child(2) { grid-area: upper-left; }
.orbit-chip:nth-child(3) { grid-area: upper-right; animation-delay: -.7s; }
.orbit-chip:nth-child(4) { grid-area: left; animation-delay: -1.4s; }
.orbit-chip:nth-child(5) { grid-area: right; animation-delay: -2.1s; }
.orbit-chip:nth-child(6) { grid-area: lower-left; animation-delay: -2.8s; }
.orbit-chip:nth-child(7) { grid-area: lower-right; animation-delay: -3.5s; }
.orbit-chip:nth-child(8) { grid-area: top; animation-delay: -1s; }
.orbit-chip:nth-child(9) { grid-area: bottom; animation-delay: -3.2s; }

.pillar-copy { padding: 1rem clamp(14px, 2vw, 22px) 1.25rem; color: var(--muted); }
.detail-list { display: grid; gap: .62rem; margin: .85rem 0 0; padding: 0; list-style: none; }
.detail-list li { display: flex; align-items: flex-start; gap: .55rem; }
.detail-list span {
  flex: 0 0 21px;
  display: grid;
  place-items: center;
  height: 21px;
  margin-top: .15rem;
  border-radius: 50%;
  background: var(--theme-soft);
  color: var(--theme);
  font-size: .74rem;
  font-weight: 900;
}
.pillar-character-note { margin-top: .9rem; padding-top: .75rem; border-top: 1px solid var(--line); color: var(--theme); font-size: .91rem; }

.cycle-wrap { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(20px, 4.3vw, 54px); }
.cycle-card {
  min-width: 0;
  padding: clamp(14px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.cycle-topline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem; margin-bottom: .8rem; }
.cycle-topline h3 { color: var(--ochre); font-size: clamp(1.25rem, 2.15vw, 1.68rem); }
.cycle-wheel {
  grid-template-areas: ". one ." "six core two" "five core three" ". four .";
  gap: 9px;
  padding: clamp(12px, 2vw, 21px);
}
.cycle-wheel .diagram-center { width: min(100%, 130px); aspect-ratio: 1; }
.wheel-node { min-height: 45px; }
.wheel-node:nth-child(2) { grid-area: one; }
.wheel-node:nth-child(3) { grid-area: two; }
.wheel-node:nth-child(4) { grid-area: three; }
.wheel-node:nth-child(5) { grid-area: four; }
.wheel-node:nth-child(6) { grid-area: five; }
.wheel-node:nth-child(7) { grid-area: six; }
.wheel-num {
  flex: 0 0 18px;
  display: grid;
  place-items: center;
  height: 18px;
  border-radius: 50%;
  background: var(--ochre-soft);
  color: var(--ochre);
  font-size: .7rem;
}
.wheel-node.is-current { border-color: var(--ochre); color: #fff; background: var(--ochre); }
.wheel-node.is-current svg { stroke: #fff; }

.process-line {
  height: 4px;
  margin: .7rem 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ochre-soft);
}
.process-line span { display: block; width: 100%; height: 100%; transform: scaleX(.166667); transform-origin: left; background: var(--ochre); }
.cycle-instruction { margin: .65rem 0 .4rem; color: var(--muted); font-size: .87rem; font-weight: 800; }
.process-steps { display: grid; gap: .5rem; margin: .55rem 0 0; padding: 0; list-style: none; }
.step-card {
  position: relative;
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr);
  gap: .62rem;
  padding: .65rem .68rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
}
.step-card.is-current { border-color: #ae7d56; background: #f8ecdc; }
.step-num {
  display: grid;
  place-items: center;
  height: 29px;
  border-radius: 50%;
  background: var(--ochre-soft);
  color: var(--ochre);
  font-size: .85rem;
  font-weight: 900;
}
.step-card.is-current .step-num { background: var(--ochre); color: #fff; }
.step-card p { margin-top: .13rem; color: var(--muted); font-size: .9rem; line-height: 1.47; }
.step-select { border: 0; padding: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; text-align: left; }
.step-select::after { position: absolute; inset: 0; content: ""; }
.step-card:has(.step-select:focus-visible) { outline: 2px solid var(--ochre); outline-offset: 2px; }
.step-select:focus-visible { outline-offset: 2px; }

.place-panel {
  align-items: center;
  padding: clamp(18px, 3.4vw, 39px);
  border: 1px solid var(--line);
  border-radius: 23px;
  background: var(--paper);
}
.place-scene {
  display: grid;
  grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr);
  align-items: center;
  gap: .3rem;
  padding: clamp(9px, 1.4vw, 17px);
  border-radius: 15px;
  background: var(--green-soft);
}
.place-mascot {
  position: relative;
  z-index: 1;
  align-self: end;
  margin: 0 -24px 8px 0;
}
.place-mascot::before {
  position: absolute;
  inset: auto 21% -7px -5px;
  height: 17%;
  border-radius: 52% 48% 51% 49%;
  background: radial-gradient(ellipse at 48% 45%, #a38b58 12%, #c3b489 65%, #d2c8a4 100%);
  content: "";
}
.place-mascot img {
  position: relative;
  width: 100%;
  height: auto;
}
.map-card {
  min-width: 0;
  padding: clamp(9px, 1.2vw, 14px);
  border: 1px solid #cbd7c0;
  border-radius: 12px;
  background: var(--paper);
  color: var(--green-dark);
}
.map-card strong { display: block; font-size: .91rem; line-height: 1.3; }
.poland-map { width: 100%; height: auto; margin: .5rem 0; border-radius: 6px; }
.map-caption { color: var(--muted); font-size: .84rem; line-height: 1.44; }
.location-chip { display: inline-flex; align-items: center; gap: .3rem; margin-top: .3rem; font-size: .8rem; font-weight: 900; }
.location-chip svg { flex: none; width: 15px; height: 15px; fill: var(--green); }
.map-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; font-weight: 900; }
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin-top: 1rem; }
.fact { padding: .68rem .75rem; border: 1px solid var(--line); border-radius: 10px; background: var(--white); overflow-wrap: anywhere; }
.fact strong { display: block; font-size: 1.07rem; }
.fact span { display: block; margin-top: .21rem; color: var(--muted); font-size: .82rem; line-height: 1.35; }

.practice-card { padding: clamp(14px, 2.1vw, 24px); }
.practice-card-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .65rem; }
.practice-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--theme-soft); }
.practice-icon svg { width: 19px; height: 19px; }
.practice-card h3 { color: var(--theme); }
.practice-card p, .practice-detail p { color: var(--muted); }
.practice-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--theme-soft);
  color: var(--theme);
  font-weight: 900;
  cursor: pointer;
}
.practice-open { flex: none; border-radius: 50%; }
.practice-plus { position: relative; display: inline-block; width: 15px; height: 15px; }
.practice-plus::before, .practice-plus::after {
  position: absolute;
  inset: 7px 0 auto;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}
.practice-plus::after { transform: rotate(90deg); }
.practice-open[aria-expanded="true"] { background: var(--theme); color: #fff; border-color: var(--theme); }
.practice-open[aria-expanded="true"] .practice-plus::after { transform: none; }
.practice-panels { display: grid; gap: .75rem; margin-top: .85rem; }
.practice-panel {
  min-width: 0;
  padding: clamp(17px, 3vw, 30px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--theme);
  border-radius: 16px;
  background: var(--paper);
}
.practice-panels.is-enhanced { gap: 0; }
/* Keep the height of the longest description so switching topics does not move the page. */
.practice-panels.is-enhanced .practice-panel { grid-area: 1 / 1; }
.practice-panels.is-enhanced .practice-panel:not([data-active]) { visibility: hidden; }
.practice-hint { display: grid; place-items: center; color: var(--muted); text-align: center; }
.practice-panel h3 { margin-bottom: .85rem; color: var(--theme); }
.practice-detail { max-width: 76ch; }
.practice-detail h4 { margin: 1rem 0 .25rem; color: var(--theme); }
.practice-detail h4:first-child { margin-top: 0; }

.journal { border-top: 1px solid var(--line); background: #eee9db; }
.journal-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; gap: clamp(20px, 5vw, 65px); }
.journal-head { max-width: 40rem; }
.facebook-panel { padding: clamp(15px, 3vw, 27px); border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.facebook-panel-head { display: flex; align-items: center; gap: .7rem; }
.facebook-panel-head img { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; }
.facebook-panel h3 { font-size: clamp(1.22rem, 2vw, 1.52rem); }
.facebook-followers { margin-top: .16rem; color: var(--green); font-size: .91rem; font-weight: 800; }
.facebook-profile-note { margin: .72rem 0 .9rem; color: var(--muted); }
.facebook-posts { display: grid; gap: .65rem; max-height: 480px; padding: 0 .1rem 0 0; margin: .9rem 0; overflow-y: auto; list-style: none; }
.facebook-posts li { min-width: 0; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 10px; background: var(--white); overflow-wrap: anywhere; }
.facebook-posts time { color: var(--muted); font-size: .8rem; }
.facebook-posts p { margin: .23rem 0; color: var(--ink); }
.facebook-posts a { display: inline-flex; align-items: center; min-height: 44px; color: var(--green-dark); font-weight: 900; }

.partner { color: #fbf6e9; background: var(--green-dark); }
.partner :is(h2, h3) { color: inherit; }
.partner .eyebrow { color: #f1d5a3; }
.partner .lead, .partner-formats p { color: #f0eddf; }
.partner-head { display: grid; grid-template-columns: minmax(0, .69fr) minmax(0, 1.15fr); align-items: center; gap: clamp(20px, 4vw, 56px); }
.partner .btn { margin-top: 1rem; }
.partner :focus-visible, .contact-card :focus-visible { outline-color: #f1d5a3; }
.metrics { min-width: 0; padding: clamp(13px, 2vw, 24px); border: 1px solid #8a947a; border-radius: 16px; background: #475940; }
.metrics-head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1rem; margin-bottom: 1rem; }
.metric-period { margin-top: .4rem; color: #fff7e5; font-size: .89rem; font-weight: 700; }
.metrics-total { display: grid; gap: .08rem; color: #f1d5a3; }
.metrics-total strong { font: 400 clamp(2.3rem, 4.45vw, 3.65rem)/1.02 "Crete Round", Georgia, serif; }
.metrics-total span { font-size: .78rem; font-weight: 800; }
.metrics-platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.metric-platform { padding: clamp(12px, 1.35vw, 18px); border-radius: 12px; background: var(--paper); color: var(--ink); }
.metric-platform h4 { margin: 0; color: var(--green-dark); font-size: 1.1rem; }
.metric-platform dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem .55rem; margin-block: .6rem; }
.metric-platform dl > div { display: flex; flex-direction: column-reverse; align-items: flex-start; justify-content: flex-end; gap: .12rem; min-width: 0; font-variant-numeric: tabular-nums; }
.metric-platform .main-metric { grid-column: 1 / -1; padding-bottom: .55rem; border-bottom: 1px solid var(--line); }
.metric-platform dd { font: 400 clamp(.98rem, 1.55vw, 1.4rem)/1.13 "Crete Round", Georgia, serif; }
.metric-platform .main-metric dd { color: var(--ochre); font-size: clamp(1.7rem, 2.9vw, 2.65rem); }
.metric-platform dt { font-size: .78rem; font-weight: 800; line-height: 1.3; }
.metrics-note { margin-top: .6rem; color: var(--muted); font-size: .78rem; }
.partner-formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem 1.25rem; margin-top: clamp(20px, 4vw, 40px); }
.partner-formats article { border-top: 1px solid #8c9f8e; padding-top: .65rem; }
.partner-formats h3 { font-size: 1.29rem; }
.partner-formats p { margin-top: .35rem; }

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(18px, 4vw, 48px);
  padding: clamp(18px, 4vw, 42px);
  border-radius: 22px;
  color: #fbf6e9;
  background: var(--green);
}
.contact-card h2 { color: #fffdf3; }
.contact-card .eyebrow { color: #fffdf3; }
.contact-card .lead { color: #edf3e8; }
.social-list { display: grid; gap: .5rem; }
.social-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 15px;
  align-items: center;
  gap: .55rem;
  min-height: 46px;
  padding: .5rem .65rem;
  border: 1px solid #829783;
  border-radius: 9px;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.social-item small { display: block; color: #edf3e8; }
.social-icon { display: grid; place-items: center; width: 28px; height: 28px; }
.social-icon svg { width: 19px; height: 19px; fill: currentColor; }
.arrow {
  position: relative;
  justify-self: end;
  width: 9px;
  height: 9px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}
.arrow::after {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 1.5px;
  height: 11px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: top center;
  content: "";
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1rem;
  padding-block: 12px 27px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .84rem;
}
.footer-brand { display: inline-flex; align-items: center; gap: .45rem; color: var(--green-dark); }
.footer-brand img { width: 31px; height: 31px; object-fit: contain; }

.motion-scene[data-in-view] { --scene-motion: running; }
.motion-paused .motion-scene { --scene-motion: paused; }
.motion-scene,
.motion-scene *,
.motion-scene::before,
.motion-scene::after,
.motion-scene *::before,
.motion-scene *::after { animation-play-state: var(--scene-motion, paused) !important; }

@keyframes globe-pulse {
  0% { transform: scale(.9); opacity: .53; }
  75%, 100% { transform: scale(1.52); opacity: 0; }
}
@keyframes flow-drop {
  0%, 7% { transform: translateY(0); opacity: 1; }
  19%, 27% { transform: translateY(25%); opacity: 1; }
  39%, 47% { transform: translateY(50%); opacity: 1; }
  59%, 67% { transform: translateY(75%); opacity: 1; }
  79%, 92% { transform: translateY(100%); opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}
@keyframes walk-scale {
  0% { transform: translateX(0); opacity: 0; }
  1.6%, 97% { opacity: 1; }
  98.5% { transform: translateX(100%); opacity: .65; }
  100% { transform: translateX(100%); opacity: 0; }
}
/* Convert each age to the timeline using age / 150 × 98.5%. */
@keyframes walk-child { 0%, 8.5% { opacity: 1; } 9.5%, 100% { opacity: 0; } }
@keyframes walk-teen { 0%, 8.5% { opacity: 0; } 9.5%, 14.4% { opacity: 1; } 15.4%, 100% { opacity: 0; } }
@keyframes walk-adult { 0%, 14.4% { opacity: 0; } 15.4%, 39.4% { opacity: 1; } 40.4%, 100% { opacity: 0; } }
@keyframes walk-60 { 0%, 39.4% { opacity: 0; } 40.4%, 52.53% { opacity: 1; } 53.53%, 100% { opacity: 0; } }
@keyframes walk-80 { 0%, 52.53% { opacity: 0; } 53.53%, 65.67% { opacity: 1; } 66.67%, 100% { opacity: 0; } }
@keyframes walk-100 { 0%, 65.67% { opacity: 0; } 66.67%, 85.36% { opacity: 1; } 86.36%, 100% { opacity: 0; } }
@keyframes walk-130 { 0%, 85.36% { opacity: 0; } 86.36%, 100% { opacity: 1; } }
@keyframes float-node {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes orbit-turn {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover, .preview-topline a:hover, .social-item:hover { text-decoration: underline; }
  .btn-primary:hover { background: var(--green-dark); }
  .btn-secondary:hover, .motion-toggle:hover { background: var(--green-soft); }
  .btn-light:hover { background: #f9e1b6; }
  .cycle-toggle:hover:not(:disabled), .step-card:has(.step-select:hover) { border-color: var(--ochre); }
  .practice-open:hover { border-color: var(--theme); }
}

@media (prefers-reduced-motion: no-preference) {
  :is(.btn, .nav-toggle, .motion-toggle, .cycle-toggle) { transition: transform 140ms var(--ease-out); }
  :is(.btn, .nav-toggle, .motion-toggle, .cycle-toggle):active:not(:focus-visible) { transform: scale(.98); }
  .nav-links[data-pointer-open] {
    transform-origin: top right;
    transition: transform 170ms var(--ease-out), opacity 170ms var(--ease-out);
  }
  @starting-style {
    .nav-links[data-pointer-open] { opacity: .74; transform: translateY(-3px) scale(.985); }
  }
  .process-line span { transition: transform 280ms var(--ease-out); }
  .cycle-card:has(.step-select:focus-visible) .process-line span,
  .motion-paused .process-line span { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 920px) {
  :root { --header-height: 62px; }
  .container { width: calc(100% - 38px); }
  .site-header:not(.is-enhanced) { position: relative; }
  .nav { flex-wrap: wrap; gap: .4rem .55rem; }
  .site-header.is-enhanced .nav { flex-wrap: nowrap; }
  .brand { min-inline-size: 0; flex: 0 1 auto; }
  .brand-copy { min-inline-size: 0; }
  .brand img { width: 44px; height: 44px; }
  .nav-links { flex-wrap: wrap; width: 100%; padding-bottom: .4rem; }
  .is-enhanced .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    display: grid;
    gap: 2px;
    width: min(100%, 22rem);
    max-height: calc(100vh - var(--header-height) - .65rem);
    max-height: calc(100dvh - var(--header-height) - .65rem);
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding: .5rem;
    border: 1px solid var(--line);
    border-radius: 0 0 .85rem .85rem;
    background: var(--paper);
    box-shadow: var(--shadow);
  }
  .nav-links a { padding-inline: .6rem; }
  .hero-head { gap: 24px; }
  .cycle-wrap { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
  .hero-grid, .pillar-grid, .practice-grid { gap: .7rem; }
  .preview-card { padding-inline: .65rem; }
}

@media (max-width: 820px) {
  .hero-grid, .pillar-grid, .practice-grid,
  .intro-grid, .cycle-wrap, .place-panel, .contact-card, .journal-layout, .partner-head {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-grid, .pillar-grid, .practice-grid { gap: .85rem; }
  .preview-card { padding: .85rem; }
  .preview-stage { align-self: stretch; }
  .bubble-board, .scale-board, .flow-stack { width: min(100%, 360px); margin-inline: auto; }
  .pillar-diagram { max-width: 375px; margin-inline: auto; }
  .pillar-character-stage img { max-height: 400px; }
  .intro-grid { grid-template-areas: "place" "quote" "host"; }
  .place-scene { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
  .place-mascot { max-width: 245px; justify-self: end; }
  .map-card { max-width: 330px; }
  .practice-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .25rem .6rem; padding: .65rem .8rem; }
  .practice-card-top { display: contents; }
  .practice-card .practice-icon { display: none; }
  .practice-open { grid-area: 1 / 2; }
  .practice-card h3 { grid-area: 1 / 1; }
  .practice-card p { grid-column: 1 / -1; margin-top: 0; font-size: .9rem; }
  .practice-card:has(.practice-open:not([hidden])) > p { display: none; }
}

@media (max-width: 650px) {
  .container { width: calc(100% - 30px); }
  .hero-head, .partner-formats, .metrics-platforms { grid-template-columns: minmax(0, 1fr); }
  .hero-head { grid-template-areas: "copy" "art"; }
  .hero-mascot { width: min(100%, 480px); justify-self: center; }
  h1 { font-size: clamp(2.65rem, 9vw, 4rem); }
  .cycle-wheel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "one one" "six two" "core core" "five three" "four four";
  }
  .cycle-wheel .diagram-center { width: 90px; min-height: 74px; aspect-ratio: auto; }
  .wheel-node:nth-child(2), .wheel-node:nth-child(5) { width: fit-content; justify-self: center; padding-inline: .6rem; }
  .wheel-node svg { display: none; }
}

@media (max-width: 580px) {
  .host-card { grid-template-columns: minmax(0, 1fr); }
  .host-card img { max-width: 240px; justify-self: center; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 24px); }
  .brand small { display: none; }
  .brand strong { font-size: 1.12rem; }
  .hero-shell { padding: 14px; }
  .hero-actions { gap: .5rem; }
  .hero-actions .btn { padding-inline: .7rem; }
  .preview-topline { font-size: 1.23rem; }
  .fact-grid { grid-template-columns: minmax(0, 1fr); }
  .place-scene { grid-template-columns: minmax(0, 1fr); }
  .place-mascot { grid-row: 2; width: min(142px, 58%); margin: .35rem 0 .6rem; justify-self: center; }
}
