@font-face {
  font-family: Garet;
  src: url("fuentes/Garet-Book.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #21130e;
  --paper: #fcf8f1;
  --latte: #efdfc9;
  --accent: #efbc98;
  --rule: #77594a;
  --surface: #21130e;
  --font: Garet, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 1rem/1.64 var(--font); }
a { color: inherit; text-underline-offset: .26em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.skip { position: absolute; top: .5rem; left: .5rem; transform: translateY(-180%); background: var(--paper); color: var(--ink); padding: .5rem 1rem; }
.skip:focus { transform: none; }
.wrap { width: min(100% - 3rem, 73rem); margin-inline: auto; }
.mast, .section-head, .actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.4rem; }
.mast { padding-block: 1.1rem; }
nav { display: flex; flex-wrap: wrap; gap: .5rem 1.35rem; }
nav a, .wordmark { font-weight: 400; text-decoration: none; }
nav a:hover, .wordmark:hover { text-decoration: underline; }
.wordmark { font: 400 1.45rem var(--font); letter-spacing: -.03em; }
.hero {
  background-color: #352518;
  background-image:
    linear-gradient(100deg, rgb(22 11 8 / .7), rgb(24 10 5 / .38)),
    url("fondo-izq.jpg"), url("fondo-der.jpg");
  background-position: center, left center, right center;
  background-size: cover, auto 100%, auto 100%;
  background-repeat: no-repeat;
  border-block: 1px solid var(--rule);
}
.hero-grid { display: grid; grid-template-columns: 1.17fr .83fr; align-items: center; gap: clamp(1.25rem, 5vw, 5rem); padding-block: clamp(2.75rem, 8vw, 6rem); }
h1, h2, h3 { font-family: var(--font); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.03em; }
h1 { font-size: clamp(2.15rem, 4.8vw, 4.25rem); }
h1 em { display: block; font-style: normal; color: var(--accent); }
.intro p { max-width: 33rem; margin: 1.45rem 0; }
.actions { justify-content: flex-start; }
.button { display: inline-block; border: 1px solid currentColor; border-radius: .85rem; padding: .62rem 1rem; text-decoration: none; font-weight: 400; }
.button:hover { text-decoration: underline; }
.primary { background: var(--latte); color: var(--ink); border-color: var(--latte); }
.brand-panel { display: grid; place-items: center; min-height: 24rem; mix-blend-mode: screen; }
.brand-panel img { display: block; width: 76%; height: auto; filter: grayscale(1) contrast(1.8) sepia(.28); }
.events { padding-block: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2.35rem, 5vw, 4.6rem); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.5rem; margin: 1.75rem 0; }
.card { display: flex; flex-direction: column; min-width: 0; }
.event-poster { display: block; width: 100%; max-width: 20rem; aspect-ratio: 1; object-fit: cover; background: var(--latte); border-radius: .85rem; align-self: center; }
.card h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.card h3 + p { margin-block: .6rem 1rem; }
.card .place { font-size: .9rem; margin: .85rem 0 .45rem; color: var(--accent); font-weight: 400; }
.card a { align-self: start; margin-top: auto; font-weight: 400; }
.collaboration { background: #2e1c13; border-block: 1px solid var(--rule); }
.contact { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 1.2rem 4rem; padding-block: clamp(2.75rem, 7vw, 5rem); }
.contact p { margin-top: 0; max-width: 32rem; }
.editorial { border-top: 1px solid var(--rule); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.editorial h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
.topic-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1.75rem clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 1.75rem;
}
.topic-groups h3 { font-size: 1.25rem; color: var(--accent); }
.topics { padding-inline-start: 1.15rem; margin: .85rem 0 0; }
.topics li { margin-block: .45rem; }
.topics li::marker { color: var(--accent); }
.topics a { text-decoration-color: var(--rule); }
.topics a:hover { text-decoration-color: currentColor; }
#aliados h2, .partner-groups h3 { text-align: center; }
.partner-groups { display: grid; gap: 1.75rem; margin-top: 2rem; }
.partner-groups > div { min-width: 0; }
.partner-groups h3 { font-size: 1.15rem; color: var(--accent); }
.partners {
  display: flex;
  align-items: stretch;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--rule) var(--surface);
  list-style: none;
  margin: .5rem 0 0;
  padding: .75rem .4rem 1rem;
}
.partners:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.partners li {
  flex: 0 0 9rem;
  min-height: 4.75rem;
  display: grid;
  align-content: center;
  justify-items: center;
  scroll-snap-align: start;
  gap: .4rem;
  text-align: center;
  font-size: .875rem;
  line-height: 1.3;
}
.partner-logo { height: 3.5rem; width: 100%; display: grid; place-items: center; }
.partner-logo img {
  display: block;
  max-width: 100%;
  max-height: 3.5rem;
  filter: invert(1) hue-rotate(180deg);
  mix-blend-mode: screen;
}
@media (max-width: 760px) {
  .hero-grid, .cards, .contact { grid-template-columns: 1fr; }
  .brand-panel { min-height: 0; max-width: 28rem; aspect-ratio: 1.45; width: 100%; }
  .brand-panel img { width: min(62%, 17rem); }
}

