/* WITH · Georgia Young Adult Conference, version 3. See BRAND.md and SITE-SPEC.md. */

/* Shown instantly while the Adobe font loads. Sized to match its width so the
   layout barely moves when the real font swaps in. */
@font-face {
  font-family: "with-fallback";
  font-weight: 900;
  src: local("HelveticaNeue-Bold"), local("Helvetica Neue Bold"), local("Arial-BoldMT"), local("Arial Bold");
  size-adjust: 96%;
}

@font-face {
  font-family: "with-fallback";
  font-weight: 600;
  src: local("HelveticaNeue-Bold"), local("Helvetica Neue Bold"), local("Arial-BoldMT"), local("Arial Bold");
  size-adjust: 89%;
}

:root {
  --white: #FFFFFF;
  --sky: #4F7286;
  --sky-deep: #2F4A5A;
  --field: #6E8636;
  --field-deep: #3F5222;
  --sun: #F3E3C3;
  --ink: #1E2620;

  --font: "neue-haas-grotesk-display", "with-fallback", "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);

  --stroke: .55px;
  /* Every stroke on the site is multiplied by this. 1 = version 1 weight. */
  --stroke-scale: .75;
  --radius: 28px;
  --gutter: 12px;
  --col: 480px;
  --overlap: 24px;

  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);

  --nav-h: 64px;
  --nav-gap: 12px;
  --nav-space: calc(var(--safe-b) + var(--nav-gap) + var(--nav-h));

  --banner-space: 0px;
  --deck-top: calc(var(--safe-t) + 12px + var(--banner-space));
  --deck-step: 10px;

  --halftone:
    radial-gradient(circle at center, var(--ink) 0, var(--ink) .9px, transparent 1.35px),
    radial-gradient(circle at center, var(--ink) 0, var(--ink) .9px, transparent 1.35px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--sky-deep);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--white);
  font-family: var(--font);
  font-weight: 600;
  font-style: normal;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: .012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}

/* The brand stroke: a ring of shadows in the text's own color. Every element
   computes its own ring so a different --stroke or color always takes effect.
   Small text uses four shadows; at that size the ring looks identical and
   paints in half the time. */
body, body *, body *::before, body *::after {
  --s: calc(var(--stroke) * var(--stroke-scale));
  text-shadow:
    var(--s) 0 0 currentColor,
    calc(var(--s) * -1) 0 0 currentColor,
    0 var(--s) 0 currentColor,
    0 calc(var(--s) * -1) 0 currentColor;
}

/* Headline-size strokes keep the full eight-point ring so corners stay round. */
.t-page, .t-card, .t-head, .t-detail,
.count__num, .next__title, .happen__title, .sess__name {
  --d: calc(var(--s) * .7071);
  text-shadow:
    var(--s) 0 0 currentColor,
    calc(var(--s) * -1) 0 0 currentColor,
    0 var(--s) 0 currentColor,
    0 calc(var(--s) * -1) 0 currentColor,
    var(--d) var(--d) 0 currentColor,
    calc(var(--d) * -1) var(--d) 0 currentColor,
    var(--d) calc(var(--d) * -1) 0 currentColor,
    calc(var(--d) * -1) calc(var(--d) * -1) 0 currentColor;
}

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 900; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img, svg { display: block; }

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Type ---------- */

.t-page,
.t-card,
.t-head {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  word-spacing: .06em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.t-page {
  --stroke: clamp(1.6px, .037em, 2px);
  font-size: clamp(44px, 13.4vw, 56px);
  line-height: 1;
}

.t-card {
  --stroke: clamp(1.5px, .037em, 2px);
  font-size: clamp(40px, 11.6vw, 52px);
  line-height: 1;
}

.t-head {
  --stroke: 1px;
  font-size: clamp(24px, 7.2vw, 28px);
  line-height: 1.08;
  letter-spacing: .03em;
}

.t-label {
  --stroke: .65px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.t-body {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
}

/* ---------- Photo background ---------- */

/* Fixed and on its own layer so it never repaints while the page scrolls. */
.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--sky-deep);
  contain: strict;
  transform: translateZ(0);
}

