@font-face {
  font-family: "Position Sans";
  src: url("/assets/geist-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Position Mono";
  src: url("/assets/geist-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* The live “What this means for owners” label is 11px on desktop and mobile. */
  --font-size-min: 11px;
}

html { scroll-behavior: smooth; }
body { font-family: "Position Sans", Arial, sans-serif; }
button, select { font: inherit; }

.waterfront-brand {
  flex: 0 1 auto;
  max-width: min(235px, 23vw);
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) saturate(100%) opacity(0.92);
}

.brand.inverse .brand-logo { filter: none; }

.step-label.third { margin-top: 42px; }

.market-control.aggregate-selected select {
  border-color: color-mix(in srgb, var(--green) 70%, transparent);
  background-color: #e8ede4;
  box-shadow: inset 3px 0 0 var(--green);
  font-weight: 650;
}

.aggregate-market-badge {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 9px;
  padding: 6px 8px;
  color: var(--green);
  background: #e1e8dd;
  font-family: "Position Mono", monospace;
  font-size: var(--font-size-min);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.aggregate-market-badge[hidden] { display: none; }

.submarket-control.aggregate-selected select {
  border-color: color-mix(in srgb, var(--green) 60%, transparent);
  background-color: #edf0e8;
  box-shadow: inset 3px 0 0 #6f8978;
  font-weight: 650;
}

.submarket-aggregate-badge {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 9px;
  padding: 6px 8px;
  color: #456554;
  background: #e4e9df;
  font-family: "Position Mono", monospace;
  font-size: var(--font-size-min);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.submarket-aggregate-badge[hidden] { display: none; }

.analysis-scope {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.analysis-scope[hidden] { display: none; }

.analysis-scope legend {
  margin-bottom: 8px;
  color: #748078;
  font-family: "Position Mono", monospace;
  font-size: var(--font-size-min);
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.scope-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  background: #f5f3ec;
}

.explorer-controls .scope-option {
  position: relative;
  display: block;
  color: var(--ink);
  cursor: pointer;
  text-align: center;
}

.scope-option + .scope-option { border-left: 1px solid var(--line); }

.scope-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.scope-option span {
  display: block;
  padding: 10px 8px;
  font-family: "Position Mono", monospace;
  font-size: var(--font-size-min);
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .16s ease, background-color .16s ease;
}

.scope-option input:checked + span {
  color: #fff;
  background: var(--green);
}

.scope-option input:focus-visible + span {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.market-link-image {
  color: inherit;
  text-decoration: none;
}

.market-card h3 a {
  color: inherit;
  text-decoration: none;
}

.market-card h3 a:hover,
.market-card h3 a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.card-footer > a {
  color: inherit;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  min-height: calc(100svh - 84px);
  padding-bottom: 74px;
}

.hero-visual {
  min-height: 670px;
  overflow: hidden;
}

.hero-visual > img {
  width: calc(100% + 5vw);
  height: 100%;
  min-height: 670px;
  object-position: 50% 58%;
}

.hero-visual::after {
  inset: 0 -5vw 0 0;
  width: auto;
  height: auto;
  background:
    linear-gradient(180deg, rgba(10, 28, 24, 0.02) 34%, rgba(8, 25, 21, 0.2) 62%, rgba(8, 24, 20, 0.84) 100%),
    linear-gradient(90deg, rgba(11, 31, 26, 0.08), transparent 45%);
}

.art-stamp { z-index: 2; }

.hero-market-strip {
  position: absolute;
  z-index: 3;
  right: 30px;
  bottom: 28px;
  left: 30px;
  color: #fff;
  text-shadow: 0 1px 18px rgba(5, 19, 16, 0.36);
}

.strip-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.58);
}

.strip-heading > div > span,
.strip-metrics span,
.strip-metrics small,
.strip-updated,
.strip-detail-link {
  display: block;
  font-family: "Position Mono", monospace;
  font-size: var(--font-size-min);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.strip-heading > div > span {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.74);
}

.strip-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 2.25vw, 36px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.strip-updated {
  display: flex;
  flex: none;
  align-items: center;
  gap: 7px;
  padding-bottom: 3px;
  color: rgba(255, 255, 255, 0.78);
}

.strip-updated i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c8d5c3;
  box-shadow: 0 0 0 4px rgba(200, 213, 195, 0.14);
}

.strip-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 19px 0 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
}

.strip-metrics > div {
  min-width: 0;
  padding: 0 17px;
  border-left: 1px solid rgba(255, 255, 255, 0.31);
}

.strip-metrics > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.strip-metrics > div:last-child { padding-right: 0; }
.strip-metrics span { color: rgba(255, 255, 255, 0.71); }

.strip-metrics strong {
  display: block;
  margin: 5px 0 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.45vw, 39px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.strip-metrics small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.67);
  font-size: var(--font-size-min);
  letter-spacing: 0.07em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.strip-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.strip-detail-link span { transition: transform 160ms ease; }
.strip-detail-link:hover,
.strip-detail-link:focus-visible { color: #fff; }
.strip-detail-link:hover span,
.strip-detail-link:focus-visible span { transform: translateY(3px); }

.explorer-tabs button,
.metric-options button,
.save-button { cursor: pointer; }

.metric-options button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
}

.metric-options button span { grid-column: 1; }
.metric-options button i { grid-column: 2; grid-row: 1 / span 2; }
.metric-options button small {
  grid-column: 1;
  color: #707b74;
  font-size: var(--font-size-min);
  font-weight: 400;
  line-height: 1.35;
  text-transform: none;
}

.save-button.saved {
  background: var(--green);
  color: #fff;
}

.market-sample-note {
  margin: 14px 0 0;
  color: #667168;
  font-family: "Position Mono", monospace;
  font-size: var(--font-size-min);
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.owner-market-read {
  display: grid;
  grid-template-columns: minmax(170px, .34fr) minmax(0, 1fr);
  gap: 20px;
  margin: 24px 0 0;
  padding: 18px 0;
  border-top: 1px solid rgba(23, 34, 29, 0.28);
  border-bottom: 1px solid rgba(23, 34, 29, 0.18);
}

.owner-market-read strong {
  color: #3f7659;
  font-family: "Position Mono", monospace;
  font-size: var(--font-size-min);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.owner-market-read span {
  color: #3f4d46;
  font-size: 14px;
  line-height: 1.55;
}

.peer-benchmark[hidden] { display: none; }

.peer-benchmark {
  margin-top: 24px;
  border-top: 1px solid rgba(23, 34, 29, 0.34);
  border-bottom: 1px solid rgba(23, 34, 29, 0.24);
  background: rgba(204, 212, 196, 0.28);
}

.peer-benchmark > summary {
  cursor: pointer;
  padding: 15px 16px;
  color: #3f7659;
  font-family: "Position Mono", monospace;
  font-size: var(--font-size-min);
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.peer-benchmark-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(23, 34, 29, 0.18);
}

.peer-benchmark-head span,
.peer-benchmark-head small,
.peer-benchmark-grid span,
.peer-benchmark-grid small {
  font-family: "Position Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.peer-benchmark-head span {
  color: #3f7659;
  font-size: var(--font-size-min);
  font-weight: 750;
}

.peer-benchmark-head strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 400;
}

.peer-benchmark-head small {
  color: #657269;
  font-size: var(--font-size-min);
  text-align: right;
}

.peer-benchmark-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.peer-benchmark-grid > div {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid rgba(23, 34, 29, 0.18);
}

.peer-benchmark-grid > div:last-child { border-right: 0; }

.peer-benchmark-grid span,
.peer-benchmark-grid small { display: block; }

.peer-benchmark-grid span {
  color: #68756d;
  font-size: var(--font-size-min);
  font-weight: 700;
}

.peer-benchmark-grid strong {
  display: block;
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1;
}

.peer-benchmark-grid small {
  margin-top: 7px;
  color: #68756d;
  font-size: var(--font-size-min);
  line-height: 1.45;
}

.peer-benchmark.limited .peer-benchmark-grid strong {
  color: #69736d;
  font-family: "Position Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
}

.large-chart.yoy-chart {
  position: relative;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(5px, 0.85vw, 13px);
  margin-top: 28px;
  padding: 0 0 24px;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 54px,
    rgba(23, 34, 29, 0.08) 55px
  );
}

.large-chart.yoy-chart::before {
  position: absolute;
  z-index: 0;
  top: calc(50% - 12px);
  right: 0;
  left: 0;
  border-top: 1px solid rgba(23, 34, 29, 0.42);
  content: "";
}

.yoy-column {
  position: relative;
  z-index: 1;
  min-width: 0;
  height: 100%;
}

.yoy-column .yoy-bar {
  position: absolute;
  right: 18%;
  left: 18%;
  height: var(--bar-height);
  min-height: 5px;
  transition: filter 160ms ease, opacity 160ms ease;
}

.yoy-column.positive .yoy-bar {
  bottom: calc(50% + 12px);
  background: #728f7d;
}

.yoy-column.negative .yoy-bar {
  top: calc(50% - 12px);
  background: #c86f50;
}

.yoy-column.current.positive .yoy-bar { background: #3f7659; }
.yoy-column:hover .yoy-bar { filter: saturate(1.18); }
.yoy-column.missing .yoy-bar { display: none; }
.yoy-column.missing > strong { color: #98a09b; }

.yoy-column > strong {
  position: absolute;
  left: 50%;
  color: #53665b;
  font-family: "Position Mono", monospace;
  font-size: var(--font-size-min);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.yoy-column.positive > strong {
  bottom: calc(50% + 18px + var(--bar-height));
}

.yoy-column.negative > strong {
  top: calc(50% - 5px + var(--bar-height));
  color: #9b5138;
}

.yoy-column > small {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  color: #89928d;
  font-family: "Position Mono", monospace;
  font-size: var(--font-size-min);
  text-align: center;
  white-space: nowrap;
}

.large-chart.trend-chart {
  position: relative;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(5px, 0.8vw, 12px);
  margin-top: 28px;
  padding: 0 0 24px;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 54px,
    rgba(23, 34, 29, 0.08) 55px
  );
}

.large-chart.current-bar-chart {
  position: relative;
  display: grid;
  grid-template-columns: minmax(130px, 190px) minmax(170px, 1fr);
  align-items: end;
  gap: clamp(34px, 6vw, 86px);
  margin-top: 28px;
  padding: 25px 8% 24px;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 54px,
    rgba(23, 34, 29, 0.08) 55px
  );
}

.current-bar-column {
  position: relative;
  height: 100%;
}

.current-bar {
  position: absolute;
  right: 24%;
  bottom: 24px;
  left: 24%;
  height: var(--bar-height);
  min-height: 8px;
  background: #3f7659;
}

.current-bar-column > strong {
  position: absolute;
  bottom: calc(32px + var(--bar-height));
  left: 50%;
  color: #53665b;
  font-family: "Position Mono", monospace;
  font-size: 13px;
  transform: translateX(-50%);
}

.current-bar-column > small {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  color: #89928d;
  font-family: "Position Mono", monospace;
  font-size: var(--font-size-min);
  text-align: center;
  text-transform: uppercase;
}

.current-bar-detail {
  align-self: center;
  margin: 0;
  color: #68746d;
}

.current-bar-detail strong,
.current-bar-detail span { display: block; }

.current-bar-detail strong {
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 400;
  line-height: 1;
}

.current-bar-detail span {
  margin-top: 9px;
  font-family: "Position Mono", monospace;
  font-size: var(--font-size-min);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trend-column {
  position: relative;
  min-width: 0;
  height: 100%;
}

.trend-column .trend-bar {
  position: absolute;
  right: 18%;
  bottom: 24px;
  left: 18%;
  height: var(--bar-height);
  min-height: 5px;
  background: #819789;
}

.trend-column.current .trend-bar { background: #3f7659; }
.trend-column.missing .trend-bar { display: none; }

.trend-column > strong {
  position: absolute;
  bottom: calc(30px + var(--bar-height));
  left: 50%;
  color: #53665b;
  font-family: "Position Mono", monospace;
  font-size: var(--font-size-min);
  font-weight: 700;
  white-space: nowrap;
  transform: translateX(-50%);
}

.trend-column.missing > strong { color: #98a09b; }

.trend-column > small {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  color: #89928d;
  font-family: "Position Mono", monospace;
  font-size: var(--font-size-min);
  text-align: center;
  white-space: nowrap;
}

.large-chart.snapshot-chart {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 14px;
  height: auto;
  min-height: 220px;
  margin-top: 28px;
  padding: 30px 0;
  background: none;
}

.snapshot-metric {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  background: #f1f0e8;
}

.snapshot-metric span {
  color: #6d7871;
  font-family: "Position Mono", monospace;
  font-size: var(--font-size-min);
  font-weight: 650;
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-transform: uppercase;
}

.snapshot-metric strong {
  margin-top: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.large-chart.empty-chart {
  display: grid;
  place-items: center;
  height: 220px;
  margin-top: 28px;
  padding: 30px;
  background: none;
}

.empty-chart p {
  max-width: 440px;
  margin: 0;
  color: #68736b;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.compare-row strong.unavailable {
  color: rgba(23, 34, 29, 0.54);
  font-family: "Position Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.compare-row {
  grid-template-columns: minmax(220px, 1.45fr) repeat(4, minmax(105px, 1fr));
}

.compare-row.active-metric {
  box-shadow: inset 3px 0 0 #3f7659;
  background: rgba(255, 255, 255, 0.2);
}

.compare-row.active-metric > span { padding-left: 14px; }

.aggregate-ranking[hidden],
.compare-table[hidden] { display: none; }

.aggregate-ranking {
  margin-top: 60px;
  border-top: 1px solid rgba(23, 34, 29, 0.36);
}

.large-chart[hidden],
.compare-section[hidden],
.aggregate-primary-source-note[hidden] { display: none; }

.data-canvas.aggregate-primary {
  display: block;
  padding-bottom: 36px;
}

.data-canvas.aggregate-primary .headline-metric {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: end;
  gap: 18px;
  margin-top: 22px;
}

.data-canvas.aggregate-primary .headline-metric strong {
  font-size: clamp(34px, 4vw, 54px);
  line-height: .9;
}

.data-canvas.aggregate-primary .market-sample-note {
  margin: 10px 0 0;
}

.data-canvas.aggregate-primary .aggregate-ranking {
  margin-top: 24px;
}

.aggregate-primary-source-note {
  margin: 18px 0 0;
  color: #536159;
  font-size: var(--font-size-min);
  line-height: 1.6;
}

.data-canvas.aggregate-primary .confidence-strip {
  margin-top: 30px;
}

.aggregate-ranking-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, auto);
  gap: 34px;
  align-items: end;
  padding: 28px 0 24px;
  border-bottom: 1px solid rgba(23, 34, 29, 0.24);
}

.aggregate-ranking-kicker,
.aggregate-ranking-count,
.aggregate-ranking-sort,
.aggregate-metric-select {
  font-family: "Position Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.aggregate-ranking-kicker {
  color: #5b6b61;
  font-size: var(--font-size-min);
  font-weight: 700;
}

.aggregate-ranking-title {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.aggregate-ranking-definition {
  max-width: 820px;
  margin: 11px 0 0;
  color: #536159;
  font-size: 11px;
  line-height: 1.55;
}

.aggregate-ranking-controls {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(125px, .65fr);
  gap: 12px;
  align-items: end;
}

.aggregate-ranking-sort,
.aggregate-metric-select {
  color: #536159;
  font-size: var(--font-size-min);
  font-weight: 700;
}

.aggregate-ranking-sort select,
.aggregate-metric-select select {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  padding: 10px 32px 10px 11px;
  border: 1px solid rgba(23, 34, 29, 0.38);
  border-radius: 0;
  color: var(--ink);
  background: #dce3da;
  font-family: "Position Mono", monospace;
  font-size: var(--font-size-min);
}

.aggregate-ranking-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.aggregate-ranking-table th,
.aggregate-ranking-table td {
  padding: 16px 14px;
  border-bottom: 1px solid rgba(23, 34, 29, 0.2);
  text-align: left;
}

.aggregate-ranking-table thead th {
  color: #59675e;
  font-family: "Position Mono", monospace;
  font-size: var(--font-size-min);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.aggregate-ranking-table thead th:last-child,
.aggregate-ranking-table .aggregate-rank-value {
  width: 230px;
  text-align: right;
}

.aggregate-ranked-market {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 0;
}

.aggregate-member-copy strong,
.aggregate-member-copy small { display: block; }

.aggregate-member-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.08;
}

.aggregate-member-copy small {
  margin-top: 5px;
  color: #65736a;
  font-family: "Position Sans", Arial, sans-serif;
  font-size: var(--font-size-min);
  font-weight: 500;
}

.aggregate-rank {
  color: #66756b;
  font-family: "Position Mono", monospace;
  font-size: var(--font-size-min);
}

.aggregate-rank-value {
  font-family: "Position Mono", monospace;
  font-size: 13px;
  font-weight: 700;
}

.aggregate-rank-value.unavailable {
  color: rgba(23, 34, 29, 0.52);
  font-size: var(--font-size-min);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.aggregate-ranking-count {
  margin: 16px 0 0;
  color: #58665e;
  font-size: var(--font-size-min);
  line-height: 1.55;
}

.compare-source-note {
  max-width: 900px;
  margin: 18px 0 0;
  color: #536159;
  font-size: 11px;
  line-height: 1.6;
}

.compare-methodology {
  margin-top: 22px;
  border-top: 1px solid rgba(23, 34, 29, .3);
  border-bottom: 1px solid rgba(23, 34, 29, .22);
}

.compare-methodology summary {
  cursor: pointer;
  padding: 16px 0;
  color: #3f7659;
  font-family: "Position Mono", monospace;
  font-size: var(--font-size-min);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.compare-methodology .compare-source-note { margin: 0 0 18px; }

.advisor-section > .advisor-link {
  cursor: pointer;
  text-align: left;
  background: transparent;
  border: 1px solid rgba(23, 34, 29, 0.55);
  padding: 17px 18px;
  font-size: 12px;
}

.advisor-section > .advisor-link span { float: right; }

@media (max-width: 1100px) and (min-width: 901px) {
  .hero {
    grid-template-columns: minmax(0, 0.94fr) minmax(520px, 1.06fr);
    gap: 4vw;
  }
  .hero h1 { font-size: clamp(60px, 7vw, 80px); }
  .hero-market-strip { right: 24px; left: 24px; }
}

@media (max-width: 900px) {
  .hero { min-height: auto; padding-bottom: 64px; }
  .hero-visual { min-height: 610px; }
  .hero-visual > img { width: 100%; height: 100%; min-height: 610px; }
  .hero-visual::after { right: 0; }
  .hero-market-strip { right: 28px; bottom: 27px; left: 28px; }
  .strip-heading h2 { font-size: 34px; }
  .strip-metrics strong { font-size: 38px; }
  .advisor-section > .advisor-link { grid-column: 2; }
}

@media (max-width: 560px) {
  .waterfront-brand { max-width: 172px; }
  .hero { padding-bottom: 48px; }
  .hero-copy { padding-bottom: 4px; }
  .hero-visual { min-height: 550px; }
  .hero-visual > img { height: 100%; min-height: 550px; object-position: 50% 58%; }
  .hero-market-strip { right: 20px; bottom: 22px; left: 20px; }
  .strip-heading { display: block; padding-bottom: 14px; }
  .strip-heading h2 { font-size: 30px; }
  .strip-updated { margin-top: 10px; padding-bottom: 0; }
  .strip-metrics { padding: 17px 0 15px; }
  .strip-metrics > div { padding: 0 9px; }
  .strip-metrics strong { font-size: clamp(25px, 8vw, 31px); }
  .strip-metrics small { display: none; }
  .strip-detail-link { margin-top: 14px; font-size: var(--font-size-min); }
  .headline-metric { align-items: flex-start; flex-direction: column; gap: 13px; }
  .peer-benchmark-head { grid-template-columns: 1fr; gap: 7px; }
  .peer-benchmark-head small { text-align: left; }
  .peer-benchmark-grid { grid-template-columns: 1fr; }
  .peer-benchmark-grid > div {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
    align-items: center;
    gap: 3px 14px;
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 34, 29, 0.16);
  }
  .peer-benchmark-grid > div:last-child { border-bottom: 0; }
  .peer-benchmark-grid strong { margin-top: 0; font-size: 25px; }
  .peer-benchmark-grid small { grid-column: 2; margin-top: 2px; }
  .aggregate-ranking-head { grid-template-columns: 1fr; gap: 18px; }
  .aggregate-ranking-controls { grid-template-columns: 1fr; }
  .data-canvas.aggregate-primary .headline-metric { grid-template-columns: 1fr; gap: 8px; }
  .explorer-panel,
  .explorer-controls,
  .data-canvas,
  .aggregate-ranking { min-width: 0; width: 100%; }
  .aggregate-ranking-sort select { min-width: 0; max-width: 100%; }
  .metric-options button span,
  .aggregate-ranking-definition,
  .headline-metric span,
  .market-sample-note,
  .aggregate-primary-source-note,
  .aggregate-ranking-table th { min-width: 0; overflow-wrap: anywhere; }
  .aggregate-ranking-sort select { width: 100%; }
  .aggregate-ranking-table { min-width: 0; }
  .aggregate-ranking-table th,
  .aggregate-ranking-table td { padding: 13px 6px; }
  .aggregate-ranking-table thead th:last-child,
  .aggregate-ranking-table .aggregate-rank-value { width: 110px; }
  .aggregate-ranked-market { grid-template-columns: 36px minmax(0, 1fr); }
  .aggregate-member-copy strong { font-size: 17px; }
  .aggregate-rank-value { font-size: 11px; }
  .compare-table { overflow: visible; }
  .compare-row {
    grid-template-columns: 1fr 1fr;
    min-width: 0;
    padding: 16px 0;
  }
  .compare-row.compare-header { display: none; }
  .compare-row > span {
    grid-column: 1 / -1;
    padding: 0 12px 13px;
    line-height: 1.5;
  }
  .compare-row.active-metric > span { padding-left: 12px; }
  .compare-row strong {
    display: block;
    min-width: 0;
    min-height: 78px;
    padding: 12px;
    font-size: 19px;
    overflow-wrap: anywhere;
  }
  .compare-row strong::before {
    display: block;
    margin-bottom: 8px;
    color: #667169;
    font-family: "Position Mono", monospace;
    font-size: var(--font-size-min);
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
  }
  .compare-row strong:nth-of-type(1)::before { content: "Selected value"; }
  .compare-row strong:nth-of-type(2)::before { content: "Position"; }
  .compare-row strong:nth-of-type(3)::before { content: "Typical peer"; }
  .compare-row strong:nth-of-type(4)::before { content: "Difference from typical"; }

  .owner-market-read { grid-template-columns: 1fr; gap: 8px; }
  .large-chart.yoy-chart { gap: 3px; }
  .yoy-column .yoy-bar { right: 13%; left: 13%; }
  .yoy-column > strong {
    font-size: var(--font-size-min);
    transform: translateX(-50%) rotate(-42deg);
    transform-origin: center;
  }
  .yoy-column > small { font-size: var(--font-size-min); }
  .large-chart.trend-chart { gap: 3px; }
  .trend-column .trend-bar { right: 13%; left: 13%; }
  .trend-column > strong {
    font-size: var(--font-size-min);
    transform: translateX(-50%) rotate(-42deg);
    transform-origin: center;
  }
  .trend-column > small { font-size: var(--font-size-min); }
  .large-chart.current-bar-chart {
    grid-template-columns: minmax(100px, 0.8fr) 1fr;
    gap: 24px;
    padding-right: 4%;
    padding-left: 4%;
  }
  .large-chart.snapshot-chart { grid-template-columns: 1fr; }
  .snapshot-metric { min-height: 120px; }
  .advisor-section > .advisor-link { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
