@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500&display=swap");

:root {
  --font-sans: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --bg: #080808;
  --bg-elevated: #08080a;
  --surface-1: #1c2227;
  --surface-2: #20272c;
  --fg: #e1e5e5;
  --fg-2: #c0c4c6;
  --fg-3: #838a8f;
  --fg-inverse: #080808;
  --border: #1c2227;
  --border-strong: #666f76;
  --bone: #b8ae98;

  --text-display: clamp(4.8rem, 2.4rem + 6vw, 9.6rem);
  --text-h1: clamp(3.6rem, 2.2rem + 3.5vw, 6.4rem);
  --text-h2: clamp(3.6rem, 2.8rem + 2vw, 5.2rem);
  --text-h3: clamp(2.8rem, 2.1rem + 1.75vw, 4.2rem);
  --text-h4: clamp(2rem, 1.8rem + 0.5vw, 2.4rem);
  --text-h5: clamp(1.6rem, 1.5rem + 0.25vw, 1.8rem);
  --text-lg: clamp(1.8rem, 1.7rem + 0.25vw, 2rem);
  --text-md: clamp(1.6rem, 1.5rem + 0.25vw, 1.8rem);
  --text-body: clamp(1.4rem, 1.3rem + 0.25vw, 1.6rem);
  --text-sm: 1.4rem;
  --text-xs: 1.2rem;

  --s-1: 0.4rem; --s-2: 0.8rem; --s-3: 1.2rem; --s-4: 1.6rem; --s-5: 2rem; --s-6: 2.4rem;
  --s-8: 3.2rem; --s-10: 4rem; --s-12: 4.8rem; --s-16: 6.4rem; --s-20: 8rem; --s-24: 9.6rem; --s-30: 12rem;

  --gutter: var(--s-4);
  --section: var(--s-16);
  --radius: 0.8rem;
  --radius-lg: 1.6rem;
  --pill: 999rem;
  --shadow-lg: 0 24px 64px -16px rgb(0 0 0 / .56);

  --fast: 160ms;
  --base: 240ms;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --disc-r: min(28vmin, 36vw);
}

@media (min-width: 768px) {
  :root { --gutter: var(--s-8); --section: var(--s-24); }
}
@media (min-width: 1024px) {
  :root { --section: var(--s-30); }
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.003em;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--fg); }
ul[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--fg); color: var(--fg-inverse); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: inherit; }

h1, h2, h3 { font-weight: 500; text-wrap: balance; }
h1 { font-size: var(--text-h1); line-height: 1; letter-spacing: -0.025em; text-transform: uppercase; }
h2 { font-size: var(--text-h2); line-height: 1; letter-spacing: -0.02em; }
h3 { font-size: var(--text-h3); line-height: 1.05; letter-spacing: -0.015em; }
p { color: var(--fg-2); text-wrap: pretty; }

.display { font-size: var(--text-display); line-height: .95; letter-spacing: -0.03em; text-transform: uppercase; }
.lede { font-size: var(--text-lg); line-height: 1.4; font-weight: 400; }
.body-md { font-size: var(--text-md); line-height: 1.4; font-weight: 400; }
.tabular { font-variant-numeric: tabular-nums; }

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100%;
  z-index: 9999;
  padding: var(--s-2) var(--s-4);
  background: var(--fg);
  color: var(--fg-inverse);
  border-radius: var(--pill);
}
.skip-link:focus { top: var(--s-4); }

