/*
 * Ethos Homepage R8.4.4
 * Approved concept fidelity refinements.
 * Intentionally homepage-scoped so agent and interior-page layouts remain intact.
 */

.ethos-home-master {
  --home-ink: var(--ink);
  --home-ink-2: var(--ink);
  --home-paper: var(--paper);
  --home-paper-2: var(--paper-2);
  --home-gold: var(--gold);
  --home-border: rgba(8, 8, 8, 0.16);
}

body.home .market-ribbon {
  display: none;
}

body.home .site-header {
  height: 118px;
  top: 0;
}

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

body.home .site-header--over-hero {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0));
  border-bottom-color: transparent;
}

body.home .site-header__inner {
  min-height: 118px;
  width: min(calc(100% - 96px), 1400px);
}

body.home .site-brand--ethos,
body.home .site-brand--ethos img {
  height: 74px;
  width: 74px;
}

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

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

/* Hero */

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

.ethos-home-hero__media.home-hero__media {
  background-position: center center;
  transform: none;
}

.ethos-home-hero__video.home-hero__video {
  transform: scale(1.025);
}

.ethos-home-hero__scrim {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.84) 0%, rgba(8, 8, 8, 0.62) 36%, rgba(8, 8, 8, 0.18) 72%, rgba(8, 8, 8, 0.1) 100%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.45) 0%, rgba(8, 8, 8, 0.05) 44%, rgba(8, 8, 8, 0.55) 100%);
}

.ethos-home-hero__inner {
  padding-bottom: clamp(84px, 9vh, 124px);
  padding-top: 164px;
}

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

.ethos-home-hero .ethos-home-hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  margin-bottom: 26px;
}

