:root {
  --ink: #0c0c0e;
  --ink-2: #16161a;
  --ink-3: #232329;
  --yellow: #ffe500;
  --bg: #f4f4f1;
  --card: #ffffff;
  --text: #121216;
  --muted: #5d5d66;
  --line: rgba(12, 12, 14, 0.08);
  --line-dark: rgba(255, 255, 255, 0.1);
  --r-sm: 14px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --shadow-sm: 0 1px 2px rgba(12, 12, 14, 0.04), 0 6px 20px -10px rgba(12, 12, 14, 0.14);
  --shadow: 0 2px 4px rgba(12, 12, 14, 0.04), 0 28px 56px -24px rgba(12, 12, 14, 0.32);
  --wrap: 1200px;
  --gutter: 12px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 700px) {
  :root {
    --gutter: 24px;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

h1, h2, h3, h4, p, figure {
  margin: 0;
}

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
}

h2 {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

p {
  text-wrap: pretty;
}

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 60ch;
}

.muted {
  color: var(--muted);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

.i {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: var(--gutter) var(--gutter) 0;
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: var(--wrap);
  height: 64px;
  margin: 0 auto;
  padding: 0 8px 0 10px;
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.82);
  border: 1px solid var(--line-dark);
  box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.5);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  transition: background 0.3s var(--ease);
}

.site-header.is-scrolled .header-bar {
  background: rgba(12, 12, 14, 0.94);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: #fff;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
}

.brand-name {
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

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

.nav-toggle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  position: relative;
  transition: transform 0.25s var(--ease), background 0.2s;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before { top: -6px; }
.burger::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .burger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .burger::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .burger::after {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav a {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.site-nav a[aria-current="page"] {
  color: var(--yellow);
  background: rgba(255, 229, 0, 0.12);
}

.site-nav a.nav-cta {
  justify-content: center;
  margin-top: 8px;
  background: var(--yellow);
  color: var(--ink);
}

@media (max-width: 1079px) {
  .site-nav {
    position: fixed;
    top: calc(var(--gutter) + 72px);
    left: var(--gutter);
    right: var(--gutter);
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: calc(100svh - var(--gutter) - 88px);
    overflow: auto;
    padding: 10px;
    border-radius: var(--r-lg);
    background: var(--ink-2);
    border: 1px solid var(--line-dark);
    box-shadow: 0 32px 64px -24px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s linear 0.22s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .site-nav a {
    min-height: 54px;
    padding: 0 18px;
    border-radius: 16px;
    font-size: 1.08rem;
  }

  .site-nav a.nav-cta {
    border-radius: 999px;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(12, 12, 14, 0.45);
    backdrop-filter: blur(2px);
  }
}

@media (min-width: 640px) {
  .site-header .header-cta {
    display: inline-flex;
  }
}

@media (min-width: 1080px) {
  .nav-toggle,
  .site-nav a.nav-cta {
    display: none;
  }

  .header-bar {
    padding: 0 10px 0 12px;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-inline: auto;
  }

  .site-nav a {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.93rem;
  }

  .brand-name {
    display: none;
  }
}

@media (min-width: 1280px) {
  .brand-name {
    display: block;
  }
}

/* Dropdown groups in the main menu */

.nav-group {
  display: flex;
  flex-direction: column;
}

.nav-drop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.nav-drop:hover,
.nav-group.is-open > .nav-drop {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-drop.is-current {
  color: var(--yellow);
  background: rgba(255, 229, 0, 0.12);
}

.nav-drop .chev {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease);
}

.nav-group.is-open > .nav-drop .chev {
  transform: rotate(180deg);
}

.nav-sub {
  display: none;
}

.nav-group.is-open > .nav-sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

@media (max-width: 1079px) {
  .nav-drop {
    min-height: 54px;
    padding: 0 18px;
    border-radius: 16px;
    font-size: 1.08rem;
  }

  .nav-sub {
    padding: 2px 0 6px 14px;
  }

  .site-nav .nav-sub a {
    min-height: 46px;
    font-size: 1rem;
  }
}

@media (min-width: 1080px) {
  .nav-group {
    position: relative;
  }

  .nav-drop {
    min-height: 40px;
    padding: 0 10px 0 14px;
    border-radius: 999px;
    font-size: 0.93rem;
  }

  .nav-sub {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 60;
    min-width: 236px;
    margin-top: 12px;
    padding: 8px;
    border-radius: var(--r);
    background: var(--ink-2);
    border: 1px solid var(--line-dark);
    box-shadow: 0 32px 64px -24px rgba(0, 0, 0, 0.6);
  }

  .nav-sub::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
  }

  .nav-group:hover > .nav-sub {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .nav-group:hover > .nav-drop {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-group:hover > .nav-drop .chev {
    transform: rotate(180deg);
  }

  .site-nav .nav-sub a {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    font-size: 0.95rem;
  }
}

/* Buttons and chips */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
}

.btn .i {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
  transition: transform 0.25s var(--ease);
}

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

.btn:hover .i {
  transform: translateX(3px);
}

.btn-sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 12px 28px -12px rgba(255, 229, 0, 0.75);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.06);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 229, 0, 0.28);
}

.on-dark {
  color: #fff;
}

.on-dark .eyebrow {
  background: rgba(255, 255, 255, 0.08);
}

.on-dark .lead,
.on-dark .muted {
  color: rgba(255, 255, 255, 0.74);
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 14px;
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #3ddc84;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 600;
}

.badge .i {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: var(--yellow);
  stroke-width: 3;
}

.tag {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 28px;
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  min-height: min(860px, calc(100svh - 100px));
  margin: 12px auto 0;
  padding: clamp(20px, 4vw, 48px);
  border-radius: var(--r-xl);
  color: #fff;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 12, 14, 0.55) 0%, rgba(12, 12, 14, 0) 65%),
    linear-gradient(180deg, rgba(12, 12, 14, 0.2) 0%, rgba(12, 12, 14, 0.4) 38%, rgba(12, 12, 14, 0.94) 100%);
}

.hero-content {
  display: grid;
  flex: 1;
  align-content: space-between;
  gap: 24px;
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: -8px;
}

.hero-brand,
.hero h1 {
  font-size: clamp(2rem, 5.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}

.hero-brand {
  max-width: 11ch;
  margin: 0;
  color: var(--yellow);
}

.hero-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.hero-logo {
  width: 64px;
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.55));
}

