:root {
  --ink: #17211d;
  --muted: #64716c;
  --paper: #f7f4ec;
  --white: #fffdf8;
  --green: #17483d;
  --sage: #d8e2d2;
  --gold: #b8873b;
  --clay: #b9634a;
  --line: rgba(23, 33, 29, 0.14);
  --shadow: 0 24px 70px rgba(23, 33, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(16, 22, 18, 0.72);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: currentColor;
  font-size: 0.75rem;
  opacity: 0.72;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 2vw, 30px);
  font-size: 0.92rem;
}

.nav-links a,
.header-cta {
  opacity: 0.9;
}

.header-cta {
  padding: 10px 18px;
  border: 1px solid rgba(255, 253, 248, 0.55);
  border-radius: 999px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(13, 23, 19, 0.86) 0%, rgba(13, 23, 19, 0.62) 42%, rgba(13, 23, 19, 0.16) 100%),
    linear-gradient(0deg, rgba(13, 23, 19, 0.42) 0%, rgba(13, 23, 19, 0) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding-top: 84px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 8vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 253, 248, 0.84);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}

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

.button,
button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary,
button {
  background: var(--gold);
  color: #111;
}

.button.secondary {
  border: 1px solid rgba(255, 253, 248, 0.45);
  color: var(--white);
}

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

.hero-foot {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 253, 248, 0.22);
  background: rgba(13, 23, 19, 0.34);
  backdrop-filter: blur(12px);
}

.hero-foot span {
  min-height: 76px;
  padding: 28px clamp(14px, 3vw, 34px);
  border-right: 1px solid rgba(255, 253, 248, 0.18);
  color: rgba(255, 253, 248, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-band,
.method-band,
.score-band,
.join-section {
  padding: clamp(70px, 9vw, 120px) 0;
}

.intro-band {
  background: var(--white);
}

.two-column,
.method-layout,
.score-layout,
.houses-bridge,
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.two-column p,
.method-layout p,
.score-layout p,
.houses-bridge p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.pillars {
  padding: clamp(72px, 10vw, 130px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pillar-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.icon-circle {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--green);
  font-weight: 900;
}

.pillar-card p {
  color: var(--muted);
  line-height: 1.65;
}

.method-band {
  background: var(--green);
  color: var(--white);
}

.method-band p {
  color: rgba(255, 253, 248, 0.74);
}

.flow-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 62px;
  padding: 0 22px;
  border: 1px solid rgba(255, 253, 248, 0.2);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.06);
  font-size: 1.1rem;
  font-weight: 800;
}

.flow-list span {
  color: var(--gold);
  font-size: 0.82rem;
}

.split-section {
  align-items: stretch;
  padding: clamp(72px, 10vw, 130px) 0;
}

.editorial,
.event-panel {
  padding: clamp(28px, 4vw, 42px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.article-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.article-list a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--green);
  font-weight: 800;
}

.event-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.event-item span {
  color: var(--clay);
  font-weight: 900;
}

.event-item p {
  margin: 0;
  font-weight: 800;
}

.score-band {
  background: #e4ddd0;
}

.score-card {
  padding: clamp(26px, 4vw, 42px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.score-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.score-top span {
  color: var(--green);
  font-weight: 900;
}

.score-top strong {
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.6rem;
  line-height: 0.85;
}

.score-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.score-card li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--green);
  font-weight: 900;
}

.houses-bridge {
  margin-top: clamp(72px, 10vw, 130px);
  margin-bottom: clamp(72px, 10vw, 130px);
  padding: clamp(34px, 5vw, 56px);
  border-radius: 8px;
  background: var(--sage);
}

.join-section {
  background: var(--ink);
  color: var(--white);
}

.join-inner {
  text-align: center;
}

.join-inner h2 {
  max-width: 820px;
  margin: 0 auto 34px;
}

.join-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}

input,
select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.08);
  color: var(--white);
  font: inherit;
  padding: 0 18px;
}

input::placeholder {
  color: rgba(255, 253, 248, 0.58);
}

select {
  color-scheme: dark;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(20px, 4vw, 56px);
  background: #101612;
  color: var(--white);
}

.site-footer > div:first-child {
  display: grid;
  gap: 14px;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 253, 248, 0.66);
  line-height: 1.5;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(92px, 1fr));
  gap: 10px 28px;
  color: rgba(255, 253, 248, 0.78);
  font-weight: 700;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: -1px;
  background: var(--line);
}

.stats-row div {
  min-height: 130px;
  padding: 28px;
  background: var(--paper);
}

.stats-row strong,
.stats-row span {
  display: block;
}

.stats-row strong {
  margin-bottom: 18px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1;
}

