/* Dwie Ryby — main.css | UTF-8 | LF */
/* Self-hosted fonts, zero CDN, mobile-first */

/* ─── @font-face ─────────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/inter-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/space-grotesk-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/space-grotesk-600.woff2') format('woff2');
}

/* ─── Custom properties ──────────────────────────────────────────── */
:root {
  --accent:       #89CFF0;
  --kelly-green:  #4CBB17;
  --cream:        #FFF6E9;
  --mint:         #BFE8D2;
  --peach:        #FFD9B8;
  --pink:         #F6C6D0;
  --yellow:       #F9E27D;
  --text-light:   #F5F7F8;
  --text-dark:    #101418;
  --shadow-light: 0 1px 3px rgba(0,0,0,.25);
  --shadow-dark:  0 1px 3px rgba(255,255,255,.30);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --h1:  clamp(2rem, 5vw + 0.75rem, 4rem);
  --h2:  clamp(1.5rem, 3vw + 0.5rem, 2.75rem);
  --h3:  clamp(1.125rem, 2vw + 0.25rem, 1.75rem);
  --lead: clamp(1rem, 1.5vw + 0.25rem, 1.375rem);
  --body: clamp(0.9375rem, 1vw + 0.25rem, 1.125rem);
  --container: 1280px;
  --nav-h: 64px;
  --section-pad: clamp(3rem, 8vw, 7rem) clamp(1rem, 5vw, 2rem);
  --radius: 8px;
  --transition-lqip: 400ms ease;
}

/* ─── Reset / base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--body);
  color: var(--text-dark);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, canvas { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }
[hidden] { display: none !important; }

/* ─── Skip link ──────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--accent);
  color: var(--text-dark);
  padding: .5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 500;
  text-decoration: none;
  transition: top .15s;
}
.skip-link:focus { top: 0; }

/* ─── Focus ──────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ─── Container ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}

/* ─── NAV ────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(16, 20, 24, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}
.nav-links {
  display: none;
  gap: 1.5rem;
  align-items: center;
}
.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 400;
  opacity: .85;
  transition: opacity .15s;
}
.nav-links a:hover { opacity: 1; }
a.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1.125rem;
  background: var(--kelly-green);
  color: #fff;
  font-weight: 500;
  border-radius: 100px;
  text-decoration: none;
  font-size: .9375rem;
  min-height: 44px;
  transition: filter .15s;
  white-space: nowrap;
  opacity: 1;
}
a.nav-cta:hover { filter: brightness(1.08); opacity: 1; }
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-panel {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(16, 20, 24, .97);
  padding: 1.5rem 1rem 2rem;
  z-index: 99;
  flex-direction: column;
  gap: .25rem;
}
.nav-mobile-panel.is-open { display: flex; }
.nav-mobile-panel a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 400;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  display: block;
  min-height: 44px;
  line-height: 1.4;
}
.nav-mobile-panel a:hover { background: rgba(255,255,255,.07); }
.nav-mobile-panel .nav-cta {
  margin-top: .75rem;
  align-self: flex-start;
  color: #fff;
}

@media (min-width: 768px) {
  .nav-hamburger { display: none; }
  .nav-links { display: flex; }
}

/* ─── Section anchors ─────────────────────────────────────────────── */
section[id] { scroll-margin-top: var(--nav-h); }

/* ─── BG sections (hero, problem, offer-split) ──────────────────── */
.section-bg {
  position: relative;
  overflow: hidden;
}
.section-bg .bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* Full photo is visible by default (works without JS). */
.bg-layer .bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity var(--transition-lqip);
  z-index: 1;
}
/* LQIP only while pending slow-connection reveal (JS adds .has-lqip-pending). */
.bg-layer .lqip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-lqip);
  z-index: 2;
}
.bg-layer.has-lqip-pending .lqip { opacity: 1; }
.bg-layer.has-lqip-pending .bg-img { opacity: 0; }
.bg-layer.has-lqip-pending .lqip.loaded { opacity: 0; }
.bg-layer.has-lqip-pending .bg-img.loaded { opacity: 1; }
/* Engines prepend their own canvas into .bg-layer */
.bg-layer canvas,
.bg-layer .water-lite-canvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block;
  z-index: 2 !important;
  pointer-events: none;
}
.bg-layer canvas.interactive { pointer-events: auto !important; }
/* When water is active, hide raw photos under opaque WebGL canvas */
.bg-layer.water-active .lqip,
.bg-layer.water-active .bg-img {
  opacity: 0 !important;
}
.bg-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.bg-scrim--bottom {
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,var(--scrim-alpha, .3)) 100%);
}
.section-bg .section-inner {
  position: relative;
  z-index: 4;
  padding: var(--section-pad);
}

