/* ============================================
   PORT MEBLI - STYL GŁÓWNY
   ============================================ */

:root {
  /* Kolory */
  --bg: #F8F6F2;
  --bg-alt: #EFEAE3;
  --bg-dark: #1A1A1A;
  --bg-dark-soft: #2A2826;
  --ink: #1A1A1A;
  --ink-soft: #4A4A4A;
  --ink-muted: #7A7A7A;
  --ink-light: #BABABA;
  --line: rgba(26, 26, 26, 0.10);
  --line-strong: rgba(26, 26, 26, 0.20);
  --accent: #A56B4D;         /* miedź / rose-gold z logo */
  --accent-dark: #7C5138;
  --accent-soft: #EFE2D6;
  --gold: #B8965E;
  --white: #FFFFFF;

  /* Typografia */
  --font-serif: 'Cambria', Georgia, 'Times New Roman', serif;
  --font-serif-w: 700;
  --font-sans: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
  --r-full: 999px;

  /* Shadows */
  --sh-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --sh-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --sh-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --sh-xl: 0 20px 60px rgba(0, 0, 0, 0.18);

  /* Transitions */
  --t-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button, a {
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 880px;
}

/* ============================================
   SECTION HEADERS (eyebrow + title + lead)
   ============================================ */

.section__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}

.section__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 64px;
}

/* ============================================
   NAV
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 246, 242, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), background var(--t-base);
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(248, 246, 242, 0.95);
}

.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.nav__logo-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.nav__logo-text {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color var(--t-fast);
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform var(--t-fast), background var(--t-fast);
}

.nav__cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.nav__cta svg {
  flex-shrink: 0;
}

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__inner { padding: 12px 16px; }
  .nav__cta span { display: none; }
  .nav__cta { padding: 10px; }
}

/* ============================================
   HERO (KOSMOS)
   parallax layers, kinetic text, magnetic CTA, perspektywa 3D
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  padding: 96px 32px 24px;
  overflow: hidden;
  background: #0a0a0a;
  color: #fff;
  perspective: 1400px;
  isolation: isolate;
}

/* === STAGE: warstwy 3D z parallax === */
.hero__stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform-style: preserve-3d;
  pointer-events: none;
  will-change: transform;
}

.hero__layer {
  position: absolute;
  inset: -10%;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.hero__layer--back {
  z-index: 1;
}

.hero__layer--back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: brightness(0.72) contrast(1.1) saturate(0.95);
  animation: heroDriftScale 22s ease-in-out infinite alternate;
}

@keyframes heroDriftScale {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

.hero__layer--mid {
  z-index: 2;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 55%, transparent 0%, rgba(10, 10, 10, 0.30) 55%, rgba(10, 10, 10, 0.80) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.40) 0%, rgba(10, 10, 10, 0.10) 30%, rgba(10, 10, 10, 0.25) 55%, rgba(10, 10, 10, 0.90) 100%);
}

/* Subtle blueprint grid */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
  opacity: 0.7;
}

/* Film grain noise */
.hero__noise {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: noiseShift 1.2s steps(4) infinite;
}

@keyframes noiseShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-2%, -2%); }
  100% { transform: translate(0, 0); }
}

/* Animated rays */
.hero__rays {
  position: absolute;
  top: -10%;
  left: 50%;
  width: 1px;
  height: 120%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.4;
}

.hero__rays span {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(176, 131, 80, 0.5), transparent);
  transform-origin: top center;
}

.hero__rays span:nth-child(1) {
  transform: rotate(-12deg);
  animation: rayPulse 6s ease-in-out infinite;
}
.hero__rays span:nth-child(2) {
  transform: rotate(8deg);
  animation: rayPulse 7s ease-in-out infinite 1.5s;
}
.hero__rays span:nth-child(3) {
  transform: rotate(20deg);
  animation: rayPulse 5s ease-in-out infinite 3s;
}

@keyframes rayPulse {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.7; }
}

/* === META górny pasek === */
.hero__meta {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: center;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: heroMetaIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes heroMetaIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__meta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C99A6A;
  box-shadow: 0 0 12px rgba(201, 154, 106, 0.85), 0 0 0 0 rgba(201, 154, 106, 0.6);
  animation: dotPulse 2.2s ease-out infinite;
}

