/* IRPARK: one stylesheet for the whole site. No build step, edit this file directly.
   After a change, bump the ?v= value on the <link> in every HTML file (the file is cached for a year). */

/* ---------- Fonts (variable, subset to Polish and Western European characters) ---------- */
@font-face { font-family: "Unbounded"; src: url("/assets/fonts/unbounded.woff2") format("woff2"); font-weight: 300 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
/* Stand-ins shown until a web font arrives: Arial scaled to take the same room as the real font, so the text
   does not reflow when the fonts swap in. The numbers come from the average glyph width over the page text. */
@font-face { font-family: "Unbounded fallback"; src: local("Arial"); size-adjust: 134.8%; ascent-override: 73.8%; descent-override: 18.2%; line-gap-override: 0%; }
@font-face { font-family: "Manrope fallback"; src: local("Arial"); size-adjust: 102.7%; ascent-override: 103.8%; descent-override: 29.2%; line-gap-override: 0%; }

/* ---------- Tokens ---------- */
:root {
  --paper: #f1efec;
  --paper-2: #e8e5e0;
  --card: #ffffff;
  --ink: #15130f;
  --ink-2: #45413b;
  --ink-3: #5b564e;
  --yellow: #f7c600;
  --bronze: #7d5a33;
  --bronze-2: #c59a6d;
  --night: #100f0d;
  --night-2: #2b2620;
  --snow: #f1ede6;
  --snow-2: #c9c2b6;
  --snow-3: #b3ac9f;
  --line: #dedad3;
  --rule: rgba(165, 124, 79, .5);
  --rule-night: rgba(197, 154, 109, .35);
  --display: "Unbounded", "Unbounded fallback", system-ui, sans-serif;
  --body: "Manrope", "Manrope fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(56px, 7vw, 96px);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.5; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--bronze); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.on-night :focus-visible, .on-night:focus-visible { outline-color: var(--yellow); }
.on-night a:hover { color: var(--yellow); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: var(--snow); font-weight: 700; }
.skip-link:focus { top: 12px; color: var(--snow); }

/* ---------- Layout ---------- */
.wrap { max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.section > .wrap { padding-block: var(--section); }
.section--alt { background: var(--paper-2); }
.stack { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); }
.section-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 16px 64px; align-items: end; }
.section-head__title { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }
.on-night .eyebrow { color: var(--bronze-2); }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.7vw, 2.375rem); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.lead { font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2); }
.on-night .lead { color: var(--snow-2); }
.tag { display: inline-block; padding: 2px 6px; border-radius: 3px; background: var(--yellow); color: var(--ink); font-family: var(--mono); font-size: .625rem; font-weight: 500; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--yellow); color: var(--ink); font: inherit; font-weight: 700; font-size: .875rem; cursor: pointer; }
.btn:hover, .on-night .btn:hover { color: var(--ink); background: #ffd51f; }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 1rem; }
.link-arrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; border-bottom: 1px solid currentColor; font-weight: 700; font-size: .9375rem; }

/* ---------- Header ---------- */
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 32px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; font-family: var(--display); font-weight: 500; font-size: .8125rem; letter-spacing: .28em; }
.brand img { height: 26px; width: auto; }
.nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: .875rem; font-weight: 500; }
.nav a { display: flex; align-items: center; gap: 8px; padding-block: 12px; white-space: nowrap; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--yellow); }
@media (max-width: 900px) {
  .nav { order: 3; flex: 1 0 100%; margin-inline: calc(var(--gutter) * -1); overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav ul { flex-wrap: nowrap; gap: 4px 24px; width: max-content; padding-inline: var(--gutter); }
}

/* ---------- Breadcrumb (subpages) ---------- */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 10px; font-family: var(--mono); font-size: .8125rem; color: var(--ink-2); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--bronze); }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { padding: 4px clamp(12px, 2vw, 24px) 0; }
/* #110f0d, one step off --night: the exact colour the hero video decodes to, so its frame cannot show. */
.hero__card { max-width: 1392px; margin-inline: auto; border-radius: 28px; overflow: hidden; background: #110f0d; color: var(--snow); }
.hero__grid { max-width: 1280px; margin-inline: auto; padding: clamp(32px, 4vw, 56px) clamp(20px, 4vw, 48px) 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 28px 24px; align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 24px; }
.hero__kicker { display: flex; align-items: center; gap: 12px; }
.hero__kicker .tag { padding: 3px 8px; font-size: .75rem; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(1.875rem, 3.9vw, 3.5rem); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.hero__lead { max-width: 31em; font-size: 1.125rem; line-height: 1.55; color: var(--snow-2); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.hero__more { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; border-bottom: 1px solid rgba(197, 154, 109, .7); font-weight: 600; }
/* The animation carries its own dark background; the mask feathers its edges into the card.
   The still image is the first frame of the video and shows until the video has data. */
.hero__media { position: relative; width: 100%; max-width: 760px; margin-inline: auto; aspect-ratio: 760 / 600;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 86%, transparent 99%), linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 86%, transparent 99%), linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
  mask-composite: intersect; }
.hero__media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
/* One pixel smaller than the still image, so browsers keep measuring Largest Contentful Paint on the image,
   which arrives first, and not on the first video frame. */
.hero__media > video { inset: 1px; width: calc(100% - 2px); height: calc(100% - 2px); }
.hero__facts { max-width: 1280px; margin-inline: auto; padding: clamp(24px, 3vw, 36px) clamp(20px, 4vw, 48px) clamp(20px, 3vw, 32px); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 0 32px; border-top: 1px solid rgba(197, 154, 109, .4); }
.facts > div { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; }
.facts dt { font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--snow-3); }
.facts dd { font-family: var(--display); font-weight: 300; font-size: 1.5rem; letter-spacing: -.02em; }
@media (max-width: 600px) { .facts > div { padding: 12px 0; } .facts dd { font-size: 1.25rem; } }

