/*
 * Ethos Homepage Master
 * Homepage-scoped design layer. Interior page layouts remain unchanged.
 */

.ethos-home-master {
  --home-ink: var(--ink);
  --home-ink-2: var(--ink-2);
  --home-paper: var(--paper);
  --home-paper-2: var(--paper-2);
  --home-gold: var(--gold);
  --home-border: rgba(10, 10, 10, 0.16);
  background: var(--home-paper);
  color: var(--home-ink);
  overflow: clip;
}

.ethos-home-master *,
.ethos-home-master *::before,
.ethos-home-master *::after {
  box-sizing: border-box;
}

.ethos-home-master .container {
  width: min(100% - 48px, 1440px);
}

.ethos-home-master .eyebrow {
  color: currentColor;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.4;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.ethos-home-master h1,
.ethos-home-master h2,
.ethos-home-master h3,
.ethos-home-master p {
  margin-top: 0;
}

.ethos-home-master h2 {
  color: inherit;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.4vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.ethos-home-master a:focus-visible,
.ethos-home-master button:focus-visible,
.ethos-home-master input:focus-visible {
  outline: 2px solid var(--home-gold);
  outline-offset: 4px;
}

.ethos-home-master .reveal {
  transition-delay: var(--ethos-stagger, 0ms);
}

.has-js .ethos-home-master .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 600ms cubic-bezier(0.22, 1, 0.36, 1) var(--ethos-stagger, 0ms),
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1) var(--ethos-stagger, 0ms);
}

.has-js .ethos-home-master .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ethos-button.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 0;
  display: inline-flex;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  height: 52px;
  justify-content: center;
  letter-spacing: 0.12em;
  min-width: 180px;
  padding: 0 28px;
  text-transform: uppercase;
  transition:
    background-color 250ms ease,
    border-color 250ms ease,
    color 250ms ease,
    transform 250ms ease;
}

.ethos-button.button:hover {
  transform: translateY(-2px);
}

.ethos-button--gold.button {
  background: var(--home-gold);
  border-color: var(--home-gold);
  color: var(--home-ink);
}

.ethos-button--gold.button:hover,
.ethos-button--gold.button:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--home-ink);
}

.ethos-button--light.button {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.68);
  color: var(--paper);
}

.ethos-button--light.button:hover,
.ethos-button--light.button:focus-visible {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--home-ink);
}

.ethos-home-text-link {
  align-items: center;
  color: var(--home-ink);
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  gap: 12px;
  letter-spacing: 0.16em;
  line-height: 1.4;
  padding-bottom: 8px;
  position: relative;
  text-transform: uppercase;
}

.ethos-home-text-link::after {
  background: currentColor;
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform-origin: left;
  transition: transform 300ms ease;
  width: 100%;
}

.ethos-home-text-link:hover::after {
  transform: scaleX(0.42);
}

.ethos-home-text-link--light {
  color: var(--paper);
}

/* Shared logo treatment. */

