/* ===================================================================
   LAWNIU MENTALITY — STYLE.CSS
   Elegancka paleta: czerń + złoto
   =================================================================== */

:root {
  --bg: #070707;
  --bg-soft: #0c0c0c;
  --surface: #121212;
  --surface-2: #1a1a1a;
  --line: rgba(201, 162, 39, 0.22);
  --text: #f4efe4;
  --muted: #a89f8d;
  --accent: #c9a227;
  --accent-dim: #a68620;
  --accent-10: rgba(201, 162, 39, 0.12);
  --ink: #070707;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;

  --max: 1240px;
  --radius: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
body.is-loading { overflow: hidden; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }

::selection { background: var(--accent); color: var(--ink); }

/* film grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.page-loader-blur {
  position: absolute;
  inset: -40px;
  background: #070707 url("images/2.jpg") center 20% / cover no-repeat;
  filter: blur(32px) saturate(0.65);
  transform: scale(1.15);
}
.page-loader-blur::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 7, 0.58);
}
.page-loader-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.page-loader-mark {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: loader-in 0.8s var(--ease) both, loader-pulse 1.8s ease-in-out 0.8s infinite;
}
.page-loader-badge-wrap {
  animation: loader-in 0.8s var(--ease) 0.18s both;
}
.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@keyframes loader-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes loader-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .page-loader-mark,
  .page-loader-badge-wrap { animation: none; }
  .page-loader .badge-circle,
  .page-loader .badge-circle span:first-child,
  .page-loader .badge-arrow { animation: none; }
}

/* custom cursor (desktop only) */
.cursor-dot {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease), width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-dot { display: block; }
}
.cursor-dot.grow { width: 34px; height: 34px; background: var(--accent); }

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal-left { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }
.reveal-scale { transform: scale(0.92); }
.reveal.in-view {
  opacity: 1;
  transform: none;
}

.hero-kicker.reveal { --d: 0.05s; }
.hero-copy .eyebrow.reveal { --d: 0.12s; }
.hero-title .line.reveal:nth-child(1) { --d: 0.2s; }
.hero-title .line.reveal:nth-child(2) { --d: 0.34s; }
.hero-title .line.reveal:nth-child(3) { --d: 0.48s; }
.hero-desc.reveal { --d: 0.6s; }
.hero-actions.reveal { --d: 0.74s; }
.hero-visual.reveal { --d: 0.28s; }
.scroll-cue.reveal { --d: 0.95s; }

.grid-3 > .reveal:nth-child(1),
.grid-4 > .reveal:nth-child(1),
.programs-grid > .reveal:nth-child(1) { --d: 0s; }
.grid-3 > .reveal:nth-child(2),
.grid-4 > .reveal:nth-child(2),
.programs-grid > .reveal:nth-child(2) { --d: 0.12s; }
.grid-3 > .reveal:nth-child(3),
.grid-4 > .reveal:nth-child(3),
.programs-grid > .reveal:nth-child(3) { --d: 0.24s; }
.grid-4 > .reveal:nth-child(4),
.programs-grid > .reveal:nth-child(4) { --d: 0.36s; }

.notes-grid > .reveal:nth-child(1),
.gallery-grid > .reveal:nth-child(1),
.faq-list > .reveal:nth-child(1) { --d: 0s; }
.notes-grid > .reveal:nth-child(2),
.gallery-grid > .reveal:nth-child(2),
.faq-list > .reveal:nth-child(2) { --d: 0.08s; }
.notes-grid > .reveal:nth-child(3),
.gallery-grid > .reveal:nth-child(3),
.faq-list > .reveal:nth-child(3) { --d: 0.16s; }
.notes-grid > .reveal:nth-child(4),
.gallery-grid > .reveal:nth-child(4),
.faq-list > .reveal:nth-child(4) { --d: 0.24s; }
.notes-grid > .reveal:nth-child(5),
.gallery-grid > .reveal:nth-child(5),
.faq-list > .reveal:nth-child(5) { --d: 0.32s; }
.notes-grid > .reveal:nth-child(6),
.gallery-grid > .reveal:nth-child(6),
.faq-list > .reveal:nth-child(6) { --d: 0.4s; }
.faq-list > .reveal:nth-child(n + 7) { --d: 0.48s; }

