:root {
  --navy-950: #061624;
  --navy-900: #071b2d;
  --navy-800: #0d2940;
  --navy-700: #163c59;
  --teal-700: #08718a;
  --teal-600: #0788a4;
  --teal-100: #dff5f7;
  --accent-600: #e84624;
  --accent-500: #f4512c;
  --accent-100: #ffe7df;
  --slate-950: #10202e;
  --slate-700: #425466;
  --slate-600: #56697b;
  --slate-300: #cbd5df;
  --slate-200: #dde5eb;
  --slate-100: #edf2f6;
  --slate-50: #f7f9fb;
  --white: #ffffff;
  --shadow-sm: 0 10px 24px rgba(7, 27, 45, 0.07);
  --shadow-md: 0 20px 50px rgba(7, 27, 45, 0.13);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1180px;
  --header-height: 76px;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--slate-950);
  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.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #f7b19f;
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 8vw, 5.7rem);
  font-weight: 700;
  text-wrap: balance;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  text-wrap: balance;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy-950);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(6, 22, 36, 0.88);
  color: var(--white);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: auto;
  height: 50px;
  padding: 7px 11px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  object-fit: contain;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links,
.meeting-facts,
.profile-links,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-socials a {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.header-socials a:hover,
.header-socials a:focus-visible {
  border-color: var(--accent-500);
  background: var(--accent-500);
  color: var(--white);
  transform: translateY(-2px);
}

.header-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.leader-socials {
  display: flex;
  align-items: center;
  gap: 5px;
}

.leader-socials a {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.leader-socials a:hover,
.leader-socials a:focus-visible {
  border-color: var(--accent-500);
  background: var(--accent-500);
  color: var(--white);
  transform: translateY(-2px);
}

.leader-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-500);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  display: none;
  place-items: center;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  width: 23px;
  height: 2px;
  display: block;
  border-radius: 99px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span + span {
  margin-top: 5px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-small {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.82rem;
}

.button-accent {
  background: var(--accent-500);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(244, 81, 44, 0.3);
}

.button-accent:hover {
  background: var(--accent-600);
  box-shadow: 0 16px 34px rgba(244, 81, 44, 0.38);
}

.button-primary {
  background: var(--navy-800);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(7, 27, 45, 0.18);
}

.button-primary:hover {
  background: var(--navy-700);
  box-shadow: 0 16px 34px rgba(7, 27, 45, 0.24);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.15);
}

.hero {
  min-height: clamp(680px, 88svh, 900px);
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 72px) 0 76px;
  isolation: isolate;
  background: var(--navy-950);
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
  object-position: center 47%;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 18, 31, 0.96) 0%, rgba(4, 18, 31, 0.82) 37%, rgba(4, 18, 31, 0.38) 70%, rgba(4, 18, 31, 0.28) 100%),
    linear-gradient(0deg, rgba(4, 18, 31, 0.8) 0%, transparent 52%, rgba(4, 18, 31, 0.22) 100%);
}

.hero::after {
  position: absolute;
  right: -90px;
  bottom: -110px;
  z-index: -1;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.035), 0 0 0 140px rgba(255, 255, 255, 0.02);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 6vw, 4.9rem);
}

.hero-tagline {
  max-width: 700px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 800;
  line-height: 1.35;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--teal-700);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow span {
  padding-inline: 5px;
  color: var(--accent-500);
}

.eyebrow-light {
  color: #86e0ec;
}