/* ---------- Novelty panel (homepage, at the bottom of the hero card) ---------- */
.hero__novelty { max-width: 1280px; margin-inline: auto; padding: 0 clamp(20px, 4vw, 48px) clamp(20px, 4vw, 48px); }
.novelty { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px); border: 1px solid rgba(197, 154, 109, .4); border-radius: 20px; }
.novelty__text { display: flex; flex-direction: column; gap: 10px; }
.novelty__title { font-family: var(--display); font-weight: 400; font-size: clamp(1.25rem, 1.9vw, 1.625rem); line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.novelty__lead { max-width: 46em; font-size: .9375rem; line-height: 1.55; color: var(--snow-2); }
.novelty__figures { font-family: var(--mono); font-size: .8125rem; color: var(--snow-3); }
.novelty__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
@media (max-width: 820px) {
  .novelty { grid-template-columns: 1fr; }
  .novelty__actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
}

/* ---------- Trailer plan ---------- */
.trailer { overflow-x: auto; }
.trailer__inner { min-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.trailer__legend { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.trailer__plan { position: relative; aspect-ratio: 13600 / 2480; padding: 8px; border: 1.5px solid var(--ink); border-right-style: dashed; border-radius: 6px; background: #faf9f7; display: grid; grid-auto-flow: column; grid-template-columns: repeat(11, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 5px; }
.trailer__plan span { border-radius: 2px; background: var(--yellow); }
.trailer__plan span.next { background: none; border: 2px dashed var(--ink); animation: pulse 1.6s ease-in-out infinite; }
.trailer__plan span.free { background: none; border: 1px dashed rgba(21, 19, 15, .32); }
.trailer__robot { position: absolute; left: 72.8%; top: 46%; width: 18%; height: auto; }
.trailer__count { display: flex; align-items: center; gap: 20px; font-family: var(--mono); font-size: .8125rem; white-space: nowrap; }
.trailer__count strong { padding: 0 4px; background: var(--yellow); font-weight: 500; }
.trailer__bar { flex: 1; height: 3px; background: linear-gradient(to right, var(--ink) 81.8%, rgba(21, 19, 15, .14) 81.8%); }
@keyframes pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .trailer__plan span.next { animation: none; } }

/* ---------- Media frames ----------
   A frame holds a still image and, on top of it, the looping video that starts from that same frame. */
.frame { position: relative; overflow: hidden; border-radius: 20px; background: var(--night); }
.frame > video, .frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
video[data-loop] { cursor: pointer; }
.frame--16x9 { aspect-ratio: 16 / 9; }
.frame--2x1 { aspect-ratio: 2 / 1; }
.frame--lg { border-radius: 24px; }
.frame--sm { border-radius: 14px; }
.media-row { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: center; }
.media-row > .frame { flex: 2.2 1 520px; min-width: 0; }

/* ---------- Numbered steps ---------- */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 26px; }
.media-row > .steps { flex: 1 1 260px; min-width: 0; }
.steps--row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px 28px; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid var(--rule); }
.steps--row li { border-top-color: var(--ink); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--mono); font-size: .75rem; color: var(--bronze); }
.steps h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.steps p { font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }

