/* czyz.digital — wspólny arkusz stylów dla wszystkich podstron (wersja A+: „Nocny lot” + oryginał, mapa w nagłówku).
   Ciemne, filmowe pasy przeplatają się z jasnymi, papierowymi sekcjami. Każda sekcja ustawia własne zmienne
   (.dark / .light / .sand / .alt), a komponenty korzystają tylko z nich, więc działają na obu tłach.
   Paleta z brandbooka: Asfalt, Papier, Piaskowiec, Jęczmień (Jęczmień nie jako tekst na jasnym tle). Fonty: Outfit + Inter. */
:root {
  --night: #1C1B19; --night-2: #232220; --panel: #2E2D2A;
  --paper: #EFEDE3; --paper-2: #E7E3D6; --sand: #D7C9AE; --card: #FAF8F2; --ink: #2E2D2A; --ink-muted: #5E5A51; --ink-line: #CDC6B5;
  --gold: #A68763; --gold-d: #B39470;
  --display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --wrap: 1200px;
}
.dark { --bg: var(--night); --fg: #EFEDE3; --muted: #B3AC9D; --dim: #8C8678; --line: rgba(239,237,227,.12); --line-2: rgba(239,237,227,.24);
  --tile: var(--panel); --accent: var(--gold-d); --eyebrow: var(--gold-d); --btn-bg: #EFEDE3; --btn-fg: var(--night); --btn-hover: var(--sand);
  background: var(--bg); color: var(--fg); color-scheme: dark; }
.dark.alt { --bg: var(--night-2); }
.light { --bg: var(--paper); --fg: var(--ink); --muted: var(--ink-muted); --dim: #7A7468; --line: var(--ink-line); --line-2: #B3AB98;
  --tile: var(--card); --accent: var(--gold); --eyebrow: var(--ink-muted); --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-hover: #4A4740;
  background: var(--bg); color: var(--fg); color-scheme: light; }
