:root {
  --surface: #fbf9f5;
  --surface-soft: #f1ede5;
  --surface-card: #fffdf9;
  --ink: #1b1c1a;
  --muted: #55584e;
  --sage: #526442;
  --sage-deep: #303c28;
  --sage-pale: #d5e9bf;
  --olive: #5c614d;
  --gold: #b68737;
  --gold-soft: #f2dfb8;
  --line: #d8d3c8;
  --shadow: 0 26px 70px rgba(70, 78, 58, .11);
  --radius: 8px;
  --radius-large: 24px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(216, 211, 200, .72);
  background: rgba(251, 249, 245, .86);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.1;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.5vw, 18px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.site-nav a,
.site-footer a {
  transition: color .2s ease;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--sage);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.primary,
.header-cta {
  color: #fff;
  background: var(--sage);
  box-shadow: 0 18px 40px rgba(82, 100, 66, .22);
}

.primary:hover,
.header-cta:hover {
  background: var(--sage-deep);
}

.ghost {
  color: var(--gold);
  border-color: rgba(182, 135, 55, .42);
  background: rgba(255, 253, 249, .62);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-card);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

main {
  overflow: hidden;
}

section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 112px) 0;
}

.section-bleed {
  width: 100%;
  max-width: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 84px);
  align-items: center;
  padding: clamp(96px, 12vw, 150px) clamp(20px, 6vw, 88px);
}

.hero-media,
.method-media,
.ranch-banner {
  background-position: center;
  background-size: cover;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(251,249,245,.96) 0%, rgba(251,249,245,.82) 36%, rgba(251,249,245,.18) 65%), url("assets/banner.png");
  background-position: center right;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(43px, 5vw, 68px);
  line-height: 1.04;
}

h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.12;
}

h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.24;
}

.hero-lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-actions .button {
  width: 260px;
  min-height: 64px;
  padding: 12px 20px;
  flex-direction: column;
  gap: 2px;
  line-height: 1.18;
  text-align: center;
  white-space: normal;
}

.hero-actions .button span {
  display: block;
}

.hero-note {
  position: absolute;
  right: clamp(20px, 6vw, 88px);
  bottom: clamp(22px, 5vw, 58px);
  z-index: 1;
  max-width: 320px;
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: var(--radius-large);
  color: #fff;
  background: rgba(48, 60, 40, .56);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.manifest {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  overflow: hidden;
  min-height: min(75vw, 1086px);
  display: grid;
  place-items: center;
  padding: clamp(120px, 14vw, 210px) 20px;
  text-align: center;
  background: url("assets/o-metodzie-sekcja.png") center / cover no-repeat, #fcf8f0;
}

.manifest::before {
  content: "";
  position: absolute;
  inset: clamp(94px, 10vw, 152px) clamp(10%, 13vw, 15%);
  z-index: -1;
  border: 1px solid rgba(174, 125, 40, .74);
  border-radius: clamp(34px, 5vw, 66px);
  filter: drop-shadow(0 24px 46px rgba(142, 100, 23, .08));
}

.manifest::after {
  content: "";
  position: absolute;
  inset: clamp(126px, 13vw, 194px) clamp(7%, 10vw, 12%);
  z-index: -1;
  border: 1px solid rgba(109, 139, 90, .52);
  border-radius: clamp(32px, 4.5vw, 58px);
}

.narrow {
  position: relative;
  width: min(960px, 76vw);
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(52px, 6vw, 86px) clamp(30px, 7vw, 96px);
  border: 2px solid rgba(255, 255, 255, .82);
  border-radius: clamp(34px, 4vw, 56px);
  background: rgba(255, 252, 246, .94);
  box-shadow:
    0 28px 58px rgba(116, 91, 52, .17),
    inset 0 0 42px rgba(242, 221, 184, .19);
  backdrop-filter: blur(12px);
}

.manifest .eyebrow {
  color: #ad7829;
  font-size: clamp(10px, 1vw, 13px);
  letter-spacing: .28em;
}

.manifest .eyebrow::after {
  content: "✦";
  display: block;
  width: min(460px, 80%);
  margin: 24px auto 30px;
  color: #d1a248;
  background: linear-gradient(90deg, #d7b269, #d7b269) center / 100% 1px no-repeat;
  font-size: 20px;
  line-height: 1;
}

.manifest p:last-child,
.about-copy p,
.ranch-content p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.manifest h2 {
  max-width: 760px;
  margin: 0 auto;
  color: var(--sage);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 72px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.12;
}

.manifest h2 + p {
  max-width: 820px;
  margin: clamp(28px, 3.5vw, 42px) auto 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 42px;
  align-items: end;
  max-width: none;
}

.section-heading.split > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, .42fr) minmax(0, .58fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.portrait-card {
  display: grid;
  min-height: 560px;
  align-content: end;
  padding: 18px;
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 32% 25%, rgba(213, 233, 191, .7), transparent 34%),
    linear-gradient(145deg, #fffdf9, #e6ddcc);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portrait-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: calc(var(--radius-large) - 8px);
  box-shadow: 0 20px 50px rgba(70, 78, 58, .13);
}

.portrait-card p {
  margin: 18px 0 0;
  color: var(--sage-deep);
  font-weight: 800;
  text-align: center;
}

.portrait-caption {
  max-width: 520px;
  margin-inline: auto;
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.7;
  letter-spacing: .03em;
}

.signature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.signature-row span {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--sage-deep);
  background: var(--sage-pale);
  font-size: 13px;
  font-weight: 800;
}

.cards {
  display: grid;
  gap: 24px;
}

.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.topic-grid article,
.contact-form {
  border: 1px solid rgba(216, 211, 200, .86);
  border-radius: var(--radius-large);
  background: var(--surface-card);
  box-shadow: 0 20px 56px rgba(70, 78, 58, .07);
}

.card {
  min-height: 360px;
  padding: 32px;
}

.card.featured {
  border-color: rgba(82, 100, 66, .36);
  transform: translateY(-12px);
}

.icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 30px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--sage);
  font-weight: 850;
}

