/* Dopracowanie wyglądu (11.2026): spokojniejsze ramki, nowa czcionka nagłówków, subtelniejsze efekty tła.
   Ładowany jako ostatni arkusz — usunięcie linku w index.html przywraca poprzedni wygląd. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --p-font-display: "Archivo", "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  --p-line: rgba(168, 210, 228, .13);
  --p-line-hover: rgba(176, 224, 242, .38);
  --p-panel: linear-gradient(180deg, rgba(20, 50, 66, .62), rgba(12, 35, 50, .58));
  --p-tile: rgba(10, 32, 46, .5);
  --p-tile-hover: rgba(22, 56, 74, .72);
  --p-accent: #8fd3e6;
  --p-radius-panel: 14px;
  --p-radius-tile: 8px;
}

/* ---------- Nagłówki ---------- */
html body .scene-heading h2,
html body .scene-copy--about .scene-heading h2,
html body .scene-copy--contact .scene-heading h2,
html body .film-copy h2,
html body .downloads-hub h2,
html body .catalog-heading h2,
html body .model-toolbar h2,
html body .expo-note h2 {
  font-family: var(--p-font-display) !important;
  font-stretch: 112%;
  font-weight: 640 !important;
  letter-spacing: -.022em !important;
  text-shadow: none !important;
}
html body .scene-heading h2,
html body .scene-copy--about .scene-heading h2,
html body .scene-copy--contact .scene-heading h2 { line-height: 1.02 !important; }
html body .film-copy h2 { line-height: 1.08 !important; }

html body .materials-group h3,
html body .feature-block h3,
html body .story-drawings__header strong,
html body .scene-heading p,
html body .film-kicker,
html body .catalog-heading p {
  font-family: var(--p-font-display) !important;
  font-stretch: 118%;
}
html body .materials-group h3,
html body .story-drawings__header strong {
  font-size: .78rem !important;
  font-weight: 650 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase;
  color: #9fc9d9 !important;
}
html body .feature-block h3 { font-weight: 600 !important; letter-spacing: -.005em !important; }

html body .material-row__title,
html body .story-drawing b,
html body .catalog-launch strong,
html body .catalog-download strong {
  font-family: var(--p-font-display) !important;
  font-stretch: 106%;
  font-weight: 600 !important;
  letter-spacing: -.005em;
}

/* ---------- Duże panele sekcji ---------- */
html body .scroll-story .story-scene .scene-surface,
html body #kontakt.story-scene--contact .scene-surface,
html body .downloads-hub {
  border: 1px solid var(--p-line) !important;
  border-radius: var(--p-radius-panel) !important;
  background: var(--p-panel) !important;
  box-shadow: inset 0 1px rgba(220, 244, 255, .06), 0 24px 60px -28px rgba(0, 8, 16, .55) !important;
  clip-path: none !important;
}
html body .downloads-hub > header { border-bottom-color: var(--p-line) !important; }

/* ---------- Kafelki (materiały, rysunki, katalog, kontakt) ---------- */
html body .downloads-hub a.material-row,
html body .downloads-hub a.material-row:last-child,
html body .downloads-hub .materials-group--documents a.material-row,
html body .story-drawing,
html body .catalog-launch,
html body .catalog-download,
html body .scene-copy--contact .contact-card {
  border: 1px solid var(--p-line) !important;
  border-radius: var(--p-radius-tile) !important;
  background: var(--p-tile) !important;
  box-shadow: inset 0 1px rgba(220, 244, 255, .04) !important;
  clip-path: none !important;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease !important;
}
html body .downloads-hub a.material-row:hover,
html body .downloads-hub a.material-row:focus-visible,
html body .story-drawing:hover,
html body .story-drawing:focus-visible,
html body .catalog-launch:hover,
html body .catalog-launch:focus-visible,
html body .catalog-download:hover,
html body .catalog-download:focus-visible,
html body .scene-copy--contact .contact-card:hover {
  border-color: var(--p-line-hover) !important;
  background: var(--p-tile-hover) !important;
  box-shadow: inset 0 1px rgba(220, 244, 255, .06), 0 10px 24px -14px rgba(0, 8, 16, .6) !important;
  transform: translateY(-1px) !important;
}
html body .downloads-hub a.material-row::before,
html body .downloads-hub a.material-row::after { display: none !important; }

/* Strzałka w kafelku jako mały, równy przycisk */
html body .downloads-hub .material-row__arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid var(--p-line);
  border-radius: 50%;
  color: var(--p-accent) !important;
  font-size: .95rem !important;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
html body .downloads-hub a.material-row:hover .material-row__arrow,
html body .downloads-hub a.material-row:focus-visible .material-row__arrow {
  border-color: var(--p-line-hover);
  background: rgba(143, 211, 230, .12);
  transform: translate(1px, -1px);
}