.hero-dpc {
  display: inline-flex;
  padding: 6px 8px;
  border-radius: var(--r-sm);
  background: rgba(12, 12, 14, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-dpc img {
  width: 52px;
  height: auto;
}

.hero h1 {
  max-width: 16ch;
}

.btn-member .i {
  width: 20px;
  height: 20px;
}

.hero-lede {
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: rgba(255, 255, 255, 0.86);
}

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

.hero-stats div {
  padding: 16px 18px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-stats strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--yellow);
}

.hero-stats span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 559px) {
  .hero .actions .btn {
    flex: 1 1 calc(50% - 8px);
    padding: 0 16px;
  }
}

@media (min-width: 700px) {
  .hero-logo {
    width: 110px;
  }

  .hero-dpc {
    padding: 8px 10px;
  }

  .hero-dpc img {
    width: 92px;
  }
}

@media (min-width: 900px) {
  .hero-logo {
    width: 140px;
  }

  .hero-dpc img {
    width: 110px;
  }

  .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}

/* Page hero */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin: 12px auto 0;
  padding: clamp(44px, 8vw, 104px) clamp(24px, 5vw, 64px);
  border-radius: var(--r-xl);
  background: var(--ink);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  z-index: -2;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 229, 0, 0.26), transparent 62%);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -64px;
  z-index: -1;
  width: clamp(200px, 32vw, 400px);
  aspect-ratio: 1;
  background: url("../assets/logo-rdn-640.webp") center / contain no-repeat;
  opacity: 0.16;
  transform: rotate(-10deg);
}

.page-hero .stack {
  max-width: 720px;
}

/* Sections */

.section {
  padding: 64px 0;
}

@media (min-width: 900px) {
  .section {
    padding: 104px 0;
  }
}

.section.pt-0 {
  padding-top: 0;
}

.pb-section {
  padding-bottom: clamp(64px, 8vw, 104px);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 36px;
}

.section-head .stack {
  max-width: 680px;
}

