@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/wp-content/themes/ethos-r46/assets/fonts/2026-07-26-inter-latin-300-600.woff2") format("woff2");
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/wp-content/themes/ethos-r46/assets/fonts/2026-07-26-playfair-display-latin-400-600.woff2") format("woff2");
}

:root {
  --ethos-growth-ink: var(--ink-2);
  --ethos-growth-dark: var(--ink-2);
  --ethos-growth-white: var(--paper);
  --ethos-growth-paper: var(--paper-2);
  --ethos-growth-gray: var(--text-secondary);
  --ethos-growth-gold: var(--gold);
  --ethos-growth-gold-line: rgba(201, 169, 110, 0.25);
}

.ethos-growth {
  background: var(--ethos-growth-white);
  color: var(--ethos-growth-ink);
  font-family: "Inter", system-ui, sans-serif;
}

.ethos-growth:nth-of-type(even) {
  background: var(--ethos-growth-paper);
}

.ethos-growth__heading {
  max-width: 820px;
  margin-bottom: 54px;
}

.ethos-growth__heading .eyebrow {
  margin-bottom: 16px;
  color: var(--ethos-growth-gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
}

.ethos-growth__heading h1,
.ethos-growth__heading h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.ethos-growth__rule {
  display: block;
  width: 56px;
  height: 1px;
  margin-top: 28px;
  background: var(--ethos-growth-gold);
}

.has-js .ethos-growth .reveal {
  transform: translateY(22px);
  transition-duration: 0.6s;
  transition-timing-function: ease-out;
}

.has-js .ethos-growth .reveal.is-visible {
  transform: translateY(0);
}

.ethos-growth :focus-visible,
.ethos-quiz :focus-visible,
.mobile-action-rail :focus-visible {
  outline: 2px solid var(--ethos-growth-gold);
  outline-offset: 3px;
}

/* Lifestyle doors */
.ethos-lifestyles {
  padding: clamp(88px, 9vw, 140px) 0;
}

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

.ethos-lifestyle {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: var(--ethos-growth-dark);
  color: var(--ethos-growth-white);
  box-shadow: 0 18px 46px rgba(17, 17, 17, 0.12);
  text-decoration: none;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ethos-lifestyle img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ethos-lifestyle__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(17, 17, 17, 0.15), rgba(17, 17, 17, 0.72));
  transition: background 0.35s ease;
}

.ethos-lifestyle__copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: flex;
  padding: 34px;
  flex-direction: column;
}

.ethos-lifestyle__copy small {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.ethos-lifestyle__copy strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 2.4vw, 42px);
  font-weight: 500;
  line-height: 1.1;
}

