.fgd-project-inventory {
  background: linear-gradient(180deg, #f5fbfe 0%, #ffffff 100%);
  padding: clamp(58px, 6vw, 88px) 0 clamp(76px, 7vw, 104px);
}

.fgd-inventory-header {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: clamp(32px, 5vw, 76px);
  margin-bottom: 28px;
}

.fgd-inventory-header .tp-section-title-wrap {
  max-width: 780px;
}

.fgd-inventory-header .tp-section-sub-title {
  margin-bottom: 12px;
}

.fgd-inventory-header .tp-section-title {
  font-size: clamp(40px, 3.8vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.fgd-inventory-intro {
  max-width: 410px;
  margin-left: auto !important;
  color: #536079;
  font-size: 15px;
  line-height: 1.65;
}

.fgd-inventory-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(9, 20, 94, 0.11);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(9, 20, 94, 0.045);
}

.fgd-inventory-summary__item {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
}

.fgd-inventory-summary__item + .fgd-inventory-summary__item {
  border-left: 1px solid rgba(9, 20, 94, 0.11);
}

.fgd-inventory-summary dt {
  margin: 0;
  color: #65718a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.fgd-inventory-summary dd {
  margin: 0;
  color: #09145e;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.fgd-plan-card,
.fgd-location-card,
.fgd-location-experience,
.fgd-inventory-empty {
  overflow: hidden;
  border: 1px solid rgba(9, 20, 94, 0.1);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 16px 45px rgba(9, 20, 94, 0.06);
}

.fgd-plan-card {
  margin-top: 30px;
}

.fgd-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 26px;
  border-bottom: 1px solid rgba(9, 20, 94, 0.1);
}

.fgd-card-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: #237f9c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fgd-card-title {
  margin: 0;
  color: #09145e;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.2;
}

.fgd-plan-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.fgd-plan-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fgd-plan-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #34405b;
  font-size: 13px;
  font-weight: 700;
}

.fgd-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.fgd-status-dot--available {
  background: #168a4a;
}

.fgd-status-dot--hold {
  background: #d89208;
}

.fgd-status-dot--sold {
  background: #c73838;
}

.fgd-plan-view-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(9, 20, 94, 0.2);
  border-radius: 999px;
  background: #ffffff;
  color: #09145e;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.fgd-plan-view-toggle:hover,
.fgd-plan-view-toggle:focus-visible,
.fgd-plan-view-toggle[aria-pressed="true"] {
  border-color: #09145e;
  background: #09145e;
  color: #ffffff;
}

.fgd-plan-view-toggle:focus-visible {
  outline: 3px solid rgba(95, 207, 242, 0.75);
  outline-offset: 2px;
}

.fgd-plan-view-toggle[hidden] {
  display: none;
}

.fgd-plan-scroll {
  display: grid;
  overflow: hidden;
  padding: 18px;
  place-items: start center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    repeating-linear-gradient(45deg, #e7edf3 0 12px, #edf2f6 12px 24px);
  scrollbar-color: #5fcff2 #e0e7ee;
  scrollbar-width: thin;
}

.fgd-plan-scroll.is-detail-view {
  display: block;
  max-height: min(72vh, 720px);
  overflow: auto;
  padding: 0;
}

.fgd-plan-scroll:focus-visible {
  outline: 3px solid #5fcff2;
  outline-offset: -3px;
}

.fgd-plan-stage {
  position: relative;
  width: min(100%, var(--fgd-plan-fit-width, 100%));
  min-width: 0;
  line-height: 0;
}

.fgd-plan-scroll.is-detail-view .fgd-plan-stage {
  width: 100%;
  min-width: 760px;
}

.fgd-plan-stage > img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

.fgd-plot-marker {
  position: absolute;
  top: var(--plot-top);
  left: var(--plot-left);
  width: var(--plot-width);
  height: var(--plot-height);
  min-width: 5px;
  min-height: 5px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.88);
  color: #ffffff;
  cursor: pointer;
  line-height: 1;
  opacity: 0.72;
  transition: opacity 0.18s ease, filter 0.18s ease;
}

.fgd-plot-marker span {
  display: block;
  overflow: hidden;
  font-size: clamp(5px, 0.68vw, 9px);
  font-weight: 800;
  line-height: 1;
  text-overflow: clip;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}

.fgd-plot-marker--available {
  background: #168a4a;
}

.fgd-plot-marker--hold {
  background: #d89208;
}

.fgd-plot-marker--sold {
  background: #c73838;
}

.fgd-plot-marker:hover,
.fgd-plot-marker:focus-visible {
  z-index: 6;
  filter: brightness(1.18);
  opacity: 1;
  outline: 2px solid #ffffff;
  outline-offset: 1px;
}