/* ---------- Technology card ---------- */
.tech { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); align-items: stretch; border-radius: 24px; overflow: hidden; background: var(--night); color: var(--snow); }
.tech__text { display: flex; flex-direction: column; gap: 20px; padding: clamp(28px, 4vw, 48px); }
.tech__title { font-family: var(--display); font-weight: 400; font-size: clamp(1.375rem, 2.3vw, 2rem); line-height: 1.16; letter-spacing: -.02em; text-wrap: balance; }
.tech__media { display: flex; padding: 16px; }
.tech__media .frame { flex: 1; min-height: 320px; border-radius: 14px; background: #1a1a2e; }

/* Label and description rows */
.rows > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 2px 24px; padding: 18px 0; border-top: 1px solid var(--rule); }
.rows > div:first-child { border-top-color: var(--ink); }
.rows > div:last-child { border-bottom: 1px solid var(--rule); }
.rows dt { font-weight: 700; }
.rows dd { color: var(--ink-2); }
.on-night .rows > div { grid-template-columns: repeat(auto-fit, minmax(min(120px, 100%), 1fr)); gap: 2px 20px; padding: 12px 0; border-color: var(--rule-night); }
.on-night .rows dd { color: var(--snow-2); }

/* ---------- Films ---------- */
.films { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; }
.film { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.films > .film { flex: 2 1 560px; }
.film-list { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.film__caption { font-size: .9375rem; color: var(--ink-2); }
.film-list .film__caption { font-size: 1rem; font-weight: 700; color: var(--ink); }
.film-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
.film-pair .film__caption { font-weight: 700; color: var(--ink); }

/* A film loop (video[data-loop][data-film]) gets from main.js a button over its whole frame, with a small hint
   in the corner, that opens the film in a large window (.player): a <dialog> with the player's controls.
   The film is shown at most twice its own size (--film-w and --film-h, set by main.js), so the 640 px footage
   stays sharp enough, and never taller than the screen minus the bar with the title and the close button. */
.enlarge { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; background: none; cursor: zoom-in; }
.enlarge__hint { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(16, 15, 13, .62); box-shadow: 0 0 0 1px rgba(241, 237, 230, .3); color: var(--snow); transition: background-color .15s, color .15s; }
@media (max-width: 600px) { .enlarge__hint { top: 8px; right: 8px; width: 34px; height: 34px; } .enlarge__hint svg { width: 18px; height: 18px; } }
.enlarge:hover .enlarge__hint, .enlarge:focus-visible .enlarge__hint { background: var(--yellow); color: var(--ink); }
/* drawn inside the frame, which clips anything outside it; the dark inner line keeps it visible on light footage */
.enlarge:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; border-radius: inherit; box-shadow: inset 0 0 0 5px rgba(16, 15, 13, .75); }
.enlarge svg, .player__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* The page behind the window stands still: no scrolling, and main.js pauses the other loops. */
:root:has(.player[open]) { overflow: hidden; }
.player { --pad: clamp(12px, min(3vw, 3vh), 32px); position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: var(--pad); border: 0; overflow: auto; overscroll-behavior: contain; background: none; color: var(--snow); cursor: zoom-out; }
.player[open] { display: flex; align-items: center; justify-content: center; }
.player::backdrop { background: rgba(16, 15, 13, .95); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.player__box { display: flex; flex-direction: column; gap: 12px; cursor: auto;
  width: min(100%, var(--film-w) * 2px, (100vh - 2 * var(--pad) - 56px) * var(--film-w) / var(--film-h));
  width: min(100%, var(--film-w) * 2px, (100dvh - 2 * var(--pad) - 56px) * var(--film-w) / var(--film-h)); }
.player__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; }
.player__title { min-width: 0; font-size: .9375rem; line-height: 1.4; color: var(--snow-2); }
.player__close { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 18px; border: 1px solid rgba(197, 154, 109, .5); border-radius: 999px; background: none; color: var(--snow); font: inherit; font-size: .875rem; font-weight: 700; cursor: pointer; }
.player__close:hover { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.player__video { width: 100%; aspect-ratio: var(--film-w) / var(--film-h); border-radius: 12px; background: #000; }
@media (prefers-reduced-motion: no-preference) {
  .player[open] .player__box { animation: player-in .2s ease-out; }
}
@keyframes player-in { from { opacity: 0; transform: scale(.97); } }

/* ---------- Robot cards ---------- */
.robots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.robot { display: flex; flex-direction: column; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.robot--night { border-color: var(--night); background: var(--night); color: var(--snow); }
.robot__img { height: 220px; display: flex; align-items: center; justify-content: center; }
.robot--night .robot__img { background: radial-gradient(60% 70% at 50% 60%, var(--night-2) 0%, var(--night) 76%); }
.robot__img img { width: auto; max-height: 100%; object-fit: contain; }
.robot__text { display: flex; flex-direction: column; gap: 6px; }
.robot h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--display); font-weight: 500; font-size: 1.25rem; }
.robot p { font-size: .9375rem; color: var(--ink-2); }
.robot--night p { color: var(--snow-2); }
.specs { font-family: var(--mono); font-size: .8125rem; }
.specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.specs dt { color: var(--ink-3); }
.specs dd { text-align: right; }
.robot--night .specs > div { border-color: var(--rule-night); }
.robot--night .specs dt { color: var(--snow-3); }
/* Short card: picture, name, one sentence, the main figure. Full parameters stay on /roboty-amr/ and the product pages. */
.robot--brief { gap: 14px; padding: 22px; }
.robot--brief .robot__img { height: 170px; }
.robot .robot__spec { font-family: var(--mono); font-size: .8125rem; color: var(--ink-3); }
.robot--night .robot__spec { color: var(--snow-3); }
.robot__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: .9375rem; }
.robot--night .robot__link { color: var(--yellow); }
.robot .robot__links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0 28px; color: var(--ink); }
/* Where two cards fit in a row but not three, an odd last card would stand alone beside an empty cell. It takes the
   whole row instead, picture beside the text. auto-fit counts the columns, so the condition is the width of the grid
   itself (a container query on the wrap around it), not of the window, which also counts the scrollbar. */