/* ─── HERO ───────────────────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#hero .section-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 5rem;
}
.hero-content { max-width: 680px; }
.hero-content h1 {
  font-family: var(--font-display);
  font-size: var(--h1);
  font-weight: 600;
  color: var(--text-light);
  text-shadow: var(--shadow-light);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-content .hero-lead {
  font-size: var(--lead);
  font-weight: 300;
  color: var(--text-light);
  text-shadow: var(--shadow-light);
  margin-bottom: 2.5rem;
  max-width: 65ch;
}
.hero-content .hero-body {
  font-size: var(--body);
  font-weight: 400;
  color: var(--text-light);
  text-shadow: var(--shadow-light);
  margin-bottom: 2rem;
  max-width: 60ch;
  opacity: .9;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.75rem;
  background: var(--accent);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: var(--body);
  font-weight: 500;
  border-radius: 100px;
  text-decoration: none;
  min-height: 44px;
  transition: filter .15s, transform .1s;
}
.btn-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-cta:active { transform: translateY(0); }
#hero .btn-cta { display: none; }

/* Mobile: push .hero-body toward the bottom edge of the hero block */
@media (max-width: 767px) {
  #hero .section-inner {
    justify-content: flex-start;
  }
  #hero .container {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  #hero .hero-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
  }
  #hero .hero-content .hero-lead {
    margin-bottom: 1rem;
  }
  #hero .hero-content .hero-body {
    margin-top: auto;
  }
}

/* ─── Effect UI controls ─────────────────────────────────────────── */
.effect-controls {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 5;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.btn-effect {
  padding: .4rem 1rem;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 400;
  cursor: pointer;
  min-height: 36px;
  transition: background .15s, border-color .15s;
}
.btn-effect:hover {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.45);
}

/* ─── PROBLEM — text layout with bg ─────────────────────────────── */
#problem .section-inner { padding: var(--section-pad); }
#problem .section-inner { --scrim-alpha: .40; }
.problem-content {
  max-width: 65ch;
  color: var(--text-light);
  text-shadow: var(--shadow-light);
}
.eyebrow {
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: .75rem;
}
.problem-content h2 {
  font-family: var(--font-display);
  font-size: var(--h2);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.problem-content .section-lead {
  font-size: var(--lead);
  font-weight: 300;
  margin-bottom: 1.5rem;
  max-width: 60ch;
}
.problem-items {
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.problem-items li {
  padding-left: 1.25rem;
  position: relative;
  font-weight: 400;
  font-size: var(--body);
  line-height: 1.5;
}
.problem-items li::before {
  content: '—';
  position: absolute;
  left: 0;
  opacity: .7;
}
.problem-body {
  font-weight: 300;
  font-size: var(--body);
  opacity: .9;
}
.problem-body p + p { margin-top: 1em; }

/* ─── FIVE THINGS — accordion, surface cream ─────────────────────── */
#five-things {
  background: var(--cream);
  padding: var(--section-pad);
}
#five-things h2 {
  font-family: var(--font-display);
  font-size: var(--h2);
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 2rem;
  max-width: 65ch;
}
.accordion-list { display: flex; flex-direction: column; gap: .5rem; }
.accordion-item {
  border: 1px solid rgba(16,20,24,.12);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.6);
}
.accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--body);
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  min-height: 44px;
  gap: 1rem;
}
.accordion-trigger:hover { background: rgba(137,207,240,.08); }
.accordion-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform .25s ease;
}
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(180deg); }
.accordion-body {
  display: none;
  padding: 0 1.25rem 1.25rem;
  font-size: var(--body);
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.7;
}
.accordion-body.is-open { display: block; }
.accordion-body p + p { margin-top: .75em; }

/* ─── OFFER-SPLIT — split layout, bg03 ─────────────────────────── */
#offer-split .section-inner { --scrim-alpha: .35; }
.offer-header {
  margin-bottom: 2rem;
  color: var(--text-light);
  text-shadow: var(--shadow-light);
}
.offer-header h2 {
  font-family: var(--font-display);
  font-size: var(--h2);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: .75rem;
}
.offer-header .section-lead {
  font-size: var(--lead);
  font-weight: 300;
  max-width: 60ch;
}
.offer-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.offer-card {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--text-light);
}
.offer-card h3 {
  font-family: var(--font-display);
  font-size: var(--h3);
  font-weight: 500;
  margin-bottom: .5rem;
}
.offer-card p {
  font-size: var(--body);
  font-weight: 300;
  opacity: .9;
}
@media (min-width: 768px) {
  .offer-cards { grid-template-columns: 1fr 1fr; }
}

