:root {
  color-scheme: light;
  --font-body: "EB Garamond", serif;
  --font-heading: "Plus Jakarta Sans", sans-serif;
  --color-bg: #ffffff;
  --color-text: #0a0a0a;
  --color-muted: #6f6f6f;
  --color-line: #ececec;
  --color-card: #f6f6f6;
  --color-acc: #161616;
  --container-width: min(1200px, calc(100vw - clamp(48px, 12vw, 160px)));
  --radius-card: 24px;
  --transition-base: 220ms ease;
}

* {
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: inherit;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

button {
  font: inherit;
  border: none;
  background: transparent;
  padding: 0;
  color: inherit;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--color-text);
  color: var(--color-bg);
  padding: 12px 16px;
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  transform: translateY(0);
}

.page {
  height: 100svh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.section {
  --section-padding: clamp(32px, 8vh, 64px);
  position: relative;
  height: 100svh;
  display: grid;
  align-items: center;
  padding: var(--section-padding) 0;
  scroll-snap-align: start;
  overflow: hidden;
}

.section__content {
  width: min(1200px, 100%);
  max-width: var(--container-width);
  margin: 0 auto;
  padding-inline: clamp(24px, 6vw, 48px);
  padding-block: clamp(8px, 2vh, 16px);
  max-height: calc(100svh - (var(--section-padding) * 2) - 80px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(10, 10, 10, 0.15) transparent;
}

.section__content::-webkit-scrollbar {
  width: 5px;
}

.section__content::-webkit-scrollbar-track {
  background: transparent;
}

.section__content::-webkit-scrollbar-thumb {
  background: rgba(10, 10, 10, 0.15);
  border-radius: 3px;
}

.section__content::-webkit-scrollbar-thumb:hover {
  background: rgba(10, 10, 10, 0.25);
}

.section__header {
  max-width: 760px;
}

.section__header h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 clamp(12px, 2vh, 16px);
  line-height: 1.1;
}

.section__header p {
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-wrap: pretty;
}

.eyebrow {
  font-family: var(--font-heading);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: clamp(12px, 2vw, 13px);
  margin: 0 0 clamp(10px, 2vh, 12px);
}

.lede {
  font-size: clamp(24px, 6vw, 40px);
  max-width: 24ch;
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6.5vw, 72px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 clamp(16px, 3vh, 24px);
  line-height: 1.1;
}

h2,
h3,
h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.next {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 6vh, 40px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.05);
  transition: background var(--transition-base), transform var(--transition-base);
}

.next__label {
  display: none;
}

.next__icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  transition: transform var(--transition-base);
}

.next:hover {
  background: rgba(10, 10, 10, 0.1);
}

.next:hover .next__icon {
  transform: translateY(4px);
}

.section--hero {
  padding: clamp(48px, 8vh, 96px) 0;
  gap: clamp(24px, 6vw, 64px);
  background: var(--color-bg);
  grid-template-columns: minmax(0, 1fr);
}

.section--hero .section__content {
  z-index: 1;
}

.hero__media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0.6;
}

.hero__portrait {
  position: relative;
  width: clamp(260px, 36vw, 460px);
  max-width: calc(100% - clamp(56px, 10vw, 160px));
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, rgba(10, 10, 10, 0.16), rgba(10, 10, 10, 0.02)),
    url("../assets/images/hero.jpg");
  background-size: cover;
  background-position: center;
  border-radius: clamp(12px, 4vw, 40px);
  box-shadow: 0 80px 120px -80px rgba(10, 10, 10, 0.35);
}

.section--core {
  background: #fafafa;
}

.core__layout {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  align-items: start;
}

.core__main {
  font-size: clamp(15.5px, 2.6vw, 17px);
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-wrap: pretty;
}

.core__main p {
  margin: 0 0 clamp(12px, 2vh, 16px);
}

.core__aside {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: clamp(16px, 3vh, 24px) 0 clamp(8px, 1.5vh, 12px);
  font-size: 13px;
}

