/* ============================================================
   brt.pl — Bartosz Ratajewski
   Editorial / premium personal brand. Navy base + amber accent.
   ============================================================ */

:root {
  --navy:        #16223f;
  --navy-700:    #1d2c4e;
  --navy-600:    #29395f;
  --navy-line:   #34456b;

  --cream:       #f5f1e8;
  --paper:       #faf8f2;
  --paper-2:     #efe9dc;

  --ink:         #18202f;
  --ink-soft:    #46506250;
  --muted:       #5c6577;
  --muted-light: #9aa3b4;

  --amber:       #bf8a3c;
  --amber-deep:  #a5742b;
  --amber-ink:   #835617;   /* darker - small text on cream/white, WCAG AA */
  --amber-soft:  #e7d3a8;

  --on-navy:     #eef1f6;
  --on-navy-mut: #97a2bb;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

::selection { background: var(--amber-soft); color: var(--navy); }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- type helpers ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--amber);
}
.eyebrow--center { justify-content: center; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid #00000010;
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gutter);
}
.brandmark {
  display: inline-flex; align-items: baseline; gap: 2px;
  font-family: var(--mono); font-weight: 600;
  font-size: 19px; letter-spacing: 0.06em;
  color: var(--navy); text-decoration: none;
}
.brandmark .dot { color: var(--amber); }
.nav__links { display: flex; gap: clamp(14px, 2.4vw, 34px); align-items: center; }
.nav__links a {
  font-size: 14.5px; text-decoration: none; color: var(--muted);
  letter-spacing: 0.01em; transition: color .18s; white-space: nowrap;
}
.nav__links a:hover { color: var(--navy); }
.nav__cta {
  font-family: var(--sans);
  font-size: 14px; font-weight: 500;
  padding: 9px 18px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  color: var(--navy) !important;
  text-decoration: none;
  transition: background .18s, color .18s;
}
.nav__cta:hover { background: var(--navy); color: var(--cream) !important; }

.nav__burger {
  display: none;
  width: 44px; height: 44px; padding: 0; margin: -6px -8px -6px 0;
  border: none; background: none; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__burger span {
  position: relative; width: 22px; height: 1.5px; background: var(--navy);
  display: block; transition: transform .25s, opacity .2s;
}
.nav__burger span::before, .nav__burger span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 1.5px;
  background: var(--navy); transition: transform .25s, top .25s;
}
.nav__burger span::before { top: -7px; }
.nav__burger span::after  { top: 7px; }
.nav__burger[aria-expanded="true"] span { background: transparent; }
.nav__burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav__burger { display: inline-flex; }
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid #00000014;
    box-shadow: 0 20px 30px -22px #16223f66;
    padding: 8px var(--gutter) 18px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav__links[data-open="true"] { transform: none; opacity: 1; visibility: visible; }
  .nav__links a:not(.nav__cta) {
    font-size: 17px; padding: 13px 2px;
    border-bottom: 1px solid #16223f12; color: var(--navy);
  }
  .nav__cta { text-align: center; margin-top: 14px; padding: 13px 18px; }
}

/* ============================================================
   readiness motif — crosshair ticks + faint grid
   ============================================================ */