.card p,
.topic-grid p,
.principles p,
.event-list p {
  color: var(--muted);
}

.card a {
  display: inline-block;
  margin-top: 20px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.offer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: none;
  padding: clamp(92px, 10vw, 150px) clamp(24px, 4vw, 56px);
  color: #17331f;
  background:
    url("assets/festival-watercolor-bg.png") center / cover no-repeat,
    #fdf9ef;
}

.offer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 18%, rgba(226, 207, 171, .24), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(219, 199, 218, .22), transparent 28%),
    radial-gradient(circle at 70% 82%, rgba(201, 217, 184, .28), transparent 34%),
    linear-gradient(180deg, rgba(255, 253, 248, .18), rgba(251, 245, 232, .3));
  pointer-events: none;
}

.offer::after {
  content: "";
  position: absolute;
  inset: clamp(20px, 3vw, 44px);
  z-index: -1;
  border: 1px solid rgba(182, 135, 55, .22);
  border-radius: clamp(28px, 4vw, 52px);
  pointer-events: none;
}

.offer .offer-heading {
  max-width: 820px;
  margin: 0 auto clamp(62px, 8vw, 108px);
}

.offer .offer-heading h2 {
  color: #17331f;
  font-size: clamp(42px, 4.8vw, 62px);
  line-height: 1.06;
}

.offer .offer-heading p {
  max-width: 720px;
  margin: 20px auto 0;
  color: rgba(23, 51, 31, .68);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
}

.offer .cards {
  width: min(100%, 1420px);
  margin: 0 auto;
  gap: clamp(20px, 2.6vw, 38px);
}

.offer .card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid rgba(182, 135, 55, .24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 86% 8%, rgba(219, 230, 201, .3), transparent 30%),
    linear-gradient(145deg, rgba(255, 253, 248, .94), rgba(250, 245, 232, .88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .82),
    0 24px 58px rgba(106, 88, 53, .11);
  backdrop-filter: blur(12px);
}

.offer .card.featured {
  border-color: rgba(182, 135, 55, .24);
  transform: none;
}

.offer .icon {
  width: 42px;
  height: 42px;
  margin-bottom: 38px;
  color: #a87917;
  background: transparent;
}

.offer .icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.offer .card h3 {
  color: #17331f;
  font-size: clamp(28px, 2.3vw, 34px);
  line-height: 1.1;
}

.offer .card p {
  margin: 24px 0 0;
  color: rgba(23, 51, 31, .68);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.45;
}

.offer .card a {
  margin-top: auto;
  padding-top: 34px;
  color: #a87917;
  font-size: 15px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.work {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: none;
  padding: clamp(84px, 9vw, 130px) max(20px, calc((100vw - var(--max)) / 2));
  background:
    url("assets/festival-watercolor-bg.png") center / cover no-repeat,
    #fcf8ee;
}

.work::before {
  content: none;
}

.work::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 14% 16%, rgba(231, 206, 155, .22), transparent 27%),
    radial-gradient(circle at 80% 80%, rgba(201, 218, 184, .24), transparent 32%);
  pointer-events: none;
}

.work .section-heading.split {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .7fr);
  min-height: 0;
  align-items: end;
  padding-right: 0;
  margin-bottom: clamp(40px, 5vw, 66px);
}

.work .section-heading h2 {
  max-width: 620px;
  color: #3e583c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.03;
}

.work .section-heading.split > p {
  color: #343b31;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.65;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
}

.topic-grid article {
  position: relative;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 20px;
  min-height: 260px;
  overflow: hidden;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid rgba(182, 135, 55, .2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 4% 100%, rgba(207, 224, 192, .38), transparent 36%),
    linear-gradient(145deg, rgba(255, 253, 248, .96), rgba(250, 246, 234, .9));
  box-shadow: 0 18px 42px rgba(103, 85, 51, .09);
}

.topic-grid article > img {
  grid-row: 1 / 3;
  width: 128px;
  height: 134px;
  align-self: start;
  object-fit: cover;
  border-radius: 50%;
  mix-blend-mode: multiply;
}

.topic-grid article::after {
  content: "";
  position: absolute;
  left: -20px;
  bottom: -34px;
  width: 170px;
  height: 130px;
  background: url("assets/books-watercolor.svg") left bottom / contain no-repeat;
  opacity: .18;
  pointer-events: none;
}

.topic-grid h3 {
  position: relative;
  grid-column: 2;
  margin-bottom: 28px;
  color: #496044;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 400;
  line-height: 1.12;
}