@keyframes dotPulse {
  0% { box-shadow: 0 0 12px rgba(201, 154, 106, 0.85), 0 0 0 0 rgba(201, 154, 106, 0.6); }
  100% { box-shadow: 0 0 12px rgba(201, 154, 106, 0.85), 0 0 0 12px rgba(201, 154, 106, 0); }
}

.hero__meta-text {
  color: rgba(255, 255, 255, 0.92);
}

.hero__meta-text--muted {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-serif);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 14px;
}

.hero__meta-sep {
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

/* === CONTENT centralny === */
.hero__content {
  position: relative;
  z-index: 10;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(46px, 8.5vw, 124px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  color: #fff;
}

.hero__line {
  display: block;
}

.hero__line--accent {
  font-style: italic;
  font-weight: 400;
  color: #F2D9B5;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero__word {
  display: inline-block;
  margin: 0 0.18em 0 0;
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  animation: wordSlide 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s) backwards;
}

@keyframes wordSlide {
  0% {
    opacity: 0;
    transform: translateY(32px);
    filter: blur(12px);
  }
  60% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero__sub {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 580px;
  margin: 0 auto 48px;
  letter-spacing: 0.005em;
}

[data-fade] {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  animation: fadeUp 1.05s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s) backwards;
  will-change: transform, opacity, filter;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(8px);
  }
  60% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Bezpieczeństwo: jeśli browser nie wspiera animacji, tekst jest widoczny od razu (no fallback potrzebny - backwards fill mode trzyma initial state) */

/* === CTA: magnetic + glow === */
.hero__cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero__cta {
  position: relative;
  display: inline-block;
  padding: 4px;
  border-radius: var(--r-full);
  background: transparent;
  transition: transform 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  will-change: transform;
}

.hero__cta-glow {
  position: absolute;
  inset: -8px;
  border-radius: var(--r-full);
  background: radial-gradient(closest-side, rgba(176, 131, 80, 0.55), transparent 70%);
  filter: blur(20px);
  z-index: 0;
  animation: ctaGlowPulse 2.6s ease-in-out infinite;
}

@keyframes ctaGlowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero__cta-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 22px 36px;
  background: #fff;
  color: #1a1a1a;
  border-radius: var(--r-full);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.005em;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: background 250ms, color 250ms, box-shadow 250ms;
}

.hero__cta-inner svg {
  color: var(--accent-dark);
  transition: transform 250ms;
}

.hero__cta-arrow {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 20px;
  color: var(--accent-dark);
  transition: transform 250ms;
}

.hero__cta:hover .hero__cta-inner {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 24px 50px rgba(176, 131, 80, 0.4);
}

.hero__cta:hover .hero__cta-inner svg,
.hero__cta:hover .hero__cta-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

