/* =========================================================
   Sections. Mobile first (4 cols), placement on the 12-col
   desktop grid uses the three anchors: column 1, 4 and 10.
   ========================================================= */

/* ---------- Header ---------- */
.site-header__bar {
  position: relative;   /* above the hero's 3D canvas, which bleeds upward */
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--space-24);
}
.site-header__logo svg { width: clamp(6.125rem, 8vw, 7.0625rem); height: auto; }  /* 98 → 113 */
.site-header__nav ul { display: flex; align-items: center; gap: var(--space-24); }

.theme-toggle { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; }
.theme-toggle svg { width: 0.75rem; height: 0.75rem; scale: 1 1; }
/* animate only after load (data-ready from js/theme.js), so the start state doesn't flip in */
.theme-toggle[data-ready] svg { transition: scale 0.6s var(--ease-snap); }
/* switching theme flips the half-filled icon horizontally (-100% on x) */
.theme-toggle[aria-pressed='true'] svg { scale: -1 1; }
@media (prefers-reduced-motion: reduce) {
  .theme-toggle[data-ready] svg { transition: none; }
}

/* ---------- Hero ---------- */
.hero {
  --hero-pad: clamp(1.5rem, calc(1.5rem + 32 * var(--fluid)), 3.5rem);
  padding-top: var(--hero-pad);
  overflow-x: clip;                          /* the EC scene bleeds sideways; never scroll the page */
}
/* stage = the area between the margins and above the hero row; the dot grid fills it,
   starting right under the header (it reaches up through the hero padding) */
.hero__stage { position: relative; }
.hero__dots {
  --dots-pulse: var(--color-accent-surface);
  position: absolute;
  inset: calc(var(--hero-pad) * -1) 0 0;
  width: 100%;
  height: calc(100% + var(--hero-pad));
  pointer-events: none;
  color: var(--color-text-primary);          /* dot colour, follows light and dark */
}
.hero__mark {
  width: min(88%, 47.875rem);              /* 766 (Figma Logo/Symbol frame); 88% keeps the tilted corners on screen on phones */
  aspect-ratio: 766 / 597;                 /* room for the tilted start position */
  margin-inline: auto;
  position: relative;
  color: var(--color-mark);
}
/* the WebGL canvas bleeds past the frame, so the tilted start position is never clipped;
   data-ec-size is relative to this wider scene (scene = 1.9 × the box) */
.hero__scene { position: absolute; inset: -45%; pointer-events: none; }   /* room around the deep model so it never clips; symmetric keeps the centre (scene = 1.9 × box) */
.hero__fallback {
  position: absolute;
  inset: 0;
  width: calc(var(--ec-size, 0.6) * 100%);   /* --ec-size is set from data-ec-size by js/hero.js */
  margin: auto;
  rotate: calc(var(--ec-spin, 30) * -1deg);  /* --ec-spin from data-ec-spin (js/hero.js), so no jump when WebGL takes over */
  fill: currentColor;
}
/* intro (data-ec-intro): with JS the SVG waits, so it never flashes before the 3D symbol scales in.
   js/hero.js adds .is-ec-fallback when WebGL doesn't work; then the SVG fades in after all.
   Safety net: if the scripts never run at all, the SVG still comes in after 8 s.
   Once WebGL is ready (.is-ec-ready) ec-scroll-tilt.js hides the SVG itself. */
@media (scripting: enabled) {
  .hero__scene[data-ec-intro]:not(.is-ec-ready, .is-ec-fallback) .hero__fallback { animation: ec-fade-in 0.6s 8s both; }
}
.hero__scene.is-ec-fallback .hero__fallback { animation: ec-fade-in 0.6s var(--ease-snap) both; }
@keyframes ec-fade-in { from { visibility: hidden; opacity: 0; } }
/* desktop: the hero fills the screen minus a peek of the next section;
   the symbol box takes all the height that is left and keeps its aspect */