.wrap:has(> .robots) { container-type: inline-size; }
@container (min-width: 700px) and (max-width: 1059.98px) {
  .robots:not(.robots--soon) > .robot:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; gap: 14px 32px; }
  .robots:not(.robots--soon) > .robot:last-child:nth-child(odd) > .robot__img { grid-column: 1; grid-row: 1 / 4; height: auto; min-height: 220px; }
  .robots:not(.robots--soon) > .robot:last-child:nth-child(odd) > :not(.robot__img) { grid-column: 2; }
  .robots:not(.robots--soon) > .robot:last-child:nth-child(odd) > .robot__text { grid-row: 1; }
  .robots:not(.robots--soon) > .robot:last-child:nth-child(odd) > .specs { grid-row: 2; }
  .robots:not(.robots--soon) > .robot:last-child:nth-child(odd) > .robot__link { grid-row: 3; }
}
/* Robots coming soon, without figures: a lighter row of cards under the label "Wkrótce w sprzedaży" (on /roboty-amr/
   the section heading says it), so the cards carry no tag of their own. Where a card is wide
   enough the picture stands beside the text (the renders are tall), otherwise above it as in the cards of the first row.
   A robot without a picture yet shows a drawing-grid frame with the label from data-pending; putting the <img>
   into its .robot__img is all it takes to replace the frame. */
