:root { --ink: #17201c; --muted: #63706a; --paper: #f4f3ee; --white: #fff; --accent: #a8e85d; --line: #d9dcd5; --section-space: 74px; --section-edge-space: 8px; --divider-space: 66px; --project-separator-space: 46px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.site-header, .hero, .section, footer { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header { min-height: 88px; display: flex; position: sticky; top: 0; z-index: 100; align-items: center; justify-content: space-between; gap: 32px; background: rgba(244, 243, 238, .94); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.logo { color: #343a37; font-family: Calibri, "Segoe UI", Arial, sans-serif; font-size: 1.4rem; font-weight: 700; letter-spacing: -.04em; }
.site-header .logo { font-size: 1.8rem; }
nav { display: flex; align-items: center; gap: 28px; font-size: .88rem; font-weight: 600; }
nav a:hover { opacity: .6; }
nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav-contact { padding: 10px 18px; border: 1px solid var(--ink); border-radius: 999px; }
.hero { padding: 32px 0 var(--divider-space); }
.hero-panel { min-height: 620px; padding: 64px; display: flex; flex-direction: column; justify-content: flex-start; background: var(--white); border-radius: 4px; }
.eyebrow, .section-number { margin: 0 0 26px; color: var(--muted); font-size: 1.25rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 900px; margin-bottom: 32px; font-family: Arial, Helvetica, sans-serif; font-size: clamp(3rem, 7vw, 6.4rem); font-weight: 700; line-height: .94; letter-spacing: -.07em; }
.hero-panel h1 {
  max-width: none;
  margin-top: 24px;
  font-size: clamp(2.2rem, 6.2vw, 5.75rem);
  letter-spacing: -.035em;
  white-space: nowrap;
}
.hero-copy { max-width: 610px; margin-bottom: 38px; color: var(--muted); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-panel .hero-actions { margin-top: auto; }
.button { display: inline-flex; min-height: 52px; padding: 0 24px; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 999px; font-size: .9rem; font-weight: 750; transition: transform 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--white); }
.button-secondary:hover { background: var(--white); }
.section { padding: var(--section-edge-space) 0 var(--divider-space); border-top: 1px solid var(--line); }
h2 { margin-bottom: 36px; font-family: Arial, Helvetica, sans-serif; font-size: clamp(2rem, 4vw, 4.25rem); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; }
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.about-panel { min-height: 560px; padding: 48px; display: flex; flex-direction: column; background: var(--white); border-radius: 4px; }
.about-panel-dark { color: var(--white); background: var(--ink); }
.about-panel:first-child { border-radius: 4px 0 0 4px; }
.about-panel:last-child { border-radius: 0 4px 4px 0; }
.panel-index, .service-index {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: visible;
  color: #101712;
  background: transparent url("assets/ui/szklany-znacznik-zielony.png") center / contain no-repeat;
  border: 0;
  border-radius: 50%;
  filter: drop-shadow(0 3px 3px rgba(23, 32, 28, .22));
  font-size: .8rem;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .38);
}
.panel-index::after, .service-index::after {
  content: none;
}
.circuit-icon {
  position: relative;
  width: 24px;
  height: 16px;
  display: block;
  color: #101712;
  filter:
    drop-shadow(-.7px -.7px 0 rgba(255, 255, 255, .58))
    drop-shadow(.8px 1px 0 rgba(4, 16, 7, .58));
}
.circuit-icon::before,
.circuit-icon::after {
  content: "";
  position: absolute;
  display: block;
}
.marker-resistor .circuit-icon {
  display: flex;
  align-items: center;
  background: none;
  filter:
    drop-shadow(0 -1px 0 rgba(255, 255, 255, .48))
    drop-shadow(0 1px 0 rgba(4, 16, 7, .58));
}
.marker-resistor .circuit-icon::before,
.marker-resistor .circuit-icon::after {
  content: none;
}
.resistor-lead {
  width: 6px;
  height: 1.5px;
  flex: 0 0 6px;
  background: currentColor;
}
.resistor-body {
  width: 12px;
  height: 8px;
  flex: 0 0 12px;
  background: linear-gradient(145deg, #68b953, #3f8c35);
  border: 1.5px solid currentColor;
}
.marker-capacitor .circuit-icon {
  background:
    linear-gradient(currentColor, currentColor) left center / 9px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) right center / 9px 1.5px no-repeat;
}
.marker-capacitor .circuit-icon::before,
.marker-capacitor .circuit-icon::after {
  top: 2px;
  width: 1.5px;
  height: 12px;
  background: currentColor;
}
.marker-capacitor .circuit-icon::before { left: 9px; }
.marker-capacitor .circuit-icon::after { right: 9px; }
.marker-diode .circuit-icon {
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat;
}
.marker-diode .circuit-icon::before {
  top: 2px;
  left: 6.75px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
}
.marker-diode .circuit-icon::after {
  top: 2px;
  left: 15.75px;
  width: 1.5px;
  height: 12px;
  background: currentColor;
}
.marker-coil .circuit-icon {
  display: flex;
  align-items: flex-start;
  padding-top: 3px;
  background: none;
}
.marker-coil .circuit-icon::before,
.marker-coil .circuit-icon::after {
  content: none;
}
.coil-lead {
  width: 4px;
  height: 1.5px;
  margin-top: 5.25px;
  flex: 0 0 4px;
  background: currentColor;
}
.coil-turn {
  width: 5px;
  height: 6px;
  flex: 0 0 5px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}