.motif-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right,  #ffffff06 1px, transparent 1px),
    linear-gradient(to bottom, #ffffff06 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.tick {
  position: absolute; width: 16px; height: 16px;
  pointer-events: none; opacity: .55;
}
.tick::before, .tick::after {
  content: ""; position: absolute; background: var(--amber);
}
.tick::before { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.tick::after  { top: 50%; left: 0; height: 1px; width: 100%; transform: translateY(-50%); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--cream);
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(48px, 8vw, 88px);
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right,  #16223f08 1px, transparent 1px),
    linear-gradient(to bottom, #16223f08 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 80% at 70% 30%, #000 30%, transparent 78%);
          mask-image: radial-gradient(120% 80% at 70% 30%, #000 30%, transparent 78%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.hero__kicker {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 26px;
}
.brt-letters {
  display: inline-flex; gap: 7px;
  font-family: var(--mono); font-weight: 600;
  font-size: 13px; letter-spacing: 0.05em;
}
.brt-letters span {
  width: 26px; height: 26px; display: grid; place-items: center;
  border: 1px solid var(--navy-line); color: var(--navy);
  border-radius: 5px; background: #ffffff60;
}
.brt-letters span b { color: var(--amber-ink); }
.brt-expand {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.brt-expand em { color: var(--navy); font-style: normal; }

.hero h1 {
  font-size: clamp(40px, 7vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.hero h1 .ln { display: block; }
.hero__lede {
  font-size: clamp(18px, 2.1vw, 22px);
  color: var(--ink);
  max-width: 30ch;
  margin: 26px 0 0;
  line-height: 1.5;
  text-wrap: pretty;
}
.hero__lede b { font-weight: 600; }
.hero__cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 34px;
}
.btn {
  font-family: var(--sans); font-size: 15.5px; font-weight: 500;
  padding: 14px 26px; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .15s, background .18s, box-shadow .18s, color .18s;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--amber); color: #1c1404;
  box-shadow: 0 1px 0 #00000020;
}
.btn--primary:hover { background: var(--amber-deep); color: #fff; }
.btn--ghost {
  border-color: var(--navy); color: var(--navy);
}
.btn--ghost:hover { background: var(--navy); color: var(--cream); }
.btn .arr { transition: transform .18s; }
.btn:hover .arr { transform: translateX(3px); }

/* portrait */
.portrait {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 380px;
}
.portrait__frame {
  position: relative;
  border: 1px solid var(--navy-line);
  padding: 10px;
  background: var(--paper);
}
.portrait__frame img {
  width: 100%; height: auto;
  filter: saturate(1.02) contrast(1.02);
}
.portrait .tick { opacity: .9; }
.portrait .tick--tl { top: -8px; left: -8px; }
.portrait .tick--br { bottom: -8px; right: -8px; }
.portrait__tag {
  position: absolute; bottom: 18px; left: 18px;
  background: var(--navy); color: var(--on-navy);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  padding: 7px 12px; border-radius: 4px;
}
.portrait__tag b { color: var(--amber); font-weight: 600; }

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .portrait { justify-self: start; max-width: 220px; }
}

/* ============================================================
   SECTION scaffolding
   ============================================================ */
section { position: relative; }
.section { padding-block: clamp(64px, 9vw, 116px); }
.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head h2 {
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.04; letter-spacing: -0.01em;
  color: var(--navy); margin-top: 16px;
  text-wrap: balance;
}

/* ---------- O MNIE ---------- */
.about { background: var(--paper); }
.about__grid {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 6vw, 80px); align-items: start;
}
.about__bio p { font-size: 18.5px; line-height: 1.7; color: var(--ink); margin: 0 0 18px; }
.about__bio p:last-child { margin-bottom: 0; }
.about__bio strong { font-weight: 600; color: var(--navy); }
.about__pull {
  font-family: var(--serif); font-size: 22px; font-style: italic;
  color: var(--navy); line-height: 1.4;
  border-left: 2px solid var(--amber);
  padding-left: 22px; margin: 30px 0;
}
.tags {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px;
}
.tag {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em;
  padding: 7px 13px; border: 1px solid #16223f22; border-radius: 6px;
  color: var(--navy); background: #ffffff70;
}

.stats { display: grid; gap: 0; border: 1px solid #16223f1a; border-radius: 12px; overflow: hidden; background: #fff; }
.stat { padding: 30px 28px; border-bottom: 1px solid #16223f12; position: relative; }
.stat:last-child { border-bottom: none; }
.stat__num {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(46px, 6vw, 66px); line-height: 0.95;
  color: var(--navy); letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums lining-nums;
  display: flex; align-items: baseline; gap: 7px;
}
.stat__num .u { font-size: 0.36em; color: var(--amber-deep); font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
.stat__lab { margin-top: 11px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.stat__lab b { color: var(--ink); font-weight: 600; }

@media (max-width: 820px) {
  .about__grid { grid-template-columns: 1fr; }
}

/* ---------- EKSPERTYZA ---------- */
.exp { background: var(--cream); }
.exp__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: #16223f18; border: 1px solid #16223f18; border-radius: 12px; overflow: hidden; }
.exp__card { position: relative; background: var(--paper); padding: clamp(26px, 3vw, 38px); min-height: 230px; display: flex; flex-direction: column; transition: background .2s; }
.exp__card:hover { background: #fff; }
/* celownik - sygnatura "Be Ready ToDay", celuje w karte na hover */
.exp__card::after, .other::after {
  content: ""; position: absolute; top: 16px; right: 16px; width: 13px; height: 13px;
  opacity: 0; transform: scale(.7); transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
  background:
    linear-gradient(var(--amber), var(--amber)) center/1px 100% no-repeat,
    linear-gradient(var(--amber), var(--amber)) center/100% 1px no-repeat;
}
.exp__card:hover::after, .other:hover::after { opacity: .75; transform: none; }
.exp__no { font-family: var(--mono); font-size: 12.5px; color: var(--amber-ink); letter-spacing: 0.1em; }
.exp__card h3 { font-size: 24px; line-height: 1.12; color: var(--navy); margin: 16px 0 12px; letter-spacing: -0.01em; text-wrap: balance; }
.exp__card p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.exp__motto {
  margin-top: clamp(34px, 4vw, 48px);
  font-family: var(--serif); font-size: clamp(24px, 3.4vw, 36px);
  color: var(--navy); line-height: 1.25; max-width: 14em;
  text-wrap: balance;
}
.exp__motto .br { display: block; white-space: nowrap; }
.exp__motto b { display: block; white-space: nowrap; color: var(--amber-deep); font-weight: 500; font-style: italic; }
@media (max-width: 480px) {
  .exp__motto { max-width: none; }
  .exp__motto .br, .exp__motto b { white-space: normal; text-wrap: balance; }
}
@media (max-width: 760px) { .exp__grid { grid-template-columns: 1fr; } }

/* ---------- WYSTĄPIENIA ---------- */
.talks { background: var(--paper); }
.talks__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.talk {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #16223f16;
  border-radius: 12px; padding: 22px 22px 18px;
  text-decoration: none; color: inherit;
  transition: transform .16s, box-shadow .18s, border-color .18s;
  position: relative; min-height: 200px;
}
.talk:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px #16223f55; border-color: #16223f30; }
.talk__date { font-family: var(--mono); font-size: 12px; color: var(--amber-ink); letter-spacing: 0.04em; }
.talk__title { font-family: var(--serif); font-size: 20px; line-height: 1.18; color: var(--navy); margin: 12px 0 0; letter-spacing: -0.005em; flex: 1; text-wrap: pretty; }
.talk__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #16223f12; }
.role { font-size: 12px; font-weight: 600; line-height: 1.25; letter-spacing: 0.01em; color: var(--navy); padding: 6px 11px; border-radius: 12px; background: var(--paper-2); }
.role--star { background: var(--navy); color: var(--amber); }
.talk__arrow { font-family: var(--mono); font-size: 15px; color: var(--muted-light); transition: transform .18s, color .18s; }
.talk:hover .talk__arrow { transform: translate(2px,-2px); color: var(--navy); }

.press {
  margin-top: 22px;
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
  background: var(--cream); border: 1px solid #16223f18; border-radius: 12px;
  padding: 26px clamp(24px, 3vw, 36px); text-decoration: none; color: inherit;
  transition: border-color .18s, background .18s;
}
.press:hover { border-color: #16223f30; background: #fff; }
.press__src { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber-ink); white-space: nowrap; }
.press__q { font-family: var(--serif); font-style: italic; font-size: clamp(17px, 2vw, 21px); color: var(--navy); line-height: 1.4; margin: 0; }
@media (max-width: 900px) { .talks__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .talks__grid { grid-template-columns: 1fr; } .press { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- PROJEKTY ---------- */
.proj { background: var(--cream); }
.aibh {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--on-navy);
  border-radius: 18px; padding: clamp(34px, 5vw, 64px);
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.aibh__bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right,  #ffffff09 1px, transparent 1px),
    linear-gradient(to bottom, #ffffff09 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(90% 120% at 90% 10%, #000 20%, transparent 75%);
          mask-image: radial-gradient(90% 120% at 90% 10%, #000 20%, transparent 75%);
}
.aibh > .aibh__main, .aibh > .aibh__side { position: relative; }
.aibh__eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); display: inline-flex; align-items: center; gap: 10px; }
.aibh__eyebrow::before { content:""; width: 22px; height: 1px; background: var(--amber); }
.aibh h3 { font-size: clamp(32px, 4.5vw, 52px); color: #fff; line-height: 1; margin: 18px 0 0; letter-spacing: -0.01em; }
.aibh__lead { font-size: 18px; color: var(--on-navy); line-height: 1.6; margin: 18px 0 0; max-width: 42ch; }
.aibh__motto { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--amber-soft); margin: 22px 0 0; }
.aibh__cta { margin-top: 30px; }
.btn--amber { background: var(--amber); color: #1c1404; }
.btn--amber:hover { background: #d6a04e; color: #1c1404; }
.aibh__side { border-left: 1px solid var(--navy-line); padding-left: clamp(24px, 3vw, 40px); }
.aibh__side .row { padding: 14px 0; border-bottom: 1px solid #ffffff14; }
.aibh__side .row:first-child { padding-top: 0; }
.aibh__side .row:last-child { border-bottom: none; padding-bottom: 0; }
.aibh__side .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-navy-mut); }
.aibh__side .v { font-size: 15.5px; color: var(--on-navy); margin-top: 4px; }
@media (max-width: 820px) {
  .aibh { grid-template-columns: 1fr; }
  .aibh__side { border-left: none; border-top: 1px solid var(--navy-line); padding-left: 0; padding-top: 24px; }
}

.proj__other-head { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: clamp(40px,5vw,60px) 0 18px; display:flex; align-items:center; gap:12px; }
.proj__other-head::after { content:""; flex:1; height:1px; background:#16223f1a; }
.others { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.other {
  position: relative;
  background: var(--paper); border: 1px solid #16223f18; border-radius: 14px;
  padding: clamp(24px, 3vw, 32px); text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform .16s, box-shadow .18s, border-color .18s;
}
.other:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -22px #16223f55; border-color:#16223f30; }
.other__name { font-family: var(--serif); font-size: 26px; color: var(--navy); letter-spacing: -0.01em; display:flex; align-items:center; justify-content:space-between; }
.other__name .arr { font-family: var(--mono); font-size: 15px; color: var(--muted-light); transition: transform .18s, color .18s; }
.other:hover .other__name .arr { transform: translate(2px,-2px); color: var(--navy); }
.other__desc { color: var(--muted); font-size: 15.5px; line-height: 1.55; margin: 12px 0 0; }
.other__url { font-family: var(--mono); font-size: 12px; color: var(--amber-ink); letter-spacing: 0.04em; margin-top: 16px; }
@media (max-width: 640px) { .others { grid-template-columns: 1fr; } }

/* ---------- KONTAKT + FOOTER ---------- */
.contact {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--on-navy);
  padding-block: clamp(64px, 9vw, 110px);
}
.contact__bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right,  #ffffff07 1px, transparent 1px),
    linear-gradient(to bottom, #ffffff07 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(100% 90% at 20% 20%, #000 25%, transparent 80%);
          mask-image: radial-gradient(100% 90% at 20% 20%, #000 25%, transparent 80%);
}
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.contact .eyebrow { color: var(--amber); }
.contact .eyebrow::before { background: var(--amber); }
.contact h2 { font-size: clamp(34px, 5.5vw, 64px); color: #fff; line-height: 1; letter-spacing: -0.015em; margin: 18px 0 0; }
.contact__sub { color: var(--on-navy-mut); font-size: 18px; max-width: 38ch; margin: 20px 0 0; line-height: 1.55; }
.contact__route { color: var(--on-navy); font-size: 15px; margin: 16px 0 0; max-width: 40ch; line-height: 1.55; }
.contact__route a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.contact__actions { display: flex; flex-direction: column; gap: 12px; min-width: 240px; }
.mailbtn {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--amber); color: #1c1404; text-decoration: none;
  padding: 18px 24px; border-radius: 12px; font-weight: 600; font-size: 18px;
  transition: background .18s, transform .15s;
}
.mailbtn:hover { background: #d6a04e; transform: translateY(-2px); }
.mailbtn .arr { font-family: var(--mono); }
.linkbtn {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  border: 1px solid var(--navy-line); color: var(--on-navy); text-decoration: none;
  padding: 16px 24px; border-radius: 12px; font-size: 15.5px;
  transition: background .18s, border-color .18s;
}
.linkbtn:hover { background: #ffffff0e; border-color: #ffffff40; }
.linkbtn .k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }

@media (max-width: 760px) {
  .contact__inner { grid-template-columns: 1fr; align-items: start; }
  .contact__actions { width: 100%; }
}

.footer { background: var(--navy-700); color: var(--on-navy-mut); border-top: 1px solid var(--navy-line); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: 48px; }
.footer__inner .brandmark { color: #fff; margin-bottom: 14px; }
.footer__jdg { font-size: 14px; line-height: 1.7; font-style: normal; }
.footer__jdg b { color: var(--on-navy); font-weight: 600; }
.footer__col h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-navy-mut); margin: 0 0 14px; font-weight: 500; }
.footer__col a, .footer__col button {
  display: block; background: none; border: none; padding: 0; text-align: left;
  font-family: var(--sans); font-size: 14.5px; color: var(--on-navy);
  text-decoration: none; margin-bottom: 10px; cursor: pointer; transition: color .16s;
}
.footer__col a:hover, .footer__col button:hover { color: var(--amber); }
.footer__bar { border-top: 1px solid var(--navy-line); padding-block: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__bar p { margin: 0; font-size: 13px; color: var(--on-navy-mut); }
.footer__bar .brt-mini { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; }
.footer__bar .brt-mini b { color: var(--amber); }
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr 1fr; } .footer__jdg { grid-column: 1 / -1; } }

/* reveal - progressive enhancement: only hide when JS is active */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.in { opacity: 1; transform: none; }

  /* staggered page-load - karty wchodza kaskada, nie naraz */
  .js .talks__grid .talk:nth-child(2) { transition-delay: .07s; }
  .js .talks__grid .talk:nth-child(3) { transition-delay: .14s; }
  .js .talks__grid .talk:nth-child(4) { transition-delay: .21s; }
  .js .talks__grid .talk:nth-child(5) { transition-delay: .28s; }
  .js .talks__grid .talk:nth-child(6) { transition-delay: .35s; }
  .js .others .other:nth-child(2) { transition-delay: .09s; }

  /* ekspertyza: kontener widoczny, 4 karty wchodza kaskada */
  .js .exp__grid.reveal { opacity: 1; transform: none; }
  .js .exp__grid .exp__card { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .js .exp__grid.in .exp__card { opacity: 1; transform: none; }
  .js .exp__grid.in .exp__card:nth-child(2) { transition-delay: .08s; }
  .js .exp__grid.in .exp__card:nth-child(3) { transition-delay: .16s; }
  .js .exp__grid.in .exp__card:nth-child(4) { transition-delay: .24s; }
}

/* ============================================================
   CMP - cookie consent banner
   ============================================================ */
.cmp {
  position: fixed; inset: auto 0 0 0; z-index: 200;
  display: flex; justify-content: center;
  padding: clamp(12px, 2vw, 22px);
  pointer-events: none;
}
.cmp[hidden] { display: none; }
.cmp__card {
  pointer-events: auto;
  width: 100%; max-width: 720px;
  background: var(--navy); color: var(--on-navy);
  border: 1px solid var(--navy-line); border-radius: 16px;
  box-shadow: 0 30px 70px -28px #00000088;
  padding: clamp(20px, 3vw, 30px);
}
.cmp[data-show="true"] .cmp__card { animation: cmpIn .3s ease; }
@keyframes cmpIn {
  from { transform: translateY(14px); }
  to   { transform: none; }
}
.cmp__eyebrow {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--amber);
}
.cmp__title { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 26px); color: #fff; margin: 8px 0 10px; line-height: 1.15; }
.cmp__text { font-size: 14.5px; line-height: 1.6; color: var(--on-navy); margin: 0; max-width: 60ch; }
.cmp__text a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
.cmp__actions {
  display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap;
}
.cmp__btn {
  flex: 1 1 0; min-width: 150px;
  font-family: var(--sans); font-size: 14.5px; font-weight: 600;
  padding: 13px 18px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: background .16s, border-color .16s, color .16s;
}
.cmp__btn--solid   { background: var(--amber); color: #1c1404; }
.cmp__btn--solid:hover { background: #d6a04e; }
.cmp__btn--outline { background: transparent; color: #fff; border-color: var(--on-navy-mut); }
.cmp__btn--outline:hover { border-color: #fff; background: #ffffff10; }
.cmp__btn--ghost   { background: transparent; color: var(--on-navy-mut); flex: 0 0 auto; min-width: 0; }
.cmp__btn--ghost:hover { color: #fff; }
/* parytet: Akceptuje i Odrzucam - rowna waga, rozmiar, font (UODO 2025) */
.cmp__card .cmp__btn--solid, .cmp__card .cmp__btn--outline { font-weight: 600; }

.cmp__row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 16px 0; border-bottom: 1px solid #ffffff14; cursor: pointer;
}
.cmp__row:last-of-type { border-bottom: none; }
.cmp__rowtitle { font-weight: 600; color: #fff; font-size: 15px; }
.cmp__rowdesc { font-size: 13px; color: var(--on-navy-mut); line-height: 1.5; margin-top: 3px; max-width: 46ch; }
.cmp__lock { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); white-space: nowrap; padding-top: 2px; }
.cmp__switch { position: relative; flex: 0 0 auto; width: 44px; height: 26px; }
.cmp__switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cmp__track { position: absolute; inset: 0; background: #ffffff22; border-radius: 999px; transition: background .18s; }
.cmp__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform .18s; }
.cmp__switch input:checked + .cmp__track { background: var(--amber); }
.cmp__switch input:checked + .cmp__track::after { transform: translateX(18px); }
.cmp__switch input:focus-visible + .cmp__track { outline: 2px solid var(--amber-soft); outline-offset: 2px; }

@media (max-width: 560px) {
  .cmp__actions { flex-direction: column-reverse; }
  .cmp__btn { width: 100%; flex: 1 1 auto; }
  .cmp__btn--ghost { order: 1; }
}

/* ============================================================
   LEGAL pages (polityka prywatnosci / cookies)
   ============================================================ */
.legal { background: var(--paper); min-height: 100vh; }
.legal__top {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid #00000010;
}
.legal__top .nav__inner { height: 64px; }
.legal__back { font-family: var(--sans); font-size: 14.5px; color: var(--muted); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.legal__back:hover { color: var(--navy); }
.legal__doc { max-width: 760px; margin-inline: auto; padding: clamp(40px, 6vw, 84px) var(--gutter) 96px; }
.legal__doc .eyebrow { margin-bottom: 16px; }
.legal__doc h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 5vw, 52px); color: var(--navy); line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 14px; }
.legal__meta { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted); margin: 0 0 40px; }
.legal__doc h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 3vw, 28px); color: var(--navy); margin: 44px 0 14px; letter-spacing: -0.005em; }
.legal__doc h2 .legal__no { font-family: var(--mono); font-size: 0.6em; color: var(--amber-ink); margin-right: 10px; }
.legal__doc h3 { font-family: var(--sans); font-weight: 600; font-size: 17px; color: var(--navy); margin: 26px 0 8px; }
.legal__doc p, .legal__doc li { font-size: 16px; line-height: 1.7; color: var(--ink); }
.legal__doc p { margin: 0 0 16px; }
.legal__doc ul { margin: 0 0 16px; padding-left: 22px; }
.legal__doc li { margin-bottom: 8px; }
.legal__doc a { color: var(--amber-ink); text-decoration: underline; text-underline-offset: 2px; }
.legal__doc strong { color: var(--navy); font-weight: 600; }
.legal__card {
  background: #fff; border: 1px solid #16223f1a; border-radius: 12px;
  padding: 22px 24px; margin: 0 0 24px;
}
.legal__card p:last-child { margin-bottom: 0; }
.legal__btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  background: var(--navy); color: var(--cream); text-decoration: none;
  padding: 12px 22px; border-radius: 999px; margin-top: 6px; cursor: pointer; border: none;
  transition: background .18s;
}
.legal__btn:hover { background: var(--navy-600); }
.legal__table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 14px; display: block; overflow-x: auto; }
.legal__table table { width: 100%; border-collapse: collapse; min-width: 560px; }
.legal__table th, .legal__table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #16223f16; vertical-align: top; line-height: 1.5; }
.legal__table th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--paper-2); }
.legal__table td strong { font-weight: 600; }
.legal__cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.legal__cat--n { background: var(--paper-2); color: var(--navy); }
.legal__cat--a { background: #1c2e4e; color: var(--amber-soft); }
.legal__footer { border-top: 1px solid #16223f18; margin-top: 56px; padding-top: 24px; font-size: 13px; color: var(--muted); }