.robots--soon { grid-template-columns: 1fr; gap: 16px 20px; }
.robots__label { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; font-family: var(--mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }
.robots__label::after { content: ""; flex: 1; border-top: 1px solid var(--rule); }
.robot--soon { gap: 14px; padding: 22px; background: var(--paper); }
.robot--soon .robot__img { height: 200px; }
.robot--soon h3 { font-size: 1.125rem; }
.robot__img[data-pending]:not(:has(img)) { border: 1px solid var(--line); border-radius: 12px; background-color: var(--paper); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 20px 20px; background-position: center; }
.robot__img[data-pending]:not(:has(img))::after { content: attr(data-pending); content: attr(data-pending) / ""; max-width: 11em; padding: 4px 8px; background: var(--paper); font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; line-height: 1.6; text-align: center; text-transform: uppercase; text-wrap: balance; color: var(--ink-3); }
@media (min-width: 1000px) { .robots--soon { grid-template-columns: 1fr 1fr; } }
@media (min-width: 600px) and (max-width: 999px), (min-width: 1200px) {
  .robot--soon { display: grid; grid-template-columns: 168px 1fr; grid-template-rows: 1fr auto; gap: 10px 26px; }
  .robot--soon .robot__img { grid-row: 1 / 3; height: 216px; }
}
/* Band under the cards that leads to the configurator */
.configure { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.configure__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 6px; }
.configure h3 { font-family: var(--display); font-weight: 500; font-size: 1.25rem; }
.configure p { max-width: 44em; font-size: .9375rem; color: var(--ink-2); }

/* ---------- Feature list (software) ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 0 40px; }
.features--4 { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 0 32px; }
.features > div { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 1px solid var(--rule); }
.features dt { font-weight: 700; }
.features dd { font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }
.media-row > .features { flex: 1 1 260px; min-width: 0; }

/* ---------- Icons and pictograms ----------
   Line drawings written into the page as inline SVG, viewBox 0 0 48 48: lines in the text colour, accents (class y)
   in the brand yellow. Beside a heading that names the same thing they are decorative and carry aria-hidden. */
.icon { flex: none; width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon .y { fill: var(--yellow); }
.icon .k { fill: currentColor; stroke: none; }

/* ---------- Screenshots of the fleet application (/oprogramowanie/) ----------
   Real screenshots, cut and scaled only, in a plain browser-window frame (the application runs in a browser). The
   desktop screens were taken at twice their size, so a frame takes the room its slot gives: about 600 px beside
   text, the full width for the orders list (.shot--wide), two thirds of a media row. The film of the application is
   a still with the loop over it (.shot__loop); the tablet and phone screens stand in device outlines (.devices). */
.shot { display: flex; flex-direction: column; gap: 12px; min-width: 0; width: 100%; max-width: 620px; }
.shot--wide, .media-row > .shot { max-width: none; }
.media-row > .shot { flex: 2.2 1 520px; }
.shot__window { overflow: hidden; border: 1px solid #cfc9bf; border-radius: 14px; background: var(--card); }
.shot__window::before { content: ""; display: block; height: 26px; border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 17px 13px, #c9c2b6 3.5px, transparent 4px), radial-gradient(circle at 31px 13px, #c9c2b6 3.5px, transparent 4px), radial-gradient(circle at 45px 13px, #c9c2b6 3.5px, transparent 4px), var(--paper); }
.shot__window img { width: 100%; }
.shot__loop { position: relative; aspect-ratio: 16 / 9; }
.shot__loop > img, .shot__loop > video { position: absolute; inset: 0; width: 100%; height: 100%; }
.shot figcaption { font-size: .9375rem; font-weight: 600; }
.product > .shot { justify-self: end; }
/* The tablet, and in front of its lower right corner the phone. Bezels in % of the pair's width, so they keep their
   proportion at every size; the room below the tablet is where the phone reaches past it. */
.devices { position: relative; padding-bottom: 6%; }
.devices > span { display: block; padding: 1.4%; border-radius: clamp(14px, 2.4vw, 24px); background: var(--night); box-shadow: 0 16px 32px -16px rgba(21, 19, 15, .5); }
.devices img { width: 100%; border-radius: clamp(5px, .9vw, 10px); }
.devices__tablet { width: 84%; }
.devices > .devices__phone { position: absolute; right: 0; bottom: 0; width: 25%; padding: 1%; border-radius: clamp(14px, 2.6vw, 26px); }
.devices__phone img { border-radius: clamp(10px, 2vw, 20px); }

/* ---------- Diagrams (/oprogramowanie/) ----------
   Drawn in HTML and CSS, so the labels keep their size at every screen width: nodes with a pictogram, wires with
   the protocol written on them. Each diagram is one role="img" with the whole picture told in aria-label. Every
   label comes from the text of the page; nothing in a diagram may say more than the text does. */
.diagram { min-width: 0; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.section:not(.section--alt) .diagram { border-color: #d6d1c9; }
.node { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--card); }
.node .icon { width: 40px; height: 40px; }
.node__name { display: flex; flex-direction: column; gap: 3px; font-weight: 700; font-size: .9375rem; line-height: 1.3; }
.node__name small { font-family: var(--mono); font-size: .6875rem; font-weight: 400; letter-spacing: .08em; line-height: 1.45; text-transform: uppercase; color: var(--ink-3); }
.node--key { border-color: var(--night); background: var(--night); color: var(--snow); }
.node--key .node__name small { color: var(--snow-3); }
.wire { position: relative; padding: 3px 8px; background: var(--card); font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; line-height: 1.4; text-align: center; text-transform: uppercase; color: var(--bronze); }

/* Product management: two machines at the top (one has a product ready, the other needs it) wired together into the
   fleet software, which turns their announcements into an order and the order into a mission; at the bottom the robot
   carries the product from machine A to machine B. One column at every width, every wire runs down the middle. */
.supply { display: flex; flex-direction: column; }
.supply > .node { justify-content: center; }
.supply__calls { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.supply__calls .node::after { content: ""; position: absolute; top: 100%; left: 50%; height: 18px; border-left: 1.5px solid var(--ink); }
.supply__wire { position: relative; display: flex; justify-content: center; min-height: 46px; padding-block: 10px 14px; background: linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat; }
/* the arrowhead touches the node below */
.supply__wire::after { content: ""; position: absolute; bottom: 1px; left: calc(50% - 4.5px); width: 9px; height: 9px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); }
.supply__wire .wire { align-self: center; text-wrap: balance; }
/* where the two machines' wires meet: a bar between the centres of the two columns, the wire on from its middle */
.supply__wire--join { padding-top: 28px; background-position: center bottom; background-size: 1.5px calc(100% - 18px); }
.supply__wire--join::before { content: ""; position: absolute; top: 18px; left: calc(25% - 3.5px); right: calc(25% - 3.5px); border-top: 1.5px solid var(--ink); }
.supply__floor { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px 6px; padding: 16px 16px 18px; border-radius: 16px; background: var(--paper); }
.supply__stop { display: flex; flex-direction: column; align-items: center; gap: 6px; font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; line-height: 1.3; text-align: center; text-transform: uppercase; color: var(--ink-3); }
.supply__stop .icon { width: 56px; height: 56px; color: var(--ink); }
/* the route: a dashed line with an arrowhead towards machine B, the robot with the product in the middle of it */
.supply__route { position: relative; display: flex; justify-content: center; align-self: start; padding-top: 2px; }
.supply__route::before { content: ""; position: absolute; top: 27px; left: 4px; right: 6px; border-top: 1.5px dashed var(--ink); }
.supply__route::after { content: ""; position: absolute; top: 23px; right: 6px; width: 9px; height: 9px; border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); transform: rotate(45deg); }
.supply__route .icon { position: relative; width: 52px; height: 52px; padding: 0 4px; background: var(--paper); box-sizing: content-box; }
.supply__caption { grid-column: 1 / -1; font-weight: 700; font-size: .9375rem; line-height: 1.35; text-align: center; text-wrap: balance; }
@media (max-width: 559.98px) {
  .supply__calls { gap: 10px; }
  .supply__calls .node { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .supply__calls .node .icon { width: 36px; height: 36px; }
  .supply__wire--join::before { left: calc(25% - 2.5px); right: calc(25% - 2.5px); }
}

/* Server and robot (VDA 5050): one vertical chain, the protocol written on the wire, what each robot carries below it. */
.link { display: flex; flex-direction: column; align-items: center; }
.link > .node--key { align-self: stretch; justify-content: center; }
.link__wire { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-block: 16px; background: linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat; }
.link__wire .icon { width: 36px; height: 36px; padding: 4px; background: var(--card); }
.link__robot { width: min(300px, 80%); margin-block: -6px 6px; }
.link__robot img { width: 100%; }
.link__parts { align-self: stretch; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 12px; }
.link__parts .node { border-color: var(--line); background: var(--paper); }

/* Integration: the fleet server, and the plant's systems, devices and robots on wires leading out of it. Below 760 px
   the server stands on top and the branches hang from one line on the left. */
.hub { display: grid; grid-template-columns: minmax(200px, .8fr) minmax(0, 2fr); row-gap: 14px; align-items: center; }
.hub > .node--key { grid-row: 1 / span 3; margin-right: 36px; }
.hub > .node--key::after { content: ""; position: absolute; left: 100%; top: 50%; width: 37.5px; border-top: 1.5px solid var(--ink); }
.hub__branch { position: relative; display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 1.3fr); align-items: center; }
.hub__branch::before { content: ""; position: absolute; left: 0; top: -7px; bottom: -7px; border-left: 1.5px solid var(--ink); }
.hub__branch:nth-child(2)::before { top: 50%; }
.hub__branch:last-child::before { bottom: 50%; }
.hub__wire { display: flex; justify-content: center; padding-inline: 10px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat; }
@media (max-width: 759.98px) {
  .hub { grid-template-columns: 1fr; row-gap: 0; }
  .hub > .node--key { grid-row: auto; margin: 0 0 4px; }
  .hub > .node--key::after { display: none; }
  .hub__branch { grid-template-columns: 1fr; gap: 6px; padding: 18px 0 0 30px; }
  .hub__branch::before { left: 12px; top: 0; bottom: 0; }
  .hub__branch:nth-child(2)::before { top: -4px; }
  .hub__branch:last-child::before { bottom: auto; height: 30px; }
  .hub__wire { justify-content: flex-start; padding: 0; background: none; }
  .hub__wire::before { content: ""; position: absolute; left: 12px; top: 29px; width: 14px; border-top: 1.5px solid var(--ink); }
  .hub__wire .wire { padding: 3px 0; }
}

/* Integration modules: three cards, each with its drawing. Beside the gate screen (in a media row) they form one
   column, with the drawing left of the name. */
.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.modules > div { display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.modules dt { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; font-family: var(--display); font-weight: 500; font-size: 1.125rem; line-height: 1.25; letter-spacing: -.01em; }
.modules .icon { width: 88px; height: 88px; padding: 12px; border-radius: 20px; background: var(--paper); stroke-width: 1.6; }
.modules dd { font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }
.media-row > .modules { flex: 1 1 300px; min-width: 0; grid-template-columns: 1fr; gap: 14px; }
.media-row > .modules > div { padding: 18px 20px 20px; }
.media-row > .modules dt { flex-direction: row; align-items: center; gap: 16px; }
.media-row > .modules .icon { width: 64px; height: 64px; padding: 8px; border-radius: 16px; }

/* Server in the plant: a night card with the server drawn as a rack, one unit for each part it runs, inside the
   dashed line of the plant; below the rack how it is kept up to date and backed up. */
.plant { display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: var(--night); color: var(--snow); }
.plant__site { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px clamp(16px, 2.4vw, 26px) clamp(16px, 2.4vw, 26px); border: 1.5px dashed var(--rule-night); border-radius: 16px; }
.plant__label { position: absolute; top: -9px; left: 16px; padding: 0 8px; background: var(--night); font-family: var(--mono); font-size: .6875rem; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; color: var(--bronze-2); }
.rack { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1.5px solid var(--snow-3); border-radius: 12px; }
.rack li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 6px; background: #1d1b17; }
.rack li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(247, 198, 0, .18); }
.rack b { font-weight: 700; font-size: .9375rem; }
.rack span { margin-left: auto; font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; text-align: right; text-transform: uppercase; color: var(--snow-3); }
.plant__care { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px 24px; }
.plant__care li { display: flex; align-items: flex-start; gap: 12px; font-size: .9375rem; line-height: 1.45; color: var(--snow-2); }
.plant__care b { display: block; color: var(--snow); }
.plant__care .icon { width: 36px; height: 36px; }

/* ---------- Photo rows ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.gallery--2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.gallery figure { display: flex; flex-direction: column; gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.gallery--2 img { aspect-ratio: 2 / 1; }
.gallery figcaption { font-size: .9375rem; font-weight: 600; }
.gallery figcaption a { border-bottom: 1px solid currentColor; }

/* ---------- Topic list and chips (custom builds) ---------- */
.topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 28px 24px; }
.topics li { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid var(--ink); }
.topics h3 { font-size: 1.0625rem; font-weight: 700; }
.topics p { font-size: .9375rem; color: var(--ink-2); }
.topics .link-arrow { margin-top: 4px; font-size: .875rem; min-height: 36px; }
.chips { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 24px; padding-top: 20px; border-top: 1px solid var(--rule); }
.chips ul { display: flex; flex-wrap: wrap; gap: 8px 10px; font-size: .90625rem; font-weight: 500; }
.chips li { padding: 6px 14px; border: 1px solid rgba(21, 19, 15, .3); border-radius: 999px; }
/* Chips that are links (homepage: industries leading to /branze/): the link is the whole pill and at least 36 px tall. */
.chips--links li { padding: 0; border: 0; }
.chips--links a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid rgba(21, 19, 15, .3); border-radius: 999px; }
.chips--links a:hover { border-color: var(--bronze); background: var(--card); }

/* ---------- Industries (/branze/) ----------
   One card per industry: its drawing, name, typical transport tasks, links to the robots and pages that fit. */
.sectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.sectors > li { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); scroll-margin-top: 16px; }
.sectors .icon { width: 72px; height: 72px; margin-bottom: 8px; padding: 10px; border-radius: 18px; background: var(--paper); stroke-width: 1.6; }
.sectors h3 { font-family: var(--display); font-weight: 500; font-size: 1.125rem; line-height: 1.25; letter-spacing: -.01em; }
.sectors p { font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }
.sectors .sectors__links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0 22px; color: var(--ink); }
.sectors__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; border-bottom: 1px solid currentColor; font-weight: 700; font-size: .875rem; }

