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

.fcm-v1 {
  --fcm-black: #000000;
  --fcm-ink: #161514;
  --fcm-paper: #f6f4f0;
  --fcm-paper-soft: #ebe9e5;
  --fcm-clay: #d99b84;
  --fcm-blue: #b2d3df;
  --fcm-blue-deep: #6fa8b7;
  --fcm-muted: rgba(246, 244, 240, 0.68);
  --fcm-muted-soft: rgba(246, 244, 240, 0.45);
  --fcm-line: rgba(246, 244, 240, 0.16);
  --fcm-line-strong: rgba(246, 244, 240, 0.28);

  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  color: var(--fcm-paper);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.fcm-v1::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(217, 155, 132, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 94%);
  opacity: 0.85;
}

.fcm-v1 button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  font: inherit;
}

.fcm-v1 button,
.fcm-v1 button:focus,
.fcm-v1 button:active {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

.fcm-v1 button:focus-visible {
  outline: 1px solid var(--fcm-blue) !important;
  outline-offset: 5px;
}

.fcm-v1__inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1420px);
  margin: 0 auto;
  padding: clamp(76px, 8vw, 130px) clamp(18px, 5vw, 72px);
}

/* HEADER */

.fcm-v1__head {
  width: min(100%, 760px);
  margin: 0 auto clamp(42px, 5vw, 74px);
  text-align: center;
}

.fcm-v1__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--fcm-clay);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fcm-v1__head h2 {
  margin: 0;
  color: var(--fcm-paper);
  font-size: clamp(42px, 5.2vw, 80px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.fcm-v1__head p {
  max-width: 58ch;
  margin: 18px auto 0;
  color: var(--fcm-muted);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.55;
}

/* LAYOUT */

.fcm-v1__layout {
  display: grid;
  grid-template-columns: minmax(145px, 210px) minmax(0, 1fr) minmax(300px, 390px);
  gap: clamp(18px, 3vw, 42px);
  align-items: stretch;
}

/* LEFT NAV */

.fcm-v1__nav {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: clamp(28px, 5vw, 54px);
}

.fcm-v1__mode,
.fcm-v1__cities {
  display: grid;
}

.fcm-v1__mode {
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--fcm-line);
}

.fcm-v1__cities {
  gap: 10px;
}

.fcm-v1__nav button {
  width: fit-content;
  padding: 0;
  background: transparent;
  color: rgba(246, 244, 240, 0.34);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.05;
  text-align: left;
  cursor: pointer;
  transition:
    color 0.22s ease,
    transform 0.22s ease;
}

.fcm-v1__mode button {
  font-size: clamp(28px, 2.5vw, 42px);
  letter-spacing: -0.045em;
}

.fcm-v1__cities button {
  font-size: clamp(18px, 1.25vw, 23px);
  letter-spacing: -0.035em;
}

.fcm-v1__nav button:hover {
  color: rgba(246, 244, 240, 0.78);
}

.fcm-v1__nav button.is-active {
  color: var(--fcm-paper);
  transform: translateX(7px);
}

/* MAP */

.fcm-v1__main {
  position: relative;
  min-width: 0;
  display: grid;
}

.fcm-v1__map-panel,
.fcm-v1__list-panel {
  min-width: 0;
  min-height: clamp(520px, 58vw, 720px);
  display: grid;
  place-items: center;
}

.fcm-v1__map-panel[hidden],
.fcm-v1__list-panel[hidden] {
  display: none;
}

.fcm-v1__map-frame {
  position: relative;
  width: min(100%, 820px);
  aspect-ratio: 1 / 1;
  isolation: isolate;
}

.fcm-v1__map-frame::before {
  content: "";
  position: absolute;
  inset: 7% 4%;
  z-index: 0;
  background: rgba(246, 244, 240, 0.035);
  border: 1px solid rgba(246, 244, 240, 0.08);
}

.fcm-v1__map-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  opacity: 0.9;
  filter:
    contrast(1.02)
    brightness(1.03)
    drop-shadow(0 34px 60px rgba(0, 0, 0, 0.42));
  pointer-events: none;
  user-select: none;
}

.fcm-v1__pins {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.fcm-v1__pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.fcm-v1__pin-dot {
  position: absolute;
  inset: 5px;
  z-index: 2;
  border-radius: inherit;
  background: var(--fcm-blue);
  box-shadow:
    0 0 0 3px rgba(178, 211, 223, 0.24),
    0 0 18px rgba(178, 211, 223, 0.62);
}

.fcm-v1__pin::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(178, 211, 223, 0.62);
  border-radius: inherit;
  animation: fcmPinPulse 2.8s ease-out infinite;
}

.fcm-v1__pin.is-active .fcm-v1__pin-dot {
  background: var(--fcm-clay);
  box-shadow:
    0 0 0 4px rgba(217, 155, 132, 0.22),
    0 0 22px rgba(217, 155, 132, 0.76);
}

@keyframes fcmPinPulse {
  to {
    transform: scale(3);
    opacity: 0;
  }
}