.partner-window { min-width: 0; }
.partner-copy { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .partner-window {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 9%, black 91%, transparent);
  }
  .partner-track {
    display: flex;
    width: max-content;
    animation: partner-scroll 42s linear infinite paused;
  }
  .partner-window .partners {
    overflow: visible;
    padding-inline: 0 clamp(1.25rem, 3vw, 2.75rem);
  }
  .partner-window .partner-copy { display: flex; }
  .partner-groups > div:nth-child(2) .partner-track { animation-direction: reverse; }
  #aliados[data-in-view] .partner-track { animation-play-state: running; }
}

@keyframes partner-scroll { to { transform: translateX(-50%); } }

.partner-logo .native-logo { filter: none; mix-blend-mode: normal; }
.partner-logo .native-logo[src$="medellin-blockchain.svg"] { filter: brightness(2.2); }

.partner-logo .screen-logo { filter: none; }
.encounter-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.encounter-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: .85rem;
}
.about-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2.5rem;
  max-width: 63rem;
  margin-top: 1.25rem;
}
.about-copy p { margin: 0; }
.team {
  display: grid;
  grid-template-columns: minmax(0, 23rem) minmax(0, 1fr);
  gap: 1.5rem clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  margin-top: 1.5rem;
}
.team > img { width: 100%; border-radius: .85rem; display: block; }
.team-members { display: grid; gap: 1.15rem; }
.team-members h3 { font-size: 1.5rem; }
.team-members p { margin: .25rem 0 0; }
.member-role { color: var(--accent); }
@media (max-width: 760px) {
  .encounter-gallery, .about-copy, .team { grid-template-columns: 1fr; }
  .team > img { max-width: 24rem; }
}

.encounter-reel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 23rem);
  gap: 1.25rem 2.5rem;
  align-items: center;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
}
.encounter-reel h3 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
.encounter-reel iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 2;
  border: 0;
  border-radius: .85rem;
}
@media (max-width: 760px) {
  .encounter-reel { grid-template-columns: minmax(0, 1fr); }
  .encounter-reel iframe { max-width: 23rem; }
}