/* ---------- Offer cards (/automatyka/) ----------
   One card per kind of machine: its photo, or where there is none its drawing on paper in a box of the same 3:2
   shape; the name, one sentence, the applications as small tags and, where the machine is in a deployment, a link. */
.offer { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.offer > li { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--card); scroll-margin-top: 16px; }
.offer__pic { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-2); }
div.offer__pic { display: flex; align-items: center; justify-content: center; background: var(--paper); }
.offer__pic .icon { width: 128px; height: 128px; stroke-width: 1.1; }
.offer__text { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.offer h3 { font-family: var(--display); font-weight: 500; font-size: 1.125rem; line-height: 1.25; letter-spacing: -.01em; }
.offer p { font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }
.offer__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.offer__tags li { padding: 3px 10px; border: 1px solid rgba(21, 19, 15, .22); border-radius: 999px; font-size: .8125rem; font-weight: 600; color: var(--ink); }
.offer .offer__link { color: var(--ink); }
.offer__link a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; border-bottom: 1px solid currentColor; font-weight: 700; font-size: .875rem; }

/* ---------- Figures (homepage, deployment) ----------
   A drawing, a number the owner gave and what it measures, on white cards in one row. */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px 20px; }
.figures li { display: flex; align-items: center; gap: 20px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.figures .icon { width: 64px; height: 64px; padding: 8px; border-radius: 16px; background: var(--paper); stroke-width: 1.6; }
.figures p { display: flex; flex-direction: column; gap: 6px; font-size: .9375rem; line-height: 1.45; color: var(--ink-2); }
.figures strong { font-family: var(--display); font-weight: 300; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 40px 64px; align-items: start; }
.about__text { display: flex; flex-direction: column; gap: 22px; }
.about__mark { height: 52px; width: auto; align-self: flex-start; }

/* ---------- Split (media beside text) ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 32px 56px; align-items: center; }
.split__text { display: flex; flex-direction: column; gap: 18px; }
.split .frame { border-radius: 16px; }
.split.split--top { align-items: start; }
.split .frame > * { object-position: 50% 100%; }
.note { font-size: .96875rem; line-height: 1.6; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 0 56px; }
.faq > div { display: flex; flex-direction: column; gap: 8px; padding: 24px 0; border-top: 1px solid var(--ink); }
.faq h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; }
.faq p { font-size: .96875rem; line-height: 1.6; color: var(--ink-2); }

/* ---------- Contact and footer ---------- */
.contact { background: var(--night); color: var(--snow); }
.contact > .wrap { padding-block: var(--section) clamp(40px, 5vw, 64px); }
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 40px 64px; align-items: start; }
.contact h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.625rem, 2.9vw, 2.5rem); line-height: 1.14; letter-spacing: -.02em; }
.contact__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.contact__direct { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 1.0625rem; font-weight: 600; }
.contact__direct a { border-bottom: 1px solid rgba(197, 154, 109, .7); }
/* Inquiry form: composes an e-mail in the visitor's mail program (main.js); without scripts the browser sends the
   fields to the same mailto: address as plain text. */
