:root {
  --bg: #f8fafb;
  --surface: #f0f4f7;
  --card: #fff;
  --text: #102a43;
  --muted: #54677a;
  --accent: #0a3970;
  --accent-hover: #164c85;
  --line: #dde5ec;
  --tint: #eaf0f5;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--card);
  color: var(--text);
  font-family: Manrope, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
  max-width: 65ch;
}
h1,
h2 {
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.06;
}
h2 {
  font-size: 48px;
}
h3 {
  font-weight: 600;
  line-height: 1.35;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #4c8ac4;
  outline-offset: 5px;
}
.container {
  width: min(1440px, calc(100% - 112px));
  margin-inline: auto;
}
.section {
  padding-block: 96px;
}
.icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
  vertical-align: middle;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  z-index: 20;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  background: var(--bg);
  position: relative;
  z-index: 10;
}
.nav-shell {
  width: min(1440px, calc(100% - 112px));
  margin: auto;
  height: 88px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  display: block;
  width: 224px;
  flex-shrink: 0;
}
.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}
.desktop-nav a:hover,
.footer a:hover {
  color: var(--accent-hover);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  transition:
    background 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.icon-button:hover {
  background: var(--tint);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 48px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 2px;
  white-space: nowrap;
  transition:
    background 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.primary {
  color: #fff;
  background: var(--accent);
}
.primary:hover {
  background: var(--accent-hover);
}
.secondary {
  color: var(--accent);
  background: var(--card);
}
.button-icon {
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease);
}
.button:hover .button-icon {
  transform: translateX(4px);
}
.button:active,
.icon-button:active {
  transform: translateY(1px);
}
.nav-cta {
  font-size: 14px;
  min-height: 44px;
}
.nav-cta .button-icon {
  display: none;
}
.menu-toggle {
  display: none;
  background: transparent;
  width: 44px;
  height: 44px;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--text);
  left: 11px;
  top: 17px;
  transition: transform 0.25s var(--ease);
}
.menu-toggle span + span {
  top: 25px;
}
.menu-toggle[aria-expanded="true"] span {
  transform: translateY(4px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span + span {
  transform: translateY(-4px) rotate(-45deg);
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 514px;
  display: flex;
  align-items: center;
  padding-block: 28px 48px;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  box-shadow: 0 0 0 100vmax var(--bg);
  clip-path: inset(0 -100vmax);
  z-index: -2;
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: 47%;
}
.hero h1 {
  font-size: 96px;
  line-height: 0.99;
  letter-spacing: -0.045em;
}
.hero-copy p {
  font-size: 16px;
  line-height: 1.5;
  max-width: 480px;
  margin: 24px 0 28px;
}
.hero-visual {
  position: absolute;
  inset: -32px -56px 0 auto;
  width: 65%;
  z-index: -1;
  display: flex;
  align-items: center;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.hero-caption {
  position: absolute;
  bottom: 12px;
  right: 56px;
  font-size: 11px;
  color: var(--muted);
}
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 24px;
  gap: 32px;
  min-height: 98px;
}
.proof-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.proof-item + .proof-item {
  border-left: 1px solid var(--line);
}
.proof-item > .icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
}
.proof-item p {
  font-size: 14px;
  line-height: 1.5;
}
.proof-item strong {
  font-weight: 600;
  display: block;
}
.proof-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
@media (max-width: 1150px) {
  .container,
  .nav-shell {
    width: calc(100% - 80px);
  }
  .nav-shell {
    gap: 24px;
  }
  .desktop-nav {
    gap: 20px;
  }
  .brand {
    width: 190px;
  }
  .nav-actions {
    gap: 8px;
  }
  .nav-cta {
    padding-inline: 16px;
  }
  .hero h1 {
    font-size: 80px;
  }
  .hero-copy p {
    max-width: 410px;
  }
  .hero-visual {
    right: -40px;
    width: 62%;
  }
  .hero-caption {
    right: 40px;
  }
}
@media (max-width: 900px) {
  .container,
  .nav-shell {
    width: calc(100% - 48px);
  }
  .desktop-nav {
    gap: 16px;
  }
  .brand {
    width: 168px;
  }
  .nav-cta {
    display: none;
  }
  .hero h1 {
    font-size: 72px;
  }
  .hero-visual {
    right: -24px;
    width: 59%;
  }
  .hero-copy {
    width: 52%;
  }
  .hero-copy p {
    font-size: 14px;
  }
  .hero {
    min-height: 480px;
  }
  .hero-caption {
    right: 24px;
  }
  .proof-strip {
    gap: 16px;
  }
  .proof-item {
    gap: 12px;
  }
  .proof-item > .icon {
    width: 28px;
    height: 28px;
  }
  .proof-item p {
    font-size: 12px;
  }
  .proof-item span {
    font-size: 11px;
  }
}
@media (max-width: 767px) {
  .container,
  .nav-shell {
    width: calc(100% - 40px);
  }
  .section {
    padding-block: 64px;
  }
  .nav-shell {
    height: 76px;
    gap: 16px;
  }
  .brand {
    width: 174px;
  }
  .desktop-nav {
    display: none;
  }
  .nav-actions {
    margin-left: auto;
  }
  .menu-toggle {
    display: block;
  }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-block: 24px 0;
    min-height: auto;
  }
  .hero-copy {
    width: 100%;
  }
  .hero h1 {
    font-size: 64px;
    line-height: 1;
    letter-spacing: -0.04em;
  }
  .hero-copy p {
    font-size: 14px;
    max-width: 380px;
    margin: 20px 0 24px;
  }
  .hero-visual {
    position: relative;
    inset: auto;
    z-index: auto;
    width: calc(100% + 40px);
    margin: 8px -20px 0;
    height: 310px;
  }
  .hero-visual img {
    height: 100%;
    width: 100%;
    object-fit: contain;
  }
  .hero-caption {
    font-size: 10px;
    right: 20px;
    bottom: 8px;
  }
  .proof-strip {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 8px;
  }
  .proof-item {
    justify-content: flex-start;
    padding: 16px 0;
    gap: 20px;
  }
  .proof-item + .proof-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .proof-item p {
    font-size: 14px;
  }
  .proof-item span {
    font-size: 12px;
  }
  .proof-item > .icon {
    width: 30px;
    height: 30px;
  }
  h2 {
    font-size: 36px;
  }
}
@media (max-width: 359px) {
  .hero h1 {
    font-size: 56px;
  }
  .brand {
    width: 150px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
/* The approved composition is flat and open: content defines the regions. */

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  margin-top: 20px;
  color: var(--accent);
}
.text-button:hover {
  color: var(--accent-hover);
}

.filter.active {
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
}
.filter:hover {
  color: var(--accent);
}

.category[hidden] {
  display: none;
}

.category-arrow .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}
.category:hover .category-arrow .icon {
  transform: translateX(4px);
}
.category:hover h3 {
  color: var(--accent-hover);
}