.site-brand--ethos {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.site-brand--ethos img {
  border-radius: 0;
  display: block;
  height: 58px;
  object-fit: contain;
  width: 58px;
}

.site-header.is-scrolled .site-brand--ethos img,
.site-header--dark-solid .site-brand--ethos img,
.site-header--over-hero .site-brand--ethos img {
  filter: none;
}

/* 01. Hero */

.ethos-home-hero.home-hero {
  align-items: stretch;
  background: var(--home-ink);
  color: var(--paper);
  display: flex;
  min-height: max(760px, 100svh);
  overflow: hidden;
  position: relative;
}

.ethos-home-hero.home-hero::before {
  display: none;
}

.ethos-home-hero__media.home-hero__media {
  background-image: url("/wp-content/themes/ethos-r46/assets/images/2026-07-28-ethos-california-alabama-dual-estate-hero-desktop-r8.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  inset: 0;
  position: absolute;
  transform: scale(1.025);
}

.ethos-home-hero__video.home-hero__video {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  position: absolute;
  transform: scale(1.06);
  transition:
    opacity 800ms ease,
    transform 1600ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.ethos-home-hero.is-film-revealed .ethos-home-hero__video {
  opacity: 1;
  transform: scale(1);
}

.ethos-home-hero.is-film-fallback .ethos-home-hero__video {
  display: none;
}

.ethos-home-hero__scrim {
  background: linear-gradient(105deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.55) 55%, rgba(10, 10, 12, 0.35) 100%);
  inset: 0;
  position: absolute;
  z-index: 1;
}

.ethos-home-hero__inner {
  align-items: flex-end;
  display: flex;
  min-height: max(760px, 100svh);
  padding-bottom: clamp(90px, 11vh, 144px);
  padding-top: 180px;
  position: relative;
  z-index: 2;
}

.ethos-home-hero__content {
  max-width: 820px;
}

.ethos-home-hero .ethos-home-hero__eyebrow {
  color: var(--home-gold);
  opacity: 0;
  transform: translateY(8px);
  animation: ethos-home-rise 700ms 100ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ethos-home-hero h1 {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0;
  max-width: 760px;
}

.ethos-home-hero__line {
  display: block;
  opacity: 0;
  overflow: hidden;
  transform: translateY(24px);
  animation: ethos-home-rise 850ms 220ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ethos-home-hero__line + .ethos-home-hero__line {
  animation-delay: 340ms;
}

.ethos-home-hero__subhead {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65;
  margin: 26px 0 32px;
  max-width: 610px;
  opacity: 0;
  transform: translateY(14px);
  animation: ethos-home-rise 700ms 500ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ethos-home-hero__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  opacity: 0;
  transform: translateY(14px);
  animation: ethos-home-rise 700ms 620ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ethos-home-hero__advisor-link {
  align-items: center;
  color: var(--paper);
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  gap: 10px;
  letter-spacing: 0.14em;
  margin-left: 12px;
  padding: 16px 0;
  text-transform: uppercase;
}

.ethos-home-hero__advisor-link span {
  color: var(--home-gold);
  transition: transform 250ms ease;
}

.ethos-home-hero__advisor-link:hover span {
  transform: translateX(5px);
}

.ethos-home-hero__market {
  bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 9px;
  left: 50%;
  letter-spacing: 0.28em;
  position: absolute;
  text-transform: uppercase;
  transform: translateX(-50%);
  z-index: 2;
}

.ethos-home-hero__market span {
  color: var(--home-gold);
  margin: 0 10px;
}

.ethos-home-hero__film-toggle.hero-film-toggle {
  bottom: 28px;
  color: var(--paper);
  opacity: 0.42;
  right: 28px;
  transition: opacity 200ms ease;
  z-index: 3;
}

.ethos-home-hero__film-toggle.hero-film-toggle:hover,
.ethos-home-hero__film-toggle.hero-film-toggle:focus-visible {
  opacity: 1;
}

@keyframes ethos-home-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 02. Proof */

.ethos-home-proof {
  background: var(--home-paper);
  border-bottom: 1px solid var(--home-border);
  padding: 70px 0 26px;
  text-align: center;
}

.ethos-home-proof__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 980px;
}

.ethos-home-proof__item {
  min-height: 126px;
  padding: 0 34px;
}

.ethos-home-proof__item + .ethos-home-proof__item {
  border-left: 1px solid var(--home-border);
}

.ethos-home-proof__item strong {
  color: var(--home-ink);
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 5.1vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.ethos-home-proof__item span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-top: 24px;
  text-transform: uppercase;
}

.ethos-home-proof__source {
  color: rgba(10, 10, 10, 0.54);
  font-size: 10px;
  letter-spacing: 0.04em;
  margin: 24px 0 0;
}

/* 03. Manifesto */

.ethos-home-manifesto {
  background: var(--home-paper-2);
  padding: clamp(110px, 12vw, 180px) 0;
}

.ethos-home-manifesto__grid {
  align-items: start;
  display: grid;
  gap: clamp(80px, 11vw, 180px);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.ethos-home-manifesto__heading {
  position: sticky;
  top: 150px;
}

.ethos-home-manifesto__heading h2 {
  font-size: clamp(2.75rem, 4.6vw, 5.2rem);
  margin-bottom: 38px;
}

.ethos-home-rule {
  background: var(--home-gold);
  display: block;
  height: 1px;
  width: 46px;
}

.ethos-home-manifesto__copy {
  padding-top: clamp(44px, 5vw, 82px);
}

.ethos-home-manifesto__copy p {
  color: rgba(10, 10, 10, 0.72);
  font-size: clamp(1.04rem, 1.35vw, 1.25rem);
  line-height: 1.85;
  margin-bottom: 30px;
  max-width: 720px;
}

.ethos-home-manifesto__copy .ethos-home-manifesto__lead {
  color: var(--home-ink);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.5vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 42px;
}

.ethos-home-manifesto__copy .ethos-home-text-link {
  margin-top: 16px;
}

/* 04. Markets */

.ethos-home-markets {
  background: var(--home-ink);
  color: var(--paper);
  padding: clamp(96px, 10vw, 150px) 0 80px;
}

.ethos-home-markets__heading {
  align-items: end;
  display: grid;
  gap: 64px;
  grid-template-columns: 1fr minmax(300px, 0.55fr);
  margin-bottom: 58px;
}

.ethos-home-markets__heading .eyebrow {
  color: var(--home-gold);
}

.ethos-home-markets__heading h2 {
  color: var(--paper);
  margin-bottom: 0;
}

.ethos-home-markets__heading > p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 8px;
  max-width: 470px;
}

.ethos-home-markets__map {
  background: var(--home-ink-2);
  border-bottom: 1px solid rgba(201, 169, 110, 0.38);
  border-top: 1px solid rgba(201, 169, 110, 0.38);
  overflow: hidden;
}

.ethos-home-markets__map .ethos-coverage {
  filter: grayscale(0.28) saturate(0.78) contrast(1.06);
  margin: 0;
  max-width: none;
  width: 100%;
}

.ethos-home-markets__map #ethosSatMap {
  min-height: 620px;
}

.ethos-home-markets__fallback {
  min-height: 520px;
  padding-bottom: 120px;
  padding-top: 120px;
}

.ethos-home-markets__mobile-list {
  display: none;
}

.ethos-home-markets__footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 42px;
}

/* 05. Lifestyle */

.ethos-home-lifestyles {
  background: var(--home-paper);
  padding: clamp(110px, 12vw, 170px) 0;
}

.ethos-home-section-heading {
  align-items: end;
  display: grid;
  gap: 60px;
  grid-template-columns: 1fr minmax(280px, 0.48fr);
  margin-bottom: 56px;
}

.ethos-home-section-heading h2 {
  margin: 0;
}

.ethos-home-section-heading > p {
  color: rgba(10, 10, 10, 0.65);
  line-height: 1.7;
  margin: 0 0 8px;
  max-width: 430px;
}

.ethos-home-lifestyles__grid {
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(3, 1fr);
}

.ethos-home-lifestyle {
  aspect-ratio: 1.22 / 1;
  background: var(--home-ink-2);
  color: var(--paper);
  display: block;
  overflow: hidden;
  position: relative;
}

.ethos-home-lifestyle picture,
.ethos-home-lifestyle img {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.ethos-home-lifestyle img {
  object-fit: cover;
  transform: scale(1.015);
  transition:
    filter 700ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ethos-home-lifestyle__shade {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.04) 28%, rgba(10, 10, 10, 0.86) 100%);
  inset: 0;
  position: absolute;
}

.ethos-home-lifestyle__copy {
  bottom: 28px;
  left: 30px;
  position: absolute;
  right: 70px;
}

.ethos-home-lifestyle__copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.1vw, 2.25rem);
  font-weight: 500;
  line-height: 1.1;
}

