:root {
  --ink: #0c0c0c;
  --ink-90: #1a1a1a;
  --ink-80: #2a2a2a;
  --ink-60: #5a5a5a;
  --ink-40: #8a8a8a;
  --paper: #e8e4d7;
  --paper-warm: #efe9d8;
  --paper-pale: #f3efe4;
  --oxide: #a13c1a;
  --oxide-dark: #7a2e16;
  --oxide-light: #c2572f;
  --blueprint: #1a4756;
  --steel: #7b828a;
  --graphite: #363a3d;
  --hairline: rgba(12, 12, 12, 0.16);
  --hairline-strong: rgba(12, 12, 12, 0.4);

  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-italic: 'Fraunces', serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --pad-x: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 14, 'wght' 400, 'SOFT' 30;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.45;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>");
  opacity: 0.06;
  mix-blend-mode: multiply;
  z-index: 9999;
}

/* Shared hatch pattern */
svg defs { display: block; }

.mono { font-family: var(--font-mono); }
.italic { font-family: var(--font-italic); font-style: italic; font-variation-settings: 'opsz' 144, 'wght' 400, 'SOFT' 60; }
.oxide { color: var(--oxide); }

/* Uniform italic accents — używane jako `em` w headingach: Fraunces italic z wysokim SOFT dla wyrazistej kursywy */
h1 em, h2 em, h3 em, .hero-slide h1 em, .hero-lede em,
.vp h3 em, .specimen h3 em, .catalog-intro h2 em,
.service h3 em, .realization h3 em, .story-body h3 em,
.pullquote, .cta h2 em, .ledger-row .number em,
.forsale-ribbon h3 em, .footer-brand .tagline {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'wght' 380, 'SOFT' 70;
}

/* ══════════ TOP TICKER ══════════ */
.ticker {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(232, 228, 215, 0.2);
  gap: 24px;
  flex-wrap: wrap;
}
.ticker-group { display: inline-flex; gap: 20px; align-items: center; }
.ticker-dot { width: 5px; height: 5px; background: var(--oxide); display: inline-block; }
.ticker-live::before {
  content: '●'; color: #4ade80; margin-right: 6px;
  animation: blink 2s infinite;
  font-size: 9px;
}
@keyframes blink { 50% { opacity: 0.35; } }
.ticker a.forsale {
  color: var(--oxide-light);
  text-decoration: none;
  border: 1px solid var(--oxide-dark);
  padding: 3px 10px;
  transition: all 0.2s;
}
.ticker a.forsale:hover { background: var(--oxide); color: var(--paper); }
.ticker a.forsale::after { content: ' →'; }

/* ══════════ MASTHEAD ══════════ */
.masthead {
  border-bottom: 1px solid var(--ink);
  padding: 18px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  background: var(--paper);
  flex-wrap: wrap;
}
.logomark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.logomark-svg {
  width: 36px; height: 36px;
  flex-shrink: 0;
}
.logomark-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}
.logomark .wordmark {
  font-variation-settings: 'opsz' 144, 'wght' 560, 'SOFT' 10;
  font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
}
.logomark .est {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60);
  line-height: 1.2;
}
.nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
.nav a,
.nav li > a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
  display: inline-block;
}
.nav a::after,
.nav li > a::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--oxide);
  transition: width 0.3s;
}
.nav a:hover,
.nav li > a:hover { color: var(--oxide); }
.nav a:hover::after,
.nav li > a:hover::after { width: 100%; }

/* CTA — na <a class="cta"> (fallback) lub <li class="cta"> (WP menu) */
.nav li.cta { margin-left: 6px; }
.nav a.cta,
.nav li.cta > a {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
}
.nav a.cta::after,
.nav li.cta > a::after { display: none; }
.nav a.cta:hover,
.nav li.cta > a:hover {
  background: var(--oxide);
  color: var(--paper);
}
.nav li.current-menu-item > a { color: var(--oxide); }

.header-meta { display: none; }

