:root {
  --sand: #FFFFFF;
  --sand-2: #F2F2F2;
  --cream: #F5F5F4;
  --brown: #000000;
  --brown-2: #242424;
  --dark: #4A4A4A;
  --muted: rgba(0, 0, 0, .62);
  --tag: #98D2D2;
  --hero: #98D2D2;
  --tag-ink: #000000;
  --line: rgba(0, 0, 0, .14);
  --serif: "Libre Caslon Display", Georgia, serif;
  --serif-italic: "Libre Caslon Text", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --r: 0px;
  --gutter: clamp(16px, 3vw, 40px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--sand); color: var(--brown); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
/* lekkie pogrubienie prostego kroju nagłówków (font ma tylko jedną grubość) */
.serif { -webkit-text-stroke: .01em currentColor; paint-order: stroke fill; }
.serif em, .serif i { -webkit-text-stroke: 0; }
.serif em, h1 em, h2 em, h3 em, .serif i { font-family: var(--serif-italic); font-weight: 400; font-size: .79em; letter-spacing: -.045em; }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.h2 { font-size: clamp(40px, 5vw, 64px); }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.tag { display: inline-block; white-space: nowrap; background: transparent; color: var(--brown); font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 3px 8px; border-radius: 0; border: 1px solid var(--brown); }
.events .tag { background: transparent; color: #fff; border-color: #fff; }
.link-u { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 0; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; border: 1px solid var(--brown); background: var(--brown); color: var(--cream); transition: background .25s, color .25s, transform .25s; white-space: nowrap; }
.btn:hover, .btn.dark:hover { background: var(--brown-2); border-color: var(--brown-2); color: var(--cream); }
.btn.outline { background: transparent; color: var(--brown); }
.btn.outline:hover { background: var(--brown); color: var(--cream); }
.cta .btn { height: 52px; padding: 0 30px; font-size: 13px; letter-spacing: 1.4px; }
.cta .btn:not(.ghost), footer .btn { background: var(--cream); color: var(--brown); border-color: var(--cream); }
.cta .btn:not(.ghost):hover, footer .btn:hover { background: var(--sand); border-color: var(--sand); color: var(--brown); }
.btn.ghost { background: transparent; color: var(--cream); border-color: rgba(245,245,244,.4); }
.btn.ghost:hover { background: var(--cream); color: var(--brown); }

/* ---------- PASEK POSTĘPU HERO (rozsuwanie kafelków) ---------- */
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 3; background: rgba(255,255,255,.3); pointer-events: none; }
.hero-progress span { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }

/* ---------- NAV ---------- */
.nav { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(960px, calc(100% - 32px)); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 24px; border-radius: 0; background: rgba(255, 255, 255, .35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); border: 1px solid var(--tag-ink); color: var(--tag-ink); transition: background .35s ease, border-radius .25s ease; }
.nav > .btn { background: var(--tag-ink); color: var(--cream); border-color: var(--tag-ink); }
.nav > .btn:hover { background: #242424; border-color: #242424; }
.nav.on-hero { background: rgba(152, 210, 210, .35); color: #000; border-color: #000; }
.nav.on-hero > .btn { background: #000; color: var(--cream); border-color: #000; }
.nav.on-hero > .btn:hover { background: #242424; border-color: #242424; }
.logo { font-family: var(--sans); font-weight: 500; letter-spacing: .28em; font-size: 15px; }
.nav ul { display: flex; list-style: none; gap: 26px; }
.nav ul a { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; opacity: .85; transition: opacity .2s; }
.nav ul a:hover { opacity: 1; }
.burger { display: none; background: none; border: 0; width: 36px; height: 36px; cursor: pointer; color: inherit; }
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .25s; }

/* ---------- HERO ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; background: var(--hero); color: #fff; overflow: hidden; display: grid; place-items: center; text-align: center; padding: 264px var(--gutter) 40px; }
/* przypięcie hero: dodatkowa wysokość = długość animacji rozsuwania kafelków */
.hero-pin { position: relative; height: 200svh; }
.hero-pin .hero { position: sticky; top: 0; }
/* bez unoszenia w hero: w stosie wszystkie kafelki muszą leżeć idealnie jeden na drugim */
.hero-pin .vtile { animation: none; }
@media (prefers-reduced-motion: reduce) { .hero-pin { height: auto; } .hero-pin .hero { position: relative; } }
.hero-quote { margin-top: 56px; max-width: 460px; }
.hero-stars { color: #F5A623; letter-spacing: 4px; font-size: 14px; margin-bottom: 10px; }
.hero-quote blockquote { font-family: var(--serif-italic); font-style: italic; font-size: 18px; line-height: 1.6; opacity: .85; }
.hero-quotes { display: grid; }
.hero-quotes blockquote { grid-area: 1 / 1; opacity: 0; transition: opacity .9s ease; }
.hero-quotes blockquote.active { opacity: .85; }
.hero-mark { position: absolute; z-index: 0; left: 50%; top: 22%; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #fff; background: rgba(152,210,210,.35); pointer-events: none; }
.hero-mark svg { width: 15px; height: 21px; fill: #fff; }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { opacity: .75; margin-bottom: 22px; font-size: 13px; letter-spacing: 1.6px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 80px); letter-spacing: -.035em; max-width: 15ch; }
.hero .actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.hero-next { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; opacity: .85; transition: opacity .2s; }
.hero-next:hover { opacity: 1; }
.hero-next .tag { font-size: 9px; background: var(--cream); color: var(--tag-ink); }

.hero .btn { height: 52px; padding: 0 30px; font-size: 13px; letter-spacing: 1.4px; }
.hero .btn.dark { background: #000; border-color: #000; color: var(--cream); }
.hero .btn.dark:hover { background: #242424; border-color: #242424; }
.hero .btn.ghost { color: #000; border-color: rgba(0,0,0,.5); }
.hero .btn.ghost:hover { background: #000; color: var(--cream); }
.hero .vtile { background: rgba(0,0,0,.25); }
.vtile { position: absolute; z-index: 1; border-radius: 0; overflow: hidden; background: var(--brown-2); animation: drift 9s ease-in-out infinite alternate; will-change: transform, translate; }
.vtile video { width: 100%; height: 100%; object-fit: cover; }
.vtile { aspect-ratio: 9 / 16; }
.vtile.wide { aspect-ratio: 16 / 9; }
.v1 { width: 88px; left: 4%; top: 10%; animation-delay: -2s; }
.v2 { width: 200px; left: 3%; top: 31%; }
.v3 { width: 90px; left: 13%; bottom: 6%; animation-delay: -3s; }
.v4 { width: 220px; right: 4%; top: 28%; animation-delay: -4s; }
.v5 { width: 160px; right: 22%; top: 17%; animation-delay: -1s; }
.v6 { width: 120px; right: 20%; bottom: 6%; animation-delay: -6s; }
.v7 { width: 80px; left: 25%; top: 12%; animation-delay: -5s; }
.v8 { width: 90px; right: 3%; bottom: 3%; animation-delay: -2.5s; }
.v9 { width: 190px; left: 13%; bottom: 5%; animation-delay: -7s; }
.v1, .v3, .v8 { display: none; }

/* ---------- INTRO ---------- */
.intro { padding: 140px 0 120px; text-align: center; }
/* przypięcie intro: dodatkowa wysokość = długość sekwencji przewijania */
.intro-pin { position: relative; height: 200svh; }
.intro-pin .intro { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding: 0; overflow: hidden; }
/* tekst + hashtag na środku ekranu, linia i zdanie pod nimi (poza środkowaniem) */
.intro-pin .intro .wrap { position: relative; }
.intro-pin .intro-after { position: absolute; left: 0; right: 0; top: 100%; }
.intro-pin .intro .wrap { width: 100%; }
.intro-pin .vline { margin: 36px auto; height: 90px; }
.intro-pin .intro .note { margin-top: 30px; }
@media (prefers-reduced-motion: reduce) { .intro-pin { height: auto; } .intro-pin .intro { position: static; height: auto; } }
.intro p.lead { font-size: clamp(26px, 3.2vw, 44px); line-height: 1.25; max-width: 980px; margin: 0 auto; letter-spacing: -.015em; font-weight: 400; -webkit-text-stroke: .008em #fff; paint-order: normal; }
.scroll-ink { opacity: 0; transition: opacity .7s ease; }
.scroll-ink.visible { opacity: 1; }
.scroll-ink .w { white-space: nowrap; }
.scroll-ink .c { color: rgba(0,0,0,.18); transition: color .35s ease; }
.scroll-ink .c.on { color: #000; }
.intro .hashtag { display: block; margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.25; opacity: 0; transition: opacity .8s ease, transform .8s ease; transform: translateY(8px); }
.intro .hashtag.shown { opacity: 1; transform: none; }
.intro .hashtag { color: var(--tag); }
.vline { width: 1px; height: 110px; background: var(--line); margin: 48px auto; }
.pillars { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px 56px; }
.pillar { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pillar svg { width: 32px; height: 32px; stroke: var(--brown); fill: none; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.pillar span { font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.intro .note { margin-top: 40px; color: var(--muted); font-size: 15px; }
/* sekwencja w intro (sterowana przewijaniem w index.html) */
.intro .vline { transform: scaleY(0); transform-origin: 50% 0; background: rgba(0,0,0,.35); }
.intro .pillar, .intro .note { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.intro .pillar.shown, .intro .note.shown { opacity: 1; transform: none; }

/* ---------- SECTION HEAD ---------- */
.shead { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-bottom: 40px; }
.shead .tag { margin-bottom: 18px; }
.shead .side { max-width: 280px; text-align: right; }
.shead .side p { font-size: 15px; color: var(--muted); margin-bottom: 14px; }

/* ---------- CLASSES / RYTUAŁY ---------- */
.classes { padding: 40px 0 140px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card { position: relative; border-radius: 0; overflow: hidden; aspect-ratio: 4 / 5; color: var(--cream); isolation: isolate; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); z-index: -2; }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,.7) 100%); }
.card:hover img { transform: scale(1.05); }
.card h3 { position: absolute; top: 18px; left: 20px; right: 20px; font-family: var(--serif); font-weight: 400; font-size: 32px; letter-spacing: -.03em; line-height: 1; }
.card p { position: absolute; left: 20px; right: 20px; bottom: 20px; font-size: 14px; line-height: 1.4; max-width: 30ch; }
.rituals { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.rituals li { list-style: none; font-size: 11px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; padding: 8px 14px; border: 1px solid var(--line); border-radius: 0; }

/* ---------- ABOUT / POLAROIDS ---------- */
.about { padding: 40px 0 160px; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.polaroids { position: relative; height: 560px; }
.pol { position: absolute; background: var(--cream); padding: 12px 12px 44px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.45); border-radius: 0; width: 58%; transition: transform .5s; }
.pol img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; }
.pol figcaption { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 10px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; }
.pol.a { left: 0; top: 10px; transform: rotate(-7deg); }
.pol.b { left: 36%; top: 120px; transform: rotate(5deg); z-index: 2; }
.polaroids:hover .pol.a { transform: rotate(-9deg) translateX(-8px); }
.polaroids:hover .pol.b { transform: rotate(7deg) translateX(8px); }
.about-media { justify-self: center; width: min(100%, 420px); aspect-ratio: 9 / 16; max-height: 78svh; overflow: hidden; background: var(--sand-2); }
.about-media video { width: 100%; height: 100%; object-fit: cover; }
.rituals-grid { grid-template-columns: 1fr 1.1fr; }
.rituals-grid .rituals { margin: 26px 0 30px; }
.cards[hidden] { display: none; }
.about-copy .pillars { justify-content: flex-start; gap: 20px 40px; margin-top: 26px; }
.about-copy .tag { margin-bottom: 18px; }
.about-copy h2 { margin-bottom: 28px; }
.about-copy p { color: var(--muted); max-width: 440px; margin-bottom: 14px; }
.about-copy .btn { margin-top: 14px; }

/* ---------- EVENTS ---------- */
.events { position: relative; color: var(--cream); height: 100svh; min-height: 640px; padding: 104px 0 32px; overflow: hidden; background: var(--brown-2); }
.events > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px) brightness(.5); transform: scale(1.12); }
.events .wrap { position: relative; height: 100%; display: flex; flex-direction: column; gap: 28px; }
.events-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.events-head .tag { margin-bottom: 14px; }
.events .intro-e { max-width: 340px; opacity: .85; font-size: 15px; text-align: right; }
.event { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: minmax(0, 1fr); gap: 12px; }
.event video { width: 100%; height: 100%; object-fit: cover; border-radius: 0; background: var(--brown); }
.ecard { background: var(--cream); color: var(--brown); border-radius: 0; overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
.ticker { background: var(--hero); color: #000; overflow: hidden; white-space: nowrap; padding: 10px 0; flex: none; }
.ticker-track { display: inline-flex; animation: ticker 22s linear infinite; }
.ticker span { font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; padding: 0 14px; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ecard-body { flex: 1; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; overflow: auto; }
.ecard h3 { font-size: clamp(36px, 3.6vw, 52px); }
.ecard .desc { color: var(--muted); font-size: 15px; }
.emeta { list-style: none; display: flex; flex-direction: column; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.emeta li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.emeta svg { width: 22px; height: 22px; flex: none; stroke: var(--brown); fill: none; stroke-width: 1.3; opacity: .6; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: auto; }
.price b { font-family: var(--serif); font-weight: 400; font-size: 40px; letter-spacing: -.04em; line-height: 1; }
.price span { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.event-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.event-actions .btn { justify-content: center; height: 44px; }

/* ---------- RETREAT HERO (wideo w tle + karta) ---------- */
.rhero { position: relative; min-height: 100svh; color: var(--cream); overflow: hidden; background: var(--brown-2); display: flex; align-items: flex-end; padding: 120px 0 40px; }
.rhero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rhero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.1) 100%), linear-gradient(0deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 50%); }
.rhero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: end; }
.rhero-copy .tag { margin-bottom: 20px; background: transparent; color: #fff; border-color: #fff; }
.rhero h1, .rhero h2 { font-size: clamp(48px, 6.4vw, 96px); max-width: 11ch; }
.rhero-copy p { max-width: 420px; margin-top: 22px; font-size: 16px; opacity: .9; }
.rhero .ecard { max-height: calc(100svh - 160px); }
@media (max-width: 1000px) {
  .rhero { align-items: stretch; padding-bottom: 24px; }
  .rhero-grid { grid-template-columns: 1fr; gap: 32px; align-content: end; }
  .rhero .ecard { max-height: none; }
}

/* wariant bez terminu: tekst na środku sekcji, karta ukryta */
.rhero--soon { align-items: center; padding-bottom: 120px; }
.rhero--soon .rhero-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.rhero--soon .rhero-copy h2 { max-width: none; }
.rhero--soon .rhero-copy p { margin-left: auto; margin-right: auto; }
.rhero--soon::before { background: rgba(0,0,0,.45); }
.rhero .ecard[hidden] { display: none; }

/* ---------- OFFER (first time) ---------- */
.offer { padding: 150px 0; }
.offer-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.offer-intro { position: sticky; top: 120px; }
.offer-intro h2 { margin: 18px 0 20px; }
.offer-intro p { color: var(--muted); max-width: 380px; margin-bottom: 26px; }
.offer-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 520px; }
.offer-photos img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.offer-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.offer-item { background: #F7F7F6; border-radius: 0; padding: 22px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.offer-top { display: flex; justify-content: space-between; align-items: flex-start; }
.offer-top svg { width: 36px; height: 36px; stroke: var(--tag); fill: none; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.offer-item .num { display: none; }
.offer-item p { font-size: 15px; line-height: 1.4; }

/* ---------- TEAM ---------- */
.team { padding: 40px 0 150px; }
.team-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 12px; }
.member img { width: 100%; aspect-ratio: 416 / 536; object-fit: cover; border-radius: 0; background: var(--sand-2); margin-bottom: 14px; transition: filter .4s; filter: saturate(.85); }
.member:hover img { filter: saturate(1.05); }
.member h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 6px; }
.member span { font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.team-row .member:first-child { grid-column: span 1; }

/* ---------- TESTIMONIALS ---------- */
.quotes { padding: 150px 0; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.quote { background: var(--cream); border-radius: 0; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.quote blockquote { font-family: var(--serif); font-size: 21px; line-height: 1.25; letter-spacing: -.01em; }
.quote .who { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; }
.quote .who img { width: 40px; height: 40px; border-radius: 0; object-fit: cover; }
.stars { color: #F5A623; letter-spacing: 2px; font-size: 13px; }

/* ---------- ZAUFALI NAM ---------- */
.trust { padding: 0 0 150px; }
.logos { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos-track { list-style: none; display: flex; width: max-content; animation: logos 40s linear infinite; }
.logos:hover .logos-track { animation-play-state: paused; }
.logos-track li { flex: none; display: grid; place-items: center; width: 240px; padding: 40px 32px; }
.logos-track img { width: 100%; max-width: 160px; height: 48px; object-fit: contain; }
@keyframes logos { to { transform: translateX(-50%); } }
@media (max-width: 760px) { .logos-track li { width: 170px; padding: 28px 20px; } }
@media (prefers-reduced-motion: reduce) { .logos-track { animation: none; } .logos { overflow-x: auto; } }

/* ---------- INSTAGRAM ---------- */
.insta { padding: 0 0 150px; }
.insta-grid { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.insta-grid a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand-2); }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.insta-grid video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.insta-grid a.playing video { opacity: 1; }
.insta-grid a:hover img { transform: scale(1.05); }
.insta-grid .reel-ico { position: absolute; top: 10px; right: 10px; z-index: 2; width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.6; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
@media (max-width: 1000px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .insta-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CONTACT ---------- */
.contact { padding: 0 0 150px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-box { border: 1px solid var(--line); border-radius: 0; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.contact-box h2 { margin-top: 4px; }
.contact-box p { color: var(--muted); max-width: 420px; }
.channel { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.channel:first-child { border-top: 0; }
.channel b { font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -.03em; }
.channel span { font-size: 15px; }
.channel:hover span { text-decoration: underline; }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--dark); color: var(--sand); padding: 170px 0; text-align: center; overflow: hidden; }
.cta h2 { position: relative; z-index: 2; font-size: clamp(56px, 8vw, 110px); letter-spacing: -.035em; }
.cta .eyebrow { position: relative; z-index: 2; opacity: .8; display: block; margin-bottom: 22px; color: var(--cream); }
.cta .actions { position: relative; z-index: 2; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.float { position: absolute; border-radius: 0; object-fit: cover; will-change: transform, translate; animation: drift 9s ease-in-out infinite alternate; }
.f1 { width: 150px; height: 170px; left: 14%; top: 30%; }
.f2 { width: 70px; height: 70px; left: 4%; top: 12%; animation-delay: -2s; }
.f3 { width: 110px; height: 130px; right: 16%; top: 10%; animation-delay: -4s; }
.f4 { width: 60px; height: 80px; right: 3%; top: 48%; animation-delay: -1s; }
.f5 { width: 120px; height: 140px; right: 20%; bottom: 8%; animation-delay: -6s; }
.f6 { width: 60px; height: 60px; left: 9%; bottom: 10%; animation-delay: -3s; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-18px); } }

/* ---------- FOOTER ---------- */
footer { background: var(--dark); color: var(--cream); padding: 40px 0 28px; border-top: 1px solid rgba(245,245,244,.14); }
.foot-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px 0 56px; }
.newsletter h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; letter-spacing: -.03em; margin-bottom: 20px; }
.nl-form { display: flex; gap: 8px; max-width: 460px; }
.nl-form input { flex: 1; min-width: 0; height: 40px; border-radius: 0; border: 1px solid rgba(245,245,244,.28); background: transparent; color: var(--cream); padding: 0 18px; font: inherit; font-size: 14px; }
.nl-form input::placeholder { color: rgba(245,245,244,.55); }
.nl-form .btn { height: 40px; }
.nl-note { font-size: 12px; opacity: .55; margin-top: 14px; max-width: 460px; line-height: 1.45; }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; align-content: start; }
.foot-links a { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; opacity: .85; }
.foot-links a:hover { opacity: 1; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(245,245,244,.14); font-size: 12px; opacity: .8; }
.foot-bottom .logo { font-size: 18px; opacity: 1; }
.foot-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-bottom nav a:hover { text-decoration: underline; }
.socials { display: flex; gap: 8px; }
.socials a { width: 36px; height: 36px; border-radius: 0; border: 1px solid rgba(245,245,244,.28); display: grid; place-items: center; }
.socials svg { width: 16px; height: 16px; fill: var(--cream); }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .float, .vtile, .ticker-track { animation: none; } html { scroll-behavior: auto; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .team-row { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .offer-grid { grid-template-columns: 1fr; gap: 48px; }
  .offer-intro { position: static; }
  .events { height: auto; min-height: 0; padding: 120px 0 80px; }
  .event { grid-template-columns: 1fr; grid-template-rows: auto; }
  .event video { aspect-ratio: 4 / 3; height: auto; max-height: 60svh; }
  .quote-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav ul, .nav > .btn { display: none; }
  .burger { display: block; }
  .nav.open { flex-wrap: wrap; border-radius: 0; }
  .nav.open ul { display: flex; flex-direction: column; gap: 14px; width: 100%; padding: 14px 0 10px; }
  .nav.open > .btn { display: inline-flex; margin-bottom: 6px; }
  .nav.open .burger span:first-child { transform: translateY(3px) rotate(45deg); }
  .nav.open .burger span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .hero { padding: 250px var(--gutter) 40px; }
  .hero-quote { margin-top: 44px; }
  .hero-next { flex-direction: column; gap: 8px; }
  .v2 { width: 72px; left: 5%; top: auto; bottom: 3%; }
  .v4 { width: 70px; right: 5%; top: 11%; }
  .v6 { width: 76px; right: 7%; bottom: 2%; }
  .v1, .v3, .v5, .v7, .v8, .v9 { display: none; }
  .intro { padding: 96px 0 80px; }
  .pillars { gap: 24px 32px; }
  .shead { grid-template-columns: 1fr; }
  .shead .side { text-align: left; }
  .cards { grid-template-columns: 1fr; }
  .card { aspect-ratio: 4 / 3.4; }
  .polaroids { height: 420px; }
  .pol { width: 62%; }
  .pol.b { top: 90px; }
  .events { padding: 96px 0 64px; }
  .events-head { flex-direction: column; align-items: flex-start; }
  .events .intro-e { text-align: left; }
  .event video { aspect-ratio: 4 / 5; }
  .event-actions { grid-template-columns: 1fr; }
  .offer { padding: 96px 0; }
  .offer-list { grid-template-columns: 1fr; }
  .offer-item { min-height: 0; }
  .team-row { grid-template-columns: 1fr 1fr; }
  .member h3 { font-size: 22px; }
  .quote-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-box { padding: 24px; }
  .channel b { font-size: 22px; }
  .channel span { font-size: 13px; word-break: break-all; text-align: right; }
  .cta { padding: 120px 0; }
  .f1 { width: 90px; height: 110px; left: 4%; top: 64%; }
  .f3 { width: 80px; height: 90px; right: 6%; top: 6%; }
  .f5, .f4 { display: none; }
  .foot-top { grid-template-columns: 1fr; }
}

/* ---------- MOBILE UX ---------- */
@media (max-width: 760px) {
  /* krótsze, równe odstępy między sekcjami */
  .classes, .about, .team { padding-bottom: 88px; }
  .quotes { padding: 88px 0; }
  .trust, .insta, .contact { padding-bottom: 88px; }
  .offer { padding: 88px 0; }
  .cta { padding: 96px 0; }
  /* oferta: kompaktowa lista ikona + tekst zamiast wysokich kafli */
  .offer-list { gap: 8px; }
  .offer-item { flex-direction: row; align-items: center; gap: 16px; padding: 16px 18px; }
  .offer-top svg { width: 28px; height: 28px; }
  /* CTA: zdjęcia tylko w rogach, nie zasłaniają nagłówka */
  .cta .float { display: none; }
  .cta .f3 { display: block; width: 64px; height: 76px; right: 5%; top: 24px; }
  .cta .f6 { display: block; width: 56px; height: 56px; left: 5%; top: auto; bottom: 24px; }
  /* hero: kafelek w prawym górnym rogu nie wchodzi pod menu */
  .v4 { top: 14%; }
  /* pola dotykowe min. 44px, input 16px (iOS nie przybliża strony) */
  .burger { width: 44px; height: 44px; margin-right: -6px; }
  .nl-form input { font-size: 16px; height: 48px; }
  .nl-form .btn { height: 48px; }
  .newsletter h3 { font-size: 28px; line-height: 1.15; }
  .foot-links { gap: 0 32px; }
  .foot-links a { display: block; padding: 11px 0; }
  .foot-bottom nav { gap: 0 18px; }
  .foot-bottom nav a { display: inline-block; padding: 10px 0; }
  .socials a { width: 44px; height: 44px; }
  .channel { min-height: 56px; }
  /* otwarte menu: pełne tło, X zostaje w prawym górnym rogu, wygodne pola dotykowe */
  .nav.open { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.open.on-hero { background: var(--hero); }
  .nav.open ul { order: 3; gap: 0; }
  .nav.open ul a { display: block; padding: 12px 0; }
  .nav.open > .btn { order: 4; width: 100%; justify-content: center; height: 48px; }
}