.ethos-home-hero h1 {
  font-size: clamp(4.25rem, 6.2vw, 6.35rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
  max-width: 880px;
}

.ethos-home-hero__subhead {
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  line-height: 1.55;
  margin: 32px 0 34px;
}

.ethos-home-hero__actions {
  display: grid;
  gap: 14px 24px;
  grid-template-columns: repeat(2, max-content);
}

.ethos-home-hero__actions .ethos-button {
  min-width: 238px;
}

.ethos-home-hero__advisor-link {
  color: var(--home-gold);
  font-size: 16px;
  font-weight: 400;
  grid-column: 1 / -1;
  justify-self: start;
  letter-spacing: 0.01em;
  margin: 10px 0 0;
  padding: 8px 4px;
  text-transform: none;
}

.ethos-home-hero__advisor-link span {
  color: inherit;
}

.ethos-home-hero__film-toggle.hero-film-toggle {
  align-items: center;
  bottom: 38px;
  display: inline-flex;
  font-size: 10px;
  gap: 10px;
  letter-spacing: 0.16em;
  opacity: 0.62;
  right: 48px;
}

.ethos-home-hero__film-toggle.hero-film-toggle::before {
  content: "Ⅱ";
  font-size: 13px;
  letter-spacing: -0.18em;
}

/* Proof */

.ethos-home-proof {
  background: var(--home-paper);
  padding: clamp(112px, 10vw, 150px) 0 78px;
}

.ethos-home-proof__grid {
  width: min(100% - 88px, 1260px) !important;
}

.ethos-home-proof__item {
  min-height: 300px;
  padding: 0 54px;
}

.ethos-home-proof__item + .ethos-home-proof__item {
  border-left-color: var(--home-gold);
}

.ethos-home-proof__item strong {
  font-size: clamp(7.5rem, 11.5vw, 11rem);
  font-weight: 400;
  line-height: 0.78;
}

.ethos-home-proof__item span {
  font-size: 15px;
  letter-spacing: 0.16em;
  margin-top: 58px;
}

.ethos-home-proof__source {
  align-items: center;
  color: var(--home-ink);
  display: flex;
  font-size: 14px;
  gap: 34px;
  justify-content: center;
  letter-spacing: 0.06em;
  margin-top: 52px;
}

.ethos-home-proof__source::before {
  background: var(--home-gold);
  content: "";
  height: 42px;
  width: 1px;
}

/* Manifesto */

.ethos-home-manifesto {
  background: var(--home-paper-2);
  padding: clamp(130px, 11vw, 176px) 0;
}

.ethos-home-manifesto__grid {
  gap: clamp(92px, 12vw, 180px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
}

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

.ethos-home-manifesto__heading h2 {
  font-size: clamp(4rem, 5.4vw, 5.75rem);
  line-height: 1.08;
  margin: 0;
}

.ethos-home-rule {
  height: 2px;
  margin-bottom: 42px;
  width: 110px;
}

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

.ethos-home-manifesto__copy p {
  color: var(--home-ink);
  font-size: clamp(1.12rem, 1.45vw, 1.34rem);
  line-height: 1.82;
  margin-bottom: 42px;
  max-width: 590px;
}

.ethos-home-manifesto__copy .ethos-button {
  margin-top: 8px;
  min-width: 220px;
}

/* Markets */

.ethos-home-markets {
  padding-top: clamp(92px, 8vw, 126px);
}

.ethos-home-markets__heading {
  align-items: start;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.6fr);
  margin-bottom: 64px;
}

.ethos-home-markets__heading h2 {
  font-size: clamp(3.6rem, 5vw, 5.2rem);
  line-height: 1.02;
}

.ethos-home-markets__heading > p {
  font-size: 1.05rem;
  line-height: 1.8;
  padding-top: 54px;
}

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

.ethos-home-markets__map {
  border-bottom-color: rgba(214, 173, 90, 0.5);
  border-top-color: rgba(214, 173, 90, 0.5);
}

.ethos-home-markets__map .ethos-coverage {
  padding: 28px 0 54px;
}

.ethos-home-markets__map .ethos-coverage > .eyebrow,
.ethos-home-markets__map .ethos-coverage > h2,
.ethos-home-markets__map .ethos-coverage > .sub {
  display: none;
}

.ethos-home-markets__map .ethos-mapwrap {
  max-width: 1440px;
}

/* Sell + Ethos Private */

.ethos-home-sell__grid {
  grid-template-columns: minmax(0, 1.58fr) minmax(360px, 0.72fr);
  min-height: 760px;
  width: min(100%, 1536px) !important;
}

.ethos-home-sell__valuation,
.ethos-home-sell__private {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(92px, 8vw, 128px) clamp(54px, 6vw, 96px);
}

.ethos-home-sell__valuation {
  border-right-color: rgba(255, 255, 255, 0.52);
}

.ethos-home-sell .ethos-home-sell__valuation .eyebrow {
  align-items: center;
  display: flex;
  font-size: 13px;
  gap: 20px;
  letter-spacing: 0.2em;
}

.ethos-home-sell .ethos-home-sell__valuation .eyebrow::before {
  background: var(--home-gold);
  content: "";
  height: 2px;
  width: 72px;
}

.ethos-home-sell h2 {
  font-size: clamp(4rem, 5.8vw, 6rem);
  line-height: 1.08;
  margin: 34px 0 0;
  max-width: 900px;
}

.ethos-home-sell__form {
  background: var(--home-paper);
  border: 0;
  height: 104px;
  margin-top: 48px;
  max-width: 890px;
}

.ethos-home-sell__form input {
  background: var(--home-paper);
  color: var(--home-ink);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.18em;
  padding: 0 34px;
  text-transform: uppercase;
}

.ethos-home-sell__form input::placeholder {
  color: rgba(8, 8, 8, 0.6);
  opacity: 1;
}

.ethos-home-sell__form button {
  background: var(--home-gold);
  color: var(--home-ink);
  font-size: 14px;
  letter-spacing: 0.18em;
  min-width: 160px;
  padding: 0 30px;
}

.ethos-home-sell .ethos-home-sell__assurance {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  margin: 26px 0 0;
}

.ethos-home-sell__private {
  padding-left: clamp(58px, 6vw, 92px);
}

.ethos-home-sell__private h3 {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 400;
  letter-spacing: 0.36em;
  line-height: 1.4;
  margin: 0 0 46px;
  text-transform: uppercase;
}

.ethos-home-sell__private p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.15rem, 1.65vw, 1.45rem);
  line-height: 1.7;
  margin: 0;
  max-width: 350px;
}

.ethos-home-sell__private .ethos-home-text-link {
  color: var(--home-gold);
  font-size: 13px;
  margin-top: 48px;
}

/* Reviews */

.ethos-home-reviews {
  background: var(--home-paper);
  padding: clamp(118px, 10vw, 150px) 0 104px;
}

.ethos-home-reviews__top {
  align-items: center;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
  padding: 0;
}

.ethos-home-reviews__top h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-align: center;
}

.ethos-home-reviews__aggregate {
  align-items: center;
  border-bottom: 1px solid rgba(10, 10, 10, 0.36);
  color: var(--home-ink);
  display: inline-flex;
  font-size: 14px;
  gap: 7px;
  padding: 0 0 5px;
  text-decoration: none;
  transition: border-color 200ms ease;
}

.ethos-home-reviews__aggregate strong {
  font-family: var(--font-sans);
	font-size: 14px;
	font-weight: 600;
  line-height: 1;
}