@media (min-width: 64rem) {
  .hero {
    --peek: clamp(4rem, 12svh, 8rem);          /* how much of the photos shows above the fold */
    min-height: calc(100svh - 4.5rem - var(--peek));   /* 4.5rem = header height */
    display: flex;
    flex-direction: column;
  }
  .hero__stage {
    flex: 1 1 0;
    min-height: 22rem;
    display: flex;
    flex-direction: column;
  }
  .hero__mark {
    flex: 1 1 0;
    min-height: 0;
    width: auto;
    max-width: 100%;
    align-self: center;
  }
  .hero + .section { padding-top: var(--space-32); }
}
.hero__row {
  position: relative;                        /* text stays above the 3D canvas */
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--space-24);
  margin-top: var(--space-32);
}

/* ---------- Stage: three photos, asymmetric ---------- */
/* all three photos share one bottom line (Figma: bottoms at y 584), at every width */
.stage { row-gap: var(--gutter); align-items: end; }
.stage__main   { grid-column: 1 / -1; grid-row: 1; }
.stage__detail { grid-column: 1 / span 2; grid-row: 2; }
.stage__side   { grid-column: 3 / span 2; grid-row: 2; }
/* stacked (below the 12-column layout): every photo square; beats the inline --ratio */
@media (max-width: 63.999rem) {
  .stage .media { aspect-ratio: 1 / 1; }
}

@media (min-width: 48rem) {
  .stage__detail { grid-column: 1 / span 4; }
  .stage__side   { grid-column: 5 / span 4; }
}
@media (min-width: 64rem) {
  .stage__detail { grid-column: 1 / span 3; grid-row: 1; }
  .stage__main   { grid-column: 4 / span 6; grid-row: 1; }
  .stage__side   { grid-column: 10 / span 3; grid-row: 1; }
}

/* ---------- Over: label + statement, on one baseline ---------- */
.about { row-gap: var(--space-48); }
.about__item { grid-column: 1 / -1; display: grid; gap: var(--space-12); }
.about__item dd { max-width: 17em; }   /* even line lengths; em scales with the fluid type, so the breaks stay put */

@media (min-width: 64rem) {
  .about { row-gap: var(--space-48); }
  .about__item {
    grid-template-columns: subgrid;
    align-items: baseline;
  }
  .about__item dt { grid-column: 1 / span 3; }
  /* Wide screens: the type stops growing at 40px, so 17em gets narrow against the grid. Then 5 columns,
     but never wider than 26em (about 55 characters a line). 17em wins up to about 1600px. */
  .about__item dd {
    --about-col: calc((100vw - 2 * var(--margin) - 11 * var(--gutter)) / 12);
    grid-column: 4 / span 7;
    max-width: clamp(17em, 5 * var(--about-col) + 4 * var(--gutter), 26em);
  }
}

/* ---------- Facts ---------- */
.facts { row-gap: var(--space-32); }
.facts li {
  grid-column: span 2;
  display: grid;
  gap: 2px;
  padding-top: var(--space-12);
  border-top: 1px solid var(--color-border-default);
}
@media (min-width: 48rem) { .facts li { grid-column: span 2; } }
@media (min-width: 64rem) { .facts li { grid-column: span 3; } }

/* ---------- Wat we doen: typographic list ---------- */
.offers { margin-top: var(--space-48); }
.offer {
  row-gap: var(--space-12);
  padding-block: var(--space-16) var(--space-32);
  border-top: 1px solid var(--color-border-default);
}
.offer__title { grid-column: 1 / -1; position: relative; }
.offer__text  { grid-column: 1 / -1; color: var(--color-text-secondary); }
.offer .tag   { left: 55%; bottom: 0.6em; padding: 0.375rem 0.75rem; font-size: var(--fs-label); }

@media (min-width: 64rem) {
  .offer { padding-bottom: var(--space-48); }
  .offer .tag { left: 13.75rem; bottom: 0.15em; padding: 0.875rem 1.25rem; font-size: var(--fs-body); }  /* Figma x 268 */
  .offer__title { grid-column: 1 / span 9; }
  .offer__text  { grid-column: 10 / span 3; max-width: 20.5rem; }
}

