/* ============================================================
   LEKKI GROUP — Website Stylesheet
   Design: Dark premium palette, Cormorant + Inter typography
   ============================================================ */

/* ── CSS Custom Properties ── */
:root {
  /* Colors */
  --color-bg:             #0C0C0F;
  --color-surface:        #131318;
  --color-surface-raised: #1C1C23;
  --color-border:         #2A2A35;
  --color-text:           #F0EDE8;
  --color-text-secondary: #A89F94;
  --color-text-muted:     #5C5650;
  --color-accent:         #C8A96E;
  --color-accent-light:   #DBC491;
  --color-accent-subtle:  #1E1A12;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  32px;
  --space-lg:  64px;
  --space-xl:  96px;
  --space-2xl: 128px;
  --space-3xl: 192px;

  /* Layout */
  --max-width: 1440px;
  --nav-height: 99px;
  --section-padding: 120px;
  --container-padding: 80px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --duration-fast: 200ms;
  --duration-base: 300ms;
  --duration-slow: 600ms;
  --duration-reveal: 700ms;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ── Typography ── */
.headline-xl {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.headline-lg {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 400;
  line-height: 1.15;
}
.body-lg {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.75;
  color: var(--color-text-secondary);
}
.logo-text {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--color-text);
}
.nav-logo-img {
  height: 50px;
  width: auto;
  display: block;
  /* white logo works perfectly on dark nav */
}
.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
  opacity: 0.85;
  transition: opacity var(--duration-fast);
}
.footer-logo-img:hover {
  opacity: 1;
}

/* ── Layout ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ── Section Label ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: var(--space-md);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.label-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
  border: 1px solid var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn-full { width: 100%; }

/* ── Section Base ── */
.section { padding: var(--section-padding) 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav-header.scrolled {
  background: rgba(12, 12, 15, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--color-border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.nav-logo { flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.nav-link {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
  transition: color var(--duration-fast);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--color-accent);
  transition: width var(--duration-base) var(--ease-out);
}
.nav-link:hover { color: var(--color-text); }
.nav-link:hover::after { width: 100%; }
.nav-link-bardziej {
  color: var(--color-accent);
  opacity: 0.8;
}
.nav-link-bardziej:hover { color: var(--color-accent); opacity: 1; }
.mobile-nav-link-bardziej { color: var(--color-accent); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  padding: 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  transition: border-color var(--duration-fast);
}
.lang-toggle:hover { border-color: var(--color-accent); }
.lang-sep { color: var(--color-border); }
.lang-option { cursor: pointer; transition: color var(--duration-fast); }
.lang-option.active { color: var(--color-accent); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text);
  transition: all var(--duration-base) var(--ease-out);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0;
  background: rgba(12, 12, 15, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-out);
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}
.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--color-text-secondary);
  transition: color var(--duration-fast);
}
.mobile-nav-link:hover { color: var(--color-accent); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, #16141a 0%, var(--color-bg) 70%);
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 169, 110, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 169, 110, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: var(--space-md);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.eyebrow-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--color-accent);
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.0;
  margin-bottom: var(--space-md);
}
.headline-line {
  display: block;
  font-size: clamp(56px, 8vw, 104px);
  letter-spacing: -0.02em;
}
.headline-gold { color: var(--color-accent); }
.hero-sub {
  max-width: 580px;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}
.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
  padding: var(--space-md) var(--container-padding);
  border-top: 1px solid var(--color-border);
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 var(--space-lg);
}
.stat-item:first-child { padding-left: 0; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  line-height: 1;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
.stat-number--single {
  font-size: clamp(29px, 3.6vw, 52px);
}
.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--color-border);
  flex-shrink: 0;
}
.hero-scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ============================================================
   GROUP INTRO
   ============================================================ */
.group-intro { background: var(--color-surface); }
.group-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
.group-intro-left .headline-xl { color: var(--color-text); }
.group-intro-right { display: flex; flex-direction: column; gap: var(--space-md); }

/* ============================================================
   PILLARS
   ============================================================ */
.pillars { background: var(--color-bg); }
.pillars-headline { margin-bottom: var(--space-xl); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.pillar-card {
  padding: var(--space-lg) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-surface);
  transition: border-color var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity var(--duration-base);
}
.pillar-card:hover { border-color: rgba(200, 169, 110, 0.3); }
.pillar-card:hover::before { opacity: 1; }
.pillar-icon {
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}
.pillar-number {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 300;
  line-height: 1;
  color: rgba(200, 169, 110, 0.08);
  position: absolute;
  top: 12px;
  right: 20px;
  letter-spacing: -0.03em;
  pointer-events: none;
}
.pillar-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}
.pillar-tagline {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  font-style: italic;
}
.pillar-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}
.pillar-brands {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}
.brand-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: rgba(200, 169, 110, 0.07);
  border: 1px solid rgba(200, 169, 110, 0.15);
  padding: 4px 10px;
  border-radius: 2px;
}