.stats-row span {
  color: var(--muted);
  font-weight: 800;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.story-grid article,
.contact-card {
  padding: clamp(26px, 4vw, 42px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.story-grid p {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  line-height: 1.35;
}

.story-grid span {
  color: var(--muted);
  font-weight: 900;
}

.form-layout,
.contact-grid {
  display: grid;
  gap: clamp(30px, 6vw, 72px);
}

.form-layout {
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  align-items: start;
}

.body-copy {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.surface-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.surface-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 253, 248, 0.74);
  font-size: 0.9rem;
  font-weight: 800;
}

.surface-form .full,
.surface-form button {
  grid-column: 1 / -1;
}

.surface-form textarea {
  min-height: 136px;
  resize: vertical;
}

.surface-form input,
.surface-form select,
.surface-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.08);
  color: var(--white);
  font: inherit;
  padding: 14px 16px;
}

.surface-form input,
.surface-form select {
  min-height: 52px;
}

.surface-form input::placeholder,
.surface-form textarea::placeholder {
  color: rgba(255, 253, 248, 0.48);
}

.contact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.contact-card p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.7;
}

.contact-card a {
  color: var(--green);
  font-weight: 900;
}

.page-hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.page-hero.compact {
  min-height: 560px;
}

.page-hero-image,
.page-hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero-image {
  object-fit: cover;
}

.page-hero-scrim {
  background:
    linear-gradient(90deg, rgba(13, 23, 19, 0.88), rgba(13, 23, 19, 0.5), rgba(13, 23, 19, 0.16)),
    linear-gradient(0deg, rgba(13, 23, 19, 0.5), rgba(13, 23, 19, 0));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 150px 0 76px;
}

.page-hero-content h1 {
  max-width: 860px;
}

.page-hero-content p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 253, 248, 0.82);
  font-size: 1.16rem;
  line-height: 1.75;
}

.page-section {
  padding: clamp(72px, 10vw, 130px) 0;
}

.feature-grid,
.insight-grid,
.event-grid,
.property-grid {
  display: grid;
  gap: 16px;
}

.feature-grid.three,
.event-grid,
.property-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.principle-list {
  display: grid;
  gap: 12px;
}

.principle-list p,
.insight-grid article,
.event-grid article {
  margin: 0;
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.insight-grid {
  grid-template-columns: repeat(2, 1fr);
}

.insight-grid span,
.event-grid span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--clay);
  font-weight: 900;
}

.insight-grid p,
.event-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.event-grid a,
.property-body a,
.tool-list a {
  color: var(--green);
  font-weight: 900;
}

.houses-hero {
  padding: 150px 0 96px;
  background: linear-gradient(135deg, #f7f4ec 0%, #d8e2d2 55%, #e4ddd0 100%);
}

.compact-hero {
  padding-bottom: 70px;
}

.selection-standard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.selection-standard div {
  min-height: 118px;
  padding: 24px;
  background: var(--white);
}

.selection-standard strong,
.selection-standard span {
  display: block;
}

.selection-standard strong {
  margin-bottom: 16px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.05;
}

.selection-standard span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.houses-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
}

.houses-hero h1 {
  max-width: 780px;
  color: var(--ink);
}

.houses-hero p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.75;
}

.hero-score {
  border: 1px solid var(--line);
}

.commerce-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.commerce-flow li {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.commerce-flow span {
  display: block;
  margin-bottom: 48px;
  color: var(--green);
  font-weight: 900;
}

.commerce-flow p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.property-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.property-media {
  min-height: 210px;
  background:
    linear-gradient(135deg, rgba(23, 72, 61, 0.22), rgba(184, 135, 59, 0.22)),
    url("assets/home-of-nexus-hero.png") center / cover;
}

.property-media.alt {
  background:
    linear-gradient(135deg, rgba(184, 135, 59, 0.24), rgba(185, 99, 74, 0.18)),
    url("assets/home-of-nexus-hero.png") center / cover;
}

.property-media.warm {
  background:
    linear-gradient(135deg, rgba(185, 99, 74, 0.2), rgba(23, 72, 61, 0.16)),
    url("assets/home-of-nexus-hero.png") center / cover;
}

.property-media.green {
  background:
    linear-gradient(135deg, rgba(23, 72, 61, 0.36), rgba(216, 226, 210, 0.16)),
    url("assets/home-of-nexus-hero.png") center / cover;
}

.property-media.gold {
  background:
    linear-gradient(135deg, rgba(184, 135, 59, 0.36), rgba(23, 33, 29, 0.12)),
    url("assets/home-of-nexus-hero.png") center / cover;
}

.property-media.clay {
  background:
    linear-gradient(135deg, rgba(185, 99, 74, 0.34), rgba(247, 244, 236, 0.14)),
    url("assets/home-of-nexus-hero.png") center / cover;
}

.property-body {
  padding: 24px;
}

.listings-section {
  padding: clamp(54px, 8vw, 92px) 0 clamp(72px, 10vw, 130px);
}

.listings-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.listings-toolbar h2 {
  margin-bottom: 0;
}

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.toolbar-actions span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--green);
  padding: 0 14px;
  font-size: 0.84rem;
  font-weight: 900;
}

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

