:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --bg-panel: #11182d;
  --bg-soft: rgba(255, 255, 255, 0.055);
  --text: #f6f7fb;
  --muted: #b7bdcc;
  --muted-2: #8c94a8;
  --yellow: #ffc800;
  --yellow-dark: #d4a300;
  --violet: #6c3ef5;
  --violet-soft: rgba(108, 62, 245, 0.22);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 200, 0, 0.36);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --container: 1160px;
  --site-header-height: 58px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--site-header-height) + 20px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.lightbox-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--yellow);
  color: #111;
  padding: 0.75rem 1rem;
  font-weight: 900;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 130;
  min-height: var(--site-header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(5, 8, 22, 0.94);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  min-height: var(--site-header-height);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  position: relative;
}

.site-brand,
.site-header-nav a {
  text-decoration: none;
  font-weight: 900;
}

.site-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
}

.site-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 200, 0, 0.12);
  color: var(--yellow);
  font-size: 0.9rem;
}

.site-header-nav {
  display: none;
}

.site-header-nav a:hover,
.site-header-nav a.is-active,
.mobile-menu a:hover {
  color: var(--yellow);
}

.site-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.35rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--yellow);
  padding: 0.45rem 0.8rem;
  font-weight: 950;
  cursor: pointer;
}

.site-menu-icon,
.site-menu-icon::before,
.site-menu-icon::after {
  display: block;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.site-menu-icon {
  position: relative;
}

.site-menu-icon::before,
.site-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.site-menu-icon::before {
  top: -5px;
}

.site-menu-icon::after {
  top: 5px;
}

.mobile-menu {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding: 0.65rem 0 0.8rem;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  border-radius: var(--radius);
  color: var(--muted);
  padding: 0.7rem 0.85rem;
  text-decoration: none;
  font-weight: 900;
}

.mobile-menu a.is-active {
  background: rgba(255, 200, 0, 0.08);
  color: var(--yellow);
}

.narrow {
  max-width: 820px;
}

.hero {
  min-height: auto;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(108, 62, 245, 0.27), transparent 24rem),
    radial-gradient(circle at 10% 82%, rgba(255, 200, 0, 0.12), transparent 24rem),
    linear-gradient(135deg, #050816 0%, #0b1020 54%, #1d1252 100%);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0 2.5rem;
  overflow: hidden;
}

.hero-grid,
.about-grid,
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.hero-copy {
  max-width: 770px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  border: 1px solid rgba(108, 62, 245, 0.44);
  border-radius: 999px;
  background: rgba(108, 62, 245, 0.18);
  color: #d7ccff;
  padding: 0.42rem 0.78rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  max-width: 18ch;
  font-size: clamp(2rem, 7.4vw, 3.35rem);
  font-weight: 950;
}

h2 {
  font-size: clamp(2rem, 8vw, 4.05rem);
  font-weight: 930;
}

h3 {
  font-size: clamp(1.35rem, 5vw, 2rem);
  font-weight: 880;
}

h4 {
  font-size: 1.05rem;
  font-weight: 850;
}

p {
  margin: 0;
}

strong {
  color: var(--yellow);
  font-weight: 900;
}

.lead,
.section-lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.lead {
  max-width: 68ch;
  margin: 1.25rem 0 1.75rem;
}

.section-lead {
  max-width: 820px;
  margin-top: 1rem;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border-radius: var(--radius);
  padding: 0.82rem 1.08rem;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button::after {
  content: "→";
  margin-left: 0.55rem;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--yellow) 0%, #ffe47a 100%);
  color: #15110a;
  box-shadow: 0 12px 28px rgba(255, 200, 0, 0.2);
}

.button-secondary {
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--yellow);
  background: rgba(255, 200, 0, 0.08);
}

.hero-media {
  justify-self: center;
  width: min(100%, 28rem);
  overflow: hidden;
  border-radius: var(--radius);
}

.hero-media img,
.about-media img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 260ms ease, filter 260ms ease;
}

.hero-media:hover img,
.about-media:hover img,
.feedback-grid figure:hover img,
.feedback-zoom:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.04);
}