.section-head.mb-0 {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
  }

  .section-head .btn {
    flex: none;
  }
}

.panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 5vw, 64px);
  border-radius: var(--r-xl);
}

.panel-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.panel-yellow .eyebrow {
  background: rgba(12, 12, 14, 0.08);
}

.panel-yellow .eyebrow::before {
  background: var(--ink);
  box-shadow: none;
}

.panel-yellow .lead {
  color: rgba(12, 12, 14, 0.72);
}

.panel-dark {
  background: var(--ink);
  color: #fff;
}

.panel-dark::before {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -60%;
  z-index: -1;
  width: 80%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 229, 0, 0.2), transparent 62%);
}

.hazard {
  height: 10px;
  margin-bottom: clamp(24px, 4vw, 40px);
  border-radius: 999px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 14px, transparent 14px 28px);
}

/* Grids */

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid {
    gap: 20px;
  }

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

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
  }

  .split-reverse > :first-child {
    order: 2;
  }

  .split-top {
    align-items: start;
  }

  .sticky {
    position: sticky;
    top: 104px;
  }
}

/* Cards */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s;
}

.card p {
  color: var(--muted);
}

a.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-dark {
  background: var(--ink-2);
  border-color: var(--line-dark);
  color: #fff;
  box-shadow: none;
}

.card-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.card-dark .tag {
  background: rgba(255, 229, 0, 0.14);
  color: var(--yellow);
}

a.card-dark:hover {
  background: var(--ink-3);
}

.icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 8px;
  border-radius: 16px;
  background: var(--yellow);
  color: var(--ink);
}

.icon .i {
  width: 26px;
  height: 26px;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.95rem;
  font-weight: 700;
}

.more .i {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
  transition: transform 0.3s var(--ease);
}

a:hover .more .i {
  transform: translateX(4px);
}

.card-dark .more {
  color: var(--yellow);
}

.num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 800;
}

.card-dark .num {
  background: var(--yellow);
  color: var(--ink);
}

/* Media */

.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--ink-3);
  box-shadow: var(--shadow);
}

.media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-portrait img {
  aspect-ratio: 4 / 5;
}

.media-poster img {
  aspect-ratio: auto;
  height: auto;
}

.float-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 32px);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.74);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.float-badge .i {
  width: 18px;
  height: 18px;
  color: var(--yellow);
}

.illus {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(12px, 4vw, 40px);
  min-height: 340px;
  padding: clamp(28px, 5vw, 48px) clamp(20px, 5vw, 48px) calc(clamp(28px, 5vw, 48px) + 16px);
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.illus::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 14px, var(--yellow) 14px 28px);
}

.illus img {
  flex: 0 1 auto;
  min-width: 0;
  width: auto;
  max-height: clamp(150px, 22vw, 240px);
  object-fit: contain;
}

.illus .illus-drone {
  align-self: flex-start;
  max-height: clamp(48px, 7vw, 76px);
}

/* Projects */