.ethos-home-reviews__aggregate span {
  color: var(--home-ink);
  font-size: inherit;
  letter-spacing: 0.02em;
  max-width: none;
  text-transform: none;
}

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

.ethos-home-reviews__aggregate .ethos-home-reviews__star {
  color: var(--home-gold);
  font-size: 30px;
  line-height: 1;
}

.ethos-home-reviews__aggregate u {
  color: var(--text-secondary);
  text-decoration-color: currentColor;
  text-underline-offset: 5px;
}

.ethos-home-reviews__carousel {
  padding-top: 72px;
  text-align: center;
}

.ethos-home-reviews__carousel::before {
  background: var(--home-gold);
  content: "";
  display: block;
  height: 3px;
  margin: 0 auto 48px;
  width: 126px;
}

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

.ethos-home-review blockquote {
  font-size: clamp(3rem, 4.8vw, 5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 auto;
  max-width: 1020px;
}

.ethos-home-review footer {
  align-items: center;
  flex-direction: column;
  font-size: 12px;
  gap: 22px;
  letter-spacing: 0.16em;
  margin-top: 48px;
}

.ethos-home-review footer .ethos-home-review__identity {
  color: var(--home-ink);
}

.ethos-home-review footer a {
  color: var(--text-secondary);
  font-size: 14px;
  letter-spacing: 0;
  margin: 0;
  text-transform: none;
}

.ethos-home-review footer a span {
  color: inherit;
}

.ethos-home-reviews__controls {
  display: grid;
  gap: 22px;
  grid-template-columns: 44px minmax(80px, 1fr) auto minmax(80px, 1fr) 44px;
  justify-content: stretch;
  margin: 54px auto 0;
  max-width: 790px;
}

.ethos-home-reviews__controls button {
  border-color: var(--home-ink);
  border-radius: 0;
  height: 44px;
  width: 44px;
}

.ethos-home-reviews__controls button svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  width: 20px;
}

.ethos-home-reviews__control-rule {
  align-self: center;
  background: var(--home-ink);
  height: 1px;
  width: 100%;
}

.ethos-home-reviews__controls .ethos-home-reviews__count {
  color: var(--home-ink);
  font-size: 13px;
  letter-spacing: 0.04em;
  min-width: 74px;
  text-transform: none;
}

.ethos-home-reviews__transparency {
  color: var(--home-ink);
  font-size: 13px;
  margin: 50px auto 0;
  text-align: center;
}