.bg__drift {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
}

.bg__fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The photo always fits the full width so the WITH lockup is never cropped at
   the sides. .bg__fill extends sky and grass behind it on tall screens. */
.bg__art {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  aspect-ratio: 9 / 16;
  transform: translate(-50%, -50%);
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 13%, #000 87%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 13%, #000 87%, transparent 100%);
}

/* Home only: the WITH lockup over the photo. It fades out as the cards come up. */
.bg__words {
  -webkit-mask-image: none;
  mask-image: none;
  will-change: opacity;
}

.bg__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(47, 74, 90, .18) 0%,
    rgba(47, 74, 90, 0) 26%,
    rgba(63, 82, 34, 0) 68%,
    rgba(63, 82, 34, .42) 100%);
}

/* Home: the slow drift only runs while the hero is on screen. */
.bg--home .bg__drift {
  will-change: transform;
  animation: drift 14s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.bg--home.is-top .bg__drift { animation-play-state: running; }

@keyframes drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.035) translate3d(0, -.5%, 0); }
}

/* ---------- Layout ---------- */

.page {
  position: relative;
  max-width: var(--col);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0 var(--gutter) calc(var(--nav-space) + 44px);
}

.page-head {
  padding: calc(var(--safe-t) + 30px + var(--banner-space)) 10px 24px;
}

.is-settled .page-head { transition: padding-top .45s var(--ease); }

.page-head__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hero {
  height: calc(100vh - var(--nav-space) - 78px);
  height: calc(100dvh - var(--nav-space) - 78px);
}

/* ---------- Cards and the stacked deck ---------- */

.deck {
  display: flex;
  flex-direction: column;
}

.card {
  --card-bg: var(--sky);
  --card-fg: var(--white);
  position: sticky;
  top: calc(var(--deck-top) + var(--i, 0) * var(--deck-step));
  display: block;
  margin-top: calc(var(--overlap) * -1);
  padding: 22px 22px calc(22px + var(--overlap));
  border-radius: var(--radius);
  background: var(--card-bg);
  color: var(--card-fg);
  text-decoration: none;
  isolation: isolate;
  box-shadow: 0 -10px 26px -16px rgba(30, 38, 32, .6);
  transition: opacity .5s var(--ease), transform .5s var(--ease), scale .25s var(--ease);
}

.is-settled .card { transition: top .45s var(--ease), opacity .5s var(--ease), transform .5s var(--ease), scale .25s var(--ease); }

.deck > .card:first-child { margin-top: 0; }
.deck > .card:last-child { padding-bottom: 24px; }

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image: var(--halftone);
  background-size: 6px 6px;
  background-position: 0 0, 3px 3px;
  opacity: .11;
  pointer-events: none;
}

.card--sky { --card-bg: var(--sky); }
.card--field { --card-bg: var(--field); }
.card--sun { --card-bg: var(--sun); --card-fg: var(--ink); }
.card--sky-deep { --card-bg: var(--sky-deep); }
.card--field-deep { --card-bg: var(--field-deep); }
.card--white { --card-bg: var(--white); --card-fg: var(--ink); }

.card--sun::before,
.card--white::before { opacity: .07; }

a.card:active,
button.card:active { scale: .985; }

.card__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card__row--between { justify-content: space-between; }
.card__row--end { align-items: flex-end; }

.card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.card__title { margin-top: 14px; }
.card__note { margin-top: 8px; max-width: 34ch; }
.card__sub { margin-top: 10px; flex: 1; min-width: 0; }
.card__foot { margin-top: 14px; }

/* Cards deal onto the stack as they scroll into view. */
.js-reveal .reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
}

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

/* Home places its first cards without the deal-in animation. */
.deck.no-anim .card { transition: none; }

/* Short screens: a pinned card could hide its own content, so let cards scroll. */
@media (max-height: 560px) {
  .card { position: relative; top: auto; }
}