.hero__cta-hint {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

/* === FOOTER hero: pills w jednej linii === */
.hero__footer {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 64px auto 0;
  max-width: 920px;
  width: 100%;
  text-align: center;
}

.hero__pill {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}

.hero__pill-sep {
  font-size: 18px;
  color: var(--accent);
  line-height: 1;
}

/* === SCROLL indicator === */
.hero__scroll {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(to bottom, transparent, #B08350);
  animation: scrollLineSweep 2.4s ease-in-out infinite;
}

@keyframes scrollLineSweep {
  from { transform: translateY(0); }
  to { transform: translateY(76px); }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero__footer { gap: 14px; }
  .hero__pill { font-size: 13px; }
}

@media (max-width: 768px) {
  .hero {
    padding: 76px 16px 28px;
    justify-content: center;
    gap: 28px;
  }
  .hero__meta {
    padding: 7px 14px;
    font-size: 10.5px;
    gap: 8px;
    letter-spacing: 0.14em;
    max-width: calc(100% - 8px);
  }
  .hero__meta-text--muted { display: none; }
  .hero__meta-sep { display: none; }
  .hero__meta-dot { width: 7px; height: 7px; }

  .hero__title {
    font-size: clamp(26px, 6.8vw, 40px);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 20px;
  }
  .hero__word { margin: 0 0.10em 0 0; }

  .hero__sub {
    font-size: 15px;
    line-height: 1.5;
    margin: 0 auto 28px;
    max-width: 92%;
  }

  .hero__cta-inner {
    padding: 17px 26px;
    font-size: 15px;
    gap: 10px;
  }
  .hero__cta-inner svg { width: 18px; height: 18px; }
  .hero__cta-arrow { font-size: 17px; }
  .hero__cta-hint {
    font-size: 11px;
    letter-spacing: 0.16em;
    margin-top: 4px;
  }

  .hero__footer {
    margin: 32px auto 0;
    gap: 10px;
    row-gap: 8px;
  }
  .hero__pill {
    font-size: 11px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
  .hero__pill-sep { font-size: 13px; }

  .hero__grid { background-size: 60px 60px; opacity: 0.45; }
  .hero__noise { opacity: 0.08; }
  .hero__layer--back img { object-position: 50% 55%; }
  .hero__vignette {
    background:
      radial-gradient(ellipse 100% 70% at 50% 35%, transparent 0%, rgba(10, 10, 10, 0.55) 60%, rgba(10, 10, 10, 0.92) 100%),
      linear-gradient(180deg, rgba(10, 10, 10, 0.45) 0%, transparent 30%, transparent 50%, rgba(10, 10, 10, 0.98) 100%);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 68px 14px 22px;
    gap: 22px;
  }
  .hero__title {
    font-size: clamp(22px, 7vw, 32px);
    line-height: 1.12;
    letter-spacing: -0.03em;
  }
  .hero__word { margin: 0 0.08em 0 0; }
  .hero__sub {
    font-size: 14.5px;
    margin-bottom: 24px;
  }
  .hero__cta-inner {
    padding: 16px 22px;
    font-size: 14.5px;
  }
  .hero__footer {
    flex-direction: column !important;
    gap: 5px !important;
    margin-top: 22px;
    align-items: center;
  }
  .hero__pill-sep { display: none !important; }
  .hero__pill {
    font-size: 11px;
    letter-spacing: 0.08em;
  }
  .hero__meta { font-size: 10px; padding: 6px 12px; }
}

/* ============================================
   TRUST BAR
   ============================================ */

.trust {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 24px;
}

.trust__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  align-items: center;
  text-align: center;
}

.trust__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trust__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.trust__value {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

@media (max-width: 880px) {
  .trust__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 20px;
  }
}

@media (max-width: 480px) {
  .trust__inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--r-full);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast);
  border: none;
}

.btn--solid {
  background: var(--ink);
  color: var(--bg);
}

.btn--solid:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--bg);
}

/* ============================================
   WHO (DLA KOGO)
   ============================================ */

.who {
  padding: var(--space-10) 0;
}

.who__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.who__card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  border: 1px solid var(--line);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.who__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--accent-soft);
}

.who__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}

.who__card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--ink);
}

.who__card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.who__cta {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-lg);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.who__cta p {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.3;
  max-width: 560px;
}

.who__cta .btn--solid {
  background: var(--bg);
  color: var(--ink);
  flex-shrink: 0;
}

.who__cta .btn--solid:hover {
  background: var(--accent);
  color: var(--white);
}

@media (max-width: 880px) {
  .who__grid { grid-template-columns: 1fr; }
  .who__cta { flex-direction: column; align-items: flex-start; padding: 32px; }
  .who__cta p { font-size: 22px; }
}

/* ============================================
   WORKS (REALIZACJE)
   ============================================ */

.works {
  padding: var(--space-10) 0;
  background: var(--bg-alt);
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.work {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.work:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}

.work__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}

.work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.work:hover .work__media img {
  transform: scale(1.05);
}

.work__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: var(--white);
  color: var(--accent-dark);
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  box-shadow: var(--sh-sm);
}

.work__body {
  padding: 32px;
}

.work__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 6px;
  color: var(--ink);
}

.work__meta {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.work__desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.works__cta {
  display: flex;
  justify-content: center;
}

@media (max-width: 880px) {
  .works__grid { grid-template-columns: 1fr; gap: 24px; }
  .work__body { padding: 24px; }
}

/* ============================================
   VIS (WIZUALIZACJE)
   ============================================ */

.vis {
  padding: var(--space-10) 0;
  background: var(--bg-dark);
  color: var(--bg);
}

.vis .section__title {
  color: var(--bg);
}

.vis .section__eyebrow {
  color: var(--gold);
}

.vis .section__lead {
  color: rgba(248, 246, 242, 0.72);
}

.vis__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.vis__card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-dark-soft);
  aspect-ratio: 4 / 3;
}

.vis__card--wide {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}