.wrap { width: 100%; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--md { max-width: calc(100rem + 2 * var(--s-8)); }
.wrap--lg { max-width: calc(140rem + 2 * var(--s-8)); }
.section { padding-block: var(--section); }

.stack { display: grid; gap: var(--s-6); align-content: start; justify-items: start; }
.stack p { font-weight: 400; }
.stack--center { justify-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  height: 4rem;
  padding-inline: var(--s-8);
  border-radius: var(--pill);
  border: 1px solid transparent;
  background: var(--fg);
  color: var(--fg-inverse);
  font-size: var(--text-xs);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease), transform 80ms var(--ease);
}
.btn:hover { background: #fff; color: var(--fg-inverse); }
.btn:active { background: var(--fg-2); transform: scale(.98); }
.btn--lg { height: 4.8rem; padding-inline: var(--s-10); font-size: var(--text-sm); }
.btn--outline { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn--outline:hover, .btn--outline:active { background: var(--fg); color: var(--fg-inverse); }
.btn--ghost { background: transparent; color: var(--fg); }
.btn--ghost:hover { background: var(--surface-2); color: var(--fg); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 6.4rem;
  padding-inline: var(--gutter);
  transition: background-color var(--base) var(--ease), backdrop-filter var(--base) var(--ease);
}
.site-header.is-scrolled {
  background: rgb(8 8 8 / .9);
  backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--text-md);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.brand svg { width: 2.2rem; height: 2.2rem; flex: none; }
.site-nav { display: flex; gap: var(--s-6); font-size: var(--text-sm); }
.site-nav a { opacity: .6; transition: opacity var(--fast); }
.site-nav a:hover, .site-nav a[aria-current="page"] { opacity: 1; }
.site-header__actions { display: flex; justify-content: flex-end; gap: var(--s-2); }
.burger {
  display: none;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--pill);
}
.burger svg { width: 1.8rem; height: 1.8rem; }

.mobile-menu {
  position: fixed;
  inset: 6.4rem 0 auto;
  z-index: 200;
  display: none;
  padding: var(--s-6) var(--s-4) var(--s-8);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.mobile-menu.is-open { display: grid; gap: var(--s-5); font-size: var(--text-md); }
.mobile-menu a { opacity: .7; }
.mobile-menu a[aria-current="page"], .mobile-menu a:hover { opacity: 1; }

@media (max-width: 767px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .burger { display: inline-flex; }
}
@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 9.6rem var(--gutter) var(--s-16);
}
.hero__content {
  position: relative;
  z-index: 2;
  align-self: end;
  display: grid;
  gap: var(--s-8);
  justify-items: start;
}
.hero__content .display { max-width: 11ch; }

.page-hero {
  min-height: 62svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 9.6rem var(--gutter) var(--s-16);
}
.page-hero h1 { max-width: 20ch; }

.hero-stack { position: relative; }
.hero--photo { height: 100svh; min-height: 0; overflow: hidden; background: var(--bg); }
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #0d1115;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / .2), transparent 35%, rgb(0 0 0 / .72));
}
.hero__bg--warsaw-1 { background-image: url(assets/img/hero-warsaw-1.jpg); }
.hero__bg--warsaw-2 { background-image: url(assets/img/hero-warsaw-2.jpg); }

.hero--intro { grid-template-rows: 1fr; }
.hero--photo .hero__bg::after, .hero--intro .hero__bg::after { background: rgb(0 0 0 / .4); }
.hero--intro .hero__content { gap: var(--s-6); }
.hero--intro h2 { max-width: 22ch; }
.hero--intro .lede { max-width: 64ch; color: var(--fg); }

.clocks {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-8);
}
.clocks > div { display: grid; gap: var(--s-1); }
.clocks dt { font-size: var(--text-xs); color: var(--fg); }
.clocks dd { font-size: var(--text-sm); color: var(--fg-2); margin: 0; }
@media (min-width: 768px) {
  .clocks { position: absolute; top: 9.6rem; right: var(--gutter); flex-direction: column; flex-wrap: nowrap; gap: var(--s-12); text-align: right; }
  .hero--photo { grid-template-rows: 1fr; }
}

.disc {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: calc(var(--disc-r) * 2);
  height: calc(var(--disc-r) * 2);
  margin: calc(var(--disc-r) * -1) 0 0 calc(var(--disc-r) * -1);
  clip-path: circle(50% at 50% 50%);
  pointer-events: none;
  visibility: hidden;
}
.disc.is-active { visibility: visible; }
.disc__layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100svh;
  background-size: cover;
  background-position: center;
}
.disc__layer::after { background: rgb(0 0 0 / .4); }
.disc__layer--next { clip-path: inset(100% 0 0 0); }
@media (prefers-reduced-motion: reduce) { .disc { display: none; } }

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  gap: var(--s-10);
  width: max-content;
  animation: marquee 70s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  white-space: nowrap;
  font-size: var(--text-h2);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.split { display: grid; gap: var(--s-8); align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 5fr 7fr; } }