.core__why h3 {
  margin: 0 0 clamp(12px, 2vh, 16px);
  font-size: clamp(15px, 2.2vw, 17px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.dash-list,
.why-list {
  list-style: none;
  padding: 0;
  margin: clamp(12px, 2vh, 16px) 0 0;
  display: grid;
  gap: clamp(8px, 1.5vh, 12px);
  font-size: clamp(15px, 2.2vw, 17px);
  line-height: 1.5;
}

.dash-list li {
  position: relative;
  padding-left: 24px;
}

.dash-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-muted);
}

.why-list li {
  border-left: 2px solid rgba(10, 10, 10, 0.1);
  padding-left: 16px;
  display: grid;
  gap: 4px;
}

.why-list__title {
  font-family: var(--font-heading);
  font-size: clamp(11px, 1.8vw, 12px);
  letter-spacing: 0.2em;
}

.why-list__body {
  color: var(--color-muted);
  font-size: clamp(15px, 2.2vw, 17px);
  line-height: 1.5;
}

.section--zalozenia {
  background: var(--color-bg);
}

.zalozenia__intro {
  margin-top: clamp(6px, 1vh, 10px);
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.55;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-wrap: pretty;
}

.zalozenia__intro em {
  font-style: italic;
}

.principles-container {
  margin-top: clamp(12px, 2.5vh, 20px);
  position: relative;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.principles-wrapper {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.principles-wrapper::-webkit-scrollbar {
  display: none;
}

.principles-wrapper:focus-visible {
  outline: 2px solid rgba(10, 10, 10, 0.3);
  outline-offset: -2px;
  border-radius: 4px;
}

.principles-page {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-width: 100%;
  padding-left: clamp(60px, 7.5vw, 80px);
}

.principles {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: clamp(22px, 4vh, 38px);
  max-width: 100%;
  counter-reset: none;
}

.principles li {
  position: relative;
  padding-left: clamp(18px, 2.5vw, 24px);
  border-left: 1px solid var(--color-line);
}

.principles li::before {
  content: attr(value);
  position: absolute;
  left: clamp(-50px, -6vw, -44px);
  top: 0;
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.8vw, 26px);
  letter-spacing: 0.2em;
  color: var(--color-text);
}

.principles[start="1"] li:nth-child(1)::before { content: "01"; }
.principles[start="1"] li:nth-child(2)::before { content: "02"; }
.principles[start="3"] li:nth-child(1)::before { content: "03"; }
.principles[start="3"] li:nth-child(2)::before { content: "04"; }
.principles[start="5"] li:nth-child(1)::before { content: "05"; }
.principles[start="5"] li:nth-child(2)::before { content: "06"; }
.principles[start="7"] li:nth-child(1)::before { content: "07"; }
.principles[start="7"] li:nth-child(2)::before { content: "08"; }

.principles h3 {
  margin: 0 0 clamp(6px, 1.2vh, 8px);
  font-size: clamp(14.5px, 2vw, 18px);
  line-height: 1.25;
  font-weight: 600;
}

.principles h3 em {
  font-style: italic;
  font-weight: 500;
}

.principle-prefix {
  font-size: 0.75em;
  color: var(--color-muted);
  font-weight: 400;
}

.principles p {
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(13.5px, 1.9vw, 16px);
  line-height: 1.55;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-wrap: pretty;
}

.principles p em {
  font-style: italic;
}

.principles-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(20px, 3vh, 28px);
  padding-bottom: 8px;
}

.principles-nav-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(20px, 2.5vw, 24px);
  height: clamp(20px, 2.5vw, 24px);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: opacity var(--transition-base), transform var(--transition-base);
  padding: 0;
  color: var(--color-muted);
}

.principles-nav-arrow:hover:not(:disabled) {
  opacity: 1;
  color: var(--color-text);
  transform: translateX(0);
}

.principles-nav-arrow--prev:hover:not(:disabled) {
  transform: translateX(-2px);
}

.principles-nav-arrow--next:hover:not(:disabled) {
  transform: translateX(2px);
}

.principles-nav-arrow:active:not(:disabled) {
  transform: scale(0.9);
}