.marketplace-grid .property-card {
  display: grid;
  grid-template-rows: 190px 1fr;
}

.marketplace-grid .property-media {
  min-height: 190px;
}

.marketplace-grid .property-body {
  display: grid;
  grid-template-rows: auto auto auto auto auto;
}

.card-meta,
.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-meta {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.card-actions {
  padding-top: 4px;
}

.card-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
}

.nexus-lens {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 18px 0 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.nexus-lens div {
  padding: 12px 14px;
  background: #fbf9f3;
}

.nexus-lens span,
.nexus-lens strong {
  display: block;
}

.nexus-lens span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nexus-lens strong {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.25;
}

.load-more-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 8px;
  background: var(--sage);
}

.load-more-panel h2 {
  margin-bottom: 12px;
}

.load-more-panel p:not(.section-kicker) {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.badge {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--green);
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 900;
}

.property-body p {
  color: var(--muted);
  line-height: 1.62;
}

.property-body dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.property-body dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.property-body dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.filter-panel {
  display: grid;
  gap: 14px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: rgba(255, 253, 248, 0.74);
  font-size: 0.9rem;
  font-weight: 800;
}

.filter-panel select {
  border-radius: 8px;
}

.tool-list {
  display: grid;
  gap: 12px;
}

.tool-list a {
  display: flex;
  min-height: 62px;
  align-items: center;
  border-radius: 8px;
  background: var(--white);
  padding: 0 22px;
  box-shadow: var(--shadow);
}

.property-hero {
  background: linear-gradient(135deg, #f7f4ec 0%, #d8e2d2 100%);
  padding-top: 78px;
}

.property-hero-media {
  min-height: clamp(280px, 42vw, 520px);
  background:
    linear-gradient(90deg, rgba(23, 33, 29, 0.1), rgba(23, 33, 29, 0)),
    url("assets/home-of-nexus-hero.png") center / cover;
}

.property-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.6fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
  padding: clamp(44px, 7vw, 82px) 0;
}

.property-hero-content p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.detail-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.detail-grid span,
.score-breakdown span {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-grid strong,
.score-breakdown strong {
  display: block;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  line-height: 1;
}

.detail-grid p {
  margin-top: 24px;
  color: var(--muted);
  line-height: 1.65;
}

.score-breakdown {
  display: grid;
  gap: 10px;
}

.score-breakdown div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 72px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--white);
}

.score-breakdown span {
  margin: 0;
}

.score-breakdown strong {
  color: var(--clay);
}

.compare-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.compare-row {
  display: grid;
  grid-template-columns: 0.8fr repeat(3, 1fr);
  min-width: 860px;
  border-bottom: 1px solid var(--line);
}

.compare-table {
  overflow-x: auto;
}

.compare-row > * {
  margin: 0;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.compare-head {
  background: var(--green);
  color: var(--white);
  font-weight: 900;
}

.compare-row strong {
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 860px;
  }

  .hero-content {
    width: min(640px, calc(100% - 40px));
    margin: 0 auto;
  }

  .hero-foot,
  .pillar-grid,
  .join-form,
  .stats-row,
  .story-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-column,
  .method-layout,
  .score-layout,
  .houses-bridge,
  .split-section,
  .houses-hero-inner,
  .property-hero-content,
  .form-layout,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .feature-grid.three,
  .feature-grid.four,
  .event-grid,
  .property-grid,
  .marketplace-grid,
  .selection-standard,
  .detail-grid,
  .commerce-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .insight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

  .hero-scrim {
    background: linear-gradient(90deg, rgba(13, 23, 19, 0.9), rgba(13, 23, 19, 0.52));
  }

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

  .hero-foot,
  .pillar-grid,
  .join-form,
  .stats-row,
  .story-grid,
  .contact-grid,
  .surface-form,
  .feature-grid.three,
  .feature-grid.four,
  .event-grid,
  .property-grid,
  .marketplace-grid,
  .selection-standard,
  .detail-grid,
  .commerce-flow {
    grid-template-columns: 1fr;
  }

  .listings-toolbar,
  .load-more-panel {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .listings-toolbar {
    display: grid;
  }

  .toolbar-actions {
    justify-content: flex-start;
  }

  .page-hero,
  .page-hero.compact {
    min-height: 620px;
  }

  .page-hero-content {
    padding-bottom: 46px;
  }

  .houses-hero {
    padding-top: 120px;
  }

  .hero-foot span {
    min-height: 54px;
    padding: 18px 20px;
  }

  .pillar-card {
    min-height: 230px;
  }

  .icon-circle {
    margin-bottom: 34px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
