/* ==========================================================================
   2nodes.eu — single-page site
   Layout: one centred column (max 1240px, 12-col rhythm), full-bleed section
   backgrounds. Light theme only. Colour = information: cyan is Node A (Daniel),
   amber is Node B (Mateusz), ink is what they share.
   ========================================================================== */

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

:root {
  /* palette */
  --ink: #0E1A2F;
  --ink2: #46526A;
  --rule: #D8DEE8;
  --paper: #FFFFFF;
  --mist: #F3F6FA;
  --a: #22C1E6;
  --a-tint: #E3F6FC;
  --a-text: #08708C;
  --b: #FFB21E;
  --b-tint: #FFF1D1;
  --b-text: #9A5A00;
  /* type */
  --display: 'Bricolage Grotesque Variable', 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  /* layout */
  --gut: 20px;
  --max: 1240px;
  --bg: var(--paper);
  color-scheme: light;
}
@media (min-width: 720px) { :root { --gut: 32px; } }
@media (min-width: 1100px) { :root { --gut: 48px; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .core :focus-visible { outline-color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* language switching: both languages are in the DOM, one is hidden */
html[lang="en"] [data-l="pl"], html[lang="pl"] [data-l="en"] { display: none !important; }

.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { left: 8px; }

/* ---------- node colours ---------- */
.a { --lane: var(--a); --lane-text: var(--a-text); --lane-tint: var(--a-tint); --lane-soft: rgba(34, 193, 230, .4); }
.b { --lane: var(--b); --lane-text: var(--b-text); --lane-tint: var(--b-tint); --lane-soft: rgba(255, 178, 30, .5); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.a { background: var(--a); }
.dot.b { background: var(--b); }
.dot.ab { background: linear-gradient(90deg, var(--a) 50%, var(--b) 50%); }
.tag { display: inline-block; padding: 4px 12px; border-radius: 99px; background: var(--lane); color: var(--ink); font: 600 13px/1.25 var(--body); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--rule); }
.top-in { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 21px/1 var(--display); letter-spacing: -0.02em; }
.brand svg { display: block; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-weight: 500; font-size: 15px; color: var(--ink2); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--rule); border-radius: 99px; background: #fff; }
.lang button, .lang a { appearance: none; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; cursor: pointer; min-width: 40px; height: 32px; padding: 0 10px; border-radius: 99px; font: 600 13.5px/1 var(--body); color: var(--ink2); text-decoration: none; }
.lang [aria-pressed="true"], .lang [aria-current="true"] { background: var(--ink); color: #fff; }
.lang button:not([aria-pressed="true"]):hover, .lang a:not([aria-current="true"]):hover { color: var(--ink); }
.menu { display: none; appearance: none; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 50%; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu i, .menu i::before, .menu i::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; }
.menu i::before { position: absolute; top: -6px; left: 0; }
.menu i::after { position: absolute; top: 6px; left: 0; }
.menu[aria-expanded="true"] i { background: transparent; }
.menu[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
.menu[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 979px) {
  .top-in { gap: 12px; }
  .lang { margin-left: auto; }
  .menu { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; padding: 4px var(--gut) 18px; background: #fff; border-bottom: 1px solid var(--rule); }
  .nav.open { display: flex; }
  .nav a { font-size: 18px; color: var(--ink); padding: 15px 0; border-bottom: 1px solid var(--rule); }
  .nav a:last-child { border-bottom: 0; }
  .nav a:hover { border-bottom-color: var(--rule); }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border-radius: 99px; border: 2px solid var(--ink); background: var(--ink); color: #fff; font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.btn:hover { background: #fff; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }

/* ---------- section scaffolding ---------- */
.sec { padding: clamp(64px, 9vw, 128px) 0; }
.sec.mist { background: var(--mist); --bg: var(--mist); }
#team { padding-top: clamp(32px, 5vw, 64px); }
.sec.dark { background: var(--ink); color: #fff; }
.sec-head { display: grid; gap: 18px 64px; align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.035em; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--ink2); max-width: 34em; }
.dark .lead { color: rgba(255, 255, 255, .76); }
@media (min-width: 960px) {
  .sec-head { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .sec-head.solo { grid-template-columns: minmax(0, 1fr); }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px; border: 1px solid var(--rule); border-radius: 99px; background: #fff; font-size: 13.5px; font-weight: 500; line-height: 1.35; color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 5vw, 72px) 0 clamp(24px, 4vw, 56px); }
.hero-grid { display: grid; gap: 44px 56px; align-items: center; }
@media (min-width: 1040px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr); } }
h1 { font-size: clamp(46px, 6.1vw, 88px); line-height: .98; letter-spacing: -0.04em; }
html[lang="pl"] h1 { font-size: clamp(38px, 4.9vw, 70px); }
.ln { display: block; }
.hero-sub { margin-top: 28px; max-width: 33em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink2); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-loc { display: flex; align-items: center; gap: 10px; margin-top: 40px; font-size: 15px; color: var(--ink2); }
.venn-fig { margin: 0; }
.venn-fig figcaption { max-width: 30em; margin: 24px auto 0; text-align: center; font-size: 16px; line-height: 1.55; color: var(--ink2); }
@media (max-width: 520px) { .cta-row .btn { width: 100%; } }

/* the diagram: A and B circles, the shared core is their intersection in ink */
@property --sh { syntax: '<number>'; inherits: true; initial-value: 0; }
.venn-wrap { container: venn / inline-size; width: 100%; max-width: 820px; margin-inline: auto; }
.venn { position: relative; --d: 65.6cqw; --off: 34.4cqw; --sh: 0; height: var(--d); animation: pull 1.3s cubic-bezier(.22, .8, .24, 1) .1s both; }
.venn > * { position: absolute; }
.ca, .cb, .lens { top: 0; width: var(--d); height: var(--d); border-radius: 50%; }
.ca { left: 0; background: var(--a); }
.cb { left: calc(var(--off) + var(--sh) * 1cqw); background: var(--b); }
.lens { left: 0; overflow: hidden; }
.lens::before { content: ""; position: absolute; top: 0; left: calc(var(--off) + var(--sh) * 1cqw); width: var(--d); height: var(--d); border-radius: 50%; background: var(--ink); }
.vt { top: 0; height: var(--d); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-inline: 2.4cqw; animation: fade .6s ease .85s both; }
.va { left: 0; width: var(--off); }
.vc { left: var(--off); width: calc(var(--d) - var(--off)); color: #fff; }
.vb { left: var(--d); width: var(--off); }
.vl { font-weight: 500; font-size: max(12px, 2.1cqw); line-height: 1.2; }
.vn { margin-top: 1.2cqw; font: 700 max(20px, 4.1cqw)/1.04 var(--display); letter-spacing: -0.03em; }
.vd { margin-top: 1.5cqw; font-size: max(13px, 2.25cqw); line-height: 1.35; }
.vc ul { list-style: none; margin: 1.6cqw 0 0; padding: 0; font-weight: 600; font-size: max(13px, 2.3cqw); line-height: 1.5; }
.vc .vl { font-weight: 500; opacity: .85; }
@keyframes pull { from { --sh: 7; } }
@keyframes fade { from { opacity: 0; } }
@container venn (max-width: 479px) {
  .venn { --d: 92cqw; --off: 48.2cqw; height: calc(var(--d) + var(--off)); }
  .ca, .cb, .lens { left: 4cqw; }
  .cb { top: calc(var(--off) + var(--sh) * 1cqw); }
  .lens::before { left: 0; top: calc(var(--off) + var(--sh) * 1cqw); }
  .vt { left: 4cqw; width: var(--d); height: auto; padding-inline: 8cqw; }
  .va { top: 0; height: var(--off); padding-top: 9cqw; }
  .vc { top: var(--off); height: calc(var(--d) - var(--off)); }
  .vb { top: var(--d); height: var(--off); padding-bottom: 9cqw; }
  .vl { font-size: max(12px, 3.5cqw); }
  .vn { margin-top: 1.4cqw; font-size: max(21px, 7cqw); }
  .vd { margin-top: 1.6cqw; font-size: max(13px, 3.8cqw); }
  .vc ul { margin-top: 1.4cqw; font-size: max(13px, 3.7cqw); line-height: 1.45; }
}
@media (prefers-reduced-motion: reduce) { .venn, .vt { animation: none; } }

/* ---------- numbers ---------- */
.bands { display: grid; gap: 16px; }
.band { display: grid; gap: 28px 40px; padding: clamp(22px, 3vw, 36px); border-radius: 28px; background: var(--lane-tint); }
@media (min-width: 960px) { .band { grid-template-columns: minmax(250px, .85fr) 3fr; align-items: center; } }
.who { display: flex; align-items: center; gap: 18px; }
.ph { width: 84px; height: 84px; flex: none; border-radius: 50%; object-fit: cover; border: 4px solid var(--lane); background: #fff; }
.who h3 { margin-top: 8px; font-size: 24px; line-height: 1.1; }
.who p { margin-top: 3px; font-size: 14.5px; line-height: 1.4; color: var(--ink2); }
.stats { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
.big { display: flex; align-items: center; gap: 8px; font: 700 clamp(36px, 4vw, 52px)/1 var(--display); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.big .arr { width: .9em; height: .58em; flex: none; }
.stats li > span { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: var(--ink2); }
@media (min-width: 960px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .stats li { padding: 0 22px; border-left: 1px solid rgba(14, 26, 47, .14); }
  .stats li:first-child { padding-left: 0; border-left: 0; }
  .stats li:last-child { padding-right: 0; }
}

/* ---------- team ---------- */
.people { display: grid; gap: 56px 64px; }
@media (min-width: 900px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.person { padding-top: 28px; border-top: 4px solid var(--lane); }
.person .id { display: flex; align-items: center; gap: 22px; }
.person .ph { width: 132px; height: 132px; border-width: 6px; }
.person h3 { margin-top: 10px; font-size: clamp(28px, 2.8vw, 36px); line-height: 1.05; }
.person .role { margin-top: 6px; font-size: 15px; line-height: 1.4; color: var(--ink2); }
.focus { margin-top: 28px; font: 600 clamp(19px, 1.7vw, 22px)/1.3 var(--display); letter-spacing: -0.015em; color: var(--lane-text); }
.bio { margin-top: 12px; font-size: 17px; line-height: 1.65; color: var(--ink2); max-width: 36em; }
.meta { margin-top: 26px; border-top: 1px solid var(--rule); }
.meta div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.45; }
.meta dt { color: var(--ink2); font-weight: 500; }
.meta dd { color: var(--ink); }
.core { margin-top: clamp(56px, 7vw, 88px); padding: clamp(28px, 4.5vw, 56px); border-radius: 32px; background: var(--ink); color: #fff; }
.core-h { display: flex; align-items: center; gap: 16px; font: 700 clamp(26px, 3vw, 36px)/1 var(--display); letter-spacing: -0.03em; }
.core-grid { display: grid; gap: 30px 44px; margin-top: 36px; }
@media (min-width: 640px) { .core-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .core-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.core h4 { font: 600 18px/1.3 var(--body); letter-spacing: 0; }
.core p { margin-top: 6px; font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, .76); }

/* ---------- services ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--ink2); }
.legend > span { display: inline-flex; align-items: center; gap: 8px; }
.dark .legend { color: rgba(255, 255, 255, .82); justify-self: end; }
.svc-row { display: grid; gap: 22px 56px; padding: clamp(30px, 4vw, 52px) 0; border-top: 1px solid var(--rule); }
.svc-row:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 900px) { .svc-row { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); } }
.verb { font: 700 clamp(40px, 5.2vw, 72px)/1 var(--display); letter-spacing: -0.04em; }
html[lang="pl"] .verb { font-size: clamp(34px, 4.2vw, 58px); }
.svc-item + .svc-item { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--rule); }
.svc-item h3, .case h4 { font: 600 clamp(21px, 2vw, 26px)/1.18 var(--display); letter-spacing: -0.02em; }
.svc-item p { margin-top: 10px; max-width: 40em; font-size: 16.5px; line-height: 1.65; color: var(--ink2); }
.by { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13.5px; color: var(--ink2); }
.by b { font-weight: 600; color: var(--ink); }

/* ---------- work ---------- */
.group + .group { margin-top: clamp(56px, 7vw, 88px); }
.group-h { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; font: 700 clamp(22px, 2.2vw, 28px)/1.1 var(--display); letter-spacing: -0.025em; }
.group-h .dot { width: 16px; height: 16px; }
.cases { display: grid; gap: 40px 32px; }
@media (min-width: 900px) { .cases { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.case { padding-top: 20px; border-top: 4px solid var(--lane); }
.case .cl { font: 600 14px/1.3 var(--body); color: var(--lane-text); }
.case h4 { margin-top: 10px; }
.case p { margin-top: 12px; font-size: 15.5px; line-height: 1.65; color: var(--ink2); }
.case .chips { margin-top: 16px; }

/* ---------- career paths ---------- */
.lanes { display: grid; gap: 64px 72px; }
@media (min-width: 900px) { .lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lane-h { display: flex; align-items: center; gap: 14px; font: 700 clamp(22px, 2.2vw, 28px)/1.1 var(--display); letter-spacing: -0.025em; }
.axis { position: relative; height: 18px; margin: 26px 0 10px 28px; font-size: 12.5px; line-height: 1; color: var(--ink2); font-variant-numeric: tabular-nums; }
.axis span { position: absolute; top: 0; transform: translateX(-50%); }
.axis span:first-child { transform: none; }
.tl { list-style: none; position: relative; }
.tl::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 30px; width: 2px; background: var(--lane-soft); }
.job { position: relative; padding: 0 0 38px 28px; }
.job:last-child { padding-bottom: 0; }
.job::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--lane); box-shadow: 0 0 0 4px var(--bg); }
.job-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; }
.job h4 { font: 600 clamp(20px, 1.9vw, 24px)/1.2 var(--display); letter-spacing: -0.02em; }
.job h4 small { font: 400 15px/1 var(--body); letter-spacing: 0; color: var(--ink2); margin-left: 8px; }
.when { font-size: 14px; font-weight: 500; color: var(--ink2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.job .role { margin-top: 4px; font-size: 15px; line-height: 1.4; }
.trk { position: relative; height: 6px; margin-top: 12px; border-radius: 99px; background: rgba(14, 26, 47, .1); }
.trk i { position: absolute; top: 0; bottom: 0; left: calc(var(--s) * 100%); width: calc(var(--w) * 100%); border-radius: inherit; background: var(--lane); }
.job .d { margin-top: 12px; font-size: 15.5px; line-height: 1.6; color: var(--ink2); }

/* ---------- technologies ---------- */
.grp { display: grid; gap: 16px 40px; padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
@media (min-width: 900px) { .grp { grid-template-columns: minmax(0, .7fr) minmax(0, 2fr); } }
.grp h3 { font: 600 20px/1.3 var(--display); letter-spacing: -0.015em; }
.dark .chips { margin: 0; }
.dark .chips li { background: transparent; border-color: rgba(255, 255, 255, .28); color: #fff; }
.certs { display: grid; gap: 12px; list-style: none; }
.certs li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.45; color: #fff; }
.certs .dot { margin-top: 7px; }

/* ---------- contact ---------- */
.mega { font-size: clamp(46px, 8.4vw, 120px); line-height: .95; letter-spacing: -0.045em; }
html[lang="pl"] .mega { font-size: clamp(40px, 7vw, 104px); }
.contact-head { display: grid; gap: clamp(24px, 3vw, 36px) 64px; align-items: end; }
@media (min-width: 960px) { .contact-head { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
.nb { white-space: nowrap; }
.cards { display: grid; gap: 40px 48px; margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 820px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ccard { padding-top: 26px; border-top: 4px solid var(--lane); }
.ccard h3 { margin-top: 12px; font-size: clamp(28px, 2.8vw, 36px); line-height: 1.05; }
.ccard .role { margin-top: 6px; font-size: 15px; color: var(--ink2); }
.mailhero { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: clamp(36px, 5vw, 64px); }
.bigmail { padding-bottom: 8px; background: linear-gradient(90deg, var(--a), var(--b)) 0 100% / 100% 5px no-repeat; font: 700 clamp(28px, 5.4vw, 72px)/1.05 var(--display); letter-spacing: -0.035em; text-decoration: none; overflow-wrap: anywhere; transition: background-size .2s; }
.bigmail:hover { background-size: 100% 9px; }
.mailhero .copy { height: 44px; padding: 0 22px; font-size: 15px; }
.copy { appearance: none; height: 36px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 99px; background: #fff; font: 600 14px/1 var(--body); cursor: pointer; transition: background-color .15s, color .15s; }
.copy:hover { background: var(--ink); color: #fff; }
.copy .done, .copy .fail { display: none; }
.copy.ok, .copy.err { background: var(--ink); color: #fff; }
.copy.ok .done, .copy.err .fail { display: inline; }
.copy.ok .idle, .copy.err .idle { display: none; }
.phones { list-style: none; display: grid; gap: 6px; margin-top: 16px; font-size: 18px; font-variant-numeric: tabular-nums; }
.phones a { text-decoration: none; }
.phones a:hover { text-decoration: underline; text-underline-offset: 4px; }
.where { display: flex; align-items: center; gap: 10px; margin-top: clamp(40px, 5vw, 64px); font-size: 16px; color: var(--ink2); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--rule); padding: 28px 0 36px; font-size: 14.5px; color: var(--ink2); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.foot .brand { font-size: 18px; color: var(--ink); }
.foot-in > span { display: inline-flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.foot a:not(.brand) { color: var(--ink2); text-underline-offset: 4px; }
.foot a:not(.brand):hover { color: var(--ink); }

/* ---------- 404 ---------- */
.nf { display: grid; justify-items: start; gap: 22px; padding: clamp(40px, 8vw, 96px) 0 clamp(64px, 10vw, 140px); }
.nf h1 { font-size: clamp(96px, 22vw, 240px); line-height: .9; }
.nf p { max-width: 30em; font-size: 19px; color: var(--ink2); }

/* ---------- privacy policy ---------- */
.legal-page { padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 6vw, 80px); }
.legal-sec { border-top: 1px solid var(--rule); }
.legal-head { display: grid; gap: 14px; max-width: 46em; }
.legal .lg-title { font-size: clamp(40px, 5.6vw, 80px); line-height: .98; letter-spacing: -0.04em; }
.lg-meta { font-size: 14.5px; line-height: 1.4; color: var(--ink2); }
.legal-head .lead { margin-top: 6px; }
.gist { margin-top: clamp(32px, 4.5vw, 56px); padding: clamp(22px, 3vw, 36px); border-radius: 28px; background: var(--mist); }
.gist-h { font: 700 clamp(22px, 2.2vw, 28px)/1.1 var(--display); letter-spacing: -0.025em; }
.gist ul { list-style: none; display: grid; gap: 14px 40px; margin-top: 18px; }
@media (min-width: 900px) { .gist ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gist li { position: relative; padding-left: 24px; font-size: 16.5px; line-height: 1.55; }
.gist li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(90deg, var(--a) 50%, var(--b) 50%); }
.gist a { text-underline-offset: 3px; }
.lg-rows { margin-top: clamp(40px, 6vw, 72px); }
.lg-row { display: grid; gap: 18px 56px; padding: clamp(28px, 3.6vw, 44px) 0; border-top: 1px solid var(--rule); }
@media (min-width: 900px) {
  .lg-row { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); }
  .lg-h { position: sticky; top: 92px; align-self: start; }
}
.lg-h { font: 600 clamp(22px, 2.1vw, 27px)/1.18 var(--display); letter-spacing: -0.02em; }
.lg-body { max-width: 42em; font-size: 16.5px; line-height: 1.7; color: var(--ink2); }
.lg-body > * + * { margin-top: 16px; }
.lg-body strong { font-weight: 600; color: var(--ink); }
.lg-body a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.lg-body a:hover { text-decoration-thickness: 2px; }
.lg-body ul { list-style: none; display: grid; gap: 8px; }
.lg-body li { position: relative; padding-left: 22px; }
.lg-body li::before { content: ""; position: absolute; left: 3px; top: .74em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.act + .act { margin-top: 36px; }
.act { padding-top: 16px; border-top: 2px solid var(--ink); }
.act-h { font: 600 20px/1.3 var(--display); letter-spacing: -0.015em; color: var(--ink); }
.facts { margin-top: 8px; }
.facts > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; line-height: 1.6; }
.facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { font-weight: 500; color: var(--ink2); }
.facts dd { color: var(--ink); }
@media (max-width: 560px) { .facts > div { grid-template-columns: minmax(0, 1fr); } }
.lg-body .note { padding: 18px 22px 20px; border: 2px solid var(--ink); border-radius: 20px; background: #fff; color: var(--ink); }
.lg-body .note strong { font: 700 18px/1.3 var(--display); letter-spacing: -0.01em; }
.lg-body .note p { margin-top: 6px; font-size: 16px; line-height: 1.6; }