/* ══════════ HERO SLIDER ══════════ */
.hero-slider {
  position: relative;
  border-bottom: 1px solid var(--ink);
  background: var(--ink);
  overflow: hidden;
}
.hero-slider .swiper { width: 100%; height: clamp(540px, 78vh, 720px); }
.hero-slide {
  position: relative;
  display: grid;
  grid-template-columns: 6fr 6fr;
  height: 100%;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

/* Left content */
.hero-content {
  padding: clamp(48px, 6vw, 88px) clamp(36px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxide-light);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--oxide-light);
}

.hero-slide h1 {
  font-variation-settings: 'opsz' 144, 'wght' 420, 'SOFT' 10;
  font-size: clamp(44px, 5.8vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 28px 0 28px;
  color: var(--paper);
  max-width: 14ch;
}
.hero-slide h1 em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--oxide-light);
}

.hero-lede {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(232, 228, 215, 0.78);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(232, 228, 215, 0.6);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-stats div strong {
  display: block;
  color: var(--paper);
  font-size: 15px;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 72, 'wght' 500;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--oxide);
  color: var(--paper);
  padding: 18px 34px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  align-self: flex-start;
  border: none;
  cursor: pointer;
}
.hero-cta:hover {
  background: var(--oxide-dark);
  letter-spacing: 0.16em;
}
.hero-cta::after {
  content: '→';
  transition: transform 0.3s;
  font-size: 14px;
}
.hero-cta:hover::after { transform: translateX(5px); }

/* Right visual */
.hero-visual {
  position: relative;
  border-left: 1px solid rgba(232, 228, 215, 0.14);
  overflow: hidden;
  background: var(--graphite);
}
.hero-visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.72;
  filter: grayscale(0.25) contrast(1.1);
}
.hero-visual-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(12,12,12,0.6) 0%, rgba(12,12,12,0.15) 50%, rgba(161,60,26,0.18) 100%);
}
.hero-visual-tag {
  position: absolute;
  bottom: 28px; right: 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  padding: 8px 14px;
  border: 1px solid var(--oxide);
  z-index: 3;
}
.hero-visual-tag strong { color: var(--oxide-light); font-weight: 500; }

.hero-index {
  position: absolute;
  top: 28px; right: 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232, 228, 215, 0.6);
  z-index: 3;
}
.hero-index strong { color: var(--oxide-light); }

/* Big SVG visual per slide */
.hero-svg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}
.hero-svg svg {
  width: 82%;
  height: 82%;
  max-width: 560px;
  max-height: 560px;
  opacity: 0.85;
}