.inquiry { display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--rule-night); border-radius: 20px; background: rgba(241, 237, 230, .03); }
.inquiry__title { font-family: var(--display); font-weight: 400; font-size: 1.25rem; letter-spacing: -.01em; }
.inquiry__intro { font-size: .9375rem; color: var(--snow-2); }
.inquiry__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .8125rem; font-weight: 600; color: var(--snow-2); }
.field input, .field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid rgba(197, 154, 109, .45); border-radius: 10px; background: #1b1915; color: var(--snow); font: inherit; font-size: .9375rem; }
.field textarea { min-height: 72px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8f887c; }
.field input:focus, .field textarea:focus { border-color: var(--yellow); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: .9375rem; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--yellow); }
.inquiry__send { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.inquiry__note { flex: 1 1 220px; font-size: .8125rem; color: var(--snow-3); }
.inquiry__done:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 16px; border-top: 1px solid var(--rule-night); font-size: .9375rem; color: var(--snow-2); }
.inquiry__done p { flex: 1 1 260px; }
.inquiry__done a { border-bottom: 1px solid rgba(197, 154, 109, .7); }
.site-footer { background: var(--night); color: var(--snow-3); font-family: var(--mono); font-size: .75rem; line-height: 1.35; }
.site-footer p, .site-footer li { padding-block: 2px; }
.site-footer .wrap { padding-block: 0 36px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px 32px; padding-top: 24px; border-top: 1px solid var(--rule-night); }
.site-footer address { font-style: normal; }
.site-footer__brand { display: flex; align-items: center; gap: 12px; color: var(--snow); }
.site-footer__brand img { height: 20px; width: auto; }
/* Padding makes every footer link at least 24 px tall, the minimum comfortable touch target. */
.site-footer a { display: inline-block; padding-block: 4px; text-decoration: underline; text-decoration-color: var(--rule-night); text-underline-offset: 3px; }
.site-footer h2 { margin-bottom: 4px; font: inherit; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze-2); }
.site-footer__legal { margin-top: 28px; }