.story-block.reveal { transform: translateX(-40px); }
.story-block-reverse.reveal { transform: translateX(40px); }
.story-block.reveal.in-view,
.story-block-reverse.reveal.in-view { transform: none; }

.timeline .reveal:nth-child(1) { --d: 0s; }
.timeline .reveal:nth-child(2) { --d: 0.1s; }
.timeline .reveal:nth-child(3) { --d: 0.2s; }
.timeline .reveal:nth-child(4) { --d: 0.3s; }

.card-num,
.value-mark,
.tl-num,
.program-tag {
  opacity: 0;
  transform: translateY(8px) scale(0.85);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
  transition-delay: calc(var(--d, 0s) + 0.18s);
}
.value-mark,
.tl-num { display: block; }
.card-num { display: block; }
.card.in-view .card-num,
.value-item.in-view .value-mark,
.tl-item.in-view .tl-num,
.story-block.in-view .card-num,
.program-card.in-view .program-tag {
  opacity: 1;
  transform: none;
}

.card-photo img,
.about-photo img,
.story-block-photo img,
.note-cover img,
.gallery-item img,
.contact-thumb,
.story-mosaic img {
  transform: scale(1.08);
  transition: transform 1.15s var(--ease);
}
.card.in-view .card-photo img,
.about-photo.in-view img,
.story-block.in-view .story-block-photo img,
.note-card.in-view .note-cover img,
.gallery-item.in-view img,
.contact-aside.in-view .contact-thumb,
.story-mosaic.in-view img {
  transform: scale(1);
}
.gallery-item:hover img { transform: scale(1.05); }