.fgd-plot-marker.is-filtered-out {
  pointer-events: none;
  opacity: 0.08;
}

.fgd-plot-tooltip {
  position: absolute;
  z-index: 12;
  width: max-content;
  max-width: 240px;
  padding: 10px 13px;
  border-radius: 10px;
  background: #09145e;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 10px));
  box-shadow: 0 8px 22px rgba(9, 20, 94, 0.3);
}

.fgd-plot-tooltip strong {
  display: block;
  color: #5fcff2;
  font-size: 14px;
}

.fgd-plan-note {
  margin: 0;
  padding: 14px 26px;
  background: #f5fbfe;
  color: #5d6678;
  font-size: 13px;
  line-height: 1.55;
}

.fgd-location-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.4fr);
}

.fgd-location-copy {
  padding: 42px;
}

.fgd-location-copy p {
  margin: 18px 0 28px;
  color: #536079;
  line-height: 1.7;
}

.fgd-location-map {
  min-height: 430px;
  background: #e7edf3;
}

.fgd-location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.fgd-location-experience__intro {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  padding: 30px 36px;
  border-bottom: 1px solid rgba(9, 20, 94, 0.1);
}

.fgd-location-experience__intro > div {
  flex: 1 1 360px;
}

.fgd-location-experience__intro p {
  flex: 0 1 310px;
  margin: 0;
  color: #536079;
  line-height: 1.65;
}

.fgd-location-experience__intro .tp-btn {
  flex: 0 0 auto;
}

.fgd-location-experience__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fgd-location-experience__panel {
  min-width: 0;
  background: #ffffff;
}

.fgd-location-experience__panel + .fgd-location-experience__panel {
  border-left: 1px solid rgba(9, 20, 94, 0.1);
}

.fgd-location-experience__panel-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(9, 20, 94, 0.1);
}

.fgd-location-experience__icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #e8f8fe;
  color: #09145e;
}

.fgd-location-experience__panel-heading span:not(.fgd-location-experience__icon) {
  display: block;
  margin-bottom: 2px;
  color: #52627a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fgd-location-experience__panel-heading h4 {
  margin: 0;
  color: #09145e;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.25;
}

.fgd-location-experience__frame {
  height: 420px;
  background: #e7edf3;
}

.fgd-location-experience__frame--video {
  background: #061258;
}

.fgd-location-experience__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.fgd-inventory-empty {
  padding: 42px;
}

.fgd-inventory-empty h3 {
  color: #09145e;
}

.fgd-inventory-empty p {
  max-width: 700px;
  color: #536079;
}

@media (max-width: 991px) {
  .fgd-project-inventory {
    padding-top: 64px;
    padding-bottom: 82px;
  }

  .fgd-inventory-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .fgd-inventory-header .tp-section-title-wrap,
  .fgd-inventory-intro {
    max-width: 680px;
  }

  .fgd-inventory-intro {
    margin-left: 0 !important;
  }

  .fgd-card-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .fgd-plan-actions {
    width: 100%;
    justify-content: space-between;
  }

  .fgd-location-card {
    grid-template-columns: 1fr;
  }

  .fgd-location-experience__intro {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .fgd-location-experience__grid {
    grid-template-columns: 1fr;
  }

  .fgd-location-experience__panel + .fgd-location-experience__panel {
    border-top: 1px solid rgba(9, 20, 94, 0.1);
    border-left: 0;
  }
}

@media (max-width: 575px) {
  .fgd-project-inventory {
    padding-top: 52px;
    padding-bottom: 66px;
  }

  .fgd-inventory-header {
    margin-bottom: 22px;
  }

  .fgd-inventory-header .tp-section-title {
    font-size: clamp(33px, 9.5vw, 40px);
    line-height: 1.08;
  }

  .fgd-inventory-summary__item {
    min-height: 70px;
    flex-direction: column;
    gap: 4px;
    padding: 10px 6px;
  }

  .fgd-inventory-summary dd {
    font-size: 24px;
  }

  .fgd-plan-card {
    margin-top: 22px;
  }

  .fgd-card-heading,
  .fgd-location-copy,
  .fgd-location-experience__intro,
  .fgd-inventory-empty {
    padding: 24px 20px;
  }

  .fgd-plan-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .fgd-plan-view-toggle {
    width: 100%;
  }

  .fgd-plan-scroll {
    padding: 12px;
  }

  .fgd-plan-scroll.is-detail-view {
    padding: 0;
  }

  .fgd-plan-scroll.is-detail-view .fgd-plan-stage {
    min-width: 680px;
  }

  .fgd-location-experience__panel-heading {
    padding: 14px 20px;
  }

  .fgd-location-experience__frame {
    height: 330px;
  }

  .fgd-plan-note {
    padding: 14px 20px;
  }
}