.ethos-lifestyle__copy b {
  margin-top: 22px;
  color: var(--ethos-growth-gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ethos-lifestyle:hover,
.ethos-lifestyle:focus-visible {
  box-shadow: 0 30px 64px rgba(17, 17, 17, 0.22);
  transform: translateY(-5px);
}

.ethos-lifestyle:hover img,
.ethos-lifestyle:focus-visible img {
  transform: scale(1.03);
}

.ethos-lifestyle:hover .ethos-lifestyle__overlay,
.ethos-lifestyle:focus-visible .ethos-lifestyle__overlay {
  background: linear-gradient(rgba(201, 169, 110, 0.08), rgba(17, 17, 17, 0.64));
}

/* Verified testimonials */
.ethos-testimonials {
  padding: clamp(88px, 9vw, 140px) 0;
  background: var(--ethos-growth-dark);
  color: var(--ethos-growth-white);
}

.ethos-testimonials .ethos-growth__heading {
  color: var(--ethos-growth-white);
}

.ethos-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ethos-testimonial {
  display: flex;
  min-height: 350px;
  padding: clamp(30px, 4vw, 56px);
  border: 1px solid var(--ethos-growth-gold-line);
  color: inherit;
  flex-direction: column;
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.ethos-testimonial__stars {
  color: var(--ethos-growth-gold);
  font-size: 15px;
  letter-spacing: 0.18em;
}

.ethos-testimonial blockquote {
  max-width: 30ch;
  margin: 28px 0 auto;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 21px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
}

.ethos-testimonial__byline {
  margin-top: 32px;
  color: var(--ethos-growth-gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ethos-testimonial__source {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.ethos-testimonial:hover,
.ethos-testimonial:focus-visible {
  border-color: var(--ethos-growth-gold);
  transform: translateY(-3px);
}

.ethos-testimonials__promise {
  max-width: 720px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.ethos-testimonials__more {
  display: inline-block;
  margin-top: 24px;
  color: var(--ethos-growth-white);
}

.ethos-testimonials--page {
  padding-top: 210px;
  min-height: 78vh;
}

/* Community market report */
.ethos-market-report {
  padding: clamp(88px, 9vw, 140px) 0;
}

.ethos-market-report__updated {
  margin: 14px 0 0;
  color: var(--ethos-growth-gray);
  font-size: 13px;
}

.ethos-market-report__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ethos-growth-gold-line);
  border-bottom: 1px solid var(--ethos-growth-gold-line);
}

.ethos-market-report__facts > div {
  min-width: 0;
  padding: 38px 26px;
  border-right: 1px solid var(--ethos-growth-gold-line);
}

.ethos-market-report__facts > div:last-child {
  border-right: 0;
}

.ethos-market-report__facts strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 500;
  line-height: 1.1;
}

.ethos-market-report__facts span {
  display: block;
  margin-top: 12px;
  color: var(--ethos-growth-gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ethos-market-report__source {
  margin: 14px 0 58px;
  color: var(--ethos-growth-gray);
  font-size: 11px;
}

.ethos-market-report__source a {
  margin-left: 8px;
}

.ethos-market-report__gate {
  display: grid;
  padding: clamp(32px, 5vw, 70px);
  background: var(--ethos-growth-dark);
  color: var(--ethos-growth-white);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 7vw, 100px);
}

.ethos-market-report__gate h3 {
  margin: 12px 0 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.12;
}

.ethos-market-report__gate > div > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.ethos-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ethos-form-grid label,
.ethos-quiz__contact label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ethos-form-grid label span,
.ethos-quiz__contact label span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ethos-form-grid input,
.ethos-form-grid select,
.ethos-quiz__contact input {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ethos-growth-white);
}

.ethos-form-grid select option {
  color: var(--ethos-growth-ink);
}

.ethos-market-report__gate .button,
.ethos-quiz__contact .button {
  min-height: 56px;
  margin-top: 18px;
  border: 1px solid var(--ethos-growth-gold);
  background: var(--ethos-growth-gold);
  color: var(--ethos-growth-ink);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.ethos-market-report__gate .button:hover,
.ethos-market-report__gate .button:focus-visible,
.ethos-quiz__contact .button:hover,
.ethos-quiz__contact .button:focus-visible {
  background: transparent;
  color: var(--ethos-growth-gold);
  transform: translateY(-1px);
}

.ethos-form-privacy {
  margin: 12px 0 0;
  color: var(--ethos-growth-gray);
  font-size: 11px;
  line-height: 1.5;
}

.ethos-market-report__gate .ethos-form-privacy,
.ethos-quiz .ethos-form-privacy {
  color: rgba(255, 255, 255, 0.78);
}

.ethos-market-report__success {
  align-self: center;
  grid-column: 2;
}

.ethos-market-report__check {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border: 1px solid var(--ethos-growth-gold);
  border-radius: 50%;
  color: var(--ethos-growth-gold);
  place-items: center;
}

.ethos-market-report__success h3 {
  margin-bottom: 8px;
}

.ethos-market-report__success p {
  color: rgba(255, 255, 255, 0.78);
}

.ethos-consultation-form {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ethos-consultation-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ethos-consultation-form label span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ethos-consultation-form input,
.ethos-consultation-form select,
.ethos-consultation-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ethos-growth-white);
}

.ethos-consultation-form select option {
  color: var(--ethos-growth-ink);
}

.ethos-consultation-form__message,
.ethos-consultation-form .button,
.ethos-consultation-form .ethos-form-privacy {
  grid-column: 1 / -1;
}

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

.ethos-consultation-form__success {
  align-self: center;
  color: var(--ethos-growth-white);
}

.ethos-consultation-form__success h3 {
  margin: 0 0 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
}

.ethos-consultation-form__success p {
  color: rgba(255, 255, 255, 0.78);
}

.ethos-contextual-contact {
  padding-bottom: 28px;
}

.ethos-contextual-contact__heading {
  margin-bottom: 24px;
}

.ethos-contextual-contact__heading h3 {
  margin: 0 0 10px;
  color: var(--ethos-growth-white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.12;
}

.ethos-contextual-contact__heading > p:last-child,
.ethos-contextual-contact__notice p {
  color: rgba(255, 255, 255, 0.78);
}

.ethos-contextual-contact__address {
  grid-column: 1 / -1;
}

.ethos-contextual-contact__form label span small {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.ethos-contextual-contact__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.ethos-contextual-contact__notice {
  padding: 24px;
  border: 1px solid rgba(199, 162, 92, 0.5);
  background: rgba(199, 162, 92, 0.08);
}

.ethos-contextual-contact__notice--error {
  margin-bottom: 24px;
  border-color: rgba(255, 255, 255, 0.28);
}

.ethos-contextual-contact__alternate {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 2px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ethos-contextual-contact__alternate::before,
.ethos-contextual-contact__alternate::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  background: rgba(255, 255, 255, 0.16);
}

/* Community guide directory */
.ethos-community-guides {
  padding: clamp(88px, 9vw, 140px) 0;
  background: var(--ethos-growth-paper);
}

.ethos-community-guides__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ethos-community-guide {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: var(--ethos-growth-dark);
  color: var(--ethos-growth-white);
  text-decoration: none;
}

.ethos-community-guide::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 20%, rgba(17, 17, 17, 0.82));
  content: "";
}

.ethos-community-guide img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ethos-community-guide > span {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: flex;
  flex-direction: column;
}

.ethos-community-guide small,
.ethos-community-guide b {
  color: var(--ethos-growth-gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ethos-community-guide strong {
  margin: 8px 0 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.1;
}

.ethos-community-guide:hover img,
.ethos-community-guide:focus-visible img {
  transform: scale(1.03);
}

/* Where We Work market cleanup */
.page-where-we-work .blueprint-markets-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    url("/wp-content/themes/ethos-r46/assets/images/markets-page/2026-07-31-ethos-where-we-work-split-coverage-hero-r41-r1.jpg")
    center / cover no-repeat;
}

.page-where-we-work .blueprint-markets-hero::before,
.page-where-we-work .blueprint-markets-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.page-where-we-work .blueprint-markets-hero::before {
  display: none;
}

.page-where-we-work .blueprint-markets-hero::after {
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.52) 64%, rgba(0, 0, 0, 0.3)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), transparent 55%);
}

.page-where-we-work .blueprint-markets-hero .container {
  position: relative;
  z-index: 2;
}

.page-where-we-work .blueprint-market-panel {
  min-height: 720px;
}

.page-where-we-work .blueprint-market-panel--california > div {
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.04), rgba(17, 17, 17, 0.2)),
    url("/wp-content/themes/ethos-r46/assets/images/markets-page/2026-07-31-ethos-where-we-work-california-neighborhood-panel-r41-r1.jpg");
}

