.market-pulse-page {
  background: #f4f1e9;
}

.market-pulse-hero {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 84% 20%, rgba(157, 182, 124, 0.14), transparent 34%),
    #0e1a2b;
  color: #fff;
  padding: clamp(72px, 8vw, 118px) 0 clamp(92px, 10vw, 142px);
}

.market-pulse-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.65fr);
  gap: clamp(48px, 8vw, 116px);
  align-items: end;
}

.market-pulse-hero h1 {
  max-width: 880px;
}

.market-pulse-hero__copy > p:first-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.72;
}

.market-pulse-hero__review {
  margin: 28px 0 0;
  color: #b8cf9a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-pulse-main {
  padding: 0 0 clamp(96px, 10vw, 150px);
}

.market-pulse-current {
  position: relative;
  z-index: 2;
  margin-top: -54px;
  overflow: hidden;
  border: 1px solid rgba(14, 26, 43, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(14, 26, 43, 0.1);
}

.market-pulse-current__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 42px;
  align-items: end;
  padding: clamp(34px, 5vw, 62px);
}

.market-pulse-current__heading h2,
.market-pulse-copy h2 {
  margin: 0;
  font-family: "Inter Tight", "Inter", Arial, sans-serif;
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 520;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.market-pulse-current__heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.market-pulse-reference {
  border-top: 1px solid var(--line);
  background: #f8f7f2;
}

.market-pulse-reference__status {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 0 clamp(24px, 4vw, 62px);
  color: #5c793f;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-pulse-reference__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #87a768;
  box-shadow: 0 0 0 5px rgba(135, 167, 104, 0.12);
}

.market-pulse-reference__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.market-reference-card {
  min-width: 0;
  border-right: 1px solid var(--line);
  padding: 28px clamp(18px, 2.5vw, 32px) 30px;
}

.market-reference-card:last-child {
  border-right: 0;
}

.market-reference-card__identity {
  min-height: 48px;
}

.market-reference-card__identity small,
.market-reference-card__basis {
  display: block;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.075em;
  line-height: 1.45;
  text-transform: uppercase;
}

.market-reference-card h3 {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 620;
  letter-spacing: -0.025em;
}

.market-reference-card__value {
  min-height: 64px;
  margin: 24px 0 8px;
  font-family: "Inter Tight", "Inter", Arial, sans-serif;
  font-size: clamp(27px, 2.7vw, 38px);
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 1;
}

.market-reference-card__value span {
  display: block;
  margin: 7px 0 0;
  color: var(--muted);
  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.market-reference-card__change {
  margin: 0 0 22px;
  color: #355326;
  font-size: 12px;
  font-weight: 720;
}

.market-reference-card__change.is-down {
  color: #a04a3e;
}

.market-reference-card__change.is-flat {
  color: var(--muted);
}

.market-reference-card__basis {
  min-height: 43px;
  margin-top: auto;
  letter-spacing: 0.015em;
  text-transform: none;
}

.market-pulse-reference__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 18px clamp(24px, 4vw, 62px);
}

.market-pulse-reference__footer p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.market-pulse-reference__footer a,
.market-pulse-copy a {
  color: #4f6e36;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(79, 110, 54, 0.35);
  text-underline-offset: 4px;
}

.market-pulse-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(52px, 9vw, 132px);
  align-items: start;
  margin-top: clamp(94px, 11vw, 150px);
}

.market-pulse-summary {
  position: sticky;
  top: 32px;
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}

.market-pulse-summary dl {
  margin: 0;
}

.market-pulse-summary dl div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.market-pulse-summary dt {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-pulse-summary dd {
  margin: 0;
  font-size: 14px;
  font-weight: 640;
}

.market-pulse-copy > section {
  padding: 0 0 clamp(70px, 8vw, 104px);
}

.market-pulse-copy > section + section {
  border-top: 1px solid var(--line);
  padding-top: clamp(70px, 8vw, 104px);
}

.market-pulse-copy h2 {
  max-width: 760px;
}

.market-pulse-copy > section > p:not(.eyebrow) {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.74;
}

.market-pulse-copy strong {
  color: var(--ink);
}

.market-pulse-definitions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
}

.market-pulse-definitions article {
  background: #fff;
  padding: 26px;
}

.market-pulse-definitions article:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.market-pulse-definitions h3 {
  margin: 0 0 9px;
  font-size: 16px;
}

.market-pulse-definitions p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.market-pulse-commercial-note {
  border-top-color: var(--ink) !important;
}

.market-pulse-commercial-note .button {
  margin-top: 30px;
  text-decoration: none;
}

.market-pulse-reference.is-unavailable .market-pulse-reference__dot {
  background: #8a929c;
  box-shadow: 0 0 0 5px rgba(98, 110, 125, 0.11);
}

.market-pulse-reference.is-unavailable .market-pulse-reference__status {
  color: var(--muted);
}

@media (max-width: 900px) {
  .market-pulse-hero__grid,
  .market-pulse-current__heading,
  .market-pulse-layout {
    grid-template-columns: 1fr;
  }

  .market-pulse-hero__copy {
    max-width: 680px;
  }

  .market-pulse-summary {
    position: static;
  }

  .market-pulse-summary dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-pulse-summary dl div:nth-child(odd) {
    border-right: 1px solid var(--line);
    padding-right: 20px;
  }

  .market-pulse-summary dl div:nth-child(even) {
    padding-left: 20px;
  }

  .market-pulse-reference__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .market-reference-card {
    min-width: min(76vw, 300px);
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) {
  .market-pulse-hero {
    padding-top: 58px;
  }

  .market-pulse-current {
    margin-top: -36px;
    border-radius: 20px;
  }

  .market-pulse-current__heading {
    gap: 24px;
    padding: 32px 24px;
  }

  .market-pulse-reference__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .market-pulse-layout {
    margin-top: 82px;
  }

  .market-pulse-summary dl,
  .market-pulse-definitions {
    grid-template-columns: 1fr;
  }

  .market-pulse-summary dl div:nth-child(odd) {
    border-right: 0;
    padding-right: 0;
  }

  .market-pulse-summary dl div:nth-child(even) {
    padding-left: 0;
  }

  .market-pulse-definitions article:last-child:nth-child(odd) {
    grid-column: auto;
  }
}

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