.split > figure { max-width: 44rem; }

.about-grid { display: grid; gap: var(--s-8); }
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 6fr 1fr 5fr; }
  .about-grid > figure { grid-column: 3; }
}

.photo {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
}
.photo--portrait { aspect-ratio: 3 / 4; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.closing { display: grid; gap: var(--s-10); justify-items: start; }
.closing h2 { max-width: 22ch; }

.criteria-intro { max-width: 20ch; margin-bottom: var(--s-12); }
.criteria {
  display: grid;
  gap: var(--s-8);
  padding-block: var(--s-10);
  border-top: 1px solid var(--border);
}
.criteria:last-of-type { border-bottom: 1px solid var(--border); }
.criteria h3 { max-width: 14ch; }
.criteria .stack { justify-items: stretch; }
@media (min-width: 1024px) { .criteria { grid-template-columns: 5fr 7fr; gap: var(--s-16); } }

.checks {
  display: grid;
  gap: var(--s-3);
  font-size: var(--text-body);
  line-height: 1.4;
  font-weight: 400;
  color: var(--fg-2);
}
.checks li { display: flex; gap: var(--s-3); align-items: baseline; }
.checks li::before {
  content: "";
  flex: none;
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: var(--fg);
  position: relative;
  top: -.2em;
}

.record { display: grid; gap: var(--s-4); }
@media (min-width: 768px) { .record { grid-template-columns: repeat(2, 1fr); } }
.card {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.card h3 { font-size: var(--text-h5); line-height: 1.3; }
.card p { font-size: var(--text-sm); font-weight: 400; }

.partners { display: grid; gap: var(--s-10); }
.partners ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: var(--s-4);
}
.partners a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  padding: var(--s-6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--fast) var(--ease);
}
.partners a:hover { border-color: var(--border-strong); }
.partners svg {
  max-width: 18rem;
  max-height: 4.4rem;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .8;
  transition: opacity var(--fast) var(--ease);
}
.partners a:hover svg { opacity: 1; }

.contact { display: grid; gap: var(--s-12); }
@media (min-width: 1024px) { .contact { grid-template-columns: 4fr 7fr; column-gap: var(--s-20); } }
.contact aside { display: grid; gap: var(--s-6); align-content: start; justify-items: start; }
.contact aside .lede { max-width: 34ch; }
.contact address { font-style: normal; color: var(--fg-2); line-height: 1.5; }