.project {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.project:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.project-brand {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  padding: 32px;
  background: radial-gradient(circle at 30% 20%, #ffffff 0%, #ececE8 100%);
}

.project-brand img {
  width: min(320px, 72%);
}

.project-brand.is-yellow {
  background: radial-gradient(circle at 30% 20%, #fff27a 0%, var(--yellow) 70%);
}

.project-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  padding: 28px;
}

.project-body p {
  color: var(--muted);
}

.wordmark {
  width: min(300px, 80%);
}

.brand-tile {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 48px;
  border-radius: var(--r-xl);
  background: radial-gradient(circle at 30% 20%, #fff27a 0%, var(--yellow) 70%);
  box-shadow: var(--shadow);
}

.brand-tile img {
  width: min(380px, 80%);
}

/* News */

.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.news-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink);
}

.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.news-card:hover .news-media img {
  transform: scale(1.04);
}

.news-media.is-top img {
  object-position: top;
}

.news-media.is-logo {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 20%, #2c2c33 0%, var(--ink) 70%);
}

.news-media.is-logo.is-yellow {
  background: radial-gradient(circle at 30% 20%, #fff27a 0%, var(--yellow) 70%);
}

.news-media.is-logo img {
  width: 92px;
  height: auto;
  object-fit: contain;
}

.news-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 22px 24px 24px;
}

.news-body h3 {
  font-size: 1.12rem;
}

.news-body p {
  color: var(--muted);
  font-size: 0.98rem;
}

.news-media.is-date {
  display: grid;
  place-content: center;
  gap: 4px;
  background: radial-gradient(circle at 30% 20%, #fff27a 0%, var(--yellow) 70%);
  text-align: center;
}

.news-media.is-date strong {
  font-size: clamp(2.6rem, 6vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.news-media.is-date.is-dark {
  background: radial-gradient(circle at 30% 20%, #2c2c33 0%, var(--ink) 70%);
  color: #fff;
}

.news-media.is-date.is-dark strong {
  color: var(--yellow);
}

.news-media.is-date span {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Documents */

.doc {
  height: 100%;
}

.doc .doc-meta {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel-yellow .card .icon {
  background: var(--ink);
  color: var(--yellow);
}

/* Events */

.event {
  display: grid;
  gap: 20px;
  padding: 24px;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.event-date {
  display: grid;
  place-content: center;
  width: 112px;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.event-date strong {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--yellow);
}

.event-date span {
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.event-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.event-body h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
}

.event-body p {
  color: var(--muted);
}

.event-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (min-width: 700px) {
  .event {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 28px;
    padding: 28px;
  }
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  gap: 16px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r-xl);
  border: 2px dashed rgba(12, 12, 14, 0.14);
}

.empty-state p {
  color: var(--muted);
}

/* Articles and legal pages */

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.back .i {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
  transform: rotate(180deg);
}

.back:hover {
  color: var(--yellow);
}

.prose {
  max-width: 72ch;
  margin-inline: auto;
}

.prose > * + *,
.md-body > * + * {
  margin-top: 1.1em;
}

.prose h2,
.md-body h2 {
  margin-top: 1.8em;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.prose h3,
.md-body h3 {
  margin-top: 1.6em;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
}

.prose h4,
.md-body h4 {
  margin-top: 1.35em;
  font-size: 1.05rem;
}

.prose p,
.prose li,
.md-body p,
.md-body li {
  color: #2c2c33;
}

.prose ul,
.prose ol,
.md-body ul,
.md-body ol {
  padding-left: 1.2em;
}

.prose a,
.md-body a {
  font-weight: 600;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

.prose .lead {
  color: var(--muted);
}

.md-body strong {
  font-weight: 800;
}

.md-body em {
  font-style: italic;
}

.md-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: rgba(12, 12, 14, 0.06);
}

.md-body blockquote {
  margin: 0;
  padding: 0.2em 0 0.2em 1em;
  border-left: 3px solid var(--yellow);
  color: var(--muted);
}

.md-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.4em 0;
}

.md-body.is-lead {
  font-size: 1.12em;
  line-height: 1.55;
}

.md-body.is-small {
  font-size: 0.92em;
  color: var(--muted);
}

.md-body.is-tight > * + * {
  margin-top: 0.55em;
}

.md-body.is-loose > * + * {
  margin-top: 1.55em;
}

.event-body .md-body {
  margin-top: 0.75em;
}

.prose-card {
  padding: clamp(24px, 5vw, 56px);
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
}

/* Contacts */

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}

a.contact-row:hover {
  background: rgba(255, 255, 255, 0.07);
}

.contact-row .icon {
  width: 46px;
  height: 46px;
  margin: 0;
  border-radius: 14px;
  flex: none;
}

.contact-row .icon .i {
  width: 22px;
  height: 22px;
}

.contact-row small {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  font-weight: 600;
}

.contact-row strong {
  font-weight: 700;
  word-break: break-word;
}

/* Lists */

.checks {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checks .i {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  stroke-width: 3;
}

.step-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.step-list li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 800;
}

.step-list h3 {
  margin: 2px 0 6px;
}

.step-list p {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  gap: 14px;
  padding: 24px 28px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.timeline .date {
  justify-self: start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--yellow);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.timeline h3 {
  margin-bottom: 6px;
}

.timeline p {
  color: var(--muted);
}

.dl {
  display: grid;
  margin: 0;
  width: 100%;
}

.dl div {
  padding: 16px 0;
  border-top: 1px solid var(--line-dark);
}

.dl dt {
  font-weight: 800;
}

.dl dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

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

.stat {
  padding: 24px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.stat.is-yellow {
  background: var(--yellow);
  border-color: transparent;
}

.stat.is-yellow span {
  color: rgba(12, 12, 14, 0.72);
}

.stat.is-dark {
  background: var(--ink);
  border-color: transparent;
  color: #fff;
}

.stat.is-dark strong {
  color: var(--yellow);
}

.stat.is-dark span {
  color: rgba(255, 255, 255, 0.7);
}

.pledge {
  margin-bottom: 20px;
}

.pledge .card a {
  color: inherit;
  font-weight: 700;
}

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

@media (min-width: 760px) {
  .merch {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

.merch figure {
  padding: 10px 10px 14px;
  border-radius: var(--r-lg);
  background: #fff;
}

.merch img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: var(--r);
}

.merch figcaption {
  padding-top: 10px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
}

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

@media (min-width: 900px) {
  .gallery:not(.gallery-carousel) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

.gallery-shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: var(--r-lg);
  overflow: hidden;
}

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

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-lg);
  display: block;
  transition: transform 0.35s ease;
}

.gallery-shot:hover img {
  transform: scale(1.03);
}

.gallery figcaption {
  padding: 10px 4px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery-carousel {
  position: relative;
  display: block;
  gap: 0;
}

.gallery-viewport {
  overflow: hidden;
  width: 100%;
}

.gallery-track {
  display: flex;
  gap: 16px;
  transition: transform 0.55s ease;
  will-change: transform;
}

.gallery-carousel .gallery-item {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 0;
  margin: 0;
}

@media (max-width: 980px) {
  .gallery-carousel .gallery-item {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (max-width: 700px) {
  .gallery-carousel .gallery-item {
    flex-basis: 86%;
  }
}

.gallery-ctrl {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-ctrl::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.gallery-prev {
  left: 8px;
}

.gallery-prev::before {
  transform: translateX(2px) rotate(135deg);
}

.gallery-next {
  right: 8px;
}

.gallery-next::before {
  transform: translateX(-2px) rotate(-45deg);
}

.gallery-ctrl:hover {
  background: var(--yellow);
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(8, 8, 10, 0.88);
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-dialog {
  position: relative;
  width: min(1100px, 100%);
  max-height: min(92vh, 920px);
  display: grid;
  gap: 10px;
  align-content: center;
}

.lightbox-stage {
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  touch-action: pan-y;
}

.lightbox-track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}

.lightbox-slide {
  flex: 0 0 100%;
  margin: 0;
  display: grid;
  place-items: center;
  min-height: min(72vh, 720px);
  padding: 12px;
}

.lightbox-slide img {
  max-width: 100%;
  max-height: min(72vh, 720px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 3;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.lightbox-close {
  top: -6px;
  right: 0;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
}

.lightbox-nav::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.lightbox-prev {
  left: 4px;
}

.lightbox-prev::before {
  transform: translateX(2px) rotate(135deg);
}

.lightbox-next {
  right: 4px;
}

.lightbox-next::before {
  transform: translateX(-2px) rotate(-45deg);
}

.lightbox-cap,
.lightbox-count {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
}

.lightbox-count {
  font-size: 0.9rem;
  opacity: 0.8;
}

@media (max-width: 700px) {
  .lightbox {
    padding: 0;
    align-items: stretch;
  }

  .lightbox-dialog {
    width: 100%;
    max-height: 100vh;
    height: 100%;
    grid-template-rows: 1fr auto auto;
    gap: 8px;
    padding: 56px 0 18px;
  }

  .lightbox-stage {
    border-radius: 0;
    flex: 1;
  }

  .lightbox-slide {
    min-height: 0;
    height: 100%;
    padding: 8px 12px;
  }

  .lightbox-slide img {
    max-height: calc(100vh - 150px);
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }

  .lightbox-nav {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track,
  .lightbox-track,
  .gallery img {
    transition: none;
  }
}

.diagram {
  padding: clamp(16px, 4vw, 32px);
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.diagram img {
  width: min(680px, 100%);
  margin-inline: auto;
}

.diagram-panel {
  margin-top: 20px;
  border-radius: var(--r-lg);
}

.stack > .card,
.stack > .quote,
.stack > .step-list,
.stack > .checks {
  align-self: stretch;
}

.quote {
  position: relative;
  margin: 0;
  padding: 84px 32px 32px;
  border-radius: var(--r-xl);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.quote::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  left: 28px;
  font-size: 7rem;
  font-weight: 800;
  line-height: 1;
  color: var(--yellow);
}

.quote p {
  position: relative;
  max-width: 34ch;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.quote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--yellow);
}

/* Footer */

.site-footer {
  padding: 56px 0 28px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  gap: 36px;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
}

.footer-brand img {
  width: 52px;
  height: 52px;
}

.site-footer h4 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.65);
}

.site-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--yellow);
}

.site-footer .live {
  color: #fff;
}

.footer-dpc {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 4px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
}

.footer-dpc img {
  width: 96px;
  height: auto;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.85rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 900px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }

  .footer-bottom p:last-child {
    flex: none;
  }
}

/* Motion */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.grid > .reveal:nth-child(2) { transition-delay: 0.06s; }
.grid > .reveal:nth-child(3) { transition-delay: 0.12s; }
.grid > .reveal:nth-child(4) { transition-delay: 0.18s; }

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Calendario */

.cal-nav {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.cal-nav h2 {
  margin: 0;
  font-size: clamp(1.15rem, 3vw, 2rem);
  text-align: center;
  justify-self: center;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cal-nav-btn {
  width: 44px;
  height: 44px;
  min-height: 44px;
  min-width: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.cal-nav-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
}

.dow-row,
.cal-grid {
  width: 100%;
}

.dow-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.dow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding-bottom: 4px;
}

.day-cell {
  min-height: 92px;
  padding: 6px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  overflow: auto;
}

.day-cell.is-out {
  opacity: 0.45;
}

.day-cell.is-today {
  box-shadow: inset 0 0 0 2px var(--yellow);
}

.day-cell.is-selected {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.day-cell.is-today.is-selected {
  box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 2px var(--yellow);
}

.day-cell[data-date] {
  cursor: pointer;
}

.day-cell[data-date]:hover {
  border-color: var(--ink);
}

.day-num {
  align-self: flex-start;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0 2px;
  cursor: pointer;
}

span.day-num {
  cursor: default;
}

.day-event {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  padding: 4px;
  cursor: pointer;
}

.day-event img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 7px;
  flex: none;
}

.day-event span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cal-detail {
  display: grid;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.cal-detail:empty {
  display: none;
}

.cal-day-heading {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
}

.cal-empty {
  margin: 0;
  padding: 18px 20px;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
}

.cal-detail article {
  display: grid;
  gap: 20px;
  padding: 22px;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
  min-width: 0;
}

.cal-detail .media img,
.video-file {
  width: 100%;
  border-radius: var(--r-lg);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #000;
}

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

@media (min-width: 800px) {
  .cal-detail article {
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    align-items: start;
  }
}

@media (max-width: 700px) {
  .cal-nav {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 8px;
  }

  .cal-nav-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  .day-cell {
    min-height: 58px;
    padding: 4px;
  }

  .day-event img {
    display: none;
  }

  .dow,
  .day-num,
  .day-event {
    font-size: 0.65rem;
  }
}

/* Support page, 5x1000 banner, copy buttons */

[hidden] {
  display: none !important;
}

.pay-list {
  display: grid;
  gap: 12px;
  margin: 0;
  width: 100%;
}

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

.pay-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pay-list dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.pay-code {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.cf-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r-xl);
  background: var(--ink);
  color: #fff;
}

.cf-card .eyebrow {
  background: rgba(255, 255, 255, 0.08);
}

.cf-card p {
  color: rgba(255, 255, 255, 0.7);
}

.cf-code {
  color: var(--yellow);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.btn.is-copied {
  background: #3ddc84;
  color: var(--ink);
}

.fiveper {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 560px;
  padding: 12px 12px 12px 18px;
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.94);
  border: 1px solid var(--line-dark);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.3;
  animation: fiveper-in 0.5s var(--ease) both;
}

@keyframes fiveper-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.fiveper strong {
  color: var(--yellow);
}

.fiveper p {
  flex: 1;
  margin: 0;
}

.fiveper a {
  flex: none;
  color: var(--ink);
  background: var(--yellow);
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  white-space: nowrap;
}

.fiveper button {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.fiveper button:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 559px) {
  .fiveper {
    border-radius: 24px;
    flex-wrap: wrap;
    padding: 14px;
  }

  .fiveper p {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fiveper {
    animation: none;
  }
}

/* LIVE button (YouTube watchdog) */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  background: #e11d2e;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  animation: live-glow 2.4s ease-in-out infinite;
}

.live-pill.is-on {
  opacity: 1;
  transform: none;
}

.live-pill:hover,
.live-pill:focus-visible {
  background: #c8101f;
  color: #fff;
}

.site-nav a.live-pill {
  background: #e11d2e;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  animation: live-beat 1.6s ease-in-out infinite;
}

@keyframes live-beat {
  0%, 38%, 100% { transform: scale(1); opacity: 1; }
  10% { transform: scale(1.35); opacity: 1; }
  20% { transform: scale(0.85); opacity: 0.6; }
  28% { transform: scale(1.25); opacity: 1; }
}

@keyframes live-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225, 29, 46, 0.55); }
  50% { box-shadow: 0 0 0 8px rgba(225, 29, 46, 0); }
}

@media (max-width: 420px) {
  .live-pill {
    padding: 0 10px;
  }

  .live-label {
    font-size: 0.74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-pill,
  .live-dot {
    animation: none;
  }
}
/* Sezioni regionali, contatti, incorporati */
.embed-frame {
  width: 100%;
  min-height: 200px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.embed-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.region-card {
  align-content: start;
  text-decoration: none;
  color: inherit;
}

.region-card h3 {
  margin: 0;
}

.region-card p {
  color: var(--muted);
}

/* Photo behind the title of a regional page: always the same black fade, opaque on the left, clear on the right. */
.page-hero.region-hero {
  /* the photo itself is set inline, so its address is relative to the page */
  background-color: var(--ink);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.region-hero::before {
  inset: 0;
  top: 0;
  right: 0;
  z-index: -1;
  width: auto;
  aspect-ratio: auto;
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.82) 40%, rgba(0, 0, 0, 0) 100%);
}

.region-hero::after {
  display: none;
}

@media (max-width: 720px) {
  .region-hero::before {
    background:
      linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.82) 40%, rgba(0, 0, 0, 0) 100%),
      linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38));
  }
}

/* Map of the regional sections */
.region-map {
  display: grid;
  gap: 32px;
  align-items: center;
  margin-bottom: 56px;
}

@media (min-width: 900px) {
  .region-map {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 56px;
  }
}

.map-stage-wrap {
  display: grid;
  gap: 12px;
}

.map-stage {
  --aspect: 0.85;
  position: relative;
  width: min(100%, calc(78vh * var(--aspect)));
  aspect-ratio: var(--aspect);
  margin-inline: auto;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: grab;
}

.map-stage.is-dragging {
  cursor: grabbing;
}

.map-svg {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}

.map-stage.is-zoomed .map-svg {
  touch-action: none;
}

.map-region {
  fill: #dcdcd4;
  stroke: #fff;
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
  transition: fill 0.15s ease;
  outline: none;
}

.map-region:hover {
  fill: #c9c9c0;
}

.map-region.is-active {
  fill: var(--yellow);
  stroke: var(--ink);
  stroke-width: 1px;
  cursor: pointer;
}

.map-region.is-active:hover,
.map-region.is-active.is-hover,
.map-region.is-active:focus-visible {
  fill: var(--ink);
  stroke: var(--yellow);
}

/* Delegazione: soci presenti, sede locale non ancora costituita. Brass taken from the yellow, not a second bright accent. */
.map-region.is-delegazione {
  fill: #c6b56a;
  stroke: var(--ink);
  stroke-width: 1px;
  cursor: pointer;
}

.map-region.is-delegazione:hover,
.map-region.is-delegazione.is-hover,
.map-region.is-delegazione:focus-visible {
  fill: #8d8344;
  stroke: var(--ink);
}

.map-tools {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  gap: 6px;
}

.map-tools button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(12, 12, 14, 0.12);
  cursor: pointer;
}

.map-tools button:hover:not(:disabled) {
  background: var(--yellow);
}

.map-tools button:disabled {
  opacity: 0.4;
  cursor: default;
}

.map-tools .i {
  width: 18px;
  height: 18px;
}

.map-tip {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 4px;
  max-width: 240px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.35;
  box-shadow: 0 14px 34px rgba(12, 12, 14, 0.3);
  pointer-events: none;
}

.map-tip[hidden] {
  display: none;
}

.map-tip strong {
  font-size: 0.98rem;
}

.map-tip span {
  color: rgba(255, 255, 255, 0.72);
}

.map-tip .map-tip-on {
  color: var(--yellow);
  font-weight: 700;
}

.map-tip em {
  color: var(--yellow);
  font-style: normal;
  font-weight: 700;
}

.map-hint {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.map-side {
  display: grid;
  gap: 16px;
  align-content: center;
}

.map-side h2 {
  margin: 0;
}

.map-count {
  margin: 0;
  color: var(--muted);
}

.map-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.map-chips a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.map-chips a.is-delegazione {
  background: #c6b56a;
}

.map-chips a:hover,
.map-chips a:focus-visible {
  background: var(--ink);
  color: #fff;
}

.map-group-label {
  margin: 4px 0 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--muted);
}

.map-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-legend .sw {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1px solid var(--ink);
}

.map-legend .sw-on {
  background: var(--yellow);
}

.map-legend .sw-mid {
  background: #c6b56a;
}

.map-legend .sw-off {
  background: #dcdcd4;
  border-color: #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.region-kind {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.contact-list > div {
  display: grid;
  gap: 4px;
}

.contact-list dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(12, 12, 14, 0.62);
}

.contact-list dt .icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(12, 12, 14, 0.9);
  color: var(--yellow);
}

.contact-list dt .icon .i {
  width: 16px;
  height: 16px;
}

.contact-list dd {
  margin: 0 0 0 40px;
  font-size: 1.05rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.contact-list dd a {
  color: inherit;
}

.panel .contact-list dd a {
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
/* Collaborazioni */
.partner-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 190px;
  padding: 22px 18px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  color: inherit;
  text-align: center;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s;
}

a.partner:hover,
a.partner:focus-visible {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.partner-logo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 84px;
}

.partner-logo img {
  max-width: 100%;
  max-height: 84px;
  object-fit: contain;
}

.partner-logo b {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  font-size: 1.5rem;
}

.partner-name {
  font-weight: 700;
  line-height: 1.25;
}

/* Contatti: modulo */
.panel-light {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.form input:not([type="checkbox"]),
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 14px;
  padding: 13px 14px;
}

.form textarea {
  min-height: 150px;
  resize: vertical;
}

.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible {
  outline: 3px solid var(--yellow);
  border-color: transparent;
}

.form .check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

.form .check-line input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--ink);
}