.hero-description {
  max-width: 690px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.meeting-facts {
  max-width: 700px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 56px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.meeting-facts li {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 22px;
  background: rgba(6, 22, 36, 0.68);
}

.meeting-facts strong {
  font-size: 1rem;
}

.meeting-facts span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
}

.section {
  padding: 88px 0;
}

/* Motywy wszystkich sekcji strony głównej */
.section-theme-light {
  --section-muted: var(--slate-700);
  --section-eyebrow: var(--teal-700);
  --section-decoration: rgba(7, 27, 45, 0.12);
  background-color: var(--slate-100);
  color: var(--slate-950);
}

.section-theme-dark {
  --section-muted: rgba(255, 255, 255, 0.72);
  --section-eyebrow: #86e0ec;
  --section-decoration: rgba(255, 255, 255, 0.11);
  background-color: var(--navy-950);
  color: var(--white);
}

.section .eyebrow {
  color: var(--section-eyebrow);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.section-lead {
  margin-bottom: 0;
  color: var(--section-muted, var(--slate-700));
  font-size: 1.08rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.value-card {
  min-height: 290px;
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--slate-50);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.value-card::after {
  position: absolute;
  right: -38px;
  bottom: -62px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--teal-100);
  content: "";
  opacity: 0.72;
}

.value-card:hover {
  border-color: #b8dbe2;
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.card-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 56px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.value-card h3,
.value-card p {
  position: relative;
  z-index: 1;
}

.value-card p {
  margin-bottom: 0;
  color: var(--slate-700);
}

.section-stats {
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 8% 18%, rgba(7, 136, 164, 0.28), transparent 32%),
    radial-gradient(circle at 92% 82%, rgba(232, 70, 36, 0.2), transparent 28%);
}

.section-stats::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  pointer-events: none;
}

.section-stats .container {
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stat-item {
  display: flex;
  align-items: center;
  flex-direction: column-reverse;
  justify-content: center;
  min-height: 218px;
  padding: 32px 24px;
  text-align: center;
}

.stat-item + .stat-item {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-item dt {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.stat-item dd {
  margin: 0 0 10px;
  color: var(--white);
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(4rem, 8vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.stat-plus {
  margin-left: 0.04em;
  color: var(--accent-500);
}

.leaders-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.leader-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--navy-800);
  border-radius: var(--radius-lg);
  background: var(--navy-950);
  color: var(--white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.leader-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 18px;
}

.leader-intro > div {
  width: 100%;
  text-align: center;
}

.section-leaders .leader-socials {
  justify-content: center;
}

.leader-description {
  text-align: justify;
}

.leader-intro img {
  width: 128px;
  height: 128px;
  flex: 0 0 auto;
  align-self: center;
  border: 5px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 12px 28px rgba(0, 0, 0, 0.28);
}

.leader-intro h3 {
  margin-bottom: 4px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.role-link {
  color: #86e0ec;
  font-weight: 750;
}

.leader-card > p {
  margin-bottom: 0px;
  color: rgba(255, 255, 255, 0.72);
}

.section-meetings {
  overflow: hidden;
}

.section-meetings .section-heading {
  max-width: 1000px;
}

.meetings-carousel {
  width: 100%;
}

.meetings-carousel-viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: inline mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.meetings-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.meetings-list {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meetings-list > li {
  min-width: 0;
  flex: 0 0 calc((100% - 36px) / 3);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.meeting-card {
  min-height: 230px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--slate-50);
  box-shadow: var(--shadow-sm);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.meeting-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent-500);
  content: "";
}

.meeting-card:hover {
  border-color: #b8dbe2;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.meeting-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  font-weight: 700;
}

.meeting-number {
  color: #ff8f76;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.meeting-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
}

.meeting-card h3 a {
  text-decoration: none;
}

.meeting-card h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.meeting-card > p {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.meeting-status {
  align-self: flex-start;
  margin-top: auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(7, 136, 164, 0.28);
  color: #aeeaf2;
  font-size: 0.76rem;
  font-weight: 800;
}

.meeting-status-pending {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
}

.meeting-card-archive {
  justify-content: center;
  border-color: #8d98a3;
  background: #66727e;
  color: var(--white);
  text-decoration: none;
}

.meeting-card-archive::before {
  background: #c9d0d6;
}

.meeting-card-archive:hover {
  border-color: #b8c0c7;
  background: #747f8a;
}

.meeting-archive-label {
  margin-bottom: 20px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.meeting-card-archive > p {
  color: rgba(255, 255, 255, 0.9);
}

.meeting-archive-action {
  align-self: flex-start;
  margin-top: auto;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--white);
  color: #38434d;
  font-size: 0.88rem;
  font-weight: 850;
}

.meetings-carousel-controls {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.carousel-button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 1.35rem;
  transition: border-color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.carousel-button:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
}

.carousel-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.carousel-progress {
  display: flex;
}

.carousel-progress input {
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  accent-color: var(--accent-500);
  appearance: none;
  -webkit-appearance: none;
}

.carousel-progress input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.carousel-progress input::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border: 0;
  border-radius: 50%;
  background: var(--accent-500);
  -webkit-appearance: none;
}

.carousel-progress input::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.carousel-progress input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: var(--accent-500);
}

.carousel-position {
  min-width: 72px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 750;
  text-align: center;
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.meetings-source {
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.meetings-source a {
  color: var(--white);
  font-weight: 750;
}

.section-meetings .meeting-card-meta {
  color: var(--slate-600);
}

.section-meetings .meeting-number {
  color: var(--accent-600);
}

.section-meetings .meeting-card > p {
  color: var(--slate-700);
}

.section-meetings .meeting-status {
  background: var(--teal-100);
  color: var(--teal-700);
}

.section-meetings .meeting-status-pending {
  background: var(--slate-100);
  color: var(--slate-600);
}

.section-meetings .carousel-button {
  border-color: var(--slate-300);
  background: var(--white);
  color: var(--navy-900);
}

.section-meetings .carousel-button:hover:not(:disabled) {
  border-color: #9bcbd5;
  background: var(--teal-100);
}

.section-meetings .carousel-progress input::-webkit-slider-runnable-track,
.section-meetings .carousel-progress input::-moz-range-track {
  background: var(--slate-300);
}

.section-meetings .carousel-position,
.section-meetings .meetings-source {
  color: var(--slate-600);
}

.section-meetings .meetings-source a {
  color: var(--navy-800);
}

.section-events .section-heading {
  max-width: 820px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.event-card {
  min-width: 0;
}

.event-card > a {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--slate-950);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.event-card > a:hover {
  border-color: #a9ced6;
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.event-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-900);
}

.event-card-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(6, 22, 36, 0.35));
  content: "";
}

.event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.event-card-media-poster img {
  object-fit: contain;
  background: var(--white);
}

.event-card > a:hover .event-card-media img {
  transform: scale(1.035);
}

.event-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.event-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-bottom: 16px;
  color: var(--slate-600);
  font-size: 0.82rem;
  font-weight: 750;
}

.event-card-meta span {
  position: relative;
}

.event-card-meta span::before {
  margin-right: 10px;
  color: var(--accent-500);
  content: "•";
}

.event-card h3 {
  margin-bottom: 12px;
  font-family: Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
}

.event-card-content > p {
  margin-bottom: 26px;
  color: var(--slate-700);
}

.event-card-action {
  align-self: flex-start;
  margin-top: auto;
  color: var(--teal-700);
  font-weight: 850;
}

.event-page {
  background: var(--slate-50);
}

.event-detail-hero {
  position: relative;
  padding: calc(var(--header-height) + 64px) 0 72px;
  overflow: hidden;
  background: var(--navy-900);
  color: var(--white);
}

.event-detail-hero::before {
  position: absolute;
  width: 480px;
  height: 480px;
  right: -180px;
  bottom: -300px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.event-detail-hero .breadcrumb {
  margin-bottom: 38px;
}

.event-detail-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  align-items: center;
  gap: 64px;
}

.event-detail-kicker {
  margin-bottom: 14px;
  color: #86e0ec;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.event-detail-hero h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.25rem);
}

.event-detail-lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.event-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-detail-meta li {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
  font-weight: 750;
}

.event-detail-image {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.event-detail-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.event-detail-image-poster img {
  aspect-ratio: 5 / 3;
  object-fit: contain;
}

.event-detail-content {
  padding: 80px 0 96px;
}

.event-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 64px;
}

.event-detail-main > section + section {
  margin-top: 58px;
  padding-top: 54px;
  border-top: 1px solid var(--slate-200);
}

.event-detail-main h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.event-detail-main > section > p {
  max-width: 780px;
  color: var(--slate-700);
  font-size: 1.04rem;
}

.event-highlight {
  margin-top: 28px;
  padding: 30px;
  border-left: 5px solid var(--accent-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.event-highlight h3 {
  margin-bottom: 6px;
  font-size: 1.55rem;
}

.event-highlight p:last-child {
  margin-bottom: 0;
  color: var(--slate-700);
}

.event-talks {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.event-talk {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--white);
}

.event-talk-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-100);
  color: var(--accent-600);
  font-size: 0.82rem;
  font-weight: 900;
}

.event-talk h3 {
  margin-bottom: 6px;
  font-size: 1.18rem;
}

.event-talk p {
  margin-bottom: 0;
  color: var(--teal-700);
  font-size: 0.9rem;
  font-weight: 800;
}

.event-partners-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.event-partners-list li {
  padding: 7px 12px;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  background: var(--white);
  color: var(--slate-700);
  font-size: 0.86rem;
  font-weight: 750;
}

.event-partner-heading {
  margin-top: 30px;
}

.event-detail-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.event-info-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.event-info-card h2 {
  margin-bottom: 24px;
  font-family: inherit;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.event-info-list {
  display: grid;
  gap: 0;
  margin: 0 0 28px;
}

.event-info-list > div {
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.event-info-list dt {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.event-info-list dd {
  margin: 3px 0 0;
  color: var(--white);
  font-weight: 700;
}

.event-info-card .button {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.meetings-archive-page {
  background: var(--slate-50);
}

.meetings-archive-hero h1 {
  max-width: 900px;
}

.archive-content {
  padding: 72px 0 96px;
}

.archive-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.archive-heading p {
  margin-bottom: 0;
  color: var(--slate-700);
  font-size: 1.05rem;
}

.archive-meetings-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.archive-meetings-list .meeting-card {
  min-height: 138px;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(160px, 0.65fr) minmax(280px, 1.8fr) minmax(180px, 1fr) auto;
  align-items: center;
  gap: 24px;
  border-color: var(--slate-200);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.archive-meetings-list .meeting-card-meta {
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  margin-bottom: 0;
}

.archive-meetings-list .meeting-card h3,
.archive-meetings-list .meeting-card > p {
  margin-bottom: 0;
}

.archive-meetings-list .meeting-status {
  justify-self: end;
  margin-top: 0;
  white-space: nowrap;
}

.archive-meetings-list .meeting-card:hover {
  border-color: var(--slate-300);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.archive-meetings-list .meeting-card-meta,
.archive-meetings-list .meeting-card > p {
  color: var(--slate-600);
}

.archive-meetings-list .meeting-number {
  color: var(--accent-600);
}

.archive-meetings-list .meeting-status-pending {
  background: var(--slate-100);
  color: var(--slate-600);
}

/* Podstrony spotkań */
.meeting-page {
  background: var(--slate-50);
}

.meeting-hero {
  position: relative;
  padding: calc(var(--header-height) + 68px) 0 76px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(7, 136, 164, 0.34), transparent 32%),
    radial-gradient(circle at 10% 100%, rgba(244, 81, 44, 0.19), transparent 28%),
    var(--navy-950);
  color: var(--white);
}

.meeting-hero::after {
  position: absolute;
  right: -170px;
  bottom: -330px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.breadcrumb {
  position: relative;
  z-index: 1;
  margin: 0 0 42px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
}

.breadcrumb a {
  color: var(--white);
}

.meeting-hero-content {
  position: relative;
  z-index: 1;
  max-width: 970px;
}

.meeting-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #ff9c85;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.meeting-hero h1 {
  max-width: 1050px;
  margin-bottom: 28px;
  font-size: clamp(2.35rem, 7vw, 5rem);
}

.meeting-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.meeting-hero-meta span,
.meeting-hero-meta time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.meeting-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.meeting-content {
  padding: 72px 0 88px;
}

.meeting-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.65fr);
  align-items: start;
  gap: 42px;
}

.meeting-layout-single {
  display: block;
  max-width: 1080px;
}

.meeting-main > h2 {
  margin-bottom: 30px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.talk-list {
  display: grid;
  gap: 18px;
}

.talk-card {
  padding: 28px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.talk-card h3 {
  margin-bottom: 9px;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
}

.talk-speaker {
  margin-bottom: 22px;
  color: var(--teal-700);
  font-weight: 800;
}

.talk-description {
  max-width: 850px;
  margin-bottom: 0;
  color: var(--slate-700);
  font-size: 1rem;
  white-space: pre-line;
}

.talk-speakers {
  display: grid;
}

.talk-speaker-profile {
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
  align-items: start;
  gap: 30px;
  margin: 30px 0;
  padding-top: 30px;
  border-top: 1px solid var(--slate-200);
}

.talk-speaker-profile + .talk-speaker-profile {
  margin-top: 0;
}

.talk-speaker-photo {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.talk-speaker-details {
  padding-top: 4px;
}

.talk-speaker-label {
  margin-bottom: 7px;
  color: var(--teal-700);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.talk-speaker-details h4 {
  margin-bottom: 12px;
  font-family: inherit;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  letter-spacing: -0.02em;
}

.talk-speaker-bio {
  margin-bottom: 0;
  color: var(--slate-700);
  white-space: pre-line;
}

.talk-video {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: 30px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--navy-950);
  box-shadow: var(--shadow-sm);
}

.talk-video iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.talk-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 10px;
  background: #e32636;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
}

.talk-unavailable {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 13px;
  border-radius: 9px;
  background: var(--slate-100);
  color: var(--slate-600);
  font-size: 0.82rem;
  font-weight: 750;
}

.meeting-page-v2 .meeting-layout-single {
  max-width: var(--container);
}

.meeting-page-v2 .talk-list {
  width: max(100%, 90vw);
  margin-left: 50%;
  transform: translateX(-50%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.meeting-page-v2 .talk-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.meeting-page-v2 .talk-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.meeting-page-v2 .talk-speakers {
  flex: 1;
}

.meeting-page-v2 .talk-speaker-profile {
  grid-template-columns: minmax(140px, 190px) minmax(0, 1fr);
  gap: 24px;
}

.meeting-page-v2 .talk-speaker-photo {
  max-width: 190px;
}

.meeting-page-v2 .talk-recording {
  margin-top: auto;
}

.meeting-page-v2 .talk-video-mobile-action {
  display: none;
}

.meeting-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.meeting-info-card {
  padding: 26px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.meeting-info-card h2 {
  margin-bottom: 20px;
  font-family: inherit;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.meeting-info-list {
  display: grid;
  gap: 18px;
  margin: 0 0 24px;
}

.meeting-info-list div {
  display: grid;
  gap: 2px;
}

.meeting-info-list dt {
  color: var(--slate-600);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meeting-info-list dd {
  margin: 0;
  color: var(--slate-950);
  font-weight: 700;
}

.meeting-info-card .button {
  width: 100%;
}

.meeting-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.meeting-navigation a {
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px 18px;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy-800);
  font-weight: 800;
  text-decoration: none;
}

.meeting-navigation a:last-child {
  text-align: right;
}

.meeting-navigation small {
  color: var(--slate-600);
  font-weight: 650;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.profile-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  color: var(--navy-800);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.profile-links a:hover {
  border-color: #a9ced6;
  background: var(--teal-100);
}

.section-leaders .profile-links a {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
  color: var(--white);
}

.section-leaders .profile-links a:hover {
  border-color: rgba(134, 224, 236, 0.65);
  background: rgba(7, 136, 164, 0.28);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 370px));
  justify-content: center;
  justify-items: center;
  gap: 18px;
}

.partner-card {
  width: 100%;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  max-width: 370px;
  padding: 28px 24px 24px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--slate-950);
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.partner-card:hover {
  border-color: #accfd6;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.partner-logo {
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.partner-logo-image img {
  width: auto;
  max-width: 230px;
  max-height: 92px;
  object-fit: contain;
}

.partner-role {
  max-width: 250px;
  color: var(--slate-600);
  font-size: 0.88rem;
  line-height: 1.45;
}

.wordmark {
  font-size: 1.6rem;
  line-height: 1;
}

.wordmark-jetbrains {
  gap: 13px;
  font-size: 1.35rem;
}

.jetbrains-symbol {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ff0080, #ff8a00 45%, #5b39ed 75%, #080808 76%);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
}

.wordmark-allegro {
  gap: 4px;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.wordmark-allegro strong {
  color: #f4511e;
}

.wordmark-allegro span {
  color: #20252a;
  font-weight: 350;
}

.wordmark-helion {
  color: #ed002d;
  font-size: 2.2rem;
  letter-spacing: -0.055em;
}

.section-collaboration {
  position: relative;
  overflow: hidden;
}

.section-collaboration::before,
.section-collaboration::after {
  position: absolute;
  border: 1px solid var(--section-decoration);
  border-radius: 50%;
  content: "";
}

.section-collaboration::before {
  width: 360px;
  height: 360px;
  top: -210px;
  left: -120px;
}

.section-collaboration::after {
  width: 470px;
  height: 470px;
  right: -230px;
  bottom: -330px;
}

.collaboration-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 72px;
}

.collaboration-inner h2 {
  margin-bottom: 0;
}

.collaboration-copy p {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--section-muted);
  font-size: 1.08rem;
}

.site-footer {
  padding: 70px 0 24px;
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(150px, 0.7fr));
  gap: 64px;
}

.brand-footer {
  color: var(--white);
}

.footer-description {
  max-width: 470px;
  margin: 24px 0 0;
}

.footer-heading {
  margin-bottom: 18px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 0.82rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

.template-credit {
  color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 960px) {
  .event-detail-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .event-detail-sidebar {
    position: static;
  }

  .archive-meetings-list .meeting-card {
    grid-template-columns: 140px minmax(0, 1fr) auto;
  }

  .archive-meetings-list .meeting-card-meta {
    grid-row: 1 / 3;
  }

  .archive-meetings-list .meeting-card h3,
  .archive-meetings-list .meeting-card > p {
    grid-column: 2;
  }

  .archive-meetings-list .meeting-status {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .meetings-list > li {
    flex-basis: calc((100% - 18px) / 2);
  }

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

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

  .stat-item {
    min-height: 180px;
  }

  .stat-item + .stat-item {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .value-card {
    min-height: 0;
  }

  .card-number {
    margin-bottom: 32px;
  }

  .collaboration-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .meeting-layout {
    grid-template-columns: 1fr;
  }

  .meeting-sidebar {
    position: static;
  }

  :root {
    --header-height: 70px;
  }

  .js .menu-toggle {
    display: grid;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .nav-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 4px 0 20px;
  }

  .js .nav-panel {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    max-height: calc(100svh - var(--header-height));
    padding: 18px 20px 24px;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(6, 22, 36, 0.98);
    box-shadow: 0 26px 45px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .js .nav-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links {
    display: grid;
    gap: 0;
  }

  .nav-links a {
    min-height: 52px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .nav-links a::after {
    display: none;
  }

  .header-socials {
    justify-content: center;
    gap: 8px;
    padding: 4px 0;
  }

  .header-socials a {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 780px) {
  .partners-grid {
    grid-template-columns: minmax(0, 370px);
  }

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

  .event-detail-hero {
    padding: calc(var(--header-height) + 44px) 0 56px;
  }

  .event-detail-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .event-detail-copy {
    order: 1;
  }

  .event-detail-image {
    order: 2;
  }

  .event-detail-content {
    padding: 60px 0 72px;
  }

  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .hero {
    min-height: 760px;
    align-items: end;
    padding: calc(var(--header-height) + 48px) 0 48px;
  }

  .hero-image {
    object-position: 56% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(4, 18, 31, 0.98) 0%, rgba(4, 18, 31, 0.82) 58%, rgba(4, 18, 31, 0.36) 100%),
      linear-gradient(90deg, rgba(4, 18, 31, 0.65), rgba(4, 18, 31, 0.2));
  }

  .hero-description {
    font-size: 1rem;
  }

  .meeting-facts {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .meeting-facts li {
    min-height: 72px;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .archive-content {
    padding: 56px 0 72px;
  }

  .archive-meetings-list .meeting-card {
    min-height: 0;
    display: flex;
    align-items: stretch;
    gap: 0;
  }

  .archive-meetings-list .meeting-card-meta {
    width: 100%;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
  }

  .archive-meetings-list .meeting-card h3 {
    margin-bottom: 10px;
  }

  .archive-meetings-list .meeting-card > p {
    margin-bottom: 22px;
  }

  .archive-meetings-list .meeting-status {
    align-self: flex-start;
    margin-top: auto;
  }

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

  .meetings-list > li {
    flex-basis: 100%;
  }

  .talk-speaker-profile {
    grid-template-columns: minmax(130px, 200px) minmax(0, 1fr);
    gap: 22px;
  }

  .meeting-page-v2 .talk-list {
    grid-template-columns: 1fr;
  }

  .meeting-page-v2 .talk-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .meeting-page-v2 .talk-video-desktop {
    display: none;
  }

  .meeting-page-v2 .talk-video-mobile-action {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    margin-top: 30px;
    text-align: center;
  }

  .leader-card {
    min-height: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 44px 28px;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .event-card-content,
  .event-highlight,
  .event-info-card {
    padding: 24px;
  }

  .event-card-meta {
    display: grid;
  }

  .event-card-meta span::before {
    display: none;
  }

  .event-talk {
    grid-template-columns: 1fr;
  }

  .event-detail-main > section + section {
    margin-top: 44px;
    padding-top: 40px;
  }

  .meetings-carousel-controls {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
  }

  .carousel-progress {
    grid-column: 2;
    grid-row: 1;
  }

  [data-carousel-next] {
    grid-column: 3;
    grid-row: 1;
  }

  .carousel-position {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(2.15rem, 11vw, 3.2rem);
  }

  .brand-logo {
    height: 46px;
    padding: 7px 9px;
  }

  .hero {
    min-height: 780px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .value-card,
  .leader-card,
  .meeting-card,
  .talk-card,
  .meeting-info-card {
    padding: 26px;
  }

  .meeting-card {
    min-height: 0;
  }

  .meeting-card-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .meeting-hero {
    padding: calc(var(--header-height) + 42px) 0 52px;
  }

  .breadcrumb {
    margin-bottom: 30px;
  }

  .meeting-content {
    padding: 52px 0 64px;
  }

  .meeting-navigation {
    grid-template-columns: 1fr;
  }

  .meeting-navigation a:last-child {
    text-align: left;
  }

  .talk-speaker-profile {
    grid-template-columns: 1fr;
  }

  .meeting-page-v2 .talk-speaker-profile {
    grid-template-columns: 1fr;
  }

  .talk-speaker-photo {
    max-width: 220px;
  }

  .leader-intro {
    align-items: flex-start;
    gap: 16px;
  }

  .leader-intro img {
    width: 92px;
    height: 92px;
  }

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

  .footer-grid > :first-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .profile-links,
  .site-footer {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 40px 0;
    background: var(--white);
    color: var(--slate-950);
  }

  .hero-image,
  .hero-overlay {
    display: none;
  }

  .hero-description,
  .eyebrow-light {
    color: var(--slate-700);
  }
}
