@font-face {
  font-family: Ember Plex;
  src: url("/assets/fonts/ibm-plex-sans-latin-wght-normal.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
.home-page {
  --home-orange: #ff7700;
  --home-orange-text: #ff7700;
  --home-ink: #1f2022;
  --home-night: #151617;
  --home-muted: #5c5d62;
  --home-line: #e3e3de;
  --home-paper: #f7f6f2;
  --home-sand: #efe9da;
  --home-map: #efe9da;
  --home-orange-soft: #ffb066;
  --home-settle: cubic-bezier(0.16, 1, 0.3, 1);
  --home-ease: cubic-bezier(0.22, 1, 0.36, 1);
  background: var(--home-paper);
  color: var(--home-ink);
  font-family:
    Ember Plex,
    sans-serif;
  accent-color: var(--home-orange);
  scrollbar-color: #96968f var(--home-paper);
}
.home-page ::selection {
  background: #ffdfbd;
  color: var(--home-ink);
}
.home-page :focus-visible {
  outline: 2px solid var(--home-orange);
  outline-offset: 3px;
}
.home-page a {
  text-underline-offset: 5px;
}
.home-skip {
  position: fixed;
  top: 10px;
  left: 20px;
  transform: translateY(-180%);
  z-index: 100;
  background: #fff;
  padding: 12px 20px;
  color: var(--home-ink);
}
.home-skip:focus {
  transform: none;
}
.home-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.home-wrap {
  width: min(1120px, calc(100% - 96px));
  margin-inline: auto;
}
.home-page h1,
.home-page h2,
.home-page h3 {
  font-weight: 520;
  text-wrap: balance;
  margin: 0;
}
.home-page h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

/* Hero */
.home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(680px, calc(100svh - 76px));
  padding: 96px 0;
  overflow: hidden;
  background: var(--home-night) url("/assets/images/fire-poster.webp") center /
    cover;
  color: #fff;
}
.home-hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #0d0b0af0 0%,
    #0d0b0acc 45%,
    #0d0b0a66 100%
  );
}
.home-hero-copy {
  animation: home-fade 1.1s var(--home-ease) both;
}
.home-hero h1 {
  max-width: 13em;
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.home-hero h1 span {
  color: var(--home-orange);
}
.home-hero-lead {
  margin: 24px 0 36px;
  max-width: 40ch;
  font-size: 18px;
  line-height: 1.6;
  color: #ffffffbf;
  text-wrap: pretty;
}
.home-stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.home-stores a {
  display: block;
  border-radius: 10px;
  transition: opacity 0.2s;
}
.home-stores a:hover {
  opacity: 0.85;
}
.home-stores img {
  display: block;
  height: 50px;
  width: auto;
}
.home-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 28px 0 0;
  font-size: 15px;
}
.home-hero-links a {
  color: #ffffffd9;
  text-decoration: underline;
  text-decoration-color: #ffffff4d;
  text-decoration-thickness: 1px;
  transition:
    color 0.2s,
    text-decoration-color 0.2s;
}
.home-hero-links a:hover {
  color: #fff;
  text-decoration-color: var(--home-orange);
}
.home-video-toggle {
  position: absolute;
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 32px);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #ffffff33;
  border-radius: 50%;
  background: #0d0b0a66;
  color: #ffffffb3;
  font-size: 14px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.home-video-toggle:hover {
  border-color: #ffffff99;
  color: #fff;
}