/* Slide 1: I-beam */
.slide-1 .hero-visual-bg {
  background: radial-gradient(ellipse at 30% 40%, #363a3d 0%, #1a1d1f 60%, #0c0c0c 100%);
}
/* Slide 2: cutting sparks */
.slide-2 .hero-visual-bg {
  background: radial-gradient(ellipse at 70% 60%, #7a2e16 0%, #2a1a12 40%, #0c0c0c 100%);
}
/* Slide 3: stainless */
.slide-3 .hero-visual-bg {
  background: linear-gradient(135deg, #2a3a42 0%, #1a4756 50%, #0c2228 100%);
}
/* Slide 4: hardox */
.slide-4 .hero-visual-bg {
  background: linear-gradient(160deg, #1a1d1f 0%, #3a3430 50%, #2a1a0e 100%);
}
/* Slide 5: forsale */
.slide-5 .hero-visual-bg {
  background: linear-gradient(135deg, #0c0c0c 0%, #3a1a0e 40%, #7a2e16 100%);
}

/* Swiper nav */
.hero-slider .swiper-pagination {
  bottom: 30px !important;
  left: clamp(36px, 4vw, 64px) !important;
  right: auto !important;
  width: auto !important;
  text-align: left;
}
.hero-slider .swiper-pagination-bullet {
  width: 28px; height: 2px;
  background: rgba(232, 228, 215, 0.3);
  border-radius: 0;
  margin: 0 5px 0 0 !important;
  opacity: 1;
  transition: background 0.3s, width 0.3s;
}
.hero-slider .swiper-pagination-bullet-active {
  background: var(--oxide-light);
  width: 56px;
}
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  color: var(--paper);
  width: 44px; height: 44px;
  top: auto; bottom: 24px;
  border: 1px solid rgba(232, 228, 215, 0.3);
  transition: all 0.2s;
  margin-top: 0;
}
.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after { font-size: 14px; font-weight: 700; }
.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover { border-color: var(--oxide); background: var(--oxide); }
.hero-slider .swiper-button-prev { right: 80px; left: auto; }
.hero-slider .swiper-button-next { right: 28px; }

/* Slide counter */
.slide-counter {
  position: absolute;
  top: clamp(36px, 5vw, 56px);
  right: calc(50% + 28px);
  z-index: 10;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--paper);
}
.slide-counter strong {
  color: var(--oxide-light);
  font-size: 32px;
  display: block;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 400;
  line-height: 1;
  margin-bottom: 4px;
}

/* ══════════ VALUE PROPS ══════════ */
.valueprops {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}
.vp {
  padding: 36px var(--pad-x);
  border-right: 1px solid var(--hairline);
  position: relative;
}
.vp:last-child { border-right: none; }
.vp-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--oxide);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.vp h3 {
  font-variation-settings: 'opsz' 72, 'wght' 440, 'SOFT' 20;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  line-height: 1.15;
}
.vp h3 em { font-family: var(--font-italic); font-style: italic; }
.vp p {
  font-size: 13px;
  color: var(--ink-60);
  line-height: 1.55;
}

/* ══════════ SPECIMENS ══════════ */
.specimens-section {
  padding: clamp(56px, 8vw, 96px) var(--pad-x) 0;
  border-bottom: 1px solid var(--ink);
}
.section-header {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.section-header .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--oxide);
  margin-bottom: 16px;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.section-header .eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--oxide);
}
.section-header h2 {
  font-variation-settings: 'opsz' 144, 'wght' 380, 'SOFT' 20;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.section-header h2 em {
  font-family: var(--font-italic);
  color: var(--oxide);
}
.section-header .descriptor {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-80);
  max-width: 52ch;
  padding-bottom: 8px;
}

.specimens {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  margin: 0 calc(-1 * var(--pad-x));
}
.specimen {
  padding: 40px var(--pad-x);
  border-right: 1px solid var(--hairline);
  position: relative;
  cursor: pointer;
  transition: background 0.35s;
}
.specimen:last-child { border-right: none; }
.specimen:hover { background: var(--paper-warm); }
.specimen-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--oxide);
  margin-bottom: 12px;
}
.specimen h3 {
  font-variation-settings: 'opsz' 72, 'wght' 440, 'SOFT' 20;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.08;
}
.specimen h3 em { font-family: var(--font-italic); font-style: italic; color: var(--oxide); }
.specimen .grades {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-60);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.specimen .diagram {
  height: 88px;
  margin: 24px 0 28px;
  display: flex;
  align-items: center;
}
.specimen .diagram svg { width: 100%; height: 100%; }
.specimen .stock {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-60);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--hairline);
  padding-top: 14px;
  letter-spacing: 0.04em;
}
.specimen .stock strong {
  color: var(--ink);
  font-weight: 500;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 72, 'wght' 500;
  font-size: 15px;
}

/* ══════════ LEDGER ══════════ */
.ledger {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(64px, 8vw, 120px) var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px;
  position: relative;
  overflow: hidden;
}
.ledger::before {
  content: '';
  position: absolute;
  left: var(--pad-x); right: var(--pad-x);
  top: 50%;
  height: 1px;
  background: rgba(232, 228, 215, 0.08);
}
.ledger-row { position: relative; z-index: 2; }
.ledger-row .topline {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232, 228, 215, 0.4);
  padding-bottom: 16px;
  border-top: 1px solid rgba(232, 228, 215, 0.3);
  padding-top: 14px;
}
.ledger-row .number {
  font-variation-settings: 'opsz' 144, 'wght' 340, 'SOFT' 40;
  font-size: clamp(64px, 9vw, 140px);
  line-height: 0.88;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
}
.ledger-row .number em {
  font-family: var(--font-italic);
  color: var(--oxide-light);
  font-size: 0.4em;
  font-style: italic;
  margin-left: 8px;
  font-weight: 400;
}
.ledger-row .label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 228, 215, 0.6);
  max-width: 22ch;
}