.topic-grid h3::after {
  content: "";
  display: block;
  width: 92px;
  height: 1px;
  margin-top: 18px;
  background: linear-gradient(90deg, #c59842, transparent);
}

.topic-grid p {
  position: relative;
  z-index: 1;
  grid-column: 2;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
}

.method {
  position: relative;
  isolation: isolate;
  min-height: 900px;
  display: grid;
  align-items: center;
  padding: clamp(70px, 7vw, 110px) clamp(24px, 5vw, 72px);
  color: #263b2d;
  background: #f8f2e8;
  overflow: hidden;
}

.method-media {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 74%, rgba(213, 196, 158, .28), transparent 27%),
    radial-gradient(circle at 80% 22%, rgba(206, 193, 157, .12), transparent 24%),
    linear-gradient(112deg, #fbf7ee 0%, #f5ede0 48%, #777968 48%, #4d5847 100%);
  background-position: center;
  background-size: cover;
  opacity: 1;
}

.method::before,
.method::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.method::before {
  inset: 0;
  background:
    url("assets/books-watercolor.svg") -8% 112% / min(620px, 48vw) auto no-repeat,
    url("assets/fundamenty-spirala.svg") 110% center / 58% 100% no-repeat;
  opacity: .22;
}

.method::after {
  content: none;
}

.method-content {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1420px, 100%);
  grid-template-columns: minmax(320px, .9fr) minmax(560px, 1.1fr);
  grid-template-rows: auto auto;
  gap: 14px clamp(40px, 6vw, 90px);
  max-width: none;
  margin-inline: auto;
}

.method .eyebrow {
  grid-column: 1;
  margin: 0;
  color: #d3a855;
}

.method h2 {
  grid-column: 1;
  max-width: 620px;
  margin: 22px 0 0;
  color: #304936;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 6vw, 86px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.02;
}

.method h2::first-line {
  color: #304936;
}

.principles {
  display: grid;
  grid-column: 2;
  grid-row: 1 / 3;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  margin: 0;
}

.principles div {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid rgba(182, 135, 55, .3);
  border-radius: 28px;
  background: rgba(255, 252, 245, .94);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 24px 54px rgba(43, 55, 42, .14);
  backdrop-filter: blur(8px);
}

.principles div::after {
  content: none;
}

.principles div > span {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(182, 135, 55, .38);
  border-radius: 50%;
  color: #b68737;
  font-size: 31px;
}

.principles h3 {
  color: #38513b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 400;
}

.principles p {
  position: relative;
  z-index: 1;
  color: #444b42;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
}

.ranch {
  padding: 0 0 clamp(72px, 8vw, 112px);
  background: linear-gradient(180deg, #fbf9f5 0%, #f0f3e7 100%);
}

.ranch-banner {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 46vw, 620px);
  background-image: url("assets/Ranczo-Abrakadabra.png");
  background-position: center;
  background-size: cover;
  filter: saturate(.88) contrast(.97) brightness(1.04) sepia(.06);
}

.ranch-banner::before,
.ranch-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ranch-banner::before {
  display: block;
  background:
    linear-gradient(180deg, rgba(255, 251, 239, .12), rgba(248, 237, 213, .18)),
    radial-gradient(circle at 74% 20%, rgba(221, 211, 229, .14), transparent 34%),
    radial-gradient(circle at 14% 76%, rgba(210, 222, 188, .16), transparent 32%);
  mix-blend-mode: soft-light;
}

.ranch-banner::after {
  display: none;
}

.ranch-content {
  width: min(var(--max), calc(100% - 40px));
  max-width: 840px;
  margin: clamp(36px, 5vw, 68px) auto 0;
  text-align: center;
}

.ranch-content p {
  margin-inline: auto;
}

.ranch-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.festival {
  position: relative;
  width: 100%;
  max-width: none;
  overflow: hidden;
  padding: clamp(72px, 7vw, 108px) clamp(20px, 3.5vw, 56px);
  background:
    url("assets/festival-watercolor-bg.png") center top / 100% auto repeat-y,
    #fdf9ef;
}

.festival::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,253,247,.08), transparent 28% 72%, rgba(255,253,247,.08));
  pointer-events: none;
}

.festival::after {
  content: none;
}

.festival > * {
  position: relative;
  z-index: 1;
}

.festival-intro,
.festival-mosaic {
  width: min(1420px, 100%);
  margin-inline: auto;
}

.festival-intro {
  display: grid;
  grid-template-columns: minmax(360px, .78fr) minmax(560px, 1.35fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
}

.festival-heading {
  padding: clamp(8px, 1.5vw, 22px) clamp(4px, 1.5vw, 20px);
}

.festival-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 28px;
  color: #ae7b2b;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.festival-kicker::after {
  content: "";
  width: 90px;
  height: 1px;
  background: linear-gradient(90deg, #c28d36, transparent);
}

.festival-heading h2 {
  margin: 0;
  color: #28432f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 6.5vw, 104px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .9;
}

.festival-heading p {
  max-width: 570px;
  margin: 30px 0 0;
  color: #45483f;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.75;
}

.festival-photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 16px;
  background: #f1eadb;
  box-shadow: 0 14px 32px rgba(92, 80, 52, .16);
}

.festival-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 45%, rgba(255,226,173,.08));
  pointer-events: none;
}

.festival-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.festival-photo-hero {
  aspect-ratio: 1.62;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(92, 80, 52, .2);
}