.form { display: grid; gap: var(--s-5); }
.field { display: grid; gap: var(--s-2); }
.field label {
  font-size: var(--text-xs);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.field input, .field textarea {
  width: 100%;
  height: 4.4rem;
  padding-inline: var(--s-4);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: .4rem;
  color: var(--fg);
  font-size: var(--text-body);
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.field textarea { height: auto; min-height: 14rem; padding-block: var(--s-3); resize: vertical; line-height: 1.4; }
.field input:hover, .field textarea:hover { border-color: var(--border-strong); }
.field input:focus, .field textarea:focus { border-color: var(--fg); box-shadow: 0 0 0 1px var(--fg); outline: none; }
.form__actions { padding-top: var(--s-2); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--text-sm);
  color: var(--fg);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: .2rem;
  transition: border-color var(--fast) var(--ease);
}
.arrow-link:hover { border-color: var(--fg); }
.arrow-link svg { width: 1.6rem; height: 1.6rem; }

.legal {
  display: grid;
  gap: var(--s-4);
  max-width: 72ch;
  font-size: var(--text-body);
  line-height: 1.4;
  font-weight: 400;
  color: var(--fg-2);
}
.legal h2 { font-size: var(--text-h3); letter-spacing: normal; margin-top: var(--s-8); }
.legal h3 { font-size: var(--text-md); margin-top: var(--s-2); }
.legal a { color: var(--fg); text-decoration: underline; text-underline-offset: .2em; }

.not-found {
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: var(--s-6);
  padding: 12rem var(--gutter) var(--s-16);
}
.not-found small { font-size: var(--text-sm); color: var(--fg-3); }
.not-found p { max-width: 44ch; font-weight: 400; }
.not-found nav { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.site-footer {
  padding: var(--s-16) var(--gutter) var(--s-8);
  border-top: 1px solid var(--border);
}
.site-footer__grid { display: grid; gap: var(--s-10) var(--s-8); }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1fr 1fr 2fr; } }
.site-footer__grid > * {
  display: grid;
  gap: var(--s-3);
  align-content: start;
  justify-items: start;
  font-size: var(--text-sm);
  color: var(--fg-2);
}
.site-footer__grid nav a { opacity: .7; transition: opacity var(--fast); }
.site-footer__grid nav a:hover { opacity: 1; }
.site-footer .brand { font-size: var(--text-h4); gap: var(--s-3); }
.site-footer .brand svg { width: 2.8rem; height: 2.8rem; }
.site-footer h2 { font-size: inherit; letter-spacing: inherit; color: var(--fg); margin-bottom: var(--s-2); }
.site-footer__cta p { max-width: 38ch; font-weight: 400; }
.site-footer__cta a { color: var(--fg); text-decoration: underline; text-underline-offset: .2em; }
.site-footer__base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-top: var(--s-16);
  padding-top: var(--s-6);
  border-top: 1px solid var(--border);
  font-size: var(--text-xs);
  color: var(--fg-3);
}
.site-footer__base a { opacity: .7; }
.site-footer__base a:hover { opacity: 1; }

.reveal {
  opacity: 0;
  transform: translateY(2.4rem);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

.consent {
  position: fixed;
  left: var(--s-4);
  right: var(--s-4);
  bottom: var(--s-4);
  z-index: 9999;
  display: grid;
  gap: var(--s-5);
  max-width: 44rem;
  padding: var(--s-6);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--base) var(--ease), transform var(--base) var(--ease);
}
.consent.is-open { opacity: 1; transform: none; }
@media (min-width: 640px) { .consent { left: auto; right: var(--s-8); bottom: var(--s-8); } }
.consent header { display: grid; gap: var(--s-2); }
.consent h2 { font-size: var(--text-md); letter-spacing: normal; line-height: 1.2; }
.consent header p { font-size: var(--text-sm); font-weight: 400; line-height: 1.4; }
.consent__options { display: grid; border-top: 1px solid var(--border); }
.consent__options label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.consent__options label > span { display: grid; gap: .2rem; }
.consent__options strong { font-size: var(--text-sm); font-weight: 500; }
.consent__options small { font-size: var(--text-xs); color: var(--fg-3); font-weight: 400; }
.consent__options input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.toggle {
  position: relative;
  flex: none;
  width: 3.6rem;
  height: 2rem;
  border-radius: var(--pill);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.toggle::after {
  content: "";
  position: absolute;
  top: .2rem;
  left: .2rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--fg-2);
  transition: transform var(--fast) var(--ease), background var(--fast) var(--ease);
}
input:checked + .toggle, .toggle.is-on { background: var(--fg); border-color: var(--fg); }
input:checked + .toggle::after, .toggle.is-on::after { transform: translateX(1.6rem); background: var(--fg-inverse); }
.toggle.is-locked { opacity: .5; }
input:focus-visible + .toggle { outline: 2px solid var(--fg); outline-offset: 3px; }
.consent__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.consent > a { font-size: var(--text-xs); color: var(--fg-3); text-decoration: underline; text-underline-offset: .2em; justify-self: start; }
.consent > a:hover { color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.contact-phone{margin-top:1.6rem}.contact-phone a{color:var(--fg);text-decoration:none}.contact-phone a:hover{opacity:.6}