.principles-nav-arrow:disabled {
  opacity: 0.15;
  cursor: not-allowed;
}

.principles-nav-arrow svg {
  width: 100%;
  height: 100%;
}

.principles-indicator {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.principles-indicator__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.2);
  transition: background var(--transition-base), transform var(--transition-base);
  border: none;
  padding: 0;
  cursor: pointer;
}

.principles-indicator__dot:hover {
  background: rgba(10, 10, 10, 0.35);
  transform: scale(1.15);
}

.principles-indicator__dot.active,
.principles-indicator__dot[aria-selected="true"] {
  background: var(--color-text);
  transform: scale(1.3);
}

.principles-indicator__dot:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.section--uklad {
  background: #fdfdfd;
}

.story-flow {
  margin-top: clamp(12px, 2.5vh, 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(600px, 100%);
  margin-left: auto;
  margin-right: auto;
  gap: 0;
}

.story-step {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 2vw, 20px);
  padding: clamp(10px, 2vh, 14px) clamp(14px, 2.5vw, 20px);
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(10, 10, 10, 0.06);
  transition: all var(--transition-base);
  position: relative;
}

.story-step:hover {
  border-color: rgba(10, 10, 10, 0.15);
  transform: translateX(4px);
  box-shadow: 0 8px 24px -12px rgba(10, 10, 10, 0.12);
}

.story-step--highlight {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.03), rgba(10, 10, 10, 0.01));
  border-color: rgba(10, 10, 10, 0.12);
}

.story-step--highlight:hover {
  border-color: rgba(10, 10, 10, 0.2);
  box-shadow: 0 12px 32px -16px rgba(10, 10, 10, 0.16);
}

.story-step__marker {
  flex-shrink: 0;
  width: clamp(36px, 4vw, 44px);
  height: clamp(36px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-text);
  color: var(--color-bg);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: clamp(13px, 1.8vw, 15px);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.story-step--highlight .story-step__marker {
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  box-shadow: 0 4px 12px rgba(10, 10, 10, 0.25);
}

.story-step__content {
  flex: 1;
  min-width: 0;
}

.story-step__title {
  font-family: var(--font-heading);
  font-size: clamp(13px, 2vw, 15px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 clamp(4px, 0.8vh, 6px);
  line-height: 1.2;
}

.story-step__desc {
  margin: 0;
  font-size: clamp(13.5px, 2vw, 15px);
  line-height: 1.5;
  color: var(--color-muted);
}

.story-arrow {
  width: 24px;
  height: clamp(32px, 4vh, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(10, 10, 10, 0.2);
  margin: clamp(2px, 0.5vh, 4px) 0;
}

.story-arrow svg {
  width: 100%;
  height: 100%;
}

.section--chapters .chapter-grid {
  margin-top: clamp(16px, 3vh, 24px);
  display: flex;
  gap: clamp(16px, 2.5vw, 20px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  padding-right: 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(10, 10, 10, 0.2) transparent;
  position: relative;
}

.section--chapters .chapter-grid::-webkit-scrollbar {
  height: 6px;
}

.section--chapters .chapter-grid::-webkit-scrollbar-track {
  background: transparent;
}

.section--chapters .chapter-grid::-webkit-scrollbar-thumb {
  background: rgba(10, 10, 10, 0.2);
  border-radius: 3px;
}

.section--chapters .chapter-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(10, 10, 10, 0.3);
}

.chapter-card {
  flex: 0 0 clamp(260px, 38vw, 340px);
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 18px;
  background: #fff;
  padding: 16px 20px;
  transition: border-color var(--transition-base), transform var(--transition-base);
  display: grid;
  align-content: start;
  scroll-snap-align: start;
}

.chapter-card:hover {
  border-color: rgba(10, 10, 10, 0.2);
  transform: translateY(-4px);
}

.chapter-card__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: clamp(13px, 2vw, 14px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  gap: 12px;
}

.chapter-card__toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  transition: transform var(--transition-base);
}

.chapter-card__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.chapter-card__content {
  margin-top: 14px;
  color: var(--color-muted);
  font-size: clamp(15px, 2.2vw, 17px);
  line-height: 1.5;
  border-top: 1px solid rgba(10, 10, 10, 0.06);
  padding-top: 14px;
}

.section--zawias {
  background: var(--color-bg);
}

.zawias__body {
  margin-top: clamp(16px, 3vh, 24px);
  max-width: 760px;
  font-size: clamp(14px, 2vw, 16px);
  color: var(--color-text);
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-wrap: pretty;
}

.zawias__body p {
  margin: 0 0 clamp(12px, 2vh, 16px);
}

.zawias__body p:last-child {
  margin-bottom: 0;
}

.section--unikalne {
  background: #fafafa;
}

.section--probka {
  background: var(--color-bg);
}

.section--probka .section__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-height: none;
  overflow: visible;
}

.section--probka .section__header {
  width: 100%;
  max-width: 680px;
  text-align: left;
}

.section--probka .cta {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 100%;
  max-width: 500px;
}

.unique-grid {
  margin-top: clamp(10px, 2vh, 16px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(240px, 30vw, 320px), 1fr));
  gap: clamp(14px, 2vw, 20px);
  max-width: 100%;
}