/* Colores y usos del manual de identidad visual. */
:root {
  color-scheme: light;
  --ink: #38261a;
  --paper: #efe2d2;
  --latte: #d0b496;
  --accent: #c97e89;
  --rule: #8e796a;
  --surface: #094938;
}
body { background: var(--paper); color: var(--ink); }
header.mast, footer.mast {
  position: relative;
  isolation: isolate;
  color: var(--paper);
}
header.mast::before, footer.mast::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 0;
  left: calc((100vw - 100%) / -2);
  right: calc((100vw - 100%) / -2);
  background: var(--surface);
}
.hero {
  background: #094938;
  color: var(--paper);
  border-color: #2b3f2e;
}
h1 em { color: var(--paper); }
.primary { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.brand-panel { mix-blend-mode: normal; }
.brand-panel img { width: min(65%, 14rem); filter: none; }
.card .place, .topic-groups h3, .member-role { color: #4d3523; }
.topics li::marker { color: #094938; }
.topics a:hover { color: #094938; }
#aliados {
  position: relative;
  isolation: isolate;
  color: var(--paper);
  border-top: 0;
}
#aliados::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 0;
  left: calc((100vw - 100%) / -2);
  right: calc((100vw - 100%) / -2);
  background: #2b3f2e;
}
.partner-groups h3 { color: var(--paper); }
.collaboration { background: #094938; color: var(--paper); border-color: #2b3f2e; }

.partners li > a {
  color: inherit;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: .4rem;
  width: 100%;
  min-height: 100%;
  text-decoration: none;
  border-radius: .85rem;
}
.partners li > a:hover span,
.partners li > a:focus-visible span { text-decoration: underline; }
.partner-logo img { filter: none; mix-blend-mode: normal; object-fit: contain; }
.partner-logo .native-logo[src$="medellin-blockchain.svg"] { filter: brightness(2.2); }
@media (prefers-reduced-motion: no-preference) {
  #aliados[data-in-view] .partner-window:hover .partner-track,
  #aliados[data-in-view] .partner-window:focus-within .partner-track {
    animation-play-state: paused;
  }
}

.partner-logo .screen-logo { mix-blend-mode: screen; }

.hero { background-color: #38261a; }
.language { display: flex; gap: .75rem; align-items: center; font-size: .9rem; }
.language a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }

header.mast { color: var(--ink); }
header.mast::before { background: var(--latte); }

@font-face {
  font-family: Garet;
  src: url("fuentes/Garet-Heavy.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
.card h3 { font-weight: 700; }
.intro .countries { font-size: .95rem; margin: 1.15rem 0; }
.countries span[aria-hidden="true"] { font-size: 1.4rem; letter-spacing: .1em; vertical-align: middle; }

.topics a {
  text-decoration: none;
  font-weight: 400;
  -webkit-text-stroke: .2px currentColor;
}
.topics a:hover,
.topics a:focus-visible { text-decoration: underline; }

.metrics { padding-block: clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid var(--rule); }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 0; }
.metrics-grid > div { display: flex; flex-direction: column; }
.metrics-grid dt { order: 1; font-size: .95rem; }
.metrics-grid dd { margin: 0; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; color: #094938; }
.metrics-grid .metrics-social { order: 2; margin-top: .4rem; font-size: .9rem; line-height: 1.5; color: var(--ink); }
@media (max-width: 600px) {
  .metrics-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

.contact .contact-email { margin: 1rem 0 0; overflow-wrap: anywhere; }

.video-heading { margin-top: 2.5rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.reels-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.encounter-reel { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; margin: 0; padding: 0; border: 0; }
.encounter-reel > div { order: 1; }
.encounter-reel h3 { font-size: 1.15rem; line-height: 1.3; }
.encounter-reel p { margin: .4rem 0; }
.encounter-reel iframe { max-width: none; aspect-ratio: 1 / 1.85; }
.encounter-reel > div { margin-top: auto; }
@media (max-width: 760px) {
  .reels-grid { grid-template-columns: 1fr; gap: 2rem; }
  .encounter-reel { width: min(100%, 23rem); margin-inline: auto; }
  .cards .card { width: min(100%, 24rem); margin-inline: auto; }
  .event-poster { max-width: none; }
  .hero-grid { gap: 1rem; }
  .brand-panel { aspect-ratio: auto; padding-block: 1rem; }
  .brand-panel img { width: min(45%, 10rem); }
  .countries span[aria-hidden="true"] { display: inline-block; white-space: nowrap; }
}

/* Jerarquía tipográfica y colores de la identidad visual. */
header .wordmark { display: inline-flex; align-items: center; gap: .5rem; }
header .wordmark img { width: 2rem; height: 2rem; object-fit: contain; }
.hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: clamp(3rem, 7vw, 5.5rem); }
.intro { max-width: 54rem; }
h1 { font-size: clamp(2.15rem, 4.3vw, 3.8rem); line-height: 1.12; }
.events h2, .editorial h2, .contact h2 { font-size: clamp(2rem, 3.5vw, 3.05rem); line-height: 1.12; }
.card h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.2; }
.topic-groups h3, .team-members h3 { font-size: 1.25rem; line-height: 1.3; }
.topic-groups h3 { color: #094938; }
.member-role, .card .place { color: #4d3523; }
.video-heading { font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
@media (max-width: 760px) {
  .hero-grid { padding-block: 2.75rem 3rem; }
  header .wordmark img { width: 1.8rem; height: 1.8rem; }
}
@media (max-width: 600px) {
  .countries span[aria-hidden="true"] { display: block; margin-bottom: .25rem; }
}

.encounter-gallery { max-width: 57rem; }
.reels-grid { max-width: 54rem; }
@media (max-width: 760px) {
  .encounter-gallery { width: min(100%, 20rem); margin-inline: auto; }
  .encounter-reel { width: min(100%, 20rem); }
}

.community-voice { margin-top: 3rem; max-width: 54rem; }
.community-voice h3 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
.community-voice blockquote { margin: 1.25rem 0 0; padding: 1.5rem 1.75rem; border-radius: 1rem; background: #d0b496; color: #38261a; }
.community-voice blockquote p { margin: 0 0 .8rem; font-size: clamp(1.25rem, 2.5vw, 1.65rem); }
.community-voice blockquote footer { font-size: .9rem; }
.community-voice blockquote a { color: inherit; }

header .wordmark { font-size: 1.2rem; }
@media (max-width: 760px) {
  header .wordmark { font-size: 1.1rem; }
}

/* Resaltar las preguntas con un trazo sutil. */
#titular em, #titulo-por-que, #titulo-colabora {
  font-weight: 500;
  -webkit-text-stroke: .3px currentColor;
}

/* Proporciones para tarjetas, testimonios y navegación. */
.cards .card { width: min(100%, 20rem); justify-self: center; }
.event-poster { max-width: none; }
.community-voice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.community-voice h3 { grid-column: 1 / -1; }
.community-voice blockquote {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.4rem;
}
.community-voice blockquote p { font-size: 1.1rem; line-height: 1.5; }
.community-voice blockquote footer { margin-top: auto; }
@media (min-width: 761px) and (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  header.mast {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .75rem 1rem;
  }
  header .language { grid-column: 2; grid-row: 1; justify-self: end; }
  header nav:not(.language) {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: .35rem 1rem;
  }
  .community-voice { grid-template-columns: 1fr; }
  .community-voice h3 { grid-column: 1; }
}

.event-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem clamp(2rem, 5vw, 4rem);
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  text-align: center;
}
.event-partners a { font-size: 1rem; text-decoration: none; }
.event-partners a:hover, .event-partners a:focus-visible { text-decoration: underline; }

/* Portada, calendario y aliados adaptables a cada pantalla. */
.hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
}
.hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 32rem;
  object-fit: cover;
  border-radius: 1rem;
}
.next-event { background: var(--latte); color: var(--ink); }
.next-event-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 2rem; padding-block: 1.15rem; }
.next-event p { margin: 0; }
.next-event a { font-weight: 700; }
.encounter-gallery, .community-voice { max-width: none; }
.card { position: relative; }
.card a::after { content: ""; position: absolute; inset: 0; }
.card:focus-within { outline: 2px solid currentColor; outline-offset: .4rem; }
.card h3 { font-weight: 400; -webkit-text-stroke: .25px currentColor; }
.contact .button { margin: .25rem .5rem .25rem 0; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-height: 22rem; aspect-ratio: 4 / 3; }
  .encounter-gallery { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.hero-photo { aspect-ratio: auto; max-height: none; height: auto; }
@media (max-width: 760px) { .hero-photo { aspect-ratio: auto; max-height: none; } }

.reel-load:not([hidden]) {
  display: flex;
  width: 100%;
  aspect-ratio: 1 / 1.85;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .8rem;
  border: 0;
  border-radius: .85rem;
  background: #38261a;
  color: #efe2d2;
  font: inherit;
  cursor: pointer;
}
.reel-load:hover, .reel-load:focus-visible { background: #4d3523; }
.reel-load:focus-visible { outline: 3px solid #094938; outline-offset: 4px; }
.reel-play { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border: 1px solid currentColor; border-radius: 50%; }

.hero {
  background-image: linear-gradient(rgb(56 38 26 / .88), rgb(56 38 26 / .88)), url("fotos/fondo-encuentro.png");
  background-position: center, center;
  background-size: cover, contain;
  background-repeat: no-repeat;
}

.encounter-reel iframe { border-radius: 0; }
.reel-load:not([hidden]) { background: transparent; color: var(--ink); border-radius: 0; }
.reel-load:hover, .reel-load:focus-visible { background: transparent; }

.encounter-reel iframe {
  aspect-ratio: auto;
  height: 660px;
  border-radius: .85rem;
}
@media (max-width: 760px) {
  .encounter-reel iframe { height: 640px; }
}

.encounter-reel iframe { height: auto; aspect-ratio: 4 / 3; }
.reel-load:not([hidden]) { aspect-ratio: 4 / 3; }
@media (max-width: 760px) {
  .encounter-reel iframe { height: auto; }
}

/* Paleta marrón para las secciones y verde para los botones. */
:root { --surface: #38261a; }
#aliados::before, .collaboration { background: #38261a; }
.collaboration { border-color: #77594a; }
.metrics-grid dd, .topic-groups h3, .topics li::marker { color: #38261a; }
.topics a:hover { color: #6b4935; }
.button, .button.primary, .button.outline {
  background: #094938;
  border-color: #094938;
  color: #fcf8f1;
}
.button:hover { background: #0c5b46; border-color: #0c5b46; }

.button, .button.primary, .button.outline {
  background: #c97e89;
  border-color: #c97e89;
  color: #21130e;
}
.button:hover { background: #d4939d; border-color: #d4939d; }

/* Ajustes de escala y distribución para pantallas pequeñas. */
@media (max-width: 600px) {
  .wrap { width: min(100% - 2rem, 73rem); }
  header.mast { padding-block: .8rem; gap: .6rem 1rem; }
  header nav:not(.language) { gap: .25rem 1rem; font-size: .9rem; }
  header nav:not(.language) a { padding-block: .2rem; }
  .hero-grid { padding-block: 2.25rem 2.5rem; gap: 1.5rem; }
  h1 { font-size: clamp(1.9rem, 8vw, 2.3rem); }
  .intro p { margin-block: 1.1rem; }
  .events h2, .editorial h2, .contact h2 { font-size: clamp(1.75rem, 7vw, 2.15rem); }
  .events, .editorial { padding-block: 2.5rem; }
  .metrics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
  .metrics-grid dt { font-size: .8rem; line-height: 1.35; }
  .metrics-grid dd { font-size: clamp(1.75rem, 8vw, 2.4rem); }
  .cards { gap: 2.25rem; }
  .cards .card { width: min(100%, 22rem); }
  .encounter-gallery { gap: .65rem; }
  .encounter-gallery img:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc((100% - .65rem) / 2); justify-self: center; }
  .encounter-reel { width: min(100%, 23rem); }
  .encounter-reel iframe { aspect-ratio: auto; height: 420px; }
  .reel-load:not([hidden]) { aspect-ratio: 4 / 5; }
  .contact .button { margin: .25rem 0; text-align: center; }
  .guestbook input, .guestbook textarea { min-width: 0; font-size: 1rem; }
  .partner-groups { gap: 2rem; }
  .partners { gap: 1rem; }
  .partners li { flex-basis: 8rem; min-height: 6.5rem; align-content: start; font-size: .8rem; }
  .partners li > a { display: grid; grid-template-rows: 3.5rem auto; align-content: start; }
  .partner-logo { height: 3.5rem; }
  .partner-logo img { width: auto; height: auto; max-width: 5.5rem; max-height: 2.75rem; object-fit: contain; }
  .partner-logo img[src$="team1.svg"],
  .partner-logo img[src$="nerdconf.webp"] { max-width: 5rem; }
  .event-partners { gap: .75rem 1.5rem; }
  .event-partners a { font-size: .9rem; }
}

.event-partners a { display: inline-flex; flex-direction: column; align-items: center; gap: .35rem; padding: .35rem .15rem; }
.event-partners .event-partner-link { font-size: .8rem; text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 600px) {
  .partner-window { overflow: hidden; mask-image: none; }
  .partner-window .partners { gap: 0; padding-inline: 0; }
  .partners li { flex-basis: calc((100vw - 2rem) / 2); }
}
@media (max-width: 600px) and (prefers-reduced-motion: no-preference) {
  .partner-track { animation: none; transition: transform .6s ease; }
}