/* Przyciski w nagłówku */
html body .header-phones a,
html body .language-select__button,
html body .header-video-link {
  border-radius: 6px !important;
  clip-path: none !important;
}

/* Lista cech: kreska zamiast świecącej kropki */
html body .feature-block .feature-list li::before {
  width: .55rem !important;
  height: 1px !important;
  border-radius: 0 !important;
  background: var(--p-accent) !important;
  box-shadow: none !important;
  opacity: .8;
}

/* ---------- Orbity przy produktach: tarcza ze skalą zamiast latającej kropki ---------- */
html body .product-visual__orbit {
  border: 0 !important;
  box-shadow: none !important;
}
html body .product-visual__orbit--one {
  opacity: .55 !important;
  background: repeating-conic-gradient(rgba(150, 214, 234, .55) 0 .35deg, transparent .35deg 5deg);
  -webkit-mask: radial-gradient(circle closest-side, transparent calc(100% - 9px), #000 calc(100% - 9px), #000 calc(100% - 1px), transparent 100%);
  mask: radial-gradient(circle closest-side, transparent calc(100% - 9px), #000 calc(100% - 9px), #000 calc(100% - 1px), transparent 100%);
  animation: orbit-spin 90s linear infinite !important;
}
html body .product-visual__orbit--one::before { display: none !important; }
/* Łuk "wskazówki" sunący po skali */
html body .product-visual__orbit--one::after {
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: auto !important;
  height: auto !important;
  border-radius: 50% !important;
  background: conic-gradient(from 0deg, transparent 0 290deg, rgba(160, 228, 246, .9) 360deg) !important;
  box-shadow: none !important;
}
html body .product-visual__orbit--two {
  opacity: .5 !important;
  border: 1px solid rgba(150, 214, 234, .2) !important;
  animation: none !important;
}
html body .product-visual__orbit--two::before {
  display: block !important;
  inset: -1px !important;
  border: 0 !important;
  border-radius: 50%;
  background:
    linear-gradient(rgba(150, 214, 234, .55), rgba(150, 214, 234, .55)) top / 1px 10px no-repeat,
    linear-gradient(rgba(150, 214, 234, .55), rgba(150, 214, 234, .55)) bottom / 1px 10px no-repeat,
    linear-gradient(rgba(150, 214, 234, .55), rgba(150, 214, 234, .55)) left / 10px 1px no-repeat,
    linear-gradient(rgba(150, 214, 234, .55), rgba(150, 214, 234, .55)) right / 10px 1px no-repeat !important;
}
html body .product-visual__orbit--two::after { display: none !important; }
@media (max-width: 1050px), (pointer: coarse), (update: slow) {
  html body .product-visual__orbit--one::after { display: none !important; }
}

/* ---------- Kursor: bez stałego celownika; ślad rysuje future.js tylko podczas ruchu ---------- */
html body .cursor-energy { display: none !important; }
html body .cursor-trail {
  position: fixed;
  inset: 0;
  z-index: 90;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  contain: strict;
}
@media (max-width: 1050px), (pointer: coarse), (prefers-reduced-motion: reduce) {
  html body .cursor-trail { display: none !important; }
}

/* ---------- Materiały do pobrania: wyśrodkowane jak panele poniżej, bardziej zwarte ---------- */
/* Układ obok banera wydarzenia zostaje tylko wtedy, gdy baner jest na stronie. */
@media (min-width: 1200px) {
  html body .downloads-hub:not(.expo-note ~ .downloads-hub) {
    display: block;
    width: calc(100% - 2 * var(--eon-gutter));
    margin: 1rem auto 1.35rem;
  }
}
html body .downloads-hub { padding: .75rem .95rem .85rem !important; }
html body .downloads-hub > header { margin-bottom: .45rem !important; padding-bottom: .4rem !important; }
html body .downloads-hub h2 { font-size: 1.32rem !important; margin-bottom: .15rem !important; }
html body .downloads-hub > header p { font-size: .88rem !important; }
html body .downloads-hub .materials-groups { gap: .7rem !important; }
html body .downloads-hub .materials-group { gap: .32rem !important; }
html body .downloads-hub .materials-group h3 { font-size: .7rem !important; margin-bottom: 0 !important; }
html body .downloads-hub a.material-row,
html body .downloads-hub a.material-row:last-child,
html body .downloads-hub .materials-group--documents a.material-row,
html body .downloads-hub .material-row--model {
  min-height: 3.2rem !important;
  padding: .42rem .6rem !important;
}
html body .downloads-hub .material-row__title { font-size: .95rem !important; line-height: 1.22 !important; }
html body .downloads-hub .material-row__meta { font-size: .78rem !important; }
html body .downloads-hub .material-row__arrow { width: 1.6rem; height: 1.6rem; font-size: .82rem !important; }
html body .downloads-hub .materials-group--schematics {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: .32rem !important;
}
@media (min-width: 1100px) {
  html body .downloads-hub .materials-group--schematics { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