.page-where-we-work .blueprint-market-panel--alabama > div {
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.04), rgba(17, 17, 17, 0.2)),
    url("/wp-content/themes/ethos-r46/assets/images/markets-page/2026-07-31-ethos-where-we-work-alabama-neighborhood-panel-r41-r1.jpg");
}

.page-where-we-work .blueprint-market-panel .eyebrow {
  margin-bottom: 18px;
}

.page-where-we-work .blueprint-market-panel h3 {
  margin-bottom: 30px;
}

.blueprint-market-panel__coverage {
  display: grid;
  margin: 0 0 34px;
  gap: 19px;
}

.blueprint-market-panel__coverage li {
  display: grid;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(138, 138, 144, 0.28);
  gap: 4px;
}

.blueprint-market-panel__coverage strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blueprint-market-panel__coverage span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.ethos-community-region {
  scroll-margin-top: 180px;
}

.ethos-community-region + .ethos-community-region {
  margin-top: clamp(78px, 9vw, 130px);
}

.ethos-community-region__heading {
  display: grid;
  max-width: 860px;
  margin-bottom: 34px;
  gap: 10px;
}

.ethos-community-region__heading .eyebrow {
  margin: 0;
  color: var(--ethos-growth-gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
}

.ethos-community-region__heading h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.ethos-market-photo-credits {
  max-width: 900px;
  margin-top: 48px;
  color: var(--ethos-growth-gray);
  font-size: 11px;
}

.ethos-market-photo-credits summary {
  color: var(--ethos-growth-ink);
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ethos-market-photo-credits p {
  margin: 16px 0 10px;
}

.ethos-market-photo-credits ul {
  padding-left: 18px;
  margin: 0;
}

.ethos-market-photo-credits a {
  color: inherit;
}

/* Quiz modal */
body.ethos-quiz-open {
  overflow: hidden;
}

.ethos-quiz {
  position: fixed;
  z-index: 3000;
  inset: 0;
  font-family: "Inter", system-ui, sans-serif;
}

.ethos-quiz__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.ethos-quiz__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1100px, calc(100vw - 48px));
  max-height: min(880px, calc(100svh - 48px));
  overflow: auto;
  background: var(--ethos-growth-paper);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.38);
  color: var(--ethos-growth-ink);
  transform: translate(-50%, -50%);
}