/* ============================================================
   COMPANIES
   ============================================================ */
.companies { background: var(--color-surface); }
.companies-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}
.companies-intro {
  max-width: 420px;
  flex-shrink: 0;
}
/* ── Companies: horizontal list ── */
.companies-grid {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
}
.company-card {
  border: none;
  border-bottom: 1px solid var(--color-border);
  border-left: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  transition: background var(--duration-fast),
              border-left-color var(--duration-fast);
}
.company-card:hover {
  background: var(--color-surface);
  border-left-color: var(--color-accent);
}
.company-card-inner {
  display: grid;
  grid-template-columns: 180px 200px 1fr auto;
  grid-template-rows: auto auto;
  column-gap: var(--space-lg);
  row-gap: 4px;
  align-items: center;
  padding: var(--space-md) var(--space-sm);
  height: auto;
}

/* Sector tag — col 2, row 1 (above company name) */
.company-sector-tag {
  grid-column: 2;
  grid-row: 1;
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0;
  align-self: end;
}

/* Company name — col 2, row 2 */
.company-name {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  font-size: 17px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin: 0;
  line-height: 1.2;
}

/* Logo — col 1, spans both rows */
.company-logo-area {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  height: auto;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.company-logo {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  object-position: center;
  opacity: 0.8;
  transition: opacity var(--duration-fast);
}
.company-card:hover .company-logo { opacity: 1; }

/* URL — col 4, spans both rows */
.company-link-row {
  grid-column: 4;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 0;
}
.company-url {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--duration-fast);
}
.company-card:hover .company-url { color: var(--color-accent); }
.company-arrow {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: all var(--duration-fast);
}
.company-card:hover .company-arrow {
  color: var(--color-accent);
  transform: translateX(3px);
}

/* Description — column 3, spans both rows */
.company-desc {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin-bottom: 0;
  flex: unset;
}
/* Intelidom Group (5th) — boosted for visual weight */
.companies-grid .company-card:nth-child(5) .company-logo {
  height: 58px;
}
/* Nowe 4 Kąty (8th) — slightly reduced */
.companies-grid .company-card:nth-child(8) .company-logo {
  height: 38px;
}
/* SoundCoreHero (10th) — stacked logo, needs larger scale to match visual weight */
.companies-grid .company-card:nth-child(10) .company-logo {
  height: 52px;
}

.company-card-more {
  background: var(--color-accent-subtle);
  border-color: rgba(200, 169, 110, 0.12);
}
.company-card-more:hover { border-color: rgba(200, 169, 110, 0.3); }
.company-tags-small {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.company-tags-small span {
  font-size: 11px;
  color: var(--color-text-muted);
  background: rgba(200, 169, 110, 0.06);
  border: 1px solid rgba(200, 169, 110, 0.12);
  padding: 3px 8px;
  border-radius: 2px;
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects { background: var(--color-bg); }
.projects-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}
.projects-intro {
  max-width: 380px;
  flex-shrink: 0;
}
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-sm);
}
.project-card {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-surface);
  overflow: hidden;
  transition: border-color var(--duration-base);
}
.project-card:hover { border-color: rgba(200, 169, 110, 0.3); }
.project-card-large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
.project-visual {
  height: 200px;
  background: var(--color-surface-raised);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.project-card-large .project-visual { height: 280px; }
.project-visual--tall { height: 360px; }
.project-visual-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: var(--space-sm);
  background: linear-gradient(
    135deg,
    rgba(200, 169, 110, 0.06) 0%,
    rgba(28, 28, 35, 0.8) 100%
  );
  position: relative;
}
.project-visual-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(200, 169, 110, 0.03) 20px,
    rgba(200, 169, 110, 0.03) 21px
  );
}
.project-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.project-card:hover .project-photo { transform: scale(1.03); }
.project-visual-label {
  position: relative;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(12, 12, 15, 0.8);
  padding: 4px 10px;
  border: 1px solid rgba(200, 169, 110, 0.2);
  border-radius: 2px;
}
.project-info { padding: var(--space-md); }
.project-meta {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
  margin-bottom: var(--space-sm);
}
.project-type {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.project-brand-tag {
  font-size: 10px;
  font-weight: 500;
  color: var(--color-accent);
  background: rgba(200, 169, 110, 0.08);
  padding: 2px 8px;
  border-radius: 2px;
  border: 1px solid rgba(200, 169, 110, 0.15);
}
.project-name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}
.project-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