.section {
  padding: 4.5rem 0;
}

.section-training {
  background:
    radial-gradient(circle at top left, rgba(108, 62, 245, 0.14), transparent 30rem),
    var(--bg);
}

.section-workshops {
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 200, 0, 0.12), transparent 22rem),
    var(--bg-alt);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.section-speaking {
  background:
    linear-gradient(180deg, rgba(17, 24, 45, 0.68), rgba(5, 8, 22, 0.95)),
    var(--bg);
}

.section-about {
  background: #0f172a;
}

.section-about .container {
  width: min(100% - 2rem, 1200px);
}

.section-individual {
  background: var(--bg-panel);
  border-block: 1px solid var(--border);
}

.section-faq {
  background: var(--bg);
}

.section-contact {
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 200, 0, 0.1), transparent 22rem),
    radial-gradient(circle at 88% 80%, rgba(108, 62, 245, 0.2), transparent 22rem),
    var(--bg-alt);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header h2::after,
.block > h3::after,
.panel h3::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 3px;
  margin-top: 0.8rem;
  border-radius: 999px;
  background: var(--yellow);
}

.block > h3 {
  margin-bottom: 1.25rem;
}

.block + .block,
.split.block,
.conference-grid + .block {
  margin-top: 3rem;
}

.cards-grid {
  display: grid;
  gap: 1rem;
}

.card,
.panel,
.workshop-feature,
.scope-list article,
.steps li,
.topic-grid p,
.contact-form,
.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.card {
  min-height: 100%;
  padding: 1.25rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.075);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 200, 0, 0.12);
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 950;
}

.card h4,
.scope-list h4,
.event-list h4 {
  margin-bottom: 0.55rem;
}

.card p,
.scope-list p,
.steps span,
.topic-grid p,
.proof-list p,
.small-note,
.faq-list p,
.plain-list,
.event-list p,
.author-highlights,
.contact-form label {
  color: var(--muted);
}

.split {
  display: grid;
  gap: 1.25rem;
}

.quiet {
  margin-top: 0.75rem;
  color: var(--muted-2);
  font-size: 0.96rem;
}

.scope-list {
  display: grid;
  gap: 0.75rem;
}

.scope-list article {
  padding: 1rem;
}

.steps {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.9rem;
  padding: 1.1rem;
}

.steps li::before {
  content: counter(steps);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: var(--yellow);
  color: #15110a;
  font-weight: 950;
}

.proof-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.proof-list p {
  border-left: 4px solid var(--yellow);
  padding: 0.25rem 0 0.25rem 1rem;
}

.section-cta {
  margin-top: 2.5rem;
}

.workshop-feature {
  display: grid;
  gap: 1.5rem;
  padding: 1.35rem;
}

