:root {
  --ink: #141414;
  --muted: #6b675f;
  --paper: #faf8f4;
  --white: #ffffff;
  --stone: #ded8cf;
  --sage: #6d7c69;
  --pine: #20352c;
  --clay: #ad7658;
  --shadow: 0 24px 70px rgba(20, 20, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 230px 1fr 230px;
  align-items: stretch;
  width: 100%;
  min-height: 104px;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease, min-height 180ms ease;
}

body.admin-bar .site-header {
  top: 32px;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(250, 248, 244, 0.94);
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.08);
  backdrop-filter: blur(18px);
  min-height: 82px;
}

.brand-text {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  padding: 16px 18px;
  color: inherit;
  line-height: 1;
  text-transform: uppercase;
}

.brand-text span {
  font-family: Alta, "Alta", Georgia, "Times New Roman", serif;
  max-width: none;
  font-size: clamp(1.08rem, 1.55vw, 1.45rem);
  font-weight: 300;
  letter-spacing: 0.2rem;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.brand-text small {
  color: currentColor;
  font-family: Alta, "Alta", Georgia, "Times New Roman", serif;
  font-size: clamp(0.46rem, 0.62vw, 0.6rem);
  font-weight: 800;
  letter-spacing: 0.32rem;
}

.site-header.is-scrolled .brand-text {
  gap: 8px;
}

.site-header.is-scrolled .brand-text span {
  max-width: none;
  font-size: clamp(0.96rem, 1.3vw, 1.18rem);
  line-height: 1;
}

.site-header.is-scrolled .brand-text small {
  font-size: 0.46rem;
  letter-spacing: 0.3rem;
}

.site-nav {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  font-family: Alta, "Alta", Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06rem;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 8px clamp(12px, 1.6vw, 22px);
}

.site-nav a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.36);
}

.site-header.is-scrolled .site-nav a + a {
  border-left-color: rgba(20, 20, 20, 0.22);
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  grid-column: 3;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-self: stretch;
  padding-right: 0;
}

.header-actions::after {
  display: none;
}

.header-actions a {
  display: grid;
  place-items: center;
  min-height: 100%;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: inherit;
}

.site-header.is-scrolled .header-actions a {
  border-left-color: rgba(20, 20, 20, 0.14);
}

.header-actions svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.header-actions a:hover,
.header-actions a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background:
    url("assets/lake-coeur-dalene-hero.jpg")
    center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(rgba(8, 12, 11, 0.24), rgba(8, 12, 11, 0.34)),
    rgba(35, 42, 39, 0.38);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0 clamp(20px, 4vw, 72px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0d0bb;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.04;
}

h1 {
  max-width: none;
  font-size: clamp(2.8rem, 5.4vw, 5.4rem);
  font-family: Alta, "Alta", Georgia, "Times New Roman", serif;
  letter-spacing: clamp(0.14rem, 0.56vw, 0.515rem);
  white-space: nowrap;
  text-transform: uppercase;
  text-shadow: 0 5px 12px rgba(20, 20, 20, 0.26);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 400;
}

.hero-content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 26px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.16rem;
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(20, 20, 20, 0.28);
}

.hero-actions {
  display: none;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.social-rail {
  position: absolute;
  top: 124px;
  right: clamp(18px, 3.6vw, 54px);
  z-index: 4;
  display: flex;
  gap: 14px;
}

.social-rail a {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(20, 20, 20, 0.12);
}

.social-rail svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 14px 22px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: var(--white);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.64);
}

.button-dark {
  color: var(--white);
  background: var(--pine);
}

.button-outline {
  color: var(--pine);
  border-color: var(--pine);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  color: var(--white);
}