.light.alt { --bg: var(--paper-2); }
.light.sand { --bg: var(--sand); --line: #BCAC8D; --line-2: #A99978; --muted: #4C483F; --eyebrow: #4C483F; --tile: #E6DCC7; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--night); color: #EFEDE3; font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-d); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px), 4vw); padding-right: max(16px, env(safe-area-inset-right, 0px), 4vw); }
@media (min-width: 1300px) { .wrap { padding-inline: 32px; } }
.dot { color: var(--gold-d); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .74rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--eyebrow); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 50ch; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; text-decoration: none; transition: transform .2s, background .2s; border: 0; font-size: 1rem; cursor: pointer; }
.btn:hover { background: var(--btn-hover); transform: translateY(-1px); }
.link-arrow { font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.tag { display: inline-block; font: 600 .68rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 10px; }

/* ---------------------------------------------------------------- header: transparent over the dark top, dark glass once you scroll */
.top { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.top.solid, .top.open { background: rgba(28,27,25,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: rgba(239,237,227,.12); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand img { height: 26px; width: auto; display: block; }
.top nav { display: flex; gap: 28px; align-items: center; font-size: .94rem; }
.top nav a { text-decoration: none; color: #B3AC9D; }
.top nav a:hover { color: #EFEDE3; }
.top nav a[aria-current="page"]:not(.pill) { color: #EFEDE3; text-decoration: underline; text-decoration-color: var(--gold-d); text-underline-offset: 9px; text-decoration-thickness: 2px; }
.top nav .pill { color: #EFEDE3; border: 1px solid rgba(239,237,227,.28); padding: 9px 16px; border-radius: 999px; }
.top nav .pill:hover, .top nav .pill[aria-current="page"] { border-color: var(--gold-d); }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .brand img { height: 22px; }
  .menu-btn { display: inline-flex; align-items: center; gap: 12px; background: transparent; color: #EFEDE3; border: 1px solid rgba(239,237,227,.28); border-radius: 999px; padding: 9px 16px; font: 500 .94rem/1 var(--body); cursor: pointer; }
  .menu-btn i { width: 15px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
  .top.open .menu-btn i { box-shadow: none; }
  .top nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px max(16px, 4vw) 22px; background: rgba(28,27,25,.98); border-bottom: 1px solid rgba(239,237,227,.12); }
  .top.open nav { display: flex; }
  .top nav a { padding: 16px 0; border-bottom: 1px solid rgba(239,237,227,.1); font-size: 1.12rem; color: #EFEDE3; }
  .top nav a[aria-current="page"]:not(.pill) { text-underline-offset: 6px; }
  .top nav .pill { margin-top: 18px; text-align: center; padding: 15px; border: 0; background: #EFEDE3; color: var(--night); font-weight: 600; }
}

/* ---------------------------------------------------------------- home hero: the claim, a Maps listing getting enquiries, a dark map of the area */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate; }
.hero-map { position: absolute; inset: 0; z-index: -3; background: var(--night); pointer-events: none; }
.hero-map svg { width: 100%; height: 100%; display: block; }
@media (max-width: 700px) { .hero-map svg { height: 100svh; } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(28,27,25,.6) 0%, rgba(28,27,25,0) 26%, rgba(28,27,25,0) 76%, var(--night) 100%),
              linear-gradient(90deg, rgba(28,27,25,.9) 0%, rgba(28,27,25,.55) 42%, rgba(28,27,25,0) 66%); }
.hero-map .road { fill: none; stroke: #5A564E; stroke-width: 2.2; stroke-linecap: round; }
.hero-map .road.main { stroke: #7A7468; stroke-width: 4; }
.hero-map .road.minor { stroke: #3D3B36; stroke-width: 1.5; }
.hero-map .river { fill: none; stroke: #33312C; stroke-width: 8; stroke-linecap: round; }
.hero-map .town { fill: #A9A293; }
.hero-map text { font: 500 15px var(--body); fill: #A9A293; letter-spacing: .04em; }
.hero-map text.region { font: 600 40px var(--display); fill: #EFEDE3; fill-opacity: .06; letter-spacing: .5em; }
.hero-map .pin { fill: var(--gold-d); }
.hero-map .ping { fill: none; stroke: var(--gold-d); stroke-width: 2; transform-box: fill-box; transform-origin: center; opacity: 0; animation: ping 3.2s ease-out infinite; animation-delay: var(--d); }
@keyframes ping { 0% { transform: scale(.5); opacity: .95; } 100% { transform: scale(4.5); opacity: 0; } }
.hero-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 88px); align-items: center; padding-top: 128px; padding-bottom: 48px; }
.hero h1 { font-size: clamp(3rem, 7.6vw, 6.8rem); line-height: .95; letter-spacing: -0.035em; margin: 22px 0 26px; max-width: 9ch; }
.hero .lead { color: #D9D4C7; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; margin-top: 34px; }
.hero-meta { display: flex; justify-content: space-between; gap: 16px; font-size: .78rem; color: var(--dim); padding-bottom: 22px; }
@media (max-width: 920px) { .hero-in { grid-template-columns: minmax(0, 1fr); padding-top: 112px; } }

/* Maps listing (schematic, in brand colours) + incoming notifications */
.maps { margin: 0; display: grid; gap: 14px; min-width: 0; }
.maps-search { position: relative; background: rgba(250,248,242,.96); color: var(--ink); border-radius: 999px; padding: 13px 20px 13px 46px; font-size: .95rem; box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); }
.maps-search::before { content: ""; position: absolute; left: 19px; top: 50%; width: 12px; height: 12px; border: 2px solid var(--ink-muted); border-radius: 50%; transform: translateY(-62%); }
.maps-search::after { content: ""; position: absolute; left: 31px; top: 57%; width: 7px; height: 2px; background: var(--ink-muted); transform: rotate(45deg); }
.maps-stage { position: relative; }
.maps-card { background: var(--card); color: var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.maps-card img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 45%; }
.maps-body { padding: 18px 20px 20px; display: grid; gap: 4px; }
.maps-name { font: 500 1.45rem/1.2 var(--display); }
.maps-rate { font-size: .9rem; color: var(--ink-muted); }
.maps-rate b { color: var(--ink); font-weight: 600; }
.maps-rate i { font-style: normal; color: var(--gold); letter-spacing: 1px; }
.maps-meta { font-size: .9rem; color: var(--ink-muted); }
.maps-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.maps-actions span { font-size: .85rem; font-weight: 500; padding: 8px 14px; border: 1px solid var(--ink-line); border-radius: 999px; }
.maps-actions .primary { background: var(--ink); color: var(--card); border-color: var(--ink); }
.maps figcaption { font-size: .86rem; color: #B3AC9D; max-width: 46ch; }
.note { position: absolute; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; max-width: 290px;
  background: rgba(46,45,42,.94); color: #EFEDE3; border: 1px solid rgba(239,237,227,.22); box-shadow: 0 18px 40px -20px rgba(0,0,0,.8);
  opacity: 0; transform: translateY(12px) scale(.98); animation: pop .7s cubic-bezier(.2,.8,.2,1) forwards; }
.note.n1 { top: -26px; right: -26px; animation-delay: .9s; }
.note.n2 { left: -30px; top: 30%; animation-delay: 2s; }
@keyframes pop { to { opacity: 1; transform: none; } }
.note .ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-d); color: var(--night); }
.note .ic svg { width: 16px; height: 16px; }
.note b { display: block; font-weight: 600; font-size: .9rem; line-height: 1.3; }
.note small { color: #B3AC9D; font-size: .8rem; }
@media (max-width: 1100px) { .note.n1 { right: -8px; } .note.n2 { left: -8px; } }
@media (max-width: 560px) { .note { max-width: 250px; padding: 10px 12px; } .note.n1 { top: -30px; right: -4px; } .note.n2 { left: -4px; top: 12%; } .note .ic { width: 30px; height: 30px; } }

/* towns marquee */
.towns { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.towns-track { display: flex; gap: 40px; width: max-content; animation: slide 50s linear infinite; font: 400 1.12rem/1 var(--display); color: var(--muted); white-space: nowrap; }
.towns-track span::after { content: "·"; color: var(--accent); margin-left: 40px; }
.towns-track b { color: var(--fg); font-weight: 500; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- sub-page top: shorter dark band with the mark as a watermark */
/* .topo = the czyz.digital mark (three contour bands); brand rules: never rotated, never filled in the centre */
.topo { position: absolute; z-index: -1; color: #EFEDE3; pointer-events: none; top: 50%; transform: translateY(-50%); }
.topo svg { width: 100%; height: auto; display: block; overflow: visible; }
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-top: clamp(128px, 15vw, 176px); padding-bottom: clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--line); }
.page-hero .topo { right: -4%; top: 56%; width: min(52vw, 620px); opacity: .075; }
@media (max-width: 700px) { .page-hero .topo { width: 110vw; right: -42%; top: 38%; opacity: .06; } }
.crumbs { font-size: .86rem; color: var(--dim); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.crumbs span[aria-hidden] { margin-inline: 8px; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 6rem); line-height: .96; letter-spacing: -.035em; max-width: 13ch; margin: 22px 0 24px; }
.page-hero .lead { color: #D9D4C7; }
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.subnav a { text-decoration: none; font-size: .9rem; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--fg); transition: border-color .2s; }
.subnav a:hover { border-color: var(--accent); }

/* ---------------------------------------------------------------- sections */
.sec { padding-block: clamp(80px, 10vw, 132px); position: relative; }
.sec-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px 64px; align-items: end; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(2.2rem, 4.8vw, 4rem); line-height: 1.02; margin-top: 16px; }
.sec-head > p { color: var(--muted); max-width: 48ch; }
.sec-foot { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 28px; color: var(--muted); }
.sec-foot .link-arrow { color: var(--fg); }
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px clamp(40px, 6vw, 88px); align-items: start; }
.split h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.02; margin: 16px 0 22px; }
.split .txt > p { color: var(--muted); max-width: 52ch; }
.split .txt > p + p { margin-top: 14px; }
@media (max-width: 860px) { .sec-head, .split { grid-template-columns: minmax(0, 1fr); } }

/* services: one main pillar, supporting ones on the side */
.pillars { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 80px); }
.pillar-main { border-top: 3px solid var(--fg); padding-top: 28px; position: relative; }
.pillar-main h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 14px 0 14px; }
.pillar-main > p { color: var(--muted); max-width: 54ch; font-size: 1.08rem; }
.num { position: absolute; right: 0; top: 20px; font: 300 4.2rem/1 var(--display); color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.ticks { list-style: none; margin: 26px 0 0; padding: 0; }
.ticks li { padding: 15px 0 15px 34px; border-top: 1px solid var(--line); position: relative; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 13px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.ticks b { color: var(--fg); font-weight: 600; }
.pillar-side { display: grid; gap: 26px; align-content: start; }
.pillar { border-top: 1px solid var(--fg); padding-top: 22px; position: relative; }
.pillar .num { font-size: 3rem; top: 16px; }
.pillar h3 { font-size: 1.4rem; margin: 6px 0 10px; }
.pillar p { color: var(--muted); }
.pillar .link-arrow { display: inline-block; margin-top: 12px; font-size: .95rem; color: var(--fg); }
@media (max-width: 860px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* packages with prices, used on the services page */
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 30px; }
.pack { border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; background: var(--tile); }
.pack.hl { border-color: var(--fg); }
.pack h3 { font-size: 1.15rem; }
.pack p { color: var(--muted); font-size: .94rem; }
.pack .price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font: 600 1.4rem/1.2 var(--display); }
.pack .price small { font: 500 .85rem/1 var(--body); color: var(--muted); }
.pack-note { margin-top: 16px; font-size: .9rem; color: var(--muted); }

/* automation flow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--line-2) 70%, transparent); }
.flow li { position: relative; padding-top: 46px; }
.flow li::before { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); box-shadow: 0 0 0 6px rgba(179,148,112,.14); }
.flow .when { font: 600 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.flow h3 { font-size: 1.3rem; margin: 10px 0 8px; }
.flow p { color: var(--muted); font-size: .97rem; }
@media (max-width: 860px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .flow::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: var(--line-2); }
  .flow li { padding: 0 0 32px 40px; }
}

/* report + free review: paper sheets */
.report-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px clamp(40px, 6vw, 88px); align-items: center; }
.report-text h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.02; margin: 16px 0 22px; }
.report-text p { color: var(--muted); max-width: 46ch; }
.report-text p + p { margin-top: 14px; }
.report-text .link-arrow { display: inline-block; margin-top: 26px; color: var(--fg); }
.sheet { position: relative; margin: 0; background: var(--card); color: var(--ink); padding: clamp(22px, 3vw, 36px); border-radius: 6px; min-width: 0; box-shadow: 0 30px 60px -36px rgba(28,27,25,.75); }
.dark .sheet { transform: rotate(-.6deg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.sheet-head span:first-child { font: 600 1.15rem/1.2 var(--display); }
.sheet-head span:last-child { font-size: .85rem; color: var(--ink-muted); }
.sheet table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.sheet th, .sheet td { padding: 11px 0; border-bottom: 1px dotted var(--ink-line); font-weight: 400; text-align: left; }
.sheet td { text-align: right; font: 500 1.1rem/1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 16px; }
.sheet tr.sum th, .sheet tr.sum td { font-weight: 600; border-bottom: 1px solid var(--ink); }
.sheet tr.key th { font-weight: 600; }
.sheet tr.key td { font-size: 1.7rem; font-weight: 600; }
.sheet tr.key th, .sheet tr.key td { border-bottom: none; padding-top: 18px; }
.sheet .ribbon { position: absolute; top: -12px; right: 18px; background: var(--gold); color: var(--ink); font: 600 .68rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 3px; }
.weeks { margin-top: 22px; display: grid; gap: 10px; }
.weeks p { font-size: .8rem; color: var(--ink-muted); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; border-bottom: 1px solid var(--ink); padding-top: 18px; }
.bars span { flex: 1; height: calc(var(--v) * 1%); background: var(--ink); position: relative; border-radius: 3px 3px 0 0; }
.bars span:last-child { background: var(--gold); }
.bars i { position: absolute; top: -1.4em; left: 0; right: 0; text-align: center; font: normal 500 .8rem/1 var(--display); color: var(--ink-muted); }
.issues { list-style: none; margin: 0; padding: 0; counter-reset: issue; }
.issues > li { counter-increment: issue; display: grid; grid-template-columns: 1.8rem minmax(0, 1fr); gap: 8px 14px; padding: 18px 0; border-bottom: 1px dotted var(--ink-line); }
.issues > li:last-child { border-bottom: none; padding-bottom: 4px; }
.issues > li::before { content: counter(issue); grid-row: span 2; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--ink); color: var(--card); font: 600 .9rem/1.8rem var(--display); text-align: center; }
.issues h3 { font-size: 1.15rem; align-self: center; }
.issues dl { margin: 0; display: grid; gap: 6px; }
.issues dl div { display: grid; grid-template-columns: 6.8rem minmax(0, 1fr); gap: 10px; }
.issues dt { font: 600 .68rem/1.6 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); padding-top: 2px; }
.issues dd { margin: 0; font-size: .95rem; line-height: 1.45; }
@media (max-width: 900px) { .report-grid { grid-template-columns: minmax(0, 1fr); } .dark .sheet { transform: none; } }
@media (max-width: 480px) { .issues dl div { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* start: the trail signpost (PTTK mark: white, Jęczmień, white) next to the legs of the route */
.start-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 88px); }
.start-grid .sec-head { grid-column: 1 / -1; margin-bottom: 8px; }
.post { position: relative; display: grid; gap: 10px; align-content: start; padding-left: 24px; padding-bottom: 60px; }
.post .pole { position: absolute; left: 24px; top: 0; bottom: 0; width: 8px; background: var(--fg); border-radius: 2px; z-index: 0; }
.post-top { position: relative; z-index: 1; justify-self: start; background: var(--fg); color: var(--bg); font: 600 .95rem/1 var(--display); padding: 12px 18px; margin-left: -10px; letter-spacing: .02em; }
.sign { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  background: var(--sand); color: var(--ink); text-decoration: none; padding: 16px 44px 16px 16px; max-width: 460px;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%); transition: transform .2s ease; }
.sign::before { content: ""; width: 34px; height: 24px; box-shadow: 0 0 0 1px rgba(46,45,42,.18); background: linear-gradient(#FFFFFF 0 28%, var(--gold) 28% 72%, #FFFFFF 72%); }
.sign:hover { transform: translateX(6px); }
.sign-name { font: 500 1.15rem/1.2 var(--display); }
.sign-val { font: 600 .95rem/1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 480px) { .sign-name { white-space: nowrap; } }
@media (max-width: 479px) { .sign { grid-template-columns: auto minmax(0, 1fr); row-gap: 4px; } .sign::before { grid-row: span 2; } .sign-val { grid-column: 2; font-weight: 500; } }
.legs { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; counter-reset: leg; }
.legs li { counter-increment: leg; display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 8px 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.legs li:last-child { border-bottom: 1px solid var(--line); }
.legs h3 { font-size: 1.3rem; }
.legs h3::before { content: "0" counter(leg); display: block; font: 600 .72rem/1 var(--body); letter-spacing: .14em; color: var(--dim); margin-bottom: 8px; }
.legs p { color: var(--muted); }
@media (max-width: 860px) { .start-grid { grid-template-columns: minmax(0, 1fr); } .legs li { grid-template-columns: minmax(0, 1fr); } }

/* price list: a list with dotted leaders, like a price board */
.prices { columns: 2 380px; column-gap: clamp(32px, 6vw, 80px); }
.pgroup { break-inside: avoid; margin-bottom: 44px; }
.pgroup h3 { font-size: 1.3rem; padding-bottom: 10px; border-bottom: 2px solid var(--fg); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.pgroup h3 span { font: 500 .8rem/1.2 var(--body); color: var(--muted); letter-spacing: .02em; }
.pgroup dl { margin: 0; }
.row { display: grid; grid-template-columns: auto minmax(24px, 1fr) auto; grid-template-areas: "n lead p" "d d d"; column-gap: 10px; row-gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row dt { display: contents; }
.row .n { grid-area: n; font: 500 1.1rem/1.3 var(--display); }
.row small { grid-area: d; font-size: .9rem; line-height: 1.45; color: var(--muted); max-width: 52ch; }
.row::after { content: ""; grid-area: lead; border-bottom: 2px dotted var(--line-2); transform: translateY(-.35em); }
.row dd { grid-area: p; margin: 0; font: 600 1.15rem/1.3 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.row.hl .n::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: 9px; transform: translateY(-3px); }
.pnote { margin-top: 12px; font-size: .9rem; color: var(--muted); }
@media (max-width: 420px) { .row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n p" "d d"; } .row::after { display: none; } }

/* drone frames */
.frames { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 290px 290px; gap: 14px; }
.frames figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; background: var(--panel); }
.frames img, .frames video { width: 100%; height: 100%; object-fit: cover; transition: transform .9s; }
.frames figure:hover img { transform: scale(1.04); }
.photo { margin: 0; position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--panel); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.frames figcaption, .photo figcaption { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 8px; font-size: .76rem; color: #EFEDE3; background: rgba(28,27,25,.72); padding: 6px 11px; border-radius: 999px; }
.frames figcaption span + span, .photo figcaption span + span { color: #B3AC9D; }
.fr-gold { grid-column: 1; grid-row: 1; } .fr-hills { grid-column: 1; grid-row: 2; }
.fr-reel { grid-column: 2; grid-row: 1 / 3; } .fr-nadir { grid-column: 3; grid-row: 1 / 3; }
@media (max-width: 760px) {
  .frames { grid-template-columns: 1fr 1fr; grid-template-rows: 210px 210px 340px; }
  .fr-gold { grid-column: 1 / 3; grid-row: 1; } .fr-hills { grid-column: 1 / 3; grid-row: 2; }
  .fr-reel { grid-column: 1; grid-row: 3; } .fr-nadir { grid-column: 2; grid-row: 3; }
}

/* quote / about */
.about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px clamp(40px, 6vw, 88px); align-items: end; }
.about blockquote, .quote { margin: 18px 0 0; font: 400 clamp(1.5rem, 2.8vw, 2.3rem)/1.25 var(--display); letter-spacing: -.015em; }
.about p { color: var(--muted); }
.about .link-arrow { display: inline-block; margin-top: 18px; color: var(--fg); }
.facts-list { margin: 22px 0 0; }
.facts-list div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.facts-list dt { color: var(--muted); font-size: .92rem; }
.facts-list dd { margin: 0; font-weight: 500; text-align: right; }
@media (max-width: 860px) { .about { grid-template-columns: minmax(0, 1fr); } }

/* numbered principles / steps, four in a row */
.proof { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: p; }
.proof li { counter-increment: p; border-top: 2px solid var(--fg); padding-top: 18px; }
.proof li::before { content: "0" counter(p); display: block; font: 600 .74rem/1 var(--body); letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.proof h3 { font-size: 1.22rem; margin-bottom: 8px; }
.proof p { color: var(--muted); font-size: .96rem; }
.proof.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .proof, .proof.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .proof, .proof.three { grid-template-columns: minmax(0, 1fr); } }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(40px, 6vw, 88px); }
.faq-grid .sec-head { display: block; margin: 0; }
.faq-grid .sec-head > p { margin-top: 18px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font: 500 1.15rem/1.4 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 15px; font-size: 1.5rem; font-weight: 300; color: var(--fg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding-bottom: 20px; display: grid; gap: 10px; }
.faq-a p { color: var(--muted); max-width: 62ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* contact ways */
.ways { margin: 0; }
.ways div { padding: 16px 0; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ways dt { color: var(--muted); font-size: .9rem; }
.ways dd { margin: 0; font-weight: 500; text-align: right; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.ways a { text-decoration: none; border-bottom: 1px solid var(--accent); }
.copy { font: 500 .78rem/1 var(--body); color: var(--fg); background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.copy:hover { border-color: var(--accent); }

/* closing call to action, on every page but Kontakt */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(96px, 12vw, 156px); }
.cta-band .topo { right: -6%; width: min(62vw, 760px); opacity: .075; }
@media (max-width: 700px) { .cta-band .topo { width: 120vw; right: -45%; top: 30%; opacity: .06; } }
.cta-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; align-items: end; }
.cta-band h2 { font-size: clamp(2.5rem, 6vw, 5.2rem); line-height: .98; letter-spacing: -.035em; margin: 18px 0 24px; max-width: 13ch; }
.cta-side { display: grid; gap: 18px; justify-items: start; }
.cta-side p { color: var(--muted); font-size: .95rem; }
.cta-side p a { color: var(--fg); }
@media (max-width: 900px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- Realizacje: filters, a featured case, a grid of cards */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { font: 500 .9rem/1 var(--body); padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--fg); cursor: pointer; transition: background .2s, color .2s; }
.filters button:hover { border-color: var(--fg); }
.filters button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.case-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); background: var(--tile); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; margin-bottom: 20px; color: inherit; text-decoration: none; transition: border-color .2s; }
a.case-feature:hover { border-color: var(--fg); }
.case-feature .cover { position: relative; min-height: 440px; background: var(--night); }
.case-feature .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.case-body { padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.kick { font-size: .86rem; color: var(--muted); }
.case-body h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.05; letter-spacing: -.025em; }
.case-body > p { color: var(--muted); max-width: 54ch; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font: 500 .78rem/1 var(--body); padding: 7px 11px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--fg); }
.deltas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 6px 0 0; border-top: 1px solid var(--line); }
.deltas div { padding: 16px 12px 0 0; }
.deltas div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.deltas dt { font-size: .82rem; color: var(--muted); }
.deltas dd { margin: 6px 0 0; font: 500 clamp(1.5rem, 2.4vw, 2rem)/1.05 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.deltas .was { color: var(--dim); font-size: .62em; margin-right: 4px; }
.case-body .go { margin-top: auto; padding-top: 10px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; text-decoration-thickness: 2px; align-self: flex-start; }
.draft { position: absolute; left: 14px; top: 14px; z-index: 1; font: 600 .68rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 4px; color: var(--ink);
  background: repeating-linear-gradient(-45deg, #D7C9AE 0 10px, #E8DECA 10px 20px); box-shadow: 0 6px 18px -8px rgba(0,0,0,.6); }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case-card { position: relative; background: var(--tile); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, border-color .2s; }
a.case-card:hover { transform: translateY(-3px); border-color: var(--fg); }
.case-card .cover { position: relative; aspect-ratio: 16 / 10; background: var(--night); overflow: hidden; }
.case-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.cover.plain { display: grid; place-items: center; }
.cover.plain svg { position: absolute; left: 50%; top: 50%; width: 62%; height: auto; transform: translate(-50%, -50%); color: var(--sand); opacity: .16; }
.pinmark { position: relative; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-d); box-shadow: 0 0 0 9px rgba(179,148,112,.22), 0 0 0 22px rgba(179,148,112,.08); }
.case-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-card h3 { font-size: 1.28rem; line-height: 1.2; }
.case-card p { color: var(--muted); font-size: .95rem; }
.case-card .more { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 500; font-size: .93rem; display: flex; justify-content: space-between; gap: 12px; }
.status { display: inline-flex; align-items: center; gap: 9px; font: 600 .7rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(166,135,99,.22); }
.case-card.invite { --eyebrow: var(--gold-d); --accent: var(--gold-d); background: var(--ink); color: var(--paper); border-color: var(--ink); padding: 28px clamp(24px, 3vw, 36px); }
.case-grid .invite { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) auto; align-items: center; gap: 18px 40px; }
@media (max-width: 860px) { .case-grid .invite { grid-template-columns: minmax(0, 1fr); align-items: start; } }
.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; }
.case-card.invite h3 { font-size: 1.7rem; line-height: 1.1; }
.case-card.invite p { color: #CFC8B8; }
.case-card.invite .go { font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold-d); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.empty-note { margin-top: 26px; color: var(--muted); font-size: .92rem; }
@media (max-width: 960px) { .case-feature { grid-template-columns: minmax(0, 1fr); } .case-feature .cover { min-height: 320px; } .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .case-grid { grid-template-columns: minmax(0, 1fr); } .deltas div + div { padding-left: 10px; } }

/* ---------------------------------------------------------------- a single case study */
.draft-bar { display: inline-flex; margin-bottom: 22px; font: 600 .72rem/1.3 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; border-radius: 4px; color: var(--ink);
  background: repeating-linear-gradient(-45deg, #D7C9AE 0 10px, #E8DECA 10px 20px); }
.case-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px clamp(40px, 6vw, 80px); align-items: end; }
.case-hero-grid h1 { max-width: 15ch; }
.case-cover { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--panel); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.case-cover img { width: 100%; height: 100%; object-fit: cover; }
.facts { margin: 30px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; max-width: 640px; }
.facts div { padding: 12px 0; border-top: 1px solid var(--line-2); }
.facts dt { font: 600 .7rem/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.facts dd { margin: 4px 0 0; color: var(--fg); font-size: .97rem; }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cmp { border-radius: 18px; padding: 26px; border: 1px solid var(--line); background: var(--tile); }
.cmp.after { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cmp h3 { font: 600 .74rem/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.cmp.after h3 { color: #B9B2A2; }
.cmp ul { list-style: none; margin: 0; padding: 0; }
.cmp li { padding: 11px 0; border-top: 1px solid var(--line); }
.cmp.after li { border-color: rgba(239,237,227,.14); }
.cmp li b { font: 600 1.4rem/1 var(--display); margin-right: 4px; }
.cmp a { display: inline-block; margin-top: 16px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.work { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; counter-reset: w; }
.work li { counter-increment: w; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.work li::before { content: "0" counter(w); font: 300 2rem/1 var(--display); color: var(--accent); }
.work h3 { font-size: 1.25rem; margin-bottom: 6px; }
.work p { color: var(--muted); }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 26%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-color: var(--line-2) transparent; }
.strip img { width: 100%; height: 440px; object-fit: cover; border-radius: 14px; scroll-snap-align: start; background: var(--panel); }
.credit { margin-top: 10px; font-size: .85rem; color: var(--dim); }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 400; vertical-align: top; }
.spec th { color: var(--muted); width: 36%; padding-right: 16px; }
.links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; }
.links .link-arrow { color: var(--fg); }
@media (max-width: 900px) { .case-hero-grid { grid-template-columns: minmax(0, 1fr); } .case-cover { max-width: 420px; aspect-ratio: 4 / 3; } }
@media (max-width: 700px) { .compare, .work { grid-template-columns: minmax(0, 1fr); } .strip img { height: 360px; } .facts { grid-template-columns: minmax(0, 1fr); } }

/* about page: portrait slot */
.portrait { margin: 0; aspect-ratio: 4 / 5; border-radius: 18px; border: 2px dashed var(--line-2); display: grid; place-items: center; text-align: center; padding: 28px; color: var(--muted); position: relative; overflow: hidden; }
.portrait svg { position: absolute; left: 50%; top: 50%; width: 86%; height: auto; transform: translate(-50%, -50%); color: var(--fg); opacity: .06; }
.portrait p { position: relative; max-width: 24ch; font-size: .95rem; }
.portrait b { display: block; color: var(--fg); font: 500 1.15rem/1.3 var(--display); margin-bottom: 6px; }

/* ---------------------------------------------------------------- footer */
.foot { padding-block: 64px 28px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; }
.foot-grid img { height: 24px; width: auto; }
.foot-grid p { color: var(--muted); margin-top: 16px; max-width: 36ch; font-size: .95rem; }
.foot-col { display: grid; gap: 9px; align-content: start; font-size: .95rem; }
.foot-col b { font: 600 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.foot-col a { color: var(--muted); text-decoration: none; }
.foot-col a:hover { color: var(--fg); }
.foot-col span { color: var(--muted); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--dim); font-size: .84rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* reveal on scroll (content stays visible without JS) */
.js [data-r] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js [data-r].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .note { opacity: 1; transform: none; }
  .js [data-r] { opacity: 1; transform: none; }
}
