/* /getting-here-alt-a : "infographic". The map is the hero in the middle of the page with the route drawn on it and
   keyed markers; how you arrive (subway, rideshare / taxi) is on its left, the walk from the kerb and the notes on
   its right, each row carrying the marker it refers to. Phones: venue, map, then the rows, in the one scroll panel. */
.page--getting-here-alt-a .art .collage { overflow: visible; }
.page--getting-here-alt-a .directions { line-height: 1.4; }
.page--getting-here-alt-a .panel > * + *, .page--getting-here-alt-a .diagram > * + *, .page--getting-here-alt-a .side > * + * { margin-top: 1.2rem; }

/* markers: the same dot on the map and beside the row it belongs to */
.page--getting-here-alt-a .mk {
  display: inline-grid; place-items: center; flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--mk, var(--ink)); color: #fff;
  font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; line-height: 1; box-shadow: 0 0 0 2px var(--paper), 0 2px 5px rgb(0 0 0 / 0.3);
}
.page--getting-here-alt-a .mk .ico { width: 66%; height: 66%; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.page--getting-here-alt-a .mk--train { --mk: #51699a; }
.page--getting-here-alt-a .mk--car { --mk: #a4554d; }
.page--getting-here-alt-a .mk--n { --mk: #222; }
.page--getting-here-alt-a .mk--star { --mk: #696d44; }
.page--getting-here-alt-a .mk--star .ico { fill: currentColor; stroke-width: 1.5; }
.page--getting-here-alt-a .mk--park { --mk: var(--paper); color: var(--wine); box-shadow: none; width: 2.3rem; height: 2.3rem; }
.page--getting-here-alt-a .mk--park .ico { width: 100%; height: 100%; stroke-width: 2.4; }

/* venue: the big fact */
.page--getting-here-alt-a .venue { text-align: center; }
.page--getting-here-alt-a .venue__name { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 1rem + 3vw, 2.6rem); line-height: 1.1; margin-top: 0.15em; text-wrap: balance; }
.page--getting-here-alt-a .venue address { font-size: var(--fs-h3); margin-top: 0.3em; }
.page--getting-here-alt-a .venue__note { margin-top: 0.6em; text-wrap: balance; }
.page--getting-here-alt-a .venue__note .mk { width: 1.5rem; height: 1.5rem; vertical-align: -0.35rem; margin-right: 0.2rem; box-shadow: none; }

/* the map */
.page--getting-here-alt-a .hero { position: relative; margin: 0; rotate: -0.6deg; background: #fff; padding: 0.45rem; box-shadow: 0 1px 2px rgb(70 55 30 / 0.3), 0 0.6rem 1.6rem rgb(70 55 30 / 0.18); }
.page--getting-here-alt-a .hero__map { display: block; cursor: zoom-in; }
.page--getting-here-alt-a .hero__map > img { display: block; width: 100%; height: auto; }
.page--getting-here-alt-a .route { position: absolute; inset: 0.45rem; width: calc(100% - 0.9rem); height: calc(100% - 0.9rem); pointer-events: none; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.page--getting-here-alt-a .route__walk { stroke: #a4554d; stroke-width: 9; opacity: 0.5; }
.page--getting-here-alt-a .route__sub { stroke: #51699a; stroke-width: 6; stroke-dasharray: 0.045 0.05; opacity: 0.85; }
.page--getting-here-alt-a .pin { position: absolute; left: calc(0.45rem + (100% - 0.9rem) * var(--pxn)); top: 0; pointer-events: none; }
.page--getting-here-alt-a .pin { left: var(--px); top: var(--py); translate: -50% -50%; }
.page--getting-here-alt-a .hero { container-type: inline-size; }
.page--getting-here-alt-a .pin .mk { width: clamp(1.25rem, 7.5cqw, 1.9rem); height: clamp(1.25rem, 7.5cqw, 1.9rem); font-size: clamp(0.8rem, 4.4cqw, 1.15rem); }

/* rows */
.page--getting-here-alt-a .leg__h { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-body); font-size: var(--fs-body); font-weight: 400; line-height: 1.25; text-wrap: balance; }
.page--getting-here-alt-a .leg__h > span:not(.mk):not(.lines) { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.18em; }
.page--getting-here-alt-a .leg > * + * { margin-top: 0.5em; }
.page--getting-here-alt-a .leg > p, .page--getting-here-alt-a .apps { padding-left: 2.7rem; }
.page--getting-here-alt-a .apps > li + li { margin-top: 0.4em; }
.page--getting-here-alt-a .lines { display: inline-flex; gap: 0.15rem; margin-left: auto; }
.page--getting-here-alt-a .ln { display: inline-grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; font-family: Arial, Helvetica, sans-serif; font-size: 0.85rem; font-weight: 700; line-height: 1; }
.page--getting-here-alt-a .ln--q { background: #fccc0a; color: #222; }
.page--getting-here-alt-a .ln--s { background: #6e6e70; color: #fff; }
.page--getting-here-alt-a .ln--b { background: #f47a20; color: #fff; }
.page--getting-here-alt-a .steps { display: grid; gap: 0.7em; }
.page--getting-here-alt-a .steps > li, .page--getting-here-alt-a .nopark { display: flex; gap: 0.6rem; align-items: flex-start; }
.page--getting-here-alt-a .nopark { align-items: center; }
.page--getting-here-alt-a .leg--notes > * + * { margin-top: 0.8em; }
.page--getting-here-alt-a .map-open { cursor: pointer; }

@media (prefers-reduced-motion: no-preference) {
  /* the map draws its route, then the markers drop on */
  .js:not(.ready) .page--getting-here-alt-a .pin, .js:not(.ready) .page--getting-here-alt-a .route { opacity: 0; }
  .js.ready .page--getting-here-alt-a .pin { animation: gha-pin 420ms cubic-bezier(0.2, 0.9, 0.3, 1.3) var(--d, 900ms) both; }
  @keyframes gha-pin { from { opacity: 0; transform: translateY(-0.9rem) scale(0.6); } to { opacity: 1; transform: none; } }
  .js.ready .page--getting-here-alt-a .route { animation: fade 900ms ease-out 700ms both; }
}

@media (min-width: 37.5rem) and (min-aspect-ratio: 1/1) {
  .page--getting-here-alt-a .art { position: absolute; left: var(--ax); top: var(--ay); width: var(--aw); rotate: var(--ar0, 0deg); z-index: var(--az, 1); }
  /* the two photos, one above the other down the right side */
  /* the two photos are fixed on the stage (never part of the scrolling panel), one above the other, and the pair is
     centred top-to-bottom on the screen: equal space above the upper photo and below the lower one */
  .page--getting-here-alt-a .art--p1, .page--getting-here-alt-a .art--p2 { --aw: 14.64cqw; --ph: calc(var(--aw) * 1.4998); --gap: 2.1cqw; left: calc(98% - var(--aw)); }
  .page--getting-here-alt-a .art--p1 { top: calc(50% - var(--ph) - var(--gap) / 2); }
  .page--getting-here-alt-a .art--p2 { top: calc(50% + var(--gap) / 2); }


  .page--getting-here-alt-a .panel {
    position: absolute; inset: 0 0 calc(1.2cqw + 4rem) 0; width: auto; height: auto; max-width: none; margin: 0; padding: 1.6cqw 18.4cqw 0.5rem 2.2cqw; overflow-y: auto; z-index: 3;
  }
  .page--getting-here-alt-a .panel > * + *, .page--getting-here-alt-a .diagram > * + * { margin-top: 0; }
  /* the venue block is centred over the map and the steps beside it (the two columns right of the page title) */
  .page--getting-here-alt-a .venue { width: auto; margin: 0 0 0 calc((68.5% - 3.6cqw) * 0.537 + 1.8cqw); min-height: 12.6cqw; padding-top: 0.6cqw; }
  .page--getting-here-alt-a .venue__name { font-size: max(1.5rem, 2.6cqw); }
  .page--getting-here-alt-a .venue address { font-size: max(1.0625rem, 1.5cqw); }
  .page--getting-here-alt-a .diagram { display: grid; grid-template-columns: minmax(0, 1.16fr) 31.5% minmax(0, 1fr); column-gap: 1.8cqw; align-items: start; margin-top: 0.9cqw !important; }
  .page--getting-here-alt-a .hero { grid-column: 2; grid-row: 1; }
  .page--getting-here-alt-a .side--arrive { grid-column: 1; grid-row: 1; padding-top: 0.6cqw; }
  .page--getting-here-alt-a .side--walk { grid-column: 3; grid-row: 1; padding-top: 0.6cqw; }
  .page--getting-here-alt-a .side > * + * { margin-top: 1.1cqw; }
  .page--getting-here-alt-a .next { left: 42%; }
}

/* phones held sideways: map on the left, all the rows in one column beside it */
@media (min-width: 37.5rem) and (min-aspect-ratio: 1/1) and (max-height: 520px) {
  .page--getting-here-alt-a .venue { width: 62%; }
  .page--getting-here-alt-a .diagram { grid-template-columns: 40% minmax(0, 1fr); }
  .page--getting-here-alt-a .hero { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: 0; }
  .page--getting-here-alt-a .side--arrive { grid-column: 2; grid-row: 1; }
  .page--getting-here-alt-a .side--walk { grid-column: 2; grid-row: 2; padding-right: 0; margin-top: 1.2rem !important; }
}
/* ---------- the map popup ("click HERE for a map.") ---------- */
.map-pop {
  --bar: 2.75rem;
  /* the whole map, as large as the screen allows; never smaller than 24rem across (then it scrolls inside the popup) */
  --side: max(min(24rem, 100vw - 1.5rem), min(100vw - 1.5rem, (100dvh - 1.5rem - var(--bar)) * 0.9675));
  position: fixed; inset: 0; margin: auto; padding: 0; border: 0; overflow: hidden;
  width: var(--side); max-width: calc(100vw - 1rem); height: fit-content; max-height: calc(100dvh - 1rem);
  background: var(--paper); color: var(--ink); border-radius: 0.35rem; box-shadow: 0 0.6rem 2.5rem rgb(0 0 0 / 0.35);
}
.map-pop[open] { display: flex; flex-direction: column; }
.map-pop::backdrop { background: rgb(34 34 34 / 0.6); }
.map-pop__bar { flex: none; height: var(--bar); display: flex; justify-content: flex-end; align-items: center; padding: 0 0.25rem; }
.map-pop__close {
  font: inherit; font-family: var(--font-display); font-size: 1rem; line-height: 1; color: inherit; background: none; border: 0;
  min-height: 2.75rem; padding: 0 0.75rem; cursor: pointer; text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em;
}
.map-pop__close:hover { text-decoration-thickness: 0.14em; }
.map-pop__close > span { display: inline-block; font-size: 1.3em; text-decoration: none; vertical-align: -0.05em; }
.map-pop__view { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.map-pop__view > img { display: block; width: 100%; max-width: none; height: auto; }

@media (prefers-reduced-motion: no-preference) {
  .map-pop { opacity: 0; transform: translateY(0.75rem) scale(0.97); transition: opacity 220ms ease, transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1), overlay 260ms allow-discrete, display 260ms allow-discrete; }
  .map-pop[open] { opacity: 1; transform: none; }
  .map-pop::backdrop { opacity: 0; transition: opacity 260ms ease, overlay 260ms allow-discrete, display 260ms allow-discrete; }
  .map-pop[open]::backdrop { opacity: 1; }
  @starting-style {
    .map-pop[open] { opacity: 0; transform: translateY(0.75rem) scale(0.97); }
    .map-pop[open]::backdrop { opacity: 0; }
  }
}

/* zoom inside the popup: the map is enlarged and pans inside the view; pinching never zooms the page behind */
html:has(.map-pop[open]) { touch-action: pan-x pan-y; }
.map-pop { touch-action: pan-x pan-y; }
.map-pop__bar { justify-content: space-between; }
.map-pop__zoom {
  font: inherit; font-family: var(--font-display); font-size: 1rem; line-height: 1; color: inherit; background: none; border: 0;
  min-height: 2.75rem; padding: 0 0.75rem; cursor: pointer; text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em;
}
.map-pop__zoom:hover { text-decoration-thickness: 0.14em; }
.map-pop__zoom span > span { display: inline-block; font-size: 1.3em; text-decoration: none; vertical-align: -0.05em; }
.map-pop__zoom-out, .map-pop.is-zoomed .map-pop__zoom-in { display: none; }
.map-pop.is-zoomed .map-pop__zoom-out { display: inline; }
.map-pop__view > img { cursor: zoom-in; -webkit-user-drag: none; user-select: none; }
.map-pop.is-zoomed .map-pop__view > img { width: max(220%, 44rem); cursor: grab; }
.map-pop.is-zoomed .map-pop__view { aspect-ratio: 1548 / 1600; }

/* short or narrow wide stages: the text keeps its 16px floor, so the directions scroll. The scrolling area starts
   below the page title (nothing slides under it) and the venue block leads it, centred between title and photos. */
@media (min-width: 37.5rem) and (min-aspect-ratio: 1/1) and (max-width: 1310px), (min-width: 37.5rem) and (min-aspect-ratio: 1/1) and (max-height: 737px) {
  .page--getting-here-alt-a .panel { inset: 15.4cqw 0 calc(1.2cqw + 4rem) 0; padding-top: 0.4rem; }
  .page--getting-here-alt-a .venue { margin-left: 0; min-height: 0; padding: 0 0 0.6rem; }
}

@media not ((min-width: 37.5rem) and (min-aspect-ratio: 1/1)) {
  /* phones: the panel scrolls up and down only and nothing is cut at its sides */
  .page--getting-here-alt-a .panel { overflow-x: hidden; touch-action: pan-y; overscroll-behavior-x: none; }
  .page--getting-here-alt-a .hero { margin-inline: 0.4rem; }
}