/* ══════════ CATALOG ══════════ */
.catalog {
  padding: clamp(72px, 10vw, 140px) var(--pad-x);
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(48px, 6vw, 96px);
  border-bottom: 1px solid var(--ink);
  background: var(--paper-pale);
}
.catalog-intro .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--oxide);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.catalog-intro h2 {
  font-variation-settings: 'opsz' 144, 'wght' 380, 'SOFT' 20;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  max-width: 14ch;
}
.catalog-intro h2 em { font-family: var(--font-italic); color: var(--oxide); }
.catalog-intro .lede {
  font-size: 16px;
  color: var(--ink-80);
  line-height: 1.65;
  max-width: 40ch;
  margin-bottom: 36px;
}
.catalog-intro-meta {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-60);
  text-transform: uppercase;
}
.catalog-intro-meta div strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 72, 'wght' 500;
  font-size: 18px;
  margin-bottom: 4px;
}

.catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  padding: 15px 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}
.catalog-btn:hover { background: var(--oxide); letter-spacing: 0.16em; }
.catalog-btn::after { content: '↓'; transition: transform 0.3s; }
.catalog-btn:hover::after { transform: translateY(3px); }

.catalog-table { border-top: 1px solid var(--ink); }
.catalog-row {
  display: grid;
  grid-template-columns: 64px 1.5fr 2fr 1fr 40px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
  gap: 24px;
  cursor: pointer;
  transition: padding 0.3s, background 0.3s;
}
.catalog-row:hover {
  padding-left: 20px;
  background: rgba(161, 60, 26, 0.05);
}
.catalog-row .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-60);
  letter-spacing: 0.06em;
}
.catalog-row .title {
  font-size: 24px;
  font-variation-settings: 'opsz' 72, 'wght' 440, 'SOFT' 10;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.catalog-row .kind {
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--ink-60);
  font-size: 16px;
}
.catalog-row .price {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--oxide);
  letter-spacing: 0.08em;
  text-align: right;
}
.catalog-row .arrow {
  font-family: var(--font-mono);
  color: var(--ink-40);
  text-align: right;
  transition: transform 0.3s, color 0.3s;
}
.catalog-row:hover .arrow { color: var(--oxide); transform: translateX(4px); }

/* ══════════ SERVICES ══════════ */
.services {
  padding: clamp(72px, 10vw, 120px) var(--pad-x);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  margin-top: 48px;
  border: 1px solid var(--ink);
}
.service {
  background: var(--paper);
  padding: 40px 32px;
  position: relative;
  transition: background 0.3s;
}
.service:hover { background: var(--paper-warm); }
.service-num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--oxide);
  letter-spacing: 0.08em;
}
.service h3 {
  font-variation-settings: 'opsz' 72, 'wght' 440;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  margin-top: 32px;
  line-height: 1.1;
}
.service h3 em { font-family: var(--font-italic); color: var(--oxide); }
.service p {
  font-size: 14px;
  color: var(--ink-80);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 38ch;
}
.service-specs {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-60);
  letter-spacing: 0.04em;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}
.service-specs span strong { color: var(--ink); font-weight: 500; }