/* ─── FOR-YOU / FOR-ORGS — cards ────────────────────────────────── */
#for-you { background: var(--mint); padding: var(--section-pad); }
#for-orgs { background: var(--cream); padding: var(--section-pad); }
#for-orgs-workshops { background: var(--cream); padding: var(--section-pad); }
#for-orgs-leaders { background: var(--mint); padding: var(--section-pad); }
#for-orgs-trips { background: var(--cream); padding: var(--section-pad); }
#for-orgs-conferences { background: var(--mint); padding: var(--section-pad); }
#for-orgs-custom { background: var(--cream); padding: var(--section-pad); }
/* Photo-backed for-orgs modules: let .bg-layer own the visual; keep padding on .section-inner */
#for-orgs-workshops.section-bg,
#for-orgs-leaders.section-bg,
#for-orgs-trips.section-bg,
#for-orgs-conferences.section-bg,
#for-orgs-custom.section-bg {
  background: transparent;
  padding: 0;
}
.section-eyebrow-wrap {
  margin-bottom: 2rem;
}
.section-eyebrow-wrap .eyebrow { color: var(--text-dark); opacity: .6; }
.section-eyebrow-wrap h2 {
  font-family: var(--font-display);
  font-size: var(--h2);
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: .75rem;
  line-height: 1.2;
}
.section-eyebrow-wrap .section-lead {
  font-size: var(--lead);
  font-weight: 400;
  color: var(--text-dark);
  max-width: 65ch;
}

/* fg-light: white + glass — wspólna klasa dla wszystkich for-orgs-* z tłem foto */
.fg-light .section-eyebrow-wrap .eyebrow,
.fg-light .section-eyebrow-wrap h2,
.fg-light .section-eyebrow-wrap .section-lead {
  color: var(--text-light);
  text-shadow: 0 1px 3px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.4);
}
.fg-light .section-eyebrow-wrap .eyebrow { opacity: .75; }
.fg-light .card {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--text-light);
}
.fg-light .card h3,
.fg-light .card p,
.fg-light .card ul li {
  color: var(--text-light);
  text-shadow: 0 1px 3px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.4);
}
.fg-light .card p { opacity: .9; }
.fg-light .card ul li { opacity: .85; }
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(16,20,24,.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.card h3 {
  font-family: var(--font-display);
  font-size: var(--h3);
  font-weight: 500;
  color: var(--text-dark);
}
.card p {
  font-size: var(--body);
  font-weight: 400;
  color: var(--text-dark);
  opacity: .85;
  line-height: 1.6;
}
.card ul {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.card ul li {
  font-size: .9rem;
  font-weight: 300;
  color: var(--text-dark);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
  opacity: .8;
}
.card ul li::before {
  content: '·';
  position: absolute;
  left: .2rem;
  font-weight: 700;
}
.section-body-note {
  font-size: var(--body);
  font-weight: 300;
  color: var(--text-dark);
  opacity: .75;
  max-width: 65ch;
  margin-top: 1rem;
  font-style: italic;
}

/* ─── HOW-WE-WORK — timeline ─────────────────────────────────────── */
#how-we-work { padding: var(--section-pad); background: #fff; }
#how-we-work h2 {
  font-family: var(--font-display);
  font-size: var(--h2);
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 2rem;
}
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--text-dark);
  flex-shrink: 0;
  margin-top: .25rem;
}
.timeline-line {
  flex: 1;
  width: 2px;
  background: rgba(16,20,24,.15);
  margin-top: .25rem;
}
.timeline-item:last-child .timeline-line { display: none; }
.timeline-text h3 {
  font-family: var(--font-display);
  font-size: var(--h3);
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: .35rem;
}
.timeline-text p {
  font-size: var(--body);
  font-weight: 300;
  color: var(--text-dark);
  opacity: .8;
  max-width: 55ch;
}
@media (min-width: 768px) {
  .timeline { flex-direction: row; gap: 0; align-items: flex-start; }
  .timeline-item {
    flex-direction: column;
    flex: 1;
    padding-bottom: 0;
    padding-right: 1rem;
    gap: .75rem;
  }
  .timeline-dot-wrap { flex-direction: row; align-items: center; width: 100%; }
  .timeline-dot { margin-top: 0; }
  .timeline-line { flex: 1; height: 2px; width: auto; margin-top: 0; margin-left: .25rem; }
  .timeline-item:last-child .timeline-line { display: block; opacity: 0; }
  .timeline-text { padding-right: .5rem; }
}