.festival-button {
  min-width: 250px;
  margin-top: 30px;
  border: 1px solid #cfa54d;
  background: linear-gradient(110deg, #43533b, #687157);
  box-shadow: 0 12px 25px rgba(82, 100, 66, .22);
}

.festival-mosaic {
  display: grid;
  grid-template-columns: 1.08fr .88fr .88fr .38fr;
  grid-template-rows: repeat(2, minmax(170px, 1fr));
  gap: clamp(14px, 1.7vw, 24px);
  margin-top: clamp(26px, 3vw, 44px);
}

.festival-photo-tall {
  grid-row: 1 / 3;
}

.festival-values {
  display: flex;
  grid-column: 4;
  grid-row: 1 / 3;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #5e6457;
  text-align: center;
}

.festival-values span {
  color: #bd8a32;
  font-size: 30px;
}

.festival-values p {
  margin: 22px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .21em;
  line-height: 2.35;
  text-transform: uppercase;
}

.festival-values strong {
  color: #b27d28;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
}

.consciousness-test {
  position: relative;
  isolation: isolate;
  display: grid;
  width: min(1420px, calc(100% - 40px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
  margin-block: clamp(72px, 8vw, 112px);
  padding: clamp(78px, 8vw, 112px) clamp(28px, 4vw, 58px);
  border: 1px solid rgba(182, 135, 55, .2);
  border-radius: clamp(34px, 5vw, 68px);
  background:
    radial-gradient(circle at 12% 74%, rgba(208, 221, 190, .42), transparent 28%),
    radial-gradient(circle at 84% 15%, rgba(225, 217, 196, .46), transparent 26%),
    url("assets/festival-watercolor-bg.png") center / cover no-repeat,
    #fcf8ef;
  box-shadow: 0 30px 70px rgba(100, 83, 49, .1);
}

.consciousness-test::before {
  content: "";
  position: absolute;
  left: -20px;
  bottom: -28px;
  z-index: -1;
  width: min(360px, 28vw);
  aspect-ratio: 1;
  background: url("assets/books-watercolor.svg") left bottom / contain no-repeat;
  opacity: .32;
  pointer-events: none;
}

.test-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(480px, 46vw, 700px);
  overflow: hidden;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(42px, 5vw, 76px);
  border-radius: clamp(30px, 4vw, 54px);
  box-shadow: 0 24px 55px rgba(34, 38, 30, .14);
}

.test-card-light {
  color: var(--ink);
  border: 2px solid rgba(255,255,255,.92);
  background:
    linear-gradient(90deg, rgba(255,253,248,.99) 0%, rgba(255,253,248,.97) 52%, rgba(255,253,248,.18) 78%, transparent 100%),
    url("assets/test-swiadomosci-bg.png") center / cover no-repeat,
    #fffdf8;
}

.test-card-dark {
  color: #fffdf6;
  background:
    linear-gradient(90deg, rgba(18, 62, 47, .99) 0%, rgba(18, 62, 47, .96) 52%, rgba(18, 62, 47, .3) 78%, transparent 100%),
    url("assets/pasmo33-bg.png") center / cover no-repeat,
    #123b2c;
}

.test-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 46%);
  pointer-events: none;
}

.test-card-symbol {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 26px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: #bd8a32;
  font-size: 25px;
  line-height: 1;
}

.test-card h2 {
  max-width: 560px;
  color: #214334;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.test-card-dark h2 {
  color: #fff9eb;
}

.test-card p {
  max-width: 480px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.7;
}

.test-card .test-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  color: #a87917;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .25em;
  line-height: 1.2;
  text-transform: uppercase;
}

.test-card .test-highlight::after {
  content: "";
  width: 54px;
  height: 1px;
  background: #c79b4c;
}

.test-card .test-highlight + p {
  margin-top: 12px;
}

.test-card-dark p {
  color: rgba(255, 253, 246, .82);
}

.test-card a {
  margin-top: clamp(42px, 5vw, 64px);
}

.test-card-light a {
  color: #8e6417;
  border-bottom: 1px solid rgba(142, 100, 23, .7);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2vw, 28px);
}

.test-card-dark .button {
  min-width: 250px;
  min-height: 64px;
  padding: 16px 34px;
  color: #41543b;
  border: 1px solid rgba(218, 180, 102, .52);
  background: #fff8e9;
  box-shadow: 0 14px 28px rgba(4, 25, 17, .22);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  letter-spacing: 0;
  text-transform: none;
}

.resources {
  width: min(var(--max), calc(100% - 40px));
  padding: clamp(76px, 8vw, 116px) 0;
}

.resources .section-heading {
  max-width: 860px;
  margin-inline: auto;
}

.resource-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 38px);
  margin-top: clamp(36px, 5vw, 58px);
}

.resource-card.resource-banner {
  display: block;
  min-height: clamp(270px, 33vw, 400px);
  padding: clamp(34px, 5vw, 70px) clamp(30px, 7vw, 92px);
  border: 0;
  border-radius: clamp(16px, 2vw, 28px);
  background-position: center;
  background-size: cover;
  box-shadow: 0 20px 46px rgba(70, 78, 58, .12);
}

.resource-card.resource-banner-books {
  background-image: url("assets/box-ksiazki.png");
}

.resource-card.resource-banner-courses {
  background-image:
    linear-gradient(90deg, rgba(255, 252, 242, .98) 0%, rgba(255, 252, 242, .92) 34%, rgba(255, 252, 242, .12) 62%, transparent 100%),
    url("assets/box-kursy-wideo.png");
}