.unique-card {
  background: #fff;
  border-radius: clamp(16px, 3vw, 20px);
  padding: clamp(16px, 2vw, 20px);
  box-shadow: 0 20px 50px -40px rgba(10, 10, 10, 0.18);
  border: 1px solid rgba(10, 10, 10, 0.06);
  display: flex;
  flex-direction: column;
}

.unique-card h3 {
  margin: 0 0 clamp(10px, 1.5vh, 12px);
  font-size: clamp(12px, 1.8vw, 14px);
  letter-spacing: 0.18em;
  line-height: 1.2;
}

.unique-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: clamp(7px, 1.2vh, 9px);
  font-size: clamp(13px, 1.9vw, 15px);
  color: var(--color-muted);
  line-height: 1.45;
}

.unique-card li {
  position: relative;
  padding-left: 16px;
}

.unique-card li::before {
  content: "·";
  position: absolute;
  left: 4px;
  font-size: 1.4em;
  line-height: 1;
  color: rgba(10, 10, 10, 0.3);
}

.cta {
  margin-top: clamp(20px, 4vh, 32px);
  text-align: center;
}

.book {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  gap: clamp(4px, 0.7vh, 6px);
  padding: clamp(14px, 2.8vw, 20px) clamp(17px, 4.2vw, 28px);
  border-radius: clamp(14px, 3.5vw, 34px);
  background: linear-gradient(145deg, rgba(10, 10, 10, 0.04), rgba(10, 10, 10, 0.01));
  box-shadow: 0 50px 120px -80px rgba(10, 10, 10, 0.35);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  width: fit-content;
  max-width: 100%;
}

.book:hover {
  transform: translateY(-6px);
  box-shadow: 0 60px 150px -70px rgba(10, 10, 10, 0.4);
}

.book__label {
  font-family: var(--font-heading);
  font-size: clamp(9px, 1.4vw, 10px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.book__svg {
  width: clamp(98px, 11.2vw, 140px);
}

.book__cover {
  fill: var(--color-text);
}

.book__spine {
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 2;
}

.book__pages {
  fill: rgba(255, 255, 255, 0.85);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(126px, 19.6vw, 168px), 1fr));
  gap: clamp(11px, 1.75vw, 17px);
  width: 100%;
  max-width: 392px;
}