.form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  font-weight: 700;
}

.form-status.is-ok {
  color: #1b6b3a;
}

.form-status.is-bad {
  color: #9a2430;
}

.region-contact h3 a {
  color: inherit;
}
/* Chat e chiamata 3CX (la bolla è nostra, il widget 3CX si carica solo al clic) */
.chat-launch {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 46;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 20px 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(12, 12, 14, 0.12);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  animation: chat-in 0.5s var(--ease) 0.6s both;
}

.chat-launch:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(12, 12, 14, 0.12);
}

.chat-launch:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.chat-launch svg {
  flex: none;
}

.chat-launch:disabled {
  cursor: progress;
  opacity: 0.75;
}

.chat-launch.is-loading svg {
  animation: chat-pulse 1s ease-in-out infinite;
}

@keyframes chat-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes chat-pulse {
  50% { transform: scale(0.82); }
}

/* On narrow screens: round icon only, lifted above the 5x1000 notice when it is showing */
@media (max-width: 700px) {
  .chat-launch {
    right: 14px;
    bottom: 14px;
    width: 56px;
    padding: 0;
    justify-content: center;
  }

  .chat-launch-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  body:has(.fiveper) .chat-launch {
    bottom: 148px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-launch,
  .chat-launch.is-loading svg {
    animation: none;
    transition: none;
  }
}