/* ---------- Subpages ---------- */
.page-head > .wrap { display: flex; flex-direction: column; gap: 28px; padding-block: clamp(20px, 3vw, 36px) var(--section); }
.product { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 32px 56px; align-items: center; }
.product__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.page-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.875rem, 3.6vw, 3.25rem); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.page-title span { display: block; margin-top: 14px; font-family: var(--body); font-weight: 600; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.4; letter-spacing: 0; color: var(--ink-2); }
.product__img { display: flex; align-items: center; justify-content: center; min-height: 300px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); }
.product__img--night { border-color: var(--night); background: radial-gradient(60% 70% at 50% 60%, var(--night-2) 0%, var(--night) 76%); }
/* A definite width (not auto) lets the browser reserve the right height before the picture arrives. */
.product__img img { width: 100%; max-height: 380px; object-fit: contain; }
/* A photo in the page head (/branze/): the whole column, rounded like the photo frames further down the site. */
.product__photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; background: var(--paper-2); }
/* A 16:9 photo in the 3:2 frame (/automatyka/): the cut keeps the right side, where the name plate is. */
.product__photo--right { object-position: 80% 50%; }
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 46em; }
.prose p { font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); }
.prose a, .table a { text-decoration: underline; text-underline-offset: 3px; }
.table-scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.table caption { padding-bottom: 12px; text-align: left; font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.table th, .table td { padding: 14px 20px 14px 0; border-top: 1px solid var(--rule); text-align: left; vertical-align: top; }
.table thead th { border-top: 0; font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.table tbody th { font-weight: 700; }
.table tr:last-child > * { border-bottom: 1px solid var(--rule); }
.table--specs { max-width: 46em; }
.table--specs tbody th { width: 40%; font-weight: 500; color: var(--ink-3); }
.table--specs td { font-family: var(--mono); font-size: .875rem; }
.table--compare { min-width: 760px; }
.table--compare tbody th, .table--compare td:nth-child(n+3) { white-space: nowrap; }

/* Row of text links (subpages) */
.links { display: flex; flex-wrap: wrap; gap: 8px 32px; }