.intro-item {
  min-height: 154px;
  padding: clamp(28px, 4vw, 46px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.intro-item:last-child {
  border-right: 0;
}

.intro-item strong {
  display: block;
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.intro-item span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

section {
  scroll-margin-top: 92px;
}

.feature-section,
.communities-section,
.contact-section {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.section-heading {
  width: min(1020px, 100%);
  margin: 0 auto 38px;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading.split a {
  color: var(--pine);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 7px;
}

.search-panel {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr auto;
  gap: 14px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--stone);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 14px;
  font-size: 0.98rem;
  text-transform: none;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.listing-card {
  background: var(--white);
  box-shadow: 0 16px 44px rgba(20, 20, 20, 0.08);
}

.listing-card img {
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
}

.listing-copy {
  padding: 22px;
}

.listing-copy p {
  margin: 0 0 10px;
  color: var(--sage);
  font-weight: 900;
}

.listing-copy span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.empty-listings {
  display: grid;
  gap: 22px;
  width: min(820px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
  justify-items: start;
}

.empty-listings p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.listing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lifestyle-section {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  min-height: 680px;
  background: var(--white);
}

.lifestyle-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.lifestyle-copy {
  align-self: center;
  padding: clamp(40px, 7vw, 92px);
}

.lifestyle-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 22px 0 30px;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: min(1180px, 100%);
  margin: 0 auto;
  background: transparent;
}

.community-grid article {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 28px;
  background-position: center;
  background-size: cover;
  color: var(--white);
  cursor: default;
  isolation: isolate;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.community-grid article::before,
.community-grid article::after {
  position: absolute;
  inset: 0;
  content: "";
  z-index: -1;
  transition: opacity 220ms ease;
}

.community-grid article::before {
  background: linear-gradient(180deg, rgba(8, 12, 11, 0.24), rgba(8, 12, 11, 0.82));
}

.community-grid article::after {
  border: 1px solid rgba(255, 255, 255, 0.68);
  opacity: 0;
}

.community-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(20, 20, 20, 0.22);
  filter: saturate(1.08);
}

.community-grid article:hover::before {
  opacity: 0.9;
}

.community-grid article:hover::after {
  opacity: 1;
}

.community-cda {
  background-image: url("assets/community-cda.jpg");
}

.community-hayden {
  background-image: url("assets/community-hayden.jpg");
}

.community-sandpoint {
  background-image: url("assets/community-sandpoint.jpg");
}

.community-postfalls {
  background-image: url("assets/community-postfalls.jpg");
}

.community-grid span {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

.community-grid h3 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.58);
}

.community-grid p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  line-height: 1.62;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.48);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(34px, 6vw, 116px);
  align-items: start;
  padding: clamp(88px, 10vw, 138px) clamp(24px, 6vw, 104px);
  background:
    radial-gradient(circle at 16px 16px, rgba(20, 20, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, #f4f1eb 0%, var(--paper) 55%, #f7f4ee 100%);
  background-size: 10px 10px, auto;
  color: var(--ink);
  overflow: visible;
}

.about-portrait {
  grid-column: 1;
  align-self: start;
  justify-self: center;
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 24px 70px rgba(20, 20, 20, 0.2);
}

.about-portrait::before {
  position: absolute;
  inset: -40px -48px auto 48px;
  height: 44%;
  content: "";
  background: var(--ink);
  z-index: -1;
}

.about-portrait img,
.about-portrait video {
  width: auto;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.about-portrait video {
  display: block;
  position: relative;
  left: 50%;
  background: transparent;
  transform: translateX(-50%);
}

.about-copy {
  grid-column: 2;
  max-width: 820px;
  padding-top: 6px;
}

.about-title {
  position: relative;
  margin-bottom: clamp(26px, 4vw, 44px);
  padding-left: 38px;
}

.about-title::before {
  position: absolute;
  top: 0;
  bottom: 6px;
  left: 0;
  width: 1px;
  content: "";
  background: var(--ink);
}

.about-title p {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.48rem;
  text-transform: uppercase;
}

.about-title h2 {
  font-size: clamp(1.45rem, 1.85vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.about-copy p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.72;
  margin: 0 0 18px;
}

.about-copy .eyebrow {
  margin-bottom: 18px;
}

.stats {
  display: grid;
  gap: 16px;
}

.stats div {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stats strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  font-weight: 400;
}

.stats span {
  color: rgba(255, 255, 255, 0.72);
}

.testimonial-section {
  padding: clamp(74px, 10vw, 132px) clamp(20px, 14vw, 180px);
  text-align: center;
  background: var(--white);
}

.quote-mark {
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  line-height: 0.8;
}

blockquote {
  max-width: 960px;
  margin: 0 auto 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.4vw, 4.5rem);
  line-height: 1.1;
}

.testimonial-section p {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}

.contact-section {
  background:
    linear-gradient(rgba(20, 20, 20, 0.5), rgba(20, 20, 20, 0.5)),
    url("assets/cda-resort-contact.jpg")
    center / cover no-repeat;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(28px, 5vw, 62px);
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 58px);
  background: rgba(250, 248, 244, 0.95);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-family: Alta, "Alta", Georgia, "Times New Roman", serif;
  letter-spacing: 0.04rem;
}

.contact-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 15px;
}

.site-footer {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 34px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.site-footer img {
  width: 140px;
  background: var(--white);
  padding: 8px;
}

.site-footer p {
  margin: 0 0 6px;
  font-weight: 800;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.65);
}

.site-footer small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  line-height: 1.5;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 170px 1fr 210px;
    min-height: 82px;
  }

  .brand-text {
    grid-column: 1;
    padding: 18px 16px;
    justify-items: center;
  }

  .brand-text span,
  .site-header.is-scrolled .brand-text span {
    max-width: none;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 0.16rem;
    text-align: center;
    white-space: nowrap;
  }

  .brand-text small {
    font-size: 0.42rem;
    letter-spacing: 0.24rem;
  }

  .header-actions {
    grid-column: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-right: 0;
  }

  .social-rail {
    top: 100px;
    right: 24px;
  }

  .site-nav {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    font-size: 0.72rem;
    letter-spacing: 0.04rem;
  }

  .site-nav a {
    width: auto;
    padding: 8px 10px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .about-section {
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 28px;
    padding-right: 28px;
    padding-left: 28px;
  }

  .about-portrait {
    width: min(300px, 100%);
  }

  .about-title {
    padding-left: 28px;
  }

  .about-title h2 {
    font-size: clamp(1.35rem, 3vw, 1.8rem);
  }

  .about-copy p:not(.eyebrow) {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .intro-band,
  .listing-grid,
  .community-grid,
  .contact-card,
  .lifestyle-section {
    grid-template-columns: 1fr;
  }

  .intro-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .search-panel {
    grid-template-columns: 1fr;
  }

  .section-heading.split {
    align-items: start;
    flex-direction: column;
  }

  .community-grid article {
    min-height: 210px;
  }

  .lifestyle-image img {
    min-height: 400px;
  }

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

@media (max-width: 760px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .site-header {
    grid-template-columns: 1fr;
    align-content: center;
    min-height: 112px;
  }

  .site-header.is-scrolled {
    min-height: 104px;
  }

  .brand-text,
  .site-header.is-scrolled .brand-text {
    grid-column: 1;
    grid-row: 1;
    padding: 12px 16px 8px;
  }

  .brand-text span,
  .site-header.is-scrolled .brand-text span {
    font-size: 1rem;
    letter-spacing: 0.16rem;
  }

  .brand-text small,
  .site-header.is-scrolled .brand-text small {
    font-size: 0.42rem;
    letter-spacing: 0.24rem;
  }

  .site-nav {
    grid-column: 1;
    grid-row: 2;
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding: 0 8px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    box-shadow: none;
    color: inherit;
    font-size: 0.68rem;
    letter-spacing: 0.02rem;
  }

  .site-nav a {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding: 9px 4px 0;
    text-align: center;
  }

  .site-nav a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    border-top: 0;
  }

  .site-header.is-scrolled .site-nav {
    border-top-color: rgba(20, 20, 20, 0.12);
  }

  .site-header.is-scrolled .site-nav a + a {
    border-left-color: rgba(20, 20, 20, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-actions {
    display: none;
  }

  .social-rail {
    top: 130px;
    right: 50%;
    transform: translateX(50%);
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .about-portrait {
    width: min(320px, 100%);
    margin: 0 auto;
  }

  .about-copy {
    grid-column: 1;
    max-width: 100%;
    padding-top: 0;
  }

  .about-title {
    margin-bottom: 24px;
  }

  .about-copy p:not(.eyebrow) {
    font-size: 0.96rem;
    line-height: 1.68;
  }
}

@media (max-width: 620px) {
  .site-header {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .brand-text {
    min-width: 0;
    padding: 12px 16px 8px;
  }

  .brand-text span {
    max-width: none;
    font-size: 0.96rem;
    letter-spacing: 0.14rem;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    width: 100%;
    margin: 0 auto;
    padding: 0 12px;
  }

  .social-rail {
    top: 126px;
    right: 50%;
    gap: 10px;
    transform: translateX(50%);
  }

  .social-rail a {
    width: 40px;
    height: 40px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(1.38rem, 7.4vw, 2.15rem);
    letter-spacing: clamp(0.06rem, 1.2vw, 0.16rem);
    white-space: nowrap;
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 2.8rem);
  }

  .search-section,
  .feature-section,
  .communities-section,
  .contact-section,
  .about-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .contact-card {
    padding: 24px 18px;
  }

  .contact-card h2 {
    font-size: clamp(1.75rem, 9vw, 2.55rem);
  }

  .community-grid article {
    min-height: 260px;
    padding: 24px;
  }

  .empty-listings {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 390px) {
  .site-nav {
    font-size: 0.6rem;
  }

  h1 {
    font-size: clamp(1.18rem, 7vw, 1.55rem);
    letter-spacing: 0.06rem;
  }

  .social-rail a {
    width: 38px;
    height: 38px;
  }

  .about-portrait {
    width: min(300px, 100%);
  }
}