/* ============================================================
   FOUNDER
   ============================================================ */
.founder { background: var(--color-surface); }
.founder-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: var(--space-lg);
  align-items: start;
  padding-top: var(--space-sm);
}
.portrait-frame {
  aspect-ratio: 4/5;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-surface-raised);
  position: relative;
}
.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.portrait-frame:hover .founder-img {
  transform: scale(1.02);
}
.founder-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-top: var(--space-md);
}
.founder-name {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-text);
}
.founder-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: -8px;
}
.founder-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.founder-body p {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.75;
  color: var(--color-text-secondary);
}
.founder-quote {
  border-left: 2px solid var(--color-accent);
  padding-left: var(--space-md);
  margin: var(--space-xs) 0;
}
.founder-quote p {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--color-text);
}
.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
  transition: color var(--duration-fast);
  align-self: flex-start;
  margin-top: var(--space-xs);
}
.founder-linkedin:hover { color: var(--color-accent); }
.founder-linkedin svg { flex-shrink: 0; }

/* ============================================================
   WHY LEKKI
   ============================================================ */
.why-lekki { background: var(--color-bg); }
.why-headline { margin-bottom: var(--space-xl); max-width: 800px; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md) var(--space-lg);
}
.value-item {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-border);
  transition: border-color var(--duration-base);
}
.value-item:hover { border-top-color: var(--color-accent); }
.value-icon {
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}
.value-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}
.value-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* ============================================================
   FUNDACJA BARDZIEJ
   ============================================================ */
.bardziej-section {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.bardziej-inner {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
}
.bardziej-heart {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}
.bardziej-heart svg {
  width: 100%;
  height: 100%;
}
.bardziej-content {
  flex: 1;
}
.bardziej-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}
.bardziej-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 300;
  color: var(--color-text);
  margin: 0 0 var(--space-sm);
  line-height: 1.1;
}
.bardziej-text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-text-muted);
  max-width: 560px;
  line-height: 1.75;
  margin: 0;
}
@media (max-width: 767px) {
  .bardziej-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  .bardziej-heart { width: 52px; height: 52px; }
}

/* ============================================================
   BARDZIEJ PAGE
   ============================================================ */
.bardziej-hero { min-height: 70vh; display: flex; align-items: center; }
.bardziej-page-heart {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-md);
}
.bardziej-page-heart svg { width: 100%; height: 100%; }
.bardziej-coming-soon {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0.6;
  margin-top: var(--space-lg);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
.contact-left .headline-xl { margin: var(--space-sm) 0 var(--space-md); }
.contact-left .body-lg { margin-bottom: var(--space-lg); }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-detail-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.contact-detail-value {
  font-size: 16px;
  color: var(--color-text);
  transition: color var(--duration-fast);
}
a.contact-detail-value:hover { color: var(--color-accent); }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.form-input {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--color-text);
  transition: border-color var(--duration-fast);
  outline: none;
  resize: none;
}
.form-input::placeholder { color: var(--color-text-muted); }
.form-input:focus { border-color: var(--color-accent); }
.form-note {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}
/* .footer-logo — replaced by .footer-logo-img (PNG logo) */


.footer-tagline {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 4px;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.footer-link {
  font-size: 13px;
  color: var(--color-text-muted);
  transition: color var(--duration-fast);
}
.footer-link:hover { color: var(--color-accent); }
.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.footer-copy {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--duration-reveal) var(--ease-out),
    transform var(--duration-reveal) var(--ease-out);
}
.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ============================================================
   RESPONSIVE — TABLET (< 1200px)
   ============================================================ */