/* ══════════ REALIZACJE ══════════ */
.realizations {
  padding: clamp(72px, 10vw, 120px) var(--pad-x);
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--paper);
}
.realizations .section-header h2 { color: var(--paper); }
.realizations .section-header h2 em { color: var(--oxide-light); }
.realizations .section-header .eyebrow { color: var(--oxide-light); }
.realizations .section-header .eyebrow::before { background: var(--oxide-light); }
.realizations .section-header .descriptor { color: rgba(232, 228, 215, 0.7); }
.realizations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 24px;
}
.realization {
  background: var(--graphite);
  padding: 36px 32px 32px;
  border: 1px solid rgba(232, 228, 215, 0.12);
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
  cursor: pointer;
}
.realization:hover { border-color: var(--oxide); transform: translateY(-4px); }
.realization .meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--oxide-light);
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
}
.realization h3 {
  font-variation-settings: 'opsz' 72, 'wght' 420, 'SOFT' 20;
  font-size: 26px;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.realization h3 em { font-family: var(--font-italic); color: var(--oxide-light); }
.realization p {
  font-size: 13px;
  color: rgba(232, 228, 215, 0.7);
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 34ch;
}
.realization-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(232, 228, 215, 0.12);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(232, 228, 215, 0.5);
  text-transform: uppercase;
}
.realization-specs div strong {
  display: block;
  color: var(--paper);
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 72, 'wght' 500;
  font-size: 14px;
  margin-top: 3px;
  letter-spacing: -0.01em;
  text-transform: none;
}

/* ══════════ CERTIFICATES ══════════ */
.certs {
  padding: 64px var(--pad-x);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}
.certs-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.certs-label strong { color: var(--ink); display: block; margin-bottom: 4px; font-size: 14px; }
.certs-list {
  display: flex;
  gap: 56px;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 72, 'wght' 440;
  font-size: 19px;
  flex-wrap: wrap;
}
.certs-list span {
  color: var(--ink-80);
  letter-spacing: -0.01em;
  position: relative;
  padding: 6px 0;
}
.certs-list span::before {
  content: '✓';
  color: var(--oxide);
  margin-right: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
}

/* ══════════ STORY ══════════ */
.story {
  padding: clamp(96px, 12vw, 160px) var(--pad-x);
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(48px, 6vw, 96px);
  background: var(--paper-warm);
  border-bottom: 1px solid var(--ink);
  position: relative;
}
.story-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-60);
  position: sticky;
  top: 40px;
  align-self: start;
  line-height: 1.7;
}
.story-meta strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
  font-weight: 500;
  font-size: 12px;
}
.story-meta .divider {
  border-top: 1px solid var(--hairline);
  margin: 20px 0;
  padding: 0;
}

.story-body h3 {
  font-variation-settings: 'opsz' 144, 'wght' 380, 'SOFT' 30;
  font-size: clamp(40px, 5vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin-bottom: 48px;
  max-width: 16ch;
}
.story-body h3 em {
  font-family: var(--font-italic);
  color: var(--oxide);
}
.story-body p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 58ch;
  color: var(--ink-80);
}
.story-body .dropcap::first-letter {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 144, 'wght' 380, 'SOFT' 30;
  font-size: 4.4em;
  float: left;
  line-height: 0.82;
  margin-right: 10px;
  margin-top: 6px;
  color: var(--oxide);
}
.story-body .pullquote {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.2;
  color: var(--ink);
  margin: 56px 0;
  padding: 28px 0 28px 40px;
  border-left: 3px solid var(--oxide);
  max-width: 28ch;
}

/* ══════════ CTA ══════════ */
.cta {
  padding: clamp(96px, 12vw, 160px) var(--pad-x);
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: 'HS';
  position: absolute;
  right: -60px;
  bottom: -140px;
  font-size: clamp(280px, 40vw, 520px);
  font-variation-settings: 'opsz' 144, 'wght' 250, 'SOFT' 0;
  color: rgba(232, 228, 215, 0.04);
  line-height: 0.8;
  pointer-events: none;
  font-family: var(--font-display);
}
.cta .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxide-light);
  margin-bottom: 32px;
  position: relative; z-index: 2;
}
.cta h2 {
  font-variation-settings: 'opsz' 144, 'wght' 380, 'SOFT' 30;
  font-size: clamp(44px, 6vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 18ch;
  margin: 0 auto 48px;
  position: relative; z-index: 2;
}
.cta h2 em {
  font-family: var(--font-italic);
  color: var(--oxide-light);
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative; z-index: 2;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--oxide);
  color: var(--paper);
  padding: 20px 40px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid var(--oxide);
  cursor: pointer;
}
.btn-primary:hover { background: var(--oxide-dark); letter-spacing: 0.16em; }
.btn-primary::after { content: '→'; transition: transform 0.3s; }
.btn-primary:hover::after { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--paper);
  padding: 20px 40px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(232, 228, 215, 0.3);
  transition: all 0.3s;
}
.btn-ghost:hover { border-color: var(--paper); background: rgba(232, 228, 215, 0.05); }