/* ---------- Terugblik: slider (smooothy) ---------- */
.recap__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.recap__nav { display: flex; justify-content: flex-end; gap: var(--space-16); }   /* right edge of the page, also in the 12-col grid */
@media (min-width: 64rem) {
  .recap__head { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gutter); }
  .recap__head h2 { grid-column: 1 / span 9; }
  .recap__nav { grid-column: 10 / span 3; gap: var(--space-24); }
}

/* the track runs to the right edge of the viewport and starts on the page margin */
.slider {
  /* the grid runs edge to edge (--page-max: none), so a column is a share of the viewport */
  --col: calc((100vw - 2 * var(--margin) - (var(--cols) - 1) * var(--gutter)) / var(--cols));
  --slider-left: var(--margin);
  margin-top: var(--space-24);
}
.slider__track {
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding-left: var(--slider-left);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.slider__slide {
  /* slide = N columns (--span-sm on 4 cols, --span from 1024px);
     the gutter is padding, smooothy doesn't support CSS gap */
  --span-now: var(--span-sm, var(--span));
  flex-shrink: 0;
  width: calc(var(--span-now) * (var(--col) + var(--gutter)));
  padding-right: var(--gutter);
}
@media (min-width: 64rem) {
  .slider__slide { --span-now: var(--span); }
}
.slider__slide img { -webkit-user-drag: none; pointer-events: none; }

/* ---------- Volgende meetup ---------- */
.next { row-gap: var(--space-32); align-items: end; }
.next__date { grid-column: 1 / -1; display: grid; gap: var(--space-16); }
.next__details { grid-column: 1 / -1; display: grid; gap: var(--space-24); }
.next__details .button-016 { width: 100%; }

@media (min-width: 64rem) {
  .next__date { grid-column: 1 / span 9; }
  .next__details { grid-column: 10 / span 3; }
  .next__details .button-016 { width: auto; justify-self: start; }
}

/* ---------- Footer ---------- */
.site-footer { padding-bottom: var(--space-32); }
.site-footer__inner {
  row-gap: var(--space-32);
  padding-top: var(--space-32);
  border-top: 1px solid var(--color-border-default);
}
.site-footer__cta { grid-column: 1 / -1; display: grid; justify-items: start; }   /* two lines of one heading, like 'Volgende meetup' */
.site-footer__social { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: var(--space-24); }   /* spread like the artist socials */
/* small EC symbol between the CTA and the socials; the WebGL scene stays inside this frame */
.site-footer__mark {
  position: relative;
  width: clamp(8rem, 13vw, 12rem);
  aspect-ratio: 7 / 5;   /* a bit of headroom for the tilt plus the mouse tilt */
  overflow: hidden;
  color: var(--color-mark);
}
.site-footer__scene { position: absolute; inset: 0; pointer-events: none; }
.site-footer__mark { display: none; }   /* phones: worked out with the mobile pass */

/* tablet (8 columns) and up: CTA, symbol in the middle, socials, all centred on one row */
@media (min-width: 48rem) {
  .site-footer__inner { align-items: center; }
  .site-footer__cta { grid-column: 1 / span 3; }
  .site-footer__mark { display: block; grid-column: 4 / span 2; justify-self: center; }
  .site-footer__social { grid-column: 6 / span 3; }
}
@media (min-width: 64rem) {
  .site-footer__cta { grid-column: 1 / span 5; }
  .site-footer__mark { grid-column: 6 / span 2; }
  .site-footer__social { grid-column: 10 / span 3; }
}

/* ---------- Artiesten: orange in both themes ---------- */
.artists {
  --artists-ink: var(--neutral-950);         /* names */
  --artists-paper: var(--neutral-50);        /* active name + panel */
  margin-top: calc(var(--space-48) * 2);
  /* At least the screen height (900 at 1440x900, Figma), 40rem on low windows. A minimum, not a
     fixed height: on wide screens the square photo in the 3-column panel grows, and then the section
     grows with the panel instead of clipping it. Bio and player always keep the --space-32 of
     .artists__bottom between them. Grid, so the names list still fills the height. */
  min-height: max(40rem, 100svh);
  display: grid;
  background: var(--color-accent-surface);
  color: var(--artists-ink);
  overflow: clip;
}

/* names: an endless vertical list, the active name sits in the middle */
.artists__names {
  grid-column: 1 / -1;
  position: relative;
  height: 100%;
  container-type: inline-size;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;                        /* vertical drag belongs to the list */
}
.artists__names.is-dragging { cursor: grabbing; }
.artists__list { position: absolute; inset: 0; }
.artists__item {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  translate: 0 -50%;                        /* JS adds the row offset as transform: translateY */
}
.artists__name {
  --name-size: min(var(--fs-display-l), 13.5cqi);   /* "Horizon Odyssey" always fits its columns */
  position: relative;
  display: flex;
  align-items: center;
  font-size: var(--name-size);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.05em;
  white-space: nowrap;
  padding-block: 0.04em;                    /* 101 + 8 = 109 per row at 112px (Figma) */
  color: inherit;
  cursor: inherit;
}
.artists__label {
  transition: translate 0.7s var(--ease-snap), color 0.4s var(--ease-snap);
}
/* active: white, a square in front, text steps in (Figma: 16px square, text at 64px) */
.artists__bullet {
  position: absolute;
  left: 0;
  width: max(0.625rem, 0.143em);
  aspect-ratio: 1;
  background: var(--artists-paper);
  scale: 0;
  transition: scale 0.6s var(--ease-snap);
}
.artists__item.is-active .artists__label { translate: 0.572em 0; color: var(--artists-paper); }
.artists__item.is-active .artists__bullet { scale: 1; }
@media (hover: hover) and (pointer: fine) {
  .artists__item:not(.is-active) .artists__name:hover .artists__label { translate: 0.15em 0; }
}
.artists__name:focus-visible { outline: 2px solid var(--artists-paper); outline-offset: 0.1em; }

/* panel */
.artists__panel {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  padding-block: var(--space-48);
  color: var(--artists-paper);
  --color-text-primary: var(--artists-paper);   /* Button 016 links inherit white */
  --color-link-hover: var(--artists-paper);     /* orange on orange would vanish */
  --color-border-strong: var(--artists-paper);
}
.artists__photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: color-mix(in srgb, var(--artists-ink) 18%, transparent);
}
.artists__photo-layer { position: absolute; inset: 0; }
/* WebGL pixel render (js/pixel-photo.js) draws the photo; the <img> layers are only the fallback */
.artists__photo-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.artists__photo.is-pixel .artists__photo-layer { display: none; }
.artists__photo-layer img { filter: grayscale(1); }
.artists__photo-layer img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.artists__photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: var(--fs-label);
  font-weight: 700;
  color: color-mix(in srgb, var(--artists-paper) 70%, transparent);
}
.artists__bio { margin-top: var(--space-12); }
.artists__bottom { margin-top: auto; padding-top: var(--space-32); display: grid; gap: var(--space-24); }