/* Plot: the map sheet */
.home-plot {
  position: relative;
  padding: clamp(80px, 9vw, 120px) clamp(16px, 3vw, 48px) 0;
}
.home-sheet {
  max-width: 1168px;
  margin-inline: auto;
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid var(--home-line);
  border-radius: 20px;
  background: #fff;
}
.home-plot-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 18px 40px;
  margin-bottom: 20px;
}
.home-plot-head p {
  margin: 8px 0 0;
  max-width: 48ch;
  text-wrap: pretty;
  color: var(--home-muted);
  font-size: 17px;
  line-height: 1.55;
}
.home-tally {
  display: flex;
  align-items: center;
  gap: 14px;
}
.home-tally p {
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  white-space: nowrap;
}
.home-tally b {
  color: var(--home-ink);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.home-pips {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-pips li {
  width: 18px;
  height: 6px;
  border-radius: 3px;
  background: var(--home-line);
  transition: background-color 0.4s var(--home-ease), transform 0.4s var(--home-settle);
}
.home-pips li.is-on {
  background: var(--home-orange);
  transform: scaleY(1.35);
}
.home-clear {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  background: #fff;
  color: var(--home-ink);
  font: 500 13px/1 Ember Plex, sans-serif;
  cursor: pointer;
  transition: border-color 0.2s;
}
.home-clear:hover:not(:disabled) {
  border-color: var(--home-ink);
}
.home-clear:disabled {
  opacity: 0.45;
  cursor: default;
}

.home-map {
  position: relative;
  height: clamp(420px, 58vh, 600px);
  overflow: hidden;
  border-radius: 0 0 16px 16px;
  background: var(--home-map);
  touch-action: pan-y;
  cursor: crosshair;
  transition: box-shadow 0.25s;
}
.home-map.is-target {
  box-shadow: inset 0 0 0 3px var(--home-orange);
}
.home-map-base,
.home-map-ops {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
.home-perimeter {
  fill: url(#home-burn);
  stroke: #e0301e;
  stroke-width: 3;
  stroke-linejoin: round;
}
.home-control-line {
  fill: none;
  stroke: #1f2022;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 14 6;
}
.home-spot {
  fill: #ff7700;
  stroke: #fff;
  stroke-width: 2;
}
.home-track {
  fill: none;
  stroke: #ff7700;
  stroke-width: 2.5;
  stroke-dasharray: 3 7;
  stroke-linecap: round;
  opacity: 0.85;
}
.home-crew circle {
  fill: var(--home-orange);
  stroke: #fff;
  stroke-width: 3;
}
.home-crew > path {
  fill: #fff;
}
.home-crew-label rect {
  fill: var(--home-ink);
}
.home-crew-label text {
  fill: #fff;
  font: 600 12px Ember Plex, sans-serif;
  text-anchor: middle;
}
.home-map-wind,
.home-map-label,
.home-map-readout {
  position: absolute;
  margin: 0;
  pointer-events: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.home-map-wind {
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fffffff0;
  box-shadow: 0 4px 12px -6px #0d0b0a40;
}
.home-map-wind i {
  color: var(--home-orange);
  font-size: 15px;
}
.home-map-label {
  left: 16px;
  bottom: 14px;
  color: #5c5d62;
  font-weight: 500;
}
.home-map-readout {
  right: 16px;
  bottom: 12px;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--home-ink);
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.home-drop-hint {
  position: absolute;
  top: 16px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--home-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -12px);
  transition: opacity 0.2s, transform 0.3s var(--home-ease);
}
.home-drop-hint i {
  color: var(--home-orange);
}
.home-map.is-dragging .home-drop-hint {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Placed symbols and their fact tags */
.home-marker {
  position: absolute;
  z-index: 2;
  width: 0;
  height: 0;
}
.home-marker.is-open {
  z-index: 4;
}
.home-marker-button {
  position: absolute;
  left: -24px;
  top: -24px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  animation: home-drop 0.55s var(--home-settle) both;
}
.home-marker-button img {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 6px 6px #0d0b0a4d);
  pointer-events: none;
}
.home-marker::before {
  content: "";
  position: absolute;
  left: -34px;
  top: -34px;
  width: 68px;
  height: 68px;
  border: 2px solid var(--home-orange);
  border-radius: 50%;
  opacity: 0;
  animation: home-ring 0.9s 0.18s var(--home-ease);
  pointer-events: none;
}
.home-marker-badge {
  position: absolute;
  left: 14px;
  top: -30px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--home-orange);
  color: var(--home-ink);
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}
.home-tag {
  position: absolute;
  top: -30px;
  left: 36px;
  width: 250px;
  padding: 14px 16px 15px;
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 18px 36px -16px #0d0b0a66,
    0 1px 3px #0d0b0a1f;
  opacity: 0;
  transform: translateX(-8px) scale(0.96);
  transform-origin: left center;
  pointer-events: none;
  transition:
    opacity 0.25s var(--home-ease),
    transform 0.35s var(--home-ease);
}
.home-tag::before {
  content: "";
  position: absolute;
  top: 29px;
  left: -13px;
  width: 13px;
  height: 3px;
  border-radius: 2px;
  background: var(--home-orange);
}
.home-tag::after {
  content: "";
  position: absolute;
  top: 26px;
  left: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--home-orange);
  box-shadow: 0 0 0 2px #fff;
}
.home-marker.is-flip .home-tag::before {
  left: auto;
  right: -13px;
}
.home-marker.is-flip .home-tag::after {
  left: auto;
  right: -3px;
}
.home-marker.is-low .home-tag::before {
  top: auto;
  bottom: 29px;
}
.home-marker.is-low .home-tag::after {
  top: auto;
  bottom: 26px;
}
.home-marker.is-flip .home-tag {
  left: auto;
  right: 36px;
  transform: translateX(8px) scale(0.96);
  transform-origin: right center;
}
.home-marker.is-low .home-tag {
  top: auto;
  bottom: -30px;
}
.home-marker.is-open .home-tag {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.home-tag h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.home-tag-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff1e3;
  color: #ff7700;
  font-size: 17px;
  line-height: 1;
}
.home-tag p {
  margin: 8px 0 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* Finale */
.home-finale {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 22px;
  width: min(520px, calc(100% - 32px));
  padding: 24px 26px;
  border-radius: 16px;
  background: var(--home-night);
  color: #fff;
  box-shadow: 0 30px 60px -20px #0d0b0a99;
  transform: translateX(-50%);
  animation: home-finale 0.6s var(--home-ease) both;
}
.home-finale[hidden] {
  display: none;
}
.home-finale h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
}
.home-finale > p {
  margin: 6px 0 16px;
  color: #ffffffbf;
}
.home-stores-sm img {
  height: 44px;
}
.home-finale-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin: 16px 0 0;
  font-size: 15px;
  font-weight: 500;
}
.home-finale-links a {
  color: #fff;
  text-decoration-color: var(--home-orange);
}
.home-finale-links button {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  color: #ffffffa6;
  font: inherit;
  cursor: pointer;
}
.home-finale-links button:hover {
  color: #fff;
}

/* Dock: the moving symbol bar */
.home-dock {
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: var(--home-night);
  -webkit-mask-image: linear-gradient(90deg, #0000, #000 72px, #000 calc(100% - 72px), #0000);
  mask-image: linear-gradient(90deg, #0000, #000 72px, #000 calc(100% - 72px), #0000);
}
.home-dock-track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 16px 0;
  list-style: none;
  animation: home-dock 60s linear infinite;
}
.home-dock:hover .home-dock-track,
.home-dock:focus-within .home-dock-track,
.home-dock.is-paused .home-dock-track {
  animation-play-state: paused;
}
.home-dock li {
  padding: 0 7px;
}
.home-symbol {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 8px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  cursor: grab;
  touch-action: pan-x;
  transition:
    transform 0.3s var(--home-settle),
    box-shadow 0.3s;
}
.home-symbol img {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
}
@media (hover: hover) {
  .home-symbol:hover {
    transform: translateY(-4px) rotate(-6deg);
    box-shadow: 0 10px 18px -8px #ff770099;
  }
}
.home-symbol:active {
  cursor: grabbing;
}
.home-symbol.is-lifted {
  opacity: 0.3;
  transform: scale(0.9);
}
.home-ghost {
  position: fixed;
  z-index: 60;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  pointer-events: none;
  filter: drop-shadow(0 14px 12px #0d0b0a59);
  transform: scale(1.15) rotate(-6deg);
  transition: transform 0.2s var(--home-ease);
}
.home-dock-note {
  margin: 14px 2px 0;
  color: var(--home-muted);
  font-size: 14px;
}


/* Pocket to desk */
.home-places {
  padding: clamp(96px, 11vw, 144px) 0;
}
.home-places-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: 32px;
}
.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--home-ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--home-line);
  transition: text-decoration-color 0.2s;
}
.home-text-link:hover {
  text-decoration-color: var(--home-orange);
}
.home-text-link i {
  color: var(--home-orange-text);
  transition: transform 0.25s var(--home-ease);
}
.home-text-link:hover i {
  transform: translateX(3px);
}
.home-places-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 24px;
}
.home-place {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.home-place-media {
  flex: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: var(--home-sand);
}
.home-place-field img {
  display: block;
  width: min(80%, 380px);
  height: auto;
  padding-top: 28px;
}
.home-place-desk .home-place-media {
  padding: 28px;
}
.home-place-desk img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow:
    0 0 0 1px #0d0b0a14,
    0 16px 32px -20px #0d0b0a59;
}
.home-place figcaption {
  padding: 18px 2px 0;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.55;
}
.home-place figcaption b {
  display: block;
  margin-bottom: 2px;
  color: var(--home-ink);
  font-size: 17px;
  font-weight: 560;
}