@media (max-width: 820px) {
  body.home .site-header {
    height: 92px;
  }

  body.home .site-header__inner {
    min-height: 92px;
    width: calc(100% - 32px);
  }

  body.home .site-brand--ethos,
  body.home .site-brand--ethos img {
    height: 54px;
    width: 54px;
  }

  body.home .mobile-menu-toggle {
    border: 0;
    height: 44px;
    padding: 0;
    width: auto;
  }

  body.home .mobile-menu-toggle__label {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  body.home .mobile-menu-toggle__icon {
    display: none;
  }

  .ethos-home-hero.home-hero,
  .ethos-home-hero__inner {
    min-height: max(740px, calc(100svh - 64px));
  }

  .ethos-home-hero__scrim {
    background:
      linear-gradient(180deg, rgba(8, 8, 8, 0.36) 0%, rgba(8, 8, 8, 0.2) 36%, rgba(8, 8, 8, 0.9) 100%),
      linear-gradient(90deg, rgba(8, 8, 8, 0.38), rgba(8, 8, 8, 0.06));
  }

  .ethos-home-hero__inner {
    padding-bottom: 42px;
    padding-top: 132px;
  }

  .ethos-home-hero .ethos-home-hero__eyebrow {
    font-size: 9px;
    line-height: 1.55;
    margin-bottom: 22px;
    max-width: 34ch;
  }

  .ethos-home-hero h1 {
    font-size: clamp(3.1rem, 13.2vw, 4.05rem);
    line-height: 0.98;
    max-width: 9.8ch;
  }

  .ethos-home-hero__subhead {
    font-size: 0.95rem;
    margin: 20px 0 24px;
  }

  .ethos-home-hero__actions {
    display: flex;
    gap: 10px;
    width: 100%;
  }

  .ethos-home-hero__actions .ethos-button {
    min-width: 0;
  }

  .ethos-home-hero__advisor-link {
    font-size: 15px;
    justify-content: flex-start;
    margin-top: 4px;
    padding-left: 0;
  }

  .ethos-home-proof {
    padding: 54px 0 40px;
  }

  .ethos-home-proof__grid {
    width: min(100% - 24px, 680px) !important;
  }

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

  .ethos-home-proof__item strong {
    color: var(--home-gold);
    font-size: clamp(3.5rem, 15vw, 4.5rem);
  }

  .ethos-home-proof__item span {
    font-size: 8px;
    letter-spacing: 0.13em;
    margin-top: 26px;
  }

  .ethos-home-proof__source {
    font-size: 9px;
    gap: 16px;
    line-height: 1.55;
    margin-top: 28px;
    padding: 0 22px;
  }

  .ethos-home-proof__source::before {
    height: 32px;
  }

  .ethos-home-manifesto__heading h2 {
    font-size: clamp(3.1rem, 13vw, 4.35rem);
  }

  .ethos-home-rule {
    margin-bottom: 32px;
    width: 72px;
  }

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

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

  .ethos-home-manifesto__copy .ethos-button {
    margin-top: 12px;
    width: 100%;
  }

  .ethos-home-markets__heading h2 {
    font-size: clamp(3.1rem, 13vw, 4.1rem);
  }

  .ethos-home-markets__heading > p {
    padding-top: 0;
  }

  .ethos-home-markets__desktop-copy {
    display: none;
  }

  .ethos-home-markets__heading .ethos-home-markets__mobile-copy {
    display: block;
  }

  .ethos-home-markets__mobile-list {
    align-items: start;
    gap: 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ethos-home-markets__state h3 {
    border-bottom: 0;
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    padding-bottom: 18px;
    text-transform: uppercase;
  }

  .ethos-home-markets__state li {
    border-bottom-color: rgba(214, 173, 90, 0.52);
  }

  .ethos-home-markets__state a {
    font-family: var(--font-sans);
    font-size: clamp(0.72rem, 3.4vw, 0.96rem);
    letter-spacing: 0.05em;
    min-height: 66px;
    padding: 14px 0;
    text-transform: uppercase;
  }

  .ethos-home-markets__state a span {
    flex: 0 0 auto;
    margin-left: 8px;
  }

  .ethos-home-sell__grid {
    min-height: 0;
  }

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

  .ethos-home-sell h2 {
    font-size: clamp(3rem, 12vw, 4.25rem);
    margin-top: 28px;
  }

  .ethos-home-sell .ethos-home-sell__valuation .eyebrow {
    font-size: 10px;
    gap: 14px;
  }

  .ethos-home-sell .ethos-home-sell__valuation .eyebrow::before {
    width: 48px;
  }

  .ethos-home-sell__form {
    background: transparent;
    gap: 0;
    height: auto;
    margin-top: 38px;
  }

  .ethos-home-sell__form input {
    background: var(--home-paper);
    border: 0;
    font-size: 12px;
    min-height: 74px;
    padding: 0 22px;
  }

  .ethos-home-sell__form button {
    min-height: 58px;
    width: 100%;
  }

  .ethos-home-sell .ethos-home-sell__assurance {
    font-size: 0.82rem;
    line-height: 1.6;
  }

  .ethos-home-sell__private {
    border-bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
  }

  .ethos-home-sell__private h3 {
    font-size: 1rem;
    margin-bottom: 34px;
  }

  .ethos-home-sell__private p {
    font-size: 1.1rem;
  }

  .ethos-home-reviews {
    padding: 92px 0 82px;
  }

  .ethos-home-reviews__aggregate {
    font-size: 14px;
  }

  .ethos-home-reviews__aggregate strong {
    font-size: 14px;
  }

  .ethos-home-reviews__aggregate .ethos-home-reviews__star {
    font-size: 24px;
  }

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

  .ethos-home-reviews__carousel::before {
    margin-bottom: 40px;
    width: 88px;
  }

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

  .ethos-home-review blockquote {
    font-size: clamp(2.5rem, 10.5vw, 3.65rem);
  }

  .ethos-home-review footer {
    font-size: 10px;
    line-height: 1.6;
    margin-top: 36px;
  }

  .ethos-home-reviews__controls {
    gap: 10px;
    grid-template-columns: 42px minmax(22px, 1fr) auto minmax(22px, 1fr) 42px;
    margin-top: 34px;
  }

  .ethos-home-reviews__controls button {
    height: 42px;
    width: 42px;
  }

  .ethos-home-reviews__transparency {
    font-size: 11px;
    line-height: 1.6;
    margin-top: 34px;
  }
}

@media (max-width: 430px) {
  .ethos-home-hero h1 {
    font-size: clamp(2.95rem, 12.7vw, 3.55rem);
  }

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