:root {
  --profile-ink: #10354a;
  --profile-copy: #536b79;
  --profile-teal: #138d82;
  --profile-teal-dark: #0d6964;
  --profile-green: #1abb9b;
  --profile-line: #d7e3e7;
  --profile-pale: #edf5f4;
  --profile-warm: #fbf8f1;
  --profile-navy: #12364d;
  --profile-house: #0f6b6e;
  --profile-house-tint-rgb: 223, 238, 233;
  --profile-unit: #9a6641;
  --profile-unit-tint-rgb: 242, 231, 220;
  --profile-score-good: #2f9678;
  --profile-score-average: #c88719;
  --profile-score-poor: #9d5b5f;
}

* {
  box-sizing: border-box;
}

.profile-page {
  margin: 0;
  background: #fff;
  color: var(--profile-ink);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

.profile-page h1,
.profile-page h2,
.profile-page h3,
.profile-page strong,
.profile-page .button {
  font-family: Montserrat, Arial, sans-serif;
  letter-spacing: 0;
}

.profile-page .site-header {
  position: relative;
  z-index: 20;
}

.profile-page .nav > a[aria-current="page"] {
  color: var(--profile-teal);
}

.profile-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.profile-breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 52px;
  margin: 0 auto;
  color: #71848e;
  font-size: 13px;
}

.profile-breadcrumb a {
  color: var(--profile-teal-dark);
  font-weight: 700;
  text-decoration: none;
}

.profile-hero {
  padding: 76px 0 66px;
  overflow: hidden;
  border-bottom: 1px solid #cddde1;
  background:
    linear-gradient(110deg, rgba(16, 53, 74, 0.98) 0 56%, rgba(15, 98, 92, 0.95) 100%);
  color: #fff;
}

.profile-kicker,
.profile-section-label {
  margin-bottom: 13px;
  color: #37c9ad;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.02;
}

.profile-hero h1 span {
  display: block;
  margin-top: 10px;
  color: #b6d6d4;
  font-size: 0.38em;
  line-height: 1.1;
}

.profile-hero p {
  max-width: 800px;
  margin: 25px 0 0;
  color: #dbe9e9;
  font-size: 18px;
  line-height: 1.7;
}

.profile-summary-dwelling {
  color: #fff;
  font-size: 1.25em;
  font-weight: 800;
}

.profile-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 30px;
}

.profile-primary-cta {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 0;
  border-radius: 5px;
  background: #20ad91;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.17);
}

.profile-primary-cta:hover,
.profile-primary-cta:focus-visible {
  background: #27c3a3;
  color: #092f3f;
}

.profile-secondary-link {
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 5px;
}

.profile-coverage {
  display: flex;
  gap: 34px;
  margin-top: 48px;
  color: #cce1e1;
  font-size: 12px;
}

.profile-coverage span {
  display: flex;
  gap: 7px;
  align-items: baseline;
}

.profile-coverage strong {
  color: #fff;
  font-size: 21px;
}

.profile-section {
  padding: 80px 0;
}

.profile-section-muted {
  background: var(--profile-pale);
}

.profile-section-dark {
  background: var(--profile-navy);
  color: #fff;
}

.profile-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 38px;
}

.profile-section-heading h2,
.profile-methodology h2,
.profile-final-cta h2 {
  max-width: 760px;
  margin: 0;
  color: var(--profile-ink);
  font-size: clamp(29px, 3.5vw, 46px);
  line-height: 1.12;
}

.profile-section-heading > p {
  margin: 0;
  color: var(--profile-copy);
  font-size: 15px;
  line-height: 1.7;
}

.profile-section-dark .profile-section-heading h2,
.profile-section-dark .profile-section-heading > p {
  color: #fff;
}

.profile-dwelling {
  --dwelling-accent: var(--profile-house);
  --dwelling-tint-rgb: var(--profile-house-tint-rgb);
  padding: 38px 0;
  border-top: 1px solid var(--profile-line);
}

.profile-dwelling-unit {
  --dwelling-accent: var(--profile-unit);
  --dwelling-tint-rgb: var(--profile-unit-tint-rgb);
}

.profile-dwelling:last-child {
  border-bottom: 1px solid var(--profile-line);
}