/* ─── CLOSING ────────────────────────────────────────────────────── */
#closing { background: var(--accent); padding: var(--section-pad); }
.closing-inner { max-width: 800px; margin-inline: auto; }
.closing-inner h2 {
  font-family: var(--font-display);
  font-size: var(--h2);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.closing-inner .section-lead {
  font-size: var(--lead);
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  max-width: 65ch;
}
.closing-body {
  font-size: var(--body);
  font-weight: 300;
  color: var(--text-dark);
  max-width: 65ch;
  margin-bottom: 2rem;
  opacity: .85;
}
.closing-body p + p { margin-top: .75em; }
.btn-cta--dark {
  background: var(--text-dark);
  color: var(--text-light);
}
.btn-cta--dark:hover { filter: brightness(1.15); }

/* ─── KONTAKT ────────────────────────────────────────────────────── */
#kontakt { padding: var(--section-pad); background: #fff; }
.contact-inner { max-width: 720px; }
.contact-inner h2 {
  font-family: var(--font-display);
  font-size: var(--h2);
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: .75rem;
  line-height: 1.2;
}
.contact-inner .section-lead {
  font-size: var(--lead);
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 2rem;
  max-width: 60ch;
  opacity: .85;
}
.contact-people {
  margin: 0;
  max-width: 40rem;
}
.contact-people__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  align-items: start;
}
.contact-person {
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-person__photo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  object-position: center bottom;
  margin-bottom: 1rem;
  background: transparent;
  -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
/* Legacy shared photo (section.imageId without people[].imageId) */
.contact-people__photo {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  background: transparent;
}
.contact-people__captions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  margin-top: 1.25rem;
}
.contact-person__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: .35rem;
}
.contact-person__email {
  display: inline-block;
  font-size: .95rem;
  font-weight: 400;
  color: var(--text-dark);
  text-decoration: underline;
  text-decoration-color: rgba(137,207,240,.85);
  text-underline-offset: .2em;
  word-break: break-word;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.contact-person__email:hover,
.contact-person__email:focus-visible {
  color: #3a8fc0;
  text-decoration-color: #3a8fc0;
  outline: none;
}
@media (max-width: 540px) {
  .contact-people__grid,
  .contact-people__captions {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .contact-person__photo,
  .contact-people__photo {
    max-height: 260px;
  }
}
.contact-placeholder {
  background: var(--cream);
  border: 1px dashed rgba(16,20,24,.2);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}
.contact-placeholder p {
  font-size: var(--body);
  font-weight: 400;
  color: var(--text-dark);
  opacity: .6;
  margin-bottom: .5rem;
}
.contact-placeholder .release-badge {
  display: inline-block;
  background: #fbbf24;
  color: #78350f;
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .6rem;
  border-radius: 100px;
  letter-spacing: .04em;
}
.contact-microcopy {
  margin-top: 1rem;
  font-size: .875rem;
  font-weight: 300;
  color: var(--text-dark);
  opacity: .55;
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
.site-footer {
  background: var(--text-dark);
  color: var(--text-light);
  padding: 1.5rem clamp(1rem, 5vw, 2rem);
  text-align: center;
  font-size: .875rem;
  font-weight: 300;
  opacity: .9;
}
.site-footer a {
  color: var(--accent);
  text-decoration: none;
  margin-left: 1rem;
}
.site-footer a:hover { text-decoration: underline; }
.site-footer .release-badge {
  display: inline-block;
  background: #fbbf24;
  color: #78350f;
  font-size: .6875rem;
  font-weight: 600;
  padding: .15rem .5rem;
  border-radius: 100px;
  letter-spacing: .04em;
  margin-left: .5rem;
  vertical-align: middle;
}

/* ─── for-orgs-* — indywidualna czytelnosc per tlo (nie jedna reguła) ── */

/* bg07: snopy swiatla + jasne bąbelki ultralight — mocny scrim na calej wysokosci */
#for-orgs-workshops .bg-scrim--bottom {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.62) 0%,
    rgba(0,0,0,0.42) 34%,
    rgba(0,0,0,0.48) 64%,
    rgba(0,0,0,0.62) 100%
  );
}
#for-orgs-workshops .section-eyebrow-wrap .eyebrow,
#for-orgs-workshops .section-eyebrow-wrap h2,
#for-orgs-workshops .section-eyebrow-wrap .section-lead {
  text-shadow: 0 2px 5px rgba(0,0,0,0.92), 0 4px 18px rgba(0,0,0,0.75), 0 0 40px rgba(0,0,0,0.55);
}
#for-orgs-workshops .card {
  background: rgba(255,255,255,.20);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(255,255,255,.32);
}
#for-orgs-workshops .card h3,
#for-orgs-workshops .card p,
#for-orgs-workshops .card ul li {
  text-shadow: 0 1px 3px rgba(0,0,0,0.75), 0 2px 10px rgba(0,0,0,0.5);
}