/* ---------- Pills ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  --stroke: .6px;
  background: rgba(30, 38, 32, .3);
  color: var(--white);
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1.15;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill--white {
  background: var(--white);
  color: var(--ink);
}

.pill--sun {
  background: var(--sun);
  color: var(--ink);
}

.pill--field {
  background: var(--field);
  color: var(--white);
}

.card--sun .pill:not(.pill--white):not(.pill--field),
.card--white .pill:not(.pill--sun):not(.pill--field) {
  background: rgba(30, 38, 32, .13);
  color: var(--ink);
}

.pill--wrap { white-space: normal; }

.dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: currentColor;
}

.dot--pulse { animation: pulse 1.8s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.7); }
}

/* ---------- Arrow button ---------- */

.arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
}

.arrow svg { width: 20px; height: 20px; }

.card--sun .arrow,
.card--white .arrow {
  background: var(--ink);
  color: var(--sun);
}

/* ---------- Bottom nav ---------- */

.nav {
  position: fixed;
  left: 50%;
  bottom: calc(var(--safe-b) + var(--nav-gap));
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(calc(100% - 24px), 432px);
  height: var(--nav-h);
  padding: 6px;
  border-radius: 999px;
  background: rgba(47, 74, 90, .84);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: 0 12px 30px -12px rgba(30, 38, 32, .7);
  transform: translateX(-50%);
}

.nav__item {
  --stroke: .5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 600;
  font-size: 10.5px;
  line-height: 1;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}

.nav__item svg { width: 22px; height: 22px; }

.nav__item[aria-current="page"] {
  color: var(--sun);
  background: rgba(243, 227, 195, .14);
}

/* ---------- Live banner ---------- */