/* Close */
.home-close {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(96px, 11vw, 144px) 0;
  background: var(--home-night);
  color: #fff;
  text-align: center;
}
.home-close-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.home-close-glow::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 120%;
  background: radial-gradient(50% 50% at 50% 50%, #ff770066, #ff770000 70%);
}
.home-close-contours {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1100px, 140vw);
  translate: -50% -50%;
  color: #ffffff14;
  stroke-width: 1;
  animation: home-drift 40s ease-in-out infinite alternate;
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent);
  mask-image: radial-gradient(closest-side, #000 40%, transparent);
}
.home-embers i {
  position: absolute;
  bottom: -10px;
  left: var(--x);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--home-orange-soft);
  box-shadow:
    0 0 6px 2px var(--home-orange),
    0 0 14px 4px #ff770055;
  opacity: 0;
  animation: home-ember var(--t) linear var(--d) infinite;
}
.home-embers i:nth-child(even) {
  width: 3px;
  height: 3px;
}
.home-close h2 {
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.035em;
}
.home-close-inner > p:first-of-type {
  margin: 14px 0 36px;
  color: #ffffffb3;
  font-size: 18px;
}
.home-close .home-stores {
  justify-content: center;
}
.home-close-links {
  margin: 28px 0 0;
  font-size: 15px;
}
.home-close-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffffd9;
  text-decoration: underline;
  text-decoration-color: #ffffff4d;
  transition:
    color 0.2s,
    text-decoration-color 0.2s;
}
.home-close-links a:hover {
  color: #fff;
  text-decoration-color: var(--home-orange);
}
.home-close-links i {
  color: var(--home-orange);
}

