/*
  KEBO Design — Home v14 PL
  Najważniejsza zmiana: uproszczony hero 50/50, większa czytelność i nowe logo.
*/
:root {
  /* RUCH TŁA HERO: mniejsza liczba sekund = szybsza animacja.
     Zmień te 2 wartości i odśwież stronę, aby porównać tempo. */
  --hero-glow-duration: 14s;       /* zapasowa wartość dla subtelnych efektów CSS */
  --hero-background-duration: 16s; /* czas ruchu gradientu tła hero */
  --bg: #f7f6f4;
  --paper: #ffffff;
  --ink: #2f3947;
  --muted: #5e6772;
  --line: rgba(47, 57, 71, 0.13);
  --dark: #2f3947;
  --dark-2: #3a4656;
  --green: #98bf45;
  --green-soft: rgba(152, 191, 69, 0.21);
  --green-faint: rgba(152, 191, 69, 0.08);
  --radius: 28px;
  --shadow: 0 24px 70px rgba(47, 57, 71, .10);
  --sans: "General Sans", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; width: 100%; max-width: 100%; overflow-x: clip; }
body { margin: 0; position: relative; width: 100%; max-width: 100%; overflow-x: clip; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.shell { width: min(1400px, calc(100% - 72px)); margin-inline: auto; }
.page-glow {
  position: absolute;
  width: 1040px;
  height: 900px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(86px);
  opacity: .68;
  z-index: 0;
}
.page-glow--top {
  top: 10px;
  right: -260px;
  background: radial-gradient(circle at 46% 42%, rgba(152,191,69,.25) 0%, rgba(152,191,69,.12) 30%, rgba(152,191,69,.04) 54%, transparent 74%);
}

.site-header { padding-top: 24px; position: relative; z-index: 20; }
main {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
@supports not (overflow: clip) {
  main { overflow-x: hidden; }
}
.nav-pill {
  min-height: 64px;
  padding: 8px 12px 8px 22px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.80);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(20,20,20,.06);
  overflow: visible;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 750;
  width: max-content;
  position: relative;
  overflow: visible;
}
.brand-logo-wrap {
  position: relative;
  width: 66px;
  height: 48px;
  flex: 0 0 66px;
  overflow: visible;
}
.brand-logo {
  position: absolute;
  width: 62px;
  height: auto;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 20px;
  letter-spacing: -.04em;
}
.brand-wordmark__kebo { color: var(--ink); font-weight: 500; }
.brand-wordmark__design { color: var(--green); font-weight: 500; }
.nav-links {
  display: flex;
  gap: 34px;
  color: #55606d;
  font-size: 16px;
  font-weight: 620;
  justify-self: center;
}
.nav-links a:hover { color: var(--ink); }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--small { min-height: 48px; padding-inline: 22px; }
.button--dark { color: white; background: var(--ink); box-shadow: 0 8px 25px rgba(47,57,71,.14); }
.button--dark::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.button--outline { border: 1px solid rgba(47,57,71,.28); background: rgba(255,255,255,.58); }

.hero {
  position: relative;
  z-index: 2;
  padding-block: 42px 28px;
}
.hero::after {
  content: "";
  position: absolute;
  width: 760px;
  height: 520px;
  left: -330px;
  bottom: -245px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(152,191,69,.22) 0%, rgba(152,191,69,.10) 34%, rgba(152,191,69,.035) 58%, transparent 74%);
  filter: blur(68px);
  pointer-events: none;
  z-index: -1;
}
.hero-stage {
  position: relative;
  min-height: clamp(620px, 48vw, 700px);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.68) 0%, rgba(246,245,242,.98) 42%, rgba(238,242,232,.98) 100%);
  background-size: 138% 138%;
  animation: heroBackgroundDrift var(--hero-background-duration) ease-in-out infinite alternate;
  border: 1px solid rgba(255,255,255,.68);
  box-shadow: 0 24px 70px rgba(47,57,71,.12), 0 10px 24px rgba(47,57,71,.08);
  overflow: hidden;
  isolation: isolate;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 55%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(247,246,244,.94) 0%,
    rgba(247,246,244,.90) 47%,
    rgba(247,246,244,.54) 68%,
    rgba(247,246,244,.16) 83%,
    rgba(247,246,244,0) 100%
  );
}
.hero-stage::after {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  right: -120px;
  top: -220px;
  z-index: 0;
  background: radial-gradient(circle, rgba(152,191,69,.12), rgba(152,191,69,.05) 48%, transparent 76%);
  filter: blur(30px);
  pointer-events: none;
}
.hero-bounce-glow {
  position: absolute;
  left: 0;
  top: 0;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  opacity: .96;
  background: radial-gradient(circle at 50% 50%, rgba(152,191,69,.33) 0%, rgba(152,191,69,.20) 26%, rgba(152,191,69,.10) 50%, rgba(152,191,69,.04) 64%, transparent 78%);
  filter: blur(46px);
  transform: translate3d(0,0,0) scale(1);
  will-change: transform, opacity;
}
.hero-art {
  position: absolute;
  top: 7.5%;
  right: 0;
  width: min(56%, 980px);
  height: auto;
  z-index: 3;
  user-select: none;
  pointer-events: none;
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  transition: opacity .9s ease, transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.hero-art.is-changing {
  opacity: 0;
  transform: translate3d(10px,4px,0) scale(.992);
}
.hero-copy {
  position: relative;
  z-index: 4;
  width: 50%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 5.2vw, 78px) clamp(40px, 4.9vw, 66px);
}
.eyebrow {
  margin: 0 0 24px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #62645f;
}
.eyebrow--light { color: #a5a8a3; }
.hero-brand {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-size: clamp(86px, 8.4vw, 144px);
  line-height: .82;
  letter-spacing: -.07em;
  font-weight: 760;
}
.hero-brand__line { display: block; }
.hero-brand__line--primary { color: var(--ink); }
.hero-brand__line--accent { color: var(--green); }
.hero h2 {
  margin: 30px 0 16px;
  max-width: 620px;
  font-size: clamp(38px, 3.6vw, 60px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 640;
}
.hero-lead {
  max-width: 590px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.hero-scene-meta {
  position: absolute;
  right: clamp(26px, 3.4vw, 52px);
  bottom: clamp(22px, 2.8vw, 38px);
  z-index: 5;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 16px;
  max-width: 48%;
  text-align: right;
}
.hero-scene-index {
  font-family: var(--mono);
  font-size: clamp(42px, 4.3vw, 68px);
  line-height: .82;
  letter-spacing: -.045em;
  color: var(--green);
  text-shadow: 0 2px 10px rgba(47,57,71,.08);
}
.hero-scene-name {
  max-width: 330px;
  font-family: var(--mono);
  font-size: clamp(13px, calc(1vw + 2px), 16px);
  line-height: 1.22;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #6e7885;
  text-shadow: 0 1px 8px rgba(247,246,244,.86);
}
.hero-scene-index,
.hero-scene-name {
  transition: opacity .55s ease, transform .65s ease;
}
.hero-scene-index.is-changing,
.hero-scene-name.is-changing {
  opacity: 0;
  transform: translateY(6px);
}


/* Logo w stopce pozostaje mniejsze i nie wychodzi poza swój wiersz. */
.brand--footer { gap: 12px; }
.brand-logo-wrap--footer { width: 38px; height: 34px; flex-basis: 38px; }
.brand-logo--footer { width: 34px; left: 0; top: 50%; transform: translateY(-50%); }

.support-band {
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: white;
  padding: 120px 0;
  background:
    radial-gradient(circle at -5% 2%, rgba(152,191,69,.20) 0%, rgba(152,191,69,.085) 20%, rgba(152,191,69,.025) 38%, transparent 56%),
    var(--dark);
}
.support-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(60px, 9vw, 150px); align-items: start; }
.section-intro h2, .workflow-copy h2, .capabilities-copy h2, .insights-head h2 { margin: 0; font-size: clamp(48px, 5.4vw, 88px); line-height: .98; letter-spacing: -.058em; font-weight: 650; }
.section-intro > p:last-child, .workflow-copy > p:last-child, .capabilities-copy > p:last-child { color: #777a75; font-size: 18px; line-height: 1.6; }
.support-band .section-intro > p:last-child { color: #9d9f9b; }
.service-list { border-top: 1px solid rgba(255,255,255,.16); }
.service-row { display: grid; grid-template-columns: 44px minmax(180px,.9fr) 1fr 24px; gap: 20px; align-items: center; min-height: 104px; border-bottom: 1px solid rgba(255,255,255,.16); transition: padding .22s ease, color .22s ease; }
.service-row:hover { padding-left: 10px; color: var(--green); }
.service-row strong { font-size: 22px; letter-spacing: -.025em; }
.service-row > span:nth-child(3) { color: #9b9e98; }
.service-no { font-family: var(--mono); color: var(--green); font-size: 13px; }
.service-row b { font-size: 18px; font-weight: 400; }

.workflow-section { padding-block: 145px; display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; }
.workflow-copy { position: sticky; top: 120px; align-self: start; }
.workflow-copy h2 { font-size: clamp(48px, 5vw, 76px); }
.workflow-track { position: relative; display: grid; gap: 14px; }
.flow-line { position: absolute; left: 24px; top: 58px; bottom: 58px; width: 1px; background: rgba(0,0,0,.16); overflow: hidden; }
.flow-pulse { position: absolute; left: -2px; width: 5px; height: 70px; border-radius: 10px; background: linear-gradient(to bottom, transparent, var(--green), transparent); animation: flowPulse 5.8s linear infinite; }
@keyframes flowPulse { from { transform: translateY(-80px); } to { transform: translateY(640px); } }
.flow-step { position: relative; padding: 28px 26px 28px 74px; min-height: 112px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.58); backdrop-filter: blur(8px); }
.flow-step::before { content: ""; position: absolute; left: 18px; top: 42px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1px solid #999; z-index: 1; }
.flow-step.is-active::before { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 7px var(--green-faint); }
.flow-step span { font-family: var(--mono); color: var(--green); font-size: 12px; }
.flow-step strong { display: block; margin: 8px 0 4px; font-size: 22px; }
.flow-step p { margin: 0; color: var(--muted); }

.capabilities-section {
  padding-block: 135px;
  background:
    linear-gradient(
      to bottom,
      #eeede9 0%,
      #eeede9 calc(100% - 260px),
      #f2f1ee calc(100% - 150px),
      var(--bg) 100%
    );
}
.capabilities-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 110px; align-items: start; }
.capabilities-copy { position: sticky; top: 120px; }
.capabilities-copy h2 { font-size: clamp(50px, 5.4vw, 82px); }
.capability-stack { display: grid; gap: 14px; }
.capability-card { background: white; border-radius: 24px; padding: 34px; min-height: 190px; box-shadow: 0 12px 36px rgba(25,25,25,.05); border: 1px solid rgba(0,0,0,.05); }
.capability-card span, .insight-card span { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--green); }
.capability-card h3 { margin: 36px 0 10px; font-size: 28px; letter-spacing: -.035em; }
.capability-card p { margin: 0; color: var(--muted); line-height: 1.55; }

.why-section { padding-block: 140px; }
.why-section .section-intro { max-width: 910px; margin-bottom: 65px; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.why-card { min-height: 190px; padding: 28px; background: white; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(10,10,10,.035); }
.why-card span { font-family: var(--mono); color: var(--green); font-size: 12px; }
.why-card p { margin: 68px 0 0; max-width: 270px; font-size: 20px; font-weight: 650; line-height: 1.12; letter-spacing: -.025em; }

.insights-section { background: var(--dark); color: white; padding-block: 130px; }
.insights-head { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; margin-bottom: 56px; }
.insights-head h2 { max-width: 920px; }
.text-link { color: var(--green); white-space: nowrap; }
.insights-grid { display: grid; grid-template-columns: 1.3fr .85fr .85fr; gap: 14px; }
.insight-card { min-height: 360px; padding: 30px; border-radius: 24px; background: var(--dark-2); border: 1px solid rgba(255,255,255,.09); display: flex; flex-direction: column; }
.insight-card--featured { background: #f4f3ef; color: var(--ink); }
.insight-card h3 { margin: 54px 0 14px; font-size: 34px; letter-spacing: -.04em; line-height: 1; }
.insight-card p { color: #aaa; line-height: 1.55; }
.insight-card--featured p { color: #666; }
.insight-card a { margin-top: auto; color: var(--green); font-weight: 700; }

.contact-section { padding-block: 120px; }
.contact-panel { position: relative; overflow: hidden; min-height: 450px; padding: clamp(38px,5vw,78px); border-radius: 34px; border: 1px solid var(--line); background: white; display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; box-shadow: 0 24px 70px rgba(25,25,25,.07); }
.contact-panel::after { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; right: -120px; top: -260px; background: radial-gradient(circle, rgba(152,191,69,.34), rgba(152,191,69,.06) 45%, transparent 68%); filter: blur(20px); }
.contact-panel > * { position: relative; z-index: 1; }
.contact-panel h2 { margin: 0; max-width: 900px; font-size: clamp(52px,6vw,96px); line-height: .93; letter-spacing: -.06em; }
.contact-actions { display: grid; gap: 20px; justify-items: start; }
.contact-actions p { margin: 0; color: var(--muted); line-height: 1.5; max-width: 340px; }

.footer { min-height: 110px; display: grid; grid-template-columns: 1fr auto auto; gap: 40px; align-items: center; color: #676965; font-size: 15px; border-top: 1px solid var(--line); }
.footer .brand { color: var(--ink); }
.brand--footer { gap: 12px; }
.brand-logo-wrap--footer { width: 38px; height: 34px; flex-basis: 38px; }
.brand-logo--footer { width: 34px; left: 0; top: 50%; transform: translateY(-50%); }



/* ---------------------------------------------------------
   SECTION GLOW BRIDGES
   Poświaty łączą kolejne sekcje naprzemiennie: prawa/lewa.
   Każdy glow zaczyna się nad kolejną sekcją i w nią wchodzi.
   --------------------------------------------------------- */
.workflow-section,
.capabilities-section,
.why-section,
.insights-section,
.contact-section,
.footer {
  position: relative;
  isolation: isolate;
}

.workflow-section > *,
.capabilities-section > *,
.why-section > *,
.insights-section > *,
.contact-section > *,
.footer > * {
  position: relative;
  z-index: 2;
}

.workflow-section::before,
.capabilities-section::before,
.why-section::before,
.insights-section::before,
.contact-section::before,
.footer::before {
  content: "";
  position: absolute;
  width: 940px;
  height: 680px;
  top: -320px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(76px);
  opacity: .90;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(152,191,69,.34) 0%,
    rgba(152,191,69,.18) 29%,
    rgba(152,191,69,.065) 52%,
    transparent 74%
  );
}

/* Jak rozszerzamy -> Proces produkcyjny: po prawej */
.workflow-section::before {
  right: -430px;
}

/* Proces produkcyjny -> Kompetencje produkcyjne: po lewej */
.capabilities-section::before {
  left: -430px;
}

/* Kompetencje produkcyjne -> Dlaczego KEBO: po prawej */
.why-section::before {
  right: -430px;
  top: -390px;
  width: 1040px;
  height: 780px;
  filter: blur(92px);
  opacity: .80;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(152,191,69,.27) 0%,
    rgba(152,191,69,.14) 30%,
    rgba(152,191,69,.05) 54%,
    transparent 78%
  );
}

/* Dlaczego KEBO -> Wiedza: po lewej */
.insights-section::before {
  left: -430px;
}

/* Wiedza -> Kontakt: po prawej */
.contact-section::before {
  right: -430px;
}

/* Kontakt -> stopka: po lewej, już znacznie delikatniej */
.footer::before {
  left: -470px;
  top: -300px;
  width: 1040px;
  height: 760px;
  filter: blur(94px);
  opacity: .46;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(152,191,69,.24) 0%,
    rgba(152,191,69,.11) 34%,
    rgba(152,191,69,.035) 58%,
    transparent 80%
  );
}

/* Na ciemnych sekcjach poświata jest odrobinę bardziej miękka. */
.insights-section::before {
  opacity: .78;
}

/* Wewnętrzna poświata kontaktu jest teraz subtelniejsza,
   żeby nie konkurowała z mostem między sekcjami. */
.contact-panel::after {
  opacity: .62;
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .shell { width: min(calc(100% - 40px), 1100px); }

  .workflow-section::before,
  .capabilities-section::before,
  .why-section::before,
  .insights-section::before,
  .contact-section::before,
  .footer::before {
    width: 780px;
    height: 580px;
    top: -275px;
    filter: blur(72px);
    opacity: .76;
  }
.workflow-section::before,
  .why-section::before,
  .contact-section::before { right: -390px; }
  .capabilities-section::before,
  .insights-section::before,
  .footer::before { left: -390px; }

  .nav-pill { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero-stage { min-height: 620px; }
  .hero-copy { width: 58%; }
  .hero-stage::before { width: 66%; }
  .hero-art { width: min(72%, 780px); top: 12%; right: 0; }
  .support-grid, .workflow-section, .capabilities-grid { grid-template-columns: 1fr; gap: 58px; }
  .workflow-copy, .capabilities-copy { position: static; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .insight-card--featured { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  html, body { width: 100%; max-width: 100%; overflow-x: clip; }
  body { overscroll-behavior-x: none; }
  main { width: 100%; max-width: 100%; overflow-x: clip; }
  .shell { width: min(calc(100% - 28px), 680px); max-width: calc(100% - 28px); }
.page-glow { opacity: .52; }
  .workflow-section::before,
  .capabilities-section::before,
  .why-section::before,
  .insights-section::before,
  .contact-section::before,
  .footer::before {
    width: 620px;
    height: 470px;
    top: -220px;
    filter: blur(62px);
    opacity: .70;
    background: radial-gradient(
      circle at 50% 50%,
      rgba(152,191,69,.38) 0%,
      rgba(152,191,69,.20) 28%,
      rgba(152,191,69,.075) 52%,
      transparent 73%
    );
  }
.workflow-section::before,
  .why-section::before,
  .contact-section::before { right: -330px; }
  .capabilities-section::before,
  .insights-section::before,
  .footer::before { left: -330px; }

  .site-header { padding-top: 10px; }
  .page-glow { width: 620px; height: 640px; filter: blur(70px); opacity: .82; }
  .page-glow--top { top: 70px; right: -330px; }
  .hero::after { width: 520px; height: 360px; left: -260px; bottom: -180px; filter: blur(58px); }
  .nav-pill { min-height: 58px; padding: 7px 8px 7px 14px; gap: 14px; }
  .brand { gap: 10px; }
  .brand-logo-wrap { width: 50px; height: 36px; flex-basis: 50px; }
  .brand-logo { width: 48px; left: 0; top: 50%; transform: translateY(-50%); }
  .brand-wordmark { font-size: 18px; }
  .nav-pill .button { min-height: 40px; padding-inline: 16px; font-size: 14px; }
  .hero { padding-top: 28px; }
  .hero-stage { min-height: auto; border-radius: 28px; overflow: hidden; }
  .hero-stage::before { width: 100%; background: linear-gradient(180deg, rgba(247,246,244,.96) 0%, rgba(247,246,244,.95) 44%, rgba(247,246,244,.54) 72%, rgba(247,246,244,.08) 100%); }
  .hero-bounce-glow { width: 420px; height: 420px; filter: blur(34px); opacity: .92; }
  .hero-art { position: relative; top: auto; right: auto; width: 100%; height: auto; min-height: 300px; opacity: .82; }
  .hero-copy { position: absolute; inset: 0 0 auto 0; width: 100%; min-height: 0; padding: 32px 22px 20px; justify-content: flex-start; }
  .hero-brand {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .hero h2 { margin-top: 30px; max-width: 78%; font-size: clamp(24px, 8.2vw, 38px); }
  .hero-lead { display: none; }
  .hero-scene-meta {
    right: 18px;
    bottom: 16px;
    gap: 9px;
    max-width: 72%;
  }
  .hero-scene-index { font-size: 34px; }
  .hero-scene-name { max-width: 200px; font-size: 11px; letter-spacing: .10em; }
  .hero-actions { margin-top: 16px; }
  .support-band, .capabilities-section, .insights-section { padding-block: 85px; }
  .workflow-section, .why-section { padding-block: 90px; }
  .service-row { grid-template-columns: 36px 1fr 20px; gap: 12px; padding-block: 18px; }
  .service-row > span:nth-child(3) { grid-column: 2; font-size: 15px; }
  .why-grid, .insights-grid { grid-template-columns: 1fr; }
  .insight-card--featured { grid-column: auto; }
  .insights-head { align-items: flex-start; flex-direction: column; }
  .contact-panel { grid-template-columns: 1fr; min-height: 520px; }
  .footer { grid-template-columns: 1fr; padding-block: 34px; gap: 16px; }
}


@keyframes heroGlowDrift {
  0%   { transform: translate3d(-12px, 8px, 0) scale(.98); opacity: .88; }
  35%  { transform: translate3d(18px, -10px, 0) scale(1.04); opacity: 1; }
  70%  { transform: translate3d(-4px, 18px, 0) scale(1.01); opacity: .94; }
  100% { transform: translate3d(22px, 4px, 0) scale(1.06); opacity: .90; }
}

@keyframes heroBackgroundDrift {
  0%   { background-position: 18% 24%; }
  35%  { background-position: 74% 18%; }
  68%  { background-position: 62% 78%; }
  100% { background-position: 28% 66%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   v14 — typografia, akcenty i ikonki
   ========================================================= */

.text-highlight {
  color: var(--green);
}

/* Małe techniczne nagłówki / labelki */
.eyebrow {
  margin-bottom: 22px;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: .13em;
  font-weight: 500;
  color: #4e5966;
}
.hero-scene-name,
.service-no,
.flow-step span,
.why-card span {
  font-weight: 500;
  letter-spacing: .11em;
}
.hero-scene-name {
  font-size: clamp(16px, calc(1vw + 2px), 17px);
  color: #5a6674;
}
.eyebrow--light,
.support-band .eyebrow,
.insights-section .eyebrow {
  color: #dbe2d2;
}
.support-band .section-intro > p:last-child,
.insights-section p {
  color: #c0c7cf;
}
.insight-card--featured p {
  color: #66707d;
}
.text-link { font-weight: 700; }

/* Hero i duże nagłówki */
.hero-brand {
  font-size: clamp(76px, 7.55vw, 130px);
  line-height: .84;
}
.hero h2 {
  margin-top: 28px;
  font-size: clamp(34px, 3.15vw, 54px);
  line-height: .98;
}
.section-intro h2,
.workflow-copy h2,
.capabilities-copy h2,
.insights-head h2 {
  font-size: clamp(43px, 4.85vw, 79px);
  line-height: 1.02;
}
.workflow-copy h2 { font-size: clamp(42px, 4.6vw, 68px); }
.capabilities-copy h2 { font-size: clamp(44px, 4.9vw, 74px); }
.contact-panel h2 {
  font-size: clamp(46px, 5.3vw, 84px);
  line-height: .95;
}

/* Numeracja */
.service-row {
  grid-template-columns: 62px minmax(180px, .9fr) 1fr 24px;
}
.service-no {
  font-size: 18px;
  color: var(--green);
}
.service-row strong { font-size: 24px; }
.service-row > span:nth-child(3) { font-size: 18px; color: #aeb5bb; }
.flow-step span {
  font-size: 16px;
  color: var(--green);
}
.why-card span {
  font-size: 16px;
}
.why-card p {
  margin-top: 56px;
}

/* Ikonki w kartach */
.icon-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(47,57,71,.04);
  border: 1px solid rgba(47,57,71,.08);
}
.icon-badge svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}
.icon-badge .icon-stroke {
  stroke: var(--ink);
}
.icon-badge .icon-accent {
  stroke: var(--green);
  fill: var(--green);
}
.icon-badge__label {
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1;
  letter-spacing: .11em;
  color: var(--ink);
  text-transform: uppercase;
}
.capability-card .icon-badge,
.insight-card .icon-badge {
  position: relative;
  z-index: 1;
}
.capability-card h3 {
  margin: 24px 0 10px;
}
.insight-card h3 {
  margin: 28px 0 14px;
}
.insight-card:not(.insight-card--featured) .icon-badge {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
}
.insight-card:not(.insight-card--featured) .icon-badge__label {
  color: #f5f7fa;
}
.insight-card:not(.insight-card--featured) .icon-badge .icon-stroke {
  stroke: #dbe4ee;
}
.insight-card--featured .icon-badge__label {
  color: var(--ink);
}

/* Wyższy kontrast nazw i opisów na ciemnych sekcjach */
.support-band .service-row > span:nth-child(3) {
  color: #c7ced5;
}
.support-band .service-row strong,
.support-band .service-row b {
  color: #ffffff;
}
.insights-section .section-intro > p:last-child,
.insights-section .workflow-copy > p:last-child,
.insights-section .capabilities-copy > p:last-child {
  color: #c4ccd3;
}

@media (max-width: 1120px) {
  .hero-brand {
    font-size: clamp(66px, 7.0vw, 114px);
  }
  .hero h2 {
    font-size: clamp(30px, 4.2vw, 46px);
  }
  .section-intro h2,
  .workflow-copy h2,
  .capabilities-copy h2,
  .insights-head h2,
  .contact-panel h2 {
    font-size: clamp(38px, 4.35vw, 68px);
    line-height: 1.02;
  }
  .service-row {
    grid-template-columns: 58px minmax(160px, .9fr) 1fr 24px;
  }
  .capability-card h3 { font-size: 26px; }
  .insight-card h3 { font-size: 30px; }
}

@media (max-width: 760px) {
  .eyebrow {
    font-size: 15px;
    letter-spacing: .12em;
  }
  .hero h2 {
    font-size: clamp(21px, 6.9vw, 33px);
    max-width: 74%;
  }
  .section-intro h2,
  .workflow-copy h2,
  .capabilities-copy h2,
  .insights-head h2,
  .contact-panel h2 {
    font-size: clamp(33px, 7.6vw, 52px);
    line-height: 1.03;
  }
  .service-row {
    grid-template-columns: 48px 1fr 20px;
  }
  .service-no,
  .flow-step span,
  .why-card span {
    font-size: 15px;
  }
  .service-row strong { font-size: 22px; }
  .service-row > span:nth-child(3) { font-size: 16px; }
  .icon-badge {
    min-height: 36px;
    padding: 7px 12px;
  }
  .icon-badge svg {
    width: 20px;
    height: 20px;
  }
  .icon-badge__label {
    font-size: 13px;
  }
  .capability-card h3 {
    margin-top: 22px;
    font-size: 24px;
  }
  .insight-card h3 {
    font-size: 26px;
    margin-top: 24px;
  }
}
.capability-card .icon-badge__label,
.insight-card .icon-badge__label {
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink);
}
.insight-card:not(.insight-card--featured) .icon-badge__label {
  color: #f5f7fa;
}
@media (max-width: 760px) {
  .capability-card .icon-badge__label,
  .insight-card .icon-badge__label {
    font-size: 13px;
  }
}

/* v14.5: tablet — localized soft light backing beneath the letters. */
@media (min-width: 761px) and (max-width: 1120px) {
  .hero-stage::before { display: none; }
  .hero-copy { z-index: 4; }
  .hero-copy .eyebrow,
  .hero-copy .hero-brand,
  .hero-copy h2,
  .hero-copy .hero-lead {
    text-shadow:
      0 0 3px #f7f6f4,
      0 0 7px #f7f6f4,
      0 0 12px #f7f6f4,
      0 0 19px rgba(247,246,244,.95),
      0 0 28px rgba(247,246,244,.85);
  }
}
/* Mobile: text, complete illustration, then department number in normal flow. */
@media (max-width: 760px) {
  .hero-stage {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .hero-stage::before { display: none; }
  .hero-copy {
    position: relative;
    inset: auto;
    order: 1;
    width: 100%;
    min-height: 0;
    padding: 30px 24px 18px;
    justify-content: flex-start;
  }
  .hero-copy .eyebrow {
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.45;
    letter-spacing: .08em;
  }
  .hero-copy h2 {
    max-width: 100%;
    margin: 0 0 18px;
    font-size: clamp(26px, 6.9vw, 38px);
    line-height: 1.12;
  }
  .hero-copy .hero-lead {
    display: block;
    margin: 0;
    font-size: 18px;
    line-height: 1.65;
    max-width: 100%;
  }
  .hero-art {
    order: 2;
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    opacity: 1;
    flex-shrink: 0;
  }
  .hero-scene-meta {
    order: 3;
    position: relative;
    inset: auto;
    display: flex;
    width: 100%;
    max-width: none;
    padding: 14px 24px 24px;
    justify-content: flex-end;
  }
  .hero-scene-name { display: none; }
  .hero-scene-index { font-size: 44px; line-height: 1; }
}

/* v14.6 TEST: open header + hero region, one roaming background light. */
.hero-region {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-region > .hero-bounce-glow { z-index: 0; }
.hero-region .hero-stage {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  animation: none;
  overflow: visible;
}
.hero-region .hero-stage::before,
.hero-region .hero-stage::after,
.hero-region .hero::after { display: none; }
.page-glow--top { display: none; }
.hero-region .hero-copy .eyebrow,
.hero-region .hero-copy .hero-brand,
.hero-region .hero-copy h2,
.hero-region .hero-copy .hero-lead {
  text-shadow: 0 0 5px #f7f6f4, 0 0 12px rgba(247,246,244,.9), 0 0 22px rgba(247,246,244,.7);
}

/* v14.7: selectable services, stronger local light and tighter header spacing. */
.hero-region .hero { padding-top: 12px; }
.hero-region .hero-stage { min-height: clamp(550px, 43vw, 650px); }
.hero-region .hero-copy { padding-top: 32px; padding-bottom: 42px; }
.hero-region .hero-copy .hero-lead {
  color: #46515e;
  text-shadow: 0 0 2px #f7f6f4, 0 0 4px #f7f6f4, 0 0 8px #f7f6f4,
    0 0 13px #f7f6f4, 0 0 20px #f7f6f4, 0 0 28px rgba(247,246,244,.98);
}
a.hero-art { display: block; pointer-events: auto; cursor: pointer; }
.hero-scene-image { width: 100%; height: auto; }
a.hero-art:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.hero-scene-nav {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 4px 0 14px;
}
.hero-scene-nav button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 18px;
  min-width: 40px;
  min-height: 44px;
  padding: 8px 6px;
  cursor: pointer;
}
.hero-scene-nav button + button::before {
  content: '–';
  display: inline-block;
  margin-right: 8px;
  color: #7c858b;
  font-weight: 400;
}
.hero-scene-nav button.is-active { color: var(--green); font-weight: 700; }
.hero-scene-nav button:hover { color: var(--green); }
.hero-scene-nav button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.service-list .service-no { font-size: 32px; line-height: 1; font-weight: 600; }
@media (max-width: 1120px) {
  .hero-region .hero { padding-top: 8px; }
}
@media (max-width: 760px) {
  .hero-region .hero-stage { min-height: 0; }
  .hero-region .hero-copy { padding-top: 22px; padding-bottom: 18px; }
  .hero-scene-meta { align-items: center; gap: 14px; text-align: left; }
  .hero-scene-meta .hero-scene-name {
    display: block;
    max-width: none;
    flex: 1;
    min-width: 0;
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: .06em;
    color: var(--ink);
  }
  .hero-scene-nav { justify-content: center; gap: 0; }
  .hero-scene-nav button { min-width: 34px; font-size: 16px; padding-inline: 4px; }
  .hero-scene-nav button + button::before { margin-right: 4px; }
  .service-list .service-no { font-size: 28px; }
}

/* v14.8: centered navigation above both columns; reserved service caption space. */
.hero-region .hero-scene-nav {
  justify-content: center;
  margin: 4px 0 24px;
}
.hero-region .hero-stage {
  min-height: clamp(700px, 52vw, 780px);
}
.hero-region .hero-art { top: 32px; }
.hero-region .hero-copy {
  padding-top: 56px;
  padding-bottom: 100px;
}
.hero-region .hero-scene-meta {
  bottom: 10px;
  right: 0;
  max-width: 56%;
  align-items: center;
}
.hero-region .hero-scene-name {
  color: var(--ink);
  text-shadow: 0 0 4px #f7f6f4, 0 0 10px #f7f6f4, 0 0 18px rgba(247,246,244,.95);
}
@media (min-width: 761px) and (max-width: 1120px) {
  .hero-region .hero-stage { min-height: 760px; }
  .hero-region .hero-scene-meta { max-width: 68%; }
}
@media (max-width: 760px) {
  .hero-region .hero-scene-nav { margin: 0 0 14px; }
  .hero-region .hero-stage { min-height: 0; }
  .hero-region .hero-copy { padding-top: 22px; padding-bottom: 18px; }
  .hero-region .hero-art { top: auto; }
  .hero-region .hero-scene-meta {
    bottom: auto;
    right: auto;
    max-width: none;
  }
}

/* v14.9: content-driven columns keep the caption directly below each image. */
@media (min-width: 761px) {
  .hero-region .hero-scene-nav { margin: 0 0 4px; }
  .hero-region .hero-stage {
    display: grid;
    grid-template-columns: 44% 56%;
    align-items: center;
    min-height: 0;
  }
  .hero-region .hero-copy {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-height: 0;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .hero-visual { grid-column: 2; grid-row: 1; min-width: 0; }
  .hero-region .hero-art {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }
  .hero-region .hero-scene-meta {
    position: relative;
    inset: auto;
    max-width: none;
    padding-top: 0;
    margin-top: -8px;
    padding-bottom: 10px;
  }
}
@media (min-width: 761px) and (max-width: 1120px) {
  .hero-region .hero-stage { grid-template-columns: 42% 58%; }
  .hero-region .hero-copy { padding: 14px 20px 14px 12px; }
  .hero-region .hero-brand { font-size: clamp(58px, 7vw, 78px); }
  .hero-region .hero-copy h2 { font-size: clamp(28px, 3.6vw, 38px); }
  .hero-region .hero-copy .eyebrow { font-size: 15px; letter-spacing: .08em; }
  .hero-region .hero-copy .hero-lead { font-size: 17px; line-height: 1.65; }
  .hero-region .hero-scene-meta { margin-top: -4px; gap: 12px; }
  .hero-region .hero-scene-name { font-size: 14px; letter-spacing: .06em; }
}
@media (max-width: 760px) {
  .hero-visual { order: 2; width: 100%; min-width: 0; }
  .hero-region .hero-scene-meta { padding-top: 4px; padding-bottom: 12px; }
  .hero-region .hero-scene-nav { margin: 0 0 8px; }
}

/* v15 — rezultaty, współpraca i spójne nagłówki */
.card-heading { display:flex; align-items:center; gap:18px; margin-bottom:18px; }
.icon-badge { border-radius:9px; background:transparent!important; padding:10px 12px; min-height:58px; gap:8px; flex-shrink:0; border:1px solid rgba(35,56,77,.24); }
.icon-badge svg { width:36px; height:36px; flex:0 0 36px; }
.icon-badge__label { font-size:13px; letter-spacing:.07em; }
.card-heading h3,.insight-card .card-heading h3 { margin:0; font-size:22px; line-height:1.25; }
.insight-card { min-height:280px; padding:28px; }
.insight-card .card-heading { align-items:center; }
.insight-card:not(.insight-card--featured) .icon-badge { border-color:rgba(255,255,255,.35); }
.insight-card:not(.insight-card--featured) .icon-badge__label { color:white; }
.insights-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.workflow-section { display:block; padding-top:85px; padding-bottom:85px; }
.workflow-section .section-intro { max-width:830px; margin-bottom:32px; }
.process-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.process-card { border:1px solid rgba(35,56,77,.15); border-radius:18px; padding:24px; background:rgba(255,255,255,.65); }
.process-card h3 { display:flex; align-items:center; gap:12px; margin:0 0 22px; font-size:21px; }
.process-step { display:grid; place-items:center; flex:0 0 32px; width:32px; height:32px; border:1px solid var(--ink); border-radius:50%; font-size:16px; }
.owner-task { padding:16px 0; border-top:1px solid rgba(35,56,77,.14); }
.owner-task--kebo { border-top-color:#7eaa4b; }
.owner-label,.result-label { font-size:14px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.owner-task--kebo .owner-label { color:#527c2e; }
.owner-task p { margin:9px 0 0; font-size:17px; line-height:1.65; }
.results-section { padding:75px 0; }
.results-section .section-intro { max-width:850px; margin-bottom:34px; }
.results-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.result-card { border:1px solid rgba(35,56,77,.16); border-radius:18px; background:rgba(255,255,255,.8); padding:24px; overflow:hidden; }
.result-image { display:block; width:100%; height:205px; object-fit:contain; margin:0 auto 12px; }
.result-pair { display:grid; gap:14px; }
.result-pair>div+div { border-top:1px solid #a6c881; padding-top:14px; }
.result-pair p { font-size:17px; line-height:1.6; margin:8px 0 0; }
.result-label { color:#526274; }
.deliverables { border-top:1px solid rgba(35,56,77,.14); margin:18px 0 0; padding-top:14px; font-size:14px; font-weight:600; color:#527c2e; }
.why-section { padding-top:85px; padding-bottom:85px; }
.why-section .section-intro { margin-bottom:32px; }
.why-grid { gap:18px; }
.why-card { min-height:0; padding:24px; border-radius:18px; display:flex; align-items:center; gap:20px; }
.why-card p { margin:0; font-size:19px; line-height:1.4; }
.principle-symbol { flex:0 0 78px; position:relative; padding-top:16px; }
.principle-symbol svg { width:72px; height:72px; color:var(--ink); }
.principle-symbol .accent { stroke:#83ad50; }
.why-card .principle-letter { position:absolute; top:0; left:0; font-size:17px; color:#527c2e; font-weight:700; }
.contact-panel { align-items:start; gap:42px; grid-template-columns:1fr 1fr; }
.contact-panel h2 { font-size:clamp(30px,3.2vw,48px); }
.contact-form { display:grid; gap:16px; width:100%; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.contact-form label { display:grid; gap:7px; font-size:16px; font-weight:600; }
.contact-form label>span { font-size:14px; font-weight:400; }
.contact-form input,.contact-form textarea { min-width:0; width:100%; box-sizing:border-box; border:1px solid #9ba8ac; border-radius:8px; background:rgba(255,255,255,.65); color:var(--ink); padding:12px; font:inherit; }
.contact-form textarea { resize:vertical; }
.contact-form input:focus,.contact-form textarea:focus { outline:2px solid #83ad50; outline-offset:2px; }
.upload-field small { font-size:14px; font-weight:400; line-height:1.5; }
.contact-form .form-trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.form-status { font-size:16px; margin:0; line-height:1.5; }
.contact-form button { cursor:pointer; justify-self:start; }
.contact-form button:disabled { opacity:.6; cursor:wait; }
@media(max-width:1120px) { .results-grid,.process-grid { gap:14px; } .result-card,.process-card { padding:18px; } .card-heading { gap:12px; } .card-heading h3,.insight-card .card-heading h3 { font-size:19px; } .icon-badge { flex-direction:column; gap:4px; padding:8px; } .why-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .insights-grid { grid-template-columns:1fr; } .insight-card { min-height:210px; } .contact-panel { padding:32px; } }
@media(max-width:760px) { .results-grid,.process-grid,.contact-panel { grid-template-columns:1fr; } .workflow-section,.why-section { padding-top:55px; padding-bottom:55px; } .results-section { padding:55px 0; } .result-image { height:235px; } .why-grid { grid-template-columns:1fr; } .why-card { padding:20px; } .why-card p { font-size:18px; } .contact-panel { padding:24px; min-height:0; } .form-row { grid-template-columns:1fr; } .icon-badge svg { width:36px; height:36px; flex-basis:36px; } .card-heading { align-items:center; } }

/* Podstrona DTP — v15.1 */
.dtp-hero { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:24px; padding-top:32px; padding-bottom:58px; position:relative; z-index:2; }
.dtp-back { display:inline-block; color:var(--ink); font-size:15px; margin-bottom:28px; text-decoration:none; }
.dtp-hero h1 { font-size:clamp(38px,4.6vw,66px); line-height:1.08; letter-spacing:-.04em; margin:14px 0 24px; }
.dtp-hero-copy { position:relative; z-index:2; }
.dtp-hero-copy p { max-width:580px; line-height:1.7; }
.dtp-hero-copy .dtp-lead { font-size:21px; line-height:1.5; }
.dtp-hero-copy::before { content:""; position:absolute; inset:30px -18px 0; background:rgba(247,246,244,.65); filter:blur(24px); z-index:-1; pointer-events:none; }
.dtp-actions { display:flex; flex-wrap:wrap; align-items:center; gap:22px; margin-top:26px; }
.dtp-hero-art img { display:block; width:100%; height:auto; }
.dtp-art-caption { display:flex; align-items:center; gap:16px; margin-top:-10px; font-size:18px; font-weight:600; }
.dtp-art-caption span { font-size:45px; line-height:1; color:#83ad50; font-weight:700; }
.dtp-section { padding-top:75px; padding-bottom:75px; }
.dtp-section .section-intro { max-width:850px; margin-bottom:32px; }
.dtp-scope-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.dtp-scope-card { border:1px solid rgba(47,57,71,.18); border-radius:18px; padding:28px; background:rgba(255,255,255,.45); }
.dtp-scope-card p { margin:0; line-height:1.7; }
.dtp-scope-card .icon-badge { color:var(--ink); }
.dtp-process-band { background:rgba(152,191,69,.075); border-block:1px solid rgba(47,57,71,.1); }
.dtp-process-list { display:grid; gap:14px; }
.dtp-process-row { display:grid; grid-template-columns:.85fr 1fr 1fr; gap:28px; padding:24px; border:1px solid rgba(47,57,71,.16); border-radius:14px; background:rgba(255,255,255,.65); }
.dtp-process-row h3 { display:flex; gap:14px; align-items:flex-start; margin:0; font-size:21px; line-height:1.35; }
.dtp-process-row .owner-task { padding:0 0 0 20px; border-top:0; border-left:1px solid rgba(47,57,71,.2); }
.dtp-process-row .owner-task--kebo { border-left-color:#83ad50; }
.dtp-result-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.dtp-output { background:#2f3947; color:#f7f6f4; padding:28px; border-radius:18px; display:flex; flex-direction:column; }
.dtp-output .result-label { color:#b8d78a; }
.dtp-output h3 { font-size:27px; margin:16px 0; line-height:1.2; }
.dtp-output p { line-height:1.7; margin:0 0 22px; }
.dtp-output .deliverables { display:block; margin-top:auto; color:#b8d78a; border-color:rgba(255,255,255,.25); line-height:1.6; }
.dtp-example { display:grid; grid-template-columns:1.25fr 1fr; gap:40px; margin-top:28px; padding:32px; border:1px solid #adc58d; border-radius:18px; }
.dtp-example h3 { font-size:28px; margin:12px 0; }
.dtp-example p { line-height:1.7; margin:12px 0; }
.dtp-example-flow { border-left:1px solid #adc58d; padding-left:32px; }
.dtp-flow-arrow { color:#648d35; font-size:28px; }
.dtp-brief { padding-top:28px; }
.dtp-checklist { display:grid; grid-template-columns:1fr 1fr; gap:16px 28px; list-style:none; padding:0; }
.dtp-checklist li { border-top:1px solid rgba(47,57,71,.17); padding:18px 0 8px 26px; position:relative; line-height:1.6; }
.dtp-checklist li::before { content:"✓"; position:absolute; left:0; color:#648d35; font-weight:700; }
.dtp-brief-note { margin:22px 0 0; line-height:1.7; max-width:800px; }
@media(max-width:1120px) { .dtp-hero h1 { font-size:48px; } .dtp-result-grid { gap:14px; } .dtp-output { padding:22px; } .dtp-process-row { gap:18px; grid-template-columns:.85fr 1fr 1fr; } }
@media(max-width:760px) { .dtp-hero { grid-template-columns:1fr; padding-top:20px; gap:16px; padding-bottom:35px; } .dtp-hero h1 { font-size:clamp(36px,8.5vw,54px); } .dtp-hero-copy .dtp-lead { font-size:19px; } .dtp-back { margin-bottom:20px; } .dtp-hero-art { max-width:540px; width:100%; justify-self:center; } .dtp-art-caption { margin-top:0; } .dtp-section { padding-top:50px; padding-bottom:50px; } .dtp-scope-grid,.dtp-result-grid,.dtp-process-row,.dtp-example,.dtp-checklist { grid-template-columns:1fr; } .dtp-scope-card { padding:22px; } .dtp-process-row .owner-task { border-left:0; border-top:1px solid rgba(47,57,71,.17); padding:14px 0 0; } .dtp-process-row .owner-task--kebo { border-top-color:#83ad50; } .dtp-example { padding:24px; gap:18px; } .dtp-example-flow { border-left:0; border-top:1px solid #adc58d; padding:20px 0 0; } .dtp-brief { padding-top:15px; } }
/* v15.2 — marka, menu i interakcje */
.brand-inline { white-space:nowrap; font:inherit!important; letter-spacing:inherit!important; }
.brand-inline>span:first-child { color:var(--ink)!important; font:inherit!important; }
.brand-inline>span:last-child { color:var(--green)!important; font:inherit!important; }
.brand-wordmark { display:flex; flex-direction:row; gap:0; align-items:baseline; white-space:nowrap; }
.brand-wordmark__kebo,.brand-wordmark__design { font-size:inherit; }
.menu-toggle { display:flex; flex-direction:column; justify-content:center; gap:5px; width:42px; height:42px; border:1px solid rgba(47,57,71,.24); border-radius:8px; background:transparent; cursor:pointer; color:var(--ink); flex-shrink:0; }
.menu-toggle span { width:20px; height:2px; background:currentColor; align-self:center; transition:transform .2s,opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity:0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
.site-header { position:relative; z-index:20; }
.site-menu { position:absolute; left:0; right:0; top:calc(100% + 14px); padding:28px; background:var(--bg); border:1px solid rgba(47,57,71,.2); border-radius:16px; box-shadow:0 18px 35px rgba(47,57,71,.12); display:grid; grid-template-columns:1fr 2fr; gap:28px; max-height:70vh; overflow:auto; }
.site-menu[hidden] { display:none; }
.menu-section { display:grid; align-content:start; gap:6px; }
.menu-section a { display:flex; gap:14px; align-items:center; padding:10px; border-radius:7px; text-decoration:none; color:var(--ink); transition:background .18s,transform .18s; }
.menu-section a:hover,.menu-section a:focus-visible { background:var(--green-faint); transform:translateX(3px); }
.menu-section a>span { color:#648d35; font-family:var(--mono); }
.process-role-controls { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:24px 0 8px; }
.process-role-controls>span { font-size:16px; margin-right:8px; }
.process-role-controls button { padding:10px 18px; border:1px solid rgba(47,57,71,.3); background:transparent; color:var(--ink); border-radius:8px; font:inherit; cursor:pointer; transition:background .2s,border-color .2s; }
.process-role-controls button[aria-pressed="true"],.process-role-controls button:hover { background:var(--green-faint); border-color:var(--green); }
.role-hint { font-size:15px; margin:0 0 22px; }
.dtp-process-row .owner-task { transition:background .2s,box-shadow .2s; padding:12px 16px; border-radius:8px; }
.dtp-process-list[data-active-role="client"] .owner-task:not(.owner-task--kebo) { background:rgba(47,57,71,.07); box-shadow:inset 0 0 0 1px rgba(47,57,71,.3); }
.dtp-process-list[data-active-role="kebo"] .owner-task--kebo { background:var(--green-faint); box-shadow:inset 0 0 0 1px var(--green); }
.dtp-scope-card,.dtp-output { transition:transform .25s,box-shadow .25s,border-color .25s; }
.dtp-scope-card:hover,.dtp-output:hover { transform:translateY(-4px); box-shadow:0 12px 25px rgba(47,57,71,.08); border-color:var(--green); }
.dtp-scope-card .icon-badge svg { transition:transform .25s; }
.dtp-scope-card:hover .icon-badge svg { transform:scale(1.08); }
.dtp-rebuild { padding-bottom:45px; }
.dtp-rebuild h3 { font-size:24px; margin:10px 0 16px; }
.rebuild-note { margin-top:24px; padding:26px; border-left:3px solid var(--green); background:var(--green-faint); border-radius:0 12px 12px 0; }
.rebuild-note p { line-height:1.7; margin:12px 0; }
@media(max-width:1120px) { .nav-links { display:none!important; } .nav-pill { gap:14px; } .menu-toggle { margin-left:auto; } .brand-wordmark { font-size:23px; } }
@media(max-width:760px) { .site-menu { grid-template-columns:1fr; gap:20px; padding:20px; } .brand-wordmark { font-size:20px; } .nav-pill { gap:10px; } .nav-pill>.button { font-size:14px; padding:10px 12px; } .process-role-controls button { padding:10px 12px; font-size:16px; } }
@media(prefers-reduced-motion:reduce) { .dtp-scope-card,.dtp-output,.dtp-scope-card .icon-badge svg,.menu-section a,.menu-toggle span,.dtp-process-row .owner-task { transition:none; } .dtp-scope-card:hover,.dtp-output:hover,.menu-section a:hover,.dtp-scope-card:hover .icon-badge svg { transform:none; } }
.brand-inline { text-transform:none!important; }

/* v15.3 — jeden pasek menu, osobne skróty sekcji, przegląd kompetencji */
.nav-pill { display:flex; flex-wrap:nowrap; justify-content:space-between; align-items:center; gap:18px; padding:8px 12px 8px 22px; }
.nav-pill .brand { flex:0 0 auto; }
.nav-links { display:flex; flex:1 1 auto; min-width:0; align-items:center; justify-content:flex-end; gap:22px; font-size:16px; line-height:1.3; }
.nav-links>a,.nav-current,.nav-dropdown-heading { white-space:nowrap; }
.nav-pill>.nav-contact { flex:0 0 auto; width:auto; min-height:44px; padding-inline:20px; justify-self:auto; }
.menu-toggle { display:none; margin:0; }
.nav-current { color:var(--ink); font-weight:750; padding-left:16px; border-left:1px solid var(--line); }
.nav-section-links { display:flex; align-items:center; gap:12px; padding:8px 12px; border-radius:8px; background:rgba(47,57,71,.035); }
.nav-section-links a { color:var(--muted); font-size:14px; font-weight:450; white-space:nowrap; }
.nav-section-links a:hover,.nav-section-links a:focus-visible { color:var(--ink); text-decoration:underline; text-underline-offset:4px; }
.site-header[data-page="dtp"] .nav-links { gap:15px; }
.nav-dropdown { position:relative; flex-shrink:0; }
.nav-dropdown-heading { display:flex; align-items:center; gap:2px; }
.nav-competences-link[aria-current="page"] { color:var(--ink); border-bottom:2px solid var(--green); padding-block:6px; }
.submenu-toggle { width:26px; height:32px; display:grid; place-items:center; background:transparent; border:0; border-radius:5px; color:var(--ink); cursor:pointer; }
.submenu-toggle svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.5; transition:transform .2s; }
.submenu-toggle[aria-expanded="true"] svg { transform:rotate(180deg); }
.submenu-toggle:hover { background:var(--green-faint); }
.competence-submenu { position:absolute; top:calc(100% + 12px); right:-20px; width:305px; display:grid; gap:4px; background:var(--bg); border:1px solid var(--line); border-radius:12px; padding:12px; box-shadow:0 16px 36px rgba(47,57,71,.12); z-index:30; }
.competence-submenu[hidden] { display:none; }
.nav-dropdown.is-open::after { content:""; position:absolute; top:100%; left:-20px; right:-20px; height:14px; }
.competence-submenu a { display:flex; align-items:center; gap:14px; padding:11px 10px; border-radius:6px; color:var(--ink); font-size:16px; font-weight:500; transition:background .18s; }
.competence-submenu a>span { color:#62862e; font:15px var(--mono); }
.competence-submenu a:hover,.competence-submenu a:focus-visible,.competence-submenu a[aria-current="page"] { background:var(--green-faint); }
.competence-submenu .submenu-overview { padding-bottom:14px; margin-bottom:3px; border-bottom:1px solid var(--line); border-radius:0; font-weight:700; }
.site-menu { top:calc(100% + 12px); grid-template-columns:1fr 1.4fr; gap:24px; }
.mobile-menu-primary { display:grid; align-content:start; gap:24px; }
.mobile-page-links { border-top:1px solid var(--line); padding-top:20px; }
.mobile-page-links a { font-size:15px; font-weight:450; }
.site-menu a[aria-current="page"] { background:var(--green-faint); }
:where(.menu-toggle,.submenu-toggle,.site-menu a,.nav-links a,.related-card,.competence-details summary):focus-visible { outline:2px solid #648d35; outline-offset:4px; }
.competence-hero { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:32px; padding-top:44px; padding-bottom:55px; position:relative; z-index:2; }
.competence-hero h1 { margin:16px 0 24px; font-size:clamp(40px,4.4vw,64px); line-height:1.12; letter-spacing:-.035em; }
.competence-hero-copy p { line-height:1.7; max-width:610px; }
.competence-hero-copy .competence-lead { font-size:21px; line-height:1.55; }
.competence-hero-copy>.button { margin-top:18px; }
.competence-hero-copy { position:relative; }
.competence-hero-copy::before { content:""; position:absolute; inset:0 -18px; background:rgba(247,246,244,.6); filter:blur(24px); z-index:-1; pointer-events:none; }
.competence-hero-art img { width:100%; height:auto; }
.competence-overview { padding-block:55px 75px; }
.competence-overview .section-intro { max-width:850px; margin-bottom:36px; }
.competence-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.competence-card { scroll-margin-top:28px; display:flex; flex-direction:column; border:1px solid var(--line); border-radius:18px; padding:28px; background:rgba(255,255,255,.68); transition:border-color .2s,box-shadow .2s; }
.competence-card:hover,.competence-card:target { border-color:var(--green); box-shadow:0 12px 28px rgba(47,57,71,.06); }
.competence-card:target { outline:2px solid rgba(152,191,69,.25); outline-offset:4px; }
.competence-card-heading { display:flex; align-items:center; gap:18px; }
.service-number { color:var(--green); font-family:var(--mono); font-size:38px; line-height:1; letter-spacing:-.06em; font-weight:600; }
.competence-card-heading h3 { font-size:25px; line-height:1.2; margin:0; }
.competence-card-image { width:100%; height:220px; object-fit:contain; margin:14px 0; }
.competence-description { margin:0 0 18px; line-height:1.7; color:var(--muted); }
.competence-formats { border-top:1px solid var(--line); padding-top:14px; margin:0 0 20px; font-size:14px; line-height:1.6; color:#577d2e; font-weight:650; }
.competence-details { margin-bottom:20px; }
.competence-details summary { cursor:pointer; font-size:16px; font-weight:650; padding:5px 0; }
.competence-details ul { margin:14px 0 0; padding-left:22px; font-size:16px; line-height:1.7; color:var(--muted); }
.competence-details li+li { margin-top:6px; }
.competence-card .competence-cta { margin-top:auto; align-self:flex-start; color:#577d2e; font-size:16px; }
.competence-help { display:flex; justify-content:space-between; align-items:center; gap:40px; padding:38px; margin-top:0; margin-bottom:75px; border:1px solid rgba(152,191,69,.5); border-radius:18px; background:var(--green-faint); }
.competence-help>div { max-width:800px; }
.competence-help h2 { font-size:clamp(28px,3vw,42px); margin:12px 0; line-height:1.2; }
.competence-help p { line-height:1.7; }
.competence-help .button { flex-shrink:0; }
.related-services { padding-block:30px 65px; }
.related-head { display:flex; align-items:end; justify-content:space-between; gap:32px; margin-bottom:26px; }
.related-head h2 { font-size:clamp(30px,3.2vw,46px); line-height:1.2; margin:12px 0; }
.related-head p { max-width:720px; line-height:1.7; }
.related-head .text-link { color:#577d2e; }
.related-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.related-card { display:flex; flex-direction:column; padding:26px; border:1px solid var(--line); background:rgba(255,255,255,.7); border-radius:16px; transition:transform .2s,border-color .2s; }
.related-card:hover { transform:translateY(-4px); border-color:var(--green); }
.related-card-top { display:flex; justify-content:space-between; align-items:center; }
.related-card-top>span:last-child { font-size:24px; }
.related-card h3 { font-size:24px; line-height:1.25; margin:22px 0 12px; }
.related-card p { margin:0 0 24px; color:var(--muted); line-height:1.7; }
.related-link { margin-top:auto; font-size:15px; color:#577d2e; font-weight:650; }
@media(min-width:1200px) { .nav-links { display:flex!important; } .site-menu { display:none; } }
@media(max-width:1199px) { .nav-links { display:none!important; } .menu-toggle { display:flex; flex:0 0 42px; margin:0; } .nav-pill>.nav-contact { margin-left:auto; } .nav-pill { gap:16px; } .brand-wordmark { font-size:20px; } .competence-hero h1 { font-size:48px; } }
@media(max-width:760px) { .nav-pill { gap:10px; padding:7px 8px 7px 14px; } .brand-wordmark { font-size:18px; } .nav-pill>.nav-contact { min-height:40px; padding-inline:14px; font-size:14px; } .menu-toggle { width:38px; height:38px; flex-basis:38px; } .site-menu { grid-template-columns:1fr; padding:20px; gap:26px; } .competence-hero { grid-template-columns:1fr; padding-top:28px; gap:14px; padding-bottom:24px; } .competence-hero h1 { font-size:clamp(36px,8.3vw,52px); } .competence-hero-copy .competence-lead { font-size:19px; } .competence-hero-art { max-width:520px; justify-self:center; } .competence-overview { padding-block:40px 50px; } .competence-grid { grid-template-columns:1fr; gap:18px; } .competence-card { padding:22px; } .competence-card-image { height:205px; } .competence-help { flex-direction:column; align-items:start; padding:24px; gap:12px; margin-bottom:50px; } .related-services { padding-block:20px 40px; } .related-head { flex-direction:column; align-items:start; gap:8px; } .related-grid { grid-template-columns:1fr; gap:16px; } .related-card { padding:22px; } }
@media(max-width:380px) { .nav-pill .brand { gap:6px; } .brand-wordmark { font-size:17px; } .nav-pill { padding-left:10px; gap:7px; } .nav-pill>.nav-contact { padding-inline:10px; } .brand-logo-wrap { width:40px; flex-basis:40px; } .brand-logo { width:40px; } }
@media(prefers-reduced-motion:reduce) { .related-card,.competence-card,.submenu-toggle svg { transition:none; } .related-card:hover { transform:none; } }
/* Poświata pozostaje w swoim obszarze; podmenu może wyjść poza hero. */
.hero-region { overflow:visible; }
.hero-glow-clip { position:absolute; inset:0; overflow:hidden; z-index:0; pointer-events:none; }
.hero-glow-clip>.hero-bounce-glow { z-index:0; }
.competence-submenu { max-height:calc(100vh - 125px); max-height:calc(100svh - 125px); overflow-y:auto; }

/* v15.4 — Lokalizacja napisów, wspólny wzorzec kompetencji */
.site-header[data-page="napisy"] .nav-links { gap:15px; }
.subtitle-page .dtp-hero h1 { font-size:clamp(38px,4.2vw,60px); }
.subtitle-page .dtp-scope-card { display:flex; flex-direction:column; }
.subtitle-page .dtp-scope-card .card-heading { min-height:78px; }
.subtitle-review-grid { display:grid; grid-template-columns:1.15fr 1fr; align-items:start; gap:44px; }
.subtitle-review-grid h2 { font-size:clamp(32px,3.5vw,48px); line-height:1.2; margin:14px 0 24px; }
.subtitle-review-grid p { line-height:1.75; }
.subtitle-review-example { padding:30px; border:1px solid rgba(152,191,69,.45); border-radius:18px; background:var(--green-faint); }
.review-context { display:flex; flex-wrap:wrap; gap:10px; margin:18px 0 26px; }
.review-context span { font-size:15px; padding:9px 14px; border:1px solid rgba(47,57,71,.24); border-radius:8px; background:transparent; }
.subtitle-review-example ol { list-style:none; margin:0; padding:0; counter-reset:review; }
.subtitle-review-example li { counter-increment:review; padding:20px 0 20px 44px; position:relative; border-top:1px solid rgba(47,57,71,.15); }
.subtitle-review-example li::before { content:counter(review); position:absolute; top:20px; left:0; display:grid; place-items:center; width:28px; height:28px; border:1px solid #648d35; color:#52752b; border-radius:50%; font:15px var(--mono); }
.subtitle-review-example li:last-child { padding-bottom:0; }
.subtitle-review-example strong { font-size:18px; line-height:1.4; }
.subtitle-review-example li p { margin:10px 0 0; }
.review-timecode { display:block; color:#577d2e; font:15px var(--mono); margin-top:12px; }
.subtitle-validation { padding-top:20px; }
.subtitle-validation .dtp-checklist strong { color:var(--ink); }
.subtitle-faq { padding-top:20px; }
.subtitle-faq-list { max-width:1000px; display:grid; gap:12px; }
.subtitle-faq-item { border:1px solid var(--line); border-radius:12px; padding:20px 24px; background:rgba(255,255,255,.6); }
.subtitle-faq-item summary { cursor:pointer; font-size:18px; font-weight:650; line-height:1.4; }
.subtitle-faq-item summary:focus-visible { outline:2px solid #648d35; outline-offset:5px; }
.subtitle-faq-item[open] { border-color:var(--green); }
.subtitle-faq-item p { color:var(--muted); line-height:1.7; margin:18px 0 0; }
.subtitle-page .contact-form label>small { font-size:14px; font-weight:400; line-height:1.5; }
@media(max-width:1120px) { .subtitle-review-grid { gap:24px; } .subtitle-review-example { padding:24px; } }
@media(max-width:760px) { .subtitle-page .dtp-hero h1 { font-size:clamp(36px,8.5vw,52px); } .subtitle-review-grid { grid-template-columns:1fr; gap:24px; } .subtitle-review-example { padding:22px; } .subtitle-page .dtp-scope-card .card-heading { min-height:0; } .subtitle-faq-item { padding:18px; } .subtitle-faq-item summary { font-size:18px; } .subtitle-validation,.subtitle-faq { padding-top:10px; } }

/* v16 — kompletny zestaw kompetencji i strona Kontakt */
.site-header[data-service-page="true"] .nav-links { gap:15px; }
.service-page .dtp-hero h1 { font-size:clamp(38px,4.2vw,60px); }
.service-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:14px; line-height:1.5; color:var(--muted); margin-bottom:24px; }
.service-breadcrumb a:hover { color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
.service-breadcrumb [aria-current="page"] { color:var(--ink); }
.service-detail-grid { display:grid; grid-template-columns:1.15fr 1fr; gap:44px; align-items:start; }
.service-detail-grid h2 { font-size:clamp(32px,3.5vw,48px); line-height:1.2; margin:14px 0 24px; }
.service-detail-grid p { line-height:1.75; }
.service-detail-panel { padding:30px; background:var(--green-faint); border:1px solid rgba(152,191,69,.45); border-radius:18px; }
.service-detail-panel ol { margin:20px 0 26px; padding-left:24px; }
.service-detail-panel li { padding:12px 0 12px 8px; line-height:1.65; border-top:1px solid var(--line); }
.service-detail-panel li::marker { color:#648d35; font-family:var(--mono); }
.service-detail-panel .text-link { white-space:normal; color:#577d2e; }
.service-faq { padding-top:20px; }
.contact-page-hero { display:grid; grid-template-columns:1.2fr .8fr; gap:60px; align-items:center; position:relative; z-index:2; padding-block:65px 55px; }
.contact-page-hero h1 { font-size:clamp(38px,4.5vw,64px); line-height:1.15; letter-spacing:-.035em; margin:16px 0 24px; }
.contact-page-hero .dtp-lead { font-size:21px; line-height:1.7; margin-bottom:28px; }
.contact-page-email { padding:32px; border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.6); }
.contact-page-email>a:first-of-type { display:inline-block; font-size:clamp(18px,2vw,25px); font-weight:650; overflow-wrap:anywhere; }
.contact-page-email p { line-height:1.7; }
.contact-page-email .text-link { color:#577d2e; font-size:16px; white-space:normal; }
.contact-page-form { padding-block:20px 40px; scroll-margin-top:24px; }
.contact-page-form .contact-panel p { line-height:1.7; }
.contact-form select { width:100%; min-width:0; padding:12px; border:1px solid #9ba8ac; border-radius:8px; background:rgba(255,255,255,.65); color:var(--ink); font:inherit; }
.contact-form select:focus { outline:2px solid #83ad50; outline-offset:2px; }
.contact-form label>small { font-size:14px; font-weight:400; line-height:1.5; }
@media(max-width:1120px) { .service-detail-grid { gap:24px; } .service-detail-panel { padding:24px; } .contact-page-hero { gap:30px; } }
@media(max-width:760px) { .service-page .dtp-hero h1 { font-size:clamp(36px,8.5vw,52px); } .service-detail-grid,.contact-page-hero { grid-template-columns:1fr; gap:24px; } .service-detail-panel,.contact-page-email { padding:22px; } .contact-page-hero { padding-block:35px 30px; } .contact-page-hero h1 { font-size:clamp(36px,8vw,50px); } .contact-page-hero .dtp-lead { font-size:19px; } .contact-page-form { padding-block:10px 25px; } .service-breadcrumb { margin-bottom:18px; } }

/* v16.1 – scope focus, checkpoints and shared footer */
body { font-size:18px; }
.dtp-scope-card { transition:transform .22s,box-shadow .22s,border-color .22s,filter .22s,opacity .22s; }
.dtp-scope-card:focus-visible { outline:2px solid #648d35; outline-offset:4px; border-color:var(--green); }
@media (hover:hover) and (pointer:fine) {
  .dtp-scope-grid:has(> .dtp-scope-card:hover) > .dtp-scope-card:not(:hover):not(:focus-visible) { filter:grayscale(1); opacity:.58; }
}
.dtp-scope-grid:has(> .dtp-scope-card:focus-visible) > .dtp-scope-card:not(:focus-visible):not(:hover) { filter:grayscale(1); opacity:.58; }
.checkpoint-label { display:flex; align-items:flex-start; gap:12px; cursor:pointer; }
.checkpoint-input { appearance:none; flex:0 0 20px; width:20px; height:20px; border:1px solid #648d35; border-radius:4px; margin:3px 0 0; background:transparent; display:grid; place-items:center; }
.checkpoint-input:checked { background:var(--green); border-color:#648d35; }
.checkpoint-input:checked::after { content:"✓"; color:var(--ink); font-size:16px; font-weight:700; line-height:1; }
.checkpoint-input:focus-visible { outline:2px solid var(--ink); outline-offset:3px; }
.footer--full { display:block; padding-block:48px 24px; min-height:0; font-size:16px; }
.footer-main { display:grid; grid-template-columns:1.1fr 1.7fr .7fr; gap:48px; }
.footer-intro p { max-width:320px; line-height:1.7; margin:22px 0 18px; }
.footer--full .brand-wordmark { font-size:24px; }
.footer-email { display:inline-block; color:var(--ink); overflow-wrap:anywhere; }
.footer--full h2 { font-size:17px; margin:0 0 18px; color:var(--ink); line-height:1.4; }
.footer--full ul { list-style:none; padding:0; margin:0; }
.footer-services ul { display:grid; grid-template-columns:1fr 1fr; gap:8px 26px; }
.footer-site ul { display:grid; gap:8px; }
.footer--full li a { display:flex; align-items:baseline; gap:10px; padding-block:5px; line-height:1.5; }
.footer-services li a>span { color:#577d2e; font:15px var(--mono); }
.footer--full a:hover { color:#577d2e; }
.footer--full a:focus-visible { outline:2px solid #648d35; outline-offset:4px; border-radius:3px; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:20px; padding-top:22px; margin-top:34px; border-top:1px solid var(--line); font-size:15px; }
@media(max-width:1199px) { .footer-main { grid-template-columns:1fr 1.5fr; gap:32px; } .footer-site { grid-column:2; } .footer-intro { grid-row:span 2; } }
@media(max-width:760px) { .footer-main { grid-template-columns:1fr; gap:30px; } .footer-intro { grid-row:auto; } .footer-site { grid-column:auto; } .footer--full { padding-block:36px 22px; } .footer-bottom { align-items:flex-start; } }
@media(max-width:380px) { .footer-services ul { grid-template-columns:1fr; } }
@media(prefers-reduced-motion:reduce) { .dtp-scope-card { transition:none; } }

.checkpoint-input { opacity:0; transition:opacity .18s; }
.checkpoint-input:checked,.checkpoint-item:focus-within .checkpoint-input { opacity:1; }
@media(hover:hover) and (pointer:fine) { .checkpoint-item:hover .checkpoint-input { opacity:1; } }
@media(prefers-reduced-motion:reduce) { .checkpoint-input { transition:none; } }

/* v16.2 – larger process labels and descriptions */
.owner-task .owner-label { font-size:16px; line-height:1.5; }
.owner-task p { font-size:18px; line-height:1.65; }

/* KeboDesign v16.3 – knowledge articles, shared icon system and reading layout. */
.knowledge-hero { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(260px,.8fr); gap:64px; align-items:center; padding-block:48px 64px; }
.knowledge-hero-copy { position:relative; }
.knowledge-hero-copy h1 { font-size:clamp(36px,4vw,62px); line-height:1.12; letter-spacing:-.04em; margin:18px 0 24px; text-wrap:balance; }
.knowledge-lead { max-width:850px; font-size:21px; line-height:1.65; margin:0 0 24px; }
.knowledge-summary { padding:30px; background:rgba(247,246,244,.85); border:1px solid rgba(152,191,69,.5); border-radius:14px; }
.knowledge-summary>.icon-badge { width:92px; min-height:82px; margin-bottom:24px; }
.knowledge-summary ul { margin:18px 0 24px; padding-left:22px; line-height:1.7; }
.knowledge-summary li+li { margin-top:12px; }
.knowledge-summary li::marker { color:#648d35; }
.knowledge-layout { display:grid; grid-template-columns:270px minmax(0,810px); justify-content:space-between; gap:64px; padding-block:30px 64px; align-items:start; }
.knowledge-sidebar { position:sticky; top:24px; border-top:2px solid var(--green); padding-top:20px; }
.knowledge-sidebar ol { margin:18px 0 24px; padding-left:22px; line-height:1.5; }
.knowledge-sidebar li { padding:8px 0 8px 4px; font-size:16px; }
.knowledge-sidebar li::marker { color:#648d35; font-family:var(--mono); }
.knowledge-sidebar a { transition:color .18s; }
.knowledge-sidebar a:hover { color:#577d2e; }
.knowledge-sidebar .text-link { font-size:15px; white-space:normal; }
.knowledge-section { scroll-margin-top:24px; padding-bottom:38px; margin-bottom:38px; border-bottom:1px solid var(--line); }
.knowledge-section .card-heading { margin:0 0 24px; align-items:center; }
.knowledge-section h2 { font-size:clamp(26px,2.4vw,36px); line-height:1.25; letter-spacing:-.025em; margin:0; }
.knowledge-content p { line-height:1.85; margin:18px 0; }
.knowledge-content .icon-badge { flex:0 0 76px; width:76px; min-height:72px; }
.knowledge-page .icon-badge svg,.knowledge-promo .icon-badge svg { width:40px; height:40px; color:var(--ink); }
.knowledge-page .icon-badge__label,.knowledge-promo .icon-badge__label { max-width:100%; font-size:10px; line-height:1.3; text-align:center; overflow-wrap:anywhere; }
.knowledge-checklist { background:var(--green-faint); padding:28px; border:1px solid rgba(152,191,69,.45); border-radius:14px; }
.knowledge-checklist .dtp-checklist { grid-template-columns:1fr; gap:4px; margin:20px 0; }
.knowledge-content .subtitle-faq-list { margin-top:24px; }
.knowledge-content .subtitle-faq-item { padding:20px; }
.knowledge-sources { padding-bottom:24px; font-size:16px; line-height:1.7; }
.knowledge-sources summary { cursor:pointer; font-weight:650; }
.knowledge-sources ul { padding-left:22px; }
.knowledge-sources li+li { margin-top:10px; }
.knowledge-sources a { color:#577d2e; text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere; }
.knowledge-related { padding-block:0 60px; }
.knowledge-related .related-card>.icon-badge { width:76px; align-self:flex-start; }
.knowledge-related .related-card h3 { margin-top:24px; }
.knowledge-promo { margin-block:0 60px; padding:28px; border:1px solid rgba(152,191,69,.45); border-radius:14px; background:var(--green-faint); }
.knowledge-promo h2 { font-size:clamp(24px,2.5vw,34px); line-height:1.25; margin:0; }
.knowledge-promo p { max-width:940px; line-height:1.75; }
.knowledge-promo .icon-badge { flex-shrink:0; }
.knowledge-page a:focus-visible { outline:2px solid #648d35; outline-offset:4px; border-radius:3px; }
@media(max-width:1199px) {
  .knowledge-hero { gap:30px; grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr); }
  .knowledge-layout { gap:32px; grid-template-columns:220px minmax(0,1fr); }
  .knowledge-content .card-heading { gap:16px; }
}
@media(max-width:900px) {
  .knowledge-layout { grid-template-columns:1fr; gap:32px; }
  .knowledge-sidebar { position:static; padding:22px; border:1px solid var(--line); border-top:2px solid var(--green); border-radius:10px; }
  .knowledge-sidebar ol { display:grid; grid-template-columns:1fr 1fr; column-gap:30px; margin-bottom:12px; }
}
@media(max-width:760px) {
  .knowledge-hero { grid-template-columns:1fr; padding-block:30px 34px; gap:28px; }
  .knowledge-hero-copy h1 { font-size:clamp(32px,8vw,46px); }
  .knowledge-lead { font-size:20px; }
  .knowledge-summary { padding:24px; }
  .knowledge-summary>.icon-badge { float:left; margin:0 20px 12px 0; }
  .knowledge-summary ul { clear:both; }
  .knowledge-sidebar ol { grid-template-columns:1fr; }
  .knowledge-layout { padding-block:16px 36px; }
  .knowledge-content .icon-badge { flex-basis:62px; width:62px; min-height:64px; }
  .knowledge-section h2 { font-size:26px; }
  .knowledge-page .icon-badge svg { width:32px; height:32px; }
  .knowledge-section { padding-bottom:26px; margin-bottom:30px; }
  .knowledge-checklist { padding:22px; }
  .knowledge-related { padding-bottom:36px; }
  .knowledge-promo { padding:22px; margin-bottom:40px; }
}
@media(prefers-reduced-motion:reduce) { .knowledge-sidebar a { transition:none; } }

/* v16.4 – green pictograms, dark labels and deliberate badge orientation. */
.knowledge-page .icon-badge,
.knowledge-promo .icon-badge {
  display:inline-flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  flex:0 0 86px;
  width:86px;
  max-width:100%;
  min-height:76px;
  height:auto;
  padding:10px;
  gap:10px;
}
.knowledge-page .icon-badge svg,
.knowledge-promo .icon-badge svg {
  flex:0 0 40px;
  width:40px;
  height:40px;
  color:var(--green);
  stroke:var(--green);
}
.knowledge-page .icon-badge .icon-stroke,
.knowledge-page .icon-badge .icon-accent,
.knowledge-promo .icon-badge .icon-stroke,
.knowledge-promo .icon-badge .icon-accent { stroke:var(--green); }
.knowledge-page .icon-badge .icon-badge__label,
.knowledge-promo .icon-badge .icon-badge__label {
  flex:0 0 auto;
  color:var(--ink);
  font-size:13px;
  letter-spacing:.025em;
  line-height:1.15;
  writing-mode:vertical-rl;
  text-orientation:upright;
  white-space:nowrap;
  word-break:normal;
  overflow-wrap:normal;
  max-width:none;
}
.knowledge-page .icon-badge--horizontal,
.knowledge-promo .icon-badge--horizontal,
.knowledge-page .knowledge-summary>.icon-badge {
  flex:0 1 auto;
  width:auto;
  min-width:0;
  min-height:64px;
  padding:12px;
  gap:12px;
}
.knowledge-page .icon-badge--horizontal .icon-badge__label,
.knowledge-promo .icon-badge--horizontal .icon-badge__label,
.knowledge-page .knowledge-summary>.icon-badge .icon-badge__label {
  flex:0 1 auto;
  min-width:0;
  writing-mode:horizontal-tb;
  text-orientation:mixed;
  white-space:normal;
  overflow-wrap:break-word;
  text-align:left;
}
.knowledge-page .knowledge-summary>.icon-badge { float:none; margin:0 0 24px; }
.knowledge-page .card-heading--wide-badge,
.knowledge-promo .card-heading--wide-badge { flex-wrap:wrap; }
.knowledge-page .card-heading--wide-badge>h2,
.knowledge-promo .card-heading--wide-badge>h2 { flex:1 1 260px; min-width:0; }
@media(max-width:760px) {
  .knowledge-page .icon-badge svg,
  .knowledge-promo .icon-badge svg { flex-basis:32px; width:32px; height:32px; }
  .knowledge-page .icon-badge--horizontal,
  .knowledge-promo .icon-badge--horizontal,
  .knowledge-page .knowledge-summary>.icon-badge { padding:10px; gap:10px; }
}

/* v16.4.1 – related cards have a column layout: never give their badge a fixed flex height. */
.knowledge-page .knowledge-related .related-card>.icon-badge {
  display:inline-flex;
  flex:0 0 auto;
  flex-direction:row;
  width:fit-content;
  max-width:100%;
  min-width:0;
  height:auto;
  min-height:64px;
  align-self:flex-start;
  align-items:center;
  padding:12px;
  gap:12px;
}
.knowledge-page .knowledge-related .related-card>.icon-badge .icon-badge__label {
  flex:0 1 auto;
  min-width:0;
  max-width:none;
  writing-mode:horizontal-tb;
  text-orientation:mixed;
  white-space:normal;
  word-break:normal;
  overflow-wrap:normal;
  text-align:left;
}
@media(max-width:760px) {
  .knowledge-page .knowledge-related .related-card>.icon-badge { padding:10px; gap:10px; }
}