.vis__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.vis__card:hover img {
  transform: scale(1.04);
}

.vis__card figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.75) 60%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vis__badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--r-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.vis__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--white);
  line-height: 1.3;
  margin-top: 4px;
}

@media (max-width: 880px) {
  .vis__grid { grid-template-columns: 1fr; }
  .vis__card--wide { aspect-ratio: 4 / 3; }
}

/* ============================================
   PROCESS
   ============================================ */

.process {
  padding: var(--space-10) 0;
}

.process__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.process__step {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px;
  border: 1px solid var(--line);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: transform var(--t-base), border-color var(--t-base);
}

.process__step:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.process__num {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}

.process__body h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--ink);
}

.process__body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.process__cta {
  text-align: center;
}

.process__cta p {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 24px;
}

@media (max-width: 880px) {
  .process__list { grid-template-columns: 1fr; }
}

/* ============================================
   WHY (DLACZEGO MY)
   ============================================ */

.why {
  padding: var(--space-10) 0;
  background: var(--bg-alt);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 24px;
}

.why__item {
  padding: 32px 0;
  border-top: 1px solid var(--line-strong);
}

.why__item h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--ink);
}

.why__item p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}

@media (max-width: 880px) {
  .why__grid { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================
   FAQ
   ============================================ */

.faq {
  padding: var(--space-10) 0;
}

.faq__list {
  margin-top: 24px;
}

.faq__item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  transition: color var(--t-fast);
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: '+';
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 32px;
  line-height: 1;
  color: var(--accent);
  transition: transform var(--t-base);
  flex-shrink: 0;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item summary:hover {
  color: var(--accent-dark);
}

.faq__content {
  padding-top: 16px;
  max-width: 720px;
}

.faq__content p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  .faq__item summary { font-size: 18px; }
}

/* ============================================
   CTA (FINAL)
   ============================================ */

.cta {
  padding: var(--space-10) 0;
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(176, 131, 80, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.cta__sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(248, 246, 242, 0.78);
  max-width: 640px;
  margin: 0 auto 40px;
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 22px 44px;
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--r-full);
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transition: transform var(--t-base), background var(--t-base);
}

.cta__btn:hover {
  transform: translateY(-3px);
  background: var(--accent);
  color: var(--white);
}

.cta__btn svg {
  color: var(--accent-dark);
  transition: color var(--t-base);
}

.cta__btn:hover svg {
  color: var(--white);
}

.cta__hours {
  margin-top: 24px;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: rgba(248, 246, 242, 0.6);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--bg-dark-soft);
  color: rgba(248, 246, 242, 0.85);
  padding: 64px 0 32px;
  font-size: 15px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(248, 246, 242, 0.12);
}

.footer__brand .footer__logo {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 28px;
  color: var(--bg);
  display: block;
  margin-bottom: 16px;
}

.footer__brand p {
  color: rgba(248, 246, 242, 0.7);
  max-width: 360px;
}

.footer__col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer__link {
  display: block;
  color: rgba(248, 246, 242, 0.78);
  margin-bottom: 8px;
  transition: color var(--t-fast);
}

.footer__link:hover {
  color: var(--bg);
}

.footer__link--strong {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--bg);
  margin-bottom: 4px;
}

.footer__hours {
  font-size: 13px;
  color: rgba(248, 246, 242, 0.55);
  margin-top: 8px;
}

.footer__bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(248, 246, 242, 0.5);
  letter-spacing: 0.05em;
}

@media (max-width: 880px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================
   STICKY MOBILE CTA
   ============================================ */

.sticky-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--accent-dark);
  color: var(--white);
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 12px 40px rgba(139, 102, 56, 0.5);
  transition: transform var(--t-slow);
}

.sticky-cta.is-visible {
  transform: translateX(-50%) translateY(0);
}

.sticky-cta:hover {
  background: var(--accent);
}

@media (min-width: 880px) {
  .sticky-cta { display: none; }
}

/* ============================================
   SCROLL REVEAL
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1), transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero__image { animation: none; }
  .hero__cta::before { animation: none; }
  .hero__scroll { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================
   GLOBAL MOBILE TIGHTENING
   sekcje, container, typografia - kompaktowo
   ============================================ */