.thumb-0 {
  background: none;
}
.thumb-0 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.thumb-1 {
  background-position: 0 0;
}
.thumb-2 {
  background-position: 50% 0;
}
.thumb-3 {
  background-position: 100% 0;
}
.thumb-4 {
  background-position: 0 100%;
}
.thumb-5 {
  background-position: 50% 100%;
}
.thumb-6 {
  background-position: 100% 100%;
}
.catalog-caption {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}
.about-section {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 96px;
  align-items: center;
}
.material-shell {
  margin-bottom: 24px;
}
.material-shell img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.material-shell figcaption {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}
.about-copy h2 {
  font-size: 56px;
}
.about-copy h2 span {
  color: var(--accent);
}
.about-copy p {
  font-size: 18px;
  margin-top: 24px;
  max-width: 440px;
  line-height: 1.65;
}
.about-copy .muted {
  font-size: 16px;
  color: var(--muted);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
}
.text-link .icon {
  transition: transform 0.25s var(--ease);
}
.text-link:hover .icon {
  transform: translate(3px, -3px);
}
.about-copy .text-link {
  margin-top: 32px;
}
#dokumenty {
  background: var(--surface);
  width: 100%;
  max-width: none;
  padding-inline: max(56px, calc((100% - 1440px) / 2));
}
.support-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}
.support-panel h2 {
  font-size: 40px;
}
.support-panel p {
  font-size: 16px;
  color: var(--muted);
  margin: 24px 0 32px;
  max-width: 410px;
}
.document-links {
  display: grid;
}
.document-links > a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #d2dde6;
}
.document-links > a:hover {
  color: var(--accent);
}
.document-links > a > .icon:first-child {
  width: 32px;
  height: 32px;
  color: var(--accent);
}
.document-links span {
  flex: 1;
  font-weight: 600;
}
.document-links small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
}
.document-links > a > .icon:last-child {
  transition: transform 0.25s var(--ease);
}
.document-links > a:hover > .icon:last-child {
  transform: translate(3px, -3px);
}