@media (max-width: 1199px) {
  :root {
    --container-padding: 48px;
    --section-padding: 96px;
  }
  .company-card-inner {
    grid-template-columns: 140px 160px 1fr auto;
    column-gap: var(--space-md);
  }
  .founder-grid { grid-template-columns: 320px 1fr; gap: var(--space-xl); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — MOBILE (< 768px)
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --container-padding: 24px;
    --section-padding: 72px;
    --nav-height: 64px;
  }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .headline-line { font-size: clamp(44px, 13vw, 72px); }
  .hero-stats {
    padding: var(--space-sm) var(--container-padding);
    flex-wrap: wrap;
  }
  .stat-item { padding: 0 var(--space-md); }
  .stat-item:first-child { padding-left: 0; }
  .group-intro-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .pillars-grid { grid-template-columns: 1fr; }
  .companies-header { flex-direction: column; gap: var(--space-sm); }
  .companies-intro { max-width: 100%; }
  /* mobile: restore vertical card layout */
  .company-card { border-left: none; border-bottom: 1px solid var(--color-border); }
  .company-card-inner {
    display: flex;
    flex-direction: column;
    padding: var(--space-md);
    gap: 0;
  }
  .company-logo-area {
    height: auto;
    margin-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--space-sm);
  }
  .company-sector-tag { margin-top: var(--space-sm); }
  .company-name { margin-bottom: var(--space-sm); font-size: 20px; }
  .company-desc { margin-bottom: var(--space-sm); }
  .company-link-row { margin-top: var(--space-xs); }
  .projects-header { flex-direction: column; gap: var(--space-sm); }
  .projects-intro { max-width: 100%; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card-large { grid-column: auto; grid-row: auto; }
  .founder-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .portrait-frame { max-width: 260px; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal { align-items: flex-start; }
  .hero-scroll-cue { display: none; }
}

/* ============================================================
   NEWS — Listing & Article pages
   ============================================================ */

/* Page hero (shared across subpages) */
.page-hero {
  padding: calc(var(--nav-height) + 80px) 0 80px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.page-hero-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.page-hero-label .label-line {
  width: 32px;
  height: 1px;
  background: var(--color-accent);
  flex-shrink: 0;
}
.page-hero-label span:last-child {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}
.page-hero p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 560px;
}

/* News grid */
.news-section { background: var(--color-bg); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: var(--space-xl);
}
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}
.news-card:hover {
  border-color: rgba(200, 169, 110, 0.35);
  transform: translateY(-3px);
}
.news-card-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #0C0C0F;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
}
.news-card:hover .news-card-image img {
  transform: scale(1.04);
}
.news-card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-raised);
}
.news-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-xs);
}
.news-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}
.news-card-date {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.news-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: 2px 8px;
  border: 1px solid rgba(200, 169, 110, 0.25);
  border-radius: 2px;
}
.news-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-text);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-read-more {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* News featured card (first article, full-width) */
.news-card-featured {
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: 320px;
}
.news-card-featured .news-card-image {
  width: 50%;
  aspect-ratio: unset;
  flex-shrink: 0;
}
.news-card-featured .news-card-body {
  padding: var(--space-lg);
  justify-content: center;
}
.news-card-featured .news-card-title {
  font-size: 32px;
}

/* Article page */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
  margin-bottom: var(--space-lg);
}
.article-back:hover { color: var(--color-accent); }
.article-header {
  padding: calc(var(--nav-height) + 80px) 0 60px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.article-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: 3px 10px;
  border: 1px solid rgba(200, 169, 110, 0.3);
  border-radius: 2px;
}
.article-date {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.article-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  max-width: 800px;
  margin-bottom: var(--space-md);
}
.article-lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  max-width: 680px;
  font-style: italic;
}
.article-cover {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;
  margin: var(--space-xl) 0;
}
.article-body {
  max-width: 720px;
  padding: var(--space-xl) 0 var(--space-2xl);
}
.article-body p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--color-text);
  margin: var(--space-lg) 0 var(--space-sm);
}
.article-body blockquote {
  border-left: 2px solid var(--color-accent);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
}
.article-body blockquote p {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--color-text);
}
.article-footer {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Community page ── */
.community-item {
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-lg);
}
.community-item-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}
.community-item-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.2;
}
.community-item-body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
  max-width: 640px;
}
.community-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: 0.05em;
  margin-top: var(--space-xs);
  transition: opacity var(--duration-fast) var(--ease-out);
}
.community-link:hover { opacity: 0.7; }
.community-more {
  border-top: 1px solid var(--color-border);
  padding: var(--space-md) 0;
}
.community-more p {
  font-size: 14px;
  color: var(--color-text-muted);
  font-style: italic;
}
@media (max-width: 767px) {
  .community-item { grid-template-columns: 1fr; gap: var(--space-sm); }
}

/* Responsive news */
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .news-card-featured { flex-direction: column; }
  .news-card-featured .news-card-image { width: 100%; aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) {
  .news-grid { grid-template-columns: 1fr; gap: 16px; }
  .news-card-featured { grid-column: auto; }
  .article-title { font-size: clamp(28px, 8vw, 48px); }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-up { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