.cta-phone {
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(232, 228, 215, 0.5);
  letter-spacing: 0.08em;
  position: relative; z-index: 2;
  text-transform: uppercase;
}
.cta-phone strong {
  color: var(--paper);
  font-weight: 500;
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 72, 'wght' 450;
  font-size: 22px;
  letter-spacing: -0.01em;
  display: block;
  margin-top: 6px;
  text-transform: none;
}

/* ══════════ FORSALE RIBBON ══════════ */
.forsale-ribbon {
  background: var(--oxide);
  color: var(--paper);
  padding: 28px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}
.forsale-ribbon h3 {
  font-variation-settings: 'opsz' 72, 'wght' 420, 'SOFT' 20;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 44ch;
}
.forsale-ribbon h3 em {
  font-family: var(--font-italic);
  font-style: italic;
  color: rgba(232, 228, 215, 0.85);
}
.forsale-ribbon .btn-ribbon {
  background: var(--ink);
  color: var(--paper);
  padding: 16px 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s;
}
.forsale-ribbon .btn-ribbon:hover { background: var(--paper); color: var(--ink); }
.forsale-ribbon .btn-ribbon::after { content: ' →'; }

/* ══════════ FOOTER ══════════ */
.footer {
  padding: 72px var(--pad-x) 40px;
  background: var(--paper);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 56px);
  font-size: 13px;
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
  font-weight: 500;
}
.footer ul { list-style: none; }
.footer li {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
}
.footer a { color: var(--ink); text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--oxide); }

.footer-brand .wordmark {
  font-variation-settings: 'opsz' 144, 'wght' 560, 'SOFT' 10;
  font-size: 32px;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  line-height: 0.9;
}
.footer-brand .tagline {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 16px;
  color: var(--oxide);
  margin-bottom: 16px;
}
.footer-brand p {
  max-width: 36ch;
  line-height: 1.65;
  color: var(--ink-80);
  font-size: 13px;
}

.footer-end {
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-60);
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 16px;
}

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 1100px) {
  .specimens, .services-grid, .realizations-grid, .valueprops, .ledger, .footer { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .hero-slide { grid-template-columns: 1fr; }
  .hero-visual { border-left: none; border-top: 1px solid rgba(232, 228, 215, 0.14); min-height: 200px; }
  .slide-counter { display: none; }
  .section-header, .catalog, .story, .certs { grid-template-columns: 1fr; gap: 32px; }
  .catalog-row { grid-template-columns: 40px 1fr auto; }
  .catalog-row .kind, .catalog-row .arrow { display: none; }
}
@media (max-width: 700px) {
  .masthead { grid-template-columns: 1fr; gap: 20px; text-align: left; }
  .masthead .header-meta { text-align: left; }
  .nav { flex-wrap: wrap; gap: 18px; justify-self: start; }
  .specimens, .services-grid, .realizations-grid, .valueprops, .ledger { grid-template-columns: 1fr; }
  .ticker { justify-content: flex-start; }
  .hero-slider .swiper { height: auto; min-height: 600px; }
  .hero-slide { grid-template-rows: auto 280px; }
  .forsale-ribbon { grid-template-columns: 1fr; }
  .certs-list { gap: 20px; font-size: 16px; }
}

/* ══════════ REVEAL ANIMATION ══════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