.resource-card.resource-banner-reading {
  background-image:
    linear-gradient(90deg, rgba(255, 252, 242, .98) 0%, rgba(255, 252, 242, .92) 34%, rgba(255, 252, 242, .1) 62%, transparent 100%),
    url("assets/box-czytelnia.png");
}

.resource-banner-copy {
  display: flex;
  width: min(42%, 480px);
  height: 100%;
  min-height: inherit;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.resource-card.resource-banner h3 {
  margin: 0;
  color: #526442;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}

.resource-card.resource-banner p {
  margin-top: clamp(18px, 2vw, 26px);
  color: #45483f;
  font-size: clamp(16px, 1.65vw, 21px);
  line-height: 1.65;
}

.resource-card.resource-banner strong {
  align-self: flex-start;
  margin-top: clamp(22px, 3vw, 36px);
  color: #9a6a16;
  font-size: clamp(12px, 1.2vw, 15px);
}

.resource-card {
  position: relative;
  display: grid;
  min-height: 430px;
  align-content: start;
  overflow: hidden;
  padding: clamp(26px, 3.5vw, 38px);
  border: 1px solid rgba(216, 211, 200, .86);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, .94), rgba(246, 241, 232, .92)),
    radial-gradient(circle at 20% 8%, rgba(242, 223, 184, .5), transparent 34%);
  box-shadow: 0 24px 60px rgba(70, 78, 58, .09);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.resource-card:hover {
  transform: translateY(-6px);
  border-color: rgba(182, 135, 55, .45);
  box-shadow: 0 32px 76px rgba(70, 78, 58, .14);
}

.resource-card.resource-banner:hover {
  box-shadow: 0 28px 64px rgba(70, 78, 58, .18);
}

.resource-card h3 {
  margin: 26px 0 0;
  color: var(--sage);
  font-size: clamp(30px, 3vw, 42px);
}

.resource-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.62;
}

.resource-card strong {
  align-self: end;
  margin-top: 34px;
  color: #9a6a16;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.resource-visual {
  position: relative;
  display: block;
  height: 150px;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 247, 214, .95), transparent 22%),
    linear-gradient(135deg, rgba(213, 233, 191, .58), rgba(242, 223, 184, .72));
}

.resource-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 84%, rgba(82, 100, 66, .16), transparent 28%),
    radial-gradient(circle at 74% 68%, rgba(182, 135, 55, .2), transparent 26%),
    linear-gradient(120deg, transparent 0 54%, rgba(255,255,255,.38) 54% 58%, transparent 58%);
}

.resource-visual::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 16px;
}

.resource-visual.has-image {
  height: 168px;
  background: transparent;
  box-shadow: 0 18px 40px rgba(82, 100, 66, .13);
}

.resource-visual.has-image::before,
.resource-visual.has-image::after {
  content: none;
}

.resource-visual.has-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform .45s ease;
}

.resource-card:hover .resource-visual.has-image img {
  transform: scale(1.035);
}

.resource-visual.books span {
  position: absolute;
  bottom: 26px;
  width: 46px;
  height: 86px;
  border-radius: 4px 12px 12px 4px;
  background: rgba(82, 100, 66, .9);
  box-shadow: inset 8px 0 rgba(255,255,255,.16);
}

.resource-visual.books span:nth-child(1) {
  left: 70px;
  transform: rotate(-9deg);
  background: #8e6417;
}

.resource-visual.books span:nth-child(2) {
  left: 120px;
  height: 102px;
}

.resource-visual.books span:nth-child(3) {
  left: 170px;
  transform: rotate(8deg);
  background: #6f7d59;
}

.resource-visual.video span:first-child {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: rgba(82, 100, 66, .92);
  transform: translate(-50%, -50%);
}

.resource-visual.video span:first-child::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 23px;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid #fffdf9;
}

.resource-visual.video span:nth-child(2),
.resource-visual.video span:nth-child(3) {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  background: rgba(142, 100, 23, .42);
}

.resource-visual.video span:nth-child(2) {
  left: 32px;
  right: 34px;
  top: 38px;
}

.resource-visual.video span:nth-child(3) {
  left: 52px;
  right: 72px;
  bottom: 34px;
}

.resource-visual.reading span {
  position: absolute;
  border-radius: 999px;
}

.resource-visual.reading span:nth-child(1) {
  left: 56px;
  top: 32px;
  width: 92px;
  height: 92px;
  border: 2px solid rgba(82, 100, 66, .48);
}

.resource-visual.reading span:nth-child(2) {
  left: 102px;
  top: 32px;
  width: 92px;
  height: 92px;
  border: 2px solid rgba(142, 100, 23, .42);
}

.resource-visual.reading span:nth-child(3) {
  right: 66px;
  bottom: 30px;
  width: 70px;
  height: 2px;
  background: rgba(82, 100, 66, .54);
  box-shadow: 0 -18px rgba(82, 100, 66, .28), 0 -36px rgba(82, 100, 66, .18);
}

.contact {
  display: block;
  width: min(1040px, calc(100% - 40px));
  padding: clamp(64px, 7vw, 104px) 0;
}

.contact-heading {
  margin-bottom: clamp(30px, 4vw, 48px);
}

.contact-heading h2 {
  color: #303030;
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(38px, 5.2vw, 64px);
  font-weight: 400;
  line-height: 1;
}