@media (max-width: 768px) {
  body { font-size: 16px; }

  .container { padding: 0 18px; }

  /* Sekcje: mniejszy padding-y */
  .who, .works, .vis, .process, .why, .faq, .cta {
    padding: 64px 0;
  }

  /* Section header */
  .section__eyebrow {
    font-size: 12px;
    letter-spacing: 0.16em;
    margin-bottom: 12px;
  }
  .section__title {
    font-size: clamp(26px, 6.5vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 18px;
  }
  .section__lead {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 40px;
  }

  /* Trust bar */
  .trust { padding: 28px 18px; }
  .trust__inner { gap: 20px 16px; }
  .trust__value { font-size: 18px; }
  .trust__label { font-size: 10px; letter-spacing: 0.12em; }

  /* WHO */
  .who__card { padding: 28px 24px; border-radius: var(--r-md); }
  .who__card h3 { font-size: 21px; margin-bottom: 10px; }
  .who__card p { font-size: 15px; }
  .who__icon { width: 48px; height: 48px; margin-bottom: 18px; }
  .who__cta {
    padding: 28px 24px;
    border-radius: var(--r-md);
    gap: 20px;
  }
  .who__cta p {
    font-size: 20px;
    line-height: 1.35;
  }

  /* Works */
  .work__body { padding: 22px 20px; }
  .work__title { font-size: 21px; }
  .work__meta { font-size: 11px; margin-bottom: 12px; }
  .work__desc { font-size: 15px; line-height: 1.55; }
  .work__badge { font-size: 10px; padding: 5px 11px; top: 12px; left: 12px; }

  /* Wizualizacje */
  .vis__title { font-size: 16px; }
  .vis__card figcaption { padding: 18px 20px; }
  .vis__badge { font-size: 9px; padding: 3px 10px; }

  /* Process */
  .process__step { padding: 24px 20px; gap: 16px; border-radius: var(--r-md); }
  .process__num { font-size: 28px; }
  .process__body h3 { font-size: 19px; margin-bottom: 6px; }
  .process__body p { font-size: 14.5px; }
  .process__cta p { font-size: 19px; margin-bottom: 18px; }

  /* Why */
  .why__item { padding: 24px 0; }
  .why__item h3 { font-size: 21px; margin-bottom: 8px; }
  .why__item p { font-size: 15px; }

  /* FAQ */
  .faq__item { padding: 20px 0; }
  .faq__item summary { font-size: 17px; gap: 16px; }
  .faq__item summary::after { font-size: 28px; }
  .faq__content { padding-top: 12px; }
  .faq__content p { font-size: 15px; }

  /* CTA final */
  .cta__title {
    font-size: clamp(28px, 7.5vw, 40px);
    margin-bottom: 14px;
  }
  .cta__sub { font-size: 16px; margin-bottom: 28px; }
  .cta__btn { padding: 18px 30px; font-size: 16px; }
  .cta__btn svg { width: 18px; height: 18px; }
  .cta__hours { margin-top: 18px; font-size: 12px; }

  /* Footer */
  .footer { padding: 48px 0 24px; font-size: 14px; }
  .footer__grid { padding-bottom: 36px; gap: 28px; }
  .footer__brand .footer__logo { font-size: 24px; margin-bottom: 12px; }
  .footer__col h4 { margin-bottom: 14px; }
  .footer__link--strong { font-size: 20px; }
  .footer__bottom { padding-top: 24px; }

  /* Sticky CTA mobile - safe area + padding bottom by sticky się nie nakładało na CTA finalne */
  .sticky-cta {
    bottom: max(16px, env(safe-area-inset-bottom));
    padding: 14px 24px;
    font-size: 14px;
  }
  .sticky-cta svg { width: 18px; height: 18px; }

  /* Body padding-bottom by sticky CTA nie zakrywało footer treści */
  body { padding-bottom: 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .who, .works, .vis, .process, .why, .faq, .cta {
    padding: 52px 0;
  }

  .section__title {
    font-size: clamp(24px, 7vw, 32px);
  }
  .section__lead {
    font-size: 15px;
    margin-bottom: 32px;
  }

  /* WHO CTA na single column */
  .who__cta { flex-direction: column; align-items: flex-start; }
  .who__cta p { font-size: 18px; }

  /* Works CTA full width */
  .works__cta .btn--solid,
  .process__cta .btn--solid,
  .who__cta .btn--solid {
    width: 100%;
    justify-content: center;
  }

  /* Trust bar pojedyncza kolumna OK ale lżej */
  .trust__inner { gap: 16px; }

  /* FAQ summary mniejszy */
  .faq__item summary { font-size: 16px; gap: 12px; }
  .faq__content p { font-size: 14.5px; }

  /* Wizualizacje grid - kompakt */
  .vis__card { aspect-ratio: 3 / 4; }
  .vis__card--wide { aspect-ratio: 4 / 3; }
}

/* Tablet sweet spot */
@media (min-width: 769px) and (max-width: 1024px) {
  .who__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .works__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .process__list { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .section__title { font-size: clamp(32px, 4.5vw, 44px); }
}

/* ============================================
   PROJECTS (realizacje - bloki projektowe)
   ============================================ */
.projects { display:flex; flex-direction:column; gap:88px; margin-bottom:64px; }
.project { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.project--reverse .project__body { order:2; }
.project__tag { display:inline-block; font-family:var(--font-sans); font-size:12px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--accent); background:var(--accent-soft); padding:6px 14px; border-radius:var(--r-full); margin-bottom:20px; }
.project__title { font-size:clamp(28px,3.4vw,42px); line-height:1.12; letter-spacing:-.02em; color:var(--ink); margin-bottom:18px; }
.project__desc { font-size:17px; line-height:1.65; color:var(--ink-soft); margin-bottom:22px; }
.project__feats { list-style:none; display:flex; flex-direction:column; gap:11px; }
.project__feats li { position:relative; padding-left:30px; font-size:15.5px; line-height:1.5; color:var(--ink-soft); }
.project__feats li::before { content:''; position:absolute; left:0; top:3px; width:18px; height:18px; border-radius:50%; background:var(--accent-soft); }
.project__feats li::after { content:''; position:absolute; left:6px; top:8px; width:6px; height:3px; border-left:2px solid var(--accent); border-bottom:2px solid var(--accent); transform:rotate(-45deg); }
.project__media { display:grid; grid-template-columns:1.5fr 1fr; grid-template-rows:1fr 1fr; gap:12px; aspect-ratio:1/1; }
.project__media img { width:100%; height:100%; object-fit:cover; border-radius:16px; box-shadow:var(--sh-md); transition:transform .7s cubic-bezier(.4,0,.2,1); }
.project__media .pm-main { grid-row:1 / 3; grid-column:1; }
.project:hover .project__media .pm-main { transform:scale(1.03); }
.project--full { grid-template-columns:1fr; gap:28px; text-align:center; }
.project--full .project__body { max-width:680px; margin:0 auto; }
.project--full .project__media--single { display:block; aspect-ratio:16/9; }
.project--full .project__media--single img { width:100%; height:100%; object-fit:cover; border-radius:20px; box-shadow:var(--sh-lg); }
@media (max-width:880px){
  .project { grid-template-columns:1fr; gap:28px; }
  .project--reverse .project__body { order:0; }
  .project__media { aspect-ratio:4/3; }
  .project__media img { border-radius:12px; }
  .project--full .project__media--single { aspect-ratio:4/3; }
}

/* ============================================
   FONTY: SF Pro Bold (nagłówki) + Cambria Italic (akcent)
   ============================================ */
.hero__title,
.hero__line,
.hero__word,
.section__title,
.nav__logo-mark,
.nav__logo-text,
.who__card h3,
.work__title,
.project__title,
.vis__title,
.process__num,
.process__body h3,
.process__cta p,
.why__item h3,
.faq__item summary,
.cta__title,
.footer__logo,
.footer__link--strong {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}
.hero__line--accent,
.who__cta p {
  font-family: 'Cambria', Georgia, 'Times New Roman', serif !important;
  font-weight: 400 !important;
  font-style: italic !important;
}

/* ============================================
   POZA KUCHNIĄ - pełniejszy kadr (oddalone, widać całe meble)
   ============================================ */
.vis__card { background: #1b1a14; border: 1px solid rgba(255,255,255,0.06); }
.vis__card img { object-fit: contain; }
.vis__grid > .vis__card:not(.vis__card--wide) { aspect-ratio: 3 / 4; }
.vis__card--wide { aspect-ratio: 3 / 2; }
@media (max-width: 880px) {
  .vis__grid > .vis__card:not(.vis__card--wide) { aspect-ratio: 3 / 4; }
  .vis__card--wide { aspect-ratio: 4 / 3; }
}