.news-item > .icon {
  transition: transform 0.25s var(--ease);
}
.news-item:hover > .icon {
  transform: translate(4px, -4px);
}
.contact-section {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 64px;
  padding-top: 64px;
  padding-bottom: 112px;
}
.contact-section h2 {
  font-size: 56px;
}
.contact-section > div > p {
  margin: 24px 0 32px;
  color: var(--muted);
}
.contact-details {
  padding-left: 48px;
}
.contact-details > a:not(.text-link) {
  display: block;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.contact-details > p {
  font-size: 14px;
}

dialog {
  color: var(--text);
  background: var(--card);
  border: 0;
  padding: 32px;
  box-shadow: 0 24px 96px #16344d30;
}
dialog::backdrop {
  background: #142c4380;
}
.search-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: 80dvh;
  border-radius: 2px;
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.dialog-heading h2 {
  font-size: 30px;
}
.search-label {
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}
.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
}
.search-field input {
  background: transparent;
  border: 0;
  color: var(--text);
  width: 100%;
  min-width: 0;
  font-size: 16px;
}
.search-field input::placeholder {
  color: var(--muted);
}
.search-status {
  font-size: 14px;
  color: var(--muted);
  margin-block: 16px;
}
.search-results {
  display: grid;
  gap: 4px;
  max-height: 45dvh;
  overflow: auto;
}
.search-result {
  display: block;
  padding: 16px;
  background: var(--surface);
}
.search-result:hover {
  background: var(--tint);
}
.search-result small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.skeleton {
  height: 72px;
  background: var(--surface);
}
.empty-state {
  padding: 32px 16px;
  background: var(--surface);
}
.empty-state p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
.retry {
  margin-top: 12px;
  color: var(--accent);
  background: transparent;
  font-weight: 600;
  padding: 8px;
}
.mobile-menu {
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  padding: 24px;
  margin: 0;
}
.mobile-menu nav {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}
.mobile-menu nav a {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.menu-contact {
  display: block;
  margin-top: 48px;
  color: var(--muted);
}
body:has(dialog[open]) {
  overflow: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: hero-in 0.65s var(--ease) both;
  }
  .hero-visual {
    animation: hero-in 0.85s 0.08s var(--ease) both;
  }
  .reveal.is-seen {
    animation: hero-in 0.65s var(--ease) both;
  }
  .mobile-menu[open] nav a {
    animation: hero-in 0.45s var(--ease) both;
  }
  .mobile-menu[open] nav a:nth-child(2) {
    animation-delay: 0.04s;
  }
  .mobile-menu[open] nav a:nth-child(3) {
    animation-delay: 0.08s;
  }
  @keyframes hero-in {
    from {
      opacity: 0.5;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
@media (min-width: 1151px) {
  .hero {
    min-height: 534px;
  }
  .hero h1 {
    font-size: 104px;
    letter-spacing: -0.04em;
  }
  .hero-visual {
    top: -8px;
  }
}
.hero-visual {
  mix-blend-mode: multiply;
}
.hero-visual img {
  mix-blend-mode: normal;
}
@media (max-width: 1150px) {
  .about-section {
    gap: 48px;
  }
  .about-copy h2,
  .contact-section h2 {
    font-size: 48px;
  }
  .support-panel {
    gap: 48px;
  }
  .contact-details {
    padding-left: 0;
  }
  #dokumenty {
    padding-inline: 40px;
  }
}
@media (max-width: 900px) {
  .material-shell img {
    height: 440px;
  }
  .about-section {
    gap: 32px;
  }
  .about-copy h2 {
    font-size: 40px;
  }
  .about-copy p {
    font-size: 16px;
  }
  .support-panel {
    gap: 32px;
  }
  .support-panel h2 {
    font-size: 36px;
  }
  #dokumenty {
    padding-inline: 24px;
  }

  .contact-details > a:not(.text-link) {
    font-size: 18px;
  }
}
@media (max-width: 767px) {
  .text-button {
    margin-top: 12px;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .material-shell {
    margin: 0;
  }
  .material-shell img {
    height: 340px;
  }
  .about-copy h2 {
    font-size: 40px;
  }
  .about-copy p {
    font-size: 16px;
  }
  .support-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .support-panel h2 {
    font-size: 32px;
  }
  #dokumenty {
    padding-inline: 20px;
  }
  .document-links > a {
    padding-block: 20px;
    gap: 16px;
  }
  .document-links > a > .icon:first-child {
    width: 24px;
  }
  .document-links span {
    font-size: 14px;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 32px;
    padding-bottom: 64px;
  }
  .contact-section h2 {
    font-size: 36px;
  }
  .contact-details > a:not(.text-link) {
    font-size: 20px;
  }
  .contact-details > p {
    margin-top: 24px !important;
  }

  .search-dialog {
    padding: 24px 16px;
  }
  .dialog-heading h2 {
    font-size: 24px;
  }
  .mobile-menu nav a {
    font-size: 30px;
  }
}
/* Keep the off-screen skip link out of capture/paint until keyboard focus. */
.skip-link:not(:focus) {
  clip-path: inset(50%);
}

/* Expanded version A: generous hero, visual catalogue and editorial news. */
.hero {
  min-height: 680px;
  padding-block: 64px 72px;
}
.hero-copy {
  width: 44%;
}
.hero h1 {
  font-size: 96px;
  letter-spacing: -0.04em;
}
.hero-copy p {
  margin-block: 32px;
}
.hero-visual {
  inset: 0 -56px 0 auto;
  width: 66%;
}
.hero-caption {
  bottom: 24px;
}
.catalog-section {
  display: block;
  border-top: 1px solid var(--line);
  padding-block: 80px 96px;
}
.catalog-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
}
.section-heading h2 {
  max-width: 640px;
}
.section-heading p {
  max-width: 600px;
  margin-top: 24px;
  font-size: 18px;
}
.catalog-intro .text-button {
  flex-shrink: 0;
}
.catalog-toolbar {
  margin-bottom: 32px;
}
.filter-group {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.filter {
  background: transparent;
  padding: 12px 0;
  min-height: 44px;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  color: var(--muted);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 24px;
}
.category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 20px 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.category-thumb {
  display: block;
  grid-column: 1/-1;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  background-image: url("assets/images/category-atlas.webp");
  background-size: 300% 200%;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
}
.category .thumb-0 {
  background: #fff;
}
.category h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
}
.category p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.category-arrow {
  padding-top: 4px;
}
.category-arrow .icon {
  width: 22px;
  height: 22px;
}
.news-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}
.news-heading p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
}
.news-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.news-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}
.news-image {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg);
  margin-bottom: 24px;
}
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.news-item:last-child .news-image img {
  object-fit: contain;
  padding: 24px;
  background: #fff;
}
.news-item:hover .news-image img {
  transform: scale(1.035);
}
.news-item time {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 12px;
}
.news-item h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.news-item p {
  font-size: 16px;
  color: var(--muted);
  margin-block: 16px 24px;
}
.news-item > .icon {
  margin-top: auto;
}
.footer {
  padding-block: 72px 24px;
  background: var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.15fr 1fr 1.05fr;
  gap: 48px;
}
.footer .brand {
  width: 200px;
  max-width: 100%;
}
.footer-company > p {
  font-size: 14px;
  color: var(--muted);
  margin-block: 24px;
}
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}
.footer-column h3 {
  font-size: 16px;
  margin-bottom: 12px;
}
.footer-column > a {
  font-size: 14px;
  line-height: 1.65;
}
.footer-column address {
  font-style: normal;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}