.banner {
  position: fixed;
  left: 50%;
  top: calc(var(--safe-t) + 8px);
  z-index: 60;
  display: flex;
  align-items: center;
  width: min(calc(100% - 24px), 456px);
  min-height: 56px;
  border-radius: 28px;
  background: rgba(47, 74, 90, .88);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: 0 12px 30px -12px rgba(30, 38, 32, .7);
  color: var(--white);
  opacity: 0;
  transform: translate(-50%, calc(-100% - var(--safe-t) - 24px));
  transition: transform .45s var(--ease), opacity .3s var(--ease);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.banner:not(.is-in) { pointer-events: none; }

.banner.is-in {
  opacity: 1;
  transform: translate(-50%, var(--drag, 0px));
}

.banner.is-dragging { transition: none; }

.banner__link {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  display: block;
  padding: 10px 2px 10px 16px;
  color: inherit;
  text-decoration: none;
}

.banner__line {
  --stroke: .6px;
  display: block;
  font-weight: 900;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.banner__tag {
  --stroke: .55px;
  display: inline-block;
  margin-right: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent, var(--sun));
  color: var(--accent-fg, var(--ink));
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .06em;
  vertical-align: 1px;
}

.banner__meta {
  --stroke: .6px;
  display: block;
  margin-top: 3px;
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.banner--next { --accent: var(--sun); --accent-fg: var(--ink); }
.banner--now { --accent: var(--field); --accent-fg: var(--white); }

.banner__close {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  margin-right: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.banner__close svg { width: 18px; height: 18px; }

.banner__note {
  --stroke: .5px;
  display: block;
  margin-top: 3px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
}

/* ---------- Home: live card ---------- */

.card.is-loading { min-height: 300px; }
.card__sub--two { min-height: 3em; }


.count {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.count__unit {
  flex: 1;
  padding: 12px 6px 11px;
  border-radius: 18px;
  background: rgba(30, 38, 32, .26);
  text-align: center;
}

.count__num {
  --stroke: 1.7px;
  display: block;
  font-weight: 900;
  font-size: clamp(38px, 11vw, 48px);
  line-height: 1;
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}

.count__label {
  --stroke: .6px;
  display: block;
  margin-top: 7px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.next {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px solid rgba(255, 255, 255, .22);
}

.card--sun .next { border-top-color: rgba(30, 38, 32, .18); }

.next__title {
  --stroke: .9px;
  flex: 1;
  min-width: 0;
  font-weight: 900;
  font-size: 18px;
  line-height: 1.1;
  text-transform: uppercase;
}

/* ---------- Schedule ---------- */

.pill--now {
  background: var(--ink);
  color: var(--sun);
}

.sess__strip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 22px;
}

.sess__time {
  --stroke: .6px;
  flex: none;
  min-width: 70px;
  font-size: 12.5px;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.sess__name {
  --stroke: .8px;
  flex: 1;
  min-width: 0;
  padding: 1px 0;
  font-weight: 900;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: .03em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.sess.is-past {
  padding-top: 13px;
  padding-bottom: calc(13px + var(--overlap));
}

.deck > .sess.is-past:last-child { padding-bottom: 16px; }

.sess.is-past::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(47, 74, 90, .44);
  pointer-events: none;
}

.sess.is-now {
  padding-top: 26px;
  padding-bottom: calc(30px + var(--overlap));
  box-shadow:
    inset 0 0 0 3px var(--white),
    0 -10px 26px -16px rgba(30, 38, 32, .6),
    0 0 46px -4px rgba(243, 227, 195, .8);
}

.deck > .sess.is-now:last-child { padding-bottom: 30px; }

/* ---------- Breakouts ---------- */

.t-detail {
  --stroke: 1.5px;
  font-weight: 900;
  font-size: clamp(32px, 9.4vw, 40px);
  line-height: 1.04;
  letter-spacing: .02em;
  word-spacing: .06em;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.detail {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 40;
  width: min(100%, var(--col));
  overflow: hidden;
  background: var(--card-bg);
  color: var(--card-fg);
  isolation: isolate;
  transform: translateX(-50%);
}

.detail[hidden] { display: none; }

.detail::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--halftone);
  background-size: 6px 6px;
  background-position: 0 0, 3px 3px;
  opacity: .11;
  pointer-events: none;
}

.detail.card--sun::before { opacity: .07; }

.detail__scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* One pixel taller than the screen so the page behind never scrolls instead. */
.detail__inner {
  display: flex;
  flex-direction: column;
  min-height: calc(100% + 1px);
  padding: calc(var(--safe-t) + 14px + var(--banner-space)) 22px calc(var(--nav-space) + 22px);
}

.detail__back {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-left: -4px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.detail__back svg { width: 22px; height: 22px; }

.detail.card--sun .detail__back {
  background: var(--ink);
  color: var(--sun);
}

.detail__tag { margin-top: 26px; }
.detail__title { margin-top: 14px; }
.detail__pills { margin-top: 18px; }

.detail__summary {
  margin-top: 22px;
  padding: 20px 22px 22px;
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
}

.detail__cta {
  position: sticky;
  bottom: calc(var(--nav-space) + 14px);
  margin-top: auto;
  padding-top: 22px;
}

.btn {
  --stroke: .5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 10px 10px 10px 26px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--ink);
  box-shadow: 0 12px 26px -12px rgba(30, 38, 32, .7);
  font-weight: 900;
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: scale .25s var(--ease);
}

.btn:active { scale: .985; }

.btn .arrow {
  background: var(--ink);
  color: var(--sun);
}

.detail.card--sun .btn {
  background: var(--sky-deep);
  color: var(--white);
}

.detail.card--sun .btn .arrow {
  background: var(--white);
  color: var(--ink);
}

.speakers { margin-top: 10px; }

/* ---------- Map ---------- */

.card--static {
  position: relative;
  top: auto;
  margin-top: 0;
  padding-bottom: 24px;
}

.map {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 -10px 26px -16px rgba(30, 38, 32, .6);
}

.map__view {
  position: relative;
  height: min(50vh, 94vw);
  height: min(50dvh, 94vw);
  min-height: 260px;
  max-height: 460px;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.map__view.is-zoomed {
  touch-action: none;
  cursor: grab;
}

.map__canvas {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
}

.map__canvas.is-animating { transition: transform .5s var(--ease); }

.map__canvas svg {
  display: block;
  width: 100%;
  height: 100%;
}

.map__canvas .room { cursor: pointer; }

.map__canvas .room--tint,
.map__canvas .room--tint path { fill: var(--sky); }
.map__canvas .room--tint { opacity: .45; }

.map__canvas .room--plain,
.map__canvas .room--plain path { fill: var(--white); }

.map__canvas .room.is-live,
.map__canvas .room.is-live path { fill: var(--field); }
.map__canvas .room.is-live {
  opacity: .7;
  animation: room-soft 2.6s steps(8, end) infinite;
}

.map__canvas .room.is-selected,
.map__canvas .room.is-selected path { fill: var(--sun); }
.map__canvas .room.is-selected {
  opacity: 1;
  filter: drop-shadow(0 0 .7px var(--ink)) drop-shadow(0 0 .7px var(--ink));
  animation: room-pulse 1.7s steps(8, end) infinite;
}

@keyframes room-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

@keyframes room-soft {
  0%, 100% { opacity: .7; }
  50% { opacity: .3; }
}

.map__zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.map__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--sky-deep);
  color: var(--white);
  box-shadow: 0 8px 18px -8px rgba(30, 38, 32, .7);
  cursor: pointer;
}

.map__btn svg { width: 20px; height: 20px; }
.map__btn:disabled { opacity: .4; }

.map__status {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 24px;
  text-align: center;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 2px solid rgba(30, 38, 32, .1);
}

.legend .pill {
  --stroke: .45px;
  background: rgba(30, 38, 32, .08);
  color: var(--ink);
}

.legend__mark {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  font-weight: 900;
  font-size: 13px;
  line-height: 1;
}

.legend__mark svg { width: 15px; height: 15px; }

.chips {
  display: flex;
  gap: 8px;
  margin: 14px calc(var(--gutter) * -1) 0;
  padding: 4px calc(var(--gutter) + 2px) 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-padding: 0 20px;
}

.chips::-webkit-scrollbar { display: none; }

.chip {
  --stroke: .6px;
  flex: none;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(47, 74, 90, .84);
  color: var(--white);
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}

.chip[aria-pressed="true"] {
  background: var(--sun);
  color: var(--ink);
}

.roomcard { margin-top: 2px; }

.happen {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.happen__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 14px;
  border-radius: 20px;
  background: rgba(30, 38, 32, .09);
  color: inherit;
  text-decoration: none;
}

.happen__main { flex: 1; min-width: 0; }

.happen__title {
  --stroke: .8px;
  display: block;
  margin-top: 8px;
  font-weight: 900;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: .03em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.happen__sub {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.3;
}

.roomcard__empty { margin-top: 12px; }

/* ---------- Resources ---------- */

.questions {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: q;
}

.questions li {
  counter-increment: q;
  position: relative;
  padding: 12px 0 12px 46px;
  border-top: 2px solid rgba(30, 38, 32, .12);
  font-size: 17px;
  line-height: 1.45;
}

.questions li::before {
  --stroke: .5px;
  content: counter(q);
  position: absolute;
  left: 0;
  top: 11px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--sun);
  font-weight: 900;
  font-size: 15px;
  line-height: 1;
}

.card.card--tall { position: relative; top: auto; }

.focus { margin-top: 16px; }
.focus .pill { font-size: 12px; }

.feature__btn { margin-top: 20px; }

.section-label {
  margin: 34px 10px 14px;
  font-size: 14px;
}

.footnote { margin-top: 34px; }

.footnote__title {
  --stroke: .4px;
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.footnote__body {
  --stroke: .4px;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- Notices ---------- */

.notice {
  margin: 0 10px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(47, 74, 90, .8);
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  .bg--home .bg__drift { animation: none; }
  .card { position: relative; top: auto; transition: opacity .3s linear; }
  .js-reveal .reveal { transform: none; }
  a.card:active, button.card:active, .btn:active { scale: none; }
  .dot--pulse { animation: none; }
  .map__canvas .room.is-live, .map__canvas .room.is-selected { animation: none; }
  .map__canvas.is-animating { transition: none; }
  .is-settled .page-head { transition: none; }
  .is-settled .card { transition: opacity .3s linear; }
  .banner { transform: translate(-50%, 0); transition: opacity .3s linear; }
}