/* bg04 (rekin): sredni blekit — lekki scrim, bez tlumienia motywu; glass +0 */
#for-orgs-leaders .bg-scrim--bottom {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.36) 0%,
    rgba(0,0,0,0.12) 42%,
    rgba(0,0,0,0.26) 72%,
    rgba(0,0,0,0.44) 100%
  );
}
#for-orgs-leaders .section-eyebrow-wrap .eyebrow,
#for-orgs-leaders .section-eyebrow-wrap h2,
#for-orgs-leaders .section-eyebrow-wrap .section-lead {
  text-shadow: 0 1px 3px rgba(0,0,0,0.7), 0 3px 12px rgba(0,0,0,0.5), 0 0 24px rgba(0,0,0,0.3);
}
#for-orgs-leaders .card {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255,255,255,.28);
}

/* bg18: jasne niebo / cieply blask — scrim obejmuje oba krance (juz skonfigurowane) */
#for-orgs-trips .bg-scrim--bottom {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.58) 0%,
    rgba(0,0,0,0.20) 42%,
    rgba(0,0,0,0.40) 70%,
    rgba(0,0,0,0.65) 100%
  );
}
#for-orgs-trips .section-eyebrow-wrap .eyebrow,
#for-orgs-trips .section-eyebrow-wrap h2,
#for-orgs-trips .section-eyebrow-wrap .section-lead {
  text-shadow: 0 2px 4px rgba(0,0,0,0.85), 0 4px 16px rgba(0,0,0,0.65), 0 0 32px rgba(0,0,0,0.45);
}
#for-orgs-trips .card {
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255,255,255,.28);
}

/* bg16: ciemny top + jasny cyan w srodku — wzmocnij strefę karty */
#for-orgs-conferences .bg-scrim--bottom {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.40) 0%,
    rgba(0,0,0,0.14) 28%,
    rgba(0,0,0,0.34) 58%,
    rgba(0,0,0,0.50) 100%
  );
}
#for-orgs-conferences .section-eyebrow-wrap .eyebrow,
#for-orgs-conferences .section-eyebrow-wrap h2,
#for-orgs-conferences .section-eyebrow-wrap .section-lead {
  text-shadow: 0 1px 3px rgba(0,0,0,0.7), 0 3px 12px rgba(0,0,0,0.48);
}
#for-orgs-conferences .card {
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255,255,255,.28);
}

/* bg02: jasny piasek + production water — mocny scrim na calej wysokosci */
#for-orgs-custom .bg-scrim--bottom {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.60) 0%,
    rgba(0,0,0,0.38) 38%,
    rgba(0,0,0,0.48) 68%,
    rgba(0,0,0,0.62) 100%
  );
}
#for-orgs-custom .section-eyebrow-wrap .eyebrow,
#for-orgs-custom .section-eyebrow-wrap h2,
#for-orgs-custom .section-eyebrow-wrap .section-lead {
  text-shadow: 0 2px 5px rgba(0,0,0,0.9), 0 4px 18px rgba(0,0,0,0.7), 0 0 36px rgba(0,0,0,0.5);
}
#for-orgs-custom .card {
  background: rgba(255,255,255,.20);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(255,255,255,.32);
}
#for-orgs-custom .card h3,
#for-orgs-custom .card p,
#for-orgs-custom .card ul li {
  text-shadow: 0 1px 3px rgba(0,0,0,0.75), 0 2px 10px rgba(0,0,0,0.5);
}

/* ─── Reduced motion ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