.artists__tracks-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--artists-paper);
}
.track { padding-block: var(--space-12); border-bottom: 1px solid var(--artists-paper); }
.track__row { display: flex; align-items: baseline; gap: var(--space-8); }
.track__play { position: relative; width: 0.5rem; height: 0.625rem; align-self: center; margin-right: 0.25rem; color: inherit; }
.track__play:disabled { opacity: 0.4; cursor: default; }
.track__icon { position: absolute; inset: 0; width: 100%; height: 100%; fill: currentColor; }
.track__icon--stop, .track.is-playing .track__icon--play { display: none; }
.track.is-playing .track__icon--stop { display: block; }
/* grid/flex items default to min-width: auto, so a long one-line title would push the panel off screen */
.artists__panel, .artists__bottom > *, .track, .track__row { min-width: 0; }
.track__title { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* one line: a long title ends in "…" (also on the SplitText line used for the reveal) */
.track__title .line-mask, .track__title .line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track__time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.track__ticks {
  display: flex;
  justify-content: space-between;
  height: 0.5rem;
  margin-top: var(--space-12);
  cursor: pointer;
}
.track__ticks span { width: 1px; background: currentColor; opacity: 0.35; transition: opacity 0.2s; }
.track__ticks span.is-played { opacity: 1; }
.track.is-empty .track__ticks { cursor: default; opacity: 0.5; }
.track__ticks:focus-visible { outline: 1px solid var(--artists-paper); outline-offset: 4px; }

.artists__socials { display: flex; justify-content: space-between; min-height: 1.4em; }

/* lines of changing text, same masked reveal as the scroll reveals */
.artists__panel .line-mask { overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }

/* tablet: names 5 columns, panel 3 */
@media (min-width: 48rem) {
  .artists__names { grid-column: 1 / span 5; }
  .artists__panel { grid-column: 6 / span 3; }
}
/* desktop: names 9 columns, panel 3 (Figma) */
@media (min-width: 64rem) {
  .artists__names { grid-column: 1 / span 9; }
  .artists__panel { grid-column: 10 / span 3; }
}
/* phones: a horizontal slider (photo + name) replaces the names list and the panel photo;
   bio, track and socials sit right under it and follow the slide in the middle (js/artists.js) */
.artists__slider { display: none; }
@media (max-width: 47.999rem) {
  .artists { min-height: 0; }
  .artists__names, .artists__photo { display: none; }
  .artists__slider {
    display: flex;
    gap: var(--gutter);
    /* bleed to both screen edges, slides snap to the page margin; the next one peeks in */
    margin-inline: calc(-1 * var(--margin));
    padding-inline: var(--margin);
    scroll-padding-inline: var(--margin);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    list-style: none;
  }
  .artists__slider::-webkit-scrollbar { display: none; }
  .artists__slide { flex: 0 0 82%; scroll-snap-align: start; scroll-snap-stop: always; }
  .artists__slide-photo {
    position: relative;
    aspect-ratio: 1;
    background: color-mix(in srgb, var(--artists-ink) 18%, transparent);
    overflow: hidden;
  }
  .artists__slide-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); -webkit-user-drag: none; }
  .artists__slide-name {
    margin-top: var(--space-12);
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.05em;
    color: var(--artists-ink);
    transition: color 0.4s;
  }
  .artists__slide.is-active .artists__slide-name { color: var(--artists-paper); }
  .artists__bio { margin-top: var(--space-24); }
}