.filter-row .filter-btn {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.filter-row.in-view .filter-btn { opacity: 1; transform: none; }
.filter-row.in-view .filter-btn:nth-child(1) { transition-delay: 0.04s; }
.filter-row.in-view .filter-btn:nth-child(2) { transition-delay: 0.1s; }
.filter-row.in-view .filter-btn:nth-child(3) { transition-delay: 0.16s; }
.filter-row.in-view .filter-btn:nth-child(4) { transition-delay: 0.22s; }

.contact-form .form-row,
.contact-form > .btn-primary,
.contact-info li,
.contact-aside-card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.contact-form.in-view .form-row,
.contact-form.in-view > .btn-primary,
.contact-aside.in-view .contact-aside-card,
.contact-aside.in-view .contact-info li {
  opacity: 1;
  transform: none;
}
.contact-form.in-view .form-row:nth-child(1) { transition-delay: 0.06s; }
.contact-form.in-view .form-row:nth-child(2) { transition-delay: 0.12s; }
.contact-form.in-view .form-row:nth-child(3) { transition-delay: 0.18s; }
.contact-form.in-view .form-row:nth-child(4) { transition-delay: 0.24s; }
.contact-form.in-view > .btn-primary { transition-delay: 0.32s; }
.contact-aside.in-view .contact-aside-card { transition-delay: 0.08s; }
.contact-aside.in-view .contact-info li:nth-child(1) { transition-delay: 0.16s; }
.contact-aside.in-view .contact-info li:nth-child(2) { transition-delay: 0.22s; }
.contact-aside.in-view .contact-info li:nth-child(3) { transition-delay: 0.28s; }

.card.reveal.in-view:hover,
.note-card.reveal.in-view:hover {
  transform: translateY(-6px);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .card-num,
  .value-mark,
  .tl-num,
  .program-tag,
  .filter-row .filter-btn,
  .contact-form .form-row,
  .contact-form > .btn-primary,
  .contact-info li,
  .contact-aside-card,
  .card-photo img,
  .about-photo img,
  .story-block-photo img,
  .note-cover img,
  .gallery-item img,
  .contact-thumb,
  .story-mosaic img {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  html { scroll-behavior: auto; }
}

/* ============ TYPE HELPERS ============ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.accent-text { color: var(--accent); }
.accent { color: var(--accent); }

.inline-link { color: var(--accent); border-bottom: 1px solid var(--accent-dim); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease), background 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--ink);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(201, 162, 39, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 15px 4px;
}
.btn-ghost:hover .arrow { transform: translateX(4px); }
.arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.btn-primary:hover .arrow { transform: translate(3px, -1px); }

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(7, 7, 7, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 7, 7, 0.82);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.logo-mark {
  color: var(--accent);
  font-weight: 400;
}
.nav-links {
  display: flex;
  gap: 22px;
  font-size: 13px;
  color: var(--muted);
}
.nav-links a { transition: color 0.25s; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { padding: 12px 22px; font-size: 13px; }

.burger {
  display: none;
  position: relative;
  z-index: 600;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: auto;
}
.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  top: 50%;
  margin-top: -1px;
  transform-origin: center;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.burger span:nth-child(1) { transform: translateY(-7px); }
.burger span:nth-child(2) { transform: none; }
.burger span:nth-child(3) { transform: translateY(7px); }
.burger.active span:nth-child(1) { transform: rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 450;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: 84px 22px 18px;
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu-links {
  display: flex;
  flex-direction: column;
}
.mobile-menu-links a {
  font-size: 16px;
  font-weight: 500;
  padding: 9px 2px;
  border-bottom: 1px solid var(--line);
  width: 100%;
}
.mobile-menu .mobile-cta {
  margin-top: 36px;
  width: 100%;
  justify-content: center;
  font-size: 14px;
  padding: 13px 18px;
}
.mobile-menu-social {
  margin-top: 28px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  padding-bottom: 8px;
}
.mobile-menu-social a {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  padding: 150px 32px 60px;
  max-width: var(--max);
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero::before {
  content: "";
  position: fixed;
  top: 0; right: 0;
  width: 55vw; height: 55vw;
  max-width: 800px; max-height: 800px;
  background: radial-gradient(circle, var(--accent-10) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-kicker {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  padding: 9px 16px;
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7.2vw, 92px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 10px 0 28px;
}
.hero-title .line { display: block; }
.hero-desc {
  max-width: 480px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-fx {
  position: absolute;
  inset: -10% -8%;
  pointer-events: none;
  z-index: 0;
}
.fx-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.42), transparent 70%);
  filter: blur(1px);
}
.fx-orb-a {
  width: 130px;
  height: 130px;
  top: 6%;
  right: -2%;
  animation: fx-float-a 9s ease-in-out infinite;
}
.fx-orb-b {
  width: 88px;
  height: 88px;
  bottom: 16%;
  left: -8%;
  animation: fx-float-b 11s ease-in-out infinite;
}
.fx-ring {
  position: absolute;
  width: 210px;
  height: 210px;
  top: 10%;
  right: 4%;
  border: 1px solid rgba(201, 162, 39, 0.38);
  border-radius: 50%;
  animation: spin-slow 26s linear infinite;
}
.fx-ring::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(201, 162, 39, 0.22);
  border-radius: 50%;
}
.fx-ring::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  top: -5px;
  left: 50%;
  box-shadow: 0 0 14px var(--accent);
}
.fx-pulse {
  position: absolute;
  width: 12px;
  height: 12px;
  bottom: 24%;
  right: 16%;
  background: var(--accent);
  border-radius: 50%;
  animation: fx-pulse 2.6s ease-out infinite;
}
@keyframes fx-float-a {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-18px, 22px); }
}
@keyframes fx-float-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(14px, -16px); }
}
@keyframes fx-pulse {
  0% { transform: scale(1); opacity: 0.85; box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.55); }
  100% { transform: scale(1.15); opacity: 0; box-shadow: 0 0 0 26px rgba(201, 162, 39, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .fx-orb, .fx-ring, .fx-pulse { animation: none; }
}
.visual-arch {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 260px 260px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.visual-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform-origin: center 18%;
  animation: hero-photo-live 18s ease-in-out infinite alternate;
}
.visual-arch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(201, 162, 39, 0.16) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: hero-photo-sheen 7.5s ease-in-out 1.2s infinite;
}
.visual-arch::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 7, 7, 0.35) 100%);
  pointer-events: none;
}
@keyframes hero-photo-live {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.07) translate3d(-1.4%, 1.2%, 0); }
}
@keyframes hero-photo-sheen {
  0%, 28% { transform: translateX(-120%); opacity: 0; }
  42% { opacity: 1; }
  58%, 100% { transform: translateX(120%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .visual-arch img,
  .visual-arch::before { animation: none; }
}
.badge-circle {
  width: 138px;
  height: 138px;
  border-radius: 50%;
  border: 1px solid var(--accent-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(7, 7, 7, 0.78);
  backdrop-filter: blur(6px);
  animation: spin-slow 22s linear infinite;
}
.hero-visual .badge-circle {
  position: absolute;
  z-index: 2;
  bottom: -6%;
  left: -8%;
}
.badge-circle span:first-child {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-align: center;
  line-height: 1.5;
  animation: spin-slow-reverse 22s linear infinite;
}
.badge-arrow {
  color: var(--accent);
  animation: spin-slow-reverse 22s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes spin-slow-reverse { to { transform: rotate(-360deg); } }

.scroll-cue {
  margin-top: 60px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s;
}
.scroll-cue:hover { color: var(--accent); }
.card-photo img,
.note-cover img,
.story-mosaic img,
.visual-arch img,
.contact-thumb,
.gallery-item img,
.about-photo img,
.story-block-photo img {
  cursor: zoom-in;
}

/* =====================================================================
   TICKER
   ===================================================================== */
.ticker {
  background: var(--accent);
  color: var(--ink);
  overflow: hidden;
  max-width: 100%;
  white-space: nowrap;
  padding: 16px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.ticker-track {
  display: inline-flex;
  gap: 48px;
  animation: ticker 26s linear infinite;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
}
.ticker-track span { display: inline-flex; gap: 48px; align-items: center; }
.ticker-track i { font-style: normal; opacity: 0.55; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =====================================================================
   SECTIONS (shared)
   ===================================================================== */
.section { padding: 120px 32px; }
.section-dark { background: var(--bg-soft); }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin-bottom: 22px;
  max-width: 780px;
}
.section-lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
  line-height: 1.65;
  margin-bottom: 56px;
}

/* ---- Metoda cards ---- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-dim);
}
.card-photo {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
  flex: 0 0 auto;
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.grid-3 .card:nth-child(1) .card-photo img {
  object-position: center 12%;
}
.grid-3 .card:nth-child(3) .card-photo img {
  object-position: center top;
}
.card-body {
  padding: 28px 26px 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.card-num {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 16px;
}
.card h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 12px; font-weight: 600; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.card-cta {
  margin-top: auto;
  align-self: flex-start;
  padding: 11px 18px;
  border: 1px solid var(--line);
  color: var(--text);
}
.card-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---- Filozofia ---- */
.about-split {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.about-photo {
  border-radius: 220px 220px 20px 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  background: var(--surface);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.quote-banner {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 28px;
  max-width: 760px;
}
.quote-banner p {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 14px;
}
.quote-banner span { color: var(--muted); font-family: var(--font-mono); font-size: 13px; }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-item { padding: 4px; }
.value-mark { color: var(--accent); font-size: 20px; margin-bottom: 14px; }
.value-item h4 { font-size: 17px; margin-bottom: 8px; font-weight: 600; }
.value-item p { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ---- Proces / timeline ---- */
.timeline { display: flex; flex-direction: column; }
.tl-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.tl-item:last-of-type { border-bottom: 1px solid var(--line); }
.tl-num {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 24px;
  font-weight: 500;
}
.tl-body h3 { font-size: 20px; margin-bottom: 8px; font-weight: 600; }
.tl-body p { color: var(--muted); font-size: 15px; max-width: 560px; line-height: 1.6; }
.cta-inline { margin-top: 48px; }

/* ---- Notatki / blog ---- */
.filter-row { display: flex; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-family: var(--font-mono);
  transition: all 0.25s;
}
.filter-btn:hover { color: var(--text); border-color: var(--accent-dim); }
.filter-btn.active { background: var(--accent); color: var(--ink); border-color: var(--accent); font-weight: 600; }

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.note-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s;
  cursor: pointer;
}
.note-card:hover { transform: translateY(-6px); border-color: var(--accent-dim); }
.note-cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d0e08;
}
.note-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.note-cover img.crop-top {
  object-position: center top;
}
.note-card-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.note-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.note-card h3 { font-size: 19px; margin-bottom: 10px; line-height: 1.3; font-weight: 600; }
.note-card p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.note-meta { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }

.note-full {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(6, 7, 4, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 90px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  overflow-y: auto;
}
.note-full.open { opacity: 1; pointer-events: auto; }
.note-full-inner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  max-width: 720px;
  width: 100%;
  padding: 48px;
  position: relative;
}
.note-close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 22px;
  color: var(--muted);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.note-close:hover { color: var(--text); border-color: var(--accent); }
.note-full-inner h3 { font-size: 28px; margin-bottom: 18px; padding-right: 40px; }
.note-full-inner .note-tag { margin-bottom: 20px; }
.note-full-img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  margin: 0 auto 24px;
  background: #0d0e08;
}
.note-full-img[hidden] { display: none; }
.note-full-body p { color: var(--muted); font-size: 15.5px; line-height: 1.75; margin-bottom: 16px; }
.note-full-body p:first-child { color: var(--text); font-size: 17px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 780px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 20px;
  font-weight: 400;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.faq-item p a { color: var(--accent); }

/* ---- Galeria ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-item {
  position: relative;
  display: block;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #0d0e08;
  aspect-ratio: 4 / 5;
  width: 100%;
  color: inherit;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(6, 7, 4, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  padding: 72px 88px 64px;
  overflow: hidden;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  margin: 0 auto;
}
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  color: var(--text); font-size: 26px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.lightbox-close:hover { border-color: var(--accent); color: var(--accent); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 32px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 11, 6, 0.55);
  backdrop-filter: blur(8px);
  z-index: 2;
  transition: border-color 0.25s, color 0.25s;
}
.lightbox-nav:hover { border-color: var(--accent); color: var(--accent); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---- Historia ---- */
.mantra {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 8px 0 40px;
}
.story-blocks {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-bottom: 56px;
}
.story-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.story-block-reverse { grid-template-columns: 0.95fr 1.05fr; }
.story-block-reverse .story-block-photo { order: 2; }
.story-block-photo {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  background: var(--surface);
}
.story-block-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.story-blocks .story-block:nth-child(2) .story-block-photo img,
.story-blocks .story-block:nth-child(3) .story-block-photo img {
  object-position: center 52%;
}
.story-blocks .story-block:nth-child(4) .story-block-photo img {
  object-position: center top;
}
.story-block-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  margin: 10px 0 14px;
  line-height: 1.15;
}
.story-block-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 460px;
}
.story-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 12px;
  margin-bottom: 48px;
}
.story-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.story-mosaic img:nth-child(1) { grid-row: span 2; }
.story-mosaic img:nth-child(4) {
  object-position: center top;
  grid-column: 2;
}
.story-mosaic img:nth-child(5) {
  object-position: center 42%;
}
.story-cta-box {
  margin-top: 8px;
  padding: 36px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 20px;
  max-width: 720px;
}
.story-cta-box h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 12px;
}
.story-cta-box p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 22px;
}