.ethos-home-lifestyle__copy small {
  color: rgba(255, 255, 255, 0.78);
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  margin-top: 9px;
  text-transform: uppercase;
}

.ethos-home-lifestyle__arrow {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  bottom: 26px;
  display: grid;
  height: 38px;
  place-items: center;
  position: absolute;
  right: 26px;
  transition:
    background 250ms ease,
    color 250ms ease,
    transform 250ms ease;
  width: 38px;
}

.ethos-home-lifestyle:hover img {
  filter: brightness(0.86);
  transform: scale(1.06);
}

.ethos-home-lifestyle:hover .ethos-home-lifestyle__arrow {
  background: var(--home-gold);
  color: var(--home-ink);
  transform: rotate(45deg);
}

.ethos-home-fit {
  align-items: center;
  background: var(--home-ink);
  color: var(--paper);
  display: flex;
  justify-content: space-between;
  margin-top: 2px;
  min-height: 164px;
  padding: 38px 46px;
}

.ethos-home-fit small {
  color: var(--home-gold);
  display: block;
  font-size: 10px;
  letter-spacing: 0.17em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.ethos-home-fit strong {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 3.3rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.ethos-home-fit > span:last-child {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.44);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  gap: 22px;
  height: 52px;
  letter-spacing: 0.14em;
  padding: 0 24px;
  text-transform: uppercase;
  transition:
    background 250ms ease,
    border-color 250ms ease,
    color 250ms ease;
}

.ethos-home-fit:hover > span:last-child {
  background: var(--home-gold);
  border-color: var(--home-gold);
  color: var(--home-ink);
}

/* 06. Advisors */

.ethos-home-advisors {
  background: var(--home-paper-2);
  padding: clamp(110px, 12vw, 170px) 0;
}

.ethos-home-advisors__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, 1fr);
}