/* ---------- Mini player (js/mini-player.js): bottom centre, orange like the Artiesten section ---------- */
.mini-player {
  --mini-h: 4.75rem;                         /* 76 */
  position: fixed;
  left: 50%;
  bottom: var(--space-48);
  z-index: 20;
  translate: -50% calc(100% + var(--space-48) + 1rem);
  transition: translate 0.7s var(--ease-snap);
  outline-offset: 4px;
}
.mini-player.is-visible { translate: -50% 0; }
/* stopped + mouse at the bottom centre: only the top edge shows, click to play again */
.mini-player.is-peek {
  translate: -50% calc(var(--mini-h) + var(--space-48) - 1.75rem);
  cursor: pointer;
}
.mini-player.is-peek .mini-player__inner { cursor: pointer; }
.mini-player__inner { display: flex; gap: 2px; touch-action: pan-y; cursor: grab; user-select: none; }
.mini-player.is-dragging .mini-player__inner { cursor: grabbing; }

/* record: the artist photo on a spinning disc */
.mini-player__record {
  display: grid;
  place-items: center;
  width: var(--mini-h);                      /* square */
  height: var(--mini-h);
  background: var(--neutral-950);
}
.mini-player__disc {
  position: relative;
  width: calc(var(--mini-h) * 0.82);
  aspect-ratio: 1;
  border-radius: 100%;
  background: var(--neutral-800, #2a2a2a) center / cover no-repeat;
  filter: grayscale(1);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08);
  animation: mini-spin 6s linear infinite paused;
}
.mini-player__disc::after {                  /* spindle hole */
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16%;
  aspect-ratio: 1;
  border-radius: 100%;
  background: var(--neutral-950);
}
.mini-player.is-spinning .mini-player__disc { animation-play-state: running; }
@keyframes mini-spin { to { rotate: 360deg; } }