/* ---- Programy ---- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.program-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  text-align: left;
  color: inherit;
  width: 100%;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
  cursor: pointer;
}
.program-card:hover,
.program-card.selected {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px -18px rgba(201, 162, 39, 0.45);
}
.program-card.featured {
  border-color: var(--accent-dim);
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.08), var(--surface) 40%);
}
.program-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
}
.program-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}
.program-price {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--accent);
  font-weight: 600;
  margin: 12px 0 16px;
}
.program-price small {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}
.program-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}
.program-note {
  margin-top: 28px;
  max-width: 720px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--surface);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}

/* ---- Kontakt ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-aside-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  align-items: center;
  background: var(--accent);
  color: var(--ink);
  border-radius: 18px;
  padding: 14px;
}
.contact-thumb {
  width: 132px;
  height: 148px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 12px;
}
.contact-aside-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-aside-card p {
  font-size: 13px;
  line-height: 1.5;
}
.form-row { margin-bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 13px; color: var(--muted); font-family: var(--font-mono); }
.form-row input, .form-row textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color 0.25s;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--accent); }
.error-msg {
  display: none;
  color: #ff6b6b;
  font-size: 12px;
  font-family: var(--font-mono);
}
.form-row.invalid input, .form-row.invalid textarea { border-color: #ff6b6b; }
.form-row.invalid .error-msg { display: block; }
.form-success {
  display: none;
  margin-top: 18px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
}
.form-success.show { display: block; }

.consult-card {
  background: var(--accent);
  color: var(--ink);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 28px;
}
.contact-portrait {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.contact-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.consult-card h3 { font-size: 20px; margin-bottom: 10px; font-weight: 700; }
.consult-card p { font-size: 14px; margin-bottom: 20px; line-height: 1.55; }
.consult-card .btn-ghost { color: var(--ink); padding: 0; font-weight: 600; }

.contact-info { border-top: 1px solid var(--line); margin-bottom: 0; }
.contact-info li {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.contact-info li span { color: var(--muted); font-family: var(--font-mono); font-size: 12px; }
.contact-info li a:hover { color: var(--accent); }

.social-row { display: flex; gap: 20px; }
.social-row a { font-size: 13px; color: var(--muted); font-family: var(--font-mono); }
.social-row a:hover { color: var(--accent); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { padding: 40px 32px 28px; border-top: 1px solid var(--line); }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-inner p { color: var(--muted); font-size: 13px; }
.footer-social { flex-wrap: wrap; }
.footer-bottom {
  max-width: var(--max);
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.credit-link {
  color: var(--muted);
  font-size: 12px;
  font-family: var(--font-mono);
}
.credit-link:hover { color: var(--accent); }
.admin-link { color: var(--muted); font-size: 12px; font-family: var(--font-mono); }
.admin-link:hover { color: var(--accent); }

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 650;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: rgba(7, 7, 7, 0.88);
  color: var(--accent);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, background 0.3s;
}
.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-top:hover { background: var(--accent); color: var(--ink); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .hero { overflow: hidden; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual {
    overflow: hidden;
    height: 420px;
    order: -1;
  }
  .hero-visual .badge-circle {
    left: 16px;
    bottom: 12px;
  }
  .hero-fx { inset: 0; }
  .fx-orb-b { left: 6%; }
  .about-split { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { max-width: 380px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .notes-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .story-block,
  .story-block-reverse { grid-template-columns: 1fr; }
  .story-block-reverse .story-block-photo { order: 0; }
  .story-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 160px 160px 160px; }
  .story-mosaic img:nth-child(1) { grid-row: span 1; }
  .story-mosaic img:nth-child(4) { grid-column: auto; }
}

@media (max-width: 1100px) {
  html { scroll-padding-top: calc(80px + env(safe-area-inset-top, 0px)); }
  .nav-inner {
    padding: 12px 20px;
    gap: 12px;
  }
  .nav {
    padding-top: env(safe-area-inset-top, 0px);
  }
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .hero {
    justify-content: flex-start;
    padding: calc(88px + env(safe-area-inset-top, 0px)) 24px 48px;
  }
  .section[id] { scroll-margin-top: calc(80px + env(safe-area-inset-top, 0px)); }
  .programs-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .hero { padding: calc(84px + env(safe-area-inset-top, 0px)) 20px 36px; }
  .section { padding: 80px 20px; }
  .footer { padding: 32px 20px 24px; }
  .section-inner, .hero-inner, .footer-inner { min-width: 0; max-width: 100%; }
  .programs-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .notes-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: 100%;
  }
  .hero-actions .btn { width: 100%; }
  .lightbox {
    padding: 64px 52px 72px;
  }
  .lightbox img {
    max-height: 70vh;
  }
  .lightbox-close {
    top: 12px;
    right: 12px;
  }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 24px; }
  .note-full {
    padding: 16px 12px;
    align-items: center;
  }
  .note-full-inner {
    padding: 24px 16px 20px;
    overflow: hidden;
  }
  .note-close {
    top: 12px;
    right: 12px;
  }
  .note-full-inner h3 { font-size: 22px; }
  .note-full-img {
    max-height: 42vh;
  }
  .logo { font-size: 16px; }
  .contact-aside-card { grid-template-columns: 100px 1fr; }
  .contact-thumb { width: 100px; height: 120px; }
  .contact-info li a {
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: right;
    max-width: 62%;
  }
  .tl-item { grid-template-columns: 1fr; gap: 10px; }
  .about-photo { max-width: 100%; border-radius: 160px 160px 16px 16px; }
  .contact-portrait { max-width: 100%; }
  .story-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 140px 140px 140px; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 42px; }
}