.contact-heading span {
  display: block;
  width: 124px;
  height: 3px;
  margin-top: clamp(24px, 3vw, 36px);
  background: #27272a;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 46px) clamp(38px, 6vw, 68px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-form label {
  display: grid;
  gap: 12px;
  color: #2c2c2c;
  font-size: clamp(20px, 1.75vw, 27px);
  font-weight: 400;
  line-height: 1.2;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 78px;
  border: 0;
  border-radius: 0;
  padding: 0 22px;
  color: var(--ink);
  background: #f6f1e8;
  font-size: clamp(18px, 1.55vw, 24px);
}

.contact-form select {
  appearance: auto;
  text-align: center;
  text-align-last: center;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(82, 100, 66, .35);
}

.contact-form textarea {
  min-height: 240px;
  padding: 20px 22px;
  resize: vertical;
}

.privacy-check {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
  color: #27272a;
  font-size: clamp(17px, 1.55vw, 23px) !important;
  line-height: 1.65 !important;
}

.privacy-check input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 0;
  margin-top: .34em;
  padding: 0;
  border: 2px solid #747474;
  background: #fff;
  accent-color: #27272a;
}

.contact-submit {
  width: 210px;
  min-height: 86px;
  border: 0;
  color: #fff;
  background: #202024;
  font-size: 22px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  background: #111113;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--sage);
  font-size: 16px;
  font-weight: 750;
}

.newsletter {
  position: relative;
  width: 100%;
  min-height: min(75vw, 1086px);
  max-width: none;
  padding: clamp(72px, 7vw, 110px) clamp(24px, 9vw, 132px);
  background: url("assets/newsletter-watercolor-bg.png") center / cover no-repeat, #fbf7ee;
}

.newsletter-content {
  width: min(650px, 48%);
}

.newsletter-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 34px;
  color: #ae7b2b;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.newsletter-kicker::after {
  content: "✣";
  width: 170px;
  color: #c5953e;
  background: linear-gradient(90deg, #c5953e, transparent) center / 100% 1px no-repeat;
  text-align: center;
}

.newsletter h2 {
  max-width: 620px;
  margin: 0;
  color: #36513c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 6vw, 84px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1;
}

.newsletter-content > p:not(.newsletter-kicker, .newsletter-phone-note) {
  max-width: 610px;
  margin: 24px 0 0;
  color: #40463e;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.65;
}

.newsletter-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.newsletter-benefits div {
  display: grid;
  min-height: 112px;
  place-items: center;
  padding: 0 14px;
  border-right: 1px solid rgba(182, 135, 55, .28);
  color: #4f574d;
  text-align: center;
}

.newsletter-benefits div:last-child {
  border-right: 0;
}

.newsletter-benefits span {
  color: #bd8a32;
  font-size: 34px;
  line-height: 1;
}

.newsletter-benefits strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.newsletter-phone-note {
  display: flex;
  gap: 14px;
  margin: 26px 0 0;
  color: #515950;
  font-size: 14px;
  line-height: 1.55;
}

.newsletter-phone-note span {
  color: #718366;
  font-size: 24px;
}

.newsletter-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.newsletter-form label {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  border: 1px solid rgba(182, 135, 55, .35);
  border-radius: 999px;
  background: rgba(255, 253, 248, .76);
}

.newsletter-form label span {
  color: #b68737;
  font-size: 20px;
}

.newsletter-form input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #354438;
  background: transparent;
  font-size: 16px;
}

.newsletter-form button {
  min-height: 66px;
  border: 0;
  border-radius: 999px;
  color: #e4bd6d;
  background: linear-gradient(110deg, #244d39, #345c43);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  cursor: pointer;
}

.newsletter-privacy,
.newsletter-status {
  margin: 8px 0 0;
  color: #778077;
  font-size: 13px;
}

.newsletter-status {
  min-height: 22px;
  color: #526442;
  font-weight: 750;
}

.sessions-page {
  background:
    linear-gradient(180deg, rgba(251, 248, 241, 0.96), rgba(247, 240, 228, 0.92)),
    url("assets/festival-watercolor-bg.png") center top / cover no-repeat;
}

.session-hero,
.session-details,
.session-cta {
  position: relative;
  overflow: hidden;
}

.session-hero {
  padding: clamp(7rem, 9vw, 9rem) clamp(1.5rem, 4vw, 4rem) 5rem;
}

.session-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(212, 185, 143, 0.34), transparent 24%),
    radial-gradient(circle at 14% 22%, rgba(255, 255, 255, 0.94), transparent 40%);
  pointer-events: none;
}

.session-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 1180px;
  margin: 0 auto;
}

.session-photo-card {
  position: relative;
  padding: 1rem;
  border-radius: 36px;
  background: rgba(255, 252, 246, 0.78);
  box-shadow: 0 24px 70px rgba(80, 58, 27, 0.12);
}

.session-photo-card::after {
  content: "";
  position: absolute;
  inset: auto -2rem -2rem auto;
  width: 10rem;
  height: 10rem;
  background: url("assets/books-watercolor.svg") center / contain no-repeat;
  opacity: 0.24;
  pointer-events: none;
}

.session-photo {
  display: block;
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 18px 48px rgba(62, 42, 22, 0.16);
}

.session-hero-copy {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 34px;
  background: rgba(255, 252, 246, 0.84);
  box-shadow: 0 22px 60px rgba(74, 55, 27, 0.1);
}

.session-hero-copy h1 {
  margin-bottom: 1rem;
}

.session-lead {
  font-size: 1.18rem;
  color: var(--forest-deep);
}