.ethos-quiz__header {
  position: sticky;
  z-index: 3;
  top: 0;
  display: grid;
  min-height: 72px;
  padding: 0 24px;
  align-items: center;
  grid-template-columns: 90px 1fr 90px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.12);
  background: rgba(245, 240, 235, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.ethos-quiz__back,
.ethos-quiz__close {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ethos-quiz__back {
  justify-self: start;
  font-size: 22px;
}

.ethos-quiz__close {
  justify-self: end;
}

.ethos-quiz__progress {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.ethos-quiz__progress span {
  width: 28px;
  height: 2px;
  background: rgba(20, 20, 20, 0.18);
  transition: background-color 0.25s ease;
}

.ethos-quiz__progress span.is-active {
  background: var(--ethos-growth-gold);
}

.ethos-quiz__viewport {
  min-height: 610px;
  padding: clamp(44px, 7vw, 90px);
}

.ethos-quiz__step,
.ethos-quiz__results {
  animation: ethos-quiz-in 0.25s ease both;
}

.ethos-quiz__step > .eyebrow,
.ethos-quiz__results > .eyebrow {
  margin: 0 0 14px;
  color: var(--ethos-growth-gold);
}

.ethos-quiz__step h2,
.ethos-quiz__results h2 {
  max-width: 820px;
  margin: 0 0 38px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.ethos-quiz__step > p:not(.eyebrow) {
  max-width: 650px;
  margin: -18px 0 30px;
  color: var(--ethos-growth-gray);
}

.ethos-quiz__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ethos-quiz__choices button {
  min-height: 84px;
  padding: 20px 26px;
  border: 1px solid rgba(20, 20, 20, 0.18);
  background: var(--ethos-growth-white);
  color: var(--ethos-growth-ink);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.ethos-quiz__choices button:hover,
.ethos-quiz__choices button:focus-visible {
  border-color: var(--ethos-growth-gold);
  color: var(--text-secondary);
  transform: translateY(-1px);
}

.ethos-quiz__lifestyles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ethos-quiz__lifestyles button {
  position: relative;
  min-height: 215px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, 0.14);
  background: var(--ethos-growth-dark);
  color: var(--ethos-growth-white);
}

.ethos-quiz__lifestyles img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0.65;
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.ethos-quiz__lifestyles span {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 18px;
  left: 20px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  line-height: 1.1;
  text-align: left;
}

.ethos-quiz__lifestyles button:hover img,
.ethos-quiz__lifestyles button:focus-visible img {
  opacity: 0.82;
  transform: scale(1.03);
}

.ethos-quiz__lifestyles .ethos-quiz__lifestyle-close {
  background: var(--ethos-growth-dark);
}

.ethos-quiz__contact {
  display: grid;
  max-width: 740px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ethos-quiz__contact label:first-child,
.ethos-quiz__contact .button,
.ethos-quiz__contact .ethos-form-privacy {
  grid-column: 1 / -1;
}

.ethos-quiz__contact label span {
  color: var(--ethos-growth-gray);
}

.ethos-quiz__contact input {
  border-color: rgba(20, 20, 20, 0.2);
  background: var(--ethos-growth-white);
  color: var(--ethos-growth-ink);
}

.ethos-quiz__matches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ethos-quiz__match {
  background: var(--ethos-growth-white);
  box-shadow: 0 16px 40px rgba(20, 20, 20, 0.08);
}

.ethos-quiz__match > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ethos-quiz__match > div {
  padding: 24px;
}

.ethos-quiz__match small {
  color: var(--ethos-growth-gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ethos-quiz__match h3 {
  margin: 8px 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
}

.ethos-quiz__match p {
  min-height: 82px;
  color: var(--ethos-growth-gray);
  font-size: 13px;
}

.ethos-quiz__match > div > div {
  display: grid;
  gap: 8px;
}

.ethos-quiz__match .button {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  font-size: 9px;
}

.ethos-quiz__results > .text-link {
  margin-top: 28px;
  border: 0;
  background: transparent;
}

@keyframes ethos-quiz-in {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Nav trigger */
.ethos-nav-quiz {
  position: relative;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
}

.ethos-nav-quiz::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--ethos-growth-gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.ethos-nav-quiz:hover::after,
.ethos-nav-quiz:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header__actions > button {
  display: inline-flex;
  min-height: 44px;
  padding: 0 19px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-header--over-hero .site-header__actions > button {
  border-color: var(--ethos-growth-gold);
}

.site-header__actions > button:hover,
.site-header__actions > button:focus-visible {
  background: var(--ethos-growth-gold);
  color: var(--ethos-growth-ink);
}

/* Mobile action bar */
@media (max-width: 700px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  .mobile-action-rail {
    z-index: 1500;
    display: grid;
    min-height: calc(64px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background: var(--ethos-growth-ink);
  }

  .mobile-action-rail a {
    min-height: 64px;
    gap: 0;
    color: var(--ethos-growth-white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
  }

  .mobile-action-rail a:nth-child(2) {
    background: var(--ethos-growth-gold);
    color: var(--ethos-growth-ink);
  }

  .mobile-action-rail svg {
    display: none;
  }
}

@media (min-width: 701px) {
  .mobile-action-rail {
    display: none;
  }
}

@media (min-width: 701px) and (max-width: 782px) {
  body {
    padding-bottom: 0;
  }
}

@media (max-width: 1100px) {
  .ethos-lifestyles__grid,
  .ethos-quiz__lifestyles,
  .ethos-community-guides__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ethos-market-report__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ethos-market-report__facts > div:nth-child(2) {
    border-right: 0;
  }

  .ethos-market-report__facts > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--ethos-growth-gold-line);
  }

  .ethos-quiz__matches {
    grid-template-columns: 1fr;
  }

  .ethos-quiz__match {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) 1fr;
  }

  .ethos-quiz__match p {
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .ethos-growth__heading {
    margin-bottom: 38px;
  }

  .ethos-lifestyles__grid,
  .ethos-testimonials__grid,
  .ethos-community-guides__grid,
  .ethos-market-report__gate,
  .ethos-form-grid,
  .ethos-consultation-form,
  .ethos-quiz__choices,
  .ethos-quiz__lifestyles,
  .ethos-quiz__contact,
  .ethos-quiz__match {
    grid-template-columns: 1fr;
  }

  .ethos-lifestyle {
    min-height: 520px;
  }

  .ethos-lifestyle__copy {
    padding: 28px;
  }

  .ethos-testimonial {
    min-height: 310px;
  }

  .ethos-market-report__facts > div {
    padding: 28px 18px;
  }

  .ethos-market-report__gate {
    padding: 36px 24px;
  }

  .ethos-market-report__success {
    grid-column: auto;
  }

  .page-where-we-work .blueprint-markets-hero::after {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.42)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.44), transparent 60%);
  }

  .page-where-we-work .blueprint-market-panel {
    min-height: 0;
  }

  .ethos-community-region__heading {
    margin-bottom: 26px;
  }

  .ethos-community-region + .ethos-community-region {
    margin-top: 80px;
  }

  .ethos-quiz__dialog {
    width: 100vw;
    max-height: 100svh;
    height: 100svh;
  }

  .ethos-quiz__header {
    min-height: 64px;
    padding: 0 16px;
    grid-template-columns: 54px 1fr 62px;
  }

  .ethos-quiz__progress {
    gap: 6px;
  }

  .ethos-quiz__progress span {
    width: 18px;
  }

  .ethos-quiz__viewport {
    min-height: calc(100svh - 64px);
    padding: 42px 22px 100px;
  }

  .ethos-quiz__step h2,
  .ethos-quiz__results h2 {
    margin-bottom: 28px;
    font-size: clamp(38px, 11vw, 54px);
  }

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

  .ethos-quiz__lifestyles button {
    min-height: 180px;
  }

  .ethos-quiz__lifestyles span {
    right: 14px;
    bottom: 14px;
    left: 14px;
    font-size: 20px;
  }

  .ethos-quiz__contact label:first-child,
  .ethos-quiz__contact .button,
  .ethos-quiz__contact .ethos-form-privacy,
  .ethos-consultation-form__message,
  .ethos-consultation-form .button,
  .ethos-consultation-form .ethos-form-privacy {
    grid-column: auto;
  }

  .ethos-quiz__match > img {
    aspect-ratio: 16 / 10;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ethos-lifestyle,
  .ethos-lifestyle img,
  .ethos-testimonial,
  .ethos-quiz__step,
  .ethos-quiz__results,
  .ethos-quiz__progress span,
  .ethos-quiz__lifestyles img,
  .ethos-nav-quiz::after {
    animation: none !important;
    transition: none !important;
  }

  .ethos-lifestyle:hover,
  .ethos-lifestyle:focus-visible,
  .ethos-testimonial:hover,
  .ethos-testimonial:focus-visible {
    transform: none;
  }
}