.profile-dwelling-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.profile-dwelling-heading > div:first-child > span {
  color: var(--dwelling-accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-dwelling-heading h3 {
  margin: 6px 0 0;
  font-size: 27px;
}

.profile-score {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.profile-score strong {
  color: var(--profile-score-average);
  font-size: 34px;
}

.profile-score.score-good strong {
  color: var(--profile-score-good);
}

.profile-score.score-poor strong {
  color: var(--profile-score-poor);
}

.profile-score.score-unavailable strong {
  color: #87979f;
}

.profile-score span {
  color: var(--profile-copy);
  font-size: 11px;
}

.profile-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.profile-kpi {
  position: relative;
  min-height: 136px;
  overflow: hidden;
  padding: 24px 78px 24px 28px;
  border: 1px solid #cfdde3;
  border-radius: 6px;
  background:
    linear-gradient(
      135deg,
      rgba(var(--dwelling-tint-rgb), 0.72) 0%,
      rgba(var(--dwelling-tint-rgb), 0.2) 48%,
      rgba(255, 255, 255, 0.96) 100%
    );
  box-shadow: 0 8px 18px rgba(16, 53, 74, 0.055);
}

.profile-kpi::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: var(--dwelling-accent);
  content: "";
}

.profile-kpi > span:not(.profile-kpi-icon) {
  display: block;
  min-height: 31px;
  color: var(--profile-copy);
  font-size: 12px;
  font-weight: 700;
}

.profile-kpi > strong {
  display: block;
  margin-top: 8px;
  color: var(--profile-ink);
  font-size: 22px;
}

.profile-kpi-icon {
  position: absolute;
  right: 18px;
  bottom: 17px;
  display: grid;
  width: 44px;
  height: 44px;
  min-height: 0;
  padding: 9px;
  place-items: center;
  border: 1px solid rgba(var(--dwelling-tint-rgb), 0.95);
  border-radius: 6px;
  background: rgba(var(--dwelling-tint-rgb), 0.7);
  color: var(--dwelling-accent);
}

.profile-kpi-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.profile-growth-value.is-positive {
  color: var(--profile-score-good);
}

.profile-growth-value.is-negative {
  color: var(--profile-score-poor);
}

.profile-growth-value.is-flat {
  color: var(--profile-copy);
}

.profile-signal-columns,
.profile-trends {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.profile-signals {
  --dwelling-accent: var(--profile-house);
  min-width: 0;
  padding-top: 20px;
  border-top: 3px solid var(--dwelling-accent);
}

.profile-signals-unit {
  --dwelling-accent: var(--profile-unit);
}

.profile-signals-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.profile-signals h3 {
  margin: 0 0 22px;
  font-size: 22px;
}

.profile-signals h3 span {
  color: var(--dwelling-accent);
}

.profile-data-status {
  margin: 0 0 22px;
  padding: 4px 7px;
  border: 1px solid #cbd5d8;
  border-radius: 4px;
  background: #e5eaec;
  color: #718087;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-signals.is-missing-panel {
  border-top-color: #aeb9be;
}

.profile-signal {
  padding: 15px 0;
  border-bottom: 1px solid #d0dfdf;
}

.profile-signal > div:first-child {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
}

.profile-signal span {
  color: #48636f;
  font-size: 13px;
  font-weight: 700;
}

.profile-signal strong {
  color: var(--profile-ink);
  font-size: 13px;
  text-align: right;
}

.profile-signal-track {
  height: 6px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 3px;
  background: #d4dfdf;
}

.profile-signal-track i {
  display: block;
  height: 100%;
  background: #4ab594;
}

.profile-signal.is-caution .profile-signal-track i {
  background: #d7aa48;
}

.profile-signal.is-poor .profile-signal-track i {
  background: var(--profile-score-poor);
}

.profile-signal.is-poor .profile-signal-meta small {
  color: var(--profile-score-poor);
}

.profile-signal.is-neutral .profile-signal-track i {
  background: #668793;
}

.profile-signal.is-missing span,
.profile-signal.is-missing strong,
.profile-signal.is-missing small {
  color: #8a989e;
}

.profile-signal.is-missing .profile-signal-track {
  background:
    repeating-linear-gradient(
      90deg,
      #d7dfe1 0 8px,
      #e5eaeb 8px 13px
    );
}

.profile-signal small {
  display: block;
  color: #71848e;
  font-size: 10px;
  font-weight: 700;
}

.profile-signal-meta {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 7px;
}

.profile-signal-meta span {
  color: #788b94;
  font-size: 9px;
  font-weight: 650;
  text-align: right;
}

.profile-observations {
  margin-top: 48px;
  padding: 30px 0 0;
  border-top: 1px solid #ccdcdc;
}

.profile-observations h3 {
  margin: 0 0 18px;
  font-size: 21px;
}

.profile-observations ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 38px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-observations li {
  position: relative;
  padding-left: 20px;
  color: var(--profile-copy);
  font-size: 13px;
  line-height: 1.6;
}

.profile-observations li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--profile-green);
  content: "";
}

.profile-trend {
  min-width: 0;
  margin: 0;
}

.profile-trend figcaption {
  margin-bottom: 16px;
  color: var(--profile-ink);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.profile-trend-house .profile-trend-dwelling {
  color: var(--profile-house);
}

.profile-trend-unit .profile-trend-dwelling {
  color: var(--profile-unit);
}

.profile-chart-source {
  display: block;
  margin: -8px 0 14px;
  color: var(--profile-copy);
  font-size: 11px;
  line-height: 1.5;
}

.profile-chart {
  --chart-accent: var(--profile-house);
  display: block;
  width: 100%;
  min-height: 250px;
  border: 1px solid var(--profile-line);
  background: #fbfdfd;
}

.profile-chart-unit {
  --chart-accent: var(--profile-unit);
}

.profile-chart-axis {
  stroke: #91a8b0;
  stroke-width: 1.2;
}

.profile-chart-grid {
  stroke: #dce6e8;
  stroke-width: 1;
}

.profile-chart-line {
  fill: none;
  stroke: var(--chart-accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.profile-chart-point {
  fill: #fff;
  stroke: var(--chart-accent);
  stroke-width: 4;
  cursor: help;
}

.profile-chart-year,
.profile-chart-value {
  fill: #617985;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.profile-chart-tooltip {
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease;
}

.profile-chart-tooltip rect {
  fill: #10354a;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1;
}

.profile-chart-tooltip text {
  fill: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
}

.profile-chart-point-group:hover .profile-chart-tooltip,
.profile-chart-point-group:focus .profile-chart-tooltip {
  opacity: 1;
}

.profile-chart-point-group:focus .profile-chart-point {
  stroke-width: 6;
}

.profile-trend table {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  font-size: 12px;
}

.profile-trend th,
.profile-trend td {
  padding: 8px 9px;
  border-bottom: 1px solid #e1e9eb;
  text-align: right;
}

.profile-trend th:first-child,
.profile-trend td:first-child {
  text-align: left;
}

.profile-context-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.profile-context-card {
  position: relative;
  min-height: 174px;
  margin: 0;
  overflow: hidden;
  padding: 27px 88px 26px 28px;
  border: 1px solid rgba(133, 188, 181, 0.28);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(77, 182, 154, 0.035)),
    #173c4f;
  box-shadow: 0 12px 28px rgba(1, 20, 29, 0.16);
}

.profile-context-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: #4ab594;
  content: "";
}

.profile-context-grid span,
.profile-context-grid small {
  display: block;
  color: #b8ced2;
  font-size: 11px;
  font-weight: 700;
}

.profile-context-grid strong {
  display: block;
  margin: 14px 0 10px;
  color: #fff;
  font-size: 25px;
}

.profile-context-icon {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(100, 211, 180, 0.22);
  border-radius: 6px;
  background: rgba(83, 194, 164, 0.08);
  color: #69cbb0 !important;
}

.profile-context-icon svg {
  width: 100%;
  height: 100%;
  padding: 9px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.profile-nearby-grid,
.directory-state-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.directory-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.directory-state-row {
  min-width: 0;
}

.profile-nearby-link,
.directory-profile {
  display: flex;
  min-height: 196px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--profile-line);
  border-radius: 5px;
  background: #fff;
  color: var(--profile-ink);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.profile-nearby-link:hover,
.profile-nearby-link:focus-visible,
.directory-profile:hover,
.directory-profile:focus-visible {
  border-color: var(--profile-teal);
  outline: 0;
  box-shadow: 0 12px 24px rgba(14, 63, 80, 0.1);
  transform: translateY(-2px);
}

.profile-nearby-link > span,
.directory-profile > span:not(.directory-state-shape) {
  color: var(--profile-teal);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-nearby-link > strong {
  margin-top: 10px;
  font-size: 21px;
}

.profile-nearby-link > small {
  margin-top: 8px;
  color: var(--profile-copy);
  line-height: 1.4;
}

.profile-nearby-link > em {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 20px;
  color: var(--profile-ink);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.profile-methodology {
  border-top: 1px solid var(--profile-line);
  background: var(--profile-warm);
}

.profile-methodology .profile-container {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 80px;
}

.profile-methodology p {
  max-width: 760px;
  color: var(--profile-copy);
  line-height: 1.75;
}

.profile-methodology a {
  color: var(--profile-teal-dark);
  font-weight: 800;
}

.profile-methodology .profile-container > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 34px;
  border-left: 1px solid #d5d8cf;
}

.profile-methodology .profile-container > div:last-child span {
  margin: 8px 0 18px;
  font-size: 22px;
}

.profile-methodology .profile-container > div:last-child small {
  color: var(--profile-copy);
  line-height: 1.6;
}

.profile-download-section {
  border-top: 1px solid #cfe2df;
  border-bottom: 1px solid #cfe2df;
  background:
    linear-gradient(105deg, #eef8f5 0%, #f8fbfa 52%, #eef4f6 100%);
}

.profile-download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}

.profile-download-copy h2 {
  max-width: 720px;
  margin: 10px 0 16px;
}

.profile-download-copy > p {
  max-width: 720px;
  color: var(--profile-copy);
  line-height: 1.7;
}

.profile-download-included-title {
  margin: 24px 0 0;
  color: var(--profile-ink);
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: 0;
}

.profile-download-sheets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 22px;
  margin: 13px 0 18px;
}

.profile-download-sheets span {
  position: relative;
  padding-left: 35px;
  color: var(--profile-ink);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.45;
}

.profile-download-sheets span::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1b9184;
  color: #fff;
  content: "✓";
  font-size: 15px;
  line-height: 24px;
  text-align: center;
}

.profile-download-note {
  padding-top: 14px;
  border-top: 1px solid #cfe2df;
  font-size: 10px;
}

.profile-download-form {
  position: relative;
  padding: 28px;
  overflow: hidden;
  border: 1px solid #bfd6dc;
  border-top: 5px solid var(--profile-teal);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(18, 63, 75, 0.12);
}

.profile-download-form-heading {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 22px;
}

.profile-download-form-heading > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.profile-download-form-heading strong {
  color: var(--profile-ink);
  font-size: 17px;
}

.profile-download-form-heading small {
  margin-top: 4px;
  overflow: hidden;
  color: var(--profile-copy);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-download-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 5px;
  background: #e5f4f0;
  color: var(--profile-teal-dark);
}

.profile-download-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.profile-download-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.profile-download-captcha {
  min-height: 78px;
  margin-bottom: 17px;
  overflow: hidden;
}

.profile-download-button {
  display: inline-flex;
  min-height: 48px;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: #173f56;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.profile-download-button:hover,
.profile-download-button:focus-visible {
  outline: 0;
  background: #0f756f;
  box-shadow: 0 10px 20px rgba(15, 117, 111, 0.2);
  transform: translateY(-1px);
}

.profile-download-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.profile-download-protection {
  display: block;
  margin-top: 14px;
  color: #6a7f89;
  font-size: 8.5px;
  line-height: 1.5;
}

.profile-final-cta {
  padding: 68px 0;
  background: #163b52;
  color: #fff;
}

.profile-final-cta .profile-container {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
}

.profile-final-cta span {
  color: #41cdb1;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-final-cta h2 {
  margin-top: 10px;
  color: #fff;
}

.profile-final-cta p {
  max-width: 760px;
  color: #c6d7db;
}

.profile-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  padding: 36px max(24px, calc((100% - 1180px) / 2));
  background: #0b2738;
  color: #c4d3d8;
  font-size: 11px;
}

.profile-footer > div {
  display: flex;
  flex-direction: column;
}

.profile-footer strong {
  color: #fff;
  font-size: 17px;
}

.profile-footer nav {
  display: flex;
  gap: 18px;
}

.profile-footer a {
  color: #dbe6e8;
  text-decoration: none;
}

.profile-footer p {
  margin: 0;
  text-align: right;
}

.directory-hero {
  padding: 70px 0;
  background: linear-gradient(115deg, #eef5f4 0%, #f9f6ef 100%);
}

.directory-hero h1 {
  max-width: 850px;
  margin: 0;
  color: var(--profile-ink);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
}

.directory-hero p {
  max-width: 800px;
  color: var(--profile-copy);
  font-size: 17px;
  line-height: 1.7;
}

.directory-count {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin-top: 32px;
}

.directory-count strong {
  font-size: 34px;
}

.directory-count span {
  color: var(--profile-copy);
  font-size: 12px;
}

.directory-toolbar {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.directory-state-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.directory-state-filter a {
  --state-accent: var(--profile-teal);
  position: relative;
  overflow: hidden;
  padding: 10px 14px;
  border: 1px solid color-mix(in srgb, var(--state-accent) 28%, var(--profile-line));
  border-radius: 4px;
  background: color-mix(in srgb, var(--state-accent) 5%, #fff);
  color: var(--state-accent);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.directory-state-filter a::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--state-accent);
  content: "";
}

.directory-state-filter a.is-active {
  border-color: var(--state-accent);
  background: var(--state-accent);
  color: #fff;
}

.directory-state-filter .directory-state-all {
  --state-accent: var(--profile-teal);
}

.directory-state-filter .directory-state-nsw {
  --state-accent: #1f7aa5;
}

.directory-state-filter .directory-state-vic {
  --state-accent: #536b9f;
}

.directory-state-filter .directory-state-qld {
  --state-accent: #b73757;
}

.directory-state-filter .directory-state-wa {
  --state-accent: #b9821d;
}

.directory-state-filter .directory-state-sa {
  --state-accent: #c85a6d;
}

.directory-state-filter .directory-state-tas {
  --state-accent: #2f8f6b;
}

.directory-state-filter .directory-state-act {
  --state-accent: #6b61ac;
}

.directory-state-filter .directory-state-nt {
  --state-accent: #a86b36;
}

.directory-search {
  display: grid;
  width: min(360px, 100%);
  min-width: 280px;
  grid-template-columns: minmax(0, 1fr) 48px;
  border: 1px solid #b9cbd1;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(18, 52, 77, 0.07);
}

.directory-search:focus-within {
  border-color: var(--profile-teal);
  box-shadow: 0 0 0 3px rgba(25, 151, 135, 0.13);
}

.directory-search input {
  min-width: 0;
  height: 48px;
  padding: 0 15px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--profile-ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
}

.directory-search input::placeholder {
  color: #71828d;
}

.directory-search button {
  display: grid;
  border: 0;
  border-radius: 0 5px 5px 0;
  background: var(--profile-teal);
  color: #fff;
  cursor: pointer;
  place-items: center;
}

.directory-search button:hover,
.directory-search button:focus-visible {
  outline: 0;
  background: #117b70;
}

.directory-search button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.directory-search-status {
  min-height: 21px;
  margin: -16px 0 20px;
  color: var(--profile-copy);
  font-size: 12px;
}

.directory-search-status:empty {
  display: none;
}

.directory-empty {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px solid var(--profile-line);
  border-radius: 6px;
  background: #f7faf9;
  color: var(--profile-copy);
  text-align: center;
}

.directory-complete-list {
  margin-top: 30px;
  border-top: 1px solid var(--profile-line);
}

.directory-complete-list summary {
  padding: 20px 0;
  color: var(--profile-ink);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.directory-complete-list > div {
  display: grid;
  padding: 0 0 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 18px;
}

.directory-complete-list a {
  color: var(--profile-copy);
  font-size: 12px;
  line-height: 1.5;
  text-decoration-color: rgba(20, 89, 111, 0.25);
  text-underline-offset: 3px;
}

.directory-complete-list a:hover,
.directory-complete-list a:focus-visible {
  color: var(--profile-teal);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.directory-profile {
  --state-accent: var(--profile-teal);
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 25px 26px 24px 29px;
  border-color: color-mix(in srgb, var(--state-accent) 25%, var(--profile-line));
  background:
    linear-gradient(
      125deg,
      color-mix(in srgb, var(--state-accent) 10%, #fff) 0%,
      #fff 48%,
      color-mix(in srgb, var(--state-accent) 3%, #fff) 100%
    );
  box-shadow: 0 12px 28px rgba(18, 52, 77, 0.07);
}

.directory-profile-state-nsw {
  --state-accent: #1f7aa5;
}

.directory-profile-state-vic {
  --state-accent: #536b9f;
}

.directory-profile-state-qld {
  --state-accent: #b73757;
}

.directory-profile-state-wa {
  --state-accent: #b9821d;
}

.directory-profile-state-sa {
  --state-accent: #c85a6d;
}

.directory-profile-state-tas {
  --state-accent: #2f8f6b;
}

.directory-profile-state-act {
  --state-accent: #6b61ac;
}

.directory-profile-state-nt {
  --state-accent: #a86b36;
}

.directory-profile::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--state-accent);
  content: "";
}

.directory-profile:hover,
.directory-profile:focus-visible {
  border-color: color-mix(in srgb, var(--state-accent) 48%, var(--profile-line));
  box-shadow: 0 18px 34px rgba(18, 52, 77, 0.12);
}

.directory-profile > span:not(.directory-state-shape),
.directory-profile h2,
.directory-profile > div,
.directory-profile em {
  position: relative;
  z-index: 1;
}

.directory-profile > span:not(.directory-state-shape) {
  color: var(--state-accent);
}

.directory-profile h2 {
  margin: 9px 0 18px;
  font-size: 23px;
}

.directory-profile > div {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.directory-profile p {
  margin: 0;
}

.directory-profile small,
.directory-profile strong {
  display: block;
}

.directory-profile small {
  color: var(--profile-copy);
  font-size: 9px;
}

.directory-profile strong {
  margin-top: 4px;
  font-size: 13px;
}

.directory-profile em {
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto;
  padding: 9px 13px;
  border: 1px solid color-mix(in srgb, var(--state-accent) 34%, #fff);
  border-radius: 4px;
  background: color-mix(in srgb, var(--state-accent) 9%, #fff);
  color: var(--state-accent);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.directory-profile:hover em,
.directory-profile:focus-visible em {
  border-color: var(--state-accent);
  background: var(--state-accent);
  color: #fff;
}

.directory-state-shape {
  position: absolute;
  z-index: 0;
  top: 12px;
  right: 12px;
  display: block;
  width: 112px;
  height: 112px;
  color: var(--state-accent);
  opacity: 0.13;
  pointer-events: none;
}

.directory-state-shape svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.directory-state-shape path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 6;
}

@supports not (background: color-mix(in srgb, #000 10%, #fff)) {
  .directory-state-filter a,
  .directory-profile {
    border-color: var(--profile-line);
    background: #fff;
  }
}

.profile-error {
  width: min(680px, calc(100% - 40px));
  margin: 15vh auto;
}

@media (max-width: 980px) {
  .profile-page .site-header .nav {
    display: none;
  }

  .profile-section-heading,
  .profile-methodology .profile-container,
  .profile-download-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .profile-methodology .profile-container > div:last-child {
    padding: 24px 0 0;
    border-top: 1px solid #d5d8cf;
    border-left: 0;
  }

  .profile-nearby-grid,
  .directory-state-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .directory-search {
    width: 100%;
    min-width: 0;
  }

  .directory-complete-list > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .profile-container,
  .profile-breadcrumb {
    width: min(100% - 30px, 1180px);
  }

  .profile-page .site-header .button.primary {
    display: none;
  }

  .profile-breadcrumb {
    overflow: hidden;
    white-space: nowrap;
  }

  .profile-hero {
    padding: 56px 0 48px;
  }

  .profile-hero h1 {
    font-size: 43px;
  }

  .profile-hero p {
    font-size: 15px;
  }

  .profile-actions,
  .profile-coverage,
  .profile-final-cta .profile-container {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-coverage {
    gap: 14px;
  }

  .profile-primary-cta {
    width: 100%;
    text-align: center;
  }

  .profile-download-form {
    max-width: 440px;
  }

  .profile-section {
    padding: 58px 0;
  }

  .profile-kpis,
  .profile-context-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-signal-columns,
  .profile-trends,
  .profile-observations ul {
    grid-template-columns: 1fr;
  }

  .profile-dwelling-heading {
    gap: 22px;
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-chart {
    min-height: 210px;
  }

  .profile-footer {
    grid-template-columns: 1fr;
  }

  .profile-footer nav {
    flex-wrap: wrap;
  }

  .profile-footer p {
    text-align: left;
  }

  .directory-state-filter {
    gap: 6px;
  }

  .directory-state-filter a {
    flex: 1 0 auto;
    text-align: center;
  }

  .directory-complete-list > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .profile-hero h1 {
    font-size: 37px;
  }

  .profile-kpis,
  .profile-context-grid,
  .profile-nearby-grid,
  .directory-state-card-grid {
    grid-template-columns: 1fr;
  }

  .profile-kpi {
    min-height: 118px;
  }

  .profile-download-sheets {
    grid-template-columns: 1fr;
  }

  .profile-download-form {
    padding: 22px 18px;
  }

  .profile-download-button {
    width: 100%;
  }

  .directory-complete-list > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 350px) {
  .profile-download-captcha {
    min-height: 68px;
  }

  .profile-download-captcha .g-recaptcha {
    width: 304px;
    transform: scale(0.84);
    transform-origin: left top;
  }
}
