.home-hero {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding: 3rem 0;
  min-height: 80vh;
  background:
    linear-gradient(180deg, rgba(36, 69, 49, 1), rgba(36, 69, 49, 0.78)),
    linear-gradient(135deg, #244531 0%, #5f876d 46%, #d3ddd3 100%),
    url(../media/home/sbc.webp) center/cover no-repeat;
  background-blend-mode: multiply, soft-light, normal;
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}

.home-hero .container {
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: center;
}

.hero-stage {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-copy {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  padding: 0;
  background: transparent;
}

@media screen and (max-width: 767px) {
  .home-hero {
    min-height: 80vh;
    border-radius: 0;
  }

  .home-hero .container,
  .hero-stage {
    flex: 1;
    min-height: 80vh;
  }
}

.search-shell,
.collection-card,
.brand-story-aside > *,
.journey-card {
  border: 1px solid var(--border-color);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.hero-kicker,
.section-label,
.collection-label,
.insight-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.section-label,
.collection-label,
.insight-label {
  color: var(--accent-dark);
}

.hero-copy h1,
.section-heading h2,
.brand-story h2 {
  font-size: clamp(3.25rem, 6vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  color: #ffffff;
}

.hero-text,
.brand-story p,
.journey-card p,
.collection-card p,
.search-footer p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-text {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions,
.brand-metrics,
.search-footer,
.section-heading,
.collection-tabs,
.journey-grid {
  display: flex;
}

.hero-actions,
.brand-metrics,
.collection-tabs {
  flex-wrap: wrap;
}

.hero-actions {
  gap: 0.85rem;
}

.search-shell {
  position: relative;
  z-index: 2;
  margin: -3.75rem auto 0;
  padding: 2rem;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(255, 255, 255, 0.95)
    ),
    linear-gradient(135deg, rgba(233, 247, 239, 0.3), rgba(255, 255, 255, 0.92));
}

.search-heading,
.search-form,
.brand-story-copy,
.brand-story-aside,
.collection-card,
.journey-card {
  display: flex;
  flex-direction: column;
}

.search-heading,
.search-form,
.brand-story-copy {
  gap: 1.25rem;
}

.search-heading {
  margin-bottom: 1.5rem;
}

.search-heading h2 {
  max-width: 46rem;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.97;
}

.search-intent {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.intent-chip,
.collection-tab {
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  background: #ffffff;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.intent-chip:hover,
.collection-tab:hover {
  transform: translateY(-1px);
}

.intent-chip.is-active,
.collection-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.search-grid-secondary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-grid-secondary[hidden] {
  display: grid;
}

.search-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.search-grid label span {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
}

.search-footer {
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.search-footer p {
  max-width: 38rem;
}

.search-more-filters {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.search-more-toggle {
  display: none;
  align-self: flex-start;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  background: #ffffff;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.featured-listings,
.property-collections,
.brand-story,
.service-journey {
  padding: 3rem 0;
}

.section-heading {
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  max-width: 45rem;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
}

.section-link,
.collection-card a {
  color: var(--accent-dark);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.featured-grid {
  display: grid;
  width: min(100%, var(--container-width));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0 auto;
}

.collection-card h3,
.journey-card h3 {
  font-size: 2.2rem;
  line-height: 0.96;
}

.collection-tabs {
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.collection-panels {
  position: relative;
}

.collection-panel {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.collection-panel.is-active {
  display: grid;
}

.collection-card {
  gap: 1rem;
  justify-content: flex-end;
  min-height: 18rem;
  padding: 1.75rem;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.48),
      rgba(255, 255, 255, 0.98)
    ),
    linear-gradient(140deg, rgba(233, 247, 239, 0.5), rgba(255, 255, 255, 0.92));
}

.brand-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.78fr);
  gap: 1.5rem;
  align-items: start;
}

.brand-story-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.brand-story-copy {
  gap: 1.5rem;
  padding: 0.5rem 0;
}

.brand-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.brand-pillars article,
.insight-card,
.quote-card {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border-color);
}

.brand-pillars strong {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 1rem;
}

.brand-pillars span,
.insight-card li span,
.quote-card span {
  color: var(--text-secondary);
  line-height: 1.7;
}

.brand-story-aside {
  gap: 1rem;
}

.brand-metrics {
  gap: 1rem;
}

.brand-metrics div {
  flex: 1;
  padding: 1rem 1.1rem;
  border-radius: 1.25rem;
  background: var(--accent-soft);
  border: 1px solid rgba(18, 152, 65, 0.12);
}

.brand-metrics strong {
  display: block;
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  line-height: 1;
}

.brand-metrics span {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.insight-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.25rem 0 0;
  margin: 0;
}

.insight-card li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.insight-card li strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
}

.quote-card {
  background: linear-gradient(145deg, #1a1a1a, #243126);
}

.quote-card p {
  color: #ffffff;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1.05;
}

.quote-card span {
  display: inline-block;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.journey-grid {
  gap: 1.25rem;
}

.journey-card {
  flex: 1;
  gap: 1rem;
  padding: 1.75rem;
}

.journey-card span {
  color: var(--accent-gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  line-height: 1;
}

@media screen and (max-width: 1100px) {
  .brand-story-layout {
    grid-template-columns: 1fr;
  }

  .search-grid,
  .featured-grid,
  .collection-panel,
  .brand-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-grid {
    flex-direction: column;
  }

  .search-shell {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .home-hero {
    padding-top: 2rem;
  }

  .home-hero::before {
    height: 28rem;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
  }

  .hero-copy,
  .search-shell {
    padding: 1.4rem;
    border-radius: 1.5rem;
  }

  .hero-copy {
    min-height: auto;
  }

  .search-shell {
    margin-top: -2rem;
    width: 100%;
  }

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

  .search-grid-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-grid-secondary[hidden] {
    display: none;
  }

  .search-more-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .search-more-filters {
    gap: 0.85rem;
  }

  .search-more-filters.is-open .search-more-toggle {
    background: var(--accent-soft);
    border-color: rgba(18, 152, 65, 0.2);
    color: var(--accent-dark);
  }

  .featured-listings > .container:has(.featured-grid),
  .property-collections > .container:has(.collection-tabs),
  .property-collections > .container:has(.collection-panels),
  .brand-story > .container:has(.brand-pillars),
  .service-journey > .container:has(.journey-grid) {
    width: 100vw;
    padding: 0;
  }

  .featured-grid {
    display: flex;
    width: 100%;
    gap: 0.65rem;
    overflow-x: auto;
    scroll-padding-left: 0.5rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .featured-grid::-webkit-scrollbar {
    display: none;
  }

  .collection-tabs {
    flex-wrap: nowrap;
    gap: 0.65rem;
    overflow-x: auto;
    padding-inline: 0.75rem;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .collection-tabs::-webkit-scrollbar {
    display: none;
  }

  .collection-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .collection-panels {
    overflow: hidden;
  }

  .collection-panel {
    gap: 0.65rem;
    overflow-x: auto;
    scroll-padding-left: 0.5rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .collection-panel.is-active {
    display: flex;
  }

  .collection-panel::-webkit-scrollbar {
    display: none;
  }

  .collection-card {
    flex: 0 0 min(85vw, 22rem);
    scroll-snap-align: start;
  }

  .collection-panel > .collection-card:first-child {
    margin-left: 1rem;
  }

  .collection-panel > .collection-card:last-child {
    margin-right: 1rem;
  }

  .brand-story-copy {
    padding: 0 1rem;
    margin-bottom: 2.5rem;
  }

  .brand-pillars {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    scroll-padding-left: 0.5rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .brand-pillars::-webkit-scrollbar {
    display: none;
  }

  .brand-pillars > article {
    flex: 0 0 min(85vw, 22rem);
    scroll-snap-align: start;
  }

  .brand-pillars > article:first-child {
    margin-left: 1rem;
  }

  .brand-pillars > article:last-child {
    margin-right: 1rem;
  }

  .brand-metrics {
    padding: 0 1rem;
    margin: 0;
  }

  .brand-metrics > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .brand-story-aside {
    padding: 0 1rem;
  }

  .journey-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    gap: 0.65rem;
    overflow-x: auto;
    scroll-padding-left: 0.5rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .journey-grid::-webkit-scrollbar {
    display: none;
  }

  .journey-card {
    flex: 0 0 min(85vw, 22rem);
    scroll-snap-align: start;
  }

  .journey-grid > .journey-card:first-child {
    margin-left: 1rem;
  }

  .journey-grid > .journey-card:last-child {
    margin-right: 1rem;
  }

  .featured-grid > .listing-card:first-child {
    margin-left: 1rem;
  }

  .featured-grid > .listing-card:last-child {
    margin-right: 1rem;
  }

  .hero-copy h1,
  .section-heading h2,
  .brand-story h2,
  .search-heading h2 {
    font-size: 2.8rem;
  }

  .section-heading,
  .search-footer,
  .brand-metrics {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-story-layout,
  .brand-story-main,
  .brand-story-copy,
  .brand-story-aside,
  .brand-pillars,
  .brand-pillars > article,
  .brand-metrics,
  .brand-metrics > div,
  .insight-card,
  .quote-card {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .brand-pillars {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-left: 0.5rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .brand-pillars > article {
    flex: 0 0 min(85vw, 22rem);
    margin-left: 0;
    margin-right: 0;
    scroll-snap-align: start;
  }

  .search-footer p {
    display: none;
  }

  .search-footer .btn {
    width: 100%;
  }

  .collection-card h3,
  .journey-card h3 {
    font-size: 1.9rem;
  }
}