.fcm-v1__pin-label {
  position: absolute;
  left: 50%;
  bottom: 27px;
  z-index: 5;
  min-width: max-content;
  padding: 5px 8px;
  background: var(--fcm-paper);
  color: var(--fcm-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  opacity: 0;
  transform: translateX(-50%) translateY(4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  pointer-events: none;
}

.fcm-v1__pin:hover .fcm-v1__pin-label,
.fcm-v1__pin.is-active .fcm-v1__pin-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* LIST */

.fcm-v1__list {
  width: min(100%, 820px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-left: 1px solid var(--fcm-line);
  border-top: 1px solid var(--fcm-line);
}

.fcm-v1__list-item {
  min-height: 138px;
  padding: 18px;
  border-right: 1px solid var(--fcm-line);
  border-bottom: 1px solid var(--fcm-line);
  background: rgba(246, 244, 240, 0.035);
  color: var(--fcm-paper);
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.fcm-v1__list-item:hover,
.fcm-v1__list-item.is-active {
  background: rgba(246, 244, 240, 0.09);
}

.fcm-v1__list-index {
  display: block;
  margin-bottom: 12px;
  color: var(--fcm-clay);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fcm-v1__list-title {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.fcm-v1__list-city {
  color: var(--fcm-muted);
  font-size: 13px;
}

/* CARD */

.fcm-v1__card-col {
  min-width: 0;
  display: grid;
  align-items: center;
}

.fcm-v1__card {
  position: relative;
  width: 100%;
  min-height: clamp(560px, 70vh, 720px);
  overflow: hidden;
  color: var(--fcm-paper);
  background: #050505;
  border: 1px solid rgba(246, 244, 240, 0.14);
  border-radius: 16px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.46);
}

.fcm-v1__card-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  background: #000;
  cursor: zoom-in;
}

.fcm-v1__card-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

.fcm-v1__card:hover .fcm-v1__card-visual img {
  transform: scale(1.045);
}

.fcm-v1__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.22) 42%, rgba(0, 0, 0, 0.86) 100%);
}

.fcm-v1__card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: clamp(20px, 2.4vw, 28px);
  background: rgba(0, 0, 0, 0.46);
  border-top: 1px solid rgba(246, 244, 240, 0.14);
}

.fcm-v1__card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  color: rgba(246, 244, 240, 0.7);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fcm-v1__card h3 {
  margin: 0 0 18px;
  color: var(--fcm-paper);
  font-size: clamp(34px, 3.2vw, 56px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.fcm-v1__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
  border-top: 1px solid rgba(246, 244, 240, 0.16);
  border-left: 1px solid rgba(246, 244, 240, 0.16);
}

.fcm-v1__meta div {
  min-height: 66px;
  padding: 10px;
  border-right: 1px solid rgba(246, 244, 240, 0.16);
  border-bottom: 1px solid rgba(246, 244, 240, 0.16);
}

.fcm-v1__meta small {
  display: block;
  margin-bottom: 7px;
  color: rgba(246, 244, 240, 0.5);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fcm-v1__meta strong {
  display: block;
  color: var(--fcm-paper);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.fcm-v1__card p {
  margin: 0;
  color: rgba(246, 244, 240, 0.76);
  font-size: 14px;
  line-height: 1.58;
}

/* LIGHTBOX */

.fcm-v1__lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 52px);
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.fcm-v1__lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.fcm-v1__lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 244, 240, 0.28);
  border-radius: 999px;
  color: var(--fcm-paper);
  background: rgba(0, 0, 0, 0.3);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.fcm-v1__lightbox-figure {
  width: min(100%, 1100px);
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.fcm-v1__lightbox-figure img {
  display: block;
  max-width: 92vw;
  max-height: 84vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.fcm-v1__lightbox-figure figcaption {
  color: rgba(246, 244, 240, 0.72);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* RESPONSIVE */

@media (max-width: 1240px) {
  .fcm-v1__layout {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .fcm-v1__card-col {
    grid-column: 2;
    width: min(100%, 520px);
    justify-self: center;
  }
}

@media (max-width: 860px) {
  .fcm-v1__inner {
    padding: 70px 18px;
  }

  .fcm-v1__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .fcm-v1__nav {
    align-content: start;
    gap: 18px;
  }

  .fcm-v1__mode,
  .fcm-v1__cities {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .fcm-v1__mode {
    border-bottom: 1px solid var(--fcm-line);
  }

  .fcm-v1__mode button {
    flex: 0 0 auto;
    font-size: 34px;
  }

  .fcm-v1__cities button {
    flex: 0 0 auto;
    font-size: 20px;
  }

  .fcm-v1__map-panel,
  .fcm-v1__list-panel {
    min-height: 440px;
  }

  .fcm-v1__map-frame {
    width: 112%;
  }

  .fcm-v1__card-col {
    grid-column: auto;
    width: 100%;
  }

  .fcm-v1__list {
    grid-template-columns: 1fr;
  }

  .fcm-v1__card {
    min-height: 560px;
  }
}

@media (max-width: 520px) {
  .fcm-v1__head h2 {
    font-size: 46px;
  }

  .fcm-v1__head p {
    font-size: 14px;
  }

  .fcm-v1__map-panel,
  .fcm-v1__list-panel {
    min-height: 390px;
  }

  .fcm-v1__map-frame {
    width: 125%;
  }

  .fcm-v1__card {
    min-height: 520px;
  }

  .fcm-v1__meta {
    grid-template-columns: 1fr;
  }

  .fcm-v1__lightbox-figure img {
    max-width: 94vw;
    max-height: 78vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fcm-v1 *,
  .fcm-v1 *::before,
  .fcm-v1 *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}