.book__chapter {
  font-family: var(--font-heading);
  font-size: clamp(10px, 1.4vw, 11px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
  opacity: 0.85;
}

@media (max-width: 720px) {
  .book-grid {
    grid-template-columns: 1fr;
    gap: clamp(11px, 2.8vw, 17px);
  }
  
  .book__svg {
    width: clamp(84px, 14vw, 112px);
  }
  
  .book__chapter {
    font-size: clamp(10px, 2.45vw, 11px);
  }
  
  .book__label {
    font-size: clamp(8px, 2.1vw, 9px);
  }
}

.cta__hint {
  margin-top: clamp(16px, 2.5vh, 24px);
  color: var(--color-muted);
  font-size: clamp(14px, 2vw, 15px);
  line-height: 1.5;
  text-align: center;
}

.is-hidden {
  opacity: 0;
}

.is-visible {
  opacity: 1;
  transition: opacity 480ms ease;
}

@media (max-width: 900px) {
  .section {
    --section-padding: clamp(28px, 7vh, 56px);
  }

  .section--hero {
    justify-items: center;
  }

  .section__content {
    width: min(92vw, 640px);
  }

  .zalozenia__intro {
    font-size: clamp(13px, 3vw, 15px);
    line-height: 1.5;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-wrap: pretty;
  }

  .principles-container {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .principles-page {
    padding-left: clamp(52px, 6.5vw, 68px);
  }

  .principles {
    gap: clamp(18px, 3.5vh, 28px);
  }

  .principles li {
    padding-left: clamp(16px, 2.2vw, 22px);
  }

  .principles li::before {
    left: clamp(-44px, -5.5vw, -38px);
    font-size: clamp(16px, 3.5vw, 22px);
  }

  .principles h3 {
    font-size: clamp(13.5px, 3.2vw, 16px);
    line-height: 1.22;
  }

  .principles p {
    font-size: clamp(12.5px, 2.8vw, 14.5px);
    line-height: 1.5;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-wrap: pretty;
  }

  .chapter-card {
    flex: 0 0 clamp(260px, 46vw, 320px);
  }

  .unique-grid {
    grid-template-columns: 1fr;
  }
  
  .unique-card {
    padding: clamp(14px, 2.5vw, 18px);
  }
}

@media (max-width: 720px) {
  .section--hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 5vw, 28px);
    padding: clamp(32px, 7vh, 64px) 0;
  }

  .section--hero .section__content {
    order: 1;
    width: min(92vw, 520px);
    text-align: center;
  }

  .hero__media {
    order: 2;
    position: static;
    inset: unset;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: clamp(4px, 3vw, 16px);
  }

  .hero__portrait {
    width: clamp(200px, 56vw, 320px);
    max-width: min(320px, calc(100% - 40px));
  }
}