.ethos-home-advisor {
  min-width: 0;
}

.ethos-home-advisor__portrait {
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  display: block;
  overflow: hidden;
}

.ethos-home-advisor__portrait img {
  filter: grayscale(1);
  height: 100%;
  object-fit: cover;
  transition:
    filter 500ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.ethos-home-advisor:hover .ethos-home-advisor__portrait img {
  filter: grayscale(0);
  transform: scale(1.025);
}

.ethos-home-advisor__details {
  border-bottom: 1px solid var(--home-border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 2px 18px;
}

.ethos-home-advisor__details strong {
  color: var(--home-ink);
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.65vw, 1.75rem);
  font-weight: 500;
  line-height: 1.08;
}

.ethos-home-advisor__details small {
  color: rgba(10, 10, 10, 0.58);
  display: block;
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin-top: 8px;
  text-transform: uppercase;
}

.ethos-home-advisor__details > a:last-child {
  color: var(--home-ink);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.ethos-home-advisor--all {
  aspect-ratio: 4 / 5;
  background: var(--home-ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
}

.ethos-home-advisor--all small {
  color: var(--home-gold);
  display: block;
  font-size: 9px;
  letter-spacing: 0.15em;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.ethos-home-advisor--all strong {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.ethos-home-advisor--all > span:last-child {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  font-size: 10px;
  font-weight: 600;
  justify-content: space-between;
  letter-spacing: 0.14em;
  padding-top: 18px;
  text-transform: uppercase;
}

.ethos-home-advisor--all b {
  color: var(--home-gold);
  font-weight: 400;
  transition: transform 250ms ease;
}

.ethos-home-advisor--all:hover b {
  transform: translateX(5px);
}

.ethos-home-advisors__recruit {
  color: rgba(10, 10, 10, 0.64);
  font-size: 0.95rem;
  margin: 42px 0 0;
  text-align: center;
}

.ethos-home-advisors__recruit a {
  color: var(--home-ink);
  text-decoration: underline;
  text-decoration-color: var(--home-gold);
  text-underline-offset: 5px;
}

/* 07. Sell + Private */

.ethos-home-sell {
  background: var(--home-ink);
  color: var(--paper);
}

.ethos-home-sell__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
  width: min(100%, 1600px) !important;
}

.ethos-home-sell__valuation,
.ethos-home-sell__private {
  padding: clamp(88px, 8vw, 130px) clamp(36px, 6vw, 96px);
}

.ethos-home-sell__valuation {
  border-right: 1px solid rgba(201, 169, 110, 0.36);
}

.ethos-home-sell .eyebrow {
  color: var(--home-gold);
}

.ethos-home-sell h2,
.ethos-home-sell h3 {
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.ethos-home-sell h2 {
  margin-bottom: 20px;
}

.ethos-home-sell h3 {
  font-size: clamp(2rem, 3.1vw, 3.6rem);
  line-height: 1.04;
  margin-bottom: 24px;
}

.ethos-home-sell p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  max-width: 640px;
}

.ethos-home-sell__form {
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  margin-top: 48px;
  max-width: 780px;
}

.ethos-home-sell__form input {
  background: transparent;
  border: 0;
  color: var(--paper);
  flex: 1 1 auto;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2.15rem);
  min-width: 0;
  padding: 16px 4px 18px;
}

.ethos-home-sell__form input::placeholder {
  color: rgba(255, 255, 255, 0.78);
}

.ethos-home-sell__form button {
  background: transparent;
  border: 0;
  color: var(--paper);
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 0 4px 0 28px;
  text-transform: uppercase;
}

.ethos-home-sell__form button span {
  color: var(--home-gold);
  margin-left: 12px;
}

.ethos-home-sell__private {
  align-self: center;
}

.ethos-home-sell__private .ethos-home-text-link {
  margin-top: 20px;
}

/* 08. Reviews */

.ethos-home-reviews {
  background: var(--home-paper);
  padding: clamp(110px, 12vw, 170px) 0;
}

.ethos-home-reviews__top {
  align-items: end;
  border-bottom: 1px solid var(--home-border);
  display: flex;
  justify-content: space-between;
  padding-bottom: 38px;
}

.ethos-home-reviews__top h2 {
  margin: 0;
}

.ethos-home-reviews__aggregate {
  align-items: flex-end;
  display: flex;
  gap: 18px;
  padding-bottom: 7px;
}

.ethos-home-reviews__aggregate strong {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 500;
  line-height: 0.8;
}

.ethos-home-reviews__aggregate span {
  color: rgba(10, 10, 10, 0.58);
  font-size: 9px;
  letter-spacing: 0.14em;
  max-width: 110px;
  text-transform: uppercase;
}

.ethos-home-reviews__carousel {
  padding-top: 56px;
}

.ethos-home-reviews__slides {
  min-height: 300px;
  position: relative;
}

.ethos-home-review {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateY(8px);
  transition:
    opacity 450ms ease,
    transform 450ms ease;
  visibility: hidden;
}

.ethos-home-review.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.ethos-home-review blockquote {
  color: var(--home-ink);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.3vw, 4.9rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0;
  max-width: 1160px;
}

.ethos-home-review footer {
  align-items: center;
  display: flex;
  font-size: 10px;
  gap: 14px;
  letter-spacing: 0.08em;
  margin-top: 42px;
  text-transform: uppercase;
}

.ethos-home-review footer cite {
  font-style: normal;
  font-weight: 700;
}

.ethos-home-review footer span {
  color: rgba(10, 10, 10, 0.55);
}

.ethos-home-review footer a {
  color: var(--home-ink);
  margin-left: 12px;
  text-decoration: underline;
  text-decoration-color: var(--home-gold);
  text-underline-offset: 4px;
}

.ethos-home-reviews__controls {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 30px;
}

.ethos-home-reviews__controls button {
  background: transparent;
  border: 1px solid var(--home-border);
  border-radius: 50%;
  color: var(--home-ink);
  display: grid;
  height: 42px;
  place-items: center;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
  width: 42px;
}

.ethos-home-reviews__controls button:hover {
  background: var(--home-ink);
  border-color: var(--home-ink);
  color: var(--paper);
}

.ethos-home-reviews__controls span {
  color: rgba(10, 10, 10, 0.54);
  font-size: 9px;
  letter-spacing: 0.12em;
  min-width: 56px;
  text-align: center;
  text-transform: uppercase;
}

/* 09. Journal + close */

.ethos-home-journal-close {
  background: var(--home-paper-2);
}

.ethos-home-journal {
  padding: clamp(110px, 12vw, 170px) 0;
}

.ethos-home-journal .ethos-home-section-heading {
  grid-template-columns: 1fr auto;
}

.ethos-home-journal__grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.ethos-home-journal-card > a {
  color: var(--home-ink);
  display: block;
}

.ethos-home-journal-card img {
  aspect-ratio: 1.42 / 1;
  display: block;
  filter: grayscale(1);
  object-fit: cover;
  transition:
    filter 500ms ease,
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.ethos-home-journal-card:hover img {
  filter: grayscale(0.15);
  transform: translateY(-4px);
}

.ethos-home-journal-card__meta {
  color: rgba(10, 10, 10, 0.5);
  display: block;
  font-size: 9px;
  letter-spacing: 0.12em;
  margin-top: 20px;
  text-transform: uppercase;
}

.ethos-home-journal-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.15vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.13;
  margin: 12px 0 22px;
}

.ethos-home-journal-card .ethos-home-text-link {
  font-size: 9px;
}

.ethos-home-close {
  background: var(--home-ink);
  color: var(--paper);
  min-height: 650px;
  position: relative;
}

.ethos-home-close::before {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.98), rgba(10, 10, 10, 0.68)),
    url("/wp-content/themes/ethos-r46/assets/images/2026-07-27-ethos-closing-cta-background-r6.jpg") center / cover no-repeat;
  content: "";
  inset: 0;
  opacity: 0.72;
  position: absolute;
}

.ethos-home-close__inner {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  min-height: 650px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.ethos-home-close__inner > img {
  border-radius: 0;
  height: 96px;
  margin-bottom: 38px;
  object-fit: contain;
  width: 96px;
}

.ethos-home-close .eyebrow {
  color: var(--home-gold);
}

.ethos-home-close h2 {
  color: var(--paper);
  margin-bottom: 25px;
}

.ethos-home-close p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 600px;
}

/* Footer refinements shared by the approved homepage brand system. */

.site-footer__logo {
  border-radius: 0;
  display: block;
  height: 112px;
  margin-bottom: 24px;
  object-fit: contain;
  width: 112px;
}

.site-footer__licenses {
  color: rgba(255, 255, 255, 0.78);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  margin: 5px 0 0;
  text-transform: uppercase;
}

/* Responsive */

@media (max-width: 1180px) {
  .ethos-home-advisors__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ethos-home-advisor--all {
    aspect-ratio: auto;
    min-height: 420px;
  }

  .ethos-home-lifestyle {
    aspect-ratio: 1.08 / 1;
  }
}

@media (max-width: 820px) {
  .ethos-home-master {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }

  .ethos-home-master .container {
    width: min(100% - 36px, 680px);
  }

  .ethos-home-master h2 {
    font-size: clamp(2.45rem, 11vw, 4rem);
  }

  .site-header--over-hero .site-header__inner {
    min-height: 72px;
  }

  .site-brand--ethos,
  .site-brand--ethos img {
    height: 48px;
    width: 48px;
  }

  .ethos-home-hero.home-hero {
    min-height: 100svh;
  }

  .ethos-home-hero__media.home-hero__media {
    background-image: url("/wp-content/themes/ethos-r46/assets/images/2026-07-28-ethos-california-alabama-dual-estate-hero-mobile-r8.jpg");
    background-position: 50% center;
    transform: none;
  }

  .ethos-home-hero__video.home-hero__video {
    display: none;
  }

  .ethos-home-hero__scrim {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.44) 0%, rgba(10, 10, 10, 0.46) 34%, rgba(10, 10, 10, 0.92) 100%);
  }

  .ethos-home-hero__inner {
    align-items: flex-end;
    min-height: 100svh;
    padding-bottom: 84px;
    padding-top: 124px;
  }

  .ethos-home-hero h1 {
    font-size: clamp(2.85rem, 13vw, 4.3rem);
    line-height: 1.02;
    max-width: 10ch;
  }

  .ethos-home-hero__line {
    display: inline;
  }

  .ethos-home-hero__line:first-child::after {
    content: " ";
  }

  .ethos-home-hero__subhead {
    font-size: 1rem;
    line-height: 1.55;
    margin: 22px 0 28px;
    max-width: 31ch;
  }

  .ethos-home-hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    width: min(100%, 340px);
  }

  .ethos-home-hero__actions .ethos-button {
    width: 100%;
  }

  .ethos-home-hero__advisor-link {
    justify-content: center;
    margin: 0;
  }

  .ethos-home-hero__market,
  .ethos-home-hero__film-toggle.hero-film-toggle {
    display: none;
  }

  .ethos-home-proof {
    padding: 58px 0 22px;
  }

  .ethos-home-proof__grid {
    gap: 0;
    grid-template-columns: repeat(2, 1fr);
  }

  .ethos-home-proof__item {
    min-height: 100px;
    padding: 0 10px;
  }

  .ethos-home-proof__item strong {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .ethos-home-proof__item span {
    font-size: 8px;
    letter-spacing: 0.14em;
    line-height: 1.4;
    margin-top: 16px;
  }

  .ethos-home-proof__source {
    font-size: 8px;
    margin-top: 18px;
    padding: 0 20px;
  }

  .ethos-home-manifesto,
  .ethos-home-lifestyles,
  .ethos-home-advisors,
  .ethos-home-reviews,
  .ethos-home-journal {
    padding: 94px 0;
  }

  .ethos-home-manifesto__grid,
  .ethos-home-section-heading,
  .ethos-home-markets__heading {
    display: block;
  }

  .ethos-home-manifesto__heading {
    position: static;
  }

  .ethos-home-manifesto__heading h2 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .ethos-home-manifesto__copy {
    padding-top: 62px;
  }

  .ethos-home-manifesto__copy .ethos-home-manifesto__lead {
    font-size: 1.85rem;
  }

  .ethos-home-manifesto__copy p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .ethos-home-markets {
    padding: 94px 0 62px;
  }

  .ethos-home-markets__heading {
    margin-bottom: 50px;
  }

  .ethos-home-markets__heading > p {
    margin-top: 28px;
  }

  .ethos-home-markets__map {
    display: none;
  }

  .ethos-home-markets__mobile-list {
    display: grid;
    gap: 60px;
  }

  .ethos-home-markets__state h3 {
    border-bottom: 1px solid rgba(201, 169, 110, 0.45);
    color: var(--home-gold);
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 500;
    margin: 0;
    padding-bottom: 18px;
  }

  .ethos-home-markets__state ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .ethos-home-markets__state li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .ethos-home-markets__state a {
    align-items: center;
    color: var(--paper);
    display: flex;
    font-family: var(--font-display);
    font-size: 1.48rem;
    justify-content: space-between;
    padding: 19px 0;
  }

  .ethos-home-markets__state a span {
    color: var(--home-gold);
    font-family: var(--font-sans);
    font-size: 1rem;
  }

  .ethos-home-markets__footer {
    justify-content: flex-start;
    padding-top: 52px;
  }

  .ethos-home-section-heading {
    margin-bottom: 42px;
  }

  .ethos-home-section-heading > p {
    margin-top: 24px;
  }

  .ethos-home-lifestyles__grid {
    display: block;
  }

  .ethos-home-lifestyle {
    aspect-ratio: 1.08 / 1;
    margin-bottom: 2px;
  }

  .ethos-home-lifestyle__copy {
    bottom: 24px;
    left: 24px;
  }

  .ethos-home-lifestyle__copy strong {
    font-size: 2rem;
  }

  .ethos-home-fit {
    align-items: flex-start;
    flex-direction: column;
    gap: 34px;
    min-height: 260px;
    padding: 32px 26px;
  }

  .ethos-home-fit > span:last-child {
    justify-content: space-between;
    width: 100%;
  }

  .ethos-home-advisors__grid {
    gap: 24px 10px;
    grid-template-columns: repeat(2, 1fr);
  }

  .ethos-home-advisor__details {
    gap: 10px;
    padding: 16px 0;
  }

  .ethos-home-advisor__details strong {
    font-size: 1.35rem;
  }

  .ethos-home-advisor__details small {
    font-size: 8px;
  }

  .ethos-home-advisor--all {
    aspect-ratio: 4 / 5;
    min-height: 0;
    padding: 22px;
  }

  .ethos-home-advisor--all strong {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .ethos-home-advisors__recruit {
    line-height: 1.7;
  }

  .ethos-home-sell__grid {
    display: block;
  }

  .ethos-home-sell__valuation,
  .ethos-home-sell__private {
    padding: 82px 18px;
  }

  .ethos-home-sell__valuation {
    border-bottom: 1px solid rgba(201, 169, 110, 0.36);
    border-right: 0;
  }

  .ethos-home-sell__form {
    align-items: stretch;
    border-bottom: 0;
    flex-direction: column;
    gap: 14px;
  }

  .ethos-home-sell__form input {
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    font-size: 1.45rem;
    width: 100%;
  }

  .ethos-home-sell__form button {
    align-items: center;
    background: var(--home-gold);
    color: var(--home-ink);
    display: flex;
    height: 52px;
    justify-content: center;
    padding: 0 20px;
    width: 100%;
  }

  .ethos-home-sell__form button span {
    color: var(--home-ink);
  }

  .ethos-home-reviews__top {
    align-items: flex-start;
    flex-direction: column;
    gap: 34px;
  }

  .ethos-home-reviews__aggregate {
    align-items: center;
  }

  .ethos-home-reviews__slides {
    min-height: 370px;
  }

  .ethos-home-review blockquote {
    font-size: clamp(2.3rem, 10vw, 3.7rem);
  }

  .ethos-home-review footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .ethos-home-review footer a {
    margin: 8px 0 0;
  }

  .ethos-home-reviews__controls {
    justify-content: space-between;
  }

  .ethos-home-journal .ethos-home-section-heading {
    display: block;
  }

  .ethos-home-journal .ethos-home-section-heading .ethos-home-text-link {
    margin-top: 28px;
  }

  .ethos-home-journal__grid {
    display: block;
  }

  .ethos-home-journal-card {
    margin-bottom: 52px;
  }

  .ethos-home-journal-card:nth-child(n + 2) {
    display: none;
  }

  .ethos-home-close,
  .ethos-home-close__inner {
    min-height: 660px;
  }

  .ethos-home-close::before {
    background:
      linear-gradient(180deg, rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0.96)),
      url("/wp-content/themes/ethos-r46/assets/images/2026-07-27-ethos-closing-cta-background-r6.jpg") 62% center / cover no-repeat;
  }

  .ethos-home-close__inner {
    align-items: center;
    padding-bottom: 80px;
    padding-top: 80px;
    text-align: center;
  }

  .ethos-home-close h2 {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  .ethos-home-close .ethos-button {
    width: 100%;
  }

  .mobile-action-rail {
    height: calc(56px + env(safe-area-inset-bottom));
  }

  .mobile-action-rail a {
    min-height: 56px;
  }

  body.home .mobile-action-rail a:nth-child(2) {
    background: transparent;
    color: var(--paper);
  }

  body.home .mobile-action-rail a:last-child {
    background: var(--gold);
    color: var(--ink);
  }
}

@media (max-width: 430px) {
  .ethos-home-master .container {
    width: min(100% - 32px, 680px);
  }

  .ethos-home-hero h1 {
    font-size: clamp(2.65rem, 12.5vw, 3.5rem);
  }

  .ethos-home-proof__item span {
    letter-spacing: 0.08em;
  }

  .ethos-home-advisor--all {
    padding: 18px;
  }

  .ethos-home-advisor--all small {
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ethos-home-master *,
  .ethos-home-master *::before,
  .ethos-home-master *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .has-js .ethos-home-master .reveal {
    opacity: 1;
    transform: none;
  }
}
