@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap");
:root {
  --paper: #faf9f5;
  --ink: #233d33;
  --muted: #626d65;
  --line: #dedfd6;
  --sage: #e9eee4;
  --gold: #b78948;
  --serif: "Libre Caslon Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
button:hover {
  filter: brightness(0.92);
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  background: var(--ink);
  color: white;
  padding: 14px;
  z-index: 10;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  max-width: 1336px;
  margin: auto;
  padding: 29px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.1;
  font-family: Georgia, serif;
  font-size: 21px;
  letter-spacing: 2px;
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 2px;
  margin-top: 7px;
}
.brand-mark {
  font-size: 38px;
  color: var(--gold);
}
nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
}
nav button {
  padding: 7px 0;
}
#saved-count {
  display: inline-grid;
  place-items: center;
  background: var(--sage);
  border-radius: 100%;
  width: 23px;
  height: 23px;
  margin-left: 5px;
  font-size: 11px;
}
.nav-contact {
  border-bottom: 1px solid var(--ink);
}
.nav-contact span {
  margin-left: 10px;
}
main {
  max-width: 1336px;
  margin: auto;
}
.hero {
  padding: 66px 48px 64px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: center;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 0 18px;
  color: #7b674a;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 5.4vw, 76px);
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1.02;
  margin-bottom: 24px;
}
h1 em {
  font-weight: 400;
  color: #718169;
}
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 39px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.hero-description {
  max-width: 445px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 21px;
  margin: 30px 0 27px;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  padding: 15px 23px;
  font-size: 13px;
  border-radius: 4px;
  font-weight: 600;
}
.primary {
  background: var(--ink);
  color: white;
}
.secondary {
  border: 1px solid #a9b5a2;
  background: transparent;
}
.text-button {
  font-size: 12px;
  padding: 8px 0;
}
.hero-promises {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 10px;
}
.hero-art {
  position: relative;
  border-radius: 140px 140px 6px 6px;
  overflow: hidden;
  background: #d3e2dc;
}
.hero-art svg {
  width: 100%;
  display: block;
  min-height: 355px;
  object-fit: cover;
}
.art-note {
  position: absolute;
  bottom: 19px;
  left: 24px;
  background: rgba(250, 249, 245, 0.94);
  padding: 12px 18px;
  font-family: var(--serif);
  font-size: 25px;
  border-radius: 3px;
}
.art-note small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.6px;
}
.search-section {
  padding: 42px 48px 58px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 20px;
}
.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}
.section-intro .eyebrow {
  margin-bottom: 12px;
}
.section-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.step-label {
  font-size: 9px;
  letter-spacing: 1.6px;
  padding-top: 8px;
  white-space: nowrap;
}
.location-layout {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 24px;
}
.map-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fafbf7;
}
.map-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
}
.map-kicker {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.6px;
  margin-bottom: 5px;
}
.map-topline strong {
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 400;
}
.map-fit {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 9px 13px;
  font-size: 11px;
  white-space: nowrap;
}
#community-map {
  height: 460px;
  background: #eceee8;
  z-index: 0;
}
.leaflet-tile-pane {
  filter: saturate(0.28) contrast(0.94) brightness(1.04);
}
.leaflet-container {
  font-family: inherit;
}
.leaflet-control-attribution {
  font-size: 10px;
}
.community-marker,
.community-cluster {
  display: grid;
  place-items: center;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #28483f;
  box-shadow: 0 2px 12px #18382d40;
}
.community-marker span {
  color: #ead4a6;
  font-size: 17px;
}
.community-cluster {
  background: #28483fe8;
  border: 4px solid #ffffffc9;
  font-size: 14px;
  font-weight: 600;
}
.community-popup {
  min-width: 180px;
  color: var(--ink);
}
.community-popup strong {
  font-size: 15px;
}
.community-popup p {
  line-height: 1.5;
  margin: 10px 0;
}
.community-popup small {
  display: block;
  color: var(--muted);
}
.community-popup button {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 12px;
  font-size: 12px;
  text-align: left;
}
.map-footer {
  padding: 14px 20px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
}
.map-footer small {
  display: block;
  font-size: 10px;
  margin-top: 2px;
}
.map-footer i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #28483f;
  border-radius: 50%;
  margin-right: 5px;
}
.map-footer b {
  margin: 0 5px;
}
.location-count {
  font-size: 11px;
  color: var(--muted);
  margin: 15px 5px 4px;
}
.state-tabs small {
  font-size: 9px;
  margin-left: 3px;
  opacity: 0.7;
}
.city-row em {
  font-size: 9px;
  font-style: normal;
  color: var(--muted);
  margin-left: 4px;
}
.city-row[aria-expanded="true"] {
  background: #eef3ed;
  border-radius: 5px;
}
.city-count {
  font-size: 11px;
  flex-shrink: 0;
  padding-left: 8px;
}
.selected-area {
  grid-column: 1 / -1;
  background: #f1f4ec;
  border: 1px solid #dce5d6;
  border-radius: 14px;
  padding: 26px;
}
.area-detail-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}
.area-detail-heading h3 {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  margin: 6px 0;
}
.area-detail-heading p:not(.eyebrow) {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.community-addresses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.community-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  background: white;
  padding: 17px;
  border-radius: 8px;
  border: 1px solid #e0e6db;
  font-size: 11px;
  line-height: 1.7;
}
.community-address > span:nth-child(2) {
  flex: 1;
}
.community-address strong,
.community-address span span,
.community-address small {
  display: block;
}
.community-address strong {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 7px;
}
.community-address small {
  color: var(--muted);
  margin-top: 7px;
  font-size: 10px;
}
.community-address[aria-pressed="true"] {
  border-color: #47674e;
  box-shadow: inset 0 0 0 1px #47674e;
}
.address-icon {
  color: #8b7449;
}
.area-next-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-top: 22px;
}
.area-next-step p {
  font-size: 11px;
  max-width: 350px;
  line-height: 1.6;
  color: var(--muted);
}
.area-next-step .primary {
  font-size: 12px;
}
.city-panel {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px 24px;
  background: #fff;
}
.state-tabs {
  display: flex;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 17px;
}
.state-tabs button {
  padding: 0 5px 12px;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.state-tabs button[aria-pressed="true"] {
  color: var(--ink);
  border-color: var(--ink);
}
.search-field {
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 4px;
  padding: 7px 12px;
}
.search-field span {
  font-size: 23px;
  line-height: 1;
}
.search-field input {
  width: 100%;
  border: 0;
  background: transparent;
  min-width: 0;
  font-size: 12px;
  padding: 4px;
  color: var(--ink);
}
.cities {
  max-height: 405px;
  overflow: auto;
  margin-top: 10px;
}
.city-row {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5px;
  border-bottom: 1px solid #eeefe9;
  font-size: 13px;
}
.city-row small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.city-row > span:last-child {
  color: #718169;
}
.all-homes {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  text-align: left;
  padding: 14px 5px 0;
}
.results-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 12px;
}
.filter-bar {
  display: flex;
  align-items: end;
  gap: 24px;
  padding: 23px;
  background: var(--sage);
  border-radius: 5px;
}
.filter-bar > div {
  flex: 1;
}
.filter-label {
  display: block;
  font-size: 9px;
  letter-spacing: 1.4px;
  margin-bottom: 9px;
}
.program-tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.program-tabs button {
  font-size: 11px;
  border: 1px solid #cad3c3;
  border-radius: 3px;
  padding: 8px 13px;
  background: var(--paper);
}
.program-tabs button[aria-pressed="true"] {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.filter-bar label {
  font-size: 10px;
  color: #50604f;
}
.filter-bar select {
  display: block;
  border: 1px solid #cad3c3;
  background: var(--paper);
  font-size: 11px;
  color: var(--ink);
  padding: 9px;
  margin-top: 9px;
  min-width: 140px;
  border-radius: 3px;
}
.budget-note {
  font-size: 10px;
  color: var(--muted);
  margin: 10px 0 20px;
}
.results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.results-heading h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  margin: 0;
}
.home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.home-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  overflow: hidden;
}
.card-art {
  position: relative;
  height: 186px;
  overflow: hidden;
  background: #e1e8dc;
}
.card-art svg {
  width: 100%;
  height: 100%;
}
.card-art.sand {
  background: #e8e0cf;
}
.card-art.blue {
  background: #dce6e8;
}
.card-status {
  position: absolute;
  top: 13px;
  left: 13px;
  font-size: 9px;
  letter-spacing: 0.2px;
  border-radius: 2px;
  background: #faf9f5ed;
  padding: 5px 9px;
}
.save-button {
  position: absolute;
  top: 11px;
  right: 12px;
  background: #faf9f5ed;
  border-radius: 50%;
  width: 31px;
  height: 31px;
  font-size: 20px;
  line-height: 1;
}
.save-button[aria-pressed="true"] {
  background: var(--ink);
  color: white;
}
.illustration-label {
  position: absolute;
  bottom: 8px;
  right: 11px;
  font-size: 8px;
  color: #4a5d4d;
}
.card-body {
  padding: 19px;
}
.card-area {
  font-size: 9px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #767262;
  margin-bottom: 5px;
}
.card-body h4 {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 5px;
}
.card-address {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 13px;
}
.home-specs {
  font-size: 11px;
  color: #50604f;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}
.price-caption {
  font-size: 9px;
  color: var(--muted);
  margin: 14px 0 1px;
}
.card-price {
  font-size: 24px;
  letter-spacing: -0.6px;
  font-weight: 500;
  margin: 0;
}
.card-price span {
  font-size: 11px;
  letter-spacing: 0;
  color: var(--muted);
  font-weight: 400;
}
.price-note {
  font-size: 9px;
  color: var(--muted);
  margin: 2px 0 0;
  min-height: 16px;
}
.cash-price {
  font-size: 10px;
  margin-top: 6px;
  color: #586350;
}
.card-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 17px;
  padding: 13px 0 0;
  font-size: 11px;
  font-weight: 600;
}
.empty-state {
  grid-column: 1/-1;
  background: var(--sage);
  padding: 45px;
  text-align: center;
  border-radius: 5px;
}
.empty-state h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 10px;
}
.empty-state p {
  color: var(--muted);
  font-size: 13px;
}
.empty-state button {
  margin: 5px;
}
.help-strip {
  margin: 0 48px;
  background: #e9eee4;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 29px;
}
.help-icon {
  font-size: 35px;
  color: #7a8b6b;
}
.help-strip > div:nth-child(2) {
  flex: 1;
}
.help-strip h2 {
  font-size: 28px;
  margin-bottom: 5px;
}
.help-strip p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.help-strip .secondary {
  font-size: 11px;
  padding: 12px 16px;
  gap: 17px;
}
.next-steps {
  padding: 62px 48px;
}
.next-steps > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 55px;
}
.next-steps article > span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 25px;
}
.next-steps h3 {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  margin: 12px 0 7px;
}
.next-steps article p {
  color: var(--muted);
  font-size: 12px;
  max-width: 290px;
}
footer {
  background: #eaece4;
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 35px max(48px, calc((100vw - 1240px) / 2));
  flex-wrap: wrap;
}
footer p {
  font-family: var(--serif);
  font-size: 26px;
  margin: 0;
}
footer > small {
  margin-left: auto;
  color: var(--muted);
  font-size: 9px;
}
dialog {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 9px;
  width: min(650px, calc(100% - 32px));
  padding: 35px;
  color: var(--ink);
  max-height: 90dvh;
  overflow-y: auto;
}
dialog::backdrop {
  background: #172a22a6;
  backdrop-filter: blur(4px);
}
.close-dialog {
  position: absolute;
  right: 13px;
  top: 9px;
  font-size: 27px;
  padding: 4px 12px;
  z-index: 1;
}
.dialog-art {
  height: 200px;
  border-radius: 5px;
  overflow: hidden;
  margin: 10px 0 24px;
  position: relative;
  background: #dce6d8;
}
.dialog-art svg {
  width: 100%;
  height: 100%;
}
dialog h2 {
  font-size: 38px;
  margin-right: 15px;
}
dialog p {
  color: var(--muted);
  font-size: 13px;
}
dialog .eyebrow {
  font-size: 9px;
}
dialog .primary,
dialog .secondary {
  margin: 6px 8px 6px 0;
  font-size: 12px;
  padding: 12px 17px;
  gap: 20px;
}
.detail-price {
  background: var(--sage);
  padding: 18px 21px;
  border-radius: 5px;
  margin: 20px 0;
}
.detail-price p {
  margin: 0 0 5px;
}
.detail-price strong {
  font-size: 27px;
  font-weight: 500;
}
.detail-price dl {
  display: grid;
  grid-template-columns: 1fr auto;
  font-size: 12px;
  gap: 6px;
  margin-bottom: 0;
}
.detail-price dd {
  margin: 0;
}
.detail-price dt {
  color: var(--muted);
}
.demo-note {
  background: #eee8da;
  padding: 10px 13px;
  border-radius: 4px;
  font-size: 11px !important;
  margin: 19px 0;
}
.guide-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}
.guide-choices button {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 17px;
  font-size: 13px;
  background: white;
}
.guide-choices button span {
  float: right;
}
#help-dialog label {
  display: block;
  font-size: 11px;
}
#help-dialog textarea {
  resize: vertical;
  font: inherit;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  min-height: 80px;
  border-radius: 4px;
  background: white;
  color: var(--ink);
  margin-top: 6px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  font-size: 12px;
  padding: 12px 22px;
  border-radius: 5px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 10;
}
.toast.visible {
  opacity: 1;
}
@media (min-width: 1450px) {
  .hero-art svg {
    min-height: 380px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media (max-width: 1000px) {
  .site-header,
  .hero,
  .search-section,
  .next-steps {
    padding-left: 28px;
    padding-right: 28px;
  }
  .hero {
    gap: 28px;
  }
  .hero-promises {
    flex-direction: column;
    gap: 4px;
  }
  .hero-actions {
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero-art svg {
    min-height: 330px;
  }
  .help-strip {
    margin: 0 28px;
    flex-wrap: wrap;
  }
  .help-strip > div:nth-child(2) {
    flex-basis: 70%;
  }
  .filter-bar {
    flex-wrap: wrap;
    gap: 15px;
  }
  .filter-bar > div {
    flex-basis: 100%;
  }
  .home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  nav {
    gap: 16px;
  }
  .map-topline {
    flex-wrap: wrap;
  }
  .community-addresses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .location-layout {
    grid-template-columns: 1.1fr 1fr;
  }
  .next-steps > div {
    gap: 25px;
  }
}
@media (max-width: 640px) {
  .site-header {
    padding: 18px 20px;
    gap: 15px;
    align-items: flex-start;
  }
  .brand {
    font-size: 16px;
    gap: 7px;
    letter-spacing: 1.3px;
  }
  .brand-mark {
    font-size: 29px;
  }
  .brand small {
    font-size: 6px;
    letter-spacing: 1.2px;
  }
  nav {
    gap: 9px;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 10px;
    max-width: 165px;
  }
  .nav-contact {
    font-size: 10px;
  }
  #browse-nav {
    display: none;
  }
  #saved-count {
    width: 18px;
    height: 18px;
    font-size: 9px;
  }
  .hero {
    padding: 35px 20px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: stretch;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  h1 {
    font-size: 56px;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-actions {
    margin: 23px 0 15px;
    gap: 20px;
  }
  .hero-promises {
    flex-direction: row;
    gap: 13px;
    flex-wrap: wrap;
    font-size: 9px;
  }
  .hero-art {
    border-radius: 90px 90px 4px 4px;
  }
  .hero-art svg {
    min-height: 0;
    height: 240px;
  }
  .art-note {
    left: 17px;
    bottom: 14px;
    font-size: 21px;
    padding: 9px 13px;
  }
  .art-note small {
    font-size: 8px;
  }
  .search-section {
    padding: 32px 20px;
  }
  .section-intro {
    display: block;
  }
  h2 {
    font-size: 34px;
  }
  .section-intro p:not(.eyebrow) {
    font-size: 12px;
  }
  .step-label {
    display: block;
    margin-top: 14px;
  }
  .location-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .city-panel {
    padding: 19px;
  }
  .cities {
    max-height: 224px;
  }
  #community-map {
    height: 345px;
  }
  .map-topline {
    padding: 17px;
    gap: 10px;
  }
  .map-topline strong {
    font-size: 20px;
  }
  .map-fit {
    font-size: 10px;
    padding: 8px 11px;
  }
  .map-footer {
    padding: 12px 15px;
  }
  .community-addresses {
    grid-template-columns: 1fr;
  }
  .selected-area {
    padding: 20px;
  }
  .area-next-step {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .filter-bar {
    padding: 15px;
    gap: 12px;
  }
  .filter-bar label {
    flex: 1;
    min-width: 0;
  }
  .filter-bar select {
    min-width: 0;
    width: 100%;
    font-size: 10px;
    padding: 8px 5px;
  }
  .program-tabs button {
    font-size: 10px;
    padding: 8px 9px;
  }
  .home-grid {
    grid-template-columns: 1fr;
  }
  .results-heading h3 {
    font-size: 25px;
  }
  .card-art {
    height: 210px;
  }
  .help-strip {
    margin: 10px 20px 0;
    padding: 22px;
    gap: 13px;
  }
  .help-icon {
    display: none;
  }
  .help-strip h2 {
    font-size: 29px;
  }
  .help-strip > div:nth-child(2) {
    flex-basis: 100%;
  }
  .help-strip p {
    font-size: 11px;
  }
  .next-steps {
    padding: 42px 20px;
  }
  .next-steps > div {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .next-steps article {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 0 14px;
  }
  .next-steps h3 {
    margin: 0 0 5px;
  }
  .next-steps article p {
    grid-column: 2;
    max-width: none;
    margin-bottom: 0;
  }
  footer {
    padding: 26px 20px;
    gap: 20px;
  }
  footer p {
    font-size: 23px;
  }
  footer > small {
    margin-left: 0;
    width: 100%;
    font-size: 8px;
  }
  dialog {
    padding: 28px 22px;
  }
  .dialog-art {
    height: 155px;
  }
  dialog h2 {
    font-size: 33px;
  }
  .empty-state {
    padding: 30px 20px;
  }
  .toast {
    bottom: 15px;
    width: calc(100% - 30px);
    text-align: center;
  }
  .results-top {
    font-size: 10px;
  }
}

.inventory-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 0 2px 18px;
  margin-bottom: 20px;
}
.inventory-status p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.inventory-status button {
  font-size: 11px;
  white-space: nowrap;
}
.inventory-status button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.community-application-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.photo-frame {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--sage);
}
.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-unavailable {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 12px;
  text-align: center;
  color: var(--ink);
  font-size: 13px;
}
.photo-gallery {
  margin: 16px 0 24px;
  border-radius: 5px;
}
.photo-gallery:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
.gallery-stage {
  aspect-ratio: 4 / 3;
  background: var(--sage);
  border-radius: 5px;
  overflow: hidden;
}
.gallery-panel {
  width: 100%;
  height: 100%;
}
.gallery-stage img {
  object-fit: contain;
}
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  margin: 8px 0;
}
.gallery-controls button {
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.gallery-controls button:disabled {
  opacity: 0.5;
  cursor: default;
}
.gallery-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px;
}
.gallery-thumbnails button {
  flex: 0 0 88px;
  height: 68px;
  padding: 3px;
  border: 2px solid var(--line);
  border-radius: 4px;
}
.gallery-thumbnails button[aria-pressed="true"] {
  border-color: var(--ink);
}
.gallery-thumbnails .photo-unavailable {
  padding: 2px;
  font-size: 10px;
  line-height: 1.3;
}
.gallery-hint {
  font-size: 11px;
  margin: 8px 0;
}