.session-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.session-details {
  padding: 1rem clamp(1.5rem, 4vw, 4rem) 5rem;
}

.session-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}

.session-detail-card {
  padding: 2rem;
  border-radius: 30px;
  background: rgba(255, 252, 246, 0.9);
  border: 1px solid rgba(177, 153, 111, 0.22);
  box-shadow: 0 18px 46px rgba(80, 59, 27, 0.08);
}

.session-detail-card h3 {
  margin-bottom: 1rem;
}

.session-detail-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--copy);
}

.session-detail-card li + li {
  margin-top: 0.6rem;
}

.session-cta {
  padding: 0 clamp(1.5rem, 4vw, 4rem) 5rem;
}

.session-cta-box {
  padding: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(251, 248, 241, 0.96), rgba(248, 242, 231, 0.92)),
    url("assets/newsletter-watercolor-bg.png") center / cover no-repeat;
  box-shadow: 0 20px 54px rgba(82, 62, 31, 0.12);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 28px;
  align-items: center;
  padding: 44px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface-soft);
}

.site-footer p {
  margin: 10px 0 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  font-weight: 750;
}

.copyright {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    gap: 14px;
    justify-content: start;
    padding-top: 14px;
  }

  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .newsletter {
    min-height: 0;
    padding-bottom: 560px;
    background-position: center bottom;
    background-size: auto 100%;
  }

  .newsletter-content {
    width: min(100%, 650px);
  }

  .method {
    min-height: 0;
  }

  .method-content {
    grid-template-columns: 1fr;
  }

  .method .eyebrow,
  .method h2,
  .principles {
    grid-column: 1;
  }

  .principles {
    grid-row: auto;
    margin-top: 38px;
  }

  .work::before {
    width: min(480px, 54vw);
    opacity: .54;
  }

  .work .section-heading.split {
    min-height: 0;
    padding-right: 0;
  }

  .consciousness-test {
    width: min(100% - 32px, 720px);
    grid-template-columns: 1fr;
    padding: 34px;
    border-radius: 38px;
  }

  .test-card {
    min-height: 560px;
  }

  .manifest {
    min-height: 0;
    padding: 110px 24px;
  }

  .manifest::before {
    inset: 66px 7%;
  }

  .manifest::after {
    inset: 88px 4%;
  }

  .narrow {
    width: min(100%, 760px);
  }

  .hero {
    display: block;
    min-height: 0;
    padding: 0 0 56px;
  }

  .hero-media {
    position: relative;
    height: clamp(320px, 48vw, 430px);
    background-image: linear-gradient(180deg, rgba(251,249,245,0) 0%, rgba(251,249,245,.1) 64%, rgba(251,249,245,.9) 100%), url("assets/banner.png");
    background-position: center right;
    background-size: cover;
  }

  .hero-content {
    max-width: 760px;
    padding: 42px clamp(20px, 6vw, 52px) 0;
  }

  h1 {
    max-width: 680px;
    font-size: clamp(42px, 6.4vw, 58px);
  }

  .hero-note {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 1;
    width: min(100%, 420px);
    margin: 34px clamp(20px, 6vw, 52px) 0;
  }

  .about-grid,
  .section-heading.split,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .festival-intro {
    grid-template-columns: 1fr;
  }

  .festival-heading {
    max-width: 680px;
  }

  .festival-mosaic {
    grid-template-columns: 1.08fr .88fr .88fr;
    grid-template-rows: repeat(2, minmax(170px, 1fr)) auto;
  }

  .festival-values {
    grid-column: 1 / -1;
    grid-row: auto;
    flex-direction: row;
    gap: 28px;
    padding-top: 18px;
  }

  .festival-values p {
    margin: 0;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-card {
    min-height: 0;
  }

  .portrait-card {
    width: min(100%, 560px);
    max-width: 560px;
    justify-self: center;
    margin-inline: auto;
  }

  .three,
  .four,
  .topic-grid,
  .principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card.featured {
    transform: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  section {
    width: min(100% - 32px, var(--max));
    padding: 64px 0;
  }

  .manifest {
    width: 100%;
    padding: 76px 16px;
    background-position: center;
  }

  .work {
    padding-inline: 16px;
  }

  .newsletter {
    padding: 64px 18px 430px;
    background-position: 65% bottom;
    background-size: auto 100%;
  }

  .newsletter-content {
    width: 100%;
    padding: 24px 20px;
    border-radius: 26px;
    background: rgba(255, 252, 246, .9);
    box-shadow: 0 18px 42px rgba(80, 72, 50, .1);
    backdrop-filter: blur(6px);
  }

  .newsletter h2 {
    font-size: clamp(46px, 14vw, 62px);
  }

  .newsletter-benefits {
    grid-template-columns: 1fr;
  }

  .newsletter-benefits div {
    grid-template-columns: 52px 1fr;
    min-height: 74px;
    justify-items: start;
    border-right: 0;
    border-bottom: 1px solid rgba(182, 135, 55, .2);
    text-align: left;
  }

  .newsletter-benefits div:last-child {
    border-bottom: 0;
  }

  .method {
    padding-inline: 16px;
    background: #f8f2e8;
  }

  .method-media {
    background-position: 35% center;
    opacity: .58;
  }

  .method::before {
    background: rgba(255, 252, 246, .5);
  }

  .method h2 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principles div {
    min-height: 0;
    padding: 28px 24px;
  }

  .principles div > span {
    width: 62px;
    height: 62px;
    margin-bottom: 20px;
  }

  .work::before {
    width: 100%;
    opacity: .26;
  }

  .work .section-heading.split {
    min-height: 0;
    padding: 0;
  }

  .work .section-heading h2 {
    font-size: clamp(46px, 14vw, 62px);
  }

  .topic-grid article {
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 16px;
    min-height: 0;
    padding: 28px 24px;
  }

  .topic-grid article > img {
    width: 96px;
    height: 100px;
  }

  .manifest::before {
    inset: 38px 14px;
    border-radius: 28px;
  }

  .manifest::after {
    inset: 52px 7px;
    border-radius: 30px;
  }

  .narrow {
    width: 100%;
    padding: 38px 22px 42px;
    border-radius: 26px;
  }

  .manifest h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .manifest p:last-child {
    font-size: 16px;
    line-height: 1.7;
  }

  .hero,
  .method {
    padding-inline: 18px;
  }

  .ranch {
    padding-inline: 0;
  }

  .ranch-content {
    width: min(100% - 36px, var(--max));
  }

  .ranch-actions .button {
    width: min(100%, 320px);
  }

  .hero {
    padding: 0 0 48px;
  }

  .hero-content {
    padding: 34px 18px 0;
  }

  .hero-media {
    height: clamp(260px, 68vw, 360px);
    margin-inline: -18px;
    background-image: linear-gradient(180deg, rgba(251,249,245,0) 0%, rgba(251,249,245,.08) 62%, rgba(251,249,245,.92) 100%), url("assets/banner.png");
    background-position: center right;
    background-size: cover;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions .button {
    width: min(100%, 292px);
  }

  .contact {
    width: min(100% - 32px, var(--max));
  }

  .contact-heading h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .contact-heading span {
    width: 120px;
  }

  .contact-form {
    gap: 34px;
  }

  .contact-form label {
    font-size: clamp(22px, 7vw, 30px);
  }

  .contact-form input,
  .contact-form select {
    min-height: 70px;
  }

  .contact-form textarea {
    min-height: 210px;
  }

  .privacy-check {
    font-size: 19px !important;
    line-height: 1.65 !important;
  }

  .contact-submit {
    width: 220px;
    min-height: 98px;
    font-size: 24px;
  }

  .hero-note {
    margin-inline: 18px;
  }

  .three,
  .four,
  .topic-grid,
  .principles {
    grid-template-columns: 1fr;
  }

  .consciousness-test {
    width: min(100% - 24px, 620px);
    padding: 14px;
    border-radius: 28px;
  }

  .test-card {
    min-height: 520px;
    padding: 34px 26px;
    border-radius: 24px;
  }

  .test-card h2 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .test-card-dark .button {
    width: min(100%, 280px);
  }

  .resources {
    width: min(100% - 32px, var(--max));
  }

  .resource-card {
    padding: 24px;
    border-radius: 22px;
  }

  .resource-card.resource-banner {
    min-height: 660px;
    padding: 0;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: auto 58%;
  }

  .resource-card.resource-banner-books,
  .resource-card.resource-banner-courses,
  .resource-card.resource-banner-reading {
    background-image: var(--resource-mobile-image);
  }

  .resource-card.resource-banner-books {
    --resource-mobile-image: url("assets/box-ksiazki.png");
  }

  .resource-card.resource-banner-courses {
    --resource-mobile-image: url("assets/box-kursy-wideo.png");
  }

  .resource-card.resource-banner-reading {
    --resource-mobile-image: url("assets/box-czytelnia.png");
  }

  .resource-banner-copy {
    width: 100%;
    height: auto;
    min-height: 0;
    justify-content: flex-start;
    padding: 30px 24px 28px;
    border-bottom: 1px solid rgba(182, 135, 55, .2);
    background: rgba(255, 253, 247, .98);
    box-shadow: 0 12px 30px rgba(70, 78, 58, .08);
  }

  .resource-card.resource-banner h3 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .resource-card.resource-banner p {
    max-width: 310px;
    font-size: 16px;
  }

  .resource-card.resource-banner strong {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    margin-top: 20px;
    padding: 11px 16px;
    border: 1px solid rgba(182, 135, 55, .44);
    border-radius: 999px;
    background: rgba(255, 250, 237, .96);
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .resource-visual {
    height: 136px;
  }

  .resource-visual.has-image {
    height: 150px;
  }

  .festival {
    padding-inline: 16px;
  }

  .festival-heading h2 {
    font-size: clamp(52px, 18vw, 76px);
  }

  .festival-kicker {
    font-size: 11px;
    letter-spacing: .22em;
  }

  .festival-photo-hero {
    aspect-ratio: 1.15;
  }

  .festival-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .festival-mosaic .festival-photo {
    aspect-ratio: 1.15;
  }

  .festival-photo-tall {
    grid-row: auto;
  }

  .festival-values {
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 0;
    padding: 22px 0 0;
  }

  .festival-values p {
    margin: 16px 0;
  }

  .festival-button {
    width: min(100%, 320px);
    margin-top: 30px;
  }

  .portrait-card {
    min-height: 0;
  }

  .session-hero {
    padding-top: 6.5rem;
  }

  .session-hero-grid,
  .session-detail-grid {
    grid-template-columns: 1fr;
  }

  .session-hero-copy,
  .session-detail-card,
  .session-cta-box {
    border-radius: 24px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}