.facts {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.facts div {
  border: 1px solid rgba(255, 200, 0, 0.24);
  border-radius: var(--radius);
  padding: 0.9rem;
  background: rgba(255, 200, 0, 0.07);
}

.facts dt {
  color: var(--muted-2);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.facts dd {
  margin: 0.15rem 0 0;
  color: var(--text);
  font-weight: 900;
}

.small-note {
  font-size: 0.92rem;
}

.small-note a,
.section-lead a,
.faq-list a {
  color: var(--yellow);
  font-weight: 850;
}

.feedback-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  align-items: stretch;
}

.feedback-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.feedback-zoom {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  cursor: zoom-in;
}

.feedback-zoom::after {
  content: "Kliknij, aby powiększyć";
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  padding: 0.36rem 0.64rem;
  border: 1px solid rgba(255, 200, 0, 0.42);
  border-radius: 999px;
  background: rgba(5, 8, 22, 0.86);
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.feedback-zoom:hover::after,
.feedback-zoom:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.feedback-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: var(--radius);
  background: #fff;
  transition: transform 260ms ease, filter 260ms ease;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(5, 8, 22, 0.9);
  backdrop-filter: blur(10px);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox img {
  max-width: min(100%, 1100px);
  max-height: min(86vh, 820px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.image-lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(5, 8, 22, 0.88);
  color: var(--yellow);
  font-weight: 900;
  cursor: pointer;
}

.image-lightbox-close:hover {
  background: rgba(255, 200, 0, 0.12);
}

.conference-grid {
  display: grid;
  gap: 1rem;
}

.panel {
  padding: 1.25rem;
}

.plain-list {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.7rem;
}

.event-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.event-list article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 0.9rem;
  background: rgba(0, 0, 0, 0.12);
}

.event-list span {
  display: inline-flex;
  margin-bottom: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 200, 0, 0.12);
  color: var(--yellow);
  padding: 0.22rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.topic-grid {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.topic-grid p {
  padding: 1rem;
}

.about-media {
  align-self: start;
  justify-self: center;
  width: min(100%, 28rem);
  overflow: hidden;
  border-radius: var(--radius);
}

.about-copy {
  align-self: center;
  max-width: 680px;
}

.about-copy h2 {
  max-width: 13ch;
  font-size: clamp(2.1rem, 4.8vw, 3.65rem);
  line-height: 1.05;
}

.about-copy .section-lead {
  max-width: 100%;
  font-size: 1.08rem;
  line-height: 1.68;
}

.author-highlights {
  display: grid;
  gap: 0.75rem;
  margin: 1.35rem 0 1.25rem;
  padding: 0;
  list-style: none;
}

.author-highlights li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.62;
}

.author-highlights li::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--yellow);
}

.section-individual .button {
  margin-top: 1.25rem;
}

.socials,
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.socials a {
  display: inline-flex;
  color: var(--yellow);
  text-decoration: none;
  font-weight: 950;
  font-size: 1.08rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  padding: 0.2rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  padding: 1rem 2rem 1rem 0;
  color: var(--text);
  font-weight: 900;
}

.faq-list summary::marker {
  color: var(--yellow);
}

.faq-list p {
  padding: 0 0 1rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.contact-form label {
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(5, 8, 22, 0.75);
  color: var(--text);
  padding: 0.85rem 0.95rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder {
  color: var(--muted-2);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #030612;
  padding: 2rem 0;
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.footer-brand {
  color: var(--yellow);
  font-size: 1.1rem;
  font-weight: 950;
  text-decoration: none;
}

.site-footer p {
  color: var(--muted-2);
  margin-top: 0.35rem;
}

.footer-links,
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
}

.footer-links a,
.footer-socials a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}

.footer-links a:hover,
.footer-socials a:hover,
.small-note a:hover {
  color: var(--yellow);
}

.reveal {
  opacity: 1;
  transform: none;
}

body.can-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

body.can-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 480px) {
  .container {
    width: min(100% - 2.5rem, var(--container));
  }

  .facts,
  .feedback-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form {
    padding: 1.5rem;
  }
}

@media (min-width: 768px) {
  :root {
    --site-header-height: 64px;
  }

  .site-header-inner {
    grid-template-columns: auto 1fr;
  }

  .site-header-nav {
    display: flex;
    justify-content: flex-end;
    gap: clamp(0.85rem, 2.2vw, 1.75rem);
  }

  .site-header-nav a {
    color: var(--muted);
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .site-menu-toggle,
  .mobile-menu {
    display: none !important;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
    align-items: center;
  }

  .section-about .about-grid {
    grid-template-columns: minmax(18rem, 0.86fr) minmax(0, 1.14fr);
    gap: clamp(2rem, 5vw, 4rem);
  }

  .hero {
    min-height: auto;
    padding: 4.8rem 0 3rem;
  }

  .section {
    padding: 5.5rem 0;
  }

  .cards-grid,
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .conference-grid {
    grid-template-columns: 0.75fr 1.25fr;
    align-items: start;
  }

  .workshop-feature {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 1.6rem;
  }

  .inline-actions {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .footer-socials {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(21rem, 0.75fr);
    align-items: center;
  }

  h1 {
    font-size: clamp(3.25rem, 4.4vw, 3.9rem);
  }

  .cards-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .feedback-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }

  .footer-socials {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal,
  body.can-reveal .reveal {
    opacity: 1;
    transform: none;
  }
}