/* track: same pieces as the panel's track row */
.mini-player__track {
  display: grid;
  align-content: center;
  gap: var(--space-8);
  width: 21.5rem;                            /* 344 */
  height: var(--mini-h);
  padding-inline: var(--space-24);
  background: var(--color-accent-surface);
  color: var(--neutral-950);
}
.mini-player__row { display: flex; align-items: baseline; gap: var(--space-8); min-width: 0; }
.mini-player__play { position: relative; width: 0.5rem; height: 0.625rem; align-self: center; margin-right: 0.25rem; color: inherit; }
.mini-player__play .track__icon { width: 100%; height: 100%; fill: currentColor; }
.mini-player__icon--stop, .mini-player.is-on .mini-player__icon--play { display: none; }
.mini-player.is-on .mini-player__icon--stop { display: block; }
.mini-player__title { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mini-player__time { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.mini-player__ticks { display: flex; justify-content: space-between; height: 0.5rem; cursor: pointer; }
.mini-player__ticks span { width: 1px; background: currentColor; opacity: 0.35; }
.mini-player__ticks span.is-played { opacity: 1; width: 2px; }

@media (prefers-reduced-motion: reduce) {
  .mini-player { transition: none; }
  .mini-player__disc { animation: none; }
}

/* ---------- Hero: meetup info card above the CTA (Figma "info-modal-cta") ----------
   Only rendered when a meetup is coming up (Hero.astro); js/meetup-card.js removes it once it is over.
   On load the button shows first; 3 s later the card folds forward from its bottom edge and fades in.
   Hidden on phones. */
.meetup-card { display: none; }
@media (min-width: 48rem) {
  .hero__cta {
    display: grid;
    gap: var(--space-4);
    perspective: 60rem;                       /* depth for the fold */
  }
  .hero__cta:has(.meetup-card) .button-016 { width: 100%; }
  .meetup-card {
    display: grid;
    gap: var(--space-16);
    padding: 1.25rem 2rem 1.25rem 1.25rem;    /* 20 / 32 / 20 / 20 */
    background: linear-gradient(-21.7deg,
      light-dark(var(--neutral-50), #20201f) 16.8%,
      light-dark(var(--neutral-100), var(--neutral-950)) 103.5%);
    color: light-dark(var(--neutral-950), var(--neutral-50));
    font-size: var(--fs-body);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.01em;
    transform-origin: 50% 100%;               /* pivot: bottom centre, on the button */
    animation: meetup-card-in 0.9s 3s var(--ease-snap) both;
  }
  .meetup-card__title { opacity: 0.4; }
  .meetup-card__list { display: grid; gap: 0.125rem; list-style: none; margin: 0; padding: 0; }
  .meetup-card__list li { display: flex; align-items: center; gap: var(--space-12); white-space: nowrap; }
  .meetup-card__list li::before {             /* 4px square bullet */
    content: '';
    flex: none;
    width: 4px;
    height: 4px;
    background: var(--color-text-secondary);
  }
  .meetup-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-8);
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--ease-snap);
  }
  .meetup-card__arrow {                       /* Figma arrow as a mask, so it takes the text colour */
    flex: none;
    width: 8.28px;
    height: 10.53px;
    background: currentColor;
    -webkit-mask: url('../assets/icons/arrow-up-right.svg') center / contain no-repeat;
    mask: url('../assets/icons/arrow-up-right.svg') center / contain no-repeat;
    transition: translate 0.3s var(--ease-snap);
  }
  .meetup-card__link:focus-visible { outline: 2px solid var(--color-border-strong); outline-offset: 2px; }
  @media (hover: hover) and (pointer: fine) {
    .meetup-card__link:hover { color: var(--color-link-hover); }
    .meetup-card__link:hover .meetup-card__arrow { translate: 2px -2px; }
  }
}
@keyframes meetup-card-in {
  from { opacity: 0; transform: translateZ(-6rem) rotateX(80deg); }
}
@media (prefers-reduced-motion: reduce) {
  .meetup-card { animation-name: meetup-card-fade; animation-duration: 0.4s; }
}
@keyframes meetup-card-fade { from { opacity: 0; } }