@media (max-width: 600px) {
  body {
    font-size: clamp(14px, 3.8vw, 16px);
  }

  .section {
    --section-padding: clamp(20px, 5vh, 40px);
  }

  .section__header h2 {
    font-size: clamp(22px, 5.5vw, 32px);
    margin-bottom: clamp(8px, 1.5vh, 12px);
    line-height: 1.05;
  }

  .section__header p {
    font-size: clamp(14px, 3.6vw, 16px);
    line-height: 1.5;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-wrap: pretty;
  }

  .core__layout {
    gap: clamp(12px, 3vh, 20px);
  }

  .core__main {
    font-size: clamp(13.5px, 3.4vw, 15px);
    line-height: 1.55;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-wrap: pretty;
  }

  .core__main p {
    margin: 0 0 clamp(8px, 1.5vh, 12px);
  }

  .core__aside {
    margin: clamp(10px, 2vh, 16px) 0 clamp(6px, 1vh, 10px);
    font-size: 11px;
  }

  .core__why h3 {
    font-size: clamp(13px, 3.2vw, 15px);
    margin-bottom: clamp(8px, 1.5vh, 12px);
  }

  .dash-list,
  .why-list {
    margin-top: clamp(8px, 1.5vh, 12px);
    font-size: clamp(13px, 3.4vw, 14.5px);
    gap: clamp(6px, 1.2vh, 10px);
    line-height: 1.4;
  }

  .dash-list li {
    padding-left: 20px;
  }

  .why-list li {
    padding-left: 12px;
  }

  .why-list__title {
    font-size: 10px;
  }

  .why-list__body {
    font-size: clamp(13px, 3.4vw, 14.5px);
    line-height: 1.4;
  }

  .zalozenia__intro {
    font-size: clamp(12px, 2.8vw, 14px);
    line-height: 1.48;
    margin-top: clamp(4px, 0.8vh, 8px);
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-wrap: pretty;
  }

  .principles-container {
    margin-top: clamp(10px, 2vh, 16px);
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .principles-page {
    padding-left: clamp(46px, 5.8vw, 58px);
  }

  .principles {
    gap: clamp(16px, 3.2vh, 24px);
  }

  .principles li {
    padding-left: clamp(14px, 2vw, 20px);
  }

  .principles li::before {
    left: clamp(-38px, -4.8vw, -34px);
    font-size: clamp(15px, 3.5vw, 19px);
  }

  .principles h3 {
    font-size: clamp(13px, 3.5vw, 16px);
    line-height: 1.2;
    margin-bottom: clamp(5px, 1vh, 7px);
  }

  .principles p {
    font-size: clamp(12px, 3.2vw, 14px);
    line-height: 1.48;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-wrap: pretty;
  }

  .principles-navigation {
    margin-top: clamp(14px, 2.2vh, 20px);
    gap: clamp(18px, 2.8vw, 28px);
  }

  .principles-nav-arrow {
    width: clamp(18px, 2.3vw, 22px);
    height: clamp(18px, 2.3vw, 22px);
  }

  .principles-indicator {
    gap: 9px;
  }

  .principles-indicator__dot {
    width: 7px;
    height: 7px;
  }

  .chapter-card {
    flex: 0 0 clamp(240px, 68vw, 280px);
  }

  .chapter-card__content {
    font-size: clamp(14.5px, 3.8vw, 16px);
  }

  .unique-grid {
    grid-template-columns: 1fr;
    gap: clamp(10px, 2.5vw, 14px);
    margin-top: clamp(8px, 1.5vh, 12px);
  }

  .unique-card {
    padding: clamp(12px, 3vw, 16px);
    border-radius: clamp(12px, 3vw, 16px);
  }

  .unique-card h3 {
    font-size: clamp(10.5px, 2.8vw, 12px);
    margin-bottom: clamp(7px, 1.2vh, 9px);
  }

  .unique-card ul {
    font-size: clamp(11.5px, 3.2vw, 13px);
    gap: clamp(5px, 1vh, 7px);
    line-height: 1.38;
  }

  .unique-card li {
    padding-left: 13px;
  }

  .unique-card li::before {
    left: 2px;
  }

  .story-flow {
    margin-top: clamp(10px, 2vh, 16px);
  }

  .story-step {
    padding: clamp(9px, 1.8vh, 12px) clamp(12px, 2.2vw, 16px);
    gap: clamp(12px, 1.8vw, 16px);
  }

  .story-step__marker {
    width: clamp(32px, 3.8vw, 38px);
    height: clamp(32px, 3.8vw, 38px);
    font-size: clamp(12px, 1.6vw, 14px);
  }

  .story-step__title {
    font-size: clamp(12px, 1.8vw, 14px);
    margin-bottom: clamp(3px, 0.6vh, 5px);
  }

  .story-step__desc {
    font-size: clamp(13px, 1.9vw, 14.5px);
    line-height: 1.45;
  }

  .story-arrow {
    height: clamp(28px, 3.5vh, 40px);
    margin: clamp(1px, 0.3vh, 3px) 0;
  }

  .zawias__body {
    margin-top: clamp(10px, 2vh, 16px);
    font-size: clamp(12px, 3vw, 14px);
    line-height: 1.48;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-wrap: pretty;
  }

  .zawias__body p {
    margin-bottom: clamp(8px, 1.5vh, 12px);
  }
}

@media (max-width: 400px) {
  .section {
    --section-padding: clamp(18px, 3.5vh, 32px);
    padding-top: clamp(20px, 4vh, 36px);
    padding-bottom: clamp(12px, 2.5vh, 20px);
  }

  .section__content {
    padding-block: clamp(6px, 1.2vh, 12px);
    padding-inline: clamp(20px, 5vw, 40px);
    max-height: calc(100svh - clamp(20px, 4vh, 36px) - clamp(12px, 2.5vh, 20px) - 52px);
  }

  .section__header h2 {
    font-size: clamp(22px, 5.2vw, 28px);
    margin-bottom: clamp(6px, 1vh, 10px);
  }

  .section__header p {
    font-size: clamp(13.5px, 3.4vw, 15px);
    line-height: 1.45;
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-wrap: pretty;
  }

  .core__layout {
    gap: clamp(26px, 4.2vw, 48px);
    margin-top: clamp(10px, 1.8vh, 14px);
  }

  .core__main {
    font-size: clamp(13px, 3.2vw, 14.5px);
    line-height: 1.5;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-wrap: pretty;
  }

  .core__main p {
    margin: 0 0 clamp(6px, 1.2vh, 10px);
  }

  .core__main p:last-child {
    margin-bottom: 0;
  }

  .core__aside {
    margin: clamp(8px, 1.4vh, 12px) 0 clamp(5px, 0.8vh, 8px);
    font-size: 10.5px;
  }

  .core__why h3 {
    font-size: clamp(12.5px, 3vw, 14px);
    margin-bottom: clamp(6px, 1.2vh, 10px);
  }

  .why-list {
    margin-top: clamp(6px, 1.2vh, 10px);
    font-size: clamp(12.5px, 3.2vw, 14px);
    gap: clamp(5px, 1vh, 8px);
    line-height: 1.35;
  }

  .why-list li {
    padding-left: 10px;
    border-left-width: 1.5px;
  }

  .why-list__title {
    font-size: 9.5px;
    letter-spacing: 0.18em;
  }

  .why-list__body {
    font-size: clamp(12.5px, 3.2vw, 14px);
    line-height: 1.35;
  }

  .section__header h2 {
    margin-bottom: clamp(5px, 1vh, 8px);
  }

  .zalozenia__intro {
    font-size: clamp(11px, 2.6vw, 13px);
    line-height: 1.45;
    margin-top: clamp(3px, 0.6vh, 6px);
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-wrap: pretty;
  }

  .principles-container {
    margin-top: clamp(8px, 1.6vh, 12px);
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .principles-page {
    padding-left: clamp(40px, 5vw, 50px);
  }

  .principles {
    gap: clamp(14px, 2.8vh, 20px);
  }

  .principles li {
    padding-left: clamp(12px, 1.8vw, 18px);
  }

  .principles li::before {
    left: clamp(-34px, -4.2vw, -30px);
    font-size: clamp(14px, 4vw, 17px);
    letter-spacing: 0.16em;
  }

  .principles h3 {
    font-size: clamp(12px, 3.2vw, 14px);
    line-height: 1.18;
    margin-bottom: clamp(4px, 0.8vh, 6px);
  }

  .principles p {
    font-size: clamp(11px, 2.9vw, 12.5px);
    line-height: 1.45;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-wrap: pretty;
  }

  .principles-navigation {
    margin-top: clamp(12px, 2vh, 18px);
    gap: clamp(16px, 2.5vw, 24px);
  }

  .principles-nav-arrow {
    width: clamp(16px, 2.2vw, 20px);
    height: clamp(16px, 2.2vw, 20px);
  }

  .principles-indicator {
    gap: 7px;
  }

  .principles-indicator__dot {
    width: 6px;
    height: 6px;
  }

  .next {
    bottom: clamp(10px, 2.5vh, 20px);
    padding: 8px;
  }

  .next__icon {
    width: 20px;
    height: 20px;
  }

  .story-flow {
    margin-top: clamp(8px, 1.6vh, 12px);
  }

  .story-step {
    padding: clamp(8px, 1.6vh, 11px) clamp(10px, 2vw, 14px);
    gap: clamp(10px, 1.6vw, 14px);
    border-radius: 14px;
  }

  .story-step__marker {
    width: clamp(30px, 3.6vw, 36px);
    height: clamp(30px, 3.6vw, 36px);
    font-size: clamp(11px, 1.5vw, 13px);
  }

  .story-step__title {
    font-size: clamp(11px, 1.7vw, 13px);
    margin-bottom: clamp(2px, 0.5vh, 4px);
  }

  .story-step__desc {
    font-size: clamp(12px, 1.8vw, 13.5px);
    line-height: 1.4;
  }

  .story-arrow {
    height: clamp(24px, 3vh, 36px);
    margin: clamp(1px, 0.2vh, 2px) 0;
  }
}

@media (max-width: 360px) {
  .section__header h2 {
    font-size: clamp(20px, 5vw, 26px);
    margin-bottom: clamp(4px, 0.8vh, 7px);
  }

  .section__header p {
    font-size: clamp(11.5px, 3vw, 13px);
    line-height: 1.42;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-wrap: pretty;
  }

  .zalozenia__intro {
    font-size: clamp(10.5px, 2.5vw, 12px);
    line-height: 1.42;
    margin-top: clamp(2px, 0.5vh, 5px);
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-wrap: pretty;
  }

  .principles-container {
    margin-top: clamp(6px, 1.4vh, 10px);
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .principles-page {
    padding-left: clamp(36px, 4.5vw, 46px);
  }

  .principles {
    gap: clamp(12px, 2.4vh, 16px);
  }

  .principles li {
    padding-left: clamp(10px, 1.5vw, 16px);
  }

  .principles li::before {
    left: clamp(-30px, -3.8vw, -26px);
    font-size: clamp(13px, 3.8vw, 16px);
    letter-spacing: 0.14em;
  }

  .principles h3 {
    font-size: clamp(11.5px, 3vw, 13.5px);
    line-height: 1.16;
    margin-bottom: clamp(3px, 0.7vh, 5px);
  }

  .principles p {
    font-size: clamp(10.5px, 2.8vw, 12px);
    line-height: 1.42;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-wrap: pretty;
  }

  .principles-navigation {
    margin-top: clamp(10px, 1.8vh, 16px);
    gap: clamp(14px, 2.2vw, 20px);
  }

  .principles-nav-arrow {
    width: clamp(15px, 2vw, 18px);
    height: clamp(15px, 2vw, 18px);
  }

  .principles-indicator {
    gap: 6px;
  }

  .principles-indicator__dot {
    width: 5px;
    height: 5px;
  }

  .story-flow {
    margin-top: clamp(6px, 1.4vh, 10px);
  }

  .story-step {
    padding: clamp(7px, 1.4vh, 10px) clamp(9px, 1.8vw, 12px);
    gap: clamp(9px, 1.5vw, 12px);
    border-radius: 12px;
  }

  .story-step__marker {
    width: clamp(28px, 3.4vw, 34px);
    height: clamp(28px, 3.4vw, 34px);
    font-size: clamp(10px, 1.4vw, 12px);
  }

  .story-step__title {
    font-size: clamp(10.5px, 1.6vw, 12px);
    margin-bottom: clamp(2px, 0.4vh, 3px);
    letter-spacing: 0.14em;
  }

  .story-step__desc {
    font-size: clamp(11px, 1.7vw, 12.5px);
    line-height: 1.38;
  }

  .story-arrow {
    height: clamp(20px, 2.8vh, 32px);
    margin: clamp(0px, 0.1vh, 1px) 0;
  }

  .unique-grid {
    margin-top: clamp(6px, 1.2vh, 10px);
    gap: clamp(8px, 2vw, 12px);
  }

  .unique-card {
    padding: clamp(10px, 2.5vw, 14px);
    border-radius: clamp(12px, 3vw, 16px);
  }

  .unique-card h3 {
    font-size: clamp(9.5px, 2.5vw, 11px);
    margin-bottom: clamp(6px, 1vh, 8px);
    letter-spacing: 0.15em;
    line-height: 1.15;
  }

  .unique-card ul {
    gap: clamp(4px, 0.8vh, 6px);
    font-size: clamp(10.5px, 2.8vw, 12px);
    line-height: 1.35;
  }

  .unique-card li {
    padding-left: 12px;
  }

  .unique-card li::before {
    left: 2px;
    font-size: 1.25em;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