@keyframes home-fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
@keyframes home-dock {
  to {
    transform: translateX(-50%);
  }
}
@keyframes home-ring {
  from {
    opacity: 1;
    transform: scale(0.4);
  }
  to {
    opacity: 0;
    transform: scale(1.6);
  }
}
@keyframes home-drift {
  to {
    transform: rotate(8deg) scale(1.06);
  }
}
@keyframes home-ember {
  0% {
    opacity: 0;
    transform: none;
  }
  10% {
    opacity: 0.9;
  }
  50% {
    transform: translate(24px, -30vh) scale(0.8);
  }
  80% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translate(-12px, -60vh) scale(0.4);
  }
}
@keyframes home-drop {
  from {
    opacity: 0;
    transform: translateY(-28px) scale(1.5);
  }
}
@keyframes home-finale {
  from {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
}

@media (max-width: 900px) {
  .home-places-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .home-wrap {
    width: calc(100% - 32px);
  }
  .home-hero {
    min-height: 0;
    padding: 64px 0 80px;
  }
  .home-hero-scrim {
    background: linear-gradient(180deg, #0d0b0ab3 0%, #0d0b0ae6 100%);
  }
  .home-hero-lead {
    margin: 18px 0 28px;
    font-size: 17px;
  }
  .home-stores {
    gap: 10px;
  }
  .home-stores img {
    height: 44px;
  }
  .home-plot {
    padding: 64px 8px 0;
  }
  .home-sheet {
    padding: 20px 12px 16px;
    border-radius: 16px;
  }
  .home-plot-head {
    padding: 0 6px;
  }
  .home-plot-head p {
    font-size: 16px;
  }
  .home-tally {
    width: 100%;
    gap: 10px;
  }
  .home-pips li {
    width: 12px;
  }
  .home-clear {
    margin-left: auto;
    padding: 7px 10px;
  }
  .home-map {
    height: min(128vw, 520px);
    border-radius: 0 0 12px 12px;
  }
  .home-tag {
    width: min(200px, 52vw);
    padding: 11px 12px 12px;
  }
  .home-tag h3 {
    font-size: 14px;
  }
  .home-tag-icon {
    width: 24px;
    height: 24px;
    font-size: 15px;
  }
  .home-tag p {
    font-size: 13px;
  }
  .home-map-wind {
    top: 12px;
    right: 12px;
  }
  .home-map-label {
    left: 12px;
  }
  .home-map-readout {
    right: 12px;
  }
  .home-dock {
    border-radius: 12px 12px 0 0;
  }
  .home-symbol {
    width: 56px;
    height: 56px;
  }
  .home-dock-note {
    padding: 0 6px;
  }
  .home-finale {
    padding: 20px;
  }
  .home-finale-links button {
    margin-left: 0;
  }
  .home-places {
    padding: 80px 0;
  }
  .home-place-desk .home-place-media {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-embers {
    display: none;
  }
  .home-dock {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    animation: none !important;
    transition: none !important;
  }
}