.footer-column address strong {
  font-weight: 600;
  color: var(--text);
}
.footer-contact > a {
  overflow-wrap: anywhere;
}
.footer-contact .text-link {
  margin-top: 12px;
}
.footer .icon {
  width: 18px;
  height: 18px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding-top: 24px;
}
@media (max-width: 1150px) {
  .hero {
    min-height: 620px;
  }
  .hero h1 {
    font-size: 80px;
  }
  .hero-visual {
    right: -40px;
    width: 64%;
  }
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .news-list {
    gap: 24px;
  }
  .news-item h3 {
    font-size: 20px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 64px;
  }
}
@media (max-width: 900px) {
  .hero {
    min-height: 580px;
  }
  .hero h1 {
    font-size: 72px;
  }
  .hero-copy {
    width: 48%;
  }
  .hero-visual {
    right: -24px;
    width: 61%;
  }
  .catalog-intro {
    gap: 24px;
  }
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .news-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
  .news-item p {
    font-size: 14px;
  }
}
@media (max-width: 767px) {
  .hero {
    min-height: auto;
    padding-block: 32px 0;
  }
  .hero-copy {
    width: 100%;
  }
  .hero h1 {
    font-size: 64px;
  }
  .hero-copy p {
    margin-block: 24px;
    font-size: 16px;
  }
  .hero-visual {
    position: relative;
    inset: auto;
    width: calc(100% + 40px);
    height: auto;
    aspect-ratio: 1.35;
    margin: 24px -20px 0;
  }
  .hero-caption {
    bottom: 12px;
  }
  .catalog-section {
    padding-block: 56px 64px;
  }
  .catalog-intro {
    display: block;
    margin-bottom: 24px;
  }
  .section-heading p {
    font-size: 16px;
    margin-top: 20px;
  }
  .filter-group {
    gap: 8px 24px;
  }
  .filter {
    font-size: 12px;
  }
  .category-grid {
    gap: 32px 16px;
  }
  .category {
    gap: 16px 8px;
    grid-template-columns: minmax(0, 1fr) 18px;
    padding-bottom: 20px;
  }
  .category h3 {
    font-size: 16px;
    text-wrap: initial;
  }
  .category p {
    font-size: 12px;
  }
  .category-arrow .icon {
    width: 18px;
    height: 18px;
  }
  .news-heading {
    margin-bottom: 32px;
  }
  .news-heading p {
    font-size: 16px;
    margin-top: 20px;
  }
  .news-list {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .news-item h3 {
    font-size: 24px;
  }
  .news-item p {
    font-size: 16px;
  }
  .footer {
    padding-top: 56px;
  }
  .footer-grid {
    gap: 40px 24px;
  }
  .footer-company,
  .footer-contact {
    grid-column: 1/-1;
  }
  .footer-column {
    gap: 16px;
  }
  .footer-column > a {
    font-size: 12px;
  }
  .footer-contact > a {
    font-size: 16px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    margin-top: 40px;
  }
}
@media (max-width: 359px) {
  .hero h1 {
    font-size: 56px;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .category-thumb {
    aspect-ratio: 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Development analysis: the material, the model and the working relationship. */
.producer-heading,
.cooperation-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 40px;
}
.producer-heading h2 {
  font-size: 56px;
}
.producer-heading p,
.cooperation-heading p {
  color: var(--muted);
  font-size: 18px;
}
.producer-heading .text-link {
  margin-top: 24px;
}
.production-panorama img {
  width: 100%;
  aspect-ratio: 3/1;
  height: auto;
  object-fit: cover;
}
.production-panorama figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.process-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 48px;
  align-items: start;
}
.process-details img {
  width: 100%;
  aspect-ratio: 3/2;
  height: auto;
  object-fit: cover;
}
.process-details figcaption {
  margin-top: 24px;
}
.process-details h3 {
  font-size: 24px;
}
.process-details p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
}

#dokumenty .support-panel {
  align-items: start;
}
.document-search {
  min-width: 0;
}
.document-search .search-field,
.document-search .search-result,
.document-search .empty-state {
  background: var(--card);
}
.document-search .search-status {
  margin: 16px 0;
  font-size: 14px;
}
.document-search .search-results {
  max-height: 480px;
}
.result-product {
  font-weight: 600;
}
.result-product:hover {
  text-decoration: underline;
}
.result-files {
  display: flex;
  gap: 4px 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.result-files a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--accent);
}
.result-files a:hover,
.faq a:hover {
  color: var(--accent-hover);
}
.search-result {
  overflow-wrap: anywhere;
}
.cooperation-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding: 0;
  margin: 48px 0 64px;
  list-style: none;
}
.cooperation-steps li {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.cooperation-steps h3 {
  font-size: 24px;
}
.cooperation-steps p {
  color: var(--muted);
  font-size: 16px;
  margin-top: 12px;
}
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.faq-intro h3 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 320px;
}
.faq-intro p {
  font-size: 16px;
  color: var(--muted);
  margin-top: 24px;
  max-width: 300px;
}
.faq-intro .text-link {
  margin-top: 24px;
}
.faq-list {
  min-width: 0;
}
.faq details {
  border-bottom: 1px solid var(--line);
  transition: background-color 250ms var(--ease);
}
.faq details[open] {
  background: var(--surface);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  list-style: none;
  cursor: pointer;
  padding: 24px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::marker {
  content: "";
}
.faq summary:hover {
  color: var(--accent-hover);
  background: var(--bg);
}
.faq summary:active {
  background: var(--tint);
}
.faq summary:focus-visible {
  outline: 3px solid #4c8ac4;
  outline-offset: -3px;
}
.faq-toggle {
  width: 24px;
  height: 24px;
  color: var(--accent);
  transition: transform 250ms var(--ease);
}
.faq details[open] .faq-toggle {
  transform: rotate(45deg);
}
.faq details p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
  padding: 0 72px 24px 24px;
  max-width: 65ch;
}
.faq details a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-section {
  border-top: 1px solid var(--line);
  padding-bottom: 80px;
}
.contact-details .contact-person {
  margin: 0 0 24px;
  color: var(--muted);
}
.news-section {
  border-top: 1px solid var(--line);
}
@media (max-width: 1150px) {
  .producer-heading h2 {
    font-size: 48px;
  }
  .producer-heading,
  .cooperation-heading,
  .faq {
    gap: 40px;
  }
  .process-details {
    gap: 24px;
  }
  .process-details h3 {
    font-size: 20px;
  }
}
@media (max-width: 767px) {
  .producer-heading,
  .cooperation-heading,
  .faq {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .producer-heading h2 {
    font-size: 40px;
  }
  .producer-heading p,
  .cooperation-heading p {
    font-size: 16px;
  }
  .production-panorama img {
    aspect-ratio: 3/2;
  }
  .production-panorama figcaption {
    font-size: 12px;
  }
  .process-details {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
  }
  .process-details figure {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 20px;
    align-items: start;
  }

  .process-details h3 {
    font-size: 18px;
  }
  .process-details figcaption {
    margin-top: 0;
  }
  .process-details img {
    aspect-ratio: 1;
  }
  .process-details p {
    margin-top: 12px;
  }

  .cooperation-heading h2 {
    font-size: 36px;
  }
  .cooperation-steps {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 32px 0 48px;
  }
  .cooperation-steps li {
    padding-top: 16px;
  }

  .cooperation-steps p {
    font-size: 14px;
    margin-top: 8px;
  }
  .cooperation-steps h3 {
    font-size: 20px;
  }
  .faq {
    padding-top: 40px;
    gap: 32px;
  }
  .faq-intro h3 {
    font-size: 30px;
    max-width: 300px;
  }
  .faq-intro p {
    margin-top: 16px;
  }
  .faq summary {
    padding: 20px 16px;
    gap: 16px;
    font-size: 16px;
  }
  .faq details p {
    padding: 0 16px 24px;
    font-size: 14px;
  }
  .contact-section {
    padding-block: 48px 64px;
  }
  .contact-details .contact-person {
    margin-top: 0 !important;
  }
  .news-list {
    gap: 24px;
  }
  .news-item:not(:first-child) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 80px;
    gap: 8px 16px;
  }
  .news-item:not(:first-child) .news-image {
    grid-column: 2;
    grid-row: 1/4;
    margin: 0;
    aspect-ratio: 1;
  }
  .news-item:not(:first-child) time {
    margin: 0;
  }
  .news-item:not(:first-child) h3 {
    font-size: 18px;
  }
  .news-item:not(:first-child) p {
    display: none;
  }
  .news-item:not(:first-child) > .icon {
    grid-column: 1;
    width: 18px;
  }
  .news-item:last-child .news-image img {
    padding: 8px;
  }
  /* Compact, fully visible catalogue: every category keeps its link and image. */
  .category-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .category {
    grid-template-columns: 88px minmax(0, 1fr) 18px;
    grid-template-rows: auto;
    gap: 16px;
    align-items: center;
    padding-block: 16px;
  }
  .category-thumb {
    grid-column: auto;
    width: 88px;
    aspect-ratio: 1;
  }
  .category h3 {
    font-size: 16px;
  }
  .category p {
    font-size: 12px;
  }
  .category-arrow {
    padding: 0;
  }
}
@media (max-width: 359px) {
  .producer-heading h2,
  .cooperation-heading h2 {
    font-size: 30px;
  }
  .process-details {
    gap: 24px 16px;
  }
  .category {
    grid-template-columns: 64px minmax(0, 1fr) 18px;
    gap: 12px;
  }
  .category-thumb {
    width: 64px;
  }
}
.funding-section {
  border-top: 1px solid var(--line);
}
.funding-logos {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 40px;
}
.funding-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
}
.funding-content h2 {
  font-size: 36px;
  max-width: 440px;
}
.funding-content p {
  color: var(--muted);
}
.funding-program {
  font-size: 14px;
  margin-top: 16px;
}
.funding-content .text-link {
  margin-top: 24px;
}
@media (max-width: 767px) {
  .funding-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .funding-content h2 {
    font-size: 30px;
  }
  .funding-logos {
    margin-bottom: 32px;
  }
}

/* Keep native details semantics while animating both directions. */
.faq details[data-expanded="false"] { background:transparent; }
.faq details[data-expanded="false"] .faq-toggle { transform:rotate(0); }
.faq-answer { opacity:1; transition:opacity 200ms var(--ease); }
.faq details[data-expanded="false"] .faq-answer { opacity:0; }
@media(prefers-reduced-motion:reduce) {
 .faq-answer, .faq-toggle, .faq details { transition:none; }
}