.coil-turn + .coil-turn {
  margin-left: -1.5px;
}
.marker-ground .circuit-icon::before {
  top: 0;
  left: 11px;
  width: 1.5px;
  height: 7px;
  background: currentColor;
}
.marker-ground .circuit-icon::after {
  top: 6px;
  left: 2px;
  width: 20px;
  height: 10px;
  background:
    linear-gradient(currentColor, currentColor) center top / 20px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center 4px / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center 8px / 8px 1.5px no-repeat;
}
.about-panel h2 { margin-top: 74px; margin-bottom: 36px; }
.about-panel p { max-width: 510px; margin-bottom: 0; color: var(--muted); font-size: 1.02rem; }
.about-panel-dark p { color: #b7c0bc; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.service-card { min-height: 520px; padding: 48px; display: flex; flex-direction: column; background: var(--white); border-radius: 4px; }
.service-card-dark { color: var(--white); background: var(--ink); }
.service-card:first-child { border-radius: 4px 0 0 4px; }
.service-card:last-child { border-radius: 0 4px 4px 0; }
.service-index { margin-bottom: 0; }
.service-card h2 { max-width: 420px; margin-top: 70px; font-size: clamp(2rem, 3.4vw, 3.4rem); }
.service-card p { max-width: 500px; color: var(--muted); }
.service-card-dark p { color: #b7c0bc; }
.service-card ul { margin: 16px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line); }
.service-card-dark ul { border-color: #44504a; }
.service-card li { padding: 6px 0; font-size: .94rem; }
.service-card li::before { content: "—"; margin-right: 10px; color: #7a8981; }
.projects-page .projects { padding-top: calc(var(--section-space) * .7); border-top: 0; }
.projects-page .section-number {
  margin-bottom: 41px;
  margin-left: -2.993%;
  color: #000;
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
  font-size: calc(1.417rem + 2pt);
}
.project-entry + .project-entry {
  position: relative;
  margin-top: var(--project-separator-space);
  padding-top: var(--project-separator-space);
  border-top: 0;
}
.project-entry + .project-entry::before {
  content: "";
  position: absolute;
  top: 0;
  left: -2.993%;
  width: 89.526%;
  height: 1px;
  background: var(--line);
}
.project-overview { margin-bottom: 18px; }
.projects-page .project-overview { transform: translateX(-8.23%); }
.project-card { min-height: 560px; padding: 40px 48px; color: var(--white); background: var(--ink); border-radius: 4px; }
.project-card > .panel-index { margin-bottom: 88px; }
.project-entry-speaker .project-card > .panel-index { margin-bottom: 60px; }
.project-entry-energy .project-card > .panel-index { margin-bottom: 44px; }
.project-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.project-card-grid > div:first-child { padding-right: 64px; }
.project-card-grid > div:last-child { padding-top: 20px; padding-left: 64px; border-left: 1px solid #44504a; }
.project-title { margin-bottom: 36px; font-family: Arial, Helvetica, sans-serif; font-size: clamp(2.7rem, 4.5vw, 4.5rem); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; }
.project-summary { max-width: 540px; margin-bottom: 0; color: #b7c0bc; font-size: 1.02rem; }
.project-card h2 { margin-bottom: 36px; color: var(--white); font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif; font-size: 1.25rem; font-weight: 750; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; }
.project-scope-list { margin: 0; padding: 0; list-style: none; }
.project-scope-list li { padding: 7px 0; font-size: .94rem; line-height: 1.4; }
.project-scope-list li::before { content: "—"; margin-right: 10px; color: #7a8981; }
.project-entry-energy .project-card-grid { grid-template-columns: .9fr 1.1fr; }
.project-entry-energy .project-card-grid > div:first-child { padding-right: 50px; }
.project-entry-energy .project-card-grid > div:last-child { padding-top: 4px; padding-left: 50px; }
.project-entry-energy .project-title { max-width: 430px; margin-bottom: 30px; font-size: clamp(2.35rem, 3.2vw, 3.2rem); line-height: 1.02; letter-spacing: -.04em; }
.project-entry-energy .project-summary { max-width: 470px; font-size: 1rem; }
.project-entry-energy .project-card h2 { margin-bottom: 26px; }
.project-entry-energy .project-scope-list li { padding: 5px 0; font-size: .88rem; line-height: 1.35; }
.project-entry-label .project-overview,
.project-entry-speaker .project-overview,
.project-entry-energy .project-overview,
.project-entry-display .project-overview,
.project-entry-nfc-programmer .project-overview { margin-bottom: 0; }
.project-entry-display .project-overview { margin-top: -3.18%; margin-bottom: -4.43%; }
.project-card-display,
.project-card-harvesting,
.project-card-label,
.project-card-speaker,
.project-card-nfc {
  position: relative;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: #f4f4f2;
}
.project-card-display {
  aspect-ratio: 1604 / 1811;
  transform: translateX(1.15%);
  background: transparent url("assets/realizacje/display-interface-board/display-interface-background.png") center / 100% 100% no-repeat;
  border-radius: 0;
}
.project-card-harvesting {
  width: 89.526%;
  aspect-ratio: 1434 / 1570;
  margin-inline: auto;
  container-type: inline-size;
  background: #050607 url("assets/realizacje/harvestkit/harvesting-background.png") 47.5% 50% / 278.94% auto no-repeat;
  border-radius: 14px;
}
.project-card-label {
  width: 89.526%;
  aspect-ratio: 1434 / 1409;
  margin-inline: auto;
  background: #050607 url("assets/realizacje/metka/label-background.png") 47.5% 26% / 278.94% auto no-repeat;
  border-radius: 14px;
}
.project-card-speaker {
  width: 89.526%;
  aspect-ratio: 1434 / 1464;
  margin-inline: auto;
  background: #050607 url("assets/realizacje/speaker/speaker-background.png") 47.5% 56.75% / 278.94% auto no-repeat;
  border-radius: 14px;
}
.project-card-nfc {
  width: 89.526%;
  aspect-ratio: 1434 / 1688;
  margin-inline: auto;
  background: #050607 url("assets/realizacje/programator-tagow-nfc/programator-nfc-background.png") 47.5% 39.5% / 278.94% auto no-repeat;
  border-radius: 14px;
}
.display-project-intro,
.display-project-scope,
.harvesting-project-intro,
.harvesting-project-scope,
.label-project-intro,
.label-project-scope,
.speaker-project-intro,
.speaker-project-scope,
.nfc-project-title-block,
.nfc-project-summary,
.nfc-project-scope { position: absolute; }
.display-project-intro { top: 9.4%; left: 11.22%; width: 31%; }
.display-project-scope { top: 17.9%; left: 53.8%; width: 38.5%; }
.harvesting-project-intro { top: 5.7%; left: 7.4%; width: 47.5%; }
.harvesting-project-scope { top: 15.3045%; left: 55.2%; width: 38.2%; }
.label-project-intro { top: 9.3%; left: 7.4%; width: 43.2%; }
.label-project-scope { top: 18.8%; left: 55.2%; width: 38.2%; }
.speaker-project-intro { top: 6.5%; left: 6.5%; width: 86%; }
.speaker-project-scope { top: 24.5%; left: 56.1%; width: 37%; }
.nfc-project-title-block { top: 7.2%; left: 7%; width: 48%; }
.nfc-project-summary { top: 26%; left: 7%; width: 41%; }
.nfc-project-scope { top: 19.4%; left: 54.1%; width: 39%; }
.project-card-display .project-title,
.project-card-harvesting .project-title,
.project-card-label .project-title,
.project-card-speaker .project-title,
.project-card-nfc .project-title {
  max-width: none;
  margin-bottom: 10.8%;
  color: #f7f7f5;
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.2rem, 4.55vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}
.project-card-harvesting .project-title {
  transform: translateY(-0.312cqw);
  white-space: nowrap;
}
.project-card-label .project-title { white-space: nowrap; }
.project-card-speaker .project-title { white-space: nowrap; }
.project-card-nfc .project-title { margin-bottom: 0; white-space: nowrap; }
.project-card-display .project-summary,
.project-card-display .project-scope-list,
.project-card-harvesting .project-summary,
.project-card-harvesting .project-scope-list,
.project-card-label .project-summary,
.project-card-label .project-scope-list,
.project-card-speaker .project-summary,
.project-card-speaker .project-scope-list,
.project-card-nfc .project-summary,
.project-card-nfc .project-scope-list {
  color: #d2d1ce;
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  font-size: clamp(.81rem, 1.935vw, 1.485rem);
  line-height: 1.35;
}
.project-card-display .project-summary,
.project-card-harvesting .project-summary,
.project-card-label .project-summary,
.project-card-speaker .project-summary,
.project-card-nfc .project-summary { max-width: none; }
.project-card-harvesting .project-summary { width: 80%; }
.project-card-label .project-summary { width: 88%; }
.project-card-speaker .project-summary { width: 45%; }
.project-card-display h2,
.project-card-harvesting h2,
.project-card-label h2,
.project-card-speaker h2,
.project-card-nfc h2 {
  margin-bottom: 6.5%;
  color: #d8d7d4;
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  font-size: clamp(.81rem, 1.935vw, 1.485rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: uppercase;
}
.project-card-display .project-scope-list,
.project-card-harvesting .project-scope-list,
.project-card-label .project-scope-list,
.project-card-speaker .project-scope-list,
.project-card-nfc .project-scope-list { padding-left: 1.2em; list-style: disc; }
.project-card-display .project-scope-list li,
.project-card-harvesting .project-scope-list li,
.project-card-label .project-scope-list li,
.project-card-speaker .project-scope-list li,
.project-card-nfc .project-scope-list li { padding: 0; font-size: inherit; line-height: 1.35; }
.project-card-display .project-scope-list li::before,
.project-card-harvesting .project-scope-list li::before,
.project-card-label .project-scope-list li::before,
.project-card-speaker .project-scope-list li::before,
.project-card-nfc .project-scope-list li::before { content: none; }
.project-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.project-gallery figure { position: relative; margin: 0; padding: 0; overflow: hidden; background: transparent; border-radius: 4px; }
.project-gallery figure::after { content: ""; position: absolute; inset: auto 0 0; z-index: 1; height: 34%; background: linear-gradient(to top, rgba(8, 18, 14, .8), rgba(8, 18, 14, 0)); pointer-events: none; }
.project-gallery .project-image-wide { grid-column: 1 / -1; }
.project-gallery img { width: 100%; aspect-ratio: 3 / 2; display: block; object-fit: cover; background: transparent; border-radius: 4px; }
.project-gallery figure:last-child img { object-position: top; }
.project-gallery figcaption { position: absolute; left: 22px; bottom: 18px; z-index: 2; max-width: calc(100% - 44px); padding: 0; color: var(--white); font-size: .82rem; line-height: 1.4; text-shadow: 0 1px 3px rgba(0, 0, 0, .65); }
.contact-card { padding: 56px; color: var(--white); background: var(--ink); border-radius: 4px; }
.contact-card > .panel-index { margin-bottom: 36px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; }
.contact-grid > div > p { max-width: 460px; color: #b7c0bc; }
address { font-style: normal; }
address div { padding: 14px 0; display: grid; border-bottom: 1px solid #44504a; }
address span { color: var(--accent); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
address strong { margin-top: 5px; color: var(--white); font-size: 1rem; }
footer { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); }
footer p { margin: 0; color: var(--muted); font-size: .78rem; }
@media (max-width: 760px) {
  :root { --section-space: 52px; --section-edge-space: 0px; --divider-space: 52px; --project-separator-space: 26px; }
  .site-header, .hero, .section, footer { width: min(100% - 32px, 1180px); }
  .site-header { min-height: 74px; }
  nav a:not(.nav-contact) { display: none; }
  .hero { padding: 24px 0 var(--divider-space); }
  .hero-panel { min-height: 560px; padding: 32px; }
  .hero-panel h1 { font-size: clamp(1rem, 5vw, 2.4rem); white-space: nowrap; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .section-number { margin-bottom: 20px; }
  .projects-page .section-number { margin-bottom: 31px; }
  .about-grid, .service-grid, .project-card-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-grid, .service-grid { gap: 0; }
  .about-panel { min-height: 500px; padding: 32px; }
  .about-panel:first-child, .service-card:first-child { border-radius: 4px 4px 0 0; }
  .about-panel:last-child, .service-card:last-child { border-radius: 0 0 4px 4px; }
  .about-panel h2 { margin-top: 60px; }
  .service-card { min-height: 500px; padding: 32px; }
  .project-card { min-height: 560px; padding: 32px; }
  .project-card > .panel-index { margin-bottom: 84px; }
  .project-card-grid { gap: 0; }
  .project-card-grid > div:first-child { padding-right: 0; }
  .project-card-grid > div:last-child { margin-top: 40px; padding: 40px 0 0; border-top: 1px solid #44504a; border-left: 0; }
  .project-entry-energy .project-card-grid { grid-template-columns: 1fr; }
  .project-entry-energy .project-card-grid > div:first-child { padding-right: 0; }
  .project-entry-energy .project-card-grid > div:last-child { margin-top: 40px; padding: 40px 0 0; border-top: 1px solid #44504a; border-left: 0; }
  .project-entry-energy .project-title { font-size: clamp(2.5rem, 12vw, 3.2rem); }
  .project-card-display,
  .project-card-harvesting,
  .project-card-label,
  .project-card-speaker,
  .project-card-nfc { min-height: 0; padding: 0; }
  .project-gallery { grid-template-columns: 1fr; }
  .project-gallery .project-image-wide { grid-column: auto; }
  .contact-card { padding: 32px; }
  .contact-card > .panel-index { margin-bottom: 52px; }
  footer { padding: 30px 0; align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }

/* Strona główna — układ według kompozycji */
.home-redesign {
  margin: 0;
  color: #0a0c10;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.35;
}
.home-redesign .home-shell {
  width: min(1180px, calc(100% - 100px));
  margin-inline: auto;
}
.home-redesign .home-header {
  width: max(860px, calc(86.5% - 35px));
  min-height: 75px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #c9cfd2;
}
.home-redesign .home-brand {
  flex: 0 0 auto;
  color: #080b0d;
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1;
}
.home-redesign .home-tagline {
  margin: 0;
  padding-left: 17px;
  color: #586273;
  border-left: 1px solid #b9c0c5;
  font-size: .82rem;
  line-height: 1.55;
  text-transform: uppercase;
  white-space: nowrap;
}
.home-redesign .home-navigation {
  margin-left: auto;
  display: flex;
  align-self: stretch;
  gap: 26px;
  font-size: calc(.92rem + 1pt);
  font-weight: 400;
}
.home-redesign .home-navigation a {
  position: relative;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.home-redesign .home-navigation a:hover,
.home-redesign .home-navigation a:focus-visible { opacity: .66; }
.home-redesign .home-navigation a.is-current {
  font-weight: 700;
  text-decoration: none;
}
.home-redesign .home-navigation a.is-current::after {
  content: none;
}
.home-redesign .home-languages {
  margin-left: 18px;
  padding-left: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-left: 1px solid #b9c0c5;
  color: #4f5868;
  font-size: calc(.92rem + 1pt);
  white-space: nowrap;
}
.home-redesign .home-languages a {
  color: inherit;
  text-decoration: none;
}
.home-redesign .home-languages a:hover,
.home-redesign .home-languages a:focus-visible {
  color: #0a0c10;
}
.home-redesign .home-languages .is-current {
  color: #0a0c10;
  font-weight: 700;
}
.home-redesign .language-separator {
  width: 1px;
  height: 22px;
  background: #b9c0c5;
}
.home-redesign .home-intro {
  padding-top: 55px;
}
.home-redesign .home-main-title {
  max-width: none;
  margin: 0 0 15px;
  color: #080a0e;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.3rem, 4.05vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.home-redesign .home-lead {
  margin: 0;
  color: #505a6b;
  font-size: clamp(1.05rem, 2.05vw, 1.4rem);
  line-height: 1.42;
}
.home-redesign .home-services {
  margin-top: 34px;
  display: grid;
  gap: 40px;
}
.home-redesign .home-service {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}
.home-redesign .home-service-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 28% 21%, rgba(255, 255, 255, .16), transparent 32%),
    radial-gradient(circle at 74% 78%, rgba(0, 28, 18, .36), transparent 44%),
    linear-gradient(145deg, #0a7556, #00533d 58%, #003e30);
  border: 1px solid rgba(0, 58, 42, .76);
  border-radius: 50%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 -2px 6px rgba(0, 24, 18, .24),
    0 4px 10px rgba(10, 42, 32, .13);
}
.home-redesign .home-service-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-redesign .home-service h2 {
  margin: 0 0 1px;
  color: #090b0e;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.25rem, 2.15vw, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.home-redesign .home-service p {
  margin: 0;
  color: #4f5969;
  font-size: clamp(1rem, 1.83vw, 1.28rem);
  line-height: 1.34;
}
.home-redesign .home-collaboration {
  margin: 38px 0 28px;
  color: #4f5969;
  font-size: clamp(1rem, 1.8vw, 1.24rem);
  line-height: 1.4;
}
.home-redesign .home-cta {
  width: 300px;
  min-height: 58px;
  padding: 0 36px 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background:
    radial-gradient(circle at 25% 15%, rgba(255, 255, 255, .1), transparent 38%),
    linear-gradient(145deg, #087054, #00503d 68%, #003b2e);
  border: 1px solid #00523e;
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 3px 8px rgba(0, 44, 32, .12);
  font-size: 1.18rem;
  font-weight: 700;
  transition: transform 160ms ease, filter 160ms ease;
}
.home-redesign .home-cta:hover,
.home-redesign .home-cta:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.07);
}
.home-redesign .home-cta svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-redesign .home-contact {
  width: max(860px, calc(86.5% - 35px));
  margin-top: 39px;
  padding: 32px 0 62px;
  border-top: 1px solid #c9cfd2;
}
.projects-page.home-redesign .home-contact { margin-top: 1px; }
.home-redesign .home-contact > h2 {
  margin: 0 0 15px;
  color: #090b0e;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.45rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.home-redesign .home-contact-intro {
  margin: 0;
  color: #505a6b;
  font-size: clamp(1rem, 1.75vw, 1.23rem);
  line-height: 1.4;
}
.home-redesign .home-contact-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.05fr .85fr 1fr;
  gap: 44px;
}
.home-redesign .home-contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.home-redesign .home-contact-icon {
  width: 52px;
  height: 52px;
  display: grid;
  flex: 0 0 52px;
  place-items: center;
  color: #006047;
  background: #eef4f2;
  border-radius: 50%;
}
.home-redesign .home-contact-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-redesign .home-contact-label {
  display: block;
  color: #4f5969;
  font-size: .92rem;
  line-height: 1.35;
}
.home-redesign .home-contact-item a,
.home-redesign .home-contact-address strong {
  display: block;
  color: #00533e;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}
.home-redesign .home-contact-address {
  align-items: flex-start;
}
.home-redesign .home-contact-address address {
  display: block;
  color: #505a6b;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.4;
}
.home-redesign .home-contact-address address > span:not(.home-contact-label) {
  display: block;
  color: #505a6b;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}
.home-redesign .home-footer {
  width: max(860px, calc(86.5% - 35px));
  margin-inline: 0;
  min-height: 67px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #7a8492;
  border-top: 1px solid #c9cfd2;
}
.home-redesign .home-footer p {
  margin: 0;
  color: inherit;
  font-size: .82rem;
  line-height: 1.4;
}
.home-redesign .home-footer p:first-child span { margin-left: 12px; }
.home-redesign .home-footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
}
.home-redesign .home-footer-links a {
  color: inherit;
  text-decoration: none;
}
.home-redesign .home-footer-links a:hover,
.home-redesign .home-footer-links a:focus-visible {
  color: #00533e;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.home-redesign .home-footer-links i {
  width: 1px;
  height: 18px;
  background: #b9c0c5;
}

@media (max-width: 980px) {
  .home-redesign .home-shell { width: min(100% - 48px, 820px); }
  .home-redesign .home-header { width: 100%; flex-wrap: wrap; gap: 12px 18px; padding: 17px 0 14px; }
  .home-redesign .home-contact,
  .home-redesign .home-footer { width: 100%; }
  .home-redesign .home-tagline { order: 2; }
  .home-redesign .home-navigation { align-self: auto; }
  .home-redesign .home-navigation a.is-current::after { bottom: -8px; }
  .home-redesign .home-languages { margin-left: 0; padding-left: 18px; }
  .home-redesign .home-contact-grid { grid-template-columns: repeat(2, 1fr); }
  .home-redesign .home-contact-address { grid-column: 1 / -1; }
}

@media (min-width: 981px) and (max-width: 1279px) {
  .home-redesign .home-header { flex-wrap: wrap; gap: 12px 18px; padding: 17px 0 14px; }
  .home-redesign .home-tagline { order: 2; }
  .home-redesign .home-navigation { align-self: auto; }
}

@media (min-width: 1101px) and (max-width: 1279px) {
  .projects-page .project-overview { transform: translateX(-9%); }
  .projects-page .section-number { margin-left: -3.763%; }
  .project-entry + .project-entry::before { left: -3.763%; }
}

@media (min-width: 981px) and (max-width: 1100px) {
  .projects-page .project-overview { transform: translateX(-4%); }
  .projects-page .section-number { margin-left: 1.237%; }
  .project-entry + .project-entry::before { left: 1.237%; }
}

@media (max-width: 980px) {
  .projects-page .project-overview { transform: none; }
  .projects-page .section-number { margin-left: 5.237%; }
  .project-entry + .project-entry::before { left: 5.237%; }
  /* Raise only narrow-view Harvesting scope; restore its original top at 801px. */
  .projects-page .harvesting-project-scope { top: clamp(7%, calc(15.3045% + 100vw - 801px), 15.3045%); }
}

@media (min-width: 1280px) {
  .projects-page.home-redesign .home-header,
  .projects-page.home-redesign .home-contact,
  .projects-page.home-redesign .home-footer {
    width: 89.526%;
    margin-left: -3%;
  }
}

@media (max-width: 700px) {
  .home-redesign .home-shell { width: min(100% - 32px, 560px); }
  .home-redesign .home-header { display: grid; grid-template-columns: 1fr auto; }
  .home-redesign .home-brand { font-size: 1.6rem; }
  .home-redesign .home-tagline { grid-column: 1 / -1; grid-row: 2; padding: 9px 0 0; border-top: 1px solid #e0e4e6; border-left: 0; font-size: .72rem; white-space: normal; }
  .home-redesign .home-navigation { margin-left: 0; justify-content: flex-end; gap: 16px; font-size: calc(.84rem + 1pt); }
  .home-redesign .home-languages { grid-column: 1 / -1; grid-row: 3; padding: 6px 0 0; border-left: 0; font-size: calc(.82rem + 1pt); }
  .home-redesign .home-intro { padding-top: 40px; }
  .home-redesign .home-main-title { font-size: clamp(2rem, 10vw, 2.8rem); }
  .home-redesign .desktop-break { display: none; }
  .home-redesign .home-services { gap: 30px; }
  .home-redesign .home-service { grid-template-columns: 64px minmax(0, 1fr); align-items: start; gap: 18px; }
  .home-redesign .home-service-icon { width: 58px; height: 58px; }
  .home-redesign .home-service-icon svg { width: 33px; height: 33px; }
  .home-redesign .home-service h2 { font-size: 1.2rem; }
  .home-redesign .home-service p { font-size: 1rem; }
  .home-redesign .home-cta { width: 100%; max-width: 300px; }
  .home-redesign .home-contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .home-redesign .home-contact { padding-bottom: 40px; }
  .home-redesign .home-contact-address { grid-column: auto; }
  .home-redesign .home-footer { padding: 22px 0; flex-direction: column; align-items: flex-start; }
  .home-redesign .home-footer p:first-child span { display: block; margin: 3px 0 0; }
  .projects-page .project-card-display .project-title,
  .projects-page .project-card-harvesting .project-title,
  .projects-page .project-card-label .project-title,
  .projects-page .project-card-speaker .project-title,
  .projects-page .project-card-nfc .project-title { font-size: 4.55vw; }
  .projects-page .project-card-display .project-summary,
  .projects-page .project-card-display .project-scope-list,
  .projects-page .project-card-harvesting .project-summary,
  .projects-page .project-card-harvesting .project-scope-list,
  .projects-page .project-card-label .project-summary,
  .projects-page .project-card-label .project-scope-list,
  .projects-page .project-card-speaker .project-summary,
  .projects-page .project-card-speaker .project-scope-list,
  .projects-page .project-card-nfc .project-summary,
  .projects-page .project-card-nfc .project-scope-list,
  .projects-page .project-card-display h2,
  .projects-page .project-card-harvesting h2,
  .projects-page .project-card-label h2,
  .projects-page .project-card-speaker h2,
  .projects-page .project-card-nfc h2 { font-size: 1.935vw; line-height: 1.3; }
}

@media (max-width: 420px) {
  .home-redesign .home-navigation { grid-column: 1 / -1; grid-row: 3; justify-content: flex-start; }
  .home-redesign .home-languages { grid-row: 4; }
  .home-redesign .home-service { grid-template-columns: 54px minmax(0, 1fr); gap: 14px; }
  .home-redesign .home-service-icon { width: 50px; height: 50px; }
  .home-redesign .home-service-icon svg { width: 29px; height: 29px; }
  .home-redesign .home-contact-item { gap: 14px; }
  .home-redesign .home-contact-icon { width: 46px; height: 46px; flex-basis: 46px; }
  .home-redesign .home-contact-item a,
  .home-redesign .home-contact-address strong { font-size: 1rem; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .home-redesign .home-cta { transition: none; }
}

/* Polityka prywatności — podstrona zgodna z układem witryny */
.privacy-page .privacy-main {
  width: max(860px, calc(86.5% - 35px));
  padding: 52px 0 74px;
}
.privacy-page .privacy-document {
  max-width: 900px;
  color: #303846;
}
.privacy-page .privacy-document-header {
  padding-bottom: 34px;
  border-bottom: 1px solid #c9cfd2;
}
.privacy-page .privacy-draft-label {
  margin: 0 0 18px;
  color: #7a4d00;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.privacy-page .privacy-document h1 {
  margin: 0 0 12px;
  color: #080a0e;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.04em;
}
.privacy-page .privacy-updated {
  margin: 0 0 24px;
  color: #596474;
  font-size: .92rem;
}
.privacy-page .privacy-lead {
  max-width: 780px;
  margin: 0;
  color: #4f5969;
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  line-height: 1.55;
}
.privacy-page .privacy-section {
  padding: 36px 0 4px;
}
.privacy-page .privacy-section + .privacy-section {
  margin-top: 18px;
  border-top: 1px solid #e0e3e4;
}
.privacy-page .privacy-section h2 {
  margin: 0 0 22px;
  color: #0a0c10;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.privacy-page .privacy-section h2 span {
  color: #006047;
}
.privacy-page .privacy-section h3 {
  margin: 26px 0 8px;
  color: #161c22;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}
.privacy-page .privacy-section p,
.privacy-page .privacy-section li,
.privacy-page .privacy-section td,
.privacy-page .privacy-section th {
  font-size: 1rem;
  line-height: 1.65;
}
.privacy-page .privacy-section p {
  margin: 0 0 15px;
}
.privacy-page .privacy-section ul {
  margin: 0 0 18px;
  padding-left: 1.25rem;
}
.privacy-page .privacy-section a {
  color: #005d45;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.privacy-page .privacy-placeholder {
  color: #714600;
  background: #fff6df;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.privacy-page p.privacy-placeholder {
  padding: 13px 15px;
  border-left: 3px solid #d29a37;
  border-radius: 0 4px 4px 0;
}
.privacy-page .privacy-table-wrap {
  margin: 20px 0 24px;
  overflow-x: auto;
}
.privacy-page table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.privacy-page th,
.privacy-page td {
  padding: 15px 17px;
  vertical-align: top;
  text-align: left;
  border: 1px solid #d9dddf;
}
.privacy-page th {
  color: #11161c;
  background: #eef3f1;
  font-weight: 700;
}
.privacy-page .home-footer-links .is-current {
  color: #4a5462;
  font-weight: 700;
}

.legal-page .legal-details {
  margin: 18px 0 8px;
}
.legal-page .legal-details > div {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
  gap: 10px 22px;
  padding: 8px 0;
}
.legal-page .legal-details dt {
  color: #161c22;
  font-weight: 700;
}
.legal-page .legal-details dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .privacy-page .privacy-main { width: 100%; }
}

@media (max-width: 700px) {
  .privacy-page .privacy-main { padding: 40px 0 52px; }
  .privacy-page .privacy-document-header { padding-bottom: 28px; }
  .privacy-page .privacy-section { padding-top: 28px; }
  .privacy-page .privacy-section + .privacy-section { margin-top: 12px; }
  .legal-page .legal-details > div { grid-template-columns: 1fr; gap: 3px; }
  .privacy-page th,
  .privacy-page td { min-width: 230px; padding: 12px 13px; }
}

/* Card compositions are provided by the existing background images. */
.project-mobile-visual { display: none